diff options
author | Peter Lemenkov <lemenkov@gmail.com> | 2019-01-10 12:19:01 +0100 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-01-14 11:57:25 +0000 |
commit | 522a1b526b31c66aed2d75e99dd810dc5a136bbf (patch) | |
tree | fd30402b5c542428059d75b0f1f3355d0124d417 /src/mainboard/lenovo/t60 | |
parent | e23245517bed9befc41bbc8c571e05782a95d5fe (diff) | |
download | coreboot-522a1b526b31c66aed2d75e99dd810dc5a136bbf.tar.xz |
mb/lenovo/[xtz]60: Introduce and use RCBA64 macro
Change-Id: I85ca631dfb01acb92dd1ac38dff07215114cab8c
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
Reviewed-on: https://review.coreboot.org/c/30802
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Diffstat (limited to 'src/mainboard/lenovo/t60')
-rw-r--r-- | src/mainboard/lenovo/t60/romstage.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mainboard/lenovo/t60/romstage.c b/src/mainboard/lenovo/t60/romstage.c index 72dd8b42c3..3017357235 100644 --- a/src/mainboard/lenovo/t60/romstage.c +++ b/src/mainboard/lenovo/t60/romstage.c @@ -100,12 +100,10 @@ static void rcba_config(void) RCBA32(FD) |= FD_INTLAN; /* Set up I/O Trap #0 for 0xfe00 (SMIC) */ - RCBA32(IOTR0) = 0x0000fe01; - RCBA32(IOTR0+4) = 0x00020001; + RCBA64(IOTR0) = 0x000200010000fe01ULL; /* Set up I/O Trap #3 for 0x800-0x80c (Trap) */ - RCBA32(IOTR3) = 0x000c0801; - RCBA32(IOTR3+4) = 0x000200f0; + RCBA64(IOTR3) = 0x000200f0000c0801ULL; } static void early_ich7_init(void) |