-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
- Loading branch information
Uwe Kleine-König
committed
Dec 16, 2013
1 parent
319e2e3
commit 6d85e2b
Showing
8 changed files
with
150 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,102 @@ | ||
CONFIG_HIGH_RES_TIMERS=y | ||
CONFIG_LOG_BUF_SHIFT=12 | ||
CONFIG_CC_OPTIMIZE_FOR_SIZE=y | ||
# CONFIG_UID16 is not set | ||
# CONFIG_BASE_FULL is not set | ||
# CONFIG_FUTEX is not set | ||
# CONFIG_EPOLL is not set | ||
# CONFIG_SIGNALFD is not set | ||
# CONFIG_EVENTFD is not set | ||
# CONFIG_AIO is not set | ||
CONFIG_EMBEDDED=y | ||
# CONFIG_VM_EVENT_COUNTERS is not set | ||
# CONFIG_SLUB_DEBUG is not set | ||
# CONFIG_LBDAF is not set | ||
# CONFIG_BLK_DEV_BSG is not set | ||
# CONFIG_IOSCHED_DEADLINE is not set | ||
# CONFIG_IOSCHED_CFQ is not set | ||
# CONFIG_MMU is not set | ||
CONFIG_ARCH_EFM32=y | ||
# CONFIG_KUSER_HELPERS is not set | ||
CONFIG_SET_MEM_PARAM=y | ||
CONFIG_DRAM_BASE=0x88000000 | ||
CONFIG_DRAM_SIZE=0x00400000 | ||
CONFIG_FLASH_MEM_BASE=0x8c000000 | ||
CONFIG_FLASH_SIZE=0x01000000 | ||
CONFIG_PREEMPT=y | ||
CONFIG_ZBOOT_ROM_TEXT=0x0 | ||
CONFIG_ZBOOT_ROM_BSS=0x0 | ||
CONFIG_XIP_KERNEL=y | ||
CONFIG_XIP_PHYS_ADDR=0x8c000000 | ||
CONFIG_BINFMT_FLAT=y | ||
CONFIG_BINFMT_SHARED_FLAT=y | ||
# CONFIG_COREDUMP is not set | ||
CONFIG_NET=y | ||
CONFIG_PACKET=y | ||
CONFIG_UNIX=y | ||
CONFIG_INET=y | ||
# CONFIG_INET_XFRM_MODE_TRANSPORT is not set | ||
# CONFIG_INET_XFRM_MODE_TUNNEL is not set | ||
# CONFIG_INET_XFRM_MODE_BEET is not set | ||
# CONFIG_INET_LRO is not set | ||
# CONFIG_INET_DIAG is not set | ||
# CONFIG_IPV6 is not set | ||
# CONFIG_WIRELESS is not set | ||
CONFIG_DEVTMPFS=y | ||
CONFIG_DEVTMPFS_MOUNT=y | ||
# CONFIG_FW_LOADER is not set | ||
CONFIG_MTD=y | ||
CONFIG_MTD_BLOCK_RO=y | ||
CONFIG_MTD_ROM=y | ||
CONFIG_MTD_UCLINUX=y | ||
CONFIG_PROC_DEVICETREE=y | ||
# CONFIG_BLK_DEV is not set | ||
CONFIG_NETDEVICES=y | ||
# CONFIG_NET_VENDOR_ARC is not set | ||
# CONFIG_NET_CADENCE is not set | ||
# CONFIG_NET_VENDOR_BROADCOM is not set | ||
# CONFIG_NET_VENDOR_CIRRUS is not set | ||
# CONFIG_NET_VENDOR_FARADAY is not set | ||
# CONFIG_NET_VENDOR_INTEL is not set | ||
# CONFIG_NET_VENDOR_MARVELL is not set | ||
CONFIG_KS8851=y | ||
# CONFIG_NET_VENDOR_MICROCHIP is not set | ||
# CONFIG_NET_VENDOR_NATSEMI is not set | ||
# CONFIG_NET_VENDOR_SEEQ is not set | ||
# CONFIG_NET_VENDOR_SMSC is not set | ||
# CONFIG_NET_VENDOR_STMICRO is not set | ||
# CONFIG_NET_VENDOR_VIA is not set | ||
# CONFIG_NET_VENDOR_WIZNET is not set | ||
# CONFIG_WLAN is not set | ||
# CONFIG_INPUT is not set | ||
# CONFIG_SERIO is not set | ||
# CONFIG_VT is not set | ||
# CONFIG_UNIX98_PTYS is not set | ||
# CONFIG_LEGACY_PTYS is not set | ||
CONFIG_SERIAL_NONSTANDARD=y | ||
# CONFIG_DEVKMEM is not set | ||
CONFIG_SERIAL_EFM32_UART=y | ||
CONFIG_SERIAL_EFM32_UART_CONSOLE=y | ||
# CONFIG_HW_RANDOM is not set | ||
CONFIG_SPI=y | ||
CONFIG_SPI_EFM32=y | ||
CONFIG_GPIO_SYSFS=y | ||
# CONFIG_USB_SUPPORT is not set | ||
CONFIG_MMC=y | ||
CONFIG_MMC_SPI=y | ||
# CONFIG_IOMMU_SUPPORT is not set | ||
CONFIG_EXT2_FS=y | ||
# CONFIG_FILE_LOCKING is not set | ||
# CONFIG_DNOTIFY is not set | ||
# CONFIG_INOTIFY_USER is not set | ||
CONFIG_ROMFS_FS=y | ||
CONFIG_ROMFS_BACKED_BY_MTD=y | ||
# CONFIG_NETWORK_FILESYSTEMS is not set | ||
CONFIG_PRINTK_TIME=y | ||
CONFIG_DEBUG_INFO=y | ||
# CONFIG_ENABLE_WARN_DEPRECATED is not set | ||
# CONFIG_ENABLE_MUST_CHECK is not set | ||
CONFIG_MAGIC_SYSRQ=y | ||
# CONFIG_SCHED_DEBUG is not set | ||
# CONFIG_DEBUG_BUGVERBOSE is not set | ||
# CONFIG_FTRACE is not set |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
obj-y += dtmachine.o |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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. | ||
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
/* | ||
* Empty file waiting for deletion once <mach/timex.h> isn't needed any more. | ||
*/ |