u-boot/drivers/mtd/nand
Sebastien Carlier 6d8962e814 Switch from archive libraries to partial linking
Before this commit, weak symbols were not overridden by non-weak symbols
found in archive libraries when linking with recent versions of
binutils.  As stated in the System V ABI, "the link editor does not
extract archive members to resolve undefined weak symbols".

This commit changes all Makefiles to use partial linking (ld -r) instead
of creating library archives, which forces all symbols to participate in
linking, allowing non-weak symbols to override weak symbols as intended.
This approach is also used by Linux, from which the gmake function
cmd_link_o_target (defined in config.mk and used in all Makefiles) is
inspired.

The name of each former library archive is preserved except for
extensions which change from ".a" to ".o".  This commit updates
references accordingly where needed, in particular in some linker
scripts.

This commit reveals board configurations that exclude some features but
include source files that depend these disabled features in the build,
resulting in undefined symbols.  Known such cases include:
- disabling CMD_NET but not CMD_NFS;
- enabling CONFIG_OF_LIBFDT but not CONFIG_QE.

Signed-off-by: Sebastien Carlier <sebastien.carlier@gmail.com>
2010-11-17 21:02:18 +01:00
..
atmel_nand.c at91: add hwecc method for nand 2010-03-23 14:29:09 -05:00
atmel_nand_ecc.h at91: add hwecc method for nand 2010-03-23 14:29:09 -05:00
bfin_nand.c Blackfin: bfin_nand: convert to portmux framework 2010-07-13 17:50:49 -04:00
davinci_nand.c davinci_nand, trivial : use symbolic ECC start command 2010-10-17 20:14:43 +02:00
diskonchip.c Remove legacy NAND and disk on chip code. 2009-07-16 19:07:47 -05:00
fsl_elbc_nand.c 83xx/85xx/86xx: LBC register cleanup 2010-07-16 10:55:09 -05:00
fsl_upm.c Add wait flags to support board/chip specific delays 2009-03-23 15:53:40 -05:00
kb9202_nand.c KB9202: Add NAND support 2009-08-26 15:37:01 -05:00
kirkwood_nand.c nand: Add Marvell Kirkwood NAND driver 2009-07-08 21:20:10 +02:00
kmeter1_nand.c 83xx, kmeter1: added NAND support 2009-08-26 15:37:02 -05:00
Makefile Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
mpc5121_nfc.c mpc512x. Micron nand flash needs a reset before a read command is issued. 2009-09-22 22:59:42 +02:00
mxc_nand.c Prepare v2010.03-rc1 2010-03-12 23:06:04 +01:00
nand.c Replace CONFIG_RELOC_FIXUP_WORKS by CONFIG_NEEDS_MANUAL_RELOC 2010-10-29 21:32:07 +02:00
nand_base.c nand: remove dead code and suspend/resume 2010-10-11 15:10:35 -05:00
nand_bbt.c nand: remove dead code and suspend/resume 2010-10-11 15:10:35 -05:00
nand_ecc.c nand: remove dead code and suspend/resume 2010-10-11 15:10:35 -05:00
nand_ids.c NAND: add Toshiba TC58NVG0 identifier 2010-07-08 16:49:50 -05:00
nand_plat.c mtd: nand_plat: add simple GPIO framework DEV_READY option 2010-07-08 16:52:12 -05:00
nand_util.c nand: remove dead code and suspend/resume 2010-10-11 15:10:35 -05:00
ndfc.c ppc4xx: Move ppc4xx headers to powerpc include directory 2010-09-23 09:02:05 +02:00
nomadik.c nomadik/nand: fix 'ecc512' discards qualifiers from pointer target type 2009-02-22 17:56:50 +01:00
omap_gpmc.c omap3: replace all instances of gpmc config struct by one global 2009-08-08 11:34:11 +02:00
s3c64xx.c s3c64xx: move s3c64xx header files to asm-arm/arch-s3c64xx 2009-11-27 16:26:13 -06:00
s3c2410_nand.c Add generic support for samsung s3c2440 2010-10-28 15:35:56 +09:00
spr_nand.c mod change 755 => 644 for multiple files 2010-03-21 22:22:53 +01:00