Home
last modified time | relevance | path

Searched hist:f8cfcf1b1c7543d5dd103359376a3319301143bc (Results 1 – 1 of 1) sorted by relevance

/rk3399_rockchip-uboot/include/
H A Denv_callback.hf8cfcf1b1c7543d5dd103359376a3319301143bc Thu Dec 20 11:51:05 UTC 2012 Scott Wood <scottwood@freescale.com> env: don't generate callback list entries for SPL

SPL doesn't write to the environment. These list entries prevent the
functions from being garbage-collected, even though nothing will look at
the list. This caused several SPL builds (e.g. P2020RDB-PC_NAND) to
break due to size limitations and/or unresolved symbols.

A static inline function is used to provide a context in which we
can consume the callback, and thus avoid unused function warnings.

Signed-off-by: Scott Wood <scottwood@freescale.com>
Acked-by: Joe Hershberger <joe.hershberger@gmail.com>
Acked-by: Kim Phillips <kim.phillips@freescale.com>