• Andre Przywara's avatar
    rpi: move plat_helpers.S to common · 07aa0c7e
    Andre Przywara authored
    
    
    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: default avatarAndre Przywara <andre.przywara@arm.com>
    07aa0c7e
plat_helpers.S 5.8 KB