diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2023-01-11 18:40:23 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2023-01-18 11:52:09 +0100 |
commit | 2e7e1d2512b0ac9ad7c3ed4ca081fedfb457197c (patch) | |
tree | 3f4e354277a7355a1e265b20c4a31f849b7373c2 /arch/arm | |
parent | 1fd8336bb0fe46856d2881121dd61bf560910448 (diff) | |
download | barebox-2e7e1d2512b0ac9ad7c3ed4ca081fedfb457197c.tar.gz barebox-2e7e1d2512b0ac9ad7c3ed4ca081fedfb457197c.tar.xz |
ARM: AT91: sama5d3: always read memory size from controller
No need to hardcode sizes, sama5d3.dtsi has an "atmel,sama5d3-ddramc"
node, which we have a driver for that does dynamic memory size readout.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.barebox.org/20230111174023.1719129-16-a.fatoum@pengutronix.de
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/dts/at91-microchip-ksz9477-evb.dts | 4 | ||||
-rw-r--r-- | arch/arm/dts/at91-sama5d3_xplained.dts | 3 | ||||
-rw-r--r-- | arch/arm/dts/sama5d3.dtsi | 3 |
3 files changed, 3 insertions, 7 deletions
diff --git a/arch/arm/dts/at91-microchip-ksz9477-evb.dts b/arch/arm/dts/at91-microchip-ksz9477-evb.dts index 3762361b53..60efc77f69 100644 --- a/arch/arm/dts/at91-microchip-ksz9477-evb.dts +++ b/arch/arm/dts/at91-microchip-ksz9477-evb.dts @@ -13,10 +13,6 @@ }; }; -&{/memory@20000000} { - reg = <0x20000000 0x10000000>; -}; - ®_vcc_mmc0 { status = "disabled"; }; diff --git a/arch/arm/dts/at91-sama5d3_xplained.dts b/arch/arm/dts/at91-sama5d3_xplained.dts index b734457214..1580bd29f8 100644 --- a/arch/arm/dts/at91-sama5d3_xplained.dts +++ b/arch/arm/dts/at91-sama5d3_xplained.dts @@ -19,6 +19,3 @@ }; }; }; - -/* Will be automatically read back from HW */ -/delete-node/ &{/memory@20000000}; diff --git a/arch/arm/dts/sama5d3.dtsi b/arch/arm/dts/sama5d3.dtsi index 84fc1d0ed4..658292792f 100644 --- a/arch/arm/dts/sama5d3.dtsi +++ b/arch/arm/dts/sama5d3.dtsi @@ -5,3 +5,6 @@ mmc1 = &mmc1; }; }; + +/* Will be automatically read back from HW */ +/delete-node/ &{/memory@20000000}; |