arm: mvebu: Enable bootstd for Thecus N2350 board
PATCH 1/1 arm: mvebu: Enable bootstd for Thecus N2350 board
Enable bootstd for Thecus N2350 board, and remove distroboot.
---
configs/n2350_defconfig | 3 ++- include/configs/n2350.h | 12 +----------- 2 files changed, 3 insertions(+), 12 deletions(-)
configs/n2350_defconfig +2 -1
@@ -29,7 +29,8 @@ CONFIG_ENV_ADDR=0x100000 CONFIG_PCI=y CONFIG_DEBUG_UART=y CONFIG_AHCI=y -CONFIG_DISTRO_DEFAULTS=y +CONFIG_BOOTSTD_FULL=y +CONFIG_BOOTSTD_DEFAULTS=y CONFIG_BOOTDELAY=10 CONFIG_USE_PREBOOT=y CONFIG_SYS_CONSOLE_INFO_QUIET=y
include/configs/n2350.h +1 -11
@@ -20,15 +20,8 @@*/ #include "mv-common.h" -/* Include the common distro boot environment */ #ifndef CONFIG_SPL_BUILD -#define BOOT_TARGET_DEVICES (func) \ - func(SCSI, scsi, 0) \ - func(USB, usb, 0) \ - func(PXE, pxe, na) \ - func(DHCP, dhcp, na) -#define KERNEL_ADDR_R __stringify(0x1000000)#define FDT_ADDR_R __stringify(0x2000000)#define RAMDISK_ADDR_R __stringify(0x2200000)
@@ -42,14 +35,11 @@"scriptaddr=" SCRIPT_ADDR_R "\0" \ "pxefile_addr_r=" PXEFILE_ADDR_R "\0" -#include <config_distro_bootcmd.h> -#define CFG_EXTRA_ENV_SETTINGS \ RELOCATION_LIMITS_ENV_SETTINGS \ LOAD_ADDRESS_ENV_SETTINGS \ "fdtfile=" CONFIG_DEFAULT_DEVICE_TREE ".dtb\0" \ - "console=ttyS0,115200\0" \ - BOOTENV + "console=ttyS0,115200\0"#endif /* CONFIG_SPL_BUILD */
Signature · 1 line
2.39.2
Quoted 3 lines · Tony Dinh
Enable bootstd for Thecus N2350 board, and remove distroboot.
Signed-off-by Tony Dinh <[email protected]>
Thanks,
Stefan
Quoted 46 lines
---
configs/n2350_defconfig | 3 ++- include/configs/n2350.h | 12 +----------- 2 files changed, 3 insertions(+), 12 deletions(-)configs/n2350_defconfig +2
-1@@ -29,7 +29,8 @@ CONFIG_ENV_ADDR=0x100000 CONFIG_PCI=y CONFIG_DEBUG_UART=y CONFIG_AHCI=y -CONFIG_DISTRO_DEFAULTS=y +CONFIG_BOOTSTD_FULL=y +CONFIG_BOOTSTD_DEFAULTS=y CONFIG_BOOTDELAY=10 CONFIG_USE_PREBOOT=y CONFIG_SYS_CONSOLE_INFO_QUIET=yinclude/configs/n2350.h +0
-9@@ -20,15 +20,8 @@*/ #include "mv-common.h" -/* Include the common distro boot environment */ #ifndef CONFIG_SPL_BUILD -#define BOOT_TARGET_DEVICES (func) \ - func(SCSI, scsi, 0) \ - func(USB, usb, 0) \ - func(PXE, pxe, na) \ - func(DHCP, dhcp, na) -#define KERNEL_ADDR_R __stringify(0x1000000)#define FDT_ADDR_R __stringify(0x2000000)#define RAMDISK_ADDR_R __stringify(0x2200000)@@ -42,14 +35,11 @@"scriptaddr=" SCRIPT_ADDR_R "\0" \"pxefile_addr_r=" PXEFILE_ADDR_R "\0" -#include <config_distro_bootcmd.h> -
include/configs/n2350.h line 45
Quoted 10 lines
include/configs/n2350.h +1
-2#define CFG_EXTRA_ENV_SETTINGS \ RELOCATION_LIMITS_ENV_SETTINGS \ LOAD_ADDRESS_ENV_SETTINGS \ "fdtfile=" CONFIG_DEFAULT_DEVICE_TREE ".dtb\0" \ - "console=ttyS0,115200\0" \ - BOOTENV + "console=ttyS0,115200\0"#endif /* CONFIG_SPL_BUILD */
Viele Grüße,
Stefan Roese
Signature · 3 lines
DENX Software Engineering GmbH, Managing Director: Erika Unter HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: [email protected]
Quoted 6 lines · Stefan Roese
Quoted 3 lines · Tony Dinh
Enable bootstd for Thecus N2350 board, and remove distroboot.
Signed-off-by Tony Dinh <[email protected]>Reviewed-by Stefan Roese <[email protected]>
Applied to u-boot-marvell/master
Thanks,
Stefan
Quoted 49 lines
Thanks,
StefanQuoted 46 lines
---
configs/n2350_defconfig | 3 ++-
include/configs/n2350.h| 12 +-----------2 files changed, 3 insertions(+), 12 deletions(-)configs/n2350_defconfig +0
-0@@ -29,7 +29,8 @@ CONFIG_ENV_ADDR=0x100000
CONFIG_PCI=y
CONFIG_DEBUG_UART=y
CONFIG_AHCI=yconfigs/n2350_defconfig +2
-1-CONFIG_DISTRO_DEFAULTS=y +CONFIG_BOOTSTD_FULL=y +CONFIG_BOOTSTD_DEFAULTS=y
CONFIG_BOOTDELAY=10
CONFIG_USE_PREBOOT=y
CONFIG_SYS_CONSOLE_INFO_QUIET=yinclude/configs/n2350.h +0
-7@@ -20,15 +20,8 @@*/ #include "mv-common.h" -/* Include the common distro boot environment */ #ifndef CONFIG_SPL_BUILD -#define BOOT_TARGET_DEVICES (func) \ - func(SCSI, scsi, 0) \ - func(USB, usb, 0) \ - func(PXE, pxe, na) \ - func(DHCP, dhcp, na) - #define KERNEL_ADDR_R __stringify(0x1000000) #define FDT_ADDR_R __stringify(0x2000000) #define RAMDISK_ADDR_R __stringify(0x2200000)@@ -42,14 +35,11 @@ "scriptaddr=" SCRIPT_ADDR_R "\0" \"pxefile_addr_r="
PXEFILE_ADDR_R"\0"include/configs/n2350.h +0
-2-#include <config_distro_bootcmd.h> -#define
CFG_EXTRA_ENV_SETTINGS\
RELOCATION_LIMITS_ENV_SETTINGS\
LOAD_ADDRESS_ENV_SETTINGS\
Quoted 9 lines
Quoted 5 lines
"fdtfile="
CONFIG_DEFAULT_DEVICE_TREE".dtb\0" \
- "console=ttyS0,115200\0" \
- BOOTENV
+ "console=ttyS0,115200\0"
#endif /*CONFIG_SPL_BUILD*/Viele Grüße,
Stefan Roese
Viele Grüße,
Stefan Roese
Signature · 3 lines
DENX Software Engineering GmbH, Managing Director: Erika Unter HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: [email protected]