diff options
Diffstat (limited to 'arch/m68knommu')
-rw-r--r-- | arch/m68knommu/Kconfig | 53 | ||||
-rw-r--r-- | arch/m68knommu/Makefile | 24 | ||||
-rw-r--r-- | arch/m68knommu/defconfig | 207 | ||||
-rw-r--r-- | arch/m68knommu/kernel/comempci.c | 3 | ||||
-rw-r--r-- | arch/m68knommu/kernel/vmlinux.lds.S | 66 | ||||
-rw-r--r-- | arch/m68knommu/platform/68328/Makefile | 1 | ||||
-rw-r--r-- | arch/m68knommu/platform/68328/head-rom.S | 18 | ||||
-rw-r--r-- | arch/m68knommu/platform/68328/ints.c | 20 | ||||
-rw-r--r-- | arch/m68knommu/platform/68328/romvec.S | 37 | ||||
-rw-r--r-- | arch/m68knommu/platform/68360/config.c | 14 | ||||
-rw-r--r-- | arch/m68knommu/platform/68360/head-ram.S | 19 | ||||
-rw-r--r-- | arch/m68knommu/platform/68360/head-rom.S | 17 | ||||
-rw-r--r-- | arch/m68knommu/platform/68360/ints.c | 1 | ||||
-rw-r--r-- | arch/m68knommu/platform/68EZ328/config.c | 14 | ||||
-rw-r--r-- | arch/m68knommu/platform/68VZ328/config.c | 14 |
15 files changed, 292 insertions, 216 deletions
diff --git a/arch/m68knommu/Kconfig b/arch/m68knommu/Kconfig index 8b6e723eb82b..e767f2ddae72 100644 --- a/arch/m68knommu/Kconfig +++ b/arch/m68knommu/Kconfig | |||
@@ -540,6 +540,59 @@ config RAM32BIT | |||
540 | 540 | ||
541 | endchoice | 541 | endchoice |
542 | 542 | ||
543 | comment "ROM configuration" | ||
544 | |||
545 | config ROM | ||
546 | bool "Specify ROM linker regions" | ||
547 | default n | ||
548 | help | ||
549 | Define a ROM region for the linker script. This creates a kernel | ||
550 | that can be stored in flash, with possibly the text, and data | ||
551 | regions being copied out to RAM at startup. | ||
552 | |||
553 | config ROMBASE | ||
554 | hex "Address of the base of ROM device" | ||
555 | default "0" | ||
556 | depends on ROM | ||
557 | help | ||
558 | Define the address that the ROM region starts at. Some platforms | ||
559 | use this to set their chip select region accordingly for the boot | ||
560 | device. | ||
561 | |||
562 | config ROMVEC | ||
563 | hex "Address of the base of the ROM vectors" | ||
564 | default "0" | ||
565 | depends on ROM | ||
566 | help | ||
567 | This is almost always the same as the base of the ROM. Since on all | ||
568 | 68000 type varients the vectors are at the base of the boot device | ||
569 | on system startup. | ||
570 | |||
571 | config ROMVECSIZE | ||
572 | hex "Size of ROM vector region (in bytes)" | ||
573 | default "0x400" | ||
574 | depends on ROM | ||
575 | help | ||
576 | Define the size of the vector region in ROM. For most 68000 | ||
577 | varients this would be 0x400 bytes in size. Set to 0 if you do | ||
578 | not want a vector region at the start of the ROM. | ||
579 | |||
580 | config ROMSTART | ||
581 | hex "Address of the base of system image in ROM" | ||
582 | default "0x400" | ||
583 | depends on ROM | ||
584 | help | ||
585 | Define the start address of the system image in ROM. Commonly this | ||
586 | is strait after the ROM vectors. | ||
587 | |||
588 | config ROMSIZE | ||
589 | hex "Size of the ROM device" | ||
590 | default "0x100000" | ||
591 | depends on ROM | ||
592 | help | ||
593 | Size of the ROM device. On some platforms this is used to setup | ||
594 | the chip select that controls the boot ROM device. | ||
595 | |||
543 | choice | 596 | choice |
544 | prompt "Kernel executes from" | 597 | prompt "Kernel executes from" |
545 | ---help--- | 598 | ---help--- |
diff --git a/arch/m68knommu/Makefile b/arch/m68knommu/Makefile index 6f880cbff1c8..8951793fd8d4 100644 --- a/arch/m68knommu/Makefile +++ b/arch/m68knommu/Makefile | |||
@@ -21,6 +21,7 @@ platform-$(CONFIG_M527x) := 527x | |||
21 | platform-$(CONFIG_M5272) := 5272 | 21 | platform-$(CONFIG_M5272) := 5272 |
22 | platform-$(CONFIG_M528x) := 528x | 22 | platform-$(CONFIG_M528x) := 528x |
23 | platform-$(CONFIG_M5307) := 5307 | 23 | platform-$(CONFIG_M5307) := 5307 |
24 | platform-$(CONFIG_M532x) := 532x | ||
24 | platform-$(CONFIG_M5407) := 5407 | 25 | platform-$(CONFIG_M5407) := 5407 |
25 | PLATFORM := $(platform-y) | 26 | PLATFORM := $(platform-y) |
26 | 27 | ||
@@ -44,6 +45,7 @@ board-$(CONFIG_senTec) := senTec | |||
44 | board-$(CONFIG_SNEHA) := SNEHA | 45 | board-$(CONFIG_SNEHA) := SNEHA |
45 | board-$(CONFIG_M5208EVB) := M5208EVB | 46 | board-$(CONFIG_M5208EVB) := M5208EVB |
46 | board-$(CONFIG_MOD5272) := MOD5272 | 47 | board-$(CONFIG_MOD5272) := MOD5272 |
48 | board-$(CONFIG_AVNET) := AVNET | ||
47 | BOARD := $(board-y) | 49 | BOARD := $(board-y) |
48 | 50 | ||
49 | model-$(CONFIG_RAMKERNEL) := ram | 51 | model-$(CONFIG_RAMKERNEL) := ram |
@@ -65,6 +67,7 @@ cpuclass-$(CONFIG_M527x) := 5307 | |||
65 | cpuclass-$(CONFIG_M5272) := 5307 | 67 | cpuclass-$(CONFIG_M5272) := 5307 |
66 | cpuclass-$(CONFIG_M528x) := 5307 | 68 | cpuclass-$(CONFIG_M528x) := 5307 |
67 | cpuclass-$(CONFIG_M5307) := 5307 | 69 | cpuclass-$(CONFIG_M5307) := 5307 |
70 | cpuclass-$(CONFIG_M532x) := 5307 | ||
68 | cpuclass-$(CONFIG_M5407) := 5307 | 71 | cpuclass-$(CONFIG_M5407) := 5307 |
69 | cpuclass-$(CONFIG_M68328) := 68328 | 72 | cpuclass-$(CONFIG_M68328) := 68328 |
70 | cpuclass-$(CONFIG_M68EZ328) := 68328 | 73 | cpuclass-$(CONFIG_M68EZ328) := 68328 |
@@ -81,16 +84,17 @@ export PLATFORM BOARD MODEL CPUCLASS | |||
81 | # | 84 | # |
82 | # Some CFLAG additions based on specific CPU type. | 85 | # Some CFLAG additions based on specific CPU type. |
83 | # | 86 | # |
84 | cflags-$(CONFIG_M5206) := -m5200 -Wa,-S -Wa,-m5200 | 87 | cflags-$(CONFIG_M5206) := -m5200 |
85 | cflags-$(CONFIG_M5206e) := -m5200 -Wa,-S -Wa,-m5200 | 88 | cflags-$(CONFIG_M5206e) := -m5200 |
86 | cflags-$(CONFIG_M520x) := -m5307 -Wa,-S -Wa,-m5307 | 89 | cflags-$(CONFIG_M520x) := -m5307 |
87 | cflags-$(CONFIG_M523x) := -m5307 -Wa,-S -Wa,-m5307 | 90 | cflags-$(CONFIG_M523x) := -m5307 |
88 | cflags-$(CONFIG_M5249) := -m5200 -Wa,-S -Wa,-m5200 | 91 | cflags-$(CONFIG_M5249) := -m5200 |
89 | cflags-$(CONFIG_M527x) := -m5307 -Wa,-S -Wa,-m5307 | 92 | cflags-$(CONFIG_M527x) := -m5307 |
90 | cflags-$(CONFIG_M5272) := -m5307 -Wa,-S -Wa,-m5307 | 93 | cflags-$(CONFIG_M5272) := -m5307 |
91 | cflags-$(CONFIG_M528x) := -m5307 -Wa,-S -Wa,-m5307 | 94 | cflags-$(CONFIG_M528x) := -m5307 |
92 | cflags-$(CONFIG_M5307) := -m5307 -Wa,-S -Wa,-m5307 | 95 | cflags-$(CONFIG_M5307) := -m5307 |
93 | cflags-$(CONFIG_M5407) := -m5200 -Wa,-S -Wa,-m5200 | 96 | cflags-$(CONFIG_M532x) := -m5307 |
97 | cflags-$(CONFIG_M5407) := -m5200 | ||
94 | cflags-$(CONFIG_M68328) := -m68000 | 98 | cflags-$(CONFIG_M68328) := -m68000 |
95 | cflags-$(CONFIG_M68EZ328) := -m68000 | 99 | cflags-$(CONFIG_M68EZ328) := -m68000 |
96 | cflags-$(CONFIG_M68VZ328) := -m68000 | 100 | cflags-$(CONFIG_M68VZ328) := -m68000 |
diff --git a/arch/m68knommu/defconfig b/arch/m68knommu/defconfig index 2d59ba1a79ba..3891de09ac23 100644 --- a/arch/m68knommu/defconfig +++ b/arch/m68knommu/defconfig | |||
@@ -1,21 +1,22 @@ | |||
1 | # | 1 | # |
2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
3 | # Linux kernel version: 2.6.13-uc0 | 3 | # Linux kernel version: 2.6.17 |
4 | # Wed Aug 31 15:03:26 2005 | 4 | # Tue Jun 27 12:57:06 2006 |
5 | # | 5 | # |
6 | CONFIG_M68KNOMMU=y | 6 | CONFIG_M68K=y |
7 | # CONFIG_MMU is not set | 7 | # CONFIG_MMU is not set |
8 | # CONFIG_FPU is not set | 8 | # CONFIG_FPU is not set |
9 | CONFIG_UID16=y | ||
10 | CONFIG_RWSEM_GENERIC_SPINLOCK=y | 9 | CONFIG_RWSEM_GENERIC_SPINLOCK=y |
11 | # CONFIG_RWSEM_XCHGADD_ALGORITHM is not set | 10 | # CONFIG_RWSEM_XCHGADD_ALGORITHM is not set |
11 | CONFIG_GENERIC_FIND_NEXT_BIT=y | ||
12 | CONFIG_GENERIC_HWEIGHT=y | ||
12 | CONFIG_GENERIC_CALIBRATE_DELAY=y | 13 | CONFIG_GENERIC_CALIBRATE_DELAY=y |
14 | CONFIG_TIME_LOW_RES=y | ||
13 | 15 | ||
14 | # | 16 | # |
15 | # Code maturity level options | 17 | # Code maturity level options |
16 | # | 18 | # |
17 | CONFIG_EXPERIMENTAL=y | 19 | CONFIG_EXPERIMENTAL=y |
18 | CONFIG_CLEAN_COMPILE=y | ||
19 | CONFIG_BROKEN_ON_SMP=y | 20 | CONFIG_BROKEN_ON_SMP=y |
20 | CONFIG_INIT_ENV_ARG_LIMIT=32 | 21 | CONFIG_INIT_ENV_ARG_LIMIT=32 |
21 | 22 | ||
@@ -23,26 +24,30 @@ CONFIG_INIT_ENV_ARG_LIMIT=32 | |||
23 | # General setup | 24 | # General setup |
24 | # | 25 | # |
25 | CONFIG_LOCALVERSION="" | 26 | CONFIG_LOCALVERSION="" |
27 | CONFIG_LOCALVERSION_AUTO=y | ||
28 | # CONFIG_SYSVIPC is not set | ||
26 | # CONFIG_POSIX_MQUEUE is not set | 29 | # CONFIG_POSIX_MQUEUE is not set |
27 | # CONFIG_BSD_PROCESS_ACCT is not set | 30 | # CONFIG_BSD_PROCESS_ACCT is not set |
28 | # CONFIG_SYSCTL is not set | 31 | # CONFIG_SYSCTL is not set |
29 | # CONFIG_AUDIT is not set | 32 | # CONFIG_AUDIT is not set |
30 | # CONFIG_HOTPLUG is not set | ||
31 | # CONFIG_KOBJECT_UEVENT is not set | ||
32 | # CONFIG_IKCONFIG is not set | 33 | # CONFIG_IKCONFIG is not set |
34 | # CONFIG_RELAY is not set | ||
35 | CONFIG_INITRAMFS_SOURCE="" | ||
36 | CONFIG_UID16=y | ||
37 | # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set | ||
33 | CONFIG_EMBEDDED=y | 38 | CONFIG_EMBEDDED=y |
34 | # CONFIG_KALLSYMS is not set | 39 | # CONFIG_KALLSYMS is not set |
40 | # CONFIG_HOTPLUG is not set | ||
35 | CONFIG_PRINTK=y | 41 | CONFIG_PRINTK=y |
36 | CONFIG_BUG=y | 42 | CONFIG_BUG=y |
43 | CONFIG_ELF_CORE=y | ||
37 | CONFIG_BASE_FULL=y | 44 | CONFIG_BASE_FULL=y |
38 | # CONFIG_FUTEX is not set | 45 | # CONFIG_FUTEX is not set |
39 | # CONFIG_EPOLL is not set | 46 | # CONFIG_EPOLL is not set |
40 | # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set | 47 | CONFIG_SLAB=y |
41 | CONFIG_CC_ALIGN_FUNCTIONS=0 | 48 | CONFIG_TINY_SHMEM=y |
42 | CONFIG_CC_ALIGN_LABELS=0 | ||
43 | CONFIG_CC_ALIGN_LOOPS=0 | ||
44 | CONFIG_CC_ALIGN_JUMPS=0 | ||
45 | CONFIG_BASE_SMALL=0 | 49 | CONFIG_BASE_SMALL=0 |
50 | # CONFIG_SLOB is not set | ||
46 | 51 | ||
47 | # | 52 | # |
48 | # Loadable module support | 53 | # Loadable module support |
@@ -50,6 +55,24 @@ CONFIG_BASE_SMALL=0 | |||
50 | # CONFIG_MODULES is not set | 55 | # CONFIG_MODULES is not set |
51 | 56 | ||
52 | # | 57 | # |
58 | # Block layer | ||
59 | # | ||
60 | # CONFIG_BLK_DEV_IO_TRACE is not set | ||
61 | |||
62 | # | ||
63 | # IO Schedulers | ||
64 | # | ||
65 | CONFIG_IOSCHED_NOOP=y | ||
66 | # CONFIG_IOSCHED_AS is not set | ||
67 | # CONFIG_IOSCHED_DEADLINE is not set | ||
68 | # CONFIG_IOSCHED_CFQ is not set | ||
69 | # CONFIG_DEFAULT_AS is not set | ||
70 | # CONFIG_DEFAULT_DEADLINE is not set | ||
71 | # CONFIG_DEFAULT_CFQ is not set | ||
72 | CONFIG_DEFAULT_NOOP=y | ||
73 | CONFIG_DEFAULT_IOSCHED="noop" | ||
74 | |||
75 | # | ||
53 | # Processor type and features | 76 | # Processor type and features |
54 | # | 77 | # |
55 | # CONFIG_M68328 is not set | 78 | # CONFIG_M68328 is not set |
@@ -58,6 +81,7 @@ CONFIG_BASE_SMALL=0 | |||
58 | # CONFIG_M68360 is not set | 81 | # CONFIG_M68360 is not set |
59 | # CONFIG_M5206 is not set | 82 | # CONFIG_M5206 is not set |
60 | # CONFIG_M5206e is not set | 83 | # CONFIG_M5206e is not set |
84 | # CONFIG_M520x is not set | ||
61 | # CONFIG_M523x is not set | 85 | # CONFIG_M523x is not set |
62 | # CONFIG_M5249 is not set | 86 | # CONFIG_M5249 is not set |
63 | # CONFIG_M5271 is not set | 87 | # CONFIG_M5271 is not set |
@@ -65,29 +89,12 @@ CONFIG_M5272=y | |||
65 | # CONFIG_M5275 is not set | 89 | # CONFIG_M5275 is not set |
66 | # CONFIG_M528x is not set | 90 | # CONFIG_M528x is not set |
67 | # CONFIG_M5307 is not set | 91 | # CONFIG_M5307 is not set |
92 | # CONFIG_M532x is not set | ||
68 | # CONFIG_M5407 is not set | 93 | # CONFIG_M5407 is not set |
69 | CONFIG_COLDFIRE=y | 94 | CONFIG_COLDFIRE=y |
70 | # CONFIG_CLOCK_AUTO is not set | 95 | CONFIG_CLOCK_SET=y |
71 | # CONFIG_CLOCK_11MHz is not set | 96 | CONFIG_CLOCK_FREQ=66666666 |
72 | # CONFIG_CLOCK_16MHz is not set | 97 | CONFIG_CLOCK_DIV=1 |
73 | # CONFIG_CLOCK_20MHz is not set | ||
74 | # CONFIG_CLOCK_24MHz is not set | ||
75 | # CONFIG_CLOCK_25MHz is not set | ||
76 | # CONFIG_CLOCK_33MHz is not set | ||
77 | # CONFIG_CLOCK_40MHz is not set | ||
78 | # CONFIG_CLOCK_45MHz is not set | ||
79 | # CONFIG_CLOCK_48MHz is not set | ||
80 | # CONFIG_CLOCK_50MHz is not set | ||
81 | # CONFIG_CLOCK_54MHz is not set | ||
82 | # CONFIG_CLOCK_60MHz is not set | ||
83 | # CONFIG_CLOCK_62_5MHz is not set | ||
84 | # CONFIG_CLOCK_64MHz is not set | ||
85 | CONFIG_CLOCK_66MHz=y | ||
86 | # CONFIG_CLOCK_70MHz is not set | ||
87 | # CONFIG_CLOCK_100MHz is not set | ||
88 | # CONFIG_CLOCK_140MHz is not set | ||
89 | # CONFIG_CLOCK_150MHz is not set | ||
90 | # CONFIG_CLOCK_166MHz is not set | ||
91 | 98 | ||
92 | # | 99 | # |
93 | # Platform | 100 | # Platform |
@@ -102,11 +109,14 @@ CONFIG_M5272C3=y | |||
102 | CONFIG_FREESCALE=y | 109 | CONFIG_FREESCALE=y |
103 | # CONFIG_LARGE_ALLOCS is not set | 110 | # CONFIG_LARGE_ALLOCS is not set |
104 | CONFIG_4KSTACKS=y | 111 | CONFIG_4KSTACKS=y |
105 | CONFIG_RAMAUTO=y | 112 | |
106 | # CONFIG_RAM4MB is not set | 113 | # |
107 | # CONFIG_RAM8MB is not set | 114 | # RAM configuration |
108 | # CONFIG_RAM16MB is not set | 115 | # |
109 | # CONFIG_RAM32MB is not set | 116 | CONFIG_RAMBASE=0x0 |
117 | CONFIG_RAMSIZE=0x800000 | ||
118 | CONFIG_VECTORBASE=0x0 | ||
119 | CONFIG_KERNELBASE=0x20000 | ||
110 | CONFIG_RAMAUTOBIT=y | 120 | CONFIG_RAMAUTOBIT=y |
111 | # CONFIG_RAM8BIT is not set | 121 | # CONFIG_RAM8BIT is not set |
112 | # CONFIG_RAM16BIT is not set | 122 | # CONFIG_RAM16BIT is not set |
@@ -119,6 +129,8 @@ CONFIG_FLATMEM_MANUAL=y | |||
119 | # CONFIG_SPARSEMEM_MANUAL is not set | 129 | # CONFIG_SPARSEMEM_MANUAL is not set |
120 | CONFIG_FLATMEM=y | 130 | CONFIG_FLATMEM=y |
121 | CONFIG_FLAT_NODE_MEM_MAP=y | 131 | CONFIG_FLAT_NODE_MEM_MAP=y |
132 | # CONFIG_SPARSEMEM_STATIC is not set | ||
133 | CONFIG_SPLIT_PTLOCK_CPUS=4 | ||
122 | 134 | ||
123 | # | 135 | # |
124 | # Bus options (PCI, PCMCIA, EISA, MCA, ISA) | 136 | # Bus options (PCI, PCMCIA, EISA, MCA, ISA) |
@@ -140,6 +152,7 @@ CONFIG_FLAT_NODE_MEM_MAP=y | |||
140 | CONFIG_BINFMT_FLAT=y | 152 | CONFIG_BINFMT_FLAT=y |
141 | # CONFIG_BINFMT_ZFLAT is not set | 153 | # CONFIG_BINFMT_ZFLAT is not set |
142 | # CONFIG_BINFMT_SHARED_FLAT is not set | 154 | # CONFIG_BINFMT_SHARED_FLAT is not set |
155 | # CONFIG_BINFMT_AOUT is not set | ||
143 | # CONFIG_BINFMT_MISC is not set | 156 | # CONFIG_BINFMT_MISC is not set |
144 | 157 | ||
145 | # | 158 | # |
@@ -155,6 +168,7 @@ CONFIG_NET=y | |||
155 | # | 168 | # |
156 | # Networking options | 169 | # Networking options |
157 | # | 170 | # |
171 | # CONFIG_NETDEBUG is not set | ||
158 | CONFIG_PACKET=y | 172 | CONFIG_PACKET=y |
159 | # CONFIG_PACKET_MMAP is not set | 173 | # CONFIG_PACKET_MMAP is not set |
160 | CONFIG_UNIX=y | 174 | CONFIG_UNIX=y |
@@ -171,18 +185,30 @@ CONFIG_IP_FIB_HASH=y | |||
171 | # CONFIG_INET_AH is not set | 185 | # CONFIG_INET_AH is not set |
172 | # CONFIG_INET_ESP is not set | 186 | # CONFIG_INET_ESP is not set |
173 | # CONFIG_INET_IPCOMP is not set | 187 | # CONFIG_INET_IPCOMP is not set |
188 | # CONFIG_INET_XFRM_TUNNEL is not set | ||
174 | # CONFIG_INET_TUNNEL is not set | 189 | # CONFIG_INET_TUNNEL is not set |
175 | # CONFIG_IP_TCPDIAG is not set | 190 | # CONFIG_INET_DIAG is not set |
176 | # CONFIG_IP_TCPDIAG_IPV6 is not set | ||
177 | # CONFIG_TCP_CONG_ADVANCED is not set | 191 | # CONFIG_TCP_CONG_ADVANCED is not set |
178 | CONFIG_TCP_CONG_BIC=y | 192 | CONFIG_TCP_CONG_BIC=y |
179 | # CONFIG_IPV6 is not set | 193 | # CONFIG_IPV6 is not set |
194 | # CONFIG_INET6_XFRM_TUNNEL is not set | ||
195 | # CONFIG_INET6_TUNNEL is not set | ||
180 | # CONFIG_NETFILTER is not set | 196 | # CONFIG_NETFILTER is not set |
181 | 197 | ||
182 | # | 198 | # |
199 | # DCCP Configuration (EXPERIMENTAL) | ||
200 | # | ||
201 | # CONFIG_IP_DCCP is not set | ||
202 | |||
203 | # | ||
183 | # SCTP Configuration (EXPERIMENTAL) | 204 | # SCTP Configuration (EXPERIMENTAL) |
184 | # | 205 | # |
185 | # CONFIG_IP_SCTP is not set | 206 | # CONFIG_IP_SCTP is not set |
207 | |||
208 | # | ||
209 | # TIPC Configuration (EXPERIMENTAL) | ||
210 | # | ||
211 | # CONFIG_TIPC is not set | ||
186 | # CONFIG_ATM is not set | 212 | # CONFIG_ATM is not set |
187 | # CONFIG_BRIDGE is not set | 213 | # CONFIG_BRIDGE is not set |
188 | # CONFIG_VLAN_8021Q is not set | 214 | # CONFIG_VLAN_8021Q is not set |
@@ -195,8 +221,11 @@ CONFIG_TCP_CONG_BIC=y | |||
195 | # CONFIG_NET_DIVERT is not set | 221 | # CONFIG_NET_DIVERT is not set |
196 | # CONFIG_ECONET is not set | 222 | # CONFIG_ECONET is not set |
197 | # CONFIG_WAN_ROUTER is not set | 223 | # CONFIG_WAN_ROUTER is not set |
224 | |||
225 | # | ||
226 | # QoS and/or fair queueing | ||
227 | # | ||
198 | # CONFIG_NET_SCHED is not set | 228 | # CONFIG_NET_SCHED is not set |
199 | # CONFIG_NET_CLS_ROUTE is not set | ||
200 | 229 | ||
201 | # | 230 | # |
202 | # Network testing | 231 | # Network testing |
@@ -205,6 +234,7 @@ CONFIG_TCP_CONG_BIC=y | |||
205 | # CONFIG_HAMRADIO is not set | 234 | # CONFIG_HAMRADIO is not set |
206 | # CONFIG_IRDA is not set | 235 | # CONFIG_IRDA is not set |
207 | # CONFIG_BT is not set | 236 | # CONFIG_BT is not set |
237 | # CONFIG_IEEE80211 is not set | ||
208 | 238 | ||
209 | # | 239 | # |
210 | # Device Drivers | 240 | # Device Drivers |
@@ -218,6 +248,11 @@ CONFIG_PREVENT_FIRMWARE_BUILD=y | |||
218 | # CONFIG_FW_LOADER is not set | 248 | # CONFIG_FW_LOADER is not set |
219 | 249 | ||
220 | # | 250 | # |
251 | # Connector - unified userspace <-> kernelspace linker | ||
252 | # | ||
253 | # CONFIG_CONNECTOR is not set | ||
254 | |||
255 | # | ||
221 | # Memory Technology Devices (MTD) | 256 | # Memory Technology Devices (MTD) |
222 | # | 257 | # |
223 | CONFIG_MTD=y | 258 | CONFIG_MTD=y |
@@ -235,6 +270,7 @@ CONFIG_MTD_BLOCK=y | |||
235 | # CONFIG_FTL is not set | 270 | # CONFIG_FTL is not set |
236 | # CONFIG_NFTL is not set | 271 | # CONFIG_NFTL is not set |
237 | # CONFIG_INFTL is not set | 272 | # CONFIG_INFTL is not set |
273 | # CONFIG_RFD_FTL is not set | ||
238 | 274 | ||
239 | # | 275 | # |
240 | # RAM/ROM/Flash chip drivers | 276 | # RAM/ROM/Flash chip drivers |
@@ -254,13 +290,13 @@ CONFIG_MTD_CFI_I2=y | |||
254 | CONFIG_MTD_RAM=y | 290 | CONFIG_MTD_RAM=y |
255 | # CONFIG_MTD_ROM is not set | 291 | # CONFIG_MTD_ROM is not set |
256 | # CONFIG_MTD_ABSENT is not set | 292 | # CONFIG_MTD_ABSENT is not set |
293 | # CONFIG_MTD_OBSOLETE_CHIPS is not set | ||
257 | 294 | ||
258 | # | 295 | # |
259 | # Mapping drivers for chip access | 296 | # Mapping drivers for chip access |
260 | # | 297 | # |
261 | # CONFIG_MTD_COMPLEX_MAPPINGS is not set | 298 | # CONFIG_MTD_COMPLEX_MAPPINGS is not set |
262 | CONFIG_MTD_UCLINUX=y | 299 | CONFIG_MTD_UCLINUX=y |
263 | # CONFIG_MTD_SNAPGEARuC is not set | ||
264 | # CONFIG_MTD_PLATRAM is not set | 300 | # CONFIG_MTD_PLATRAM is not set |
265 | 301 | ||
266 | # | 302 | # |
@@ -269,7 +305,6 @@ CONFIG_MTD_UCLINUX=y | |||
269 | # CONFIG_MTD_SLRAM is not set | 305 | # CONFIG_MTD_SLRAM is not set |
270 | # CONFIG_MTD_PHRAM is not set | 306 | # CONFIG_MTD_PHRAM is not set |
271 | # CONFIG_MTD_MTDRAM is not set | 307 | # CONFIG_MTD_MTDRAM is not set |
272 | # CONFIG_MTD_BLKMTD is not set | ||
273 | # CONFIG_MTD_BLOCK2MTD is not set | 308 | # CONFIG_MTD_BLOCK2MTD is not set |
274 | 309 | ||
275 | # | 310 | # |
@@ -285,6 +320,11 @@ CONFIG_MTD_UCLINUX=y | |||
285 | # CONFIG_MTD_NAND is not set | 320 | # CONFIG_MTD_NAND is not set |
286 | 321 | ||
287 | # | 322 | # |
323 | # OneNAND Flash Device Drivers | ||
324 | # | ||
325 | # CONFIG_MTD_ONENAND is not set | ||
326 | |||
327 | # | ||
288 | # Parallel port support | 328 | # Parallel port support |
289 | # | 329 | # |
290 | # CONFIG_PARPORT is not set | 330 | # CONFIG_PARPORT is not set |
@@ -296,7 +336,6 @@ CONFIG_MTD_UCLINUX=y | |||
296 | # | 336 | # |
297 | # Block devices | 337 | # Block devices |
298 | # | 338 | # |
299 | # CONFIG_BLK_DEV_FD is not set | ||
300 | # CONFIG_BLK_DEV_COW_COMMON is not set | 339 | # CONFIG_BLK_DEV_COW_COMMON is not set |
301 | # CONFIG_BLK_DEV_LOOP is not set | 340 | # CONFIG_BLK_DEV_LOOP is not set |
302 | # CONFIG_BLK_DEV_NBD is not set | 341 | # CONFIG_BLK_DEV_NBD is not set |
@@ -304,16 +343,7 @@ CONFIG_BLK_DEV_RAM=y | |||
304 | CONFIG_BLK_DEV_RAM_COUNT=16 | 343 | CONFIG_BLK_DEV_RAM_COUNT=16 |
305 | CONFIG_BLK_DEV_RAM_SIZE=4096 | 344 | CONFIG_BLK_DEV_RAM_SIZE=4096 |
306 | # CONFIG_BLK_DEV_INITRD is not set | 345 | # CONFIG_BLK_DEV_INITRD is not set |
307 | CONFIG_INITRAMFS_SOURCE="" | ||
308 | # CONFIG_CDROM_PKTCDVD is not set | 346 | # CONFIG_CDROM_PKTCDVD is not set |
309 | |||
310 | # | ||
311 | # IO Schedulers | ||
312 | # | ||
313 | CONFIG_IOSCHED_NOOP=y | ||
314 | # CONFIG_IOSCHED_AS is not set | ||
315 | # CONFIG_IOSCHED_DEADLINE is not set | ||
316 | # CONFIG_IOSCHED_CFQ is not set | ||
317 | # CONFIG_ATA_OVER_ETH is not set | 347 | # CONFIG_ATA_OVER_ETH is not set |
318 | 348 | ||
319 | # | 349 | # |
@@ -324,6 +354,7 @@ CONFIG_IOSCHED_NOOP=y | |||
324 | # | 354 | # |
325 | # SCSI device support | 355 | # SCSI device support |
326 | # | 356 | # |
357 | # CONFIG_RAID_ATTRS is not set | ||
327 | # CONFIG_SCSI is not set | 358 | # CONFIG_SCSI is not set |
328 | 359 | ||
329 | # | 360 | # |
@@ -354,13 +385,15 @@ CONFIG_NETDEVICES=y | |||
354 | # CONFIG_TUN is not set | 385 | # CONFIG_TUN is not set |
355 | 386 | ||
356 | # | 387 | # |
388 | # PHY device support | ||
389 | # | ||
390 | # CONFIG_PHYLIB is not set | ||
391 | |||
392 | # | ||
357 | # Ethernet (10 or 100Mbit) | 393 | # Ethernet (10 or 100Mbit) |
358 | # | 394 | # |
359 | CONFIG_NET_ETHERNET=y | 395 | CONFIG_NET_ETHERNET=y |
360 | # CONFIG_MII is not set | 396 | # CONFIG_MII is not set |
361 | # CONFIG_NET_VENDOR_SMC is not set | ||
362 | # CONFIG_NE2000 is not set | ||
363 | # CONFIG_NET_PCI is not set | ||
364 | CONFIG_FEC=y | 397 | CONFIG_FEC=y |
365 | # CONFIG_FEC2 is not set | 398 | # CONFIG_FEC2 is not set |
366 | 399 | ||
@@ -392,6 +425,7 @@ CONFIG_PPP=y | |||
392 | # CONFIG_PPP_SYNC_TTY is not set | 425 | # CONFIG_PPP_SYNC_TTY is not set |
393 | # CONFIG_PPP_DEFLATE is not set | 426 | # CONFIG_PPP_DEFLATE is not set |
394 | # CONFIG_PPP_BSDCOMP is not set | 427 | # CONFIG_PPP_BSDCOMP is not set |
428 | # CONFIG_PPP_MPPE is not set | ||
395 | # CONFIG_PPPOE is not set | 429 | # CONFIG_PPPOE is not set |
396 | # CONFIG_SLIP is not set | 430 | # CONFIG_SLIP is not set |
397 | # CONFIG_SHAPER is not set | 431 | # CONFIG_SHAPER is not set |
@@ -425,8 +459,6 @@ CONFIG_PPP=y | |||
425 | # | 459 | # |
426 | # CONFIG_VT is not set | 460 | # CONFIG_VT is not set |
427 | # CONFIG_SERIAL_NONSTANDARD is not set | 461 | # CONFIG_SERIAL_NONSTANDARD is not set |
428 | # CONFIG_LEDMAN is not set | ||
429 | # CONFIG_RESETSWITCH is not set | ||
430 | 462 | ||
431 | # | 463 | # |
432 | # Serial drivers | 464 | # Serial drivers |
@@ -450,8 +482,6 @@ CONFIG_LEGACY_PTY_COUNT=256 | |||
450 | # Watchdog Cards | 482 | # Watchdog Cards |
451 | # | 483 | # |
452 | # CONFIG_WATCHDOG is not set | 484 | # CONFIG_WATCHDOG is not set |
453 | # CONFIG_MCFWATCHDOG is not set | ||
454 | # CONFIG_RTC is not set | ||
455 | # CONFIG_GEN_RTC is not set | 485 | # CONFIG_GEN_RTC is not set |
456 | # CONFIG_DTLK is not set | 486 | # CONFIG_DTLK is not set |
457 | # CONFIG_R3964 is not set | 487 | # CONFIG_R3964 is not set |
@@ -464,14 +494,19 @@ CONFIG_LEGACY_PTY_COUNT=256 | |||
464 | # | 494 | # |
465 | # TPM devices | 495 | # TPM devices |
466 | # | 496 | # |
467 | # CONFIG_MCF_QSPI is not set | 497 | # CONFIG_TCG_TPM is not set |
468 | # CONFIG_M41T11M6 is not set | 498 | # CONFIG_TELCLOCK is not set |
469 | 499 | ||
470 | # | 500 | # |
471 | # I2C support | 501 | # I2C support |
472 | # | 502 | # |
473 | # CONFIG_I2C is not set | 503 | # CONFIG_I2C is not set |
474 | # CONFIG_I2C_SENSOR is not set | 504 | |
505 | # | ||
506 | # SPI support | ||
507 | # | ||
508 | # CONFIG_SPI is not set | ||
509 | # CONFIG_SPI_MASTER is not set | ||
475 | 510 | ||
476 | # | 511 | # |
477 | # Dallas's 1-wire bus | 512 | # Dallas's 1-wire bus |
@@ -482,6 +517,7 @@ CONFIG_LEGACY_PTY_COUNT=256 | |||
482 | # Hardware Monitoring support | 517 | # Hardware Monitoring support |
483 | # | 518 | # |
484 | # CONFIG_HWMON is not set | 519 | # CONFIG_HWMON is not set |
520 | # CONFIG_HWMON_VID is not set | ||
485 | 521 | ||
486 | # | 522 | # |
487 | # Misc devices | 523 | # Misc devices |
@@ -491,6 +527,7 @@ CONFIG_LEGACY_PTY_COUNT=256 | |||
491 | # Multimedia devices | 527 | # Multimedia devices |
492 | # | 528 | # |
493 | # CONFIG_VIDEO_DEV is not set | 529 | # CONFIG_VIDEO_DEV is not set |
530 | CONFIG_VIDEO_V4L2=y | ||
494 | 531 | ||
495 | # | 532 | # |
496 | # Digital Video Broadcasting Devices | 533 | # Digital Video Broadcasting Devices |
@@ -503,11 +540,6 @@ CONFIG_LEGACY_PTY_COUNT=256 | |||
503 | # CONFIG_FB is not set | 540 | # CONFIG_FB is not set |
504 | 541 | ||
505 | # | 542 | # |
506 | # SPI support | ||
507 | # | ||
508 | # CONFIG_SPI is not set | ||
509 | |||
510 | # | ||
511 | # Sound | 543 | # Sound |
512 | # | 544 | # |
513 | # CONFIG_SOUND is not set | 545 | # CONFIG_SOUND is not set |
@@ -517,6 +549,11 @@ CONFIG_LEGACY_PTY_COUNT=256 | |||
517 | # | 549 | # |
518 | # CONFIG_USB_ARCH_HAS_HCD is not set | 550 | # CONFIG_USB_ARCH_HAS_HCD is not set |
519 | # CONFIG_USB_ARCH_HAS_OHCI is not set | 551 | # CONFIG_USB_ARCH_HAS_OHCI is not set |
552 | # CONFIG_USB_ARCH_HAS_EHCI is not set | ||
553 | |||
554 | # | ||
555 | # NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' | ||
556 | # | ||
520 | 557 | ||
521 | # | 558 | # |
522 | # USB Gadget Support | 559 | # USB Gadget Support |
@@ -529,29 +566,43 @@ CONFIG_LEGACY_PTY_COUNT=256 | |||
529 | # CONFIG_MMC is not set | 566 | # CONFIG_MMC is not set |
530 | 567 | ||
531 | # | 568 | # |
569 | # LED devices | ||
570 | # | ||
571 | # CONFIG_NEW_LEDS is not set | ||
572 | |||
573 | # | ||
574 | # LED drivers | ||
575 | # | ||
576 | |||
577 | # | ||
578 | # LED Triggers | ||
579 | # | ||
580 | |||
581 | # | ||
532 | # InfiniBand support | 582 | # InfiniBand support |
533 | # | 583 | # |
534 | 584 | ||
535 | # | 585 | # |
536 | # SN Devices | 586 | # EDAC - error detection and reporting (RAS) (EXPERIMENTAL) |
537 | # | 587 | # |
538 | 588 | ||
539 | # | 589 | # |
590 | # Real Time Clock | ||
591 | # | ||
592 | # CONFIG_RTC_CLASS is not set | ||
593 | |||
594 | # | ||
540 | # File systems | 595 | # File systems |
541 | # | 596 | # |
542 | CONFIG_EXT2_FS=y | 597 | CONFIG_EXT2_FS=y |
543 | # CONFIG_EXT2_FS_XATTR is not set | 598 | # CONFIG_EXT2_FS_XATTR is not set |
544 | # CONFIG_EXT2_FS_XIP is not set | 599 | # CONFIG_EXT2_FS_XIP is not set |
545 | # CONFIG_EXT3_FS is not set | 600 | # CONFIG_EXT3_FS is not set |
546 | # CONFIG_JBD is not set | ||
547 | # CONFIG_REISERFS_FS is not set | 601 | # CONFIG_REISERFS_FS is not set |
548 | # CONFIG_JFS_FS is not set | 602 | # CONFIG_JFS_FS is not set |
549 | # CONFIG_FS_POSIX_ACL is not set | 603 | # CONFIG_FS_POSIX_ACL is not set |
550 | |||
551 | # | ||
552 | # XFS support | ||
553 | # | ||
554 | # CONFIG_XFS_FS is not set | 604 | # CONFIG_XFS_FS is not set |
605 | # CONFIG_OCFS2_FS is not set | ||
555 | # CONFIG_MINIX_FS is not set | 606 | # CONFIG_MINIX_FS is not set |
556 | CONFIG_ROMFS_FS=y | 607 | CONFIG_ROMFS_FS=y |
557 | # CONFIG_INOTIFY is not set | 608 | # CONFIG_INOTIFY is not set |
@@ -559,6 +610,7 @@ CONFIG_ROMFS_FS=y | |||
559 | # CONFIG_DNOTIFY is not set | 610 | # CONFIG_DNOTIFY is not set |
560 | # CONFIG_AUTOFS_FS is not set | 611 | # CONFIG_AUTOFS_FS is not set |
561 | # CONFIG_AUTOFS4_FS is not set | 612 | # CONFIG_AUTOFS4_FS is not set |
613 | # CONFIG_FUSE_FS is not set | ||
562 | 614 | ||
563 | # | 615 | # |
564 | # CD-ROM/DVD Filesystems | 616 | # CD-ROM/DVD Filesystems |
@@ -581,6 +633,7 @@ CONFIG_SYSFS=y | |||
581 | # CONFIG_TMPFS is not set | 633 | # CONFIG_TMPFS is not set |
582 | # CONFIG_HUGETLB_PAGE is not set | 634 | # CONFIG_HUGETLB_PAGE is not set |
583 | CONFIG_RAMFS=y | 635 | CONFIG_RAMFS=y |
636 | # CONFIG_CONFIGFS_FS is not set | ||
584 | 637 | ||
585 | # | 638 | # |
586 | # Miscellaneous filesystems | 639 | # Miscellaneous filesystems |
@@ -611,6 +664,7 @@ CONFIG_RAMFS=y | |||
611 | # CONFIG_NCP_FS is not set | 664 | # CONFIG_NCP_FS is not set |
612 | # CONFIG_CODA_FS is not set | 665 | # CONFIG_CODA_FS is not set |
613 | # CONFIG_AFS_FS is not set | 666 | # CONFIG_AFS_FS is not set |
667 | # CONFIG_9P_FS is not set | ||
614 | 668 | ||
615 | # | 669 | # |
616 | # Partition Types | 670 | # Partition Types |
@@ -627,8 +681,12 @@ CONFIG_MSDOS_PARTITION=y | |||
627 | # Kernel hacking | 681 | # Kernel hacking |
628 | # | 682 | # |
629 | # CONFIG_PRINTK_TIME is not set | 683 | # CONFIG_PRINTK_TIME is not set |
684 | # CONFIG_MAGIC_SYSRQ is not set | ||
630 | # CONFIG_DEBUG_KERNEL is not set | 685 | # CONFIG_DEBUG_KERNEL is not set |
631 | CONFIG_LOG_BUF_SHIFT=14 | 686 | CONFIG_LOG_BUF_SHIFT=14 |
687 | # CONFIG_DEBUG_BUGVERBOSE is not set | ||
688 | # CONFIG_DEBUG_FS is not set | ||
689 | # CONFIG_UNWIND_INFO is not set | ||
632 | # CONFIG_FULLDEBUG is not set | 690 | # CONFIG_FULLDEBUG is not set |
633 | # CONFIG_HIGHPROFILE is not set | 691 | # CONFIG_HIGHPROFILE is not set |
634 | # CONFIG_BOOTPARAM is not set | 692 | # CONFIG_BOOTPARAM is not set |
@@ -655,5 +713,6 @@ CONFIG_LOG_BUF_SHIFT=14 | |||
655 | # Library routines | 713 | # Library routines |
656 | # | 714 | # |
657 | # CONFIG_CRC_CCITT is not set | 715 | # CONFIG_CRC_CCITT is not set |
716 | # CONFIG_CRC16 is not set | ||
658 | # CONFIG_CRC32 is not set | 717 | # CONFIG_CRC32 is not set |
659 | # CONFIG_LIBCRC32C is not set | 718 | # CONFIG_LIBCRC32C is not set |
diff --git a/arch/m68knommu/kernel/comempci.c b/arch/m68knommu/kernel/comempci.c index 8670938f1107..db7a0c1cebae 100644 --- a/arch/m68knommu/kernel/comempci.c +++ b/arch/m68knommu/kernel/comempci.c | |||
@@ -357,7 +357,8 @@ void pcibios_fixup_bus(struct pci_bus *b) | |||
357 | 357 | ||
358 | /*****************************************************************************/ | 358 | /*****************************************************************************/ |
359 | 359 | ||
360 | void pcibios_align_resource(void *data, struct resource *res, unsigned long size, unsigned long align) | 360 | void pcibios_align_resource(void *data, struct resource *res, |
361 | resource_size_t size, resource_size_t align) | ||
361 | { | 362 | { |
362 | } | 363 | } |
363 | 364 | ||
diff --git a/arch/m68knommu/kernel/vmlinux.lds.S b/arch/m68knommu/kernel/vmlinux.lds.S index 6a2f0c693254..59ced831b792 100644 --- a/arch/m68knommu/kernel/vmlinux.lds.S +++ b/arch/m68knommu/kernel/vmlinux.lds.S | |||
@@ -3,63 +3,13 @@ | |||
3 | * | 3 | * |
4 | * (C) Copyright 2002-2006, Greg Ungerer <gerg@snapgear.com> | 4 | * (C) Copyright 2002-2006, Greg Ungerer <gerg@snapgear.com> |
5 | * | 5 | * |
6 | * This ends up looking compilcated, because of the number of | 6 | * This linker script is equiped to build either ROM loaded or RAM |
7 | * address variations for ram and rom/flash layouts. The real | 7 | * run kernels. |
8 | * work of the linker script is all at the end, and reasonably | ||
9 | * strait forward. | ||
10 | */ | 8 | */ |
11 | 9 | ||
12 | #include <linux/config.h> | 10 | #include <linux/config.h> |
13 | #include <asm-generic/vmlinux.lds.h> | 11 | #include <asm-generic/vmlinux.lds.h> |
14 | 12 | ||
15 | /* | ||
16 | * Original Palm pilot (same for Xcopilot). | ||
17 | * There is really only a rom target for this. | ||
18 | */ | ||
19 | #ifdef CONFIG_PILOT3 | ||
20 | #define ROMVEC_START 0x10c00000 | ||
21 | #define ROMVEC_LENGTH 0x10400 | ||
22 | #define ROM_START 0x10c10400 | ||
23 | #define ROM_LENGTH 0xfec00 | ||
24 | #define ROM_END 0x10d00000 | ||
25 | #define DATA_ADDR CONFIG_KERNELBASE | ||
26 | #endif | ||
27 | |||
28 | /* | ||
29 | * Same setup on both the uCsimm and uCdimm. | ||
30 | */ | ||
31 | #if defined(CONFIG_UCSIMM) || defined(CONFIG_UCDIMM) | ||
32 | #ifdef CONFIG_RAMKERNEL | ||
33 | #define ROMVEC_START 0x10c10000 | ||
34 | #define ROMVEC_LENGTH 0x400 | ||
35 | #define ROM_START 0x10c10400 | ||
36 | #define ROM_LENGTH 0x1efc00 | ||
37 | #define ROM_END 0x10e00000 | ||
38 | #endif | ||
39 | #ifdef CONFIG_ROMKERNEL | ||
40 | #define ROMVEC_START 0x10c10000 | ||
41 | #define ROMVEC_LENGTH 0x400 | ||
42 | #define ROM_START 0x10c10400 | ||
43 | #define ROM_LENGTH 0x1efc00 | ||
44 | #define ROM_END 0x10e00000 | ||
45 | #endif | ||
46 | #ifdef CONFIG_HIMEMKERNEL | ||
47 | #define ROMVEC_START 0x00600000 | ||
48 | #define ROMVEC_LENGTH 0x400 | ||
49 | #define ROM_START 0x00600400 | ||
50 | #define ROM_LENGTH 0x1efc00 | ||
51 | #define ROM_END 0x007f0000 | ||
52 | #endif | ||
53 | #endif | ||
54 | |||
55 | #ifdef CONFIG_UCQUICC | ||
56 | #define ROMVEC_START 0x00000000 | ||
57 | #define ROMVEC_LENGTH 0x404 | ||
58 | #define ROM_START 0x00000404 | ||
59 | #define ROM_LENGTH 0x1ff6fc | ||
60 | #define ROM_END 0x00200000 | ||
61 | #endif | ||
62 | |||
63 | #if defined(CONFIG_RAMKERNEL) | 13 | #if defined(CONFIG_RAMKERNEL) |
64 | #define RAM_START CONFIG_KERNELBASE | 14 | #define RAM_START CONFIG_KERNELBASE |
65 | #define RAM_LENGTH (CONFIG_RAMBASE + CONFIG_RAMSIZE - CONFIG_KERNELBASE) | 15 | #define RAM_LENGTH (CONFIG_RAMBASE + CONFIG_RAMSIZE - CONFIG_KERNELBASE) |
@@ -71,6 +21,10 @@ | |||
71 | #if defined(CONFIG_ROMKERNEL) || defined(CONFIG_HIMEMKERNEL) | 21 | #if defined(CONFIG_ROMKERNEL) || defined(CONFIG_HIMEMKERNEL) |
72 | #define RAM_START CONFIG_RAMBASE | 22 | #define RAM_START CONFIG_RAMBASE |
73 | #define RAM_LENGTH CONFIG_RAMSIZE | 23 | #define RAM_LENGTH CONFIG_RAMSIZE |
24 | #define ROMVEC_START CONFIG_ROMVEC | ||
25 | #define ROMVEC_LENGTH CONFIG_ROMVECSIZE | ||
26 | #define ROM_START CONFIG_ROMSTART | ||
27 | #define ROM_LENGTH CONFIG_ROMSIZE | ||
74 | #define TEXT rom | 28 | #define TEXT rom |
75 | #define DATA ram | 29 | #define DATA ram |
76 | #define INIT ram | 30 | #define INIT ram |
@@ -90,7 +44,6 @@ MEMORY { | |||
90 | #ifdef ROM_START | 44 | #ifdef ROM_START |
91 | romvec : ORIGIN = ROMVEC_START, LENGTH = ROMVEC_LENGTH | 45 | romvec : ORIGIN = ROMVEC_START, LENGTH = ROMVEC_LENGTH |
92 | rom : ORIGIN = ROM_START, LENGTH = ROM_LENGTH | 46 | rom : ORIGIN = ROM_START, LENGTH = ROM_LENGTH |
93 | erom : ORIGIN = ROM_END, LENGTH = 0 | ||
94 | #endif | 47 | #endif |
95 | } | 48 | } |
96 | 49 | ||
@@ -167,13 +120,6 @@ SECTIONS { | |||
167 | _etext = . ; | 120 | _etext = . ; |
168 | } > TEXT | 121 | } > TEXT |
169 | 122 | ||
170 | #ifdef ROM_END | ||
171 | . = ROM_END ; | ||
172 | .erom : { | ||
173 | __rom_end = . ; | ||
174 | } > erom | ||
175 | #endif | ||
176 | |||
177 | .data DATA_ADDR : { | 123 | .data DATA_ADDR : { |
178 | . = ALIGN(4); | 124 | . = ALIGN(4); |
179 | _sdata = . ; | 125 | _sdata = . ; |
diff --git a/arch/m68knommu/platform/68328/Makefile b/arch/m68knommu/platform/68328/Makefile index 1b3b719e4479..5e5435552d56 100644 --- a/arch/m68knommu/platform/68328/Makefile +++ b/arch/m68knommu/platform/68328/Makefile | |||
@@ -8,6 +8,7 @@ head-$(CONFIG_DRAGEN2) = head-de2.o | |||
8 | 8 | ||
9 | obj-y += entry.o ints.o timers.o | 9 | obj-y += entry.o ints.o timers.o |
10 | obj-$(CONFIG_M68328) += config.o | 10 | obj-$(CONFIG_M68328) += config.o |
11 | obj-$(CONFIG_ROM) += romvec.o | ||
11 | 12 | ||
12 | extra-y := head.o | 13 | extra-y := head.o |
13 | extra-$(CONFIG_M68328) += bootlogo.rh head.o | 14 | extra-$(CONFIG_M68328) += bootlogo.rh head.o |
diff --git a/arch/m68knommu/platform/68328/head-rom.S b/arch/m68knommu/platform/68328/head-rom.S index 2b448a297011..234430b9551c 100644 --- a/arch/m68knommu/platform/68328/head-rom.S +++ b/arch/m68knommu/platform/68328/head-rom.S | |||
@@ -28,6 +28,8 @@ _ramstart: | |||
28 | _ramend: | 28 | _ramend: |
29 | .long 0 | 29 | .long 0 |
30 | 30 | ||
31 | #define RAMEND (CONFIG_RAMBASE + CONFIG_RAMSIZE) | ||
32 | |||
31 | #ifdef CONFIG_INIT_LCD | 33 | #ifdef CONFIG_INIT_LCD |
32 | splash_bits: | 34 | splash_bits: |
33 | #include "bootlogo.rh" | 35 | #include "bootlogo.rh" |
@@ -48,7 +50,7 @@ _stext: movew #0x2700,%sr | |||
48 | moveb #0x81, 0xfffffA27 /* LCKCON */ | 50 | moveb #0x81, 0xfffffA27 /* LCKCON */ |
49 | movew #0xff00, 0xfffff412 /* LCD pins */ | 51 | movew #0xff00, 0xfffff412 /* LCD pins */ |
50 | #endif | 52 | #endif |
51 | moveal #__ramend-CONFIG_MEMORY_RESERVE*0x100000 - 0x10, %sp | 53 | moveal #RAMEND-CONFIG_MEMORY_RESERVE*0x100000 - 0x10, %sp |
52 | movew #32767, %d0 /* PLL settle wait loop */ | 54 | movew #32767, %d0 /* PLL settle wait loop */ |
53 | 1: subq #1, %d0 | 55 | 1: subq #1, %d0 |
54 | bne 1b | 56 | bne 1b |
@@ -73,13 +75,13 @@ _stext: movew #0x2700,%sr | |||
73 | bhi 1b | 75 | bhi 1b |
74 | 76 | ||
75 | movel #_sdata, %d0 | 77 | movel #_sdata, %d0 |
76 | movel %d0, _rambase | 78 | movel %d0, _rambase |
77 | movel #_ebss, %d0 | 79 | movel #_ebss, %d0 |
78 | movel %d0, _ramstart | 80 | movel %d0, _ramstart |
79 | movel #__ramend-CONFIG_MEMORY_RESERVE*0x100000, %d0 | 81 | movel #RAMEND-CONFIG_MEMORY_RESERVE*0x100000, %d0 |
80 | movel %d0, _ramend | 82 | movel %d0, _ramend |
81 | movel #__ramvec, %d0 | 83 | movel #CONFIG_VECTORBASE, %d0 |
82 | movel %d0, _ramvec | 84 | movel %d0, _ramvec |
83 | 85 | ||
84 | /* | 86 | /* |
85 | * load the current task pointer and stack | 87 | * load the current task pointer and stack |
diff --git a/arch/m68knommu/platform/68328/ints.c b/arch/m68knommu/platform/68328/ints.c index 7437217813d2..2dda7339aae5 100644 --- a/arch/m68knommu/platform/68328/ints.c +++ b/arch/m68knommu/platform/68328/ints.c | |||
@@ -18,6 +18,7 @@ | |||
18 | 18 | ||
19 | #include <asm/system.h> | 19 | #include <asm/system.h> |
20 | #include <asm/irq.h> | 20 | #include <asm/irq.h> |
21 | #include <asm/irqnode.h> | ||
21 | #include <asm/traps.h> | 22 | #include <asm/traps.h> |
22 | #include <asm/io.h> | 23 | #include <asm/io.h> |
23 | #include <asm/machdep.h> | 24 | #include <asm/machdep.h> |
@@ -82,25 +83,6 @@ unsigned int local_irq_count[NR_CPUS]; | |||
82 | /* irq node variables for the 32 (potential) on chip sources */ | 83 | /* irq node variables for the 32 (potential) on chip sources */ |
83 | static irq_node_t int_irq_list[NR_IRQS]; | 84 | static irq_node_t int_irq_list[NR_IRQS]; |
84 | 85 | ||
85 | #if !defined(CONFIG_DRAGEN2) | ||
86 | asm (".global _start, __ramend/n/t" | ||
87 | ".section .romvec/n" | ||
88 | "e_vectors:\n\t" | ||
89 | ".long __ramend-4, _start, buserr, trap, trap, trap, trap, trap\n\t" | ||
90 | ".long trap, trap, trap, trap, trap, trap, trap, trap\n\t" | ||
91 | ".long trap, trap, trap, trap, trap, trap, trap, trap\n\t" | ||
92 | ".long trap, trap, trap, trap\n\t" | ||
93 | ".long trap, trap, trap, trap\n\t" | ||
94 | /*.long inthandler, inthandler, inthandler, inthandler | ||
95 | .long inthandler4, inthandler, inthandler, inthandler */ | ||
96 | /* TRAP #0-15 */ | ||
97 | ".long system_call, trap, trap, trap, trap, trap, trap, trap\n\t" | ||
98 | ".long trap, trap, trap, trap, trap, trap, trap, trap\n\t" | ||
99 | ".long 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0\n\t" | ||
100 | ".text\n" | ||
101 | "ignore: rte"); | ||
102 | #endif | ||
103 | |||
104 | /* | 86 | /* |
105 | * This function should be called during kernel startup to initialize | 87 | * This function should be called during kernel startup to initialize |
106 | * the IRQ handling routines. | 88 | * the IRQ handling routines. |
diff --git a/arch/m68knommu/platform/68328/romvec.S b/arch/m68knommu/platform/68328/romvec.S new file mode 100644 index 000000000000..3e7fe1e14913 --- /dev/null +++ b/arch/m68knommu/platform/68328/romvec.S | |||
@@ -0,0 +1,37 @@ | |||
1 | /* | ||
2 | * linux/arch/m68knommu/platform/68328/romvec.S | ||
3 | * | ||
4 | * This file is subject to the terms and conditions of the GNU General Public | ||
5 | * License. See the file COPYING in the main directory of this archive | ||
6 | * for more details. | ||
7 | * | ||
8 | * Copyright 1996 Roman Zippel | ||
9 | * Copyright 1999 D. Jeff Dionne <jeff@rt-control.com> | ||
10 | * Copyright 2006 Greg Ungerer <gerg@snapgear.com> | ||
11 | */ | ||
12 | |||
13 | #include <linux/config.h> | ||
14 | |||
15 | .global _start | ||
16 | .global _buserr | ||
17 | .global trap | ||
18 | .global system_call | ||
19 | |||
20 | .section .romvec | ||
21 | |||
22 | e_vectors: | ||
23 | .long CONFIG_RAMBASE+CONFIG_RAMSIZE-4, _start, buserr, trap | ||
24 | .long trap, trap, trap, trap | ||
25 | .long trap, trap, trap, trap | ||
26 | .long trap, trap, trap, trap | ||
27 | .long trap, trap, trap, trap | ||
28 | .long trap, trap, trap, trap | ||
29 | .long trap, trap, trap, trap | ||
30 | .long trap, trap, trap, trap | ||
31 | /* TRAP #0-15 */ | ||
32 | .long system_call, trap, trap, trap | ||
33 | .long trap, trap, trap, trap | ||
34 | .long trap, trap, trap, trap | ||
35 | .long trap, trap, trap, trap | ||
36 | .long 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 | ||
37 | |||
diff --git a/arch/m68knommu/platform/68360/config.c b/arch/m68knommu/platform/68360/config.c index 3db244625f0f..69c670dfd62b 100644 --- a/arch/m68knommu/platform/68360/config.c +++ b/arch/m68knommu/platform/68360/config.c | |||
@@ -141,13 +141,13 @@ int BSP_set_clock_mmss (unsigned long nowtime) | |||
141 | void BSP_reset (void) | 141 | void BSP_reset (void) |
142 | { | 142 | { |
143 | local_irq_disable(); | 143 | local_irq_disable(); |
144 | asm volatile (" | 144 | asm volatile ( |
145 | moveal #_start, %a0; | 145 | "moveal #_start, %a0;\n" |
146 | moveb #0, 0xFFFFF300; | 146 | "moveb #0, 0xFFFFF300;\n" |
147 | moveal 0(%a0), %sp; | 147 | "moveal 0(%a0), %sp;\n" |
148 | moveal 4(%a0), %a0; | 148 | "moveal 4(%a0), %a0;\n" |
149 | jmp (%a0); | 149 | "jmp (%a0);\n" |
150 | "); | 150 | ); |
151 | } | 151 | } |
152 | 152 | ||
153 | unsigned char *scc1_hwaddr; | 153 | unsigned char *scc1_hwaddr; |
diff --git a/arch/m68knommu/platform/68360/head-ram.S b/arch/m68knommu/platform/68360/head-ram.S index a5c639a51eef..f497713a4ec7 100644 --- a/arch/m68knommu/platform/68360/head-ram.S +++ b/arch/m68knommu/platform/68360/head-ram.S | |||
@@ -18,7 +18,6 @@ | |||
18 | .global _start | 18 | .global _start |
19 | 19 | ||
20 | .global _rambase | 20 | .global _rambase |
21 | .global __ramvec | ||
22 | .global _ramvec | 21 | .global _ramvec |
23 | .global _ramstart | 22 | .global _ramstart |
24 | .global _ramend | 23 | .global _ramend |
@@ -26,6 +25,8 @@ | |||
26 | .global _quicc_base | 25 | .global _quicc_base |
27 | .global _periph_base | 26 | .global _periph_base |
28 | 27 | ||
28 | #define RAMEND (CONFIG_RAMBASE + CONFIG_RAMSIZE) | ||
29 | |||
29 | #define REGB 0x1000 | 30 | #define REGB 0x1000 |
30 | #define PEPAR (_dprbase + REGB + 0x0016) | 31 | #define PEPAR (_dprbase + REGB + 0x0016) |
31 | #define GMR (_dprbase + REGB + 0x0040) | 32 | #define GMR (_dprbase + REGB + 0x0040) |
@@ -103,7 +104,7 @@ _stext: | |||
103 | nop | 104 | nop |
104 | ori.w #MCU_DISABLE_INTRPTS, %sr /* disable interrupts: */ | 105 | ori.w #MCU_DISABLE_INTRPTS, %sr /* disable interrupts: */ |
105 | /* We should not need to setup the boot stack the reset should do it. */ | 106 | /* We should not need to setup the boot stack the reset should do it. */ |
106 | movea.l #__ramend, %sp /*set up stack at the end of DRAM:*/ | 107 | movea.l #RAMEND, %sp /*set up stack at the end of DRAM:*/ |
107 | 108 | ||
108 | set_mbar_register: | 109 | set_mbar_register: |
109 | moveq.l #0x07, %d1 /* Setup MBAR */ | 110 | moveq.l #0x07, %d1 /* Setup MBAR */ |
@@ -163,7 +164,7 @@ configure_memory_controller: | |||
163 | move.l %d0, GMR | 164 | move.l %d0, GMR |
164 | 165 | ||
165 | configure_chip_select_0: | 166 | configure_chip_select_0: |
166 | move.l #__ramend, %d0 | 167 | move.l #RAMEND, %d0 |
167 | subi.l #__ramstart, %d0 | 168 | subi.l #__ramstart, %d0 |
168 | subq.l #0x01, %d0 | 169 | subq.l #0x01, %d0 |
169 | eori.l #SIM_OR_MASK, %d0 | 170 | eori.l #SIM_OR_MASK, %d0 |
@@ -234,16 +235,10 @@ store_ram_size: | |||
234 | /* Set ram size information */ | 235 | /* Set ram size information */ |
235 | move.l #_sdata, _rambase | 236 | move.l #_sdata, _rambase |
236 | move.l #_ebss, _ramstart | 237 | move.l #_ebss, _ramstart |
237 | move.l #__ramend, %d0 | 238 | move.l #RAMEND, %d0 |
238 | sub.l #0x1000, %d0 /* Reserve 4K for stack space.*/ | 239 | sub.l #0x1000, %d0 /* Reserve 4K for stack space.*/ |
239 | move.l %d0, _ramend /* Different from __ramend.*/ | 240 | move.l %d0, _ramend /* Different from RAMEND.*/ |
240 | 241 | ||
241 | store_flash_size: | ||
242 | /* Set rom size information */ | ||
243 | move.l #__rom_end, %d0 | ||
244 | sub.l #__rom_start, %d0 | ||
245 | move.l %d0, rom_length | ||
246 | |||
247 | pea 0 | 242 | pea 0 |
248 | pea env | 243 | pea env |
249 | pea %sp@(4) | 244 | pea %sp@(4) |
@@ -286,7 +281,7 @@ _dprbase: | |||
286 | */ | 281 | */ |
287 | 282 | ||
288 | .section ".data.initvect","awx" | 283 | .section ".data.initvect","awx" |
289 | .long __ramend /* Reset: Initial Stack Pointer - 0. */ | 284 | .long RAMEND /* Reset: Initial Stack Pointer - 0. */ |
290 | .long _start /* Reset: Initial Program Counter - 1. */ | 285 | .long _start /* Reset: Initial Program Counter - 1. */ |
291 | .long buserr /* Bus Error - 2. */ | 286 | .long buserr /* Bus Error - 2. */ |
292 | .long trap /* Address Error - 3. */ | 287 | .long trap /* Address Error - 3. */ |
diff --git a/arch/m68knommu/platform/68360/head-rom.S b/arch/m68knommu/platform/68360/head-rom.S index 0da357a4cfee..2d28c3e19a88 100644 --- a/arch/m68knommu/platform/68360/head-rom.S +++ b/arch/m68knommu/platform/68360/head-rom.S | |||
@@ -18,7 +18,6 @@ | |||
18 | .global _start | 18 | .global _start |
19 | 19 | ||
20 | .global _rambase | 20 | .global _rambase |
21 | .global __ramvec | ||
22 | .global _ramvec | 21 | .global _ramvec |
23 | .global _ramstart | 22 | .global _ramstart |
24 | .global _ramend | 23 | .global _ramend |
@@ -26,6 +25,8 @@ | |||
26 | .global _quicc_base | 25 | .global _quicc_base |
27 | .global _periph_base | 26 | .global _periph_base |
28 | 27 | ||
28 | #define RAMEND (CONFIG_RAMBASE + CONFIG_RAMSIZE) | ||
29 | |||
29 | #define REGB 0x1000 | 30 | #define REGB 0x1000 |
30 | #define PEPAR (_dprbase + REGB + 0x0016) | 31 | #define PEPAR (_dprbase + REGB + 0x0016) |
31 | #define GMR (_dprbase + REGB + 0x0040) | 32 | #define GMR (_dprbase + REGB + 0x0040) |
@@ -115,7 +116,7 @@ _stext: | |||
115 | nop | 116 | nop |
116 | ori.w #MCU_DISABLE_INTRPTS, %sr /* disable interrupts: */ | 117 | ori.w #MCU_DISABLE_INTRPTS, %sr /* disable interrupts: */ |
117 | /* We should not need to setup the boot stack the reset should do it. */ | 118 | /* We should not need to setup the boot stack the reset should do it. */ |
118 | movea.l #__ramend, %sp /* set up stack at the end of DRAM:*/ | 119 | movea.l #RAMEND, %sp /* set up stack at the end of DRAM:*/ |
119 | 120 | ||
120 | 121 | ||
121 | set_mbar_register: | 122 | set_mbar_register: |
@@ -245,16 +246,10 @@ store_ram_size: | |||
245 | /* Set ram size information */ | 246 | /* Set ram size information */ |
246 | move.l #_sdata, _rambase | 247 | move.l #_sdata, _rambase |
247 | move.l #_ebss, _ramstart | 248 | move.l #_ebss, _ramstart |
248 | move.l #__ramend, %d0 | 249 | move.l #RAMEND, %d0 |
249 | sub.l #0x1000, %d0 /* Reserve 4K for stack space.*/ | 250 | sub.l #0x1000, %d0 /* Reserve 4K for stack space.*/ |
250 | move.l %d0, _ramend /* Different from __ramend.*/ | 251 | move.l %d0, _ramend /* Different from RAMEND.*/ |
251 | 252 | ||
252 | store_flash_size: | ||
253 | /* Set rom size information */ | ||
254 | move.l #__rom_end, %d0 | ||
255 | sub.l #__rom_start, %d0 | ||
256 | move.l %d0, rom_length | ||
257 | |||
258 | pea 0 | 253 | pea 0 |
259 | pea env | 254 | pea env |
260 | pea %sp@(4) | 255 | pea %sp@(4) |
@@ -298,7 +293,7 @@ _dprbase: | |||
298 | */ | 293 | */ |
299 | 294 | ||
300 | .section ".data.initvect","awx" | 295 | .section ".data.initvect","awx" |
301 | .long __ramend /* Reset: Initial Stack Pointer - 0. */ | 296 | .long RAMEND /* Reset: Initial Stack Pointer - 0. */ |
302 | .long _start /* Reset: Initial Program Counter - 1. */ | 297 | .long _start /* Reset: Initial Program Counter - 1. */ |
303 | .long buserr /* Bus Error - 2. */ | 298 | .long buserr /* Bus Error - 2. */ |
304 | .long trap /* Address Error - 3. */ | 299 | .long trap /* Address Error - 3. */ |
diff --git a/arch/m68knommu/platform/68360/ints.c b/arch/m68knommu/platform/68360/ints.c index ba184db1651b..0245fc4a4781 100644 --- a/arch/m68knommu/platform/68360/ints.c +++ b/arch/m68knommu/platform/68360/ints.c | |||
@@ -20,6 +20,7 @@ | |||
20 | 20 | ||
21 | #include <asm/system.h> | 21 | #include <asm/system.h> |
22 | #include <asm/irq.h> | 22 | #include <asm/irq.h> |
23 | #include <asm/irqnode.h> | ||
23 | #include <asm/traps.h> | 24 | #include <asm/traps.h> |
24 | #include <asm/io.h> | 25 | #include <asm/io.h> |
25 | #include <asm/machdep.h> | 26 | #include <asm/machdep.h> |
diff --git a/arch/m68knommu/platform/68EZ328/config.c b/arch/m68knommu/platform/68EZ328/config.c index d8d56e5de310..15a14a67c2bf 100644 --- a/arch/m68knommu/platform/68EZ328/config.c +++ b/arch/m68knommu/platform/68EZ328/config.c | |||
@@ -42,13 +42,13 @@ void m68328_timer_gettod(int *year, int *mon, int *day, int *hour, int *min, int | |||
42 | void m68ez328_reset(void) | 42 | void m68ez328_reset(void) |
43 | { | 43 | { |
44 | local_irq_disable(); | 44 | local_irq_disable(); |
45 | asm volatile (" | 45 | asm volatile ( |
46 | moveal #0x10c00000, %a0; | 46 | "moveal #0x10c00000, %a0;\n" |
47 | moveb #0, 0xFFFFF300; | 47 | "moveb #0, 0xFFFFF300;\n" |
48 | moveal 0(%a0), %sp; | 48 | "moveal 0(%a0), %sp;\n" |
49 | moveal 4(%a0), %a0; | 49 | "moveal 4(%a0), %a0;\n" |
50 | jmp (%a0); | 50 | "jmp (%a0);\n" |
51 | "); | 51 | ); |
52 | } | 52 | } |
53 | 53 | ||
54 | /***************************************************************************/ | 54 | /***************************************************************************/ |
diff --git a/arch/m68knommu/platform/68VZ328/config.c b/arch/m68knommu/platform/68VZ328/config.c index d926524cdf82..4058de5c8fa2 100644 --- a/arch/m68knommu/platform/68VZ328/config.c +++ b/arch/m68knommu/platform/68VZ328/config.c | |||
@@ -141,13 +141,13 @@ static void init_hardware(char *command, int size) | |||
141 | static void m68vz328_reset(void) | 141 | static void m68vz328_reset(void) |
142 | { | 142 | { |
143 | local_irq_disable(); | 143 | local_irq_disable(); |
144 | asm volatile (" | 144 | asm volatile ( |
145 | moveal #0x10c00000, %a0; | 145 | "moveal #0x10c00000, %a0;\n\t" |
146 | moveb #0, 0xFFFFF300; | 146 | "moveb #0, 0xFFFFF300;\n\t" |
147 | moveal 0(%a0), %sp; | 147 | "moveal 0(%a0), %sp;\n\t" |
148 | moveal 4(%a0), %a0; | 148 | "moveal 4(%a0), %a0;\n\t" |
149 | jmp (%a0); | 149 | "jmp (%a0);\n" |
150 | "); | 150 | ); |
151 | } | 151 | } |
152 | 152 | ||
153 | unsigned char *cs8900a_hwaddr; | 153 | unsigned char *cs8900a_hwaddr; |