Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b635f191 authored by Sonic Zhang's avatar Sonic Zhang Committed by Mike Frysinger
Browse files

Blackfin: allow boards to register early devices

parent df5de261
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -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 */