diff options
author | Greg Ungerer <gerg@uclinux.org> | 2011-03-21 23:39:27 -0400 |
---|---|---|
committer | Greg Ungerer <gerg@uclinux.org> | 2011-03-25 00:05:13 -0400 |
commit | 66d857b08b8c3ed5c72c361f863cce77d2a978d7 (patch) | |
tree | 47222d86f4d78dc0da31baf64188bd2e4b38ac1e /arch/m68k/configs/m5275evb_defconfig | |
parent | d39dd11c3e6a7af5c20bfac40594db36cf270f42 (diff) |
m68k: merge m68k and m68knommu arch directories
There is a lot of common code that could be shared between the m68k
and m68knommu arch branches. It makes sense to merge the two branches
into a single directory structure so that we can more easily share
that common code.
This is a brute force merge, based on a script from Stephen King
<sfking@fdwdc.com>, which was originally written by Arnd Bergmann
<arnd@arndb.de>.
> The script was inspired by the script Sam Ravnborg used to merge the
> includes from m68knommu. For those files common to both arches but
> differing in content, the m68k version of the file is renamed to
> <file>_mm.<ext> and the m68knommu version of the file is moved into the
> corresponding m68k directory and renamed <file>_no.<ext> and a small
> wrapper file <file>.<ext> is used to select between the two version. Files
> that are common to both but don't differ are removed from the m68knommu
> tree and files and directories that are unique to the m68knommu tree are
> moved to the m68k tree. Finally, the arch/m68knommu tree is removed.
>
> To select between the the versions of the files, the wrapper uses
>
> #ifdef CONFIG_MMU
> #include <file>_mm.<ext>
> #else
> #include <file>_no.<ext>
> #endif
On top of this file merge I have done a simplistic merge of m68k and
m68knommu Kconfig, which primarily attempts to keep existing options and
menus in place. Other than a handful of options being moved it produces
identical .config outputs on m68k and m68knommu targets I tested it on.
With this in place there is now quite a bit of scope for merge cleanups
in future patches.
Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Diffstat (limited to 'arch/m68k/configs/m5275evb_defconfig')
-rw-r--r-- | arch/m68k/configs/m5275evb_defconfig | 74 |
1 files changed, 74 insertions, 0 deletions
diff --git a/arch/m68k/configs/m5275evb_defconfig b/arch/m68k/configs/m5275evb_defconfig new file mode 100644 index 000000000000..33c32aeca12b --- /dev/null +++ b/arch/m68k/configs/m5275evb_defconfig | |||
@@ -0,0 +1,74 @@ | |||
1 | # CONFIG_MMU is not set | ||
2 | CONFIG_EXPERIMENTAL=y | ||
3 | CONFIG_LOG_BUF_SHIFT=14 | ||
4 | # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set | ||
5 | CONFIG_EXPERT=y | ||
6 | # CONFIG_KALLSYMS is not set | ||
7 | # CONFIG_HOTPLUG is not set | ||
8 | # CONFIG_FUTEX is not set | ||
9 | # CONFIG_EPOLL is not set | ||
10 | # CONFIG_SIGNALFD is not set | ||
11 | # CONFIG_TIMERFD is not set | ||
12 | # CONFIG_EVENTFD is not set | ||
13 | # CONFIG_AIO is not set | ||
14 | # CONFIG_VM_EVENT_COUNTERS is not set | ||
15 | # CONFIG_SLUB_DEBUG is not set | ||
16 | # CONFIG_BLK_DEV_BSG is not set | ||
17 | # CONFIG_IOSCHED_DEADLINE is not set | ||
18 | # CONFIG_IOSCHED_CFQ is not set | ||
19 | CONFIG_M5275=y | ||
20 | CONFIG_CLOCK_SET=y | ||
21 | CONFIG_CLOCK_FREQ=150000000 | ||
22 | CONFIG_CLOCK_DIV=2 | ||
23 | CONFIG_M5275EVB=y | ||
24 | # CONFIG_4KSTACKS is not set | ||
25 | CONFIG_RAMBASE=0x00000000 | ||
26 | CONFIG_RAMSIZE=0x00000000 | ||
27 | CONFIG_VECTORBASE=0x00000000 | ||
28 | CONFIG_KERNELBASE=0x00020000 | ||
29 | CONFIG_BINFMT_FLAT=y | ||
30 | CONFIG_NET=y | ||
31 | CONFIG_PACKET=y | ||
32 | CONFIG_UNIX=y | ||
33 | CONFIG_INET=y | ||
34 | # CONFIG_INET_XFRM_MODE_TRANSPORT is not set | ||
35 | # CONFIG_INET_XFRM_MODE_TUNNEL is not set | ||
36 | # CONFIG_INET_XFRM_MODE_BEET is not set | ||
37 | # CONFIG_INET_LRO is not set | ||
38 | # CONFIG_INET_DIAG is not set | ||
39 | # CONFIG_IPV6 is not set | ||
40 | # CONFIG_FW_LOADER is not set | ||
41 | CONFIG_MTD=y | ||
42 | CONFIG_MTD_PARTITIONS=y | ||
43 | CONFIG_MTD_CHAR=y | ||
44 | CONFIG_MTD_BLOCK=y | ||
45 | CONFIG_MTD_RAM=y | ||
46 | CONFIG_MTD_UCLINUX=y | ||
47 | CONFIG_BLK_DEV_RAM=y | ||
48 | # CONFIG_MISC_DEVICES is not set | ||
49 | CONFIG_NETDEVICES=y | ||
50 | CONFIG_NET_ETHERNET=y | ||
51 | CONFIG_FEC=y | ||
52 | CONFIG_FEC2=y | ||
53 | # CONFIG_NETDEV_1000 is not set | ||
54 | # CONFIG_NETDEV_10000 is not set | ||
55 | CONFIG_PPP=y | ||
56 | # CONFIG_INPUT is not set | ||
57 | # CONFIG_SERIO is not set | ||
58 | # CONFIG_VT is not set | ||
59 | CONFIG_SERIAL_MCF=y | ||
60 | CONFIG_SERIAL_MCF_CONSOLE=y | ||
61 | # CONFIG_UNIX98_PTYS is not set | ||
62 | # CONFIG_HWMON is not set | ||
63 | # CONFIG_USB_SUPPORT is not set | ||
64 | CONFIG_EXT2_FS=y | ||
65 | # CONFIG_FILE_LOCKING is not set | ||
66 | # CONFIG_DNOTIFY is not set | ||
67 | CONFIG_ROMFS_FS=y | ||
68 | CONFIG_ROMFS_BACKED_BY_MTD=y | ||
69 | # CONFIG_NETWORK_FILESYSTEMS is not set | ||
70 | # CONFIG_RCU_CPU_STALL_DETECTOR is not set | ||
71 | CONFIG_SYSCTL_SYSCALL_CHECK=y | ||
72 | CONFIG_BOOTPARAM=y | ||
73 | CONFIG_BOOTPARAM_STRING="root=/dev/mtdblock0" | ||
74 | # CONFIG_CRC32 is not set | ||