diff options
author | Felix Singer <felixsinger@posteo.net> | 2020-08-11 06:57:44 +0200 |
---|---|---|
committer | Michael Niewöhner <c0d3z3r0@review.coreboot.org> | 2020-08-14 21:57:09 +0000 |
commit | e32fa4e152b212bf1d886b2007b01521a7161cbc (patch) | |
tree | 077210c928444f3da76c529e6f0623bab3490119 /src/soc/intel/skylake/include | |
parent | 736de9f2466a08d563cc9ed29c76d9d5f0cc2440 (diff) |
soc/intel/skylake: Refactor PEG configuration
Simplify some if-blocks which are used for the configuration, enablement
and disablement of the PEG devices.
This changes the logic of the code, since it configures PegxEnable
before the if-blocks, where x is the number of the PEG device, and the
further configuration of the PEG devices depends on the enablement of
PegxEnable.
Change-Id: I6dd88ce752ce8f0255c424d0e5b2d8ef918885a1
Signed-off-by: Felix Singer <felixsinger@posteo.net>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/44368
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Michael Niewöhner
Diffstat (limited to 'src/soc/intel/skylake/include')
0 files changed, 0 insertions, 0 deletions