[U-Boot] [PATCH 1/2] ARM: highbank: use config_distro_defaults.h

Albert ARIBAUD albert.u.boot at aribaud.net
Fri May 2 15:09:33 CEST 2014


Hi Rob,

On Thu, 10 Apr 2014 16:17:30 -0500, Rob Herring <robherring2 at gmail.com>
wrote:

> From: Rob Herring <robh at kernel.org>
> 
> Adapt highbank to use config_distro_defaults.h and remove the redundant
> defines.
> 
> Signed-off-by: Rob Herring <robh at kernel.org>
> ---
>  include/configs/highbank.h | 25 ++-----------------------
>  1 file changed, 2 insertions(+), 23 deletions(-)
> 
> diff --git a/include/configs/highbank.h b/include/configs/highbank.h
> index 7dbee3c..f8794dc 100644
> --- a/include/configs/highbank.h
> +++ b/include/configs/highbank.h
> @@ -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)

Applied to u-boot-arm/master, thanks!

Amicalement,
-- 
Albert.


More information about the U-Boot mailing list