imx8: allow overriding memory layout
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>
Thu, 22 Oct 2020 08:21:40 +0000 (11:21 +0300)
committerStefano Babic <sbabic@denx.de>
Sun, 6 Dec 2020 14:31:37 +0000 (15:31 +0100)
commit2f36a693e34bd4bc6ab05d2c6e803aa9eb10d4df
tree38d643f26bed4e389f8c7f0977b614490fec809c
parent3730106cf0dcc0630ff37c138e9a0d46739e2e51
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 <marcel.ziswiler@toradex.com>
Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
Reviewed-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
arch/arm/include/asm/mach-imx/sys_proto.h
arch/arm/mach-imx/imx8/cpu.c