diff options
author | Albert Chaulk <achaulk@chromium.org> | 2013-03-26 13:43:02 -0700 |
---|---|---|
committer | ChromeBot <chrome-bot@google.com> | 2013-05-06 15:48:41 -0700 |
commit | fa6b35c1ffa33833b3250a6515869ccd4cb59121 (patch) | |
tree | 2de52d0da32d597818fe74015703056d80fdb770 /host | |
parent | 5c9e4532b9bc45cff22f37d3556da679809a60a7 (diff) | |
download | vboot-fa6b35c1ffa33833b3250a6515869ccd4cb59121.tar.gz |
Refactor CgptAdd and CgptPrioitize to remove gpt-specific code
- Refactor cgpt_prioitize.c to completely remove gpt-specific code.
- Refactor cgpt_add.c to isolate gpt-dependence to one helper function
and the backup/restore logic
- Change several common apis to take a struct drive* rather than a GptData*,
this provides a path to cleanly implement mtd versions
BUG=chromium:221745
TEST=no functional changes, existing tests cover this
BRANCH=none
Change-Id: I27ed166aae390aa5dc83062f62939e45122edc76
Original-Change-Id: I1b0a73509efbf22411c4ae5cf044feede0a49a33
Reviewed-on: https://gerrit.chromium.org/gerrit/46548
Tested-by: Albert Chaulk <achaulk@chromium.org>
Reviewed-by: Bill Richardson <wfrichar@chromium.org>
Commit-Queue: Albert Chaulk <achaulk@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/49788
Diffstat (limited to 'host')
-rw-r--r-- | host/include/cgpt_params.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/host/include/cgpt_params.h b/host/include/cgpt_params.h index c8567e5b..14e380a2 100644 --- a/host/include/cgpt_params.h +++ b/host/include/cgpt_params.h @@ -29,7 +29,7 @@ typedef struct CgptAddParams { int successful; int tries; int priority; - uint16_t raw_value; + uint32_t raw_value; int set_begin; int set_size; int set_type; |