ARM: new platform for Energy Micro's EFM32 Cortex-M3 SoCs
There are still some missing parts (e.g. board support, device trees), but with these bits added on top of this patch I can successfully boot a EFM32GG-DK3750 board that uses an EFM32GG990F1024. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
This commit is contained in:
1
arch/arm/mach-efm32/Makefile
Normal file
1
arch/arm/mach-efm32/Makefile
Normal file
@@ -0,0 +1 @@
|
||||
obj-y += dtmachine.o
|
3
arch/arm/mach-efm32/Makefile.boot
Normal file
3
arch/arm/mach-efm32/Makefile.boot
Normal file
@@ -0,0 +1,3 @@
|
||||
# Empty file waiting for deletion once Makefile.boot isn't needed any more.
|
||||
# Patch waits for application at
|
||||
# http://www.arm.linux.org.uk/developer/patches/viewpatch.php?id=7889/1 .
|
15
arch/arm/mach-efm32/dtmachine.c
Normal file
15
arch/arm/mach-efm32/dtmachine.c
Normal file
@@ -0,0 +1,15 @@
|
||||
#include <linux/kernel.h>
|
||||
|
||||
#include <asm/v7m.h>
|
||||
|
||||
#include <asm/mach/arch.h>
|
||||
|
||||
static const char *const efm32gg_compat[] __initconst = {
|
||||
"efm32,dk3750",
|
||||
NULL
|
||||
};
|
||||
|
||||
DT_MACHINE_START(EFM32DT, "EFM32 (Device Tree Support)")
|
||||
.dt_compat = efm32gg_compat,
|
||||
.restart = armv7m_restart,
|
||||
MACHINE_END
|
4
arch/arm/mach-efm32/include/mach/entry-macro.S
Normal file
4
arch/arm/mach-efm32/include/mach/entry-macro.S
Normal file
@@ -0,0 +1,4 @@
|
||||
/*
|
||||
* Empty file waiting for deletion once <mach/entry-macro.S> isn't needed any
|
||||
* more. Patch "ARM: v7-M: drop using mach/entry-macro.S" sitting in next.
|
||||
*/
|
3
arch/arm/mach-efm32/include/mach/timex.h
Normal file
3
arch/arm/mach-efm32/include/mach/timex.h
Normal file
@@ -0,0 +1,3 @@
|
||||
/*
|
||||
* Empty file waiting for deletion once <mach/timex.h> isn't needed any more.
|
||||
*/
|
Reference in New Issue
Block a user