mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-09-03 13:01:47 +02:00
arm: a37xx: espressobin: Move U-Boot specific partitions node to -u-boot.dtsi
U-Boot specific changes should be in armada-3720-espressobin-u-boot.dtsi DTS file. Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Stefan Roese <sr@denx.de>
This commit is contained in:
parent
9dde7a09fc
commit
a134aaa54e
23
arch/arm/dts/armada-3720-espressobin-u-boot.dtsi
Normal file
23
arch/arm/dts/armada-3720-espressobin-u-boot.dtsi
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
||||||
|
|
||||||
|
#ifdef CONFIG_ENV_IS_IN_SPI_FLASH
|
||||||
|
&spi0 {
|
||||||
|
spi-flash@0 {
|
||||||
|
partitions {
|
||||||
|
compatible = "fixed-partitions";
|
||||||
|
#address-cells = <1>;
|
||||||
|
#size-cells = <1>;
|
||||||
|
|
||||||
|
partition@firmware {
|
||||||
|
reg = <0 CONFIG_ENV_OFFSET>;
|
||||||
|
label = "firmware";
|
||||||
|
};
|
||||||
|
|
||||||
|
partition@u-boot-env {
|
||||||
|
reg = <CONFIG_ENV_OFFSET CONFIG_ENV_SIZE>;
|
||||||
|
label = "u-boot-env";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
#endif
|
@ -147,24 +147,6 @@
|
|||||||
reg = <0>; /* Chip select 0 */
|
reg = <0>; /* Chip select 0 */
|
||||||
spi-max-frequency = <50000000>;
|
spi-max-frequency = <50000000>;
|
||||||
m25p,fast-read;
|
m25p,fast-read;
|
||||||
|
|
||||||
#ifdef CONFIG_ENV_IS_IN_SPI_FLASH
|
|
||||||
partitions {
|
|
||||||
compatible = "fixed-partitions";
|
|
||||||
#address-cells = <1>;
|
|
||||||
#size-cells = <1>;
|
|
||||||
|
|
||||||
partition@firmware {
|
|
||||||
reg = <0 CONFIG_ENV_OFFSET>;
|
|
||||||
label = "firmware";
|
|
||||||
};
|
|
||||||
|
|
||||||
partition@u-boot-env {
|
|
||||||
reg = <CONFIG_ENV_OFFSET CONFIG_ENV_SIZE>;
|
|
||||||
label = "u-boot-env";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
#endif
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user