From: Wolfgang Denk Date: Thu, 07 Apr 2011 09:11:03 +0200 Subject: [U-Boot] [PATCH] Handle most LDSCRIPT setting centrally In-Reply-To: <20110406233136.GA13709@schlenkerla.am.freescale.net> References: <20110406233136.GA13709@schlenkerla.am.freescale.net> Message-ID: <20110407071103.4C63D151F83@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 Scott Wood, In message <20110406233136.GA13709@schlenkerla.am.freescale.net> you wrote: > Currently, some linker scripts are found by common code in config.mk. > Some are found using CONFIG_SYS_LDSCRIPT, but the code for that is > sometimes in arch config.mk and sometimes in board config.mk. Some > are found using an arch-specific rule for looking in CPUDIR, etc. > > Further, the powerpc config.mk rule relied on CONFIG_NAND_SPL > when it really wanted CONFIG_NAND_U_BOOT -- which covered up the fact > that not all NAND_U_BOOT builds actually wanted CPUDIR/u-boot-nand.lds. > > Replace all of this -- except for a handful of boards that are actually > selecting a linker script in a unique way -- with centralized ldscript > finding. Thanks for this nice cleanup. Only one question: Which boards / architectures did you cover during your tests? 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 Q: How do you play religious roulette? A: You stand around in a circle and blaspheme and see who gets struck by lightning first.