kirkwood: convert iconnect, ib62x0 and pogoplug_e02 to the new image build code
[openwrt/staging/blogic.git] / package / boot / uboot-kirkwood / patches / 200-openwrt-config.patch
index 92e2b753752393e46ac8b1232b737227c2c0e0a0..37f30d0a506f2cad00fb3f4c474217b06beeff21 100644 (file)
@@ -1,8 +1,8 @@
---- a/arch/arm/cpu/arm926ejs/kirkwood/Kconfig
-+++ b/arch/arm/cpu/arm926ejs/kirkwood/Kconfig
-@@ -84,4 +84,7 @@ source "board/raidsonic/ib62x0/Kconfig"
- source "board/Seagate/dockstar/Kconfig"
- source "board/Seagate/goflexhome/Kconfig"
+--- a/arch/arm/mach-kirkwood/Kconfig
++++ b/arch/arm/mach-kirkwood/Kconfig
+@@ -74,4 +74,7 @@ source "board/Seagate/goflexhome/Kconfig
+ source "board/Seagate/nas220/Kconfig"
+ source "board/zyxel/nsa310s/Kconfig"
  
 +config SECOND_STAGE
 +      bool "OpenWrt second stage hack"
@@ -10,7 +10,7 @@
  endif
 --- a/include/configs/dockstar.h
 +++ b/include/configs/dockstar.h
-@@ -115,4 +115,6 @@
+@@ -98,4 +98,6 @@
  #define CONFIG_CMD_MTDPARTS
  #define CONFIG_LZO
  
  #endif /* _CONFIG_DOCKSTAR_H */
 --- a/include/configs/ib62x0.h
 +++ b/include/configs/ib62x0.h
-@@ -145,4 +145,6 @@
- #define CONFIG_MTD_PARTITIONS
- #define CONFIG_CMD_MTDPARTS
+@@ -108,4 +108,6 @@
+ #define CONFIG_RTC_MV
+ #endif /* CONFIG_CMD_DATE */
  
 +#include "openwrt-kirkwood-common.h"
 +
  #endif /* _CONFIG_IB62x0_H */
 --- a/include/configs/iconnect.h
 +++ b/include/configs/iconnect.h
-@@ -118,4 +118,6 @@
+@@ -103,4 +103,6 @@
  #define CONFIG_MTD_PARTITIONS
  #define CONFIG_CMD_MTDPARTS
  
@@ -37,7 +37,7 @@
  #endif /* _CONFIG_ICONNECT_H */
 --- /dev/null
 +++ b/include/configs/openwrt-kirkwood-common.h
-@@ -0,0 +1,52 @@
+@@ -0,0 +1,40 @@
 +/*
 + * Copyright (C) 2013 Luka Perkov <luka@openwrt.org>
 + *
 +/* Commands */
 +#define CONFIG_CMD_BOOTZ
 +
-+#if defined(CONFIG_CMD_NET)
-+#define CONFIG_CMD_DHCP
-+#define CONFIG_CMD_PING
-+#endif
-+
-+/* Auto boot */
-+#undef CONFIG_BOOTDELAY
-+#define CONFIG_BOOTDELAY      3
-+
 +/* Ethernet */
 +#if defined(CONFIG_CMD_NET)
 +#define CONFIG_SERVERIP               192.168.1.2
 +#define CONFIG_ENV_IS_NOWHERE
 +#endif
 +
-+/* Flattened Device Tree */
-+#define CONFIG_OF_LIBFDT
-+
 +/* Flattened uImage Tree */
-+#define CONFIG_FIT
-+#define CONFIG_FIT_VERBOSE
++#define CONFIG_FIT                    1
++#define CONFIG_FIT_VERBOSE            1
 +
 +/* Various */
 +#define CONFIG_BZIP2
@@ -92,7 +80,7 @@
 +#endif /* __OPENWRT_KIRKWOOD_COMMON_H */
 --- a/include/configs/pogo_e02.h
 +++ b/include/configs/pogo_e02.h
-@@ -115,4 +115,6 @@
+@@ -99,4 +99,6 @@
  #define CONFIG_CMD_MTDPARTS
  #define CONFIG_LZO
  
  #endif /* _CONFIG_POGO_E02_H */
 --- a/include/configs/sheevaplug.h
 +++ b/include/configs/sheevaplug.h
-@@ -143,4 +143,6 @@
- #define CONFIG_CMD_MTDPARTS
- #define CONFIG_LZO
+@@ -109,4 +109,6 @@
+ #define CONFIG_SYS_ATA_IDE1_OFFSET    MV_SATA_PORT1_OFFSET
+ #endif /* CONFIG_CMD_IDE */
  
 +#include "openwrt-kirkwood-common.h"
 +
  #endif /* _CONFIG_SHEEVAPLUG_H */
 --- a/include/configs/goflexhome.h
 +++ b/include/configs/goflexhome.h
-@@ -133,4 +133,6 @@
+@@ -122,4 +122,6 @@
  #define CONFIG_RTC_MV
  #endif /* CONFIG_CMD_DATE */