commit | 26cc10a35eb9b24fcabb09551b04c29dfad93cd2 | [log] [tgz] |
---|---|---|
author | Heiko Schocher <hs@denx.de> | Fri Sep 17 13:10:38 2010 +0200 |
committer | Wolfgang Denk <wd@denx.de> | Sun Sep 19 19:29:52 2010 +0200 |
tree | 140e62080ad04771e4689b32c3e64cc6d1b1e309 | |
parent | 2afe3145fb6abcd2d984b481b3071e2bc682de4d [diff] |
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>