| OLD | NEW |
| 1 /* linux/arch/arm/mach-s5pv210/mach-voguev210.c | 1 /* linux/arch/arm/mach-s5pv210/mach-voguev210.c |
| 2 * | 2 * |
| 3 * Copyright (c) 2010 Samsung Electronics Co., Ltd. | 3 * Copyright (c) 2010 Samsung Electronics Co., Ltd. |
| 4 * http://www.samsung.com/ | 4 * http://www.samsung.com/ |
| 5 * | 5 * |
| 6 * This program is free software; you can redistribute it and/or modify | 6 * This program is free software; you can redistribute it and/or modify |
| 7 * it under the terms of the GNU General Public License version 2 as | 7 * it under the terms of the GNU General Public License version 2 as |
| 8 * published by the Free Software Foundation. | 8 * published by the Free Software Foundation. |
| 9 */ | 9 */ |
| 10 | 10 |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 }; | 93 }; |
| 94 | 94 |
| 95 static struct platform_device *voguev210_devices[] __initdata = { | 95 static struct platform_device *voguev210_devices[] __initdata = { |
| 96 #ifdef CONFIG_FB_S3C | 96 #ifdef CONFIG_FB_S3C |
| 97 &s3c_device_fb, | 97 &s3c_device_fb, |
| 98 #endif | 98 #endif |
| 99 | 99 |
| 100 #ifdef CONFIG_VIDEO_MFC50 | 100 #ifdef CONFIG_VIDEO_MFC50 |
| 101 &s3c_device_mfc, | 101 &s3c_device_mfc, |
| 102 #endif | 102 #endif |
| 103 |
| 104 #ifdef CONFIG_VIDEO_TV20 |
| 105 &s5p_device_tvout, |
| 106 &s5p_device_cec, |
| 107 &s5p_device_hpd, |
| 108 #endif |
| 103 }; | 109 }; |
| 104 | 110 |
| 105 static void __init voguev210_fixup(struct machine_desc *desc, | 111 static void __init voguev210_fixup(struct machine_desc *desc, |
| 106 struct tag *tags, char **cmdline, | 112 struct tag *tags, char **cmdline, |
| 107 struct meminfo *mi) | 113 struct meminfo *mi) |
| 108 { | 114 { |
| 109 u32 i = 0; | 115 u32 i = 0; |
| 110 | 116 |
| 111 for (i = 0; i < ARRAY_SIZE(s3c_meminfo); i++) | 117 for (i = 0; i < ARRAY_SIZE(s3c_meminfo); i++) |
| 112 mi->bank[i] = s3c_meminfo[i]; | 118 mi->bank[i] = s3c_meminfo[i]; |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 144 /* Maintainer: Kukjin Kim <kgene.kim@samsung.com> */ | 150 /* Maintainer: Kukjin Kim <kgene.kim@samsung.com> */ |
| 145 .phys_io = S3C_PA_UART & 0xfff00000, | 151 .phys_io = S3C_PA_UART & 0xfff00000, |
| 146 .io_pg_offst = (((u32)S3C_VA_UART) >> 18) & 0xfffc, | 152 .io_pg_offst = (((u32)S3C_VA_UART) >> 18) & 0xfffc, |
| 147 .boot_params = S5P_PA_SDRAM + 0x100, | 153 .boot_params = S5P_PA_SDRAM + 0x100, |
| 148 .fixup = voguev210_fixup, | 154 .fixup = voguev210_fixup, |
| 149 .init_irq = s5pv210_init_irq, | 155 .init_irq = s5pv210_init_irq, |
| 150 .map_io = voguev210_map_io, | 156 .map_io = voguev210_map_io, |
| 151 .init_machine = voguev210_machine_init, | 157 .init_machine = voguev210_machine_init, |
| 152 .timer = &s5p_systimer, | 158 .timer = &s5p_systimer, |
| 153 MACHINE_END | 159 MACHINE_END |
| OLD | NEW |