> -----Original Message-----
> From: Lim, Elly Siew Chin <[email protected]>
> Sent: Tuesday, December 22, 2020 12:50 AM
> To: [email protected]
> Cc: Marek Vasut <[email protected]>; Tan, Ley Foon
> <[email protected]>; See, Chin Liang <[email protected]>;
> Simon Goldschmidt <[email protected]>; Chee, Tien Fong
> <[email protected]>; Westergreen, Dalon
> <[email protected]>; Simon Glass <[email protected]>; Gan,
> Yau Wai <[email protected]>; Lim, Elly Siew Chin
> <[email protected]>
> Subject: [v5 08/18] mmc: dwmmc: Change designware MMC 'clksel' callback
> function to return status
> 
> Change 'clksel' callback function to allow the code to return a status.
> 
> This patch is a preparation for enabling Arm-Trusted-Firmware (ATF) in Intel
> SoC FPGA. This patch does not change functionality.
> 
> When using Arm-Trusted-Firmware (ATF) in Intel SoC FPGA, the MMC clock
> related register is secure register which is required to be written via
> SMC/PCSI call. It is possible that U-Boot fail to write the register if there 
> is
> unexpected error between U-Boot and ATF.
> As a result, there maybe signal integrity on MMC connection due to clock. So,
> the code should reports error to user when 'clksel' fail.
> 
> Signed-off-by: Siew Chin Lim <[email protected]>
> ---

Reviewed-by: Ley Foon Tan <[email protected]>

Regards
Ley Foon

Reply via email to