soc/intel/broadwell: Define RCBA register LCAP

This register has a name. Use it.

Change-Id: I952584c4aa92fc917d2fc0ef174ee12ae3eeee81
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/46340
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
This commit is contained in:
Angel Pons 2020-10-13 14:25:57 +02:00
parent 9ab02cb5fc
commit ec05de6f54
2 changed files with 4 additions and 2 deletions

View File

@ -95,8 +95,8 @@ static void broadwell_finalize(void *unused)
/* Lock */
RCBA32_OR(0x3a6c, 0x00000001);
/* Read+Write the following register */
RCBA32(0x21a4) = RCBA32(0x21a4);
/* Read+Write this R/WO register */
RCBA32(LCAP) = RCBA32(LCAP);
/* Indicate finalize step with post code */
post_code(POST_OS_BOOT);

View File

@ -48,6 +48,8 @@
#define PIRQG 6
#define PIRQH 7
#define LCAP 0x21a4
/* IO Buffer Programming */
#define IOBPIRI 0x2330
#define IOBPD 0x2334