2016-10-26 09:14:47 +00:00
|
|
|
--- a/arch/arm/mach-kirkwood/Kconfig
|
|
|
|
+++ b/arch/arm/mach-kirkwood/Kconfig
|
2017-03-15 06:37:48 +00:00
|
|
|
@@ -87,4 +87,7 @@ source "board/Seagate/nas220/Kconfig"
|
2016-10-26 09:14:47 +00:00
|
|
|
source "board/zyxel/nsa310s/Kconfig"
|
2017-03-15 06:37:48 +00:00
|
|
|
source "board/zyxel/nsa325/Kconfig"
|
2017-01-22 13:43:51 +00:00
|
|
|
|
2014-11-30 03:55:44 +00:00
|
|
|
+config SECOND_STAGE
|
|
|
|
+ bool "OpenWrt second stage hack"
|
|
|
|
+
|
|
|
|
endif
|
2014-02-15 23:53:07 +00:00
|
|
|
--- a/include/configs/dockstar.h
|
|
|
|
+++ b/include/configs/dockstar.h
|
2017-03-15 06:37:48 +00:00
|
|
|
@@ -89,4 +89,6 @@
|
2014-02-15 23:53:07 +00:00
|
|
|
#define CONFIG_CMD_MTDPARTS
|
|
|
|
#define CONFIG_LZO
|
2017-01-22 13:43:51 +00:00
|
|
|
|
2014-02-15 23:53:07 +00:00
|
|
|
+#include "openwrt-kirkwood-common.h"
|
|
|
|
+
|
|
|
|
#endif /* _CONFIG_DOCKSTAR_H */
|
|
|
|
--- a/include/configs/ib62x0.h
|
|
|
|
+++ b/include/configs/ib62x0.h
|
2017-03-15 06:37:48 +00:00
|
|
|
@@ -99,4 +99,6 @@
|
2016-10-26 09:14:47 +00:00
|
|
|
#define CONFIG_RTC_MV
|
|
|
|
#endif /* CONFIG_CMD_DATE */
|
2017-01-22 13:43:51 +00:00
|
|
|
|
2014-02-15 23:53:07 +00:00
|
|
|
+#include "openwrt-kirkwood-common.h"
|
|
|
|
+
|
|
|
|
#endif /* _CONFIG_IB62x0_H */
|
|
|
|
--- a/include/configs/iconnect.h
|
|
|
|
+++ b/include/configs/iconnect.h
|
2017-03-15 06:37:48 +00:00
|
|
|
@@ -94,4 +94,6 @@
|
2014-02-15 23:53:07 +00:00
|
|
|
#define CONFIG_MTD_PARTITIONS
|
|
|
|
#define CONFIG_CMD_MTDPARTS
|
2017-01-22 13:43:51 +00:00
|
|
|
|
2014-02-15 23:53:07 +00:00
|
|
|
+#include "openwrt-kirkwood-common.h"
|
|
|
|
+
|
|
|
|
#endif /* _CONFIG_ICONNECT_H */
|
|
|
|
--- /dev/null
|
|
|
|
+++ b/include/configs/openwrt-kirkwood-common.h
|
2016-10-26 09:14:47 +00:00
|
|
|
@@ -0,0 +1,40 @@
|
2014-02-15 23:53:07 +00:00
|
|
|
+/*
|
|
|
|
+ * Copyright (C) 2013 Luka Perkov <luka@openwrt.org>
|
|
|
|
+ *
|
|
|
|
+ * SPDX-License-Identifier: GPL-2.0+
|
|
|
|
+ */
|
|
|
|
+
|
|
|
|
+#ifndef __OPENWRT_KIRKWOOD_COMMON_H
|
|
|
|
+#define __OPENWRT_KIRKWOOD_COMMON_H
|
|
|
|
+
|
|
|
|
+/* Commands */
|
|
|
|
+#define CONFIG_CMD_BOOTZ
|
|
|
|
+
|
|
|
|
+/* Ethernet */
|
|
|
|
+#if defined(CONFIG_CMD_NET)
|
|
|
|
+#define CONFIG_SERVERIP 192.168.1.2
|
|
|
|
+#define CONFIG_IPADDR 192.168.1.1
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
+/* second stage loader */
|
|
|
|
+#if defined(CONFIG_SECOND_STAGE)
|
|
|
|
+#undef CONFIG_ENV_IS_IN_NAND
|
|
|
|
+#undef CONFIG_ENV_SECT_SIZE
|
|
|
|
+#define CONFIG_ENV_IS_NOWHERE
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
+/* Flattened uImage Tree */
|
2016-10-26 09:14:47 +00:00
|
|
|
+#define CONFIG_FIT 1
|
|
|
|
+#define CONFIG_FIT_VERBOSE 1
|
2014-02-15 23:53:07 +00:00
|
|
|
+
|
|
|
|
+/* Various */
|
|
|
|
+#define CONFIG_BZIP2
|
|
|
|
+#define CONFIG_LZMA
|
|
|
|
+#define CONFIG_LZO
|
|
|
|
+
|
|
|
|
+/* Unnecessary */
|
|
|
|
+#undef CONFIG_BOOTM_NETBSD
|
|
|
|
+#undef CONFIG_BOOTM_PLAN9
|
|
|
|
+#undef CONFIG_BOOTM_RTEMS
|
|
|
|
+
|
|
|
|
+#endif /* __OPENWRT_KIRKWOOD_COMMON_H */
|
|
|
|
--- a/include/configs/pogo_e02.h
|
|
|
|
+++ b/include/configs/pogo_e02.h
|
2017-03-15 06:37:48 +00:00
|
|
|
@@ -93,4 +93,6 @@
|
2014-02-15 23:53:07 +00:00
|
|
|
#define CONFIG_CMD_MTDPARTS
|
|
|
|
#define CONFIG_LZO
|
2017-01-22 13:43:51 +00:00
|
|
|
|
2014-02-15 23:53:07 +00:00
|
|
|
+#include "openwrt-kirkwood-common.h"
|
|
|
|
+
|
|
|
|
#endif /* _CONFIG_POGO_E02_H */
|
|
|
|
--- a/include/configs/sheevaplug.h
|
|
|
|
+++ b/include/configs/sheevaplug.h
|
2017-03-15 06:37:48 +00:00
|
|
|
@@ -99,4 +99,6 @@
|
2016-10-26 09:14:47 +00:00
|
|
|
#define CONFIG_SYS_ATA_IDE1_OFFSET MV_SATA_PORT1_OFFSET
|
|
|
|
#endif /* CONFIG_CMD_IDE */
|
2017-01-22 13:43:51 +00:00
|
|
|
|
2014-02-15 23:53:07 +00:00
|
|
|
+#include "openwrt-kirkwood-common.h"
|
|
|
|
+
|
|
|
|
#endif /* _CONFIG_SHEEVAPLUG_H */
|
2016-03-14 17:06:17 +00:00
|
|
|
--- a/include/configs/goflexhome.h
|
|
|
|
+++ b/include/configs/goflexhome.h
|
2017-03-15 06:37:48 +00:00
|
|
|
@@ -112,4 +112,6 @@
|
2016-03-14 17:06:17 +00:00
|
|
|
#define CONFIG_RTC_MV
|
|
|
|
#endif /* CONFIG_CMD_DATE */
|
2017-01-22 13:43:51 +00:00
|
|
|
|
2016-03-14 17:06:17 +00:00
|
|
|
+#include "openwrt-kirkwood-common.h"
|
|
|
|
+
|
|
|
|
#endif /* _CONFIG_GOFLEXHOME_H */
|
2017-01-22 13:43:51 +00:00
|
|
|
--- a/include/configs/nsa310.h
|
|
|
|
+++ b/include/configs/nsa310.h
|
2017-03-15 06:37:48 +00:00
|
|
|
@@ -165,4 +165,6 @@
|
2017-01-22 13:43:51 +00:00
|
|
|
#define CONFIG_CMD_DNS
|
|
|
|
#endif /* CONFIG_CMD_DATE */
|
|
|
|
|
|
|
|
+#include "openwrt-kirkwood-common.h"
|
|
|
|
+
|
|
|
|
#endif /* _CONFIG_NSA310_H */
|