linux/3.{2,3}: even more NAND symbols
[openwrt.git] / target / linux / generic / patches-2.6.31 / 021-mips_image_cmdline_hack.patch
1 --- a/arch/mips/Kconfig
2 +++ b/arch/mips/Kconfig
3 @@ -840,6 +840,10 @@ config SYNC_R4K
4 config MIPS_MACHINE
5 def_bool n
6
7 +config IMAGE_CMDLINE_HACK
8 + bool "OpenWrt specific image command line hack"
9 + default n
10 +
11 config NO_IOPORT
12 def_bool n
13
14 --- a/arch/mips/kernel/head.S
15 +++ b/arch/mips/kernel/head.S
16 @@ -143,6 +143,12 @@ FEXPORT(__kernel_entry)
17 j kernel_entry
18 #endif
19
20 +#ifdef CONFIG_IMAGE_CMDLINE_HACK
21 + .ascii "CMDLINE:"
22 +EXPORT(__image_cmdline)
23 + .fill 0x400
24 +#endif /* CONFIG_IMAGE_CMDLINE_HACK */
25 +
26 __REF
27
28 NESTED(kernel_entry, 16, sp) # kernel entry point
This page took 0.061956 seconds and 5 git commands to generate.