diff options
author | Anson Huang <Anson.Huang@freescale.com> | 2015-11-10 19:05:02 +0800 |
---|---|---|
committer | Anson Huang <Anson.Huang@freescale.com> | 2015-11-10 19:24:38 +0800 |
commit | ae8a22baa6e70cc74407083b79f281150fe5b1ca (patch) | |
tree | 6c3ea2403a722e7c94ee537e103e975d97176db3 /arch | |
parent | 3952fc0cb388cd05a89ed67e8f6f15b0d68347b3 (diff) |
MLK-11844-1 ARM: dts: imx6sx: reserve DDR space for M4 use case
FreeRTOS/M4 has DDR use case, M4 can only execute on DDR
space lower than 0xa0000000, Linux kernel will reserve 1M
(0x9ff00000 - 0x9fffffff) for it, below are the DDR usage:
0x80000000 - 0x9fefffff: Linux kernel;
0x9ff00000 - 0x9fffffff: FreeRTOS;
0xa0000000 - 0xbfefffff: Linux kernel;
0xbff00000 - 0xbfffffff: RPMSG shared memory;
0xc0000000 - 0xffffffff: Linux kernel if boards has 2GB DDR.
Also, remove 'reg' property which is unused.
Signed-off-by: Anson Huang <Anson.Huang@freescale.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/boot/dts/imx6sx-sabreauto-m4.dts | 5 | ||||
-rw-r--r-- | arch/arm/boot/dts/imx6sx-sdb-m4.dts | 4 |
2 files changed, 5 insertions, 4 deletions
diff --git a/arch/arm/boot/dts/imx6sx-sabreauto-m4.dts b/arch/arm/boot/dts/imx6sx-sabreauto-m4.dts index 2ad2b6a8e964..b720278b0bd5 100644 --- a/arch/arm/boot/dts/imx6sx-sabreauto-m4.dts +++ b/arch/arm/boot/dts/imx6sx-sabreauto-m4.dts @@ -10,8 +10,9 @@ /{ memory { - linux,usable-memory = <0x80000000 0x3ff00000>; - reg = <0x80000000 0x40000000>; + linux,usable-memory = <0x80000000 0x1ff00000>, + <0xa0000000 0x1ff00000>, + <0xc0000000 0x40000000>; }; }; diff --git a/arch/arm/boot/dts/imx6sx-sdb-m4.dts b/arch/arm/boot/dts/imx6sx-sdb-m4.dts index f3958be67688..a5d4bcf63885 100644 --- a/arch/arm/boot/dts/imx6sx-sdb-m4.dts +++ b/arch/arm/boot/dts/imx6sx-sdb-m4.dts @@ -10,8 +10,8 @@ /{ memory { - linux,usable-memory = <0x80000000 0x3ff00000>; - reg = <0x80000000 0x40000000>; + linux,usable-memory = <0x80000000 0x1ff00000>, + <0xa0000000 0x1ff00000>; }; }; |