|
@@ -29,6 +29,7 @@
|
|
|
#include <linux/mmzone.h>
|
|
|
#include <linux/clk.h>
|
|
|
#include <linux/delay.h>
|
|
|
+#include <linux/platform_device.h>
|
|
|
#include <asm/uaccess.h>
|
|
|
#include <asm/io.h>
|
|
|
#include <asm/page.h>
|
|
@@ -328,6 +329,10 @@ static int __init parse_elfcorehdr(char *arg)
|
|
|
early_param("elfcorehdr", parse_elfcorehdr);
|
|
|
#endif
|
|
|
|
|
|
+void __init __attribute__ ((weak)) plat_early_device_setup(void)
|
|
|
+{
|
|
|
+}
|
|
|
+
|
|
|
void __init setup_arch(char **cmdline_p)
|
|
|
{
|
|
|
enable_mmu();
|
|
@@ -381,6 +386,8 @@ void __init setup_arch(char **cmdline_p)
|
|
|
|
|
|
parse_early_param();
|
|
|
|
|
|
+ plat_early_device_setup();
|
|
|
+
|
|
|
sh_mv_setup();
|
|
|
|
|
|
/*
|