arm: mach-k3: Warn when node to disable is not found
authorAndrew F. Davis <afd@ti.com>
Tue, 7 Jan 2020 23:12:40 +0000 (18:12 -0500)
committerLokesh Vutla <lokeshvutla@ti.com>
Mon, 20 Jan 2020 04:40:28 +0000 (10:10 +0530)
commit28b90a46565adc0ff6c426f4ea84def2d38ef0f6
treeed1ee662c84c4323c2ff5401445705b650d77aa2
parent60c8e50452ef5a46c870d66244bc56f12154efcb
arm: mach-k3: Warn when node to disable is not found

Not finding a node that we try to disable does not always need to be
fatal to boot but should at least print out a warning. Return error
from fdt_disable_node as it did fail to disable the node, but only
warn in the case of disabling the TRNG as this will not prevent boot.

Signed-off-by: Andrew F. Davis <afd@ti.com>
Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
arch/arm/mach-k3/common.c
board/ti/am65x/evm.c