zynq: Add support to find bootmode
authorJagannadha Sutradharudu Teki <jagannadha.sutradharudu-teki@xilinx.com>
Wed, 8 Jan 2014 20:18:21 +0000 (01:48 +0530)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Fri, 10 Jan 2014 14:18:33 +0000 (15:18 +0100)
commitb3de92495f23db58a2643fb9328edacbf9a17f1c
tree8c19a291bffd9b22576f7c50124c6e99a2fbe0c7
parentfe5eddbf9818ba857d0d7f5e849b5682c9717b74
zynq: Add support to find bootmode

Added support to find the bootmodes by reading
slcr bootmode register. this can be helpful to
autoboot the configurations w.r.t a specified bootmode.

Added this functionality on board_late_init as it's not
needed for normal initializtion part.

Signed-off-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
arch/arm/cpu/armv7/zynq/slcr.c
arch/arm/include/asm/arch-zynq/sys_proto.h
board/xilinx/zynq/board.c
doc/README.zynq
include/configs/zynq-common.h