aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arc/plat-arcfpga/platform.c
diff options
context:
space:
mode:
authorVineet Gupta <vgupta@synopsys.com>2014-09-10 01:49:28 -0400
committerVineet Gupta <vgupta@synopsys.com>2014-10-13 05:16:14 -0400
commit72f933e77cfc8c7e38e7214fd774806eb7ecc038 (patch)
treea804b9fc0582b95975a79a8784a8a42f7fd237ee /arch/arc/plat-arcfpga/platform.c
parentd7f8a085d4f48501b1fa253b48ec4ad7cb4d02cc (diff)
ARC: [arcfpga] Remove more dead code
specifically after switching to generic early arc uart, whole bunch of code is no longer needed Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc/plat-arcfpga/platform.c')
-rw-r--r--arch/arc/plat-arcfpga/platform.c20
1 files changed, 1 insertions, 19 deletions
diff --git a/arch/arc/plat-arcfpga/platform.c b/arch/arc/plat-arcfpga/platform.c
index b23d5fc59a48..afc88254acc1 100644
--- a/arch/arc/plat-arcfpga/platform.c
+++ b/arch/arc/plat-arcfpga/platform.c
@@ -8,27 +8,9 @@
8 * published by the Free Software Foundation. 8 * published by the Free Software Foundation.
9 */ 9 */
10 10
11#include <linux/types.h>
12#include <linux/init.h> 11#include <linux/init.h>
13#include <linux/device.h>
14#include <linux/platform_device.h>
15#include <linux/io.h>
16#include <linux/console.h>
17#include <asm/setup.h>
18#include <asm/clk.h>
19#include <asm/mach_desc.h> 12#include <asm/mach_desc.h>
20#include <plat/memmap.h>
21#include <plat/smp.h> 13#include <plat/smp.h>
22#include <plat/irq.h>
23
24static void __init plat_fpga_early_init(void)
25{
26 pr_info("[plat-arcfpga]: registering early dev resources\n");
27
28#ifdef CONFIG_ISS_SMP_EXTN
29 iss_model_init_early_smp();
30#endif
31}
32 14
33/*----------------------- Machine Descriptions ------------------------------ 15/*----------------------- Machine Descriptions ------------------------------
34 * 16 *
@@ -46,8 +28,8 @@ static const char *legacy_fpga_compat[] __initconst = {
46 28
47MACHINE_START(LEGACY_FPGA, "legacy_fpga") 29MACHINE_START(LEGACY_FPGA, "legacy_fpga")
48 .dt_compat = legacy_fpga_compat, 30 .dt_compat = legacy_fpga_compat,
49 .init_early = plat_fpga_early_init,
50#ifdef CONFIG_ISS_SMP_EXTN 31#ifdef CONFIG_ISS_SMP_EXTN
32 .init_early = iss_model_init_early_smp,
51 .init_smp = iss_model_init_smp, 33 .init_smp = iss_model_init_smp,
52#endif 34#endif
53MACHINE_END 35MACHINE_END