diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2015-08-27 18:52:36 +0900 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2015-08-30 22:18:00 +0900 |
commit | 2bc1f2b5929d03fddd38f169621a0fa7670d85eb (patch) | |
tree | 2e7d2ccbed35da9e0112d8a64a623c7767cf199b /include/configs/plutux.h | |
parent | a679cc0118f6bec16c82d2c44f8a980f6f319bde (diff) | |
download | u-boot-imx-2bc1f2b5929d03fddd38f169621a0fa7670d85eb.zip u-boot-imx-2bc1f2b5929d03fddd38f169621a0fa7670d85eb.tar.gz u-boot-imx-2bc1f2b5929d03fddd38f169621a0fa7670d85eb.tar.bz2 |
mtd: denali_spl: do not allocate page_buffer in .bss section
Since commit 2580a2a7e719 ("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>
Diffstat (limited to 'include/configs/plutux.h')
0 files changed, 0 insertions, 0 deletions