summaryrefslogtreecommitdiffstats
path: root/target/u-boot/Config.in
diff options
context:
space:
mode:
Diffstat (limited to 'target/u-boot/Config.in')
-rw-r--r--target/u-boot/Config.in20
1 files changed, 19 insertions, 1 deletions
diff --git a/target/u-boot/Config.in b/target/u-boot/Config.in
index 2f3963b15..9ab62247a 100644
--- a/target/u-boot/Config.in
+++ b/target/u-boot/Config.in
@@ -121,7 +121,15 @@ config BR2_TARGET_UBOOT_TOOL_ENV
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.
+if BR2_TARGET_UBOOT_DEFAULT_ENV
choice
prompt "SDRAM Memory size"
default BR2_TARGET_UBOOT_SDRAM_SIZE_64M
@@ -183,6 +191,7 @@ endchoice
choice
prompt "Dataflash Size"
+ depends on BR2_TARGET_UBOOT_BOOTSOURCE_DATAFLASHCARD || BR2_TARGET_UBOOT_BOOTSOURCE_DATAFLASH
default BR2_TARGET_UBOOT_DATAFLASH_SIZE_2_00MB
config BR2_TARGET_UBOOT_DATAFLASH_SIZE_8MB
@@ -207,6 +216,7 @@ endchoice
config BR2_TARGET_UBOOT_DATAFLASH_SIZE
string
+ depends on BR2_TARGET_UBOOT_BOOTSOURCE_DATAFLASHCARD || BR2_TARGET_UBOOT_BOOTSOURCE_DATAFLASH
default "8M" if BR2_TARGET_DATAFLASH_SIZE_8MB
default "4M" if BR2_TARGET_DATAFLASH_SIZE_4MB
default "2M" if BR2_TARGET_DATAFLASH_SIZE_2MB
@@ -216,6 +226,7 @@ config BR2_TARGET_UBOOT_DATAFLASH_SIZE
config BR2_TARGET_UBOOT_END_OF_FLASH
string
+ depends on BR2_TARGET_UBOOT_BOOTSOURCE_DATAFLASHCARD || BR2_TARGET_UBOOT_BOOTSOURCE_DATAFLASH
default "C083FFFF" if BR2_TARGET_UBOOT_DATAFLASH_SIZE_8MB
default "C041FFFF" if BR2_TARGET_UBOOT_DATAFLASH_SIZE_4MB
default "C020FFFF" if BR2_TARGET_UBOOT_DATAFLASH_SIZE_2MB
@@ -233,7 +244,10 @@ config BR2_TARGET_UBOOT_KERNEL_START
config BR2_TARGET_UBOOT_KERNEL_LOCATION
string "Kernel flash address"
- default "C0042000"
+ depends on BR2_TARGET_UBOOT_BOOTSOURCE_DATAFLASHCARD || \
+ BR2_TARGET_UBOOT_BOOTSOURCE_DATAFLASH
+ default "C0042000" if BR2_TARGET_UBOOT_BOOTSOURCE_DATAFLASHCARD || BR2_TARGET_UBOOT_BOOTSOURCE_DATAFLASH
+ default ""
help
Kernel location in dataflash
@@ -252,6 +266,8 @@ 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
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
@@ -323,6 +339,8 @@ endif
endif
+endif
+
config BR2_BOOTSOURCE_DATAFLASHCARD
bool
help