diff options
author | Furquan Shaikh <furquan@google.com> | 2021-02-17 19:07:18 -0800 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2021-02-20 09:00:56 +0000 |
commit | 9d1bf811fe110a520ceeb0a26e5aa749bf1c2b94 (patch) | |
tree | ebeebf9bf1718b99db66427846fa1ea60e18e742 /src/drivers/generic/cbfs-serial | |
parent | 80b2f2358485514cc31da2ee989e928288b80d5c (diff) |
sconfig: Use get_chip_instance() to set base_chip_instance
Now that multiple device trees are supported (chipset, base,
override), base_chip_instance parameter for override device needs to
be set to the base chip instance of the corresponding device in
base/primary tree. This can be achieved by using `get_chip_instance()`
instead of using base_dev->chip_instance in `update_device()`.
TEST=Verified that coreboot.rom generated using timeless shows no
change for all boards.
Change-Id: I42e3f4b83c55f3479b95dbbd7a3721558c32b1c8
Signed-off-by: Furquan Shaikh <furquan@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/50868
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/drivers/generic/cbfs-serial')
0 files changed, 0 insertions, 0 deletions