Re: [U-Boot] [PATCH v5] Add initial support for Wandboard dual lite and solo.

2013-03-20 Thread Stefano Babic
On 15/03/2013 21:43, Fabio Estevam wrote:
 From: Fabio Estevam fabio.este...@freescale.com
 
 Wandboard is a development board that has two variants: one version based
 on mx6 dual lite and another one based on mx6 solo.
 
 For more details about Wandboard, please refer to: http://www.wandboard.org/
 
 Signed-off-by: Fabio Estevam fabio.este...@freescale.com
 ---


Applied to u-boot-imx, thanks.

Best regards,
Stefano Babic


-- 
=
DENX Software Engineering GmbH, MD: Wolfgang Denk  Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sba...@denx.de
=
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] [PATCH v5] Add initial support for Wandboard dual lite and solo.

2013-03-15 Thread Fabio Estevam
From: Fabio Estevam fabio.este...@freescale.com

Wandboard is a development board that has two variants: one version based
on mx6 dual lite and another one based on mx6 solo.

For more details about Wandboard, please refer to: http://www.wandboard.org/

Signed-off-by: Fabio Estevam fabio.este...@freescale.com
---
Changes since v4:
- Improved commit log
- Rebased against the latest u-boot-imx tree
- Added README
- Remove hardcode in get_board_rev()
- Define MACH_TYPE_WANDBOARD
- Moved includes to the start of the file
- Use less space for CONFIG_SYS_MALLOC_LEN 
- Use 5 seconds for boot delay
- Removed CONFIG_PREBOOT
- Adjust fdt_file for the solo variant
- Increase CONFIG_SYS_MEMTEST_END
Changes since v3:
- Rebased after fixing nitrogen DDR size:
http://marc.info/?l=u-bootm=136321557726201w=2

Changes since v2:
- Also added support to the mx6solo variant. 
- Rebased against u-boot-imx

Changes since v1:
- Use get_ram_size
- Remove ARP_TIMEOUT
- Remove unneeded 1u
 MAINTAINERS|1 +
 arch/arm/include/asm/arch-mx6/mx6dl_pins.h |3 +
 board/wandboard/Makefile   |   29 
 board/wandboard/README |   42 ++
 board/wandboard/wandboard.c|  181 
 boards.cfg |2 +
 include/configs/wandboard.h|  211 
 7 files changed, 469 insertions(+)
 create mode 100644 board/wandboard/Makefile
 create mode 100644 board/wandboard/README
 create mode 100644 board/wandboard/wandboard.c
 create mode 100644 include/configs/wandboard.h

diff --git a/MAINTAINERS b/MAINTAINERS
index f490d62..791afce 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -664,6 +664,7 @@ Fabio Estevam fabio.este...@freescale.com
mx53smd i.MX53
mx6qsabresd i.MX6Q
mx6qsabreauto   i.MX6Q
+   wandboard   i.MX6DL/S
 
 Daniel Gorsulowski daniel.gorsulow...@esd.eu
 
diff --git a/arch/arm/include/asm/arch-mx6/mx6dl_pins.h 
b/arch/arm/include/asm/arch-mx6/mx6dl_pins.h
index 9494e41..9846f1b 100644
--- a/arch/arm/include/asm/arch-mx6/mx6dl_pins.h
+++ b/arch/arm/include/asm/arch-mx6/mx6dl_pins.h
@@ -50,6 +50,8 @@
 #define NO_MUX_I0
 #define NO_PAD_I0
 enum {
+   MX6_PAD_CSI0_DAT10__UART1_TXD   = IOMUX_PAD(0x0360, 0x004C, 3, 
0x, 0, 0),
+   MX6_PAD_CSI0_DAT11__UART1_RXD   = IOMUX_PAD(0x0364, 0x0050, 3, 
0x08FC, 1, 0),
MX6_PAD_DI0_DISP_CLK__IPU1_DI0_DISP_CLK = IOMUX_PAD(0x03B0, 0x009C, 0, 
0x, 0, PAD_CTL_DSE_120ohm),
MX6_PAD_DI0_PIN15__IPU1_DI0_PIN15   = IOMUX_PAD(0x03B4, 0x00A0, 0, 
0x, 0, PAD_CTL_DSE_120ohm),
MX6_PAD_DI0_PIN2__IPU1_DI0_PIN2 = IOMUX_PAD(0x03B8, 0x00A4, 0, 0x, 
0, PAD_CTL_DSE_120ohm),
@@ -90,6 +92,7 @@ enum {
MX6_PAD_EIM_D27__UART2_RXD  = IOMUX_PAD(0x0540, 0x0170, 4, 
0x0904, 1, 0),
MX6_PAD_EIM_D28__I2C1_SDA   = IOMUX_PAD(0x0544, 0x0174, 1 | 
IOMUX_CONFIG_SION, 0x086C, 1, 0),
MX6_PAD_EIM_D28__GPIO_3_28  = IOMUX_PAD(0x0544, 0x0174, 5, 
0x, 0, 0),
+   MX6_PAD_EIM_D29__GPIO_3_29  = IOMUX_PAD(0x0548, 0x0178, 5, 
0x, 0, 0),
MX6_PAD_ENET_MDC__ENET_MDC  = IOMUX_PAD(0x05B8, 0x01E8, 1, 
0x, 0,  0),
MX6_PAD_ENET_MDIO__ENET_MDIO= IOMUX_PAD(0x05BC, 0x01EC, 1, 
0x0810, 0, 0),
MX6_PAD_ENET_REF_CLK__ENET_TX_CLK   = IOMUX_PAD(0x05C0, 0x01F0, 1, 
0x, 0, 0),
diff --git a/board/wandboard/Makefile b/board/wandboard/Makefile
new file mode 100644
index 000..014ea6c
--- /dev/null
+++ b/board/wandboard/Makefile
@@ -0,0 +1,29 @@
+#
+# (C) Copyright 2013 Freescale Semiconductor, Inc.
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation; either version 2 of
+# the License, or (at your option) any later version.
+#
+
+include $(TOPDIR)/config.mk
+
+LIB= $(obj)lib$(BOARD).o
+
+COBJS  := wandboard.o
+
+SRCS   := $(COBJS:.o=.c)
+OBJS   := $(addprefix $(obj),$(COBJS))
+
+$(LIB):$(obj).depend $(OBJS)
+   $(call cmd_link_o_target, $(OBJS))
+
+#
+
+# defines $(obj).depend target
+include $(SRCTREE)/rules.mk
+
+sinclude $(obj).depend
+
+#
diff --git a/board/wandboard/README b/board/wandboard/README
new file mode 100644
index 000..1a55cc4
--- /dev/null
+++ b/board/wandboard/README
@@ -0,0 +1,42 @@
+U-Boot for Wandboard
+
+
+This file contains information for the port of U-Boot to the Wandboard.
+
+Wandboard is a development board that has two variants: one version based
+on mx6 dual lite and another one based on mx6 solo.
+
+For more details about Wandboard, please refer to:
+http://www.wandboard.org/
+
+Building