board: rpi: add print_archinfo to display arch information
authorJaehoon Chung <jh80.chung@samsung.com>
Fri, 15 Jan 2021 04:27:34 +0000 (13:27 +0900)
committerJaehoon Chung <jh80.chung@samsung.com>
Wed, 12 Oct 2022 05:48:05 +0000 (14:48 +0900)
commit0cf1fa3a5a4f28c192bc7843496aaa9f9caad076
tree02d34ed575e78136c773ee7c27c9bee6ff64b390
parent83364fa2a4d884fdc8018b4dcaafd0f0e5087776
board: rpi: add print_archinfo to display arch information

Current U-boot doesn't display a message about which architecture is
used. So Developer is difficult to know it by intuition.
This patch is displaying to CPU information with CONFIG_SYS_CPU.
- In mainline, it's used to display cpuinfo with CONFIG_DISPLAY_CPUINFO.
  But PRI4 doesn't implement print_cpuinfo(). Instead, display a cpuinfo
  in get_board_rev about RPI4 boards.

In RPI4 case,

U-Boot 2020.10-drity (Jan 15 2021 - 13:24:55 +0900)

DARM:  3.9 GiB
RPI 4 Model B (0xc03111)
CPU: armv7

Change-Id: I485194baa965065f44bac966d014ccfb31b9da60
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
board/raspberrypi/rpi/rpi.c