Add fdtfile for Marvell Armada 37xx default environment
PATCH v2 1/1 Add fdtfile for Marvell Armada 37xx default environment
mvebu_armada-37xx.h relies on config_distro_bootcmd.h but lefts ${fdtfile} environment variable empty. Here we preset the variable with default values.
Signed-off-by Matwey V. Kornilov <[email protected]>
--- configs/mvebu_db-88f3720_defconfig | 1 + configs/mvebu_espressobin-88f3720_defconfig | 1 + include/configs/mvebu_armada-37xx.h | 1 + 3 files changed, 3 insertions(+)
configs/mvebu_db-88f3720_defconfig +1 -0
@@ -12,6 +12,7 @@ CONFIG_DM_GPIO=y CONFIG_DEBUG_UART_BASE=0xd0012000 CONFIG_DEBUG_UART_CLOCK=25804800 CONFIG_DEFAULT_DEVICE_TREE="armada-3720-db" +CONFIG_DEFAULT_FDT_FILE="marvell/armada-3720-db.dtb" CONFIG_DEBUG_UART=y CONFIG_AHCI=y CONFIG_DISTRO_DEFAULTS=y
configs/mvebu_espressobin-88f3720_defconfig +1 -0
@@ -12,6 +12,7 @@ CONFIG_DM_GPIO=y CONFIG_DEBUG_UART_BASE=0xd0012000 CONFIG_DEBUG_UART_CLOCK=25804800 CONFIG_DEFAULT_DEVICE_TREE="armada-3720-espressobin" +CONFIG_DEFAULT_FDT_FILE="marvell/armada-3720-espressobin.dtb" CONFIG_DEBUG_UART=y CONFIG_AHCI=y CONFIG_DISTRO_DEFAULTS=y
include/configs/mvebu_armada-37xx.h +1 -0
@@ -96,6 +96,7 @@"kernel_addr=0x7000000\0" \"kernel_addr_r=0x7000000\0" \"ramdisk_addr_r=0xa000000\0" \ +"fdtfile=" CONFIG_DEFAULT_FDT_FILE "\0" \ BOOTENV#endif /* _CONFIG_MVEBU_ARMADA_37XX_H */
Signature · 1 line
2.26.2
PATCH v2 1/1 Add fdtfile for Marvell Armada 37xx default environment
Quoted 4 lines · Matwey V. Kornilov
mvebu_armada-37xx.hrelies onconfig_distro_bootcmd.hbut lefts ${fdtfile} environment variable empty. Here we preset the variable with default values.Signed-off-by Matwey V. Kornilov <[email protected]>
Reviewed-by Stefan Roese <[email protected]>
Thanks,
Stefan
Quoted 36 lines
--- configs/mvebu_db-88f3720_defconfig | 1 + configs/mvebu_espressobin-88f3720_defconfig | 1 + include/configs/mvebu_armada-37xx.h | 1 + 3 files changed, 3 insertions(+)configs/mvebu_db-88f3720_defconfig +1
-0@@ -12,6 +12,7 @@ CONFIG_DM_GPIO=y CONFIG_DEBUG_UART_BASE=0xd0012000 CONFIG_DEBUG_UART_CLOCK=25804800 CONFIG_DEFAULT_DEVICE_TREE="armada-3720-db" +CONFIG_DEFAULT_FDT_FILE="marvell/armada-3720-db.dtb" CONFIG_DEBUG_UART=y CONFIG_AHCI=y CONFIG_DISTRO_DEFAULTS=yconfigs/mvebu_espressobin-88f3720_defconfig +1
-0@@ -12,6 +12,7 @@ CONFIG_DM_GPIO=y CONFIG_DEBUG_UART_BASE=0xd0012000 CONFIG_DEBUG_UART_CLOCK=25804800 CONFIG_DEFAULT_DEVICE_TREE="armada-3720-espressobin" +CONFIG_DEFAULT_FDT_FILE="marvell/armada-3720-espressobin.dtb" CONFIG_DEBUG_UART=y CONFIG_AHCI=y CONFIG_DISTRO_DEFAULTS=yinclude/configs/mvebu_armada-37xx.h +0
-0
include/configs/mvebu_armada-37xx.h line 102
Quoted 7 lines
include/configs/mvebu_armada-37xx.h +1
-0@@ -96,6 +96,7 @@"kernel_addr=0x7000000\0" \"kernel_addr_r=0x7000000\0" \"ramdisk_addr_r=0xa000000\0" \ +"fdtfile=" CONFIG_DEFAULT_FDT_FILE "\0" \ BOOTENV#endif /* _CONFIG_MVEBU_ARMADA_37XX_H */
Viele Gr??e,
Stefan
Signature · 3 lines
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: sr at denx.de