Skip to content
Commit 4fff329d authored by Heiko Schocher's avatar Heiko Schocher Committed by Wolfgang Denk
Browse files

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: default avatarHeiko Schocher <hs@denx.de>
Acked-by: default avatarScott Wood <scottwood@freescale.com>
parent 1724fe9a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment