]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
Blackfin: adi config: allow boards to tweak a little more
authorMike Frysinger <vapier@gentoo.org>
Mon, 20 Sep 2010 19:14:58 +0000 (15:14 -0400)
committerMike Frysinger <vapier@gentoo.org>
Sat, 2 Oct 2010 20:00:39 +0000 (16:00 -0400)
Let people easily override bootdelay and network settings.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
include/configs/bfin_adi_common.h

index 55b8b0be343b7f77328ff0490de212860f56ecad..22312f5f5cf98bf65136da830f5647bbe5e8d48b 100644 (file)
 /*
  * Env Settings
  */
-#if (CONFIG_BFIN_BOOT_MODE == BFIN_BOOT_UART)
-# define CONFIG_BOOTDELAY      -1
-#else
-# define CONFIG_BOOTDELAY      5
+#ifndef CONFIG_BOOTDELAY
+# if (CONFIG_BFIN_BOOT_MODE == BFIN_BOOT_UART)
+#  define CONFIG_BOOTDELAY     -1
+# else
+#  define CONFIG_BOOTDELAY     5
+# endif
 #endif
 #ifndef CONFIG_BOOTCOMMAND
 # define CONFIG_BOOTCOMMAND    "run ramboot"
  * Network Settings
  */
 #ifdef CONFIG_CMD_NET
-# define CONFIG_IPADDR         192.168.0.15
 # define CONFIG_NETMASK                255.255.255.0
-# define CONFIG_GATEWAYIP      192.168.0.1
-# define CONFIG_SERVERIP       192.168.0.2
-# define CONFIG_ROOTPATH       /romfs
+# ifndef CONFIG_IPADDR
+#  define CONFIG_IPADDR                192.168.0.15
+#  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
 #  ifndef CONFIG_SYS_AUTOLOAD
 #   define CONFIG_SYS_AUTOLOAD "no"