ARM: highbank: use config_distro_defaults.h
PATCH 1/2 ARM: highbank: use config_distro_defaults.h
From: Rob Herring <[email protected]>
Adapt highbank to use config_distro_defaults.h and remove the redundant defines.
--- include/configs/highbank.h | 25 ++----------------------- 1 file changed, 2 insertions(+), 23 deletions(-)
include/configs/highbank.h +2 -23
@@ -7,15 +7,15 @@#ifndef __CONFIG_H#define __CONFIG_H +#include <config_distro_defaults.h> +#define CONFIG_SYS_DCACHE_OFF #define CONFIG_SYS_THUMB_BUILD #define CONFIG_SYS_NO_FLASH -#define CONFIG_OF_LIBFDT #define CONFIG_OF_BOARD_SETUP #define CONFIG_FIT -#define CONFIG_SUPPORT_RAW_INITRD #define CONFIG_SYS_BOOTMAPSZ (16 << 20)#define CONFIG_SYS_TIMER_RATE (150000000/256)
@@ -48,35 +48,18 @@#define CONFIG_SYS_SCSI_MAX_DEVICE (CONFIG_SYS_SCSI_MAX_SCSI_ID * \ CONFIG_SYS_SCSI_MAX_LUN) -#define CONFIG_DOS_PARTITION -#define CONFIG_EFI_PARTITION -#define CONFIG_CALXEDA_XGMAC -/* PXE support */ -#define CONFIG_BOOTP_PXE -#define CONFIG_BOOTP_PXE_CLIENTARCH 0x100 -#define CONFIG_BOOTP_VCI_STRING "U-boot.armv7.highbank" -/* * Command line configuration. */ #include <config_cmd_default.h> #define CONFIG_CMD_BDI -#define CONFIG_CMD_BOOTZ -#define CONFIG_CMD_DHCP -#define CONFIG_CMD_ELF #define CONFIG_CMD_MEMORY #define CONFIG_CMD_LOADS #define CONFIG_CMD_SCSI -#define CONFIG_CMD_EXT2 -#define CONFIG_CMD_EXT4 -#define CONFIG_CMD_FAT -#define CONFIG_CMD_PXE -#define CONFIG_MENU -#define CONFIG_BOOTDELAY 2#define CONFIG_BOOT_RETRY_TIME -1#define CONFIG_RESET_TO_RETRY #define CONFIG_AUTOBOOT_KEYED
@@ -85,14 +68,10 @@/* * Miscellaneous configurable options */ -#define CONFIG_CMDLINE_EDITING -#define CONFIG_AUTO_COMPLETE -#define CONFIG_SYS_LONGHELP /* undef to save memory */ #define CONFIG_SYS_CBSIZE 1024/* Console I/O Buffer Size */ #define CONFIG_SYS_MAXARGS 16/* max number of cmd args */ #define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE#define CONFIG_SYS_PROMPT "Highbank #" -#define CONFIG_SYS_HUSH_PARSER /* Print Buffer Size */ #define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE + \ sizeof(CONFIG_SYS_PROMPT)+16)
Signature · 1 line
1.9.1
PATCH 2/2 ARM: highbank: use default prompt
From: Rob Herring <[email protected]>
Since highbank is actually shared between Highbank and Midway platforms, remove the Highbank name from the prompt and use the default.
--- include/configs/highbank.h | 1 - 1 file changed, 1 deletion(-)
include/configs/highbank.h +0 -1
@@ -71,7 +71,6 @@#define CONFIG_SYS_CBSIZE 1024/* Console I/O Buffer Size */ #define CONFIG_SYS_MAXARGS 16/* max number of cmd args */ #define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE -#define CONFIG_SYS_PROMPT "Highbank #"/* Print Buffer Size */ #define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE + \ sizeof(CONFIG_SYS_PROMPT)+16)
Signature · 1 line
1.9.1
PATCH 2/2 ARM: highbank: use default prompt
Hi Rob,
Quoted 15 lines · Rob Herring
From: Rob Herring <[email protected]>
Since highbank is actually shared between Highbank and Midway platforms, remove the Highbank name from the prompt and use the default.
Signed-off-by Rob Herring <[email protected]>--- include/configs/highbank.h | 1 - 1 file changed, 1 deletion(-)include/configs/highbank.h +0
-0
include/configs/highbank.h line 76
Quoted 7 lines
include/configs/highbank.h +0
-1@@ -71,7 +71,6 @@#define CONFIG_SYS_CBSIZE 1024/* Console I/O Buffer Size */ #define CONFIG_SYS_MAXARGS 16/* max number of cmd args */ #define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE -#define CONFIG_SYS_PROMPT "Highbank #"/* Print Buffer Size */ #define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE + \ sizeof(CONFIG_SYS_PROMPT)+16)
Applied to u-boot-arm/master, thanks!
Amicalement,
Signature · 1 line
Albert.
PATCH 1/2 ARM: highbank: use config_distro_defaults.h
In reply to Rob HerringHi Rob,
Quoted 73 lines · Rob Herring
From: Rob Herring <[email protected]>
Adapt highbank to use
config_distro_defaults.hand remove the redundant defines.Signed-off-by Rob Herring <[email protected]>--- include/configs/highbank.h | 25 ++----------------------- 1 file changed, 2 insertions(+), 23 deletions(-)include/configs/highbank.h +2
-20@@ -7,15 +7,15 @@#ifndef __CONFIG_H#define __CONFIG_H +#include <config_distro_defaults.h> +#define CONFIG_SYS_DCACHE_OFF #define CONFIG_SYS_THUMB_BUILD #define CONFIG_SYS_NO_FLASH -#define CONFIG_OF_LIBFDT #define CONFIG_OF_BOARD_SETUP #define CONFIG_FIT -#define CONFIG_SUPPORT_RAW_INITRD #define CONFIG_SYS_BOOTMAPSZ (16 << 20)#define CONFIG_SYS_TIMER_RATE (150000000/256)@@ -48,35 +48,18 @@#define CONFIG_SYS_SCSI_MAX_DEVICE (CONFIG_SYS_SCSI_MAX_SCSI_ID * \ CONFIG_SYS_SCSI_MAX_LUN) -#define CONFIG_DOS_PARTITION -#define CONFIG_EFI_PARTITION -#define CONFIG_CALXEDA_XGMAC -/* PXE support */ -#define CONFIG_BOOTP_PXE -#define CONFIG_BOOTP_PXE_CLIENTARCH 0x100 -#define CONFIG_BOOTP_VCI_STRING "U-boot.armv7.highbank" -/* * Command line configuration. */ #include <config_cmd_default.h> #define CONFIG_CMD_BDI -#define CONFIG_CMD_BOOTZ -#define CONFIG_CMD_DHCP -#define CONFIG_CMD_ELF #define CONFIG_CMD_MEMORY #define CONFIG_CMD_LOADS #define CONFIG_CMD_SCSI -#define CONFIG_CMD_EXT2 -#define CONFIG_CMD_EXT4 -#define CONFIG_CMD_FAT -#define CONFIG_CMD_PXE -#define CONFIG_MENU -#define CONFIG_BOOTDELAY 2#define CONFIG_BOOT_RETRY_TIME -1#define CONFIG_RESET_TO_RETRY #define CONFIG_AUTOBOOT_KEYED @@ -85,14 +68,10 @@/* * Miscellaneous configurable options */ -#define CONFIG_CMDLINE_EDITING
include/configs/highbank.h line 77
Quoted 10 lines
include/configs/highbank.h +0
-3-#define CONFIG_AUTO_COMPLETE -#define CONFIG_SYS_LONGHELP /* undef to save memory */ #define CONFIG_SYS_CBSIZE 1024/* Console I/O Buffer Size */ #define CONFIG_SYS_MAXARGS 16/* max number of cmd args */ #define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE#define CONFIG_SYS_PROMPT "Highbank #" -#define CONFIG_SYS_HUSH_PARSER /* Print Buffer Size */ #define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE + \ sizeof(CONFIG_SYS_PROMPT)+16)
Applied to u-boot-arm/master, thanks!
Amicalement,
Signature · 1 line
Albert.