Kirkwood: add lschlv2 and lsxhl board support
PATCH v4 1/1 Kirkwood: add lschlv2 and lsxhl board support
This patch adds support for both the Linkstation Live (LS-CHLv2) and Linkstation Pro (LS-XHL) by Buffalo.
---
This patch depends on "PATCH v4 0/3] net: helper functions".
Changes:
v4:
- split patchset (generic net helpers and lsxl support)
- fix typo in bootcmd_hdd
- removed board/buffalo/lsxl/config.mk patch from patchset
v3:
- add "Kirkwood:" prefix to patch subject
- moved board/buffalo/lsxl/config.mk to an own patch, so it can be separately acked/naked ;)
- removed any hardcoding, that is the mac address is now automatically generated (random, locally administered) and the IP settings are fetched with DHCP/BOOTP.
- add detailed comments to every configuration line in kwbimage.cfg
- add comments in MPP configuration about GPIO usage
- removed lschlv2 ramboot
- use short board ident string
- small cleanups
v2:
- add to buffalo vendor directory instead of Marvell
- add both boards to MAINTAINERS
- don't define values for feature macros
- use tab for vertical alignment
- remove static network configuration, instead introduce a rescue mode
- add some convenience scripts
- small cleanups
MAINTAINERS | 5 + board/buffalo/lsxl/Makefile | 50 ++++++ board/buffalo/lsxl/kwbimage-lschl.cfg | 229 +++++++++++++++++++++++++ board/buffalo/lsxl/kwbimage-lsxhl.cfg | 229 +++++++++++++++++++++++++ board/buffalo/lsxl/lsxl.c | 303 +++++++++++++++++++++++++++++++++ board/buffalo/lsxl/lsxl.h | 75 ++++++++ boards.cfg | 2 + include/configs/lsxl.h | 174 +++++++++++++++++++ 8 files changed, 1067 insertions(+), 0 deletions(-) create mode 100644 board/buffalo/lsxl/Makefile create mode 100644 board/buffalo/lsxl/kwbimage-lschl.cfg create mode 100644 board/buffalo/lsxl/kwbimage-lsxhl.cfg create mode 100644 board/buffalo/lsxl/lsxl.c create mode 100644 board/buffalo/lsxl/lsxl.h create mode 100644 include/configs/lsxl.h
MAINTAINERS +5 -0
@@ -894,6 +894,11 @@ Prafulla Wadaskar <[email protected]> rd6281a ARM926EJS (Kirkwood SoC) sheevaplug ARM926EJS (Kirkwood SoC) +Michael Walle <[email protected]> + + lschlv2 ARM926EJS (Kirkwood SoC) + lsxhl ARM926EJS (Kirkwood SoC) + Tom Warren <[email protected]> harmony Tegra2 (ARM7 & A9 Dual Core)
board/buffalo/lsxl/Makefile new file +50 -0
50 lines not on this page · raw message
board/buffalo/lsxl/kwbimage-lschl.cfg new file +229 -0
229 lines not on this page · raw message
board/buffalo/lsxl/kwbimage-lsxhl.cfg new file +229 -0
229 lines not on this page · raw message
board/buffalo/lsxl/lsxl.c new file +303 -0
303 lines not on this page · raw message
board/buffalo/lsxl/lsxl.h new file +75 -0
75 lines not on this page · raw message
boards.cfg +2 -0
@@ -137,6 +137,8 @@ hawkboard_uart arm arm926ejs da8xxevm davinci enbw_cmc arm arm926ejs enbw_cmc enbw davinci calimain arm arm926ejs calimain omicron davinci dns325 arm arm926ejs - d-link kirkwood +lschlv2 arm arm926ejs lsxl buffalo kirkwood lsxl:LSCHLV2 +lsxhl arm arm926ejs lsxl buffalo kirkwood lsxl:LSXHL km_kirkwood arm arm926ejs km_arm keymile kirkwood km_kirkwood:KM_DISABLE_PCI km_kirkwood_pci arm arm926ejs km_arm keymile kirkwood km_kirkwood:KM_RECONFIG_XLX mgcoge3un arm arm926ejs km_arm keymile kirkwood
include/configs/lsxl.h new file +174 -0
174 lines not on this page · raw message
Signature · 1 line
1.7.2.5
PATCH v4 1/1 Kirkwood: add lschlv2 and lsxhl board support
board/buffalo/lsxl/Makefile line 41
Quoted 8 lines · On Thursday 10 May 2012 13:40:33 Michael Walle wrote:
board/buffalo/lsxl/Makefile new file +5
-0+clean: + rm -f $(SOBJS) $(OBJS) + +distclean: clean + rm -f $(LIB) core *.bak .depend
dead code; please delete
board/buffalo/lsxl/lsxl.c line 79
Quoted 7 lines
board/buffalo/lsxl/lsxl.c new file +3
-0+int board_early_init_f (void ) +{ +u32 kwmpp_config[] = {
this probably should be declared static. otherwise, it generates the array on the stack at runtime doesn't it ? look at objdump to see ...
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20120514/bffb78f0/attachment.pgp>