[U-Boot] [PATCH 3/3] zynqmp: Show EL level where U-Boot runs

Michal Simek michal.simek at xilinx.com
Thu Jul 23 13:53:09 CEST 2015


Add one more print to make clear which EL level U-Boot runs.

Signed-off-by: Michal Simek <michal.simek at xilinx.com>
---

 board/xilinx/zynqmp/zynqmp.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/board/xilinx/zynqmp/zynqmp.c b/board/xilinx/zynqmp/zynqmp.c
index 88fe3e844f5b..0c9a81414458 100644
--- a/board/xilinx/zynqmp/zynqmp.c
+++ b/board/xilinx/zynqmp/zynqmp.c
@@ -17,6 +17,8 @@ DECLARE_GLOBAL_DATA_PTR;
 
 int board_init(void)
 {
+	printf("EL Level:\tEL%d\n", current_el());
+
 	return 0;
 }
 
-- 
2.3.5



More information about the U-Boot mailing list