summaryrefslogtreecommitdiff
path: root/drivers/net
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2016-01-05 08:47:48 -0500
committerTom Rini <trini@konsulko.com>2016-01-13 21:05:08 -0500
commit48ad68deb8f3f2046aad4197e7b1bc70533b4bb2 (patch)
tree6e25289f3a294bb3a8df66b9bd45ea11b3545bb0 /drivers/net
parentd29892ba854f40980b84f86566cd0c2308c66afe (diff)
downloadu-boot-imx-48ad68deb8f3f2046aad4197e7b1bc70533b4bb2.zip
u-boot-imx-48ad68deb8f3f2046aad4197e7b1bc70533b4bb2.tar.gz
u-boot-imx-48ad68deb8f3f2046aad4197e7b1bc70533b4bb2.tar.bz2
hash.c: Conditionally compile hash_command, static hash_show
The function hash_show is now only called by hash_command, so mark it as static (and drop from hash.h). We only call hash_command when any of CONFIG_CMD_CRC32, CONFIG_CMD_SHA1SUM or CONFIG_CMD_HASH are set. Since hash.c is linked in unconditionally we must take extra care with functions that bring in read-only strings as these will not be discarded. Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'drivers/net')
0 files changed, 0 insertions, 0 deletions