rv1126-uboot/drivers/mtd/nand
Masahiro Yamada 2bc1f2b592 mtd: denali_spl: do not allocate page_buffer in .bss section
Since commit 2580a2a7e7 ("mtd: nand: Increase max sizes of OOB and
Page size"), three boards (ph1_ld4, ph1_pro4, ph1_sld8) fail to build
with the following error message:
  arm-linux-gnueabi-ld.bfd: SPL image plus BSS too big

They compile drivers/mtd/nand/denali_spl.c and it has a page_buffer
as static data:

    static uint8_t page_buffer[NAND_MAX_PAGESIZE];

This buffer required 8KB in .bss section before that commit and now
it has been increased to 16KB.  Given limited code/memory size for SPL,
it is not a good idea to allocate a page buffer statically.  In the
first place, the load address 'dst' can be used as a page buffer.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
2015-08-30 22:18:00 +09:00
..
Kconfig mtd: nand: Add mvebu (PXA / AXP / A38x) NAND device driver 2015-08-25 22:53:58 -05:00
Makefile mtd: nand: Add mvebu (PXA / AXP / A38x) NAND device driver 2015-08-25 22:53:58 -05:00
am335x_spl_bch.c
atmel_nand.c nand, atmel: remove udelay in spl_nand_erase_one() 2015-08-12 20:47:27 -04:00
atmel_nand_ecc.h nand: Sync with Linux v4.1 2015-08-25 22:53:57 -05:00
bfin_nand.c
davinci_nand.c
denali.c nand: Sync with Linux v4.1 2015-08-25 22:53:57 -05:00
denali.h nand: Sync with Linux v4.1 2015-08-25 22:53:57 -05:00
denali_spl.c mtd: denali_spl: do not allocate page_buffer in .bss section 2015-08-30 22:18:00 +09:00
docg4.c nand: Sync with Linux v4.1 2015-08-25 22:53:57 -05:00
docg4_spl.c
fsl_elbc_nand.c nand: Sync with Linux v4.1 2015-08-25 22:53:57 -05:00
fsl_elbc_spl.c
fsl_ifc_nand.c nand: Sync with Linux v4.1 2015-08-25 22:53:57 -05:00
fsl_ifc_spl.c armv8/ls2085aqds: NAND boot support 2015-04-23 16:46:50 -07:00
fsl_upm.c
fsmc_nand.c
jz4740_nand.c
kb9202_nand.c
kirkwood_nand.c
kmeter1_nand.c
lpc32xx_nand_mlc.c lpc32xx: mtd: nand: add MLC NAND controller 2015-04-10 14:22:56 +02:00
lpc32xx_nand_slc.c nand: lpc32xx: add ECC layout for small page NAND 2015-08-18 13:45:56 -04:00
mpc5121_nfc.c
mxc_nand.c
mxc_nand.h
mxc_nand_spl.c
mxs_nand.c mtd: nand: mxs invalidate dcache before DMA read 2015-08-25 22:53:59 -05:00
mxs_nand_spl.c
nand.c
nand_base.c nand: Sync with Linux v4.1 2015-08-25 22:53:57 -05:00
nand_bbt.c nand: Sync with Linux v4.1 2015-08-25 22:53:57 -05:00
nand_bch.c
nand_ecc.c
nand_ids.c nand: Sync with Linux v4.1 2015-08-25 22:53:57 -05:00
nand_plat.c
nand_spl_load.c
nand_spl_simple.c spl: nand: simple: replace readb() with chip specific read_buf() 2015-08-12 20:47:33 -04:00
nand_timings.c nand: Sync with Linux v4.1 2015-08-25 22:53:57 -05:00
nand_util.c mtd/nand/ubi: assortment of alignment fixes 2015-08-28 12:33:17 -04:00
ndfc.c
nomadik.c
omap_elm.c
omap_gpmc.c mtd: OMAP: Enable GPMC prefetch mode for 16 bit access 2015-06-18 11:23:45 -04:00
pxa3xx_nand.c mtd: nand: Add mvebu (PXA / AXP / A38x) NAND device driver 2015-08-25 22:53:58 -05:00
pxa3xx_nand.h mtd: nand: Add mvebu (PXA / AXP / A38x) NAND device driver 2015-08-25 22:53:58 -05:00
s3c2410_nand.c
sunxi_nand_spl.c sunxi: nand: Add basic sunxi NAND driver for SPL with DMA support 2015-08-08 16:26:19 +02:00
tegra_nand.c tegra: nand: disable subpage writes 2015-08-13 13:06:03 -07:00
tegra_nand.h
vf610_nfc.c mtd: vf610_nfc: enable ONFI detection 2015-05-24 14:27:46 -05:00