emmc: optimize the conditions of fixdiv calc [1/1]
authorNan Li <nan.li@amlogic.com>
Fri, 1 Feb 2019 01:59:00 +0000 (09:59 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Wed, 20 Feb 2019 06:38:03 +0000 (22:38 -0800)
commite3147e686c77538d5e1106166ac8a432f55718fc
treed0e153b5ff9f1e835a25d26bc5d65c9b44978a5e
parentc06f9dc81976ac5b231c3d8ec153460259deec7e
emmc: optimize the conditions of fixdiv calc [1/1]

PD#SWPL-4857

Problem:
fixdiv calc Affect the use of other chips

Solution:
Adjust the usage conditions for the fixdiv calc func, witch
pdata->calc_f from dts.

Verify:
verify by g12b

Change-Id: I9598e2a24f76c76f4312c2694029fe4bb0f534d4
Signed-off-by: Nan Li <nan.li@amlogic.com>
drivers/amlogic/mmc/aml_sd_emmc.c
drivers/amlogic/mmc/aml_sd_emmc_v3.c
include/linux/amlogic/aml_sd_emmc_internal.h