Skip to contentSkip to conversation

Add support for Sysam AMCORE board

PATCH New angelo at sysam.it 1 participant 1 message Aug 20, 2014

lore
Share & tools
lore
#0 lore raw

PATCH v7 2/2 Add support for Sysam AMCORE board

From: Angelo Dureghello <[email protected]>

---

This patch adds support for Sysam AMCORE mcf5307-based board

Changes for v2:
- fix patch email sending issues
Changes for v3:
- fix code format issues
Changes for v4:
- add MAINTAINERS file entry
- remove all unnecessary blank lines
- add get_ram_size in sdram init
- reuse already existing sdram test routine
- remove custom flash.c, used std mtd/CFI driver
Changes for v5:
- fix MAINTAINERS bad sorted entry
- fix incorrect indentation
- remove #undef where not needed
- fix CONFIG_SYS_SDRAM_SIZE to be in bytes
Changes for v6:
- remove still some #undef not needed in amcore.h
- remove custom sdram test routine
Changes for v7:
- changes for recent _defconfig way

---
 board/sysam/amcore/Kconfig     |  22 +++++
 board/sysam/amcore/MAINTAINERS |   6 ++
 board/sysam/amcore/Makefile    |   7 ++
 board/sysam/amcore/amcore.c    | 109 +++++++++++++++++++++++
 board/sysam/amcore/config.mk   |   7 ++
 board/sysam/amcore/u-boot.lds  |  87 ++++++++++++++++++
 configs/amcore_defconfig       |   2 +
 include/configs/amcore.h       | 195 +++++++++++++++++++++++++++++++++++++++++
 8 files changed, 435 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
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 +109 -0

109 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 +195 -0

195 lines not on this page · raw message

Signature · 1 line
2.1.0.rc1