diff options
author | Arnd Bergmann <arnd@arndb.de> | 2017-01-27 16:46:51 +0100 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2017-01-27 16:46:51 +0100 |
commit | ec026b5020688a8bde5fae9a69ae3c59b66ba3ae (patch) | |
tree | f476a1a9970af763720bd64b090879fc9874dbcf /arch/arm/boot/dts/imx50.dtsi | |
parent | bba8e3f42736cf7f974968a818e53b128286ad1d (diff) | |
parent | a971c5545c3d45a1e33fda6e57913bb75aaa20c9 (diff) |
Merge tag 'imx-fixes-4.10-3' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux into HEAD
Pull "i.MX fixes for 4.10, 3rd round" from Shawn Guo:
- Fix a 'defined but not used' warning in MMDC driver when
CONFIG_PERF_EVENTS is disabled.
- Fix i.MX6DL device tree GPIO4_11 range setting.
- A bandaid fix for boot failure found on a couple of platforms due to
missing 'chosen' and 'memory' node.
* tag 'imx-fixes-4.10-3' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux:
ARM: dts: imx: Pass 'chosen' and 'memory' nodes
ARM: dts: imx6dl: fix GPIO4 range
ARM: imx: hide unused variable in #ifdef
Diffstat (limited to 'arch/arm/boot/dts/imx50.dtsi')
-rw-r--r-- | arch/arm/boot/dts/imx50.dtsi | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx50.dtsi b/arch/arm/boot/dts/imx50.dtsi index fe0221e4cbf7..ceae909e2201 100644 --- a/arch/arm/boot/dts/imx50.dtsi +++ b/arch/arm/boot/dts/imx50.dtsi @@ -17,6 +17,14 @@ / { #address-cells = <1>; #size-cells = <1>; + /* + * The decompressor and also some bootloaders rely on a + * pre-existing /chosen node to be available to insert the + * command line and merge other ATAGS info. + * Also for U-Boot there must be a pre-existing /memory node. + */ + chosen {}; + memory { device_type = "memory"; reg = <0 0>; }; aliases { ethernet0 = &fec; |