diff options
author | Heiko Schocher <hs@denx.de> | 2010-09-17 11:10:38 (GMT) |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2010-09-19 17:29:52 (GMT) |
commit | 4fff329df2516a7d9242d0642c07c4506f859051 (patch) | |
tree | 140e62080ad04771e4689b32c3e64cc6d1b1e309 /common | |
parent | 1724fe9adfed43c92605b139d4a71f2f4a52c734 (diff) | |
download | u-boot-4fff329df2516a7d9242d0642c07c4506f859051.tar.xz |
nand_boot_fsl_nfc.c: make "nfc" a "static const" pointer
With -fPIC enabled, this variable needs an entry in the GOT, which
causes the image size to exceed 2 KiB which is the maximum allowed for
some systems. Making it a "static const" avoids the GOT entry and thus
reduces the image size to < 2 KiB.
Portions of this work were supported by funding from
the CE Linux Forum.
Signed-off-by: Heiko Schocher <hs@denx.de>
Acked-by: Scott Wood <scottwood@freescale.com>
Diffstat (limited to 'common')
0 files changed, 0 insertions, 0 deletions