summaryrefslogtreecommitdiff
path: root/config.mk
diff options
context:
space:
mode:
authorChe-Liang Chiou <clchiou@chromium.org>2010-10-26 18:44:47 +0800
committerSimon Glass <sjg@chromium.org>2011-08-24 09:59:23 -0700
commit09ce7ca76655c12a38ad8f3da55cb20d63ed2cbe (patch)
tree0ab483af1bae5f7046fca64c3b86d3b450012605 /config.mk
parentd39ab19687c1380c46c5e0f877ec89fd573136c4 (diff)
Implement boot device r/w functions for vboot
BUG=None TEST=Manual Test procedure: 1. Compile with VBOOT_DEBUG flag on successfully 2. Run u-boot on dev board as follows: (Assume you have mmc device on dev board) CrOS> mmc init CrOS> cros bootdev set mmc 1 CrOS> cros bootdev (info of mmc1) CrOS> read mmc 1 0x20000000 1 2 CrOS> md.b 0x20000000 (mmc1 content) CrOS> cros bootdev read 0x20001000 1 2 CrOS> md.b 0x20001000 (mmc1 content) CrOS> cmp.b 0x20000000 0x20001000 0x400 (compare the blocks, should be identical) Review URL: http://codereview.chromium.org/4001006 Change-Id: I339f9fb63862993f8b9ced80d4c27d6bef0c1bc6
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/config.mk b/config.mk
index a0ee570acd..a6da1118fb 100644
--- a/config.mk
+++ b/config.mk
@@ -175,6 +175,9 @@ endif
ifdef VBOOT
CPPFLAGS += -I$(VBOOT)/include/vboot
endif
+ifdef VBOOT_DEBUG
+CPPFLAGS += -DVBOOT_DEBUG
+endif
CPPFLAGS += -I$(TOPDIR)/include
CPPFLAGS += -fno-builtin -ffreestanding -nostdinc \