From d935323b7d09176371d60a0f8ed711d9a4dbb0fc Mon Sep 17 00:00:00 2001 From: Joseph Chen Date: Thu, 24 Oct 2019 10:40:51 +0800 Subject: [PATCH] common: board_info: print "AArch32" cpu mode Change-Id: I7384f1fd1e8cad69464a3b218d7570e044905daa Signed-off-by: Joseph Chen --- common/board_info.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/common/board_info.c b/common/board_info.c index 16cf966233..b48fd1ebc0 100644 --- a/common/board_info.c +++ b/common/board_info.c @@ -27,5 +27,10 @@ int __weak show_board_info(void) printf("Model: %s\n", model); #endif +#ifdef CONFIG_ARM64_BOOT_AARCH32 + if (!(gd->flags & GD_FLG_RELOC)) + printf("CPU: AArch32\n"); +#endif + return checkboard(); }