diff options
author | Randall Spangler <rspangler@chromium.org> | 2010-06-15 18:45:09 -0700 |
---|---|---|
committer | Randall Spangler <rspangler@chromium.org> | 2010-06-15 18:45:09 -0700 |
commit | a55e5ca76c5054c02dcc0628be0950c07b49d38c (patch) | |
tree | 322a873fbf83ea81cf4e73dc7afe177cd70f9271 /host/linktest | |
parent | e3b4ac96bc8b47bc9e5f01177d8cf20066cff4a8 (diff) | |
download | vboot-a55e5ca76c5054c02dcc0628be0950c07b49d38c.tar.gz |
Refactor LoadFirmware() to avoid global variables, which don't work when running out of ROM
Review URL: http://codereview.chromium.org/2848006
Diffstat (limited to 'host/linktest')
-rw-r--r-- | host/linktest/main.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/host/linktest/main.c b/host/linktest/main.c index b8db1211..5fb7dd3d 100644 --- a/host/linktest/main.c +++ b/host/linktest/main.c @@ -7,9 +7,7 @@ int main(void) /* host_key.h */ PrivateKeyRead(0, 0); PrivateKeyFree(0); - PublicKeyInit(0, 0, 0); PublicKeyAlloc(0, 0, 0); - PublicKeyCopy(0, 0); PublicKeyRead(0); PublicKeyReadKeyb(0, 0, 0); PublicKeyWrite(0, 0); |