From ec5cf1504e3bc31f308b18763eb256eeeb74dc7d Mon Sep 17 00:00:00 2001 From: Angel Pons Date: Tue, 10 Nov 2020 20:42:07 +0100 Subject: nb/amd: Deduplicate nb_common.h Save for the IO_APIC2_ADDR definition, they are equivalent. Change-Id: I14da3d9aeefcc725428957ce0c9ac164eabacec6 Signed-off-by: Angel Pons Reviewed-on: https://review.coreboot.org/c/coreboot/+/47408 Reviewed-by: Arthur Heymans Tested-by: build bot (Jenkins) --- src/northbridge/amd/nb_common.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/northbridge/amd/nb_common.h (limited to 'src/northbridge/amd/nb_common.h') diff --git a/src/northbridge/amd/nb_common.h b/src/northbridge/amd/nb_common.h new file mode 100644 index 0000000000..bee75c7109 --- /dev/null +++ b/src/northbridge/amd/nb_common.h @@ -0,0 +1,12 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + +#ifndef __AMD_NB_COMMON_H__ +#define __AMD_NB_COMMON_H__ + +#define HT_IO_HOST_ALIGN 4096 +#define HT_MEM_HOST_ALIGN (1024 * 1024) + +#define DEV_CDB 0x18 +#define IO_APIC2_ADDR 0xfec20000 + +#endif -- cgit v1.2.3