Skip to contentSkip to conversation

nand_spl: remove unused linker scripts u-boot-nand.lds

PATCH New Masahiro Yamada 2 participants 2 messages Apr 28, 2014 – May 13, 2014

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 nand_spl: remove unused linker scripts u-boot-nand.lds

Commit 345b77ba removed some nand_spl boards but
it missed to delete linker scripts.

These linker scripts are not used now.

And one more fix:
amcc/acadia does not support nand_spl anymore, so remove
#if !defined(CONFIG_NAND_U_BOOT) ... #endif

---

Changes in v2:
- Fix commit description:
Add "#if !defined(CONFIG_NAND_U_BOOT) ... #endif"
(At v1, it was accidentally dropped from git log, because it begins with '#'.

 board/amcc/acadia/acadia.c             |   2 -
 board/amcc/acadia/u-boot-nand.lds      |  87 ------------------------
 board/amcc/bamboo/u-boot-nand.lds      |  88 ------------------------
 board/amcc/canyonlands/u-boot-nand.lds |  88 ------------------------
 board/amcc/kilauea/u-boot-nand.lds     |  87 ------------------------
 board/amcc/sequoia/u-boot-nand.lds     |  88 ------------------------
 board/esd/pmc440/u-boot-nand.lds       | 118 ---------------------------------
 7 files changed, 558 deletions(-)
 delete mode 100644 board/amcc/acadia/u-boot-nand.lds
 delete mode 100644 board/amcc/bamboo/u-boot-nand.lds
 delete mode 100644 board/amcc/canyonlands/u-boot-nand.lds
 delete mode 100644 board/amcc/kilauea/u-boot-nand.lds
 delete mode 100644 board/amcc/sequoia/u-boot-nand.lds
 delete mode 100644 board/esd/pmc440/u-boot-nand.lds
board/amcc/acadia/acadia.c +0 -2
index 9c6deea..2eb18df 100644
@@ -39,12 +39,10 @@ int board_early_init_f(void)
 {
 	unsigned int reg;
 
-#if !defined(CONFIG_NAND_U_BOOT)
 	/* don't reinit PLL when booting via I2C bootstrap option */
 	mfsdr(SDR0_PINSTP, reg);
 	if (reg != 0xf0000000)
 		board_pll_init_f();
-#endif
 
 	acadia_gpio_init();
 
board/amcc/acadia/u-boot-nand.lds deleted +0 -87

87 lines not on this page · raw message

board/amcc/bamboo/u-boot-nand.lds deleted +0 -88

88 lines not on this page · raw message

board/amcc/canyonlands/u-boot-nand.lds deleted +0 -88

88 lines not on this page · raw message

board/amcc/kilauea/u-boot-nand.lds deleted +0 -87

87 lines not on this page · raw message

board/amcc/sequoia/u-boot-nand.lds deleted +0 -88

88 lines not on this page · raw message

board/esd/pmc440/u-boot-nand.lds deleted +0 -118

118 lines not on this page · raw message

Signature · 1 line
1.8.3.2
#1 lore raw

PATCH v2 1/1 nand_spl: remove unused linker scripts u-boot-nand.lds

Quoted 5 lines · Masahiro Yamada

Commit 345b77ba removed some nand_spl boards but it missed to delete linker scripts.

These linker scripts are not used now.

Quoted 7 lines

And one more fix:
amcc/acadia does not support nand_spl anymore, so remove
#if !defined(CONFIG_NAND_U_BOOT) ... #endif

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140512/8007a9b9/attachment.pgp>