diff options
author | Vineet Gupta <vgupta@synopsys.com> | 2013-01-18 04:42:20 -0500 |
---|---|---|
committer | Vineet Gupta <vgupta@synopsys.com> | 2013-02-15 12:45:54 -0500 |
commit | c121c5063c0674fad6811f0b0d86ec3bc6eecbbd (patch) | |
tree | 956c6f18fcf72d3e20a86168669237ecdabd8a13 /arch/arc/plat-arcfpga/platform.c | |
parent | 1162b0701b14ba112d4e3fe5c27c694caf983539 (diff) |
ARC: Boot #1: low-level, setup_arch(), /proc/cpuinfo, mem init
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arc/plat-arcfpga/platform.c')
-rw-r--r-- | arch/arc/plat-arcfpga/platform.c | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/arch/arc/plat-arcfpga/platform.c b/arch/arc/plat-arcfpga/platform.c new file mode 100644 index 000000000000..7b5dcab5becb --- /dev/null +++ b/arch/arc/plat-arcfpga/platform.c | |||
@@ -0,0 +1,29 @@ | |||
1 | /* | ||
2 | * ARC FPGA Platform support code | ||
3 | * | ||
4 | * Copyright (C) 2012 Synopsys, Inc. (www.synopsys.com) | ||
5 | * | ||
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 | ||
8 | * published by the Free Software Foundation. | ||
9 | */ | ||
10 | |||
11 | #include <linux/types.h> | ||
12 | #include <linux/init.h> | ||
13 | #include <linux/platform_device.h> | ||
14 | |||
15 | /* | ||
16 | * Early Platform Initialization called from setup_arch() | ||
17 | */ | ||
18 | void __init arc_platform_early_init(void) | ||
19 | { | ||
20 | pr_info("[plat-arcfpga]: registering early dev resources\n"); | ||
21 | } | ||
22 | |||
23 | int __init fpga_plat_init(void) | ||
24 | { | ||
25 | pr_info("[plat-arcfpga]: registering device resources\n"); | ||
26 | |||
27 | return 0; | ||
28 | } | ||
29 | arch_initcall(fpga_plat_init); | ||