[U-Boot] [PATCH v4 0/6] arm, am335x: add support for siemens boards

Heiko Schocher
2013-08-19T14:38:55Z

add support for the am335x based boards from siemens:

dxr2:
- DDR3 128MiB
- NAND 256MiB
- Ethernet with external Switch SMSC LAN9303
- no PMIC
- internal Watchdog
- DFU support

pxm2:
- DDR2 512 MiB
- NAND 1024 MiB
- PMIC
- PHY atheros ar803x
- USB Host
- internal Watchdog
- DFU support

rut:
- DDR3 256 MiB
- NAND 256 MiB
- PMIC
- PHY natsemi dp83630
- external Watchdog
- DFU support

Signed-off-by: Heiko Schocher <hs@denx.de>
Signed-off-by: Roger Meier <r.meier@siemens.com>
Signed-off-by: Samuel Egli <samuel.egli@siemens.com>
Cc: Pascal Bach <pascal.bach@siemens.com>
Cc: Tom Rini <trini@ti.com>

- changes for v2:
- add a more detailed comment, from where the files are based
- add missing (C)
- changes for v3:
- rebased against u-boot-ti commit bb2a5d8f87fffb4fadfb205837decbd1b3e75f88
- updated with lokeshs v2 patches
- rebased arm, am33xx: add defines for gmii_sel_register bits
patch, and therefore added to this patchserie
- add bd_ram_ofs to cpsw_data in board code
needed since commit 2bf36ac638ab2db9f0295aa47064976eeebf80c1
- changes for v4:
- rebased against u-boot-ti commit 425faf74cd8189c87919f7e72a0101c684ee3b9f
therefore added define CONFIG_OMAP_COMMON
- add video splash screen support
Therefor needed patches (already applied to u-boot-video.git):
[U-Boot,2/7] video, da8xx: move da8xx-fb.h to drivers/video
http://patchwork.ozlabs.org/patch/264387/
applied
[U-Boot,3/7] arm, am33xx: add clk_get prototype
http://patchwork.ozlabs.org/patch/264389/
applied
[U-Boot,4/7] video, da8xx-fb: changes for am335x usage
http://patchwork.ozlabs.org/patch/264388/
applied
[U-Boot,5/7] video, da8xx-fb: show fb addr in bdinfo
http://patchwork.ozlabs.org/patch/264392/
applied
[U-Boot,6/7] tools, bmp_logo: fix index from uint16_t to int to allow bigger logos
http://patchwork.ozlabs.org/patch/264391/
applied
[U-Boot,7/7] video: add an option to skip cfb console init
http://patchwork.ozlabs.org/patch/264390/
applied

for patch
[U-Boot,1/7] arm, am335x: add some missing registers and defines for lcd and epwm support
http://patchwork.ozlabs.org/patch/264386/

are changes requested, so added this updated patch to
this patchserie

The bmp in u-boot:/tools/logos/siemens.bmp is used as logo.
on the rut board:
get "DISP1.name" from factoryset, and search it in the list of known
displays. If found use this display, if not use display "KWH043ST20-F01"
as default.

- new patch needed for the rut board splash screen support:
video: add formike lcd panel init

- update list of needed patches

Needed patches:

- [U-Boot] arm, spl: add watchdog library to SPL
http://patchwork.ozlabs.org/patch/248503/
reposted with this patchserie
- [U-Boot] arm, arm335x: add watchdog support
http://patchwork.ozlabs.org/patch/248504/
reposted with this patchserie
- [U-Boot,v2] arm, am33xx: add defines for gmii_sel_register bits
http://patchwork.ozlabs.org/patch/248916/
added in v3 to this patchseries as rebased against u-boot-ti
- [U-Boot,v5] dfu, nand, ubi: add partubi alt settings for updating ubi partition
http://patchwork.ozlabs.org/patch/261583/

Tested patches with this patch:
- [U-Boot] dfu: Implementation of target reset after communication with dfu-util's -R switch
http://patchwork.ozlabs.org/patch/260041/
- [U-Boot] ARM: OMAP: GPIO: Fix valid range and enable usage of all GPIOs on OMAP5
http://patchwork.ozlabs.org/patch/253185/

Heiko Schocher (6):
arm, am33xx: add defines for gmii_sel_register bits
arm, am335x: add some missing registers and defines for lcd and epwm
support
arm, spl: add watchdog library to SPL
arm, am335x: add watchdog support
video: add formike lcd panel init
arm, am335x: add support for 3 siemens boards

MAINTAINERS | 5 +
arch/arm/include/asm/arch-am33xx/cpu.h | 74 ++-
arch/arm/include/asm/arch-am33xx/hardware_am33xx.h | 7 +
board/isee/igep0033/board.c | 6 +-
board/phytec/pcm051/board.c | 2 -
board/siemens/common/board.c | 171 +++++++
board/siemens/common/factoryset.c | 284 ++++++++++++
board/siemens/common/factoryset.h | 27 ++
board/siemens/dxr2/Makefile | 49 ++
board/siemens/dxr2/board.c | 241 ++++++++++
board/siemens/dxr2/board.h | 69 +++
board/siemens/dxr2/mux.c | 112 +++++
board/siemens/pxm2/Makefile | 49 ++
board/siemens/pxm2/board.c | 429 +++++++++++++++++
board/siemens/pxm2/board.h | 22 +
board/siemens/pxm2/mux.c | 186 ++++++++
board/siemens/pxm2/pmic.h | 71 +++
board/siemens/rut/Makefile | 49 ++
board/siemens/rut/board.c | 432 +++++++++++++++++
board/siemens/rut/board.h | 22 +
board/siemens/rut/mux.c | 347 ++++++++++++++
board/ti/am335x/board.c | 6 +-
boards.cfg | 3 +
doc/README.SPL | 2 +-
drivers/video/Makefile | 1 +
drivers/video/formike.c | 511 +++++++++++++++++++++
drivers/watchdog/Makefile | 1 +
drivers/watchdog/omap_wdt.c | 121 +++++
include/configs/dxr2.h | 94 ++++
include/configs/pxm2.h | 153 ++++++
include/configs/rut.h | 156 +++++++
include/configs/siemens-am33x-common.h | 463 +++++++++++++++++++
include/video.h | 4 +
spl/Makefile | 1 +
tools/logos/siemens.bmp | Bin 0 -> 25766 bytes
35 Dateien ge?ndert, 4157 Zeilen hinzugef?gt(+), 13 Zeilen entfernt(-)
create mode 100644 board/siemens/common/board.c
create mode 100644 board/siemens/common/factoryset.c
create mode 100644 board/siemens/common/factoryset.h
create mode 100644 board/siemens/dxr2/Makefile
create mode 100644 board/siemens/dxr2/board.c
create mode 100644 board/siemens/dxr2/board.h
create mode 100644 board/siemens/dxr2/mux.c
create mode 100644 board/siemens/pxm2/Makefile
create mode 100644 board/siemens/pxm2/board.c
create mode 100644 board/siemens/pxm2/board.h
create mode 100644 board/siemens/pxm2/mux.c
create mode 100644 board/siemens/pxm2/pmic.h
create mode 100644 board/siemens/rut/Makefile
create mode 100644 board/siemens/rut/board.c
create mode 100644 board/siemens/rut/board.h
create mode 100644 board/siemens/rut/mux.c
create mode 100644 drivers/video/formike.c
create mode 100644 drivers/watchdog/omap_wdt.c
create mode 100644 include/configs/dxr2.h
create mode 100644 include/configs/pxm2.h
create mode 100644 include/configs/rut.h
create mode 100644 include/configs/siemens-am33x-common.h
create mode 100644 tools/logos/siemens.bmp

--
1.7.11.7