rpi: move plat_helpers.S to common
The plat_helpers.S file was almost identical between its RPi3 and RPi4
versions. Unify the two files, moving it into the common/ directory.

This adds a plat_rpi_get_model() function, which can be used to trigger
RPi4 specific action, detected at runtime. We use that to do the RPi4
specific L2 cache initialisation.

Change-Id: I2295704fd6dde7c76fe83b6d98c7bf998d4bf074
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
1 parent 0a43db8 commit 07aa0c7e0e13db4b22de135247b4aa3a5b18f15b
@Andre Przywara Andre Przywara authored on 12 Mar 2020
Showing 8 changed files
View
plat/rpi/common/aarch64/plat_helpers.S 0 → 100644
View
plat/rpi/common/include/rpi_shared.h
View
plat/rpi/rpi3/aarch64/plat_helpers.S 100644 → 0
View
plat/rpi/rpi3/include/platform_def.h
View
plat/rpi/rpi3/platform.mk
View
plat/rpi/rpi4/aarch64/plat_helpers.S 100644 → 0
View
plat/rpi/rpi4/include/platform_def.h
View
plat/rpi/rpi4/platform.mk