
-----Original Message----- From: Heiko Schocher [mailto:hs@denx.de] Sent: Thursday, February 18, 2010 6:53 PM To: U-Boot user list Cc: Prafulla Wadaskar; Wolfgang Denk; Scott Wood; Stefan Roese Subject: [PATCH v6] arm: add support for the suen3 board from keymile
Add support for the ARM part of the mgcoge2, named suen3. This board is based on the Marvell Kirkwood (88F6281) SoC. As there come more board variants, common config options are collected in include/configs/km_arm.h. Also, this board use common code for all keymile boards, which is stored in board/keymile/common/common.c
Signed-off-by: Holger Brunck holger.brunck@keymile.com Signed-off-by: Stefan Roese sr@denx.de Signed-off-by: Heiko Schocher hs@denx.de
changes since v1: added comments from Wolfgang Denk: get rid of flash_info_t define in board config (to get this working patch 1/2 is introduced/needed)
changes since v2: added comments from Wolfgang Denk
- rearranged if/else in do_spi_toggle()
- added I/O accessor functions for bootcounter
changes since v3: added comment Scott Wood
- removed nand_init in do_spi_toggle()
added comments from Prafulla Wadaskar
- km-arm.h renamed to km_arm.h
- reworked eeprom_write_enable() (deleted it) (when reviewing this function, it cropped up, that this pin is connected through a gpio pin, not as in previous version, through the boco (a FPGA))
- moved set_sda(), set_scl(), get_sda(), get_scl() to km_arm.c
- split patch in 4 patches (for each board an extra patch)
- renamed sdramregs.txt in kwbimage.cfg, also license info added.
changes since v4 added comments from Prafulla Wadaskar
- add comments in board/keymile/km_arm/kwbimage.cfg
- cleanup define CONFIG_KIRKWOOD_GPIO
- corect wrong name at end of config file
- add only support for the suen3 target, others follow later
changes since v5 "#ifdef CONFIG_HARD_I2C" instead of "#else"
MAINTAINERS | 2 +- MAKEALL | 1 + Makefile | 3 + board/keymile/common/common.c | 6 +- board/keymile/km_arm/Makefile | 51 ++++++ board/keymile/km_arm/config.mk | 28 ++++ board/keymile/km_arm/km_arm.c | 324 +++++++++++++++++++++++++++++++++++++ board/keymile/km_arm/kwbimage.cfg | 176 ++++++++++++++++++++ include/configs/km_arm.h | 191 ++++++++++++++++++++++ include/configs/suen3.h | 103 ++++++++++++ 10 files changed, 882 insertions(+), 3 deletions(-) create mode 100644 board/keymile/km_arm/Makefile create mode 100644 board/keymile/km_arm/config.mk create mode 100644 board/keymile/km_arm/km_arm.c create mode 100644 board/keymile/km_arm/kwbimage.cfg create mode 100644 include/configs/km_arm.h create mode 100644 include/configs/suen3.h
Applied to u-boot-marvell.git master branch
Regards.. Prafulla . .