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 /include | |
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 'include')
-rw-r--r-- | include/config_cmd_all.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/config_cmd_all.h b/include/config_cmd_all.h index aae6540b437..47abd05e199 100644 --- a/include/config_cmd_all.h +++ b/include/config_cmd_all.h @@ -24,6 +24,7 @@ #define CONFIG_CMD_CACHE /* icache, dcache */ #define CONFIG_CMD_CDP /* Cisco Discovery Protocol */ #define CONFIG_CMD_CONSOLE /* coninfo */ +#define CONFIG_CMD_CROS /* Chrome OS verify boot support*/ #define CONFIG_CMD_DATE /* support for RTC, date/time...*/ #define CONFIG_CMD_DHCP /* DHCP Support */ #define CONFIG_CMD_DIAG /* Diagnostics */ |