nb/intel/sandybridge: Use or-based logic for RANKSEL
commit6aa7cca8158227019c845752b0481e0c66b4eb29
authorAngel Pons <th3fanbus@gmail.com>
Sat, 2 May 2020 17:38:34 +0000 (2 19:38 +0200)
committerPatrick Georgi <pgeorgi@google.com>
Mon, 18 May 2020 07:03:44 +0000 (18 07:03 +0000)
tree871486a3674822a3c7171f0f0635bf7302e62f38
parentca00dec624b4763464f98127f2a262b1d0b8f272
nb/intel/sandybridge: Use or-based logic for RANKSEL

NO_RANKSEL was introduced because it appeared less often and it did not
cause any lines to become too long. To simplify macro transmutation, add
the RANKSEL opposite and keep NO_RANKSEL as a no-op to ease replacement.

Line length limits are not for review. Breaking the lines unnecessarily
complicates search and replace operations, and wil be taken care of in
subsequent commits.

Tested with BUILD_TIMELESS=1, ASUS P8Z77-V LX2 remains unchanged.

Change-Id: I5d7aad59fc79840da7de2e9421b84834a6024eb9
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/40977
Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
src/northbridge/intel/sandybridge/raminit_common.c
src/northbridge/intel/sandybridge/raminit_common.h