Skip to contentSkip to conversation

omap3: add support for QUIPOS Cairo board.

PATCH New Albert ARIBAUD (3ADEV) 3 participants 3 messages Feb 3, 2015 – Mar 6, 2015 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 omap3: add support for QUIPOS Cairo board.

This patch extends OMAP3 support for AM/DM37xx and introduces the AM3703-based Quipos Cairo board.

---
NOTES:

Two checkpatch diagnostics are left uncorrected:

1. "warning: arch/arm/cpu/armv7/omap3/Kconfig,94: please write a paragraph that describes the config symbol fully" No other symbol of the same nature has such a paragraph, so I left it out.

2. "check: board/quipos/cairo/cairo.c,87: Avoid CamelCase:

    <SDP_3430_SDRC_RFR_CTRL_165MHz>"

Symbol was not defined in this patch. If requested, I will post a separate change to fix the symbol.

Changes in v2:
- removed v1 patches 1..5 applied to mainline
- corrected serial device name from ttyS1 to ttyO1
- rewrote config file based on omap3_beagle's
- moved serial support to DM
- fixed environment

 arch/arm/cpu/armv7/omap3/Kconfig |   5 +
 board/quipos/cairo/Kconfig       |  12 ++
 board/quipos/cairo/Makefile      |   8 +
 board/quipos/cairo/cairo.c       | 110 ++++++++++++++
 board/quipos/cairo/cairo.h       | 319 +++++++++++++++++++++++++++++++++++++++
 configs/cairo_defconfig          |   4 +
 include/configs/omap3_cairo.h    | 286 +++++++++++++++++++++++++++++++++++
 7 files changed, 744 insertions(+)
 create mode 100644 board/quipos/cairo/Kconfig
 create mode 100644 board/quipos/cairo/Makefile
 create mode 100644 board/quipos/cairo/cairo.c
 create mode 100644 board/quipos/cairo/cairo.h
 create mode 100644 configs/cairo_defconfig
 create mode 100644 include/configs/omap3_cairo.h
arch/arm/cpu/armv7/omap3/Kconfig +5 -0
index a029379..88a9544 100644
@@ -91,6 +91,10 @@ config TARGET_TWISTER
 	bool "Twister"
 	select SUPPORT_SPL
 
+config TARGET_OMAP3_CAIRO
+	bool "QUIPOS CAIRO"
+	select SUPPORT_SPL
+
 endchoice
 
 config SYS_SOC
@@ -118,5 +122,6 @@ source "board/matrix_vision/mvblx/Kconfig"
 source "board/nokia/rx51/Kconfig"
 source "board/technexion/tao3530/Kconfig"
 source "board/technexion/twister/Kconfig"
+source "board/quipos/cairo/Kconfig"
 
 endif
board/quipos/cairo/Kconfig new file +12 -0
new file mode 100644
index 0000000..8df9421
@@ -0,0 +1,12 @@
+if TARGET_OMAP3_CAIRO
+
+config SYS_BOARD
+	default "cairo"
+
+config SYS_VENDOR
+	default "quipos"
+
+config SYS_CONFIG_NAME
+	default "omap3_cairo"
+
+endif
board/quipos/cairo/Makefile new file +8 -0
new file mode 100644
index 0000000..445088f
@@ -0,0 +1,8 @@
+#
+# (C) Copyright 2014 DENX Software Engineering
+# Written-By: Albert ARIBAUD <[email protected]>
+#
+# SPDX-License-Identifier:	GPL-2.0+
+#
+
+obj-y	:= cairo.o
board/quipos/cairo/cairo.c new file +110 -0

110 lines not on this page · raw message

board/quipos/cairo/cairo.h new file +319 -0

319 lines not on this page · raw message

configs/cairo_defconfig new file +4 -0
new file mode 100644
index 0000000..ae1dda2
@@ -0,0 +1,4 @@
+CONFIG_SPL=y
++S:CONFIG_ARM=y
++S:CONFIG_OMAP34XX=y
++S:CONFIG_TARGET_OMAP3_CAIRO=y
include/configs/omap3_cairo.h new file +286 -0

286 lines not on this page · raw message

Signature · 1 line
2.1.0
#1 lore raw

PATCH v2 1/1 omap3: add support for QUIPOS Cairo board.

Hi Albert,

Quoted 19 lines · On 3 February 2015 at 10:13, Albert ARIBAUD (3ADEV) <[email protected]>…

This patch extends OMAP3 support for AM/DM37xx and introduces the AM3703-based Quipos Cairo board.

---
NOTES:

Two checkpatch diagnostics are left uncorrected:

1. "warning: arch/arm/cpu/armv7/omap3/Kconfig,94: please write a paragraph that describes the config symbol fully" No other symbol of the same nature has such a paragraph, so I left it out.

2. "check: board/quipos/cairo/cairo.c,87: Avoid CamelCase:

    <SDP_3430_SDRC_RFR_CTRL_165MHz>"

Symbol was not defined in this patch. If requested, I will post a separate change to fix the symbol.

Quoted 6 lines

Changes in v2:
- removed v1 patches 1..5 applied to mainline
- corrected serial device name from ttyS1 to ttyO1
- rewrote config file based on omap3_beagle's
- moved serial support to DM
- fixed environment

I would argue for device tree support instead of platform data, but I'm not sure if this platform has that so will reserve judgement.

Regards,
Simon

#2 lore raw

PATCH v2 1/1 omap3: add support for QUIPOS Cairo board.

In reply to Albert ARIBAUD (3ADEV)
Quoted 5 lines · On Tue, Feb 03, 2015 at 06:13:14PM +0100, Albert ARIBAUD (3ADEV) wrote:

This patch extends OMAP3 support for AM/DM37xx and introduces the AM3703-based Quipos Cairo board.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150306/0c381a1b/attachment.sig>