summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2009-01-08 14:58:54 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2009-01-08 14:58:54 +0000
commit9dd66ff7e94a774e76429045bb727477a98d986e (patch)
treebb1b18fe8279a16af38a3599939c58a6bb1c0b9e
parent2b75de900b4165a48f004aa3fe2b3b19d34c936e (diff)
downloadbuildroot-novena-9dd66ff7e94a774e76429045bb727477a98d986e.tar.gz
buildroot-novena-9dd66ff7e94a774e76429045bb727477a98d986e.zip
target/u-boot: more cleanups
As discussed on the list. - No sense in depending on BR2_TARGET_UBOOT when the configurations are within a if BR2_TARGET_UBOOT conditional. - n is default, so remove 'default n' - clarify nested conditionals
-rw-r--r--target/u-boot/Config.in34
1 files changed, 7 insertions, 27 deletions
diff --git a/target/u-boot/Config.in b/target/u-boot/Config.in
index 886df7dd5..2f79db803 100644
--- a/target/u-boot/Config.in
+++ b/target/u-boot/Config.in
@@ -6,7 +6,6 @@ menuconfig BR2_TARGET_UBOOT
if BR2_TARGET_UBOOT
config BR2_TARGET_UBOOT_BOARDNAME
string "board name"
- depends on BR2_TARGET_UBOOT
default "$(BOARD_NAME)"
help
One of U-Boot supported boards to be built.
@@ -20,26 +19,21 @@ choice
config BR2_TARGET_UBOOT_2009_01_RC1
bool "u-boot-2009.01-rc1"
- depends on BR2_TARGET_UBOOT
config BR2_TARGET_UBOOT_2008_10
bool "u-boot-2008.10"
- depends on BR2_TARGET_UBOOT
config BR2_TARGET_UBOOT_1_3_4
bool "u-boot-1.3.4"
- depends on BR2_TARGET_UBOOT
depends on BR2_DEPRECATED
config BR2_TARGET_UBOOT_1_2_0_ATMEL
bool "u-boot-1.2.0-atmel"
depends on BR2_TARGET_AT91
- depends on BR2_TARGET_UBOOT
depends on BR2_DEPRECATED
#config BR2_TARGET_UBOOT_2009_01
# bool "u-boot-2009.01"
-# depends on BR2_TARGET_UBOOT
endchoice
@@ -58,7 +52,6 @@ config BR2_U_BOOT_SITE
config BR2_TARGET_UBOOT_CUSTOM_PATCH
string "custom patch"
- depends on BR2_TARGET_UBOOT
help
If your board requires a custom patch, add the path to the file here.
Most users may leave this empty
@@ -106,27 +99,22 @@ config BR2_TARGET_UBOOT_BOOTSOURCE
config BR2_TARGET_UBOOT_SILENT
bool "silent console"
- depends on BR2_TARGET_UBOOT
help
If the option has been enabled, the output can be
silenced by setting the environment variable "silent".
config BR2_TARGET_UBOOT_TOOL_MKIMAGE
bool "mkimage tool in target"
- depends on BR2_TARGET_UBOOT
help
Install mkimage tool in target.
config BR2_TARGET_UBOOT_TOOL_ENV
bool "fw_printenv tool in target"
- depends on BR2_TARGET_UBOOT
help
Install fw_printenv / fw_setenv tools in target.
menuconfig BR2_TARGET_UBOOT_DEFAULT_ENV
bool "Generate a default environment"
- default n
- depends on BR2_TARGET_UBOOT
help
Will generate variables for factory default command
and autoscript.
@@ -236,18 +224,17 @@ config BR2_TARGET_UBOOT_END_OF_FLASH
default "C0083FFF" if BR2_TARGET_UBOOT_DATAFLASH_SIZE_0_50MB
default "C0041FFF" if BR2_TARGET_UBOOT_DATAFLASH_SIZE_0_25MB
help
-
config BR2_TARGET_UBOOT_KERNEL_START
string "Kernel SDRAM address"
default "21000000"
help
- Kernel is loaded to this address in SDRAM
+ Kernel is loaded to this address in SDRAM
config BR2_TARGET_UBOOT_KERNEL_LOCATION
string "Kernel flash address"
depends on BR2_TARGET_UBOOT_BOOTSOURCE_DATAFLASHCARD || \
- BR2_TARGET_UBOOT_BOOTSOURCE_DATAFLASH
+ BR2_TARGET_UBOOT_BOOTSOURCE_DATAFLASH
default "C0042000" if BR2_TARGET_UBOOT_BOOTSOURCE_DATAFLASHCARD || BR2_TARGET_UBOOT_BOOTSOURCE_DATAFLASH
default ""
help
@@ -269,7 +256,7 @@ config BR2_TARGET_UBOOT_FILESYSTEM_START
config BR2_TARGET_UBOOT_FILESYSTEM_LOCATION
string
depends on BR2_TARGET_UBOOT_BOOTSOURCE_DATAFLASHCARD || \
- BR2_TARGET_UBOOT_BOOTSOURCE_DATAFLASH
+ BR2_TARGET_UBOOT_BOOTSOURCE_DATAFLASH
default "C018C000" if BR2_TARGET_UBOOT_KERNEL_SIZE_1_25MB
default "C01CE000" if BR2_TARGET_UBOOT_KERNEL_SIZE_1_50MB
default "C0210000" if BR2_TARGET_UBOOT_KERNEL_SIZE_1_75MB
@@ -284,12 +271,10 @@ config BR2_TARGET_UBOOT_FILESYSTEM_SIZE
string "File System Size"
default "6000000"
help
-
menuconfig BR2_TARGET_UBOOT_NETWORK
bool "Network Settings"
default y
- depends on BR2_TARGET_UBOOT
help
Network settings for U-boot
@@ -297,35 +282,30 @@ if BR2_TARGET_UBOOT_NETWORK
config BR2_TARGET_UBOOT_SERVERIP
string "server ip"
- depends on BR2_TARGET_UBOOT
default "10.175.196.221"
help
TFTP server ip address
config BR2_TARGET_UBOOT_IPADDR
string "ip address"
- depends on BR2_TARGET_UBOOT
default "10.175.196.18"
help
Target ip address
config BR2_TARGET_UBOOT_GATEWAY
string "gateway ip"
- depends on BR2_TARGET_UBOOT
default "10.175.196.1"
help
Gateway ip address
config BR2_TARGET_UBOOT_NETMASK
string "netmask"
- depends on BR2_TARGET_UBOOT
default "255.255.255.0"
help
Network Mask
config BR2_TARGET_UBOOT_ETHADDR
string "ethernet address"
- depends on BR2_TARGET_UBOOT
default "04:25:fe:ed:00:18"
help
Target MAC address for the ethernet interface.
@@ -333,15 +313,15 @@ config BR2_TARGET_UBOOT_ETHADDR
config BR2_TARGET_UBOOT_ETH1ADDR
string "ethernet 2 address"
- depends on BR2_TARGET_UBOOT
depends on BR2_TARGET_AVR32
help
Target MAC address for the second ethernet interface.
-endif
-endif
+endif # BR2_TARGET_UBOOT_NETWORK
+
+endif # BR2_TARGET_UBOOT_DEFAULT_ENV
-endif
+endif # BR2_TARGET_UBOOT
config BR2_BOOTSOURCE_DATAFLASHCARD
bool