From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Tyser Date: Tue, 07 Sep 2010 16:40:27 -0500 Subject: [U-Boot] [RFC][PATCH 3/3] Add board support for the eXMeritus HWW-1U-1A devices In-Reply-To: <584AA181-AD90-4093-B791-251C783F65C3@boeing.com> References: <1283192693-7328-1-git-send-email-Kyle.D.Moffett@boeing.com> <1283192693-7328-4-git-send-email-Kyle.D.Moffett@boeing.com> <1283486455.32605.44.camel@ptyser-laptop> <584AA181-AD90-4093-B791-251C783F65C3@boeing.com> Message-ID: <1283895627.26713.466.camel@petert> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Kyle, > On Sep 03, 2010, at 00:00, Peter Tyser wrote: > >> --- a/Makefile > >> +++ b/Makefile > >> @@ -2499,6 +2499,10 @@ P2020DS_36BIT_config \ > >> P2020DS_config: unconfig > >> @$(MKCONFIG) -t $(@:_config=) P2020DS ppc mpc85xx p2020ds freescale > >> > >> +HWW_1U_1A_36BIT_config \ > >> +HWW_1U_1A_config: unconfig > >> + @$(MKCONFIG) -t $(@:_config=) HWW_1U_1A ppc mpc85xx hww-1u-1a exmeritus > >> + > > > > The new way to add a board is via boards.cfg. You shouldn't need to > > modify this Makefile. > > Is there some appropriate documentation on how boards.cfg is supposed to work? Not that I'm aware of. Its a relatively recent change to U-Boot. > The latest u-boot.git still seems to have the P2020DS lines that I referenced in "Makefile", and it has no references at all to "P2020DS" in the "boards.cfg" file. It looks like the top-level Makefile is still required for boards that support multiple configs, eg 'make P2020DS_36BIT' will configure U-Boot to compile a 36-bit addressable U-Boot image while 'make P2020DS' will configure a 32-bit addressable U-Boot image, but they both use the same Makefile rule with some fancy parsing. So I guess if you have a need for both a 32 and 36bit version of U-Boot you'll to modify the Makefile like your original patch did unfortunately. If you don't need to support both U-Boot configs, you can go the route of other similar boards that are only in boards.cfg, eg P4080DS, P1022DS, XPedite5370, etc. Best, Peter