Skip to contentSkip to conversation

arm: mx6: Add Barco platinum-picon and platinum-titanium

PATCH New Stefan Roese 2 participants 2 messages Dec 10, 2014 – Jan 19, 2015 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm: mx6: Add Barco platinum-picon and platinum-titanium

This patch adds the new Barco platinum platform. It currently includes those two boards:

platinum-titanium
-----------------
This is the same board as the titanium that is already supported in mainline U-Boot. But its now moved to this new platform to support multiple "flavors" of imx6 boards in one directory. Its also moved to support SPL booting. And with this we use the run-time DDR configuration of this SPL support. The board is equipped with the Micron MT41J128M16JT-125 DDR chips. We now can remove the DDR related registers tuples from the imximage.cfg file. As all this is done in the SPL at run-time.

platinum-picon
--------------
This board is new and based on the MX6DL with 1GiB DDR using the Micron MT41K256M16HA DDR3 chips. Its also equipped with 2 NAND chips (each 512MiB).

Cc Stefano Babic <[email protected]>
Cc Pieter Ronsijn <[email protected]>
---
 arch/arm/Kconfig                         |  11 ++
 board/barco/platinum/Kconfig             |  37 ++++
 board/barco/platinum/MAINTAINERS         |   7 +
 board/barco/platinum/Makefile            |  14 ++
 board/barco/platinum/platinum.c          | 217 +++++++++++++++++++++
 board/barco/platinum/platinum.h          |  88 +++++++++
 board/barco/platinum/platinum_picon.c    | 244 +++++++++++++++++++++++
 board/barco/platinum/platinum_titanium.c | 209 ++++++++++++++++++++
 board/barco/platinum/spl_picon.c         | 182 ++++++++++++++++++
 board/barco/platinum/spl_titanium.c      | 185 ++++++++++++++++++
 configs/platinum_picon_defconfig         |   4 +
 configs/platinum_titanium_defconfig      |   4 +
 include/configs/platinum.h               | 319 +++++++++++++++++++++++++++++++
 include/configs/platinum_picon.h         |  31 +++
 include/configs/platinum_titanium.h      |  38 ++++
 15 files changed, 1590 insertions(+)
 create mode 100644 board/barco/platinum/Kconfig
 create mode 100644 board/barco/platinum/MAINTAINERS
 create mode 100644 board/barco/platinum/Makefile
 create mode 100644 board/barco/platinum/platinum.c
 create mode 100644 board/barco/platinum/platinum.h
 create mode 100644 board/barco/platinum/platinum_picon.c
 create mode 100644 board/barco/platinum/platinum_titanium.c
 create mode 100644 board/barco/platinum/spl_picon.c
 create mode 100644 board/barco/platinum/spl_titanium.c
 create mode 100644 configs/platinum_picon_defconfig
 create mode 100644 configs/platinum_titanium_defconfig
 create mode 100644 include/configs/platinum.h
 create mode 100644 include/configs/platinum_picon.h
 create mode 100644 include/configs/platinum_titanium.h
arch/arm/Kconfig +11 -0
index 034ab33..6a45478 100644
@@ -660,6 +660,16 @@ config TARGET_OT1200
 	bool "Bachmann OT1200"
 	select CPU_V7
 
+config TARGET_PLATINUM_PICON
+	bool "Support platinum-picon"
+	select CPU_V7
+	select SUPPORT_SPL
+
+config TARGET_PLATINUM_TITANIUM
+	bool "Support platinum-titanium"
+	select CPU_V7
+	select SUPPORT_SPL
+
 config OMAP34XX
 	bool "OMAP34XX SoC"
 	select CPU_V7
@@ -862,6 +872,7 @@ source "board/atmel/sama5d4_xplained/Kconfig"
 source "board/atmel/sama5d4ek/Kconfig"
 source "board/bachmann/ot1200/Kconfig"
 source "board/balloon3/Kconfig"
+source "board/barco/platinum/Kconfig"
 source "board/barco/titanium/Kconfig"
 source "board/bluegiga/apx4devkit/Kconfig"
 source "board/bluewater/snapper9260/Kconfig"
board/barco/platinum/Kconfig new file +37 -0
new file mode 100644
index 0000000..8bbad24
@@ -0,0 +1,37 @@
+if TARGET_PLATINUM_PICON
+
+config SYS_CPU
+	default "armv7"
+
+config SYS_VENDOR
+	default "barco"
+
+config SYS_SOC
+	default "mx6"
+
+config SYS_BOARD
+	default "platinum"
+
+config SYS_CONFIG_NAME
+	default "platinum_picon"
+
+endif
+
+if TARGET_PLATINUM_TITANIUM
+
+config SYS_CPU
+	default "armv7"
+
+config SYS_VENDOR
+	default "barco"
+
+config SYS_SOC
+	default "mx6"
+
+config SYS_BOARD
+	default "platinum"
+
+config SYS_CONFIG_NAME
+	default "platinum_titanium"
+
+endif
board/barco/platinum/MAINTAINERS new file +7 -0
new file mode 100644
index 0000000..a22584b
@@ -0,0 +1,7 @@
+PLATINUM BOARD
+M:	Stefan Roese <[email protected]>
+S:	Maintained
+F:	board/barco/platinum/
+F:	include/configs/platinum.h
+F:	configs/platinum_picon_defconfig
+F:	configs/platinum_titanium_defconfig
board/barco/platinum/Makefile new file +14 -0
new file mode 100644
index 0000000..abc9419
@@ -0,0 +1,14 @@
+#
+# Copyright (C) 2014, Barco (www.barco.com)
+#
+# SPDX-License-Identifier:	GPL-2.0+
+#
+
+obj-y := platinum.o
+obj-$(CONFIG_TARGET_PLATINUM_PICON)     += platinum_picon.o
+obj-$(CONFIG_TARGET_PLATINUM_TITANIUM)  += platinum_titanium.o
+
+ifneq ($(CONFIG_SPL_BUILD),)
+obj-$(CONFIG_TARGET_PLATINUM_PICON) += spl_picon.o
+obj-$(CONFIG_TARGET_PLATINUM_TITANIUM) += spl_titanium.o
+endif
board/barco/platinum/platinum.c new file +217 -0

217 lines not on this page · raw message

board/barco/platinum/platinum.h new file +88 -0

88 lines not on this page · raw message

board/barco/platinum/platinum_picon.c new file +244 -0

244 lines not on this page · raw message

board/barco/platinum/platinum_titanium.c new file +209 -0

209 lines not on this page · raw message

board/barco/platinum/spl_picon.c new file +182 -0

182 lines not on this page · raw message

board/barco/platinum/spl_titanium.c new file +185 -0

185 lines not on this page · raw message

configs/platinum_picon_defconfig new file +4 -0
new file mode 100644
index 0000000..c3ca040
@@ -0,0 +1,4 @@
+CONFIG_SPL=y
+CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/imx-common/spl_sd.cfg,MX6DL"
++S:CONFIG_ARM=y
++S:CONFIG_TARGET_PLATINUM_PICON=y
configs/platinum_titanium_defconfig new file +4 -0
new file mode 100644
index 0000000..db8cef9
@@ -0,0 +1,4 @@
+CONFIG_SPL=y
+CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/imx-common/spl_sd.cfg,MX6Q"
++S:CONFIG_ARM=y
++S:CONFIG_TARGET_PLATINUM_TITANIUM=y
include/configs/platinum.h new file +319 -0

319 lines not on this page · raw message

include/configs/platinum_picon.h new file +31 -0
new file mode 100644
index 0000000..4590df5
@@ -0,0 +1,31 @@
+/*
+ * Copyright (C) 2014, Barco (www.barco.com)
+ *
+ * SPDX-License-Identifier:	GPL-2.0+
+ */
+
+#ifndef __PLATINUM_PICON_CONFIG_H__
+#define __PLATINUM_PICON_CONFIG_H__
+
+#define CONFIG_PLATINUM_PICON
+#define CONFIG_PLATINUM_BOARD			"Barco Picon"
+#define CONFIG_PLATINUM_PROJECT			"picon"
+#define CONFIG_PLATINUM_CPU			"imx6dl"
+
+#define CONFIG_MX6
+
+#include <configs/platinum.h>
+
+#define CONFIG_FEC_XCV_TYPE			RMII
+#define CONFIG_FEC_MXC_PHYADDR			0
+
+#define CONFIG_HOSTNAME				picon
+
+#define CONFIG_SYS_PROMPT			"picon > "
+
+#define CONFIG_PLATFORM_ENV_SETTINGS		"\0"
+
+#define CONFIG_EXTRA_ENV_SETTINGS		CONFIG_COMMON_ENV_SETTINGS \
+						CONFIG_PLATFORM_ENV_SETTINGS
+
+#endif /* __PLATINUM_PICON_CONFIG_H__ */
include/configs/platinum_titanium.h new file +38 -0
new file mode 100644
index 0000000..6789655
@@ -0,0 +1,38 @@
+/*
+ * Copyright (C) 2014, Barco (www.barco.com)
+ *
+ * SPDX-License-Identifier:	GPL-2.0+
+ */
+
+#ifndef __PLATINUM_TITANIUM_CONFIG_H__
+#define __PLATINUM_TITANIUM_CONFIG_H__
+
+#define CONFIG_PLATINUM_TITANIUM
+#define CONFIG_PLATINUM_BOARD			"Barco Titanium"
+#define CONFIG_PLATINUM_PROJECT			"titanium"
+#define CONFIG_PLATINUM_CPU			"imx6q"
+
+#define CONFIG_MX6
+
+#define PHYS_SDRAM_SIZE				(512 << 20)
+#define CONFIG_SYS_NAND_MAX_CHIPS		1
+
+#include <configs/platinum.h>
+
+#define CONFIG_FEC_XCV_TYPE			RGMII
+#define CONFIG_FEC_MXC_PHYADDR			4
+
+#define CONFIG_PHY_MICREL
+#define CONFIG_PHY_MICREL_KSZ9021
+#define CONFIG_PHY_RESET_DELAY			1000
+
+#define CONFIG_HOSTNAME				titanium
+
+#define CONFIG_SYS_PROMPT			"titanium > "
+
+#define CONFIG_PLATFORM_ENV_SETTINGS		"\0"
+
+#define CONFIG_EXTRA_ENV_SETTINGS		CONFIG_COMMON_ENV_SETTINGS \
+						CONFIG_PLATFORM_ENV_SETTINGS
+
+#endif /* __PLATINUM_TITANIUM_CONFIG_H__ */
Signature · 1 line
2.2.0
#1 lore raw

PATCH 1/1 arm: mx6: Add Barco platinum-picon and platinum-titanium

Quoted 20 lines · Stefan Roese

This patch adds the new Barco platinum platform. It currently includes those two boards:

platinum-titanium
-----------------
This is the same board as the titanium that is already supported in mainline U-Boot. But its now moved to this new platform to support multiple "flavors" of imx6 boards in one directory. Its also moved to support SPL booting. And with this we use the run-time DDR configuration of this SPL support. The board is equipped with the Micron MT41J128M16JT-125 DDR chips. We now can remove the DDR related registers tuples from the imximage.cfg file. As all this is done in the SPL at run-time.

platinum-picon
--------------
This board is new and based on the MX6DL with 1GiB DDR using the Micron MT41K256M16HA DDR3 chips. Its also equipped with 2 NAND chips (each 512MiB).

Quoted 4 lines
Cc Stefano Babic <[email protected]>
Cc Pieter Ronsijn <[email protected]>

---

Applied to -u-boot-imx, thanks !

Best regards,
Stefano Babic

Signature · 5 lines
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================