nb/intel/i945: Introduce memmap.h
Inspired by Idca25b2e4bf65abcb and Ib275f9ad8ca9ff move all memory map definitions into a header with a common name. Change-Id: I32a99f70f4d2eb52367c9edfc0aa6d5da2fec03f Signed-off-by: Patrick Georgi <pgeorgi@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/48234 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
parent
88e85b3de4
commit
02a23b510c
|
@ -3,16 +3,7 @@
|
|||
#ifndef NORTHBRIDGE_INTEL_I945_H
|
||||
#define NORTHBRIDGE_INTEL_I945_H
|
||||
|
||||
/* Northbridge BARs */
|
||||
#define DEFAULT_X60BAR 0xfed13000
|
||||
#ifndef __ACPI__
|
||||
#define DEFAULT_MCHBAR ((u8 *)0xfed14000) /* 16 KB */
|
||||
#define DEFAULT_DMIBAR ((u8 *)0xfed18000) /* 4 KB */
|
||||
#else
|
||||
#define DEFAULT_MCHBAR 0xfed14000 /* 16 KB */
|
||||
#define DEFAULT_DMIBAR 0xfed18000 /* 4 KB */
|
||||
#endif
|
||||
#define DEFAULT_EPBAR 0xfed19000 /* 4 KB */
|
||||
#include "memmap.h"
|
||||
|
||||
#include <southbridge/intel/i82801gx/i82801gx.h>
|
||||
|
||||
|
|
|
@ -0,0 +1,17 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
|
||||
#ifndef NORTHBRIDGE_INTEL_I945_MEMMAP_H
|
||||
#define NORTHBRIDGE_INTEL_I945_MEMMAP_H
|
||||
|
||||
/* Northbridge BARs */
|
||||
#define DEFAULT_X60BAR 0xfed13000
|
||||
#ifndef __ACPI__
|
||||
#define DEFAULT_MCHBAR ((u8 *)0xfed14000) /* 16 KB */
|
||||
#define DEFAULT_DMIBAR ((u8 *)0xfed18000) /* 4 KB */
|
||||
#else
|
||||
#define DEFAULT_MCHBAR 0xfed14000 /* 16 KB */
|
||||
#define DEFAULT_DMIBAR 0xfed18000 /* 4 KB */
|
||||
#endif
|
||||
#define DEFAULT_EPBAR 0xfed19000 /* 4 KB */
|
||||
|
||||
#endif
|
Loading…
Reference in New Issue