cbfs: change 1 message level to WARNING if cbfs can't find specific data
In some cases, we need to use 1 common VGA device ID to share among different VGA devices. But it will show error when it can't find a specific pci rom by PCI DID. in fact, it will find the pci rom with common vga ID. Without this commit, you may need to skip error check during suspend_stress_test BUG=none BRANCH=none TEST=build OK, and check no error on Auron and Samus Change-Id: Ib743e960f772b7e2e73a1feb80790a13bd8c06c7 Signed-off-by: Kane Chen <kane.chen@intel.com> Reviewed-on: https://chromium-review.googlesource.com/217415 Reviewed-by: Bernie Thompson <bhthompson@chromium.org>
This commit is contained in:
parent
9fa69d22de
commit
4c32ee21b4
1 changed files with 1 additions and 1 deletions
|
|
@ -151,7 +151,7 @@ ssize_t cbfs_locate_file(struct cbfs_media *media, struct cbfs_file *file,
|
|||
uint32_t new_align = align;
|
||||
if (offset % align)
|
||||
new_align += align - (offset % align);
|
||||
ERROR("ERROR: No file header found at 0x%x - "
|
||||
LOG("WARNING: No file header found at 0x%x - "
|
||||
"try next aligned address: 0x%x.\n", offset,
|
||||
offset + new_align);
|
||||
offset += new_align;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue