1 --- a/arch/arm/mach-kirkwood/Kconfig
2 +++ b/arch/arm/mach-kirkwood/Kconfig
3 @@ -103,4 +103,7 @@ source "board/alliedtelesis/SBx81LIFKW/K
4 source "board/alliedtelesis/SBx81LIFXCAT/Kconfig"
5 source "board/Marvell/db-88f6281-bp/Kconfig"
8 + bool "OpenWrt second stage hack"
11 --- a/include/configs/dockstar.h
12 +++ b/include/configs/dockstar.h
17 +#include "openwrt-kirkwood-common.h"
19 #endif /* _CONFIG_DOCKSTAR_H */
20 --- a/include/configs/ib62x0.h
21 +++ b/include/configs/ib62x0.h
24 #endif /* CONFIG_CMD_DATE */
26 +#include "openwrt-kirkwood-common.h"
28 #endif /* _CONFIG_IB62x0_H */
29 --- a/include/configs/iconnect.h
30 +++ b/include/configs/iconnect.h
35 +#include "openwrt-kirkwood-common.h"
37 #endif /* _CONFIG_ICONNECT_H */
39 +++ b/include/configs/openwrt-kirkwood-common.h
42 + * Copyright (C) 2013 Luka Perkov <luka@openwrt.org>
44 + * SPDX-License-Identifier: GPL-2.0+
47 +#ifndef __OPENWRT_KIRKWOOD_COMMON_H
48 +#define __OPENWRT_KIRKWOOD_COMMON_H
51 +#if defined(CONFIG_CMD_NET)
52 +#define CONFIG_SERVERIP 192.168.1.2
53 +#define CONFIG_IPADDR 192.168.1.1
56 +/* second stage loader */
57 +#if defined(CONFIG_SECOND_STAGE)
58 +#undef CONFIG_ENV_IS_IN_NAND
59 +#undef CONFIG_ENV_SECT_SIZE
60 +#define CONFIG_ENV_IS_NOWHERE
67 +#undef CONFIG_BOOTM_NETBSD
68 +#undef CONFIG_BOOTM_PLAN9
69 +#undef CONFIG_BOOTM_RTEMS
71 +#endif /* __OPENWRT_KIRKWOOD_COMMON_H */
72 --- a/include/configs/pogo_e02.h
73 +++ b/include/configs/pogo_e02.h
78 +#include "openwrt-kirkwood-common.h"
80 #endif /* _CONFIG_POGO_E02_H */
81 --- a/include/configs/goflexhome.h
82 +++ b/include/configs/goflexhome.h
84 #define CONFIG_SYS_ATA_IDE0_OFFSET MV_SATA_PORT0_OFFSET
85 #endif /*CONFIG_MVSATA_IDE*/
87 +#include "openwrt-kirkwood-common.h"
89 #endif /* _CONFIG_GOFLEXHOME_H */
90 --- a/include/configs/nsa310.h
91 +++ b/include/configs/nsa310.h
94 #endif /* CONFIG_CMD_DATE */
96 +#include "openwrt-kirkwood-common.h"
98 #endif /* _CONFIG_NSA310_H */
99 --- a/configs/dockstar_defconfig
100 +++ b/configs/dockstar_defconfig
101 @@ -38,3 +38,8 @@ CONFIG_SYS_NS16550=y
103 CONFIG_USB_EHCI_HCD=y
107 +CONFIG_FIT_VERBOSE=y
110 --- a/configs/goflexhome_defconfig
111 +++ b/configs/goflexhome_defconfig
112 @@ -49,3 +49,8 @@ CONFIG_USB=y
114 CONFIG_USB_EHCI_HCD=y
118 +CONFIG_FIT_VERBOSE=y
121 --- a/configs/ib62x0_defconfig
122 +++ b/configs/ib62x0_defconfig
123 @@ -43,4 +43,7 @@ CONFIG_SYS_NS16550=y
125 CONFIG_USB_EHCI_HCD=y
128 +CONFIG_FIT_VERBOSE=y
131 --- a/configs/iconnect_defconfig
132 +++ b/configs/iconnect_defconfig
133 @@ -39,4 +39,8 @@ CONFIG_SYS_NS16550=y
135 CONFIG_USB_EHCI_HCD=y
139 +CONFIG_FIT_VERBOSE=y
142 --- a/configs/nsa310_defconfig
143 +++ b/configs/nsa310_defconfig
144 @@ -43,6 +43,9 @@ CONFIG_CMD_UBI=y
146 CONFIG_USB_EHCI_HCD=y
150 +CONFIG_FIT_VERBOSE=y
153 CONFIG_SYS_LONGHELP=y
154 --- a/configs/pogo_e02_defconfig
155 +++ b/configs/pogo_e02_defconfig
156 @@ -39,3 +39,8 @@ CONFIG_SYS_NS16550=y
158 CONFIG_USB_EHCI_HCD=y
162 +CONFIG_FIT_VERBOSE=y
165 --- a/configs/nsa310s_defconfig
166 +++ b/configs/nsa310s_defconfig
167 @@ -40,5 +40,8 @@ CONFIG_SYS_NS16550=y
169 CONFIG_USB_EHCI_HCD=y
172 +CONFIG_FIT_VERBOSE=y
176 --- a/include/configs/nsa310s.h
177 +++ b/include/configs/nsa310s.h
179 #define CONFIG_RTC_MV
180 #endif /* CONFIG_CMD_DATE */
182 +#include "openwrt-kirkwood-common.h"
184 #endif /* _CONFIG_NSA310S_H */