Blackfin: allow boards to register early devices
Signed-off-by: Sonic Zhang <sonic.zhang@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
parent
df5de26130
commit
b635f1912d
1 changed files with 7 additions and 0 deletions
|
@ -792,10 +792,17 @@ static inline int __init get_mem_size(void)
|
||||||
BUG();
|
BUG();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
__attribute__((weak))
|
||||||
|
void __init native_machine_early_platform_add_devices(void)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
void __init setup_arch(char **cmdline_p)
|
void __init setup_arch(char **cmdline_p)
|
||||||
{
|
{
|
||||||
unsigned long sclk, cclk;
|
unsigned long sclk, cclk;
|
||||||
|
|
||||||
|
native_machine_early_platform_add_devices();
|
||||||
|
|
||||||
enable_shadow_console();
|
enable_shadow_console();
|
||||||
|
|
||||||
/* Check to make sure we are running on the right processor */
|
/* Check to make sure we are running on the right processor */
|
||||||
|
|
Loading…
Add table
Reference in a new issue