# boot delay (time to autostart boot command)
export CONFIG_BOOTDELAY=1
-# uncomment following line, to disable output in U-Boot console
-#export DISABLE_CONSOLE_OUTPUT=1
-
# uncomment following line, to build RAM version images (without low level initialization)
#export CONFIG_SKIP_LOWLEVEL_INIT=1
@make --no-print-directory show_size
ifdef CONFIG_SKIP_LOWLEVEL_INIT
- ifdef DISABLE_CONSOLE_OUTPUT
-show_size: export UBOOT_FILE_NAME_SUFFIX=__SILENT-CONSOLE__RAM
- else
show_size: export UBOOT_FILE_NAME_SUFFIX=__RAM
- endif
-else
- ifdef DISABLE_CONSOLE_OUTPUT
-show_size: export UBOOT_FILE_NAME_SUFFIX=__SILENT-CONSOLE
- endif
endif
show_size:
ifdef COMPRESSED_UBOOT
@echo "#define CONFIG_MAX_UBOOT_SIZE_KB "$(CONFIG_MAX_UBOOT_SIZE_KB) >> include/config.h
endif
-ifdef DISABLE_CONSOLE_OUTPUT
- @echo "#define CONFIG_SILENT_CONSOLE 1" >> include/config.h
-endif
-
ifdef CONFIG_SKIP_LOWLEVEL_INIT
@echo "#define CONFIG_SKIP_LOWLEVEL_INIT 1" >> include/config.h
@echo "#undef COMPRESSED_UBOOT" >> include/config.h
endif
+ @echo "#define CONFIG_SILENT_CONSOLE 1" >> include/config.h
@echo "#define CONFIG_DELAY_TO_AUTORUN_HTTPD 3" >> include/config.h
@echo "#define CONFIG_DELAY_TO_AUTORUN_CONSOLE 5" >> include/config.h
@echo "#define CONFIG_DELAY_TO_AUTORUN_NETCONSOLE 7" >> include/config.h
"echo OK!; " \
"else " \
"echo ERROR! Server not reachable!; " \
- "fi\0" \
- SILENT_ENV_VARIABLE
+ "fi\0"
#define CFG_ATHRS26_PHY 1
#define CFG_AG7240_NMACS 2
#define CFG_MEMTEST_END (CFG_SDRAM_BASE + bd->bi_memsize - 0x200001) /* RAM test end = CFG_SDRAM_BASE + RAM size - 2 MB - 1 Byte */
#define CFG_RX_ETH_BUFFER 16
-#if defined(CONFIG_SILENT_CONSOLE)
- #define SILENT_ENV_VARIABLE "silent=1\0"
-#else
- #define SILENT_ENV_VARIABLE ""
-#endif
-
#define CFG_DCACHE_SIZE 32768
#define CFG_ICACHE_SIZE 65536
#define CFG_CACHELINE_SIZE 32
"fi; " \
"else " \
"echo ERROR! Server not reachable!; " \
- "fi\0" \
- SILENT_ENV_VARIABLE
-
+ "fi\0"
/*
* Cache lock for stack
*/
#define CFG_MEMTEST_END (CFG_SDRAM_BASE + bd->bi_memsize - 0x200001) /* RAM test end = CFG_SDRAM_BASE + RAM size - 2 MB - 1 Byte */
#define CFG_RX_ETH_BUFFER 16
-#if defined(CONFIG_SILENT_CONSOLE)
- #define SILENT_ENV_VARIABLE "silent=1\0"
-#else
- #define SILENT_ENV_VARIABLE ""
-#endif
-
/*-----------------------------------------------------------------------
* Cache Configuration
*/
"echo OK!; " \
"else " \
"echo ERROR! Server not reachable!; " \
- "fi\0" \
- SILENT_ENV_VARIABLE
+ "fi\0"
#define CFG_MII0_RMII 1
#define CFG_BOOTM_LEN (16 << 20) /* 16 MB */