1 --- a/arch/arm/mach-kirkwood/Kconfig
2 +++ b/arch/arm/mach-kirkwood/Kconfig
3 @@ -107,4 +107,7 @@ source "board/alliedtelesis/SBx81LIFXCAT
4 source "board/Marvell/db-88f6281-bp/Kconfig"
5 source "board/checkpoint/l-50/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 */
38 --- a/include/configs/l-50.h
39 +++ b/include/configs/l-50.h
44 +#include "openwrt-kirkwood-common.h"
47 * High Level Configuration Options (easy to change)
50 +++ b/include/configs/openwrt-kirkwood-common.h
53 + * Copyright (C) 2013 Luka Perkov <luka@openwrt.org>
55 + * SPDX-License-Identifier: GPL-2.0+
58 +#ifndef __OPENWRT_KIRKWOOD_COMMON_H
59 +#define __OPENWRT_KIRKWOOD_COMMON_H
62 +#if defined(CONFIG_CMD_NET)
63 +#define CONFIG_SERVERIP 192.168.1.2
64 +#define CONFIG_IPADDR 192.168.1.1
67 +/* second stage loader */
68 +#if defined(CONFIG_SECOND_STAGE)
69 +#undef CONFIG_ENV_IS_IN_NAND
70 +#undef CONFIG_ENV_SECT_SIZE
71 +#define CONFIG_ENV_IS_NOWHERE
78 +#undef CONFIG_BOOTM_NETBSD
79 +#undef CONFIG_BOOTM_PLAN9
80 +#undef CONFIG_BOOTM_RTEMS
82 +#endif /* __OPENWRT_KIRKWOOD_COMMON_H */
83 --- a/include/configs/pogo_e02.h
84 +++ b/include/configs/pogo_e02.h
89 +#include "openwrt-kirkwood-common.h"
91 #endif /* _CONFIG_POGO_E02_H */
92 --- a/include/configs/goflexhome.h
93 +++ b/include/configs/goflexhome.h
95 #define CONFIG_SYS_ATA_IDE0_OFFSET MV_SATA_PORT0_OFFSET
96 #endif /*CONFIG_MVSATA_IDE*/
98 +#include "openwrt-kirkwood-common.h"
100 #endif /* _CONFIG_GOFLEXHOME_H */
101 --- a/include/configs/nsa310.h
102 +++ b/include/configs/nsa310.h
104 #define CONFIG_RTC_MV
105 #endif /* CONFIG_CMD_DATE */
107 +#include "openwrt-kirkwood-common.h"
109 #endif /* _CONFIG_NSA310_H */
110 --- a/configs/dockstar_defconfig
111 +++ b/configs/dockstar_defconfig
112 @@ -38,3 +38,8 @@ CONFIG_SYS_NS16550=y
114 CONFIG_USB_EHCI_HCD=y
118 +CONFIG_FIT_VERBOSE=y
121 --- a/configs/goflexhome_defconfig
122 +++ b/configs/goflexhome_defconfig
123 @@ -49,3 +49,8 @@ CONFIG_USB=y
125 CONFIG_USB_EHCI_HCD=y
129 +CONFIG_FIT_VERBOSE=y
132 --- a/configs/ib62x0_defconfig
133 +++ b/configs/ib62x0_defconfig
134 @@ -43,4 +43,7 @@ CONFIG_SYS_NS16550=y
136 CONFIG_USB_EHCI_HCD=y
139 +CONFIG_FIT_VERBOSE=y
142 --- a/configs/iconnect_defconfig
143 +++ b/configs/iconnect_defconfig
144 @@ -39,4 +39,8 @@ CONFIG_SYS_NS16550=y
146 CONFIG_USB_EHCI_HCD=y
150 +CONFIG_FIT_VERBOSE=y
153 --- a/configs/l-50_defconfig
154 +++ b/configs/l-50_defconfig
155 @@ -57,3 +57,8 @@ CONFIG_SYS_I2C_MVTWSI=y
157 CONFIG_USB_EHCI_HCD=y
161 +CONFIG_FIT_VERBOSE=y
164 --- a/configs/nsa310_defconfig
165 +++ b/configs/nsa310_defconfig
166 @@ -43,6 +43,9 @@ CONFIG_CMD_UBI=y
168 CONFIG_USB_EHCI_HCD=y
172 +CONFIG_FIT_VERBOSE=y
175 CONFIG_SYS_LONGHELP=y
176 --- a/configs/pogo_e02_defconfig
177 +++ b/configs/pogo_e02_defconfig
178 @@ -39,3 +39,8 @@ CONFIG_SYS_NS16550=y
180 CONFIG_USB_EHCI_HCD=y
184 +CONFIG_FIT_VERBOSE=y
187 --- a/configs/nsa310s_defconfig
188 +++ b/configs/nsa310s_defconfig
189 @@ -40,5 +40,8 @@ CONFIG_SYS_NS16550=y
191 CONFIG_USB_EHCI_HCD=y
194 +CONFIG_FIT_VERBOSE=y
198 --- a/include/configs/nsa310s.h
199 +++ b/include/configs/nsa310s.h
201 #define CONFIG_RTC_MV
202 #endif /* CONFIG_CMD_DATE */
204 +#include "openwrt-kirkwood-common.h"
206 #endif /* _CONFIG_NSA310S_H */
207 --- a/configs/sheevaplug_defconfig
208 +++ b/configs/sheevaplug_defconfig
209 @@ -49,4 +49,7 @@ CONFIG_USB=y
211 CONFIG_USB_EHCI_HCD=y
214 +CONFIG_FIT_VERBOSE=y