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>
This commit is contained in:
29
arch/arc/plat-arcfpga/platform.c
Normal file
29
arch/arc/plat-arcfpga/platform.c
Normal file
@@ -0,0 +1,29 @@
|
||||
/*
|
||||
* ARC FPGA Platform support code
|
||||
*
|
||||
* Copyright (C) 2012 Synopsys, Inc. (www.synopsys.com)
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License version 2 as
|
||||
* published by the Free Software Foundation.
|
||||
*/
|
||||
|
||||
#include <linux/types.h>
|
||||
#include <linux/init.h>
|
||||
#include <linux/platform_device.h>
|
||||
|
||||
/*
|
||||
* Early Platform Initialization called from setup_arch()
|
||||
*/
|
||||
void __init arc_platform_early_init(void)
|
||||
{
|
||||
pr_info("[plat-arcfpga]: registering early dev resources\n");
|
||||
}
|
||||
|
||||
int __init fpga_plat_init(void)
|
||||
{
|
||||
pr_info("[plat-arcfpga]: registering device resources\n");
|
||||
|
||||
return 0;
|
||||
}
|
||||
arch_initcall(fpga_plat_init);
|
Reference in New Issue
Block a user