Data is intended to be a byte array, so it should be described by a type which has a fixed size equal to an 8 bit byte. Also, the data passed to write shouldn't be modified and can be const. BUG=chrome-os-partner:19420 TEST=Built and booted into depthcharge on pit. Built and booted into ChromeOS on snow. BRANCH=None Change-Id: Ib01c0218b95d8660418fea2181f6f38bc0675159 Signed-off-by: Gabe Black <gabeblack@google.com> Reviewed-on: https://gerrit.chromium.org/gerrit/60601 Reviewed-by: David Hendricks <dhendrix@chromium.org> Tested-by: Ronald G. Minnich <rminnich@chromium.org> Commit-Queue: Gabe Black <gabeblack@chromium.org> |
||
|---|---|---|
| .. | ||
| amd | ||
| armltd | ||
| intel | ||
| samsung | ||
| via | ||
| x86 | ||
| Kconfig | ||
| Makefile.inc | ||