OSDN Git Service

ARM: dts: imx6ul-pico-hobbit: Do not hardcode the memory size
authorFabio Estevam <fabio.estevam@nxp.com>
Tue, 17 Jul 2018 02:08:45 +0000 (23:08 -0300)
committerShawn Guo <shawnguo@kernel.org>
Tue, 17 Jul 2018 07:26:46 +0000 (15:26 +0800)
There are two variants of imx6ul-pico boards: one with 256MB and
another one with 512MB of RAM.

Do not hardcode the memory size in the device tree and let the
bootloader fill the correct value instead.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx6ul-pico-hobbit.dts

index 47682b8..0c09420 100644 (file)
@@ -51,8 +51,9 @@
        model = "Technexion Pico i.MX6UL Board";
        compatible = "technexion,imx6ul-pico-hobbit", "fsl,imx6ul";
 
+       /* Will be filled by the bootloader */
        memory@80000000 {
-               reg = <0x80000000 0x10000000>;
+               reg = <0x80000000 0>;
        };
 
        chosen {