Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(611)

Unified Diff: cbootimage.h

Issue 6611009: Add the nand device support for cbootimage tool. (Closed) Base URL: http://git.chromium.org/git/cbootimage.git@master
Patch Set: Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | cbootimage.c » ('j') | cbootimage.c » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cbootimage.h
diff --git a/cbootimage.h b/cbootimage.h
index 173e76a024b9aa1003d38109c72136e1d7e77420..f99c92626a445a8a953170223e42395d1e777f44 100644
--- a/cbootimage.h
+++ b/cbootimage.h
@@ -35,12 +35,10 @@
#include <errno.h>
#define NVBOOT_AES_BLOCK_SIZE_LOG2 4
-
-#define KEY_LENGTH (128/8)
-
#define MAX_BUFFER 200
#define MAX_STR_LEN 20
#define MAX_BOOTLOADER_SIZE (16 * 1024 * 1024)
+#define NVBOOT_BOOTDATA_VERSION(a, b) ((((a)&0xffff) << 16) | ((b)&0xffff))
/*
* Enumerations
« no previous file with comments | « no previous file | cbootimage.c » ('j') | cbootimage.c » ('J')

Powered by Google App Engine
This is Rietveld 408576698