Convert CONFIG_USE_PREBOOT and CONFIG_PREBOOT to Kconfig
This converts the following to Kconfig: CONFIG_USE_PREBOOT CONFIG_PREBOOT Both are together in one commit, since otherwise the former causes kconfig to define the latter, which gives duplicate symbol errors. Includes a manual fixup for CONFIG_PREBOOT in ids8313_defconfig since the backslash lands in the wrong place. Similarly with socfpga_vining_fpga. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -347,11 +347,6 @@
|
||||
|
||||
#define CONFIG_LOADADDR 800000 /* default location for tftp and bootm */
|
||||
|
||||
#define CONFIG_USE_PREBOOT
|
||||
#define CONFIG_PREBOOT "echo;" \
|
||||
"echo Type \\\"run flash_nfs\\\" to mount root filesystem over NFS;" \
|
||||
"echo"
|
||||
|
||||
#define CONFIG_EXTRA_ENV_SETTINGS \
|
||||
"netdev=eth0\0" \
|
||||
"hostname=mpc8349emds\0" \
|
||||
|
||||
@@ -404,10 +404,6 @@
|
||||
|
||||
#define CONFIG_LOADADDR 800000 /* default location for tftp and bootm */
|
||||
|
||||
#define CONFIG_PREBOOT "echo;" \
|
||||
"echo Type \\\"run flash_nfs\\\" to mount root filesystem over NFS;" \
|
||||
"echo"
|
||||
|
||||
#define CONFIG_EXTRA_ENV_SETTINGS \
|
||||
"netdev=eth0\0" \
|
||||
"hostname=mpc8349emds\0" \
|
||||
|
||||
@@ -236,11 +236,6 @@
|
||||
/* default location for tftp and bootm */
|
||||
#define CONFIG_LOADADDR 400000
|
||||
|
||||
#define CONFIG_USE_PREBOOT
|
||||
#define CONFIG_PREBOOT "echo;" \
|
||||
"echo Type \\\"run flash_nfs\\\" to mount root filesystem over NFS;" \
|
||||
"echo"
|
||||
|
||||
#define CONFIG_EXTRA_ENV_SETTINGS \
|
||||
"netdev=eth0\0" \
|
||||
"hostname=tqm834x\0" \
|
||||
|
||||
@@ -68,16 +68,6 @@
|
||||
*/
|
||||
|
||||
#ifdef CONFIG_USB_AM35X
|
||||
|
||||
#ifdef CONFIG_USB_MUSB_HCD
|
||||
|
||||
#ifdef CONFIG_USB_KEYBOARD
|
||||
#define CONFIG_USE_PREBOOT
|
||||
#define CONFIG_PREBOOT "usb start"
|
||||
#endif /* CONFIG_USB_KEYBOARD */
|
||||
|
||||
#endif /* CONFIG_USB_MUSB_HCD */
|
||||
|
||||
#ifdef CONFIG_USB_MUSB_UDC
|
||||
/* USB device configuration */
|
||||
#define CONFIG_USB_DEVICE 1
|
||||
|
||||
@@ -29,19 +29,6 @@
|
||||
|
||||
#define CONFIG_OMAP_EHCI_PHY1_RESET_GPIO 57
|
||||
|
||||
#ifdef CONFIG_USB_MUSB_AM35X
|
||||
|
||||
#ifdef CONFIG_USB_MUSB_HOST
|
||||
|
||||
#ifdef CONFIG_USB_KEYBOARD
|
||||
#define CONFIG_USE_PREBOOT
|
||||
#define CONFIG_PREBOOT "usb start"
|
||||
#endif /* CONFIG_USB_KEYBOARD */
|
||||
|
||||
#endif /* CONFIG_USB_MUSB_HOST */
|
||||
|
||||
#endif /* CONFIG_USB_MUSB_AM35X */
|
||||
|
||||
/* I2C */
|
||||
|
||||
/* Ethernet */
|
||||
|
||||
@@ -83,8 +83,6 @@
|
||||
#define CONFIG_SYS_CBSIZE 2048 /* console I/O buffer */
|
||||
#define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE
|
||||
/* Boot argument buffer size */
|
||||
#define CONFIG_USE_PREBOOT
|
||||
#define CONFIG_PREBOOT "run check_flash check_env;"
|
||||
|
||||
/*
|
||||
* Boot Linux
|
||||
|
||||
@@ -29,9 +29,6 @@
|
||||
|
||||
#define CONFIG_SYS_INIT_SP_ADDR CONFIG_IRAM_STACK
|
||||
|
||||
#define CONFIG_USE_PREBOOT
|
||||
#define CONFIG_PREBOOT
|
||||
|
||||
#define CONFIG_S5P_PA_SYSRAM 0x02020000
|
||||
#define CONFIG_SMP_PEN_ADDR CONFIG_S5P_PA_SYSRAM
|
||||
|
||||
|
||||
@@ -157,11 +157,6 @@ extern phys_addr_t prior_stage_fdt_address;
|
||||
/*
|
||||
* Save the prior stage provided DTB.
|
||||
*/
|
||||
#define CONFIG_USE_PREBOOT
|
||||
#define CONFIG_PREBOOT \
|
||||
"fdt addr ${fdtcontroladdr};" \
|
||||
"fdt move ${fdtcontroladdr} ${fdtsaveaddr};" \
|
||||
"fdt addr ${fdtsaveaddr};"
|
||||
/*
|
||||
* Enable in-place RFS with this initrd_high setting.
|
||||
*/
|
||||
|
||||
@@ -37,8 +37,6 @@
|
||||
"run manage_userdata; "
|
||||
|
||||
/* Enable PREBOOT variable */
|
||||
#define CONFIG_USE_PREBOOT
|
||||
#define CONFIG_PREBOOT
|
||||
|
||||
/* Set ARP_TIMEOUT to 500ms */
|
||||
#define CONFIG_ARP_TIMEOUT 500UL
|
||||
|
||||
@@ -23,9 +23,6 @@
|
||||
"setcurs 1 10;lcdputs serverip; setcurs 10 10; lcdputs ${serverip};" \
|
||||
"setenv stdout nc;setenv stdin nc;setenv stderr nc\0"
|
||||
|
||||
#define CONFIG_USE_PREBOOT
|
||||
#define CONFIG_PREBOOT "run cfgscr; run brdefaultip"
|
||||
|
||||
/* Network defines */
|
||||
#define CONFIG_BOOTP_SEND_HOSTNAME
|
||||
#define CONFIG_NET_RETRY_COUNT 10
|
||||
|
||||
@@ -144,9 +144,6 @@
|
||||
"echo WARNING: Could not determine dtb to use; fi; \0" \
|
||||
BOOTENV
|
||||
|
||||
#define CONFIG_USE_PREBOOT
|
||||
#define CONFIG_PREBOOT "usb start;sf probe"
|
||||
|
||||
#define BOOT_TARGET_DEVICES(func) \
|
||||
func(USB, usb, 0) \
|
||||
func(MMC, mmc, 2) \
|
||||
|
||||
@@ -37,7 +37,4 @@
|
||||
"upd_uboot=tftp 100000 conga/u-boot.rom;" \
|
||||
"sf probe;sf update 100000 0 800000;saveenv\0"
|
||||
|
||||
#define CONFIG_USE_PREBOOT
|
||||
#define CONFIG_PREBOOT
|
||||
|
||||
#endif /* __CONFIG_H */
|
||||
|
||||
@@ -124,9 +124,6 @@
|
||||
#define CONFIG_ROOTPATH "/opt/nfsroot"
|
||||
#define CONFIG_BOOTFILE "ccdc.img"
|
||||
|
||||
#define CONFIG_USE_PREBOOT
|
||||
#define CONFIG_PREBOOT /* enable preboot variable */
|
||||
|
||||
#define CONFIG_EXTRA_ENV_SETTINGS \
|
||||
"netdev=eth1\0" \
|
||||
"consoledev=ttyS1\0" \
|
||||
|
||||
@@ -42,7 +42,4 @@
|
||||
"upd_uboot=usb reset;tftp 100000 dfi/u-boot.rom;" \
|
||||
"sf probe;sf update 100000 0 800000;saveenv\0"
|
||||
|
||||
#define CONFIG_USE_PREBOOT
|
||||
#define CONFIG_PREBOOT
|
||||
|
||||
#endif /* __CONFIG_H */
|
||||
|
||||
@@ -99,8 +99,5 @@
|
||||
/* Default Environment */
|
||||
#define CONFIG_BOOTCOMMAND "sf read ${loadaddr} 0xd0000 0x700000; bootm"
|
||||
#define CONFIG_LOADADDR 0x80000
|
||||
#define CONFIG_USE_PREBOOT
|
||||
#undef CONFIG_PREBOOT /* override preboot for USB and SPI flash init */
|
||||
#define CONFIG_PREBOOT "usb start; sf probe"
|
||||
|
||||
#endif /* _CONFIG_SYNOLOGY_DS414_H */
|
||||
|
||||
@@ -100,8 +100,6 @@
|
||||
#define CONFIG_ROOTPATH "/opt/nfsroot"
|
||||
#define CONFIG_BOOTFILE "uImage"
|
||||
|
||||
#define CONFIG_PREBOOT /* enable preboot variable */
|
||||
|
||||
#define CONFIG_EXTRA_ENV_SETTINGS \
|
||||
"netdev=eth0\0" \
|
||||
"consoledev=ttyS1\0" \
|
||||
|
||||
@@ -138,8 +138,6 @@
|
||||
|
||||
/* Miscellaneous configurable options */
|
||||
#define CONFIG_HWCONFIG
|
||||
#define CONFIG_USE_PREBOOT
|
||||
#define CONFIG_PREBOOT
|
||||
|
||||
/* Memory configuration */
|
||||
#define CONFIG_SYS_MEMTEST_START 0x10000000
|
||||
|
||||
@@ -403,9 +403,6 @@ void fpga_control_clear(unsigned int bus, int pin);
|
||||
#define CONFIG_ROOTPATH "/opt/nfsroot"
|
||||
#define CONFIG_BOOTFILE "uImage"
|
||||
|
||||
#define CONFIG_USE_PREBOOT
|
||||
#define CONFIG_PREBOOT /* enable preboot variable */
|
||||
|
||||
#define CONFIG_EXTRA_ENV_SETTINGS \
|
||||
"netdev=eth0\0" \
|
||||
"consoledev=ttyS1\0" \
|
||||
|
||||
@@ -253,10 +253,6 @@
|
||||
#define CONFIG_SYS_LOAD_ADDR 0x100000
|
||||
#define CONFIG_LOADS_ECHO
|
||||
#define CONFIG_TIMESTAMP
|
||||
#define CONFIG_USE_PREBOOT
|
||||
#define CONFIG_PREBOOT "echo;" \
|
||||
"echo Type \\\"run nfsboot\\\" " \
|
||||
"to mount root filesystem over NFS;echo"
|
||||
#define CONFIG_BOOTCOMMAND "run boot_cramfs"
|
||||
#undef CONFIG_SYS_LOADS_BAUD_CHANGE
|
||||
|
||||
|
||||
@@ -185,8 +185,6 @@
|
||||
/*
|
||||
* Extra Environments
|
||||
*/
|
||||
#define CONFIG_USE_PREBOOT
|
||||
#define CONFIG_PREBOOT "run try_bootscript"
|
||||
#define CONFIG_HOSTNAME "m53menlo"
|
||||
|
||||
#define CONFIG_EXTRA_ENV_SETTINGS \
|
||||
|
||||
@@ -40,9 +40,6 @@
|
||||
#define CONFIG_REVISION_TAG
|
||||
#define CONFIG_CMDLINE_TAG /* enable passing of ATAGs */
|
||||
|
||||
#define CONFIG_USE_PREBOOT
|
||||
#define CONFIG_PREBOOT /* enable preboot variable */
|
||||
|
||||
/*
|
||||
* Hardware drivers
|
||||
*/
|
||||
|
||||
@@ -31,8 +31,6 @@
|
||||
|
||||
#ifdef CONFIG_USB_KEYBOARD
|
||||
#define STDIN_CFG "usbkbd,serial"
|
||||
#define CONFIG_USE_PREBOOT
|
||||
#define CONFIG_PREBOOT "usb start"
|
||||
#else
|
||||
#define STDIN_CFG "serial"
|
||||
#endif
|
||||
|
||||
@@ -140,9 +140,6 @@
|
||||
/* architecture dependent code */
|
||||
#define CONFIG_SYS_USR_EXCEP /* user exception */
|
||||
|
||||
#define CONFIG_USE_PREBOOT
|
||||
#define CONFIG_PREBOOT "echo U-BOOT for ${hostname};setenv preboot;echo"
|
||||
|
||||
#ifndef CONFIG_EXTRA_ENV_SETTINGS
|
||||
#define CONFIG_EXTRA_ENV_SETTINGS "unlock=yes\0" \
|
||||
"nor0=flash-0\0"\
|
||||
|
||||
@@ -38,8 +38,6 @@
|
||||
#endif
|
||||
|
||||
/* auto boot */
|
||||
#define CONFIG_USE_PREBOOT
|
||||
#define CONFIG_PREBOOT
|
||||
|
||||
/*
|
||||
* For booting Linux, the board info and command line data
|
||||
|
||||
@@ -14,8 +14,6 @@
|
||||
#define CONFIG_SYS_SDRAM_BASE 0x00000000
|
||||
|
||||
/* auto boot */
|
||||
#define CONFIG_USE_PREBOOT
|
||||
#define CONFIG_PREBOOT
|
||||
|
||||
#define CONFIG_SYS_BAUDRATE_TABLE { 9600, 19200, 38400, 57600, \
|
||||
115200, 230400, 460800, 921600 }
|
||||
|
||||
@@ -15,8 +15,6 @@
|
||||
#define CONFIG_SYS_SDRAM_BASE 0x00000000
|
||||
|
||||
/* auto boot */
|
||||
#define CONFIG_USE_PREBOOT
|
||||
#define CONFIG_PREBOOT
|
||||
|
||||
#define CONFIG_SYS_BAUDRATE_TABLE { 9600, 19200, 38400, 57600, \
|
||||
115200, 230400, 460800, 921600 }
|
||||
|
||||
@@ -66,8 +66,6 @@
|
||||
#define CONFIG_MXC_USB_FLAGS MXC_EHCI_POWER_PINS_ENABLED
|
||||
|
||||
/* Framebuffer and LCD */
|
||||
#define CONFIG_USE_PREBOOT
|
||||
#define CONFIG_PREBOOT
|
||||
#define CONFIG_VIDEO_BMP_RLE8
|
||||
#define CONFIG_SPLASH_SCREEN
|
||||
#define CONFIG_BMP_16BPP
|
||||
|
||||
@@ -160,7 +160,5 @@
|
||||
|
||||
/* Framebuffer and LCD */
|
||||
#define CONFIG_IMX_VIDEO_SKIP
|
||||
#define CONFIG_USE_PREBOOT
|
||||
#define CONFIG_PREBOOT
|
||||
|
||||
#endif /* __CONFIG_H */
|
||||
|
||||
@@ -176,8 +176,6 @@
|
||||
#endif
|
||||
|
||||
/* Framebuffer and LCD */
|
||||
#define CONFIG_USE_PREBOOT
|
||||
#define CONFIG_PREBOOT
|
||||
#define CONFIG_VIDEO_BMP_RLE8
|
||||
#define CONFIG_SPLASH_SCREEN
|
||||
#define CONFIG_BMP_16BPP
|
||||
|
||||
@@ -49,18 +49,6 @@
|
||||
#define CONFIG_MXC_USB_PORTSC (PORT_PTS_UTMI | PORT_PTS_PTW)
|
||||
#define CONFIG_MXC_USB_FLAGS 0
|
||||
#define CONFIG_USB_MAX_CONTROLLER_COUNT 2
|
||||
#define CONFIG_USE_PREBOOT
|
||||
#define CONFIG_PREBOOT \
|
||||
"if hdmidet; then " \
|
||||
"usb start; " \
|
||||
"setenv stdin serial,usbkbd; "\
|
||||
"setenv stdout serial,vga; " \
|
||||
"setenv stderr serial,vga; " \
|
||||
"else " \
|
||||
"setenv stdin serial; " \
|
||||
"setenv stdout serial; " \
|
||||
"setenv stderr serial; " \
|
||||
"fi;"
|
||||
|
||||
/* Command definition */
|
||||
|
||||
|
||||
@@ -67,9 +67,6 @@
|
||||
#define CONFIG_IMX_HDMI
|
||||
#define CONFIG_IMX_VIDEO_SKIP
|
||||
|
||||
#define CONFIG_USE_PREBOOT
|
||||
#define CONFIG_PREBOOT ""
|
||||
|
||||
#ifdef CONFIG_CMD_MMC
|
||||
#define DISTRO_BOOT_DEV_MMC(func) func(MMC, mmc, 0) func(MMC, mmc, 1)
|
||||
#else
|
||||
|
||||
@@ -253,31 +253,6 @@ int rx51_kp_getc(struct stdio_dev *sdev);
|
||||
"bootmenu_delay=30\0" \
|
||||
""
|
||||
|
||||
#define CONFIG_USE_PREBOOT
|
||||
#define CONFIG_PREBOOT \
|
||||
"setenv mmcnum 1; setenv mmcpart 1;" \
|
||||
"setenv mmcscriptfile bootmenu.scr;" \
|
||||
"if run switchmmc; then " \
|
||||
"setenv mmcdone true;" \
|
||||
"setenv mmctype fat;" \
|
||||
"if run scriptload; then true; else " \
|
||||
"setenv mmctype ext2;" \
|
||||
"if run scriptload; then true; else " \
|
||||
"setenv mmctype ext4;" \
|
||||
"if run scriptload; then true; else " \
|
||||
"setenv mmcdone false;" \
|
||||
"fi;" \
|
||||
"fi;" \
|
||||
"fi;" \
|
||||
"if ${mmcdone}; then " \
|
||||
"run scriptboot;" \
|
||||
"fi;" \
|
||||
"fi;" \
|
||||
"if run slide; then true; else " \
|
||||
"setenv bootmenu_delay 0;" \
|
||||
"setenv bootdelay 0;" \
|
||||
"fi"
|
||||
|
||||
#define CONFIG_POSTBOOTMENU \
|
||||
"echo;" \
|
||||
"echo Extra commands:;" \
|
||||
|
||||
@@ -58,9 +58,6 @@
|
||||
|
||||
/* TWL4030 LED Support */
|
||||
|
||||
#define CONFIG_USE_PREBOOT
|
||||
#define CONFIG_PREBOOT "usb start"
|
||||
|
||||
#define MEM_LAYOUT_ENV_SETTINGS \
|
||||
DEFAULT_LINUX_BOOT_ENV
|
||||
|
||||
|
||||
@@ -60,11 +60,6 @@
|
||||
|
||||
/* Environment information */
|
||||
|
||||
#define CONFIG_USE_PREBOOT
|
||||
#define CONFIG_PREBOOT \
|
||||
"setenv preboot;" \
|
||||
"saveenv;"
|
||||
|
||||
#define CONFIG_EXTRA_ENV_SETTINGS \
|
||||
DEFAULT_LINUX_BOOT_ENV \
|
||||
"mtdids=" CONFIG_MTDIDS_DEFAULT "\0" \
|
||||
|
||||
@@ -76,8 +76,6 @@
|
||||
#define ACFG_CONSOLE_DEV ttymxc0
|
||||
#define CONFIG_SYS_AUTOLOAD "no"
|
||||
#define CONFIG_ROOTPATH "/tftpboot/" __stringify(CONFIG_BOARD_NAME) "-root"
|
||||
#define CONFIG_USE_PREBOOT
|
||||
#define CONFIG_PREBOOT "run check_env"
|
||||
#define CONFIG_BOOTCOMMAND "run emmcboot"
|
||||
|
||||
#define CONFIG_EXTRA_ENV_SETTINGS \
|
||||
|
||||
@@ -77,9 +77,6 @@
|
||||
#define CONFIG_SYS_EEPROM_PAGE_WRITE_DELAY_MS 5
|
||||
#endif
|
||||
|
||||
#define CONFIG_USE_PREBOOT
|
||||
#define CONFIG_PREBOOT ""
|
||||
|
||||
/* Thermal support */
|
||||
#define CONFIG_IMX_THERMAL
|
||||
|
||||
|
||||
@@ -102,8 +102,6 @@
|
||||
#define CONFIG_BOOTCOMMAND "run bootubi_scr"
|
||||
|
||||
/* Miscellaneous configurable options */
|
||||
#define CONFIG_USE_PREBOOT
|
||||
#define CONFIG_PREBOOT
|
||||
|
||||
/* MTD/UBI/UBIFS config */
|
||||
|
||||
|
||||
@@ -32,8 +32,6 @@
|
||||
|
||||
#include <config_distro_bootcmd.h>
|
||||
|
||||
#define CONFIG_USE_PREBOOT
|
||||
#define CONFIG_PREBOOT "pci enum"
|
||||
#define CONFIG_EXTRA_ENV_SETTINGS \
|
||||
"fdt_high=0xffffffff\0" \
|
||||
"initrd_high=0xffffffff\0" \
|
||||
|
||||
@@ -48,8 +48,4 @@
|
||||
"ramdisk_addr_r=0x88300000\0" \
|
||||
BOOTENV
|
||||
|
||||
#define CONFIG_PREBOOT \
|
||||
"setenv fdt_addr ${fdtcontroladdr};" \
|
||||
"fdt addr ${fdtcontroladdr};"
|
||||
|
||||
#endif /* __CONFIG_H */
|
||||
|
||||
@@ -56,7 +56,4 @@
|
||||
BOOTENV
|
||||
#endif
|
||||
|
||||
#define CONFIG_USE_PREBOOT
|
||||
#define CONFIG_PREBOOT
|
||||
|
||||
#endif
|
||||
|
||||
@@ -61,7 +61,4 @@
|
||||
|
||||
#endif /* CONFIG_SPL_BUILD */
|
||||
|
||||
#define CONFIG_USE_PREBOOT
|
||||
#define CONFIG_PREBOOT
|
||||
|
||||
#endif
|
||||
|
||||
@@ -56,7 +56,4 @@
|
||||
BOOTENV
|
||||
#endif
|
||||
|
||||
#define CONFIG_USE_PREBOOT
|
||||
#define CONFIG_PREBOOT
|
||||
|
||||
#endif
|
||||
|
||||
@@ -70,7 +70,4 @@
|
||||
BOOTENV
|
||||
#endif
|
||||
|
||||
#define CONFIG_USE_PREBOOT
|
||||
#define CONFIG_PREBOOT
|
||||
|
||||
#endif
|
||||
|
||||
@@ -73,8 +73,6 @@
|
||||
/* Environment */
|
||||
#define CONFIG_ENV_SIZE SZ_16K
|
||||
#define CONFIG_SYS_LOAD_ADDR 0x1000000
|
||||
#define CONFIG_USE_PREBOOT
|
||||
#define CONFIG_PREBOOT "usb start"
|
||||
|
||||
/* Shell */
|
||||
|
||||
|
||||
@@ -189,8 +189,6 @@
|
||||
/* UBI Support */
|
||||
|
||||
/* Commen environment */
|
||||
#define CONFIG_USE_PREBOOT
|
||||
#define CONFIG_PREBOOT
|
||||
#define COMMON_ENV_DFU_ARGS "dfu_args=run bootargs_defaults;" \
|
||||
"setenv bootargs ${bootargs};" \
|
||||
"mtdparts default;" \
|
||||
|
||||
@@ -12,8 +12,6 @@
|
||||
|
||||
/* Booting Linux */
|
||||
#define CONFIG_BOOTFILE "fitImage"
|
||||
#define CONFIG_USE_PREBOOT
|
||||
#define CONFIG_PREBOOT "run try_bootscript"
|
||||
#define CONFIG_BOOTCOMMAND "run mmc_mmc"
|
||||
#define CONFIG_LOADADDR 0x01000000
|
||||
#define CONFIG_SYS_LOAD_ADDR CONFIG_LOADADDR
|
||||
|
||||
@@ -12,7 +12,6 @@
|
||||
|
||||
/* Booting Linux */
|
||||
#define CONFIG_BOOTFILE "fitImage"
|
||||
#define CONFIG_PREBOOT "run try_bootscript"
|
||||
#define CONFIG_BOOTCOMMAND "run mmc_mmc"
|
||||
#define CONFIG_LOADADDR 0x01000000
|
||||
#define CONFIG_SYS_LOAD_ADDR CONFIG_LOADADDR
|
||||
|
||||
@@ -33,17 +33,6 @@
|
||||
* if button B is not pressed, boot normal Linux system immediatelly
|
||||
* if button B is pressed, wait $bootdelay and boot recovery system
|
||||
*/
|
||||
#define CONFIG_USE_PREBOOT
|
||||
#define CONFIG_PREBOOT \
|
||||
"setenv hostname vining-${unit_serial} ; " \
|
||||
"setenv PS1 \"${unit_ident} (${unit_serial}) => \" ; " \
|
||||
"if gpio input 78 ; then " \
|
||||
"setenv bootdelay 10 ; " \
|
||||
"setenv boottype rcvr ; " \
|
||||
"else " \
|
||||
"setenv bootdelay 5 ; " \
|
||||
"setenv boottype norm ; " \
|
||||
"fi"
|
||||
|
||||
#define CONFIG_EXTRA_ENV_SETTINGS \
|
||||
"verify=n\0" \
|
||||
|
||||
@@ -272,12 +272,6 @@
|
||||
|
||||
#define CONFIG_LOADADDR 200000 /* default addr for tftp & bootm*/
|
||||
|
||||
|
||||
#define CONFIG_USE_PREBOOT
|
||||
#define CONFIG_PREBOOT "echo;" \
|
||||
"echo Welcome on the ABB Socrates Board;" \
|
||||
"echo"
|
||||
|
||||
#define CONFIG_EXTRA_ENV_SETTINGS \
|
||||
"netdev=eth0\0" \
|
||||
"consdev=ttyS0\0" \
|
||||
|
||||
@@ -436,9 +436,6 @@ void fpga_control_clear(unsigned int bus, int pin);
|
||||
#define CONFIG_ROOTPATH "/opt/nfsroot"
|
||||
#define CONFIG_BOOTFILE "uImage"
|
||||
|
||||
#define CONFIG_USE_PREBOOT
|
||||
#define CONFIG_PREBOOT /* enable preboot variable */
|
||||
|
||||
#define CONFIG_EXTRA_ENV_SETTINGS \
|
||||
"netdev=eth0\0" \
|
||||
"consoledev=ttyS1\0" \
|
||||
|
||||
@@ -285,11 +285,6 @@ extern int soft_i2c_gpio_scl;
|
||||
#define CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS 1
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_USB_KEYBOARD
|
||||
#define CONFIG_USE_PREBOOT
|
||||
#define CONFIG_PREBOOT
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_SPL_BUILD
|
||||
|
||||
#ifdef CONFIG_ARM64
|
||||
|
||||
@@ -79,16 +79,6 @@
|
||||
#ifdef CONFIG_CMD_USB_MASS_STORAGE
|
||||
#define CONFIG_USBD_HS
|
||||
#endif /* CONFIG_CMD_USB_MASS_STORAGE */
|
||||
#ifdef CONFIG_USB_KEYBOARD
|
||||
#define CONFIG_USE_PREBOOT
|
||||
#define CONFIG_PREBOOT \
|
||||
"usb start; " \
|
||||
"if hdmidet; then " \
|
||||
"run set_con_hdmi; " \
|
||||
"else " \
|
||||
"run set_con_serial; " \
|
||||
"fi"
|
||||
#endif /* CONFIG_USB_KEYBOARD */
|
||||
#endif /* CONFIG_CMD_USB */
|
||||
|
||||
/* Environment organization */
|
||||
|
||||
@@ -42,8 +42,6 @@
|
||||
|
||||
#ifdef CONFIG_USB_KEYBOARD
|
||||
#define STDIN_KBD_USB ",usbkbd"
|
||||
#define CONFIG_USE_PREBOOT
|
||||
#define CONFIG_PREBOOT "usb start"
|
||||
#else
|
||||
#define STDIN_KBD_USB ""
|
||||
#endif
|
||||
|
||||
@@ -13,9 +13,6 @@
|
||||
|
||||
#define CONFIG_SYS_MONITOR_LEN (1 << 20)
|
||||
|
||||
#define CONFIG_USE_PREBOOT
|
||||
#define CONFIG_PREBOOT
|
||||
|
||||
#define CONFIG_STD_DEVICES_SETTINGS "stdin=serial\0" \
|
||||
"stdout=serial\0" \
|
||||
"stderr=serial\0"
|
||||
|
||||
@@ -47,9 +47,6 @@
|
||||
|
||||
#define PHY_ANEG_TIMEOUT 8000 /* PHY needs a longer aneg time */
|
||||
|
||||
#define CONFIG_USE_PREBOOT
|
||||
#define CONFIG_PREBOOT
|
||||
|
||||
/* Keep device tree and initrd in lower memory so the kernel can access them */
|
||||
#define CONFIG_EXTRA_ENV_SETTINGS \
|
||||
"fdt_high=0x10000000\0" \
|
||||
|
||||
@@ -79,9 +79,6 @@
|
||||
# define EXTRA_ENV_USB
|
||||
#endif
|
||||
|
||||
#define CONFIG_USE_PREBOOT
|
||||
#undef CONFIG_PREBOOT
|
||||
|
||||
#undef CONFIG_EXTRA_ENV_SETTINGS
|
||||
#define CONFIG_EXTRA_ENV_SETTINGS \
|
||||
"kernel_image=uImage\0" \
|
||||
|
||||
@@ -21,8 +21,6 @@
|
||||
#define CONFIG_SYS_SDRAM_BASE 0x00000000
|
||||
|
||||
/* auto boot */
|
||||
#define CONFIG_USE_PREBOOT
|
||||
#define CONFIG_PREBOOT
|
||||
|
||||
#define CONFIG_SYS_BAUDRATE_TABLE { 9600, 19200, 38400, 57600, \
|
||||
115200, 230400, 460800, 921600 }
|
||||
|
||||
@@ -472,8 +472,6 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
|
||||
*/
|
||||
#define CONFIG_SYS_LOAD_ADDR 0x2000000 /* default load address */
|
||||
#define CONFIG_LOADADDR 0x1000000 /* default location for tftp and bootm */
|
||||
#define CONFIG_USE_PREBOOT
|
||||
#define CONFIG_PREBOOT /* enable preboot variable */
|
||||
#define CONFIG_INTEGRITY /* support booting INTEGRITY OS */
|
||||
|
||||
/*
|
||||
|
||||
@@ -271,8 +271,6 @@
|
||||
*/
|
||||
#define CONFIG_SYS_LOAD_ADDR 0x2000000 /* default load address */
|
||||
#define CONFIG_LOADADDR 0x1000000 /* default location for tftp and bootm */
|
||||
#define CONFIG_USE_PREBOOT
|
||||
#define CONFIG_PREBOOT /* enable preboot variable */
|
||||
#define CONFIG_INTEGRITY /* support booting INTEGRITY OS */
|
||||
#define CONFIG_INTERRUPTS /* enable pci, srio, ddr interrupts */
|
||||
|
||||
|
||||
@@ -322,8 +322,6 @@ extern unsigned long get_board_ddr_clk(unsigned long dummy);
|
||||
*/
|
||||
#define CONFIG_SYS_LOAD_ADDR 0x2000000 /* default load address */
|
||||
#define CONFIG_LOADADDR 0x1000000 /* default location for tftp and bootm */
|
||||
#define CONFIG_USE_PREBOOT
|
||||
#define CONFIG_PREBOOT /* enable preboot variable */
|
||||
#define CONFIG_INTEGRITY /* support booting INTEGRITY OS */
|
||||
|
||||
/*
|
||||
|
||||
@@ -320,8 +320,6 @@ extern unsigned long get_board_ddr_clk(unsigned long dummy);
|
||||
*/
|
||||
#define CONFIG_SYS_LOAD_ADDR 0x2000000 /* default load address */
|
||||
#define CONFIG_LOADADDR 0x1000000 /* default location for tftp and bootm */
|
||||
#define CONFIG_USE_PREBOOT
|
||||
#define CONFIG_PREBOOT /* enable preboot variable */
|
||||
#define CONFIG_INTEGRITY /* support booting INTEGRITY OS */
|
||||
|
||||
/*
|
||||
|
||||
@@ -98,9 +98,6 @@
|
||||
#define CONFIG_SYS_MEMTEST_START (PHYS_SDRAM + (512*1024))
|
||||
#define CONFIG_SYS_MEMTEST_END (PHYS_SDRAM + PHYS_SDRAM_SIZE)
|
||||
|
||||
#define CONFIG_USE_PREBOOT
|
||||
#define CONFIG_PREBOOT ""
|
||||
|
||||
|
||||
/*
|
||||
* Size of malloc() pool
|
||||
|
||||
@@ -102,8 +102,6 @@
|
||||
#define CONFIG_ENV_OVERWRITE
|
||||
|
||||
/* enable preboot to be loaded before CONFIG_BOOTDELAY */
|
||||
#define CONFIG_USE_PREBOOT
|
||||
#define CONFIG_PREBOOT
|
||||
|
||||
/* Boot configuration */
|
||||
#define CONFIG_SYS_LOAD_ADDR 0 /* default? */
|
||||
|
||||
Reference in New Issue
Block a user