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/m5272c3_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/m5272c3_defconfig')
-rw-r--r-- | arch/m68k/configs/m5272c3_defconfig | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/arch/m68k/configs/m5272c3_defconfig b/arch/m68k/configs/m5272c3_defconfig new file mode 100644 index 000000000000..3fa60a57a0f9 --- /dev/null +++ b/arch/m68k/configs/m5272c3_defconfig | |||
@@ -0,0 +1,67 @@ | |||
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_M5272=y | ||
20 | CONFIG_CLOCK_SET=y | ||
21 | CONFIG_M5272C3=y | ||
22 | CONFIG_RAMBASE=0x00000000 | ||
23 | CONFIG_RAMSIZE=0x00800000 | ||
24 | CONFIG_VECTORBASE=0x00000000 | ||
25 | CONFIG_KERNELBASE=0x00020000 | ||
26 | CONFIG_BINFMT_FLAT=y | ||
27 | CONFIG_NET=y | ||
28 | CONFIG_PACKET=y | ||
29 | CONFIG_UNIX=y | ||
30 | CONFIG_INET=y | ||
31 | # CONFIG_INET_XFRM_MODE_TRANSPORT is not set | ||
32 | # CONFIG_INET_XFRM_MODE_TUNNEL is not set | ||
33 | # CONFIG_INET_XFRM_MODE_BEET is not set | ||
34 | # CONFIG_INET_LRO is not set | ||
35 | # CONFIG_INET_DIAG is not set | ||
36 | # CONFIG_IPV6 is not set | ||
37 | # CONFIG_FW_LOADER is not set | ||
38 | CONFIG_MTD=y | ||
39 | CONFIG_MTD_PARTITIONS=y | ||
40 | CONFIG_MTD_CHAR=y | ||
41 | CONFIG_MTD_BLOCK=y | ||
42 | CONFIG_MTD_RAM=y | ||
43 | CONFIG_MTD_UCLINUX=y | ||
44 | CONFIG_BLK_DEV_RAM=y | ||
45 | # CONFIG_MISC_DEVICES is not set | ||
46 | CONFIG_NETDEVICES=y | ||
47 | CONFIG_NET_ETHERNET=y | ||
48 | CONFIG_FEC=y | ||
49 | # CONFIG_NETDEV_1000 is not set | ||
50 | # CONFIG_NETDEV_10000 is not set | ||
51 | # CONFIG_INPUT is not set | ||
52 | # CONFIG_SERIO is not set | ||
53 | # CONFIG_VT is not set | ||
54 | CONFIG_SERIAL_MCF=y | ||
55 | CONFIG_SERIAL_MCF_CONSOLE=y | ||
56 | # CONFIG_UNIX98_PTYS is not set | ||
57 | # CONFIG_HWMON is not set | ||
58 | # CONFIG_USB_SUPPORT is not set | ||
59 | CONFIG_EXT2_FS=y | ||
60 | # CONFIG_FILE_LOCKING is not set | ||
61 | # CONFIG_DNOTIFY is not set | ||
62 | CONFIG_ROMFS_FS=y | ||
63 | CONFIG_ROMFS_BACKED_BY_MTD=y | ||
64 | # CONFIG_NETWORK_FILESYSTEMS is not set | ||
65 | # CONFIG_RCU_CPU_STALL_DETECTOR is not set | ||
66 | CONFIG_BOOTPARAM=y | ||
67 | CONFIG_BOOTPARAM_STRING="root=/dev/mtdblock0" | ||