From 0645347d0bb71fd5ebe44388dd69a8393fd091ec Mon Sep 17 00:00:00 2001 From: Felix Held Date: Tue, 8 Dec 2020 16:26:09 +0100 Subject: [PATCH] soc/amd/picasso,stoneyridge: drop unused BIOSRAM offset defines The two Socs don't use this functionality and biosram.c in the common code is the only place where those defines are used, but it doesn't include soc/iomap.h and has its own definitions instead. Change-Id: I973df4ab39a94e89ea2ed6ffb639c5a85b8df456 Signed-off-by: Felix Held Reviewed-on: https://review.coreboot.org/c/coreboot/+/48470 Tested-by: build bot (Jenkins) Reviewed-by: Marshall Dawson --- src/soc/amd/picasso/include/soc/iomap.h | 5 ----- src/soc/amd/stoneyridge/include/soc/iomap.h | 5 ----- 2 files changed, 10 deletions(-) diff --git a/src/soc/amd/picasso/include/soc/iomap.h b/src/soc/amd/picasso/include/soc/iomap.h index a49768f129..cec3aaffc7 100644 --- a/src/soc/amd/picasso/include/soc/iomap.h +++ b/src/soc/amd/picasso/include/soc/iomap.h @@ -85,9 +85,4 @@ #define AB_DATA (AB_INDX+4) #define SYS_RESET 0xcf9 -/* BiosRam Ranges at 0xfed80500 or I/O 0xcd4/0xcd5 */ -#define BIOSRAM_CBMEM_TOP 0xf0 /* 4 bytes */ -#define BIOSRAM_UMA_SIZE 0xf4 /* 4 bytes */ -#define BIOSRAM_UMA_BASE 0xf8 /* 8 bytes */ - #endif /* AMD_PICASSO_IOMAP_H */ diff --git a/src/soc/amd/stoneyridge/include/soc/iomap.h b/src/soc/amd/stoneyridge/include/soc/iomap.h index 432888028a..f39200f0fe 100644 --- a/src/soc/amd/stoneyridge/include/soc/iomap.h +++ b/src/soc/amd/stoneyridge/include/soc/iomap.h @@ -46,9 +46,4 @@ #define AB_DATA (AB_INDX+4) #define SYS_RESET 0xcf9 -/* BiosRam Ranges at 0xfed80500 or I/O 0xcd4/0xcd5 */ -#define BIOSRAM_CBMEM_TOP 0xf0 /* 4 bytes */ -#define BIOSRAM_UMA_SIZE 0xf4 /* 4 bytes */ -#define BIOSRAM_UMA_BASE 0xf8 /* 8 bytes */ - #endif /* AMD_STONEYRIDGE_IOMAP_H */