diff options
author | Angel Pons <th3fanbus@gmail.com> | 2022-02-14 12:55:31 +0100 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-02-15 23:39:12 +0000 |
commit | d00cfcb0a1ec3669fdf3833cb3f2d11920bd622e (patch) | |
tree | 813b9da2effb96132d349d9ab11e33c27b95be52 | |
parent | 34619178983c4af5a8d2f00c779f54e556e74b06 (diff) |
nb/intel/ironlake/raminit_heci.c: Move to southbridge scope
HECI stuff is in the southbridge, so put the code in there. Rename the
file to match the name of the function it provides.
Change-Id: I71de1234547dbd46a9b4959c619d2ae194da620a
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/61931
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
-rw-r--r-- | src/northbridge/intel/ironlake/Makefile.inc | 1 | ||||
-rw-r--r-- | src/northbridge/intel/ironlake/raminit.h | 2 | ||||
-rw-r--r-- | src/southbridge/intel/ibexpeak/Makefile.inc | 1 | ||||
-rw-r--r-- | src/southbridge/intel/ibexpeak/me.h | 2 | ||||
-rw-r--r-- | src/southbridge/intel/ibexpeak/setup_heci_uma.c (renamed from src/northbridge/intel/ironlake/raminit_heci.c) | 2 |
5 files changed, 4 insertions, 4 deletions
diff --git a/src/northbridge/intel/ironlake/Makefile.inc b/src/northbridge/intel/ironlake/Makefile.inc index 126b6eb5f5..afca10c589 100644 --- a/src/northbridge/intel/ironlake/Makefile.inc +++ b/src/northbridge/intel/ironlake/Makefile.inc @@ -11,7 +11,6 @@ ramstage-y += gma.c romstage-y += memmap.c romstage-y += raminit.c -romstage-y += raminit_heci.c romstage-y += raminit_tables.c romstage-y += early_init.c romstage-y += romstage.c diff --git a/src/northbridge/intel/ironlake/raminit.h b/src/northbridge/intel/ironlake/raminit.h index 6dd07b3f24..edfce51125 100644 --- a/src/northbridge/intel/ironlake/raminit.h +++ b/src/northbridge/intel/ironlake/raminit.h @@ -106,6 +106,4 @@ u16 get_max_timing(struct raminfo *info, int channel); void early_quickpath_init(struct raminfo *info, const u8 x2ca8); void late_quickpath_init(struct raminfo *info, const int s3resume); -void setup_heci_uma(u64 heci_uma_addr, unsigned int heci_uma_size); - #endif /* RAMINIT_H */ diff --git a/src/southbridge/intel/ibexpeak/Makefile.inc b/src/southbridge/intel/ibexpeak/Makefile.inc index c8c96a8dfa..b33252fea4 100644 --- a/src/southbridge/intel/ibexpeak/Makefile.inc +++ b/src/southbridge/intel/ibexpeak/Makefile.inc @@ -33,6 +33,7 @@ romstage-y += early_thermal.c romstage-y += ../bd82x6x/early_rcba.c romstage-y += early_cir.c romstage-y += early_usb.c +romstage-y += setup_heci_uma.c CPPFLAGS_common += -I$(src)/southbridge/intel/ibexpeak/include diff --git a/src/southbridge/intel/ibexpeak/me.h b/src/southbridge/intel/ibexpeak/me.h index 4eea0af2d5..8ff5ca7fa4 100644 --- a/src/southbridge/intel/ibexpeak/me.h +++ b/src/southbridge/intel/ibexpeak/me.h @@ -231,6 +231,8 @@ int intel_early_me_init(void); int intel_early_me_uma_size(void); int intel_early_me_init_done(u8 status); +void setup_heci_uma(u64 heci_uma_addr, unsigned int heci_uma_size); + typedef struct { u32 major_version : 16; u32 minor_version : 16; diff --git a/src/northbridge/intel/ironlake/raminit_heci.c b/src/southbridge/intel/ibexpeak/setup_heci_uma.c index e54b05867c..70219e1adb 100644 --- a/src/northbridge/intel/ironlake/raminit_heci.c +++ b/src/southbridge/intel/ibexpeak/setup_heci_uma.c @@ -4,7 +4,7 @@ #include <device/mmio.h> #include <device/pci_def.h> #include <device/pci_ops.h> -#include <northbridge/intel/ironlake/raminit.h> +#include <northbridge/intel/ironlake/ironlake.h> #include <southbridge/intel/ibexpeak/me.h> #include <types.h> |