diff options
| author | Marcel Ziswiler <[email protected]> | 2020-10-22 11:21:40 +0300 |
|---|---|---|
| committer | Stefano Babic <[email protected]> | 2020-12-06 15:31:37 +0100 |
| commit | 2f36a693e34bd4bc6ab05d2c6e803aa9eb10d4df (patch) | |
| tree | 38d643f26bed4e389f8c7f0977b614490fec809c /arch/arm/include | |
| parent | 3730106cf0dcc0630ff37c138e9a0d46739e2e51 (diff) | |
imx8: allow overriding memory layout
Introduce weak function board_mem_get_layout() which allows overriding
the memory layout from board code in runtime, useful for handling
different SKU versions.
Signed-off-by: Marcel Ziswiler <[email protected]>
Signed-off-by: Igor Opaniuk <[email protected]>
Reviewed-by: Oleksandr Suvorov <[email protected]>
Diffstat (limited to 'arch/arm/include')
| -rw-r--r-- | arch/arm/include/asm/mach-imx/sys_proto.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/include/asm/mach-imx/sys_proto.h b/arch/arm/include/asm/mach-imx/sys_proto.h index 5f0c1ae2182..43eae6d796d 100644 --- a/arch/arm/include/asm/mach-imx/sys_proto.h +++ b/arch/arm/include/asm/mach-imx/sys_proto.h @@ -183,6 +183,11 @@ void init_src(void); void init_snvs(void); void imx_wdog_disable_powerdown(void); +void board_mem_get_layout(u64 *phys_sdram_1_start, + u64 *phys_sdram_1_size, + u64 *phys_sdram_2_start, + u64 *phys_sdram_2_size); + int arch_auxiliary_core_check_up(u32 core_id); int board_mmc_get_env_dev(int devno); |
