summaryrefslogtreecommitdiffstats
path: root/common/Makefile
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2012-12-05 14:46:36 +0000
committerTom Rini <trini@ti.com>2012-12-11 13:17:34 -0700
commit460408ef9a14b8f8896d1bc8aa0f702b47c26bb8 (patch)
treee8e29f156ba9525ac6d8a34810b8e4126928ae1a /common/Makefile
parentb1f17bf5ff63a7e22e0299dd576c3b6cd38ae665 (diff)
downloadtalos-obmc-uboot-460408ef9a14b8f8896d1bc8aa0f702b47c26bb8.tar.gz
talos-obmc-uboot-460408ef9a14b8f8896d1bc8aa0f702b47c26bb8.zip
Add generic hash API
We have a SHA1 command and want to add a SHA256 command also. Instead of duplicating the code, create a generic hash API which can process commands for different algorithms. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common/Makefile')
-rw-r--r--common/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/Makefile b/common/Makefile
index 07a93d1ed2..068598bbb0 100644
--- a/common/Makefile
+++ b/common/Makefile
@@ -30,6 +30,7 @@ ifndef CONFIG_SPL_BUILD
COBJS-y += main.o
COBJS-y += command.o
COBJS-y += exports.o
+COBJS-y += hash.o
COBJS-$(CONFIG_SYS_HUSH_PARSER) += hush.o
COBJS-y += s_record.o
COBJS-y += xyzModem.o
OpenPOWER on IntegriCloud