Skip to content

Commit

Permalink
Blackfin: allow boards to register early devices
Browse files Browse the repository at this point in the history
Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
  • Loading branch information
Sonic Zhang authored and Mike Frysinger committed Mar 9, 2010
1 parent df5de26 commit b635f19
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions arch/blackfin/kernel/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -792,10 +792,17 @@ static inline int __init get_mem_size(void)
BUG();
}

__attribute__((weak))
void __init native_machine_early_platform_add_devices(void)
{
}

void __init setup_arch(char **cmdline_p)
{
unsigned long sclk, cclk;

native_machine_early_platform_add_devices();

enable_shadow_console();

/* Check to make sure we are running on the right processor */
Expand Down

0 comments on commit b635f19

Please sign in to comment.