[U-Boot] [PATCH 2/3] clk: zynqmp: Dont panic incase of mmio write/read failures

Michal Simek michal.simek at xilinx.com
Tue Aug 1 13:32:30 UTC 2017


On 31.7.2017 16:45, Simon Glass wrote:
> On 20 July 2017 at 03:03, Michal Simek <michal.simek at xilinx.com> wrote:
>> From: Siva Durga Prasad Paladugu <siva.durga.paladugu at xilinx.com>
>>
>> Dont panic incase of mmio write/read failures instead return
>> error and let the peripheral driver take care of clock get
>> and set failures.
>>
>> Signed-off-by: Siva Durga Prasad Paladugu <sivadur at xilinx.com>
>> Signed-off-by: Michal Simek <michal.simek at xilinx.com>
>> ---
>>
>>  drivers/clk/clk_zynqmp.c | 63 +++++++++++++++++++++++++++++++++---------------
>>  1 file changed, 44 insertions(+), 19 deletions(-)
> 
> Reviewed-by: Simon Glass <sjg at chromium.org>
> 
> But I suggest using debug() instead of printf() on error. This is a
> driver, after all.

ok. This can be done as follow up patch.
DP: Please send this patch.

Thanks,
Michal



More information about the U-Boot mailing list