diff options
author | Philipp Zabel <p.zabel@pengutronix.de> | 2013-11-18 12:06:36 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2013-11-20 07:20:03 +0100 |
commit | ed619f16c446a32824ffc14fee3f6a02ad4d6005 (patch) | |
tree | eda0e3c1d9e92db532884dc63b8c6e7be47cf1cd /arch/arm/dts/imx6q-sabrelite.dts | |
parent | a959c685bd529647ca675086313eed29fe36ebb9 (diff) | |
download | barebox-ed619f16c446a32824ffc14fee3f6a02ad4d6005.tar.gz barebox-ed619f16c446a32824ffc14fee3f6a02ad4d6005.tar.xz |
ARM i.MX6: sabrelite: move flash partitions into device tree
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/dts/imx6q-sabrelite.dts')
-rw-r--r-- | arch/arm/dts/imx6q-sabrelite.dts | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/arm/dts/imx6q-sabrelite.dts b/arch/arm/dts/imx6q-sabrelite.dts index f0848fb640..fd3ffa911e 100644 --- a/arch/arm/dts/imx6q-sabrelite.dts +++ b/arch/arm/dts/imx6q-sabrelite.dts @@ -19,6 +19,11 @@ chosen { linux,stdout-path = &uart2; + + environment@0 { + compatible = "barebox,environment"; + device-path = &flash, "partname:barebox-environment"; + }; }; memory { @@ -80,6 +85,18 @@ compatible = "sst,sst25vf016b", "m25p80"; spi-max-frequency = <20000000>; reg = <0>; + #address-cells = <1>; + #size-cells = <1>; + + partition@0 { + label = "barebox"; + reg = <0x0 0x80000>; + }; + + partition@1 { + label = "barebox-environment"; + reg = <0x80000 0x80000>; + }; }; }; |