coreboot/src/soc/intel
Aaron Durbin b5a5aa6450 soc/intel/common/gpio: clean up logical to chipset mapping
1. Explicitly add LOGICAL to the reset macro name to make it explicit
   that the values are logical.
2. Reword some of the comments and combine them into single comment
   instead of scattering the comments throughout.
3. Use c99 struct initializers for the reset mapping array.
4. For the chipset specific values use literals that match the hardware.
5. Use 'U' suffixes on the literals so we don't trip up compiler being
   over zealous on undefined behavior.
6. Use unsigned and fixed-width types for the reset mapping structure
   since the code is reliant on matching up with a register definition.
7. Fix formatting that can fit < 80 cols.

Change-Id: Iaa23a319832c05b8a023f6e45c4ee5ac06dd7066
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: https://review.coreboot.org/20589
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Subrata Banik <subrata.banik@intel.com>
Reviewed-by: Furquan Shaikh <furquan@google.com>
2017-07-17 15:00:30 +00:00
..
apollolake soc/intel/common/gpio: clean up logical to chipset mapping 2017-07-17 15:00:30 +00:00
baytrail soc/intel: add IS_ENABLED() around Kconfig symbol references 2017-07-13 23:54:32 +00:00
braswell Rename __attribute__((packed)) --> __packed 2017-07-13 19:45:59 +00:00
broadwell soc/intel: add IS_ENABLED() around Kconfig symbol references 2017-07-13 23:54:32 +00:00
cannonlake soc/intel/cannonlake: remove top_of_32bit_ram() declaration 2017-07-17 14:59:51 +00:00
common soc/intel/common/gpio: clean up logical to chipset mapping 2017-07-17 15:00:30 +00:00
fsp_baytrail soc/intel: add IS_ENABLED() around Kconfig symbol references 2017-07-13 23:54:32 +00:00
fsp_broadwell_de Rename __attribute__((packed)) --> __packed 2017-07-13 19:45:59 +00:00
quark Rename __attribute__((packed)) --> __packed 2017-07-13 19:45:59 +00:00
sch Rename __attribute__((packed)) --> __packed 2017-07-13 19:45:59 +00:00
skylake soc/intel/skylake: remove top_of_32bit_ram() declaration 2017-07-17 14:59:56 +00:00