From: Wolfgang Denk Date: Wed, 11 Jul 2012 09:33:32 +0200 Subject: [U-Boot] [PATCH V3 1/2] Add env vars describing U-Boot target board In-Reply-To: <1337714515-6575-1-git-send-email-swarren@wwwdotorg.org> References: <1337714515-6575-1-git-send-email-swarren@wwwdotorg.org> Message-ID: <20120711073332.65E4720028C@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Stephen Warren, In message <1337714515-6575-1-git-send-email-swarren@wwwdotorg.org> you wrote: > From: Stephen Warren > > This can be useful for generic scripts. For example, rather than hard- > coding a script to ext2load tegra-harmony.dtb, it could load > ${soc}-${board}.dtb and hence not need adjustments to run on multiple > boards. > > Signed-off-by: Stephen Warren This patch breaks the BC3450 board: Configuring for BC3450 board... text data bss dec hex filename 289722 20652 284640 595014 91446 /work/wd/tmp-ppc/u-boot cmd_bc3450.c:55:0: warning: "CONFIG_SYS_CPU" redefined [enabled by default] /work/wd/tmp-ppc/include/config.h:3:0: note: this is the location of the previous definition Please fix. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Real programmers don't comment their code. It was hard to write, it should be hard to understand.