mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-18 13:11:31 +00:00
cleanup/SPEAr: Define configuration flags more elegantly
In SPEAr, some of the configuration flags eg. CONFIG_SPEAR_EMI, were given value "1", which isn't required. Define the flags without assigning any value Signed-off-by: Amit Virdi <amit.virdi@st.com> Acked-by: Stefan Roese <sr@denx.de> Signed-off-by: Stefan Roese <sr@denx.de>
This commit is contained in:
parent
bc0bdf4c22
commit
9b382b43a1
3 changed files with 18 additions and 18 deletions
|
@ -66,7 +66,7 @@
|
|||
|
||||
/* Flash configuration */
|
||||
#if defined(CONFIG_FLASH_PNOR)
|
||||
#define CONFIG_SPEAR_EMI 1
|
||||
#define CONFIG_SPEAR_EMI
|
||||
#else
|
||||
#define CONFIG_ST_SMI
|
||||
#endif
|
||||
|
@ -206,11 +206,11 @@
|
|||
#define CONFIG_BOARD_EARLY_INIT_F
|
||||
#define CONFIG_DISPLAY_CPUINFO
|
||||
#define CONFIG_BOOT_PARAMS_ADDR 0x00000100
|
||||
#define CONFIG_CMDLINE_TAG 1
|
||||
#define CONFIG_SETUP_MEMORY_TAGS 1
|
||||
#define CONFIG_MISC_INIT_R 1
|
||||
#define CONFIG_ZERO_BOOTDELAY_CHECK 1
|
||||
#define CONFIG_AUTOBOOT_KEYED 1
|
||||
#define CONFIG_CMDLINE_TAG
|
||||
#define CONFIG_SETUP_MEMORY_TAGS
|
||||
#define CONFIG_MISC_INIT_R
|
||||
#define CONFIG_ZERO_BOOTDELAY_CHECK
|
||||
#define CONFIG_AUTOBOOT_KEYED
|
||||
#define CONFIG_AUTOBOOT_STOP_STR " "
|
||||
#define CONFIG_AUTOBOOT_PROMPT \
|
||||
"Hit SPACE in %d seconds to stop autoboot.\n", bootdelay
|
||||
|
@ -228,7 +228,7 @@
|
|||
#define CONFIG_SYS_MAXARGS 16
|
||||
#define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE
|
||||
#define CONFIG_SYS_LOAD_ADDR 0x00800000
|
||||
#define CONFIG_SYS_CONSOLE_INFO_QUIET 1
|
||||
#define CONFIG_SYS_CONSOLE_INFO_QUIET
|
||||
|
||||
#define CONFIG_SYS_FLASH_EMPTY_INFO
|
||||
|
||||
|
|
|
@ -29,14 +29,14 @@
|
|||
* (easy to change)
|
||||
*/
|
||||
#if defined(CONFIG_spear300)
|
||||
#define CONFIG_SPEAR3XX 1
|
||||
#define CONFIG_SPEAR300 1
|
||||
#define CONFIG_SPEAR3XX
|
||||
#define CONFIG_SPEAR300
|
||||
#elif defined(CONFIG_spear310)
|
||||
#define CONFIG_SPEAR3XX 1
|
||||
#define CONFIG_SPEAR310 1
|
||||
#define CONFIG_SPEAR3XX
|
||||
#define CONFIG_SPEAR310
|
||||
#elif defined(CONFIG_spear320)
|
||||
#define CONFIG_SPEAR3XX 1
|
||||
#define CONFIG_SPEAR320 1
|
||||
#define CONFIG_SPEAR3XX
|
||||
#define CONFIG_SPEAR320
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_usbtty)
|
||||
|
@ -52,17 +52,17 @@
|
|||
#include <configs/spear-common.h>
|
||||
|
||||
/* Ethernet driver configuration */
|
||||
#define CONFIG_DW_ALTDESCRIPTOR 1
|
||||
#define CONFIG_DW_ALTDESCRIPTOR
|
||||
|
||||
#if defined(CONFIG_SPEAR310)
|
||||
#define CONFIG_MACB 1
|
||||
#define CONFIG_MACB
|
||||
#define CONFIG_MACB0_PHY 0x01
|
||||
#define CONFIG_MACB1_PHY 0x03
|
||||
#define CONFIG_MACB2_PHY 0x05
|
||||
#define CONFIG_MACB3_PHY 0x07
|
||||
|
||||
#elif defined(CONFIG_SPEAR320)
|
||||
#define CONFIG_MACB 1
|
||||
#define CONFIG_MACB
|
||||
#define CONFIG_MACB0_PHY 0x01
|
||||
|
||||
#endif
|
||||
|
@ -141,7 +141,7 @@
|
|||
#endif
|
||||
|
||||
#define CONFIG_SYS_MAX_FLASH_SECT (127 + 8)
|
||||
#define CONFIG_SYS_FLASH_QUIET_TEST 1
|
||||
#define CONFIG_SYS_FLASH_QUIET_TEST
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
* High Level Configuration Options
|
||||
* (easy to change)
|
||||
*/
|
||||
#define CONFIG_SPEAR600 1
|
||||
#define CONFIG_SPEAR600
|
||||
|
||||
#if defined(CONFIG_usbtty)
|
||||
#define CONFIG_SPEAR_USBTTY
|
||||
|
|
Loading…
Add table
Reference in a new issue