]> git.dujemihanovic.xyz Git - u-boot.git/commit
arm64: versal-net: Detect and display bootmode
authorAshok Reddy Soma <ashok.reddy.soma@amd.com>
Tue, 16 May 2023 14:47:53 +0000 (08:47 -0600)
committerMichal Simek <michal.simek@amd.com>
Mon, 12 Jun 2023 11:24:31 +0000 (13:24 +0200)
commitded539ff6633f3ba493e18bf23ce489bfc03f28d
tree6bdd9dc90a89fc7074e9a20c618889dfdb762ec0
parentaddd47379df54a3eb247c6db4f799f14af43e523
arm64: versal-net: Detect and display bootmode

Read boodmode register using versal_net_get_bootmode() in board_late_init
and prepare corresponding distro boot command sequence based on it.

versal_net_get_bootmode() will be changed to use smc calls later, but
for now directly reads the register.

Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma@amd.com>
Link: https://lore.kernel.org/r/20230516144753.30869-1-ashok.reddy.soma@amd.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
arch/arm/mach-versal-net/include/mach/hardware.h
board/xilinx/versal-net/board.c