PATCH add SMN42 board from Siemens
Hi,
The patch is rather large and can be downloaded at
ftp://ftp.denx.de/pub/patches/SMN42_NEW
The patch is against a u-boot tree checked out today at 14:35 (GMT+1).
Changes:
1) add cpu/arm720t/lpc2292 and include/asm-arm/arch-lpc2292 with files common to ports for the LPC2292.
2) patches to the lpc2292sodimm port reflecting (1).
3) errata fixes to board/lpc2292sodimm/eth.c obtained from Siemens.
4) add board/siemens/SMN42.
The eth.c files for lpc2292sodimm and SMN42 are identical, but the driver is very board-specific and cannot be put into e.g. drivers.
Signature · 5 lines
Gary Jennejohn / garyjATjennejohnDOTorg gjATfreebsdDOTorg garyjATdenxDOTde ===================================================================== DENX Software Engineering GmbH, HRB 165235 Munich, CEO: Wolfgang Denk Office: Kirchenstr. 5, D-82194 Groebenzell, Germany =====================================================================
Quoted 10 lines
-----Original Message-----
From: u-boot-users-bounces at lists.sourceforge.net [mailto:u-boot-users-bounces at lists.sourceforge.net] On Behalf Of Gary Jennejohn
Sent: 03 April 2007 15:58
To: u-boot-users at lists.sourceforge.net
Subject: [U-Boot-Users] PATCH add SMN42 board from Siemens
Quoted 8 lines
Hi,
The patch is rather large and can be downloaded at
ftp://ftp.denx.de/pub/patches/SMN42_NEWThe
eth.cfiles for lpc2292sodimm and SMN42 are identical, but the driver is very board-specific and cannot be put into e.g. drivers.
Gary
I stand ready to be corrected, but I thought the way round that
was
a) move the eth.c to drivers/<unique name>.c
b) add <unique_name>.o to the object list in drivers/Makefile
c) encapsulate the code with #ifdef CONFIG_<UNIQUE_DEF>
d) add #define CONFIG_<UNIQUE_DEF> to the include/configs/<board>.h for the lpc2292sodimm and SMN42 boards
e) check I haven't missed anything from this list.....
see e.g drivers/smc91111.c used by DK1C20, DK1S10, EP1C20 etc
This might still be possible if the lpc2292sodimm and SMN42 eth.c differ slightly,
using a board specific define.....
Regards
Peter
Signature · 1 line
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.