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)
committerMarek Szyprowski <m.szyprowski@samsung.com>
Tue, 16 Nov 2021 12:00:22 +0000 (13:00 +0100)
commit7500b2d57619f63ed3ca69374933acfd36776a0c
tree04eba4d1c7ae4e6e733dd6850bfba9e9595a8b8f
parent0ac00d61500685b157ccafe1001a1bb54dad9063
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