Skip to contentSkip to conversation

m68k: add amcore board support

PATCH New Angelo Dureghello 1 participant 1 message Feb 12, 2015 m68k architecture

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 m68k: add amcore board support

Add Sysam Amcore m68k-based board support.

---
 arch/m68k/Kconfig              |   4 ++
 board/sysam/amcore/Kconfig     |  22 +++++++
 board/sysam/amcore/MAINTAINERS |   6 ++
 board/sysam/amcore/Makefile    |   7 +++
 board/sysam/amcore/amcore.c    | 101 +++++++++++++++++++++++++++++
 board/sysam/amcore/config.mk   |   7 +++
 board/sysam/amcore/u-boot.lds  |  87 +++++++++++++++++++++++++
 configs/amcore_defconfig       |   2 +
 include/configs/amcore.h       | 140 +++++++++++++++++++++++++++++++++++++++++
 9 files changed, 376 insertions(+)
 create mode 100644 board/sysam/amcore/Kconfig
 create mode 100644 board/sysam/amcore/MAINTAINERS
 create mode 100644 board/sysam/amcore/Makefile
 create mode 100644 board/sysam/amcore/amcore.c
 create mode 100644 board/sysam/amcore/config.mk
 create mode 100644 board/sysam/amcore/u-boot.lds
 create mode 100644 configs/amcore_defconfig
 create mode 100644 include/configs/amcore.h
arch/m68k/Kconfig +4 -0
index 78c98ed..53c4aab 100644
@@ -67,6 +67,9 @@ config TARGET_M5475EVB
 config TARGET_M5485EVB
 	bool "Support M5485EVB"
 
+config TARGET_AMCORE
+	bool "Support AMCORE"
+
 endchoice
 
 source "board/BuS/eb_cpu5282/Kconfig"
@@ -89,5 +92,6 @@ source "board/freescale/m54451evb/Kconfig"
 source "board/freescale/m54455evb/Kconfig"
 source "board/freescale/m547xevb/Kconfig"
 source "board/freescale/m548xevb/Kconfig"
+source "board/sysam/amcore/Kconfig"
 
 endmenu
board/sysam/amcore/Kconfig new file +22 -0
new file mode 100644
index 0000000..dd9816e
@@ -0,0 +1,22 @@
+if TARGET_AMCORE
+
+config SYS_CPU
+        string
+        default "mcf530x"
+
+config SYS_BOARD
+        string
+        default "amcore"
+
+config SYS_VENDOR
+        string
+        default "sysam"
+
+config SYS_CONFIG_NAME
+        string
+        default "amcore"
+
+endif
+
+
+
board/sysam/amcore/MAINTAINERS new file +6 -0
new file mode 100644
index 0000000..fe5dd9b
@@ -0,0 +1,6 @@
+AMCORE BOARD
+M:	Angelo Dureghello <[email protected]>
+S:	Maintained
+F:	board/sysam/amcore/
+F:	include/configs/amcore.h
+F:      configs/amcore_defconfig
board/sysam/amcore/Makefile new file +7 -0
new file mode 100644
index 0000000..051186f
@@ -0,0 +1,7 @@
+#
+# (C) Copyright 2014  Angelo Dureghello <[email protected]>
+#
+# SPDX-License-Identifier:     GPL-2.0+
+#
+
+obj-y	= amcore.o
board/sysam/amcore/amcore.c new file +101 -0

101 lines not on this page · raw message

board/sysam/amcore/config.mk new file +7 -0
new file mode 100644
index 0000000..d01a8bb
@@ -0,0 +1,7 @@
+#
+# (C) Copyright 2014  Angelo Dureghello <[email protected]>
+#
+# SPDX-License-Identifier:     GPL-2.0+
+#
+
+CONFIG_SYS_TEXT_BASE = 0xffc00000
board/sysam/amcore/u-boot.lds new file +87 -0

87 lines not on this page · raw message

configs/amcore_defconfig new file +2 -0
new file mode 100644
index 0000000..705c400
@@ -0,0 +1,2 @@
+CONFIG_M68K=y
+CONFIG_TARGET_AMCORE=y
include/configs/amcore.h new file +140 -0

140 lines not on this page · raw message

Signature · 1 line
2.1.4