diff options
author | Richard Spiegel <richard.spiegel@silverbackltd.com> | 2017-10-05 18:53:31 -0700 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2017-10-15 22:10:02 +0000 |
commit | aa1838577dfdd5eb00e7fffbb4d9246ef2a43aab (patch) | |
tree | 34aaf797fa6d9225c3ba52b894702ecee97954e9 /src/vboot/vbnv_cmos.c | |
parent | 1a81a4d1351006ebbb33238f8dcaccc98df694e5 (diff) |
soc/amd/stoneyridge/lpc.c: Refactor lpc_enable_childrens_resources
Factor out the code into separate functions.
Create set_lpc_resource that will set the resource for a particular child while
lpc_enable_childrens_resources finds all children and calls set_lpc_resource
for each child found. This creates well defined boundaries for each function.
Change-Id: I265cfac2049733481faf8a6e5b02e34aadae11f5
Signed-off-by: Richard Spiegel <richard.spiegel@silverbackltd.com>
Reviewed-on: https://review.coreboot.org/21904
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Marc Jones <marc@marcjonesconsulting.com>
Diffstat (limited to 'src/vboot/vbnv_cmos.c')
0 files changed, 0 insertions, 0 deletions