Blackfin: adi config: allow boards to tweak a little more
Let people easily override bootdelay and network settings. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
parent
73b6f4046b
commit
56f0c57b4b
|
@ -119,10 +119,12 @@
|
||||||
/*
|
/*
|
||||||
* Env Settings
|
* Env Settings
|
||||||
*/
|
*/
|
||||||
#if (CONFIG_BFIN_BOOT_MODE == BFIN_BOOT_UART)
|
#ifndef CONFIG_BOOTDELAY
|
||||||
# define CONFIG_BOOTDELAY -1
|
# if (CONFIG_BFIN_BOOT_MODE == BFIN_BOOT_UART)
|
||||||
#else
|
# define CONFIG_BOOTDELAY -1
|
||||||
# define CONFIG_BOOTDELAY 5
|
# else
|
||||||
|
# define CONFIG_BOOTDELAY 5
|
||||||
|
# endif
|
||||||
#endif
|
#endif
|
||||||
#ifndef CONFIG_BOOTCOMMAND
|
#ifndef CONFIG_BOOTCOMMAND
|
||||||
# define CONFIG_BOOTCOMMAND "run ramboot"
|
# define CONFIG_BOOTCOMMAND "run ramboot"
|
||||||
|
@ -244,11 +246,15 @@
|
||||||
* Network Settings
|
* Network Settings
|
||||||
*/
|
*/
|
||||||
#ifdef CONFIG_CMD_NET
|
#ifdef CONFIG_CMD_NET
|
||||||
# define CONFIG_IPADDR 192.168.0.15
|
|
||||||
# define CONFIG_NETMASK 255.255.255.0
|
# define CONFIG_NETMASK 255.255.255.0
|
||||||
# define CONFIG_GATEWAYIP 192.168.0.1
|
# ifndef CONFIG_IPADDR
|
||||||
# define CONFIG_SERVERIP 192.168.0.2
|
# define CONFIG_IPADDR 192.168.0.15
|
||||||
# define CONFIG_ROOTPATH /romfs
|
# define CONFIG_GATEWAYIP 192.168.0.1
|
||||||
|
# define CONFIG_SERVERIP 192.168.0.2
|
||||||
|
# endif
|
||||||
|
# ifndef CONFIG_ROOTPATH
|
||||||
|
# define CONFIG_ROOTPATH /romfs
|
||||||
|
# endif
|
||||||
# ifdef CONFIG_CMD_DHCP
|
# ifdef CONFIG_CMD_DHCP
|
||||||
# ifndef CONFIG_SYS_AUTOLOAD
|
# ifndef CONFIG_SYS_AUTOLOAD
|
||||||
# define CONFIG_SYS_AUTOLOAD "no"
|
# define CONFIG_SYS_AUTOLOAD "no"
|
||||||
|
|
Loading…
Reference in New Issue