diff options
author | Sakari Ailus <sakari.ailus@linux.intel.com> | 2019-11-01 19:13:01 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-12-02 12:59:12 +0000 |
commit | 00517b687a03d6c9a760669c8fe1e89af2fc3884 (patch) | |
tree | 680d1d748f2b3a27e3ab285932e0fdb27d51715e /src/include/rules.h | |
parent | 68f0eb52696397d664c343dacef5c8b390a614e1 (diff) |
mb/google/poppy: Remove useless ifs around voltage and GPIO direction configuration
The methods generally tested OP region settings and only changed them if
they were not in their desired values. Instead, assign them directly
without checking them.
BUG=chromium:959232
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Tested-by: Jacopo Mondi <jacopo@jmondi.org>
Change-Id: I3ceca4bd51c4410c7020431f4fd682c4ca925110
Reviewed-on: https://review.coreboot.org/c/coreboot/+/36746
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/include/rules.h')
0 files changed, 0 insertions, 0 deletions