]> Git Repo - u-boot.git/blobdiff - lib/aes.c
arm: tegra: Remove <common.h> and add needed includes
[u-boot.git] / lib / aes.c
index ce53c9f1f372a3b416bd156e321a17cf79e6b48c..39ad4a990f07c498ff1252879e2f1c9197cdfbe6 100644 (file)
--- a/lib/aes.c
+++ b/lib/aes.c
@@ -22,7 +22,9 @@
 */
 
 #ifndef USE_HOSTCC
-#include <common.h>
+#include <display_options.h>
+#include <log.h>
+#include <linux/string.h>
 #else
 #include <string.h>
 #endif
@@ -618,7 +620,7 @@ void aes_decrypt(u32 key_len, u8 *in, u8 *expkey, u8 *out)
 static void debug_print_vector(char *name, u32 num_bytes, u8 *data)
 {
 #ifdef DEBUG
-       printf("%s [%d] @0x%08x", name, num_bytes, (u32)data);
+       printf("%s [%d] @0x%p", name, num_bytes, data);
        print_buffer(0, data, 1, num_bytes, 16);
 #endif
 }
This page took 0.025615 seconds and 4 git commands to generate.