nb/intel/haswell: Introduce memmap.h
Move all memory map definitions into a separate header. Tested with BUILD_TIMELESS=1, Asrock B85M Pro4 remains identical. Change-Id: Ib275f9ad8ca9ff343604c9e8cbb130c74ddad54f Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/45351 Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
743159396a
commit
a3cb322018
2 changed files with 21 additions and 13 deletions
|
@ -8,19 +8,7 @@
|
|||
#define HASWELL_DESKTOP 1
|
||||
#define HASWELL_SERVER 2
|
||||
|
||||
/* Intel Enhanced Debug region */
|
||||
#define IED_SIZE CONFIG_IED_REGION_SIZE
|
||||
|
||||
/* Northbridge BARs */
|
||||
#define DEFAULT_MCHBAR 0xfed10000 /* 16 KB */
|
||||
#define DEFAULT_DMIBAR 0xfed18000 /* 4 KB */
|
||||
#define DEFAULT_EPBAR 0xfed19000 /* 4 KB */
|
||||
|
||||
#define GFXVT_BASE_ADDRESS 0xfed90000ULL
|
||||
#define GFXVT_BASE_SIZE 0x1000
|
||||
|
||||
#define VTVC0_BASE_ADDRESS 0xfed91000ULL
|
||||
#define VTVC0_BASE_SIZE 0x1000
|
||||
#include "memmap.h"
|
||||
|
||||
#include <southbridge/intel/lynxpoint/pch.h>
|
||||
|
||||
|
|
20
src/northbridge/intel/haswell/memmap.h
Normal file
20
src/northbridge/intel/haswell/memmap.h
Normal file
|
@ -0,0 +1,20 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
|
||||
#ifndef __NORTHBRIDGE_INTEL_HASWELL_MEMMAP_H__
|
||||
#define __NORTHBRIDGE_INTEL_HASWELL_MEMMAP_H__
|
||||
|
||||
/* Intel Enhanced Debug region */
|
||||
#define IED_SIZE CONFIG_IED_REGION_SIZE
|
||||
|
||||
/* Northbridge BARs */
|
||||
#define DEFAULT_MCHBAR 0xfed10000 /* 16 KB */
|
||||
#define DEFAULT_DMIBAR 0xfed18000 /* 4 KB */
|
||||
#define DEFAULT_EPBAR 0xfed19000 /* 4 KB */
|
||||
|
||||
#define GFXVT_BASE_ADDRESS 0xfed90000ULL
|
||||
#define GFXVT_BASE_SIZE 0x1000
|
||||
|
||||
#define VTVC0_BASE_ADDRESS 0xfed91000ULL
|
||||
#define VTVC0_BASE_SIZE 0x1000
|
||||
|
||||
#endif /* __NORTHBRIDGE_INTEL_HASWELL_MEMMAP_H__ */
|
Loading…
Reference in a new issue