diff options
author | Paul Mundt <lethal@linux-sh.org> | 2011-01-13 04:38:28 -0500 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2011-01-13 04:38:28 -0500 |
commit | 8b6f08eaef16dfcfebc32fa9a017bf70336ad9ec (patch) | |
tree | 9f29f39de67b85baad5eca7d7165549a166c4367 /arch | |
parent | 4ae26f46c98f58ef19ad34f475617b40740d2faa (diff) | |
parent | 8a453cac94803910305f7e95cbd157b6bbd88811 (diff) |
Merge branch 'sh/alphaproject' into sh-latest
Diffstat (limited to 'arch')
-rw-r--r-- | arch/sh/boards/Kconfig | 18 | ||||
-rw-r--r-- | arch/sh/boards/Makefile | 2 | ||||
-rw-r--r-- | arch/sh/boards/board-apsh4a3a.c | 175 | ||||
-rw-r--r-- | arch/sh/boards/board-apsh4ad0a.c | 125 | ||||
-rw-r--r-- | arch/sh/configs/apsh4a3a_defconfig | 102 | ||||
-rw-r--r-- | arch/sh/configs/apsh4ad0a_defconfig | 133 | ||||
-rw-r--r-- | arch/sh/tools/mach-types | 3 |
7 files changed, 558 insertions, 0 deletions
diff --git a/arch/sh/boards/Kconfig b/arch/sh/boards/Kconfig index 2018c7ea4c93..d893411022d5 100644 --- a/arch/sh/boards/Kconfig +++ b/arch/sh/boards/Kconfig | |||
@@ -3,6 +3,9 @@ menu "Board support" | |||
3 | config SOLUTION_ENGINE | 3 | config SOLUTION_ENGINE |
4 | bool | 4 | bool |
5 | 5 | ||
6 | config SH_ALPHA_BOARD | ||
7 | bool | ||
8 | |||
6 | config SH_SOLUTION_ENGINE | 9 | config SH_SOLUTION_ENGINE |
7 | bool "SolutionEngine" | 10 | bool "SolutionEngine" |
8 | select SOLUTION_ENGINE | 11 | select SOLUTION_ENGINE |
@@ -320,6 +323,21 @@ config SH_SH2007 | |||
320 | Compact Flash socket, two serial ports and PC-104 bus. | 323 | Compact Flash socket, two serial ports and PC-104 bus. |
321 | More information at <http://sh2000.sh-linux.org>. | 324 | More information at <http://sh2000.sh-linux.org>. |
322 | 325 | ||
326 | config SH_APSH4A3A | ||
327 | bool "AP-SH4A-3A" | ||
328 | select SH_ALPHA_BOARD | ||
329 | depends on CPU_SUBTYPE_SH7785 | ||
330 | help | ||
331 | Select AP-SH4A-3A if configuring for an ALPHAPROJECT AP-SH4A-3A. | ||
332 | |||
333 | config SH_APSH4AD0A | ||
334 | bool "AP-SH4AD-0A" | ||
335 | select SH_ALPHA_BOARD | ||
336 | select SYS_SUPPORTS_PCI | ||
337 | depends on CPU_SUBTYPE_SH7786 | ||
338 | help | ||
339 | Select AP-SH4AD-0A if configuring for an ALPHAPROJECT AP-SH4AD-0A. | ||
340 | |||
323 | endmenu | 341 | endmenu |
324 | 342 | ||
325 | source "arch/sh/boards/mach-r2d/Kconfig" | 343 | source "arch/sh/boards/mach-r2d/Kconfig" |
diff --git a/arch/sh/boards/Makefile b/arch/sh/boards/Makefile index be7d11d04b26..975a0f64ff20 100644 --- a/arch/sh/boards/Makefile +++ b/arch/sh/boards/Makefile | |||
@@ -13,3 +13,5 @@ obj-$(CONFIG_SH_ESPT) += board-espt.o | |||
13 | obj-$(CONFIG_SH_POLARIS) += board-polaris.o | 13 | obj-$(CONFIG_SH_POLARIS) += board-polaris.o |
14 | obj-$(CONFIG_SH_TITAN) += board-titan.o | 14 | obj-$(CONFIG_SH_TITAN) += board-titan.o |
15 | obj-$(CONFIG_SH_SH7757LCR) += board-sh7757lcr.o | 15 | obj-$(CONFIG_SH_SH7757LCR) += board-sh7757lcr.o |
16 | obj-$(CONFIG_SH_APSH4A3A) += board-apsh4a3a.o | ||
17 | obj-$(CONFIG_SH_APSH4AD0A) += board-apsh4ad0a.o | ||
diff --git a/arch/sh/boards/board-apsh4a3a.c b/arch/sh/boards/board-apsh4a3a.c new file mode 100644 index 000000000000..8e2a27057bc9 --- /dev/null +++ b/arch/sh/boards/board-apsh4a3a.c | |||
@@ -0,0 +1,175 @@ | |||
1 | /* | ||
2 | * ALPHAPROJECT AP-SH4A-3A Support. | ||
3 | * | ||
4 | * Copyright (C) 2010 ALPHAPROJECT Co.,Ltd. | ||
5 | * Copyright (C) 2008 Yoshihiro Shimoda | ||
6 | * Copyright (C) 2009 Paul Mundt | ||
7 | * | ||
8 | * This file is subject to the terms and conditions of the GNU General Public | ||
9 | * License. See the file "COPYING" in the main directory of this archive | ||
10 | * for more details. | ||
11 | */ | ||
12 | #include <linux/init.h> | ||
13 | #include <linux/platform_device.h> | ||
14 | #include <linux/io.h> | ||
15 | #include <linux/mtd/physmap.h> | ||
16 | #include <linux/smsc911x.h> | ||
17 | #include <linux/irq.h> | ||
18 | #include <linux/clk.h> | ||
19 | #include <asm/machvec.h> | ||
20 | #include <asm/sizes.h> | ||
21 | #include <asm/clock.h> | ||
22 | |||
23 | static struct mtd_partition nor_flash_partitions[] = { | ||
24 | { | ||
25 | .name = "loader", | ||
26 | .offset = 0x00000000, | ||
27 | .size = 512 * 1024, | ||
28 | }, | ||
29 | { | ||
30 | .name = "bootenv", | ||
31 | .offset = MTDPART_OFS_APPEND, | ||
32 | .size = 512 * 1024, | ||
33 | }, | ||
34 | { | ||
35 | .name = "kernel", | ||
36 | .offset = MTDPART_OFS_APPEND, | ||
37 | .size = 4 * 1024 * 1024, | ||
38 | }, | ||
39 | { | ||
40 | .name = "data", | ||
41 | .offset = MTDPART_OFS_APPEND, | ||
42 | .size = MTDPART_SIZ_FULL, | ||
43 | }, | ||
44 | }; | ||
45 | |||
46 | static struct physmap_flash_data nor_flash_data = { | ||
47 | .width = 4, | ||
48 | .parts = nor_flash_partitions, | ||
49 | .nr_parts = ARRAY_SIZE(nor_flash_partitions), | ||
50 | }; | ||
51 | |||
52 | static struct resource nor_flash_resources[] = { | ||
53 | [0] = { | ||
54 | .start = 0x00000000, | ||
55 | .end = 0x01000000 - 1, | ||
56 | .flags = IORESOURCE_MEM, | ||
57 | } | ||
58 | }; | ||
59 | |||
60 | static struct platform_device nor_flash_device = { | ||
61 | .name = "physmap-flash", | ||
62 | .dev = { | ||
63 | .platform_data = &nor_flash_data, | ||
64 | }, | ||
65 | .num_resources = ARRAY_SIZE(nor_flash_resources), | ||
66 | .resource = nor_flash_resources, | ||
67 | }; | ||
68 | |||
69 | static struct resource smsc911x_resources[] = { | ||
70 | [0] = { | ||
71 | .name = "smsc911x-memory", | ||
72 | .start = 0xA4000000, | ||
73 | .end = 0xA4000000 + SZ_256 - 1, | ||
74 | .flags = IORESOURCE_MEM, | ||
75 | }, | ||
76 | [1] = { | ||
77 | .name = "smsc911x-irq", | ||
78 | .start = evt2irq(0x200), | ||
79 | .end = evt2irq(0x200), | ||
80 | .flags = IORESOURCE_IRQ, | ||
81 | }, | ||
82 | }; | ||
83 | |||
84 | static struct smsc911x_platform_config smsc911x_config = { | ||
85 | .irq_polarity = SMSC911X_IRQ_POLARITY_ACTIVE_LOW, | ||
86 | .irq_type = SMSC911X_IRQ_TYPE_OPEN_DRAIN, | ||
87 | .flags = SMSC911X_USE_16BIT, | ||
88 | .phy_interface = PHY_INTERFACE_MODE_MII, | ||
89 | }; | ||
90 | |||
91 | static struct platform_device smsc911x_device = { | ||
92 | .name = "smsc911x", | ||
93 | .id = -1, | ||
94 | .num_resources = ARRAY_SIZE(smsc911x_resources), | ||
95 | .resource = smsc911x_resources, | ||
96 | .dev = { | ||
97 | .platform_data = &smsc911x_config, | ||
98 | }, | ||
99 | }; | ||
100 | |||
101 | static struct platform_device *apsh4a3a_devices[] __initdata = { | ||
102 | &nor_flash_device, | ||
103 | &smsc911x_device, | ||
104 | }; | ||
105 | |||
106 | static int __init apsh4a3a_devices_setup(void) | ||
107 | { | ||
108 | return platform_add_devices(apsh4a3a_devices, | ||
109 | ARRAY_SIZE(apsh4a3a_devices)); | ||
110 | } | ||
111 | device_initcall(apsh4a3a_devices_setup); | ||
112 | |||
113 | static int apsh4a3a_clk_init(void) | ||
114 | { | ||
115 | struct clk *clk; | ||
116 | int ret; | ||
117 | |||
118 | clk = clk_get(NULL, "extal"); | ||
119 | if (!clk || IS_ERR(clk)) | ||
120 | return PTR_ERR(clk); | ||
121 | ret = clk_set_rate(clk, 33333000); | ||
122 | clk_put(clk); | ||
123 | |||
124 | return ret; | ||
125 | } | ||
126 | |||
127 | /* Initialize the board */ | ||
128 | static void __init apsh4a3a_setup(char **cmdline_p) | ||
129 | { | ||
130 | printk(KERN_INFO "Alpha Project AP-SH4A-3A support:\n"); | ||
131 | } | ||
132 | |||
133 | static void __init apsh4a3a_init_irq(void) | ||
134 | { | ||
135 | plat_irq_setup_pins(IRQ_MODE_IRQ7654); | ||
136 | } | ||
137 | |||
138 | /* Return the board specific boot mode pin configuration */ | ||
139 | static int apsh4a3a_mode_pins(void) | ||
140 | { | ||
141 | int value = 0; | ||
142 | |||
143 | /* These are the factory default settings of SW1 and SW2. | ||
144 | * If you change these dip switches then you will need to | ||
145 | * adjust the values below as well. | ||
146 | */ | ||
147 | value &= ~MODE_PIN0; /* Clock Mode 16 */ | ||
148 | value &= ~MODE_PIN1; | ||
149 | value &= ~MODE_PIN2; | ||
150 | value &= ~MODE_PIN3; | ||
151 | value |= MODE_PIN4; | ||
152 | value &= ~MODE_PIN5; /* 16-bit Area0 bus width */ | ||
153 | value |= MODE_PIN6; /* Area 0 SRAM interface */ | ||
154 | value |= MODE_PIN7; | ||
155 | value |= MODE_PIN8; /* Little Endian */ | ||
156 | value |= MODE_PIN9; /* Master Mode */ | ||
157 | value |= MODE_PIN10; /* Crystal resonator */ | ||
158 | value |= MODE_PIN11; /* Display Unit */ | ||
159 | value |= MODE_PIN12; | ||
160 | value &= ~MODE_PIN13; /* 29-bit address mode */ | ||
161 | value |= MODE_PIN14; /* No PLL step-up */ | ||
162 | |||
163 | return value; | ||
164 | } | ||
165 | |||
166 | /* | ||
167 | * The Machine Vector | ||
168 | */ | ||
169 | static struct sh_machine_vector mv_apsh4a3a __initmv = { | ||
170 | .mv_name = "AP-SH4A-3A", | ||
171 | .mv_setup = apsh4a3a_setup, | ||
172 | .mv_clk_init = apsh4a3a_clk_init, | ||
173 | .mv_init_irq = apsh4a3a_init_irq, | ||
174 | .mv_mode_pins = apsh4a3a_mode_pins, | ||
175 | }; | ||
diff --git a/arch/sh/boards/board-apsh4ad0a.c b/arch/sh/boards/board-apsh4ad0a.c new file mode 100644 index 000000000000..e2bd218a054e --- /dev/null +++ b/arch/sh/boards/board-apsh4ad0a.c | |||
@@ -0,0 +1,125 @@ | |||
1 | /* | ||
2 | * ALPHAPROJECT AP-SH4AD-0A Support. | ||
3 | * | ||
4 | * Copyright (C) 2010 ALPHAPROJECT Co.,Ltd. | ||
5 | * Copyright (C) 2010 Matt Fleming | ||
6 | * Copyright (C) 2010 Paul Mundt | ||
7 | * | ||
8 | * This file is subject to the terms and conditions of the GNU General Public | ||
9 | * License. See the file "COPYING" in the main directory of this archive | ||
10 | * for more details. | ||
11 | */ | ||
12 | #include <linux/init.h> | ||
13 | #include <linux/platform_device.h> | ||
14 | #include <linux/io.h> | ||
15 | #include <linux/smsc911x.h> | ||
16 | #include <linux/irq.h> | ||
17 | #include <linux/clk.h> | ||
18 | #include <asm/machvec.h> | ||
19 | #include <asm/sizes.h> | ||
20 | |||
21 | static struct resource smsc911x_resources[] = { | ||
22 | [0] = { | ||
23 | .name = "smsc911x-memory", | ||
24 | .start = 0xA4000000, | ||
25 | .end = 0xA4000000 + SZ_256 - 1, | ||
26 | .flags = IORESOURCE_MEM, | ||
27 | }, | ||
28 | [1] = { | ||
29 | .name = "smsc911x-irq", | ||
30 | .start = evt2irq(0x200), | ||
31 | .end = evt2irq(0x200), | ||
32 | .flags = IORESOURCE_IRQ, | ||
33 | }, | ||
34 | }; | ||
35 | |||
36 | static struct smsc911x_platform_config smsc911x_config = { | ||
37 | .irq_polarity = SMSC911X_IRQ_POLARITY_ACTIVE_LOW, | ||
38 | .irq_type = SMSC911X_IRQ_TYPE_OPEN_DRAIN, | ||
39 | .flags = SMSC911X_USE_16BIT, | ||
40 | .phy_interface = PHY_INTERFACE_MODE_MII, | ||
41 | }; | ||
42 | |||
43 | static struct platform_device smsc911x_device = { | ||
44 | .name = "smsc911x", | ||
45 | .id = -1, | ||
46 | .num_resources = ARRAY_SIZE(smsc911x_resources), | ||
47 | .resource = smsc911x_resources, | ||
48 | .dev = { | ||
49 | .platform_data = &smsc911x_config, | ||
50 | }, | ||
51 | }; | ||
52 | |||
53 | static struct platform_device *apsh4ad0a_devices[] __initdata = { | ||
54 | &smsc911x_device, | ||
55 | }; | ||
56 | |||
57 | static int __init apsh4ad0a_devices_setup(void) | ||
58 | { | ||
59 | return platform_add_devices(apsh4ad0a_devices, | ||
60 | ARRAY_SIZE(apsh4ad0a_devices)); | ||
61 | } | ||
62 | device_initcall(apsh4ad0a_devices_setup); | ||
63 | |||
64 | static int apsh4ad0a_mode_pins(void) | ||
65 | { | ||
66 | int value = 0; | ||
67 | |||
68 | /* These are the factory default settings of SW1 and SW2. | ||
69 | * If you change these dip switches then you will need to | ||
70 | * adjust the values below as well. | ||
71 | */ | ||
72 | value |= MODE_PIN0; /* Clock Mode 3 */ | ||
73 | value |= MODE_PIN1; | ||
74 | value &= ~MODE_PIN2; | ||
75 | value &= ~MODE_PIN3; | ||
76 | value &= ~MODE_PIN4; /* 16-bit Area0 bus width */ | ||
77 | value |= MODE_PIN5; | ||
78 | value |= MODE_PIN6; | ||
79 | value |= MODE_PIN7; /* Normal mode */ | ||
80 | value |= MODE_PIN8; /* Little Endian */ | ||
81 | value |= MODE_PIN9; /* Crystal resonator */ | ||
82 | value &= ~MODE_PIN10; /* 29-bit address mode */ | ||
83 | value &= ~MODE_PIN11; /* PCI-E Root port */ | ||
84 | value &= ~MODE_PIN12; /* 4 lane + 1 lane */ | ||
85 | value |= MODE_PIN13; /* AUD Enable */ | ||
86 | value &= ~MODE_PIN14; /* Normal Operation */ | ||
87 | |||
88 | return value; | ||
89 | } | ||
90 | |||
91 | static int apsh4ad0a_clk_init(void) | ||
92 | { | ||
93 | struct clk *clk; | ||
94 | int ret; | ||
95 | |||
96 | clk = clk_get(NULL, "extal"); | ||
97 | if (!clk || IS_ERR(clk)) | ||
98 | return PTR_ERR(clk); | ||
99 | ret = clk_set_rate(clk, 33333000); | ||
100 | clk_put(clk); | ||
101 | |||
102 | return ret; | ||
103 | } | ||
104 | |||
105 | /* Initialize the board */ | ||
106 | static void __init apsh4ad0a_setup(char **cmdline_p) | ||
107 | { | ||
108 | pr_info("Alpha Project AP-SH4AD-0A support:\n"); | ||
109 | } | ||
110 | |||
111 | static void __init apsh4ad0a_init_irq(void) | ||
112 | { | ||
113 | plat_irq_setup_pins(IRQ_MODE_IRQ3210); | ||
114 | } | ||
115 | |||
116 | /* | ||
117 | * The Machine Vector | ||
118 | */ | ||
119 | static struct sh_machine_vector mv_apsh4ad0a __initmv = { | ||
120 | .mv_name = "AP-SH4AD-0A", | ||
121 | .mv_setup = apsh4ad0a_setup, | ||
122 | .mv_mode_pins = apsh4ad0a_mode_pins, | ||
123 | .mv_clk_init = apsh4ad0a_clk_init, | ||
124 | .mv_init_irq = apsh4ad0a_init_irq, | ||
125 | }; | ||
diff --git a/arch/sh/configs/apsh4a3a_defconfig b/arch/sh/configs/apsh4a3a_defconfig new file mode 100644 index 000000000000..6cb327977d13 --- /dev/null +++ b/arch/sh/configs/apsh4a3a_defconfig | |||
@@ -0,0 +1,102 @@ | |||
1 | CONFIG_EXPERIMENTAL=y | ||
2 | CONFIG_SYSVIPC=y | ||
3 | CONFIG_BSD_PROCESS_ACCT=y | ||
4 | CONFIG_IKCONFIG=y | ||
5 | CONFIG_IKCONFIG_PROC=y | ||
6 | CONFIG_LOG_BUF_SHIFT=14 | ||
7 | CONFIG_SYSFS_DEPRECATED=y | ||
8 | CONFIG_SYSFS_DEPRECATED_V2=y | ||
9 | CONFIG_BLK_DEV_INITRD=y | ||
10 | CONFIG_SLAB=y | ||
11 | CONFIG_PROFILING=y | ||
12 | CONFIG_MODULES=y | ||
13 | CONFIG_MODULE_UNLOAD=y | ||
14 | # CONFIG_BLK_DEV_BSG is not set | ||
15 | CONFIG_CPU_SUBTYPE_SH7785=y | ||
16 | CONFIG_MEMORY_START=0x0C000000 | ||
17 | CONFIG_FLATMEM_MANUAL=y | ||
18 | CONFIG_SH_STORE_QUEUES=y | ||
19 | CONFIG_SH_APSH4A3A=y | ||
20 | CONFIG_HIGH_RES_TIMERS=y | ||
21 | CONFIG_KEXEC=y | ||
22 | CONFIG_PREEMPT=y | ||
23 | # CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set | ||
24 | CONFIG_NET=y | ||
25 | CONFIG_PACKET=y | ||
26 | CONFIG_UNIX=y | ||
27 | CONFIG_INET=y | ||
28 | CONFIG_IP_ADVANCED_ROUTER=y | ||
29 | CONFIG_IP_PNP=y | ||
30 | CONFIG_IP_PNP_DHCP=y | ||
31 | # CONFIG_INET_LRO is not set | ||
32 | # CONFIG_IPV6 is not set | ||
33 | # CONFIG_WIRELESS is not set | ||
34 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" | ||
35 | # CONFIG_FW_LOADER is not set | ||
36 | CONFIG_MTD=y | ||
37 | CONFIG_MTD_CONCAT=y | ||
38 | CONFIG_MTD_PARTITIONS=y | ||
39 | CONFIG_MTD_CHAR=y | ||
40 | CONFIG_MTD_BLOCK=y | ||
41 | CONFIG_MTD_CFI=y | ||
42 | CONFIG_MTD_CFI_AMDSTD=y | ||
43 | CONFIG_MTD_PHYSMAP=y | ||
44 | CONFIG_BLK_DEV_RAM=y | ||
45 | CONFIG_BLK_DEV_RAM_SIZE=16384 | ||
46 | CONFIG_NETDEVICES=y | ||
47 | CONFIG_NET_ETHERNET=y | ||
48 | CONFIG_SMSC911X=y | ||
49 | # CONFIG_NETDEV_1000 is not set | ||
50 | # CONFIG_NETDEV_10000 is not set | ||
51 | # CONFIG_WLAN is not set | ||
52 | # CONFIG_INPUT_MOUSEDEV is not set | ||
53 | # CONFIG_INPUT_KEYBOARD is not set | ||
54 | # CONFIG_INPUT_MOUSE is not set | ||
55 | # CONFIG_SERIO is not set | ||
56 | CONFIG_VT_HW_CONSOLE_BINDING=y | ||
57 | CONFIG_SERIAL_SH_SCI=y | ||
58 | CONFIG_SERIAL_SH_SCI_NR_UARTS=6 | ||
59 | CONFIG_SERIAL_SH_SCI_CONSOLE=y | ||
60 | CONFIG_HW_RANDOM=y | ||
61 | # CONFIG_HWMON is not set | ||
62 | CONFIG_FB=y | ||
63 | CONFIG_FB_SH7785FB=y | ||
64 | CONFIG_FRAMEBUFFER_CONSOLE=y | ||
65 | CONFIG_FONTS=y | ||
66 | CONFIG_FONT_8x8=y | ||
67 | CONFIG_FONT_8x16=y | ||
68 | CONFIG_LOGO=y | ||
69 | # CONFIG_HID_SUPPORT is not set | ||
70 | # CONFIG_USB_SUPPORT is not set | ||
71 | CONFIG_EXT2_FS=y | ||
72 | CONFIG_EXT3_FS=y | ||
73 | # CONFIG_EXT3_DEFAULTS_TO_ORDERED is not set | ||
74 | CONFIG_MSDOS_FS=y | ||
75 | CONFIG_VFAT_FS=y | ||
76 | CONFIG_NTFS_FS=y | ||
77 | CONFIG_NTFS_RW=y | ||
78 | CONFIG_PROC_KCORE=y | ||
79 | CONFIG_TMPFS=y | ||
80 | CONFIG_JFFS2_FS=y | ||
81 | CONFIG_CRAMFS=y | ||
82 | CONFIG_NFS_FS=y | ||
83 | CONFIG_NFS_V3=y | ||
84 | CONFIG_NFS_V4=y | ||
85 | CONFIG_CIFS=y | ||
86 | CONFIG_NLS_DEFAULT="utf8" | ||
87 | CONFIG_NLS_CODEPAGE_437=y | ||
88 | CONFIG_NLS_CODEPAGE_932=y | ||
89 | CONFIG_NLS_ASCII=y | ||
90 | CONFIG_NLS_ISO8859_1=y | ||
91 | CONFIG_NLS_UTF8=y | ||
92 | # CONFIG_ENABLE_WARN_DEPRECATED is not set | ||
93 | # CONFIG_ENABLE_MUST_CHECK is not set | ||
94 | CONFIG_DEBUG_FS=y | ||
95 | CONFIG_DEBUG_KERNEL=y | ||
96 | # CONFIG_DEBUG_PREEMPT is not set | ||
97 | # CONFIG_DEBUG_BUGVERBOSE is not set | ||
98 | CONFIG_DEBUG_INFO=y | ||
99 | # CONFIG_RCU_CPU_STALL_DETECTOR is not set | ||
100 | # CONFIG_FTRACE is not set | ||
101 | # CONFIG_CRYPTO_ANSI_CPRNG is not set | ||
102 | # CONFIG_CRYPTO_HW is not set | ||
diff --git a/arch/sh/configs/apsh4ad0a_defconfig b/arch/sh/configs/apsh4ad0a_defconfig new file mode 100644 index 000000000000..e71a531f1e31 --- /dev/null +++ b/arch/sh/configs/apsh4ad0a_defconfig | |||
@@ -0,0 +1,133 @@ | |||
1 | CONFIG_EXPERIMENTAL=y | ||
2 | CONFIG_SYSVIPC=y | ||
3 | CONFIG_POSIX_MQUEUE=y | ||
4 | CONFIG_BSD_PROCESS_ACCT=y | ||
5 | CONFIG_RCU_TRACE=y | ||
6 | CONFIG_IKCONFIG=y | ||
7 | CONFIG_IKCONFIG_PROC=y | ||
8 | CONFIG_LOG_BUF_SHIFT=14 | ||
9 | CONFIG_CGROUPS=y | ||
10 | CONFIG_CGROUP_NS=y | ||
11 | CONFIG_CGROUP_FREEZER=y | ||
12 | CONFIG_CGROUP_DEVICE=y | ||
13 | CONFIG_CGROUP_CPUACCT=y | ||
14 | CONFIG_RESOURCE_COUNTERS=y | ||
15 | CONFIG_CGROUP_MEM_RES_CTLR=y | ||
16 | CONFIG_BLK_CGROUP=y | ||
17 | CONFIG_NAMESPACES=y | ||
18 | CONFIG_BLK_DEV_INITRD=y | ||
19 | CONFIG_KALLSYMS_ALL=y | ||
20 | # CONFIG_COMPAT_BRK is not set | ||
21 | CONFIG_SLAB=y | ||
22 | CONFIG_PROFILING=y | ||
23 | CONFIG_MODULES=y | ||
24 | CONFIG_MODULE_UNLOAD=y | ||
25 | # CONFIG_LBDAF is not set | ||
26 | # CONFIG_BLK_DEV_BSG is not set | ||
27 | CONFIG_CFQ_GROUP_IOSCHED=y | ||
28 | CONFIG_CPU_SUBTYPE_SH7786=y | ||
29 | CONFIG_MEMORY_SIZE=0x10000000 | ||
30 | CONFIG_HUGETLB_PAGE_SIZE_1MB=y | ||
31 | CONFIG_MEMORY_HOTPLUG=y | ||
32 | CONFIG_MEMORY_HOTREMOVE=y | ||
33 | CONFIG_KSM=y | ||
34 | CONFIG_SH_STORE_QUEUES=y | ||
35 | CONFIG_SH_APSH4AD0A=y | ||
36 | CONFIG_NO_HZ=y | ||
37 | CONFIG_HIGH_RES_TIMERS=y | ||
38 | CONFIG_CPU_FREQ=y | ||
39 | CONFIG_CPU_FREQ_GOV_POWERSAVE=m | ||
40 | CONFIG_CPU_FREQ_GOV_USERSPACE=m | ||
41 | CONFIG_CPU_FREQ_GOV_ONDEMAND=m | ||
42 | CONFIG_CPU_FREQ_GOV_CONSERVATIVE=m | ||
43 | CONFIG_SH_CPU_FREQ=y | ||
44 | CONFIG_KEXEC=y | ||
45 | CONFIG_SECCOMP=y | ||
46 | CONFIG_PREEMPT=y | ||
47 | # CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set | ||
48 | CONFIG_BINFMT_MISC=y | ||
49 | CONFIG_PM=y | ||
50 | CONFIG_PM_DEBUG=y | ||
51 | CONFIG_PM_VERBOSE=y | ||
52 | CONFIG_PM_RUNTIME=y | ||
53 | CONFIG_CPU_IDLE=y | ||
54 | CONFIG_NET=y | ||
55 | CONFIG_PACKET=y | ||
56 | CONFIG_UNIX=y | ||
57 | CONFIG_NET_KEY=y | ||
58 | CONFIG_INET=y | ||
59 | # CONFIG_INET_LRO is not set | ||
60 | # CONFIG_IPV6 is not set | ||
61 | # CONFIG_WIRELESS is not set | ||
62 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" | ||
63 | # CONFIG_FW_LOADER is not set | ||
64 | CONFIG_MTD=y | ||
65 | CONFIG_MTD_CFI=y | ||
66 | CONFIG_BLK_DEV_RAM=y | ||
67 | CONFIG_BLK_DEV_RAM_SIZE=16384 | ||
68 | CONFIG_SCSI=y | ||
69 | CONFIG_BLK_DEV_SD=y | ||
70 | CONFIG_SCSI_MULTI_LUN=y | ||
71 | # CONFIG_SCSI_LOWLEVEL is not set | ||
72 | CONFIG_NETDEVICES=y | ||
73 | CONFIG_MDIO_BITBANG=y | ||
74 | CONFIG_NET_ETHERNET=y | ||
75 | CONFIG_SMSC911X=y | ||
76 | # CONFIG_NETDEV_1000 is not set | ||
77 | # CONFIG_NETDEV_10000 is not set | ||
78 | # CONFIG_WLAN is not set | ||
79 | CONFIG_INPUT_EVDEV=y | ||
80 | # CONFIG_INPUT_KEYBOARD is not set | ||
81 | # CONFIG_INPUT_MOUSE is not set | ||
82 | # CONFIG_SERIO is not set | ||
83 | CONFIG_SERIAL_SH_SCI=y | ||
84 | CONFIG_SERIAL_SH_SCI_NR_UARTS=6 | ||
85 | CONFIG_SERIAL_SH_SCI_CONSOLE=y | ||
86 | # CONFIG_LEGACY_PTYS is not set | ||
87 | # CONFIG_HW_RANDOM is not set | ||
88 | # CONFIG_HWMON is not set | ||
89 | CONFIG_VIDEO_OUTPUT_CONTROL=y | ||
90 | CONFIG_FB=y | ||
91 | CONFIG_FB_SH7785FB=y | ||
92 | CONFIG_FRAMEBUFFER_CONSOLE=y | ||
93 | CONFIG_FONTS=y | ||
94 | CONFIG_FONT_8x8=y | ||
95 | CONFIG_FONT_8x16=y | ||
96 | CONFIG_LOGO=y | ||
97 | CONFIG_USB=y | ||
98 | CONFIG_USB_DEBUG=y | ||
99 | CONFIG_USB_MON=y | ||
100 | CONFIG_USB_OHCI_HCD=y | ||
101 | CONFIG_USB_STORAGE=y | ||
102 | CONFIG_EXT2_FS=y | ||
103 | CONFIG_EXT3_FS=y | ||
104 | # CONFIG_EXT3_DEFAULTS_TO_ORDERED is not set | ||
105 | CONFIG_MSDOS_FS=y | ||
106 | CONFIG_VFAT_FS=y | ||
107 | CONFIG_NTFS_FS=y | ||
108 | CONFIG_NTFS_RW=y | ||
109 | CONFIG_PROC_KCORE=y | ||
110 | CONFIG_TMPFS=y | ||
111 | CONFIG_HUGETLBFS=y | ||
112 | CONFIG_JFFS2_FS=y | ||
113 | CONFIG_CRAMFS=y | ||
114 | CONFIG_NFS_FS=y | ||
115 | CONFIG_NFS_V3=y | ||
116 | CONFIG_NFS_V4=y | ||
117 | CONFIG_CIFS=y | ||
118 | CONFIG_NLS_DEFAULT="utf8" | ||
119 | CONFIG_NLS_CODEPAGE_437=y | ||
120 | CONFIG_NLS_CODEPAGE_932=y | ||
121 | CONFIG_NLS_ASCII=y | ||
122 | CONFIG_NLS_ISO8859_1=y | ||
123 | CONFIG_NLS_UTF8=y | ||
124 | # CONFIG_ENABLE_MUST_CHECK is not set | ||
125 | CONFIG_MAGIC_SYSRQ=y | ||
126 | CONFIG_DEBUG_KERNEL=y | ||
127 | CONFIG_DEBUG_SHIRQ=y | ||
128 | CONFIG_DETECT_HUNG_TASK=y | ||
129 | CONFIG_DEBUG_INFO=y | ||
130 | CONFIG_DEBUG_VM=y | ||
131 | # CONFIG_RCU_CPU_STALL_DETECTOR is not set | ||
132 | CONFIG_DWARF_UNWINDER=y | ||
133 | # CONFIG_CRYPTO_ANSI_CPRNG is not set | ||
diff --git a/arch/sh/tools/mach-types b/arch/sh/tools/mach-types index 0e68465e7b50..6dd56c4d0054 100644 --- a/arch/sh/tools/mach-types +++ b/arch/sh/tools/mach-types | |||
@@ -9,6 +9,7 @@ SE SH_SOLUTION_ENGINE | |||
9 | HIGHLANDER SH_HIGHLANDER | 9 | HIGHLANDER SH_HIGHLANDER |
10 | RTS7751R2D SH_RTS7751R2D | 10 | RTS7751R2D SH_RTS7751R2D |
11 | RSK SH_RSK | 11 | RSK SH_RSK |
12 | ALPHA_BOARD SH_ALPHA_BOARD | ||
12 | 13 | ||
13 | # | 14 | # |
14 | # List of companion chips / MFDs. | 15 | # List of companion chips / MFDs. |
@@ -61,3 +62,5 @@ ESPT SH_ESPT | |||
61 | POLARIS SH_POLARIS | 62 | POLARIS SH_POLARIS |
62 | KFR2R09 SH_KFR2R09 | 63 | KFR2R09 SH_KFR2R09 |
63 | ECOVEC SH_ECOVEC | 64 | ECOVEC SH_ECOVEC |
65 | APSH4A3A SH_APSH4A3A | ||
66 | APSH4AD0A SH_APSH4AD0A | ||