diff options
author | Kane Chen <kane.chen@intel.com> | 2014-09-08 09:04:28 -0700 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2015-03-21 08:44:35 +0100 |
commit | 0a0fc3b0267c22baccb99775ea7d13600596b9c6 (patch) | |
tree | f5184a68dda377934d3bbe105f370e04c149f6cd | |
parent | bd978851b0988d32d2c7e85e493c32a5245e892c (diff) |
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: I2b18347e46c831038f048cfd0b065430c72c6f30
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: 4c32ee21b4c942182e5ffb21b58b93fa7c082223
Original-Change-Id: Ib743e960f772b7e2e73a1feb80790a13bd8c06c7
Original-Signed-off-by: Kane Chen <kane.chen@intel.com>
Original-Reviewed-on: https://chromium-review.googlesource.com/217415
Original-Reviewed-by: Bernie Thompson <bhthompson@chromium.org>
Reviewed-on: http://review.coreboot.org/8821
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
-rw-r--r-- | src/lib/cbfs_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/cbfs_core.c b/src/lib/cbfs_core.c index 6455a07708..c28a8658d0 100644 --- a/src/lib/cbfs_core.c +++ b/src/lib/cbfs_core.c @@ -153,7 +153,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; |