bcm963xx: fix load address / kernel entry
[openwrt.git] / target / linux / amazon / patches / 100-board.patch
1 diff -urN linux.old/arch/mips/Kconfig linux.dev/arch/mips/Kconfig
2 --- linux.old/arch/mips/Kconfig 2007-02-02 23:55:52.912446784 +0100
3 +++ linux.dev/arch/mips/Kconfig 2007-02-03 21:50:25.262027104 +0100
4 @@ -145,6 +145,17 @@
5 note that a kernel built with this option selected will not be
6 able to run on normal units.
7
8 +config AMAZON
9 + bool "Amazon support (EXPERIMENTAL)"
10 + depends on EXPERIMENTAL
11 + select DMA_NONCOHERENT
12 + select IRQ_CPU
13 + select SYS_HAS_CPU_MIPS32_R1
14 + select HAVE_STD_PC_SERIAL_PORT
15 + select SYS_SUPPORTS_BIG_ENDIAN
16 + select SYS_SUPPORTS_32BIT_KERNEL
17 + select SYS_HAS_EARLY_PRINTK
18 +
19 config MIPS_COBALT
20 bool "Cobalt Server"
21 select DMA_NONCOHERENT
22 @@ -766,6 +776,7 @@
23
24 endchoice
25
26 +source "arch/mips/amazon/Kconfig"
27 source "arch/mips/ddb5xxx/Kconfig"
28 source "arch/mips/gt64120/ev64120/Kconfig"
29 source "arch/mips/jazz/Kconfig"
30 diff -urN linux.old/arch/mips/Makefile linux.dev/arch/mips/Makefile
31 --- linux.old/arch/mips/Makefile 2007-02-02 23:55:52.913446632 +0100
32 +++ linux.dev/arch/mips/Makefile 2007-02-03 17:40:29.193776000 +0100
33 @@ -267,6 +267,13 @@
34 load-$(CONFIG_MIPS_XXS1500) += 0xffffffff80100000
35
36 #
37 +# Infineon AMAZON
38 +#
39 +core-$(CONFIG_AMAZON) += arch/mips/amazon/
40 +cflags-$(CONFIG_AMAZON) += -Iinclude/asm-mips/mach-amazon
41 +load-$(CONFIG_AMAZON) += 0xffffffff80002000
42 +
43 +#
44 # Cobalt Server
45 #
46 core-$(CONFIG_MIPS_COBALT) += arch/mips/cobalt/
47 diff -urN linux.old/include/asm-mips/bootinfo.h linux.dev/include/asm-mips/bootinfo.h
48 --- linux.old/include/asm-mips/bootinfo.h 2007-02-02 23:55:52.913446632 +0100
49 +++ linux.dev/include/asm-mips/bootinfo.h 2007-02-03 17:51:02.531494032 +0100
50 @@ -212,6 +212,12 @@
51 #define MACH_GROUP_NEC_EMMA2RH 25 /* NEC EMMA2RH (was 23) */
52 #define MACH_NEC_MARKEINS 0 /* NEC EMMA2RH Mark-eins */
53
54 +/*
55 + * Valid machtype for group ATHEROS
56 + */
57 +#define MACH_GROUP_INFINEON 27
58 +#define MACH_INFINEON_AMAZON 0
59 +
60 #define CL_SIZE COMMAND_LINE_SIZE
61
62 const char *get_system_type(void);
63
This page took 0.050618 seconds and 5 git commands to generate.