mb/intel/adlrvp: Replace if-else-if ladder with switch construct
commitc046dd02322dfed1db0c25ae310ec59630d8b492
authorSridhar Siricilla <sridhar.siricilla@intel.com>
Fri, 30 Oct 2020 06:15:24 +0000 (30 11:45 +0530)
committerPatrick Georgi <pgeorgi@google.com>
Mon, 9 Nov 2020 10:18:22 +0000 (9 10:18 +0000)
tree213bb384c42c69b88ddc29ca8c3c297c2849f4f6
parent06bff726d43b1ec46fcfe28797d8ef7f748ea9e8
mb/intel/adlrvp: Replace if-else-if ladder with switch construct

The patch replaces if-else-if ladder with switch case for readability
purpose.

Signed-off-by: Sridhar Siricilla <sridhar.siricilla@intel.com>
Change-Id: I268db8bc63aaf64d4a91c9a44ef5282154b20a53
Reviewed-on: https://review.coreboot.org/c/coreboot/+/47054
Reviewed-by: Subrata Banik <subrata.banik@intel.com>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
src/mainboard/intel/adlrvp/memory.c