diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2022-06-09 07:59:05 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2022-06-17 08:28:55 +0200 |
commit | da06dbb18d57b6f77beab5ea41423a639b4384f5 (patch) | |
tree | c1af4a65ab97ed495b5156bc7fbd0dd28e20315c /arch/arm/boards/raspberry-pi/lowlevel.h | |
parent | 47740c32087930089fc9e0a07fd254676780554a (diff) | |
download | barebox-da06dbb18d57b6f77beab5ea41423a639b4384f5.tar.gz barebox-da06dbb18d57b6f77beab5ea41423a639b4384f5.tar.xz |
ARM: rpi: support PBL use of mbox
barebox uses DT to find out the base address of the mailbox. For the
generic image, we need to use the mailbox interface to find out which DT
to use. Resolve the chicken-egg problem by hardcoding a list of mailbox
base addresses and selecting the correct one by looking up the CPU ID
and using that to deduce the Raspberry Pi SoC type.
Note that this is incompatible with arm_peri_high=1.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.barebox.org/20220609055922.667016-5-a.fatoum@pengutronix.de
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/boards/raspberry-pi/lowlevel.h')
0 files changed, 0 insertions, 0 deletions