Skip to contentSkip to conversation

snowball: Add support for ux500 based snowball board

PATCH New mathieu.poirier at linaro.org 3 participants 4 messages Aug 3, 2012 – Aug 10, 2012

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/11 snowball: Add support for ux500 based snowball board

From: "Mathieu J. Poirier" <[email protected]>

---
Changes for v2:
- Got rid of obsolete "prcmu.o".
- Using "get_ram_size" to determine memory size.
- Got rid of "__iomem" in favor of "compiler.h"
- Removed baudrate and prompt #defines in "snowball.h".

---
 MAINTAINERS                                     |    4 +
 arch/arm/include/asm/arch-u8500/db8500_gpio.h   |   42 ++
 arch/arm/include/asm/arch-u8500/db8500_pincfg.h |  170 +++++
 board/st-ericsson/snowball/Makefile             |   49 ++
 board/st-ericsson/snowball/db8500_pins.h        |  745 +++++++++++++++++++++++
 board/st-ericsson/snowball/snowball.c           |  166 +++++
 boards.cfg                                      |    1 +
 drivers/gpio/Makefile                           |    1 +
 drivers/gpio/db8500_gpio.c                      |  221 +++++++
 drivers/serial/serial_pl01x.c                   |    2 +
 include/configs/snowball.h                      |  256 ++++++++
 11 files changed, 1657 insertions(+), 0 deletions(-)
MAINTAINERS +4 -0
index fd0c65c..8a16b12 100644
@@ -959,6 +959,10 @@ Vladimir Zapolskiy <[email protected]>
 
 	devkit3250	lpc32xx
 
+Mathieu Poirier <[email protected]>
+
+	snowball	ARM ARMV7 (u8500 SoC)
+
 -------------------------------------------------------------------------
 
 Unknown / orphaned boards:
arch/arm/include/asm/arch-u8500/db8500_gpio.h new file +42 -0

42 lines not on this page · raw message

arch/arm/include/asm/arch-u8500/db8500_pincfg.h new file +170 -0

170 lines not on this page · raw message

board/st-ericsson/snowball/Makefile new file +49 -0

49 lines not on this page · raw message

board/st-ericsson/snowball/db8500_pins.h new file +745 -0

745 lines not on this page · raw message

board/st-ericsson/snowball/snowball.c new file +166 -0

166 lines not on this page · raw message

boards.cfg +1 -0
index 2d36d83..ba3e30c 100644
@@ -256,6 +256,7 @@ seaboard                     arm         armv7       seaboard            nvidia
 ventana                      arm         armv7       ventana             nvidia         tegra2
 whistler                     arm         armv7       whistler            nvidia         tegra2
 u8500_href                   arm         armv7       u8500               st-ericsson    u8500
+snowball                     arm         armv7       snowball               st-ericsson    u8500
 actux1_4_16                  arm         ixp         actux1              -              -           actux1:FLASH2X2
 actux1_4_32                  arm         ixp         actux1              -              -           actux1:FLASH2X2,RAM_32MB
 actux1_8_16                  arm         ixp         actux1              -              -           actux1:FLASH1X8
drivers/gpio/Makefile +1 -0
index 32a2474..1a7412f 100644
@@ -40,6 +40,7 @@ COBJS-$(CONFIG_TEGRA_GPIO)	+= tegra_gpio.o
 COBJS-$(CONFIG_DA8XX_GPIO)	+= da8xx_gpio.o
 COBJS-$(CONFIG_ALTERA_PIO)	+= altera_pio.o
 COBJS-$(CONFIG_MPC83XX_GPIO)	+= mpc83xx_gpio.o
+COBJS-$(CONFIG_DB8500_GPIO)	+= db8500_gpio.o
 
 COBJS	:= $(COBJS-y)
 SRCS 	:= $(COBJS:.o=.c)
drivers/gpio/db8500_gpio.c new file +221 -0

221 lines not on this page · raw message

drivers/serial/serial_pl01x.c +2 -0
index ed581ae..d4c5137 100644
@@ -156,6 +156,8 @@ int serial_init (void)
 			writel(lcr, &regs->fr);
 
 		writel(lcr, &regs->pl011_rlcr);
+		/* lcrh needs to be set again for change to be effective */
+		writel(lcr, &regs->pl011_lcrh);
 	}
 #endif
 	/* Finally, enable the UART */
include/configs/snowball.h new file +256 -0

256 lines not on this page · raw message

Signature · 1 line
1.7.5.4
#1 lore raw

PATCH v2 1/11 snowball: Add support for ux500 based snowball board

Quoted 10 lines · mathieu.poirier at linaro.org

From: "Mathieu J. Poirier" <[email protected]>

---
Changes for v2:
- Got rid of obsolete "prcmu.o".
- Using "get_ram_size" to determine memory size.
- Got rid of "__iomem" in favor of "compiler.h"
- Removed baudrate and prompt #defines in "snowball.h".

Signature · 1 line
Tom
#3 lore raw

PATCH v2 1/11 snowball: Add support for ux500 based snowball board

In reply to mathieu.poirier at linaro.org
Quoted 4 lines · mathieu.poirier at linaro.org

From: "Mathieu J. Poirier" <[email protected]>

[snip]

MAINTAINERS Vladimir Zapolskiy <[email protected]> · line 964

Quoted 11 lines
MAINTAINERS +3 -0
index fd0c65c..8a16b12 100644
@@ -959,6 +959,10 @@ Vladimir Zapolskiy <[email protected]>
 
 	devkit3250	lpc32xx
 
+Mathieu Poirier <[email protected]>
+
+	snowball	ARM ARMV7 (u8500 SoC)

This list is supposed to be sorted by name. I've sorted it and applied to u-boot-staging/trini at ti.com, thanks!

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