public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Jagan Teki <jagannadh.teki@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH RFC 5/5] imx: mx6ul: Add initial board support for Engicam GEAM6UL
Date: Sat,  3 Sep 2016 13:52:57 +0530	[thread overview]
Message-ID: <1472890977-7377-5-git-send-email-jagan@amarulasolutions.com> (raw)
In-Reply-To: <1472890977-7377-1-git-send-email-jagan@amarulasolutions.com>

i.MX6UL GEA M6UL modules are system on module solutions manufactured
by Engicam with following characteristics:
Processor       NXP i.MX 6UltraLite MCIMX6G2, 528 MHz
RAM             128MB, 16-bit DDR3
NAND SLC        256MB
Power supply    Single 5V
MAX LCD RES     up to WXGA, 1366x768

Cc: Stefano Babic <sbabic@denx.de>
Cc: Peng Fan <peng.fan@nxp.com>
Cc: Michael Trimarchi <michael@amarulasolutions.com>
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
---
 arch/arm/cpu/armv7/mx6/Kconfig    |  6 ++++++
 board/freescale/mx6ul/Kconfig     |  2 +-
 board/freescale/mx6ul/MAINTAINERS |  5 +++++
 board/freescale/mx6ul/board.c     |  4 +++-
 configs/mx6ul_geam_kit_defconfig  | 11 +++++++++++
 include/configs/mx6ul.h           |  1 +
 6 files changed, 27 insertions(+), 2 deletions(-)
 create mode 100644 configs/mx6ul_geam_kit_defconfig

diff --git a/arch/arm/cpu/armv7/mx6/Kconfig b/arch/arm/cpu/armv7/mx6/Kconfig
index 0c1bc78..d861ded 100644
--- a/arch/arm/cpu/armv7/mx6/Kconfig
+++ b/arch/arm/cpu/armv7/mx6/Kconfig
@@ -129,6 +129,12 @@ config TARGET_MX6UL_14X14_EVK
 	select DM_THERMAL
 	select SUPPORT_SPL
 
+config TARGET_MX6UL_GEAM_KIT
+	bool "mx6ul_geam_kit"
+	select MX6UL
+	select DM
+	select DM_THERMAL
+
 config TARGET_NITROGEN6X
 	bool "nitrogen6x"
 
diff --git a/board/freescale/mx6ul/Kconfig b/board/freescale/mx6ul/Kconfig
index f97b905..d902cd0 100644
--- a/board/freescale/mx6ul/Kconfig
+++ b/board/freescale/mx6ul/Kconfig
@@ -1,4 +1,4 @@
-if TARGET_MX6UL_14X14_EVK || TARGET_MX6UL_9X9_EVK
+if TARGET_MX6UL_14X14_EVK || TARGET_MX6UL_9X9_EVK || TARGET_MX6UL_GEAM_KIT
 
 config SYS_BOARD
 	default "mx6ul"
diff --git a/board/freescale/mx6ul/MAINTAINERS b/board/freescale/mx6ul/MAINTAINERS
index 20caeee..3265858 100644
--- a/board/freescale/mx6ul/MAINTAINERS
+++ b/board/freescale/mx6ul/MAINTAINERS
@@ -5,3 +5,8 @@ F:	board/freescale/mx6ul/
 F:	include/configs/mx6ul.h
 F:	configs/mx6ul_14x14_evk_defconfig
 F:	configs/mx6ul_9x9_evk_defconfig
+
+Engicam GEAM6UL BOARD
+M:	Jagan Teki <jagan@amarulasolutions.com>
+S:	Maintained
+F:	configs/mx6ul_geam_kit_defconfig
diff --git a/board/freescale/mx6ul/board.c b/board/freescale/mx6ul/board.c
index 66d6795..f4e35bd 100644
--- a/board/freescale/mx6ul/board.c
+++ b/board/freescale/mx6ul/board.c
@@ -693,8 +693,10 @@ int checkboard(void)
 {
 	if (is_mx6ul_9x9_evk())
 		puts("Board: MX6UL 9x9 EVK\n");
-	else
+	else if (is_mx6ul_14x14_evk())
 		puts("Board: MX6UL 14x14 EVK\n");
+	else
+		puts("Board: MX6UL GEA KIT\n");
 
 	return 0;
 }
diff --git a/configs/mx6ul_geam_kit_defconfig b/configs/mx6ul_geam_kit_defconfig
new file mode 100644
index 0000000..b26f17b
--- /dev/null
+++ b/configs/mx6ul_geam_kit_defconfig
@@ -0,0 +1,11 @@
+CONFIG_ARM=y
+CONFIG_ARCH_MX6=y
+CONFIG_TARGET_MX6UL_GEAM_KIT=y
+CONFIG_HUSH_PARSER=y
+CONFIG_SYS_PROMPT="geam6ul> "
+CONFIG_AUTO_COMPLETE=y
+CONFIG_SYS_MAXARGS=32
+CONFIG_BOOTDELAY=3
+CONFIG_BOARD_EARLY_INIT_F=y
+CONFIG_BOARD_LATE_INIT=y
+# CONFIG_CMD_IMLS is not set
diff --git a/include/configs/mx6ul.h b/include/configs/mx6ul.h
index f5bdb40..55460ad 100644
--- a/include/configs/mx6ul.h
+++ b/include/configs/mx6ul.h
@@ -14,6 +14,7 @@
 #include <asm/imx-common/gpio.h>
 
 #define is_mx6ul_9x9_evk()	CONFIG_IS_ENABLED(TARGET_MX6UL_9X9_EVK)
+#define is_mx6ul_14x14_evk()	CONFIG_IS_ENABLED(TARGET_MX6UL_14x14_EVK)
 
 /* SPL options */
 #define CONFIG_SPL_LIBCOMMON_SUPPORT
-- 
2.7.4

  parent reply	other threads:[~2016-09-03  8:22 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-03  8:22 [U-Boot] [PATCH 1/5] imx: mx6ul: Refactor common code as mx6ul Jagan Teki
2016-09-03  8:22 ` [U-Boot] [PATCH 2/5] configs: mx6ul: Update comment in license notes Jagan Teki
2016-09-03  8:22 ` [U-Boot] [PATCH 3/5] spi: Kconfig: Move FSL_QSPI entry to non-dm place Jagan Teki
2016-09-03  8:22 ` [U-Boot] [PATCH 4/5] configs: mx6ul: Move SPI/SPI-FLASH configs to defconfig Jagan Teki
2016-09-03  8:22 ` Jagan Teki [this message]
2016-09-03 10:08   ` [U-Boot] [PATCH RFC 5/5] imx: mx6ul: Add initial board support for Engicam GEAM6UL Peng Fan
2016-09-03 12:48     ` Jagan Teki
2016-09-04  1:26   ` Fabio Estevam
2016-09-04  2:22     ` Jagan Teki
2016-09-04  2:23     ` Fabio Estevam
2016-09-04  2:27       ` Jagan Teki
2016-09-04 13:08   ` Fabio Estevam
2016-09-04 13:10     ` Michael Trimarchi
2016-09-04 13:32     ` Jagan Teki
2016-09-04 14:47       ` Fabio Estevam
2016-09-06 12:03         ` Tom Rini
2016-09-04  2:27 ` [U-Boot] [PATCH 1/5] imx: mx6ul: Refactor common code as mx6ul Fabio Estevam
2016-09-04  2:30   ` Jagan Teki

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1472890977-7377-5-git-send-email-jagan@amarulasolutions.com \
    --to=jagannadh.teki@gmail.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox