diff options
author | Katie Roberts-Hoffman <katierh@chromium.org> | 2011-09-27 17:29:21 -0700 |
---|---|---|
committer | Katie Roberts-Hoffman <katierh@chromium.org> | 2011-10-17 14:17:46 -0700 |
commit | 7e2f6e6131da700465576911d45ad573e4d3e179 (patch) | |
tree | fea60e41fb0167d627d912b6073d4a6a3eb311d6 /include | |
parent | 78c42c6a7987169b67248efe27239d6389ca4c69 (diff) |
Vboot: Exclude kcrashmem from vboot's memory wipe
Exclude kcrashmem from vboot unused memory wipe to allow for recovery of
kernel crash dumps. If the kcrashmem size changes, then the corresponding
fdt must be updated.
BUG=chrome-os-partner:5168
TEST=Manually observed kcrash preserved
Signed-off-by: Katie Roberts-Hoffman <katierh@chromium.org>
Change-Id: Iecb2bd7f7df958125ed3cb3bf0b789602e314e7c
Reviewed-on: http://gerrit.chromium.org/gerrit/8942
Reviewed-by: Simon Glass <sjg@chromium.org>
Commit-Ready: Katie Roberts-Hoffman <katierh@chromium.org>
Tested-by: Katie Roberts-Hoffman <katierh@chromium.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/fdt_decode.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/fdt_decode.h b/include/fdt_decode.h index d044aff245..4fb2afe665 100644 --- a/include/fdt_decode.h +++ b/include/fdt_decode.h @@ -261,12 +261,14 @@ struct fdt_nand { }; /** - * Returns information from the FDT about the memory. + * Returns information from the FDT about memory for a given root * * @param blob FDT blob to use + * @param name Root name of alias to search for * @param config structure to use to return information */ -int fdt_decode_memory(const void *blob, struct fdt_memory *config); +int fdt_decode_memory(const void *blob, const char *name, + struct fdt_memory *config); /** * Return information from the FDT about the console UART. This looks for |