diff options
author | Che-Liang Chiou <clchiou@chromium.org> | 2010-10-26 18:44:47 +0800 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2011-08-24 09:59:23 -0700 |
commit | 09ce7ca76655c12a38ad8f3da55cb20d63ed2cbe (patch) | |
tree | 0ab483af1bae5f7046fca64c3b86d3b450012605 /Makefile | |
parent | d39ab19687c1380c46c5e0f877ec89fd573136c4 (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 'Makefile')
-rw-r--r-- | Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -214,6 +214,7 @@ LIBS = lib/libgeneric.o LIBS += lib/lzma/liblzma.o LIBS += lib/lzo/liblzo.o LIBS += lib/zlib/libz.o +LIBS += lib_generic/chromeos/libchromeos.a LIBS += $(shell if [ -f board/$(VENDOR)/common/Makefile ]; then echo \ "board/$(VENDOR)/common/lib$(VENDOR).o"; fi) LIBS += $(CPUDIR)/lib$(CPU).o |