aboutsummaryrefslogtreecommitdiff
path: root/src/northbridge/intel/nehalem/raminit.c
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2019-08-14 20:46:00 +0200
committerPatrick Georgi <pgeorgi@google.com>2019-09-12 13:15:25 +0000
commit18a55cdd498dd0801272fa53252babb0cdb3c045 (patch)
treec3677fe06546bfcfdf6159a456b76dbe94ed2985 /src/northbridge/intel/nehalem/raminit.c
parentb9d075b0fc12c26316eaaca2de6bfa659f0cb6c1 (diff)
nb/intel/nehalem: Add a header for raminit_tables.c
This is necessary to get rid of a .c include. Also do some cosmetic fixes to a table, now that the line length limit has been raised. Change-Id: I6fd7fa5c9b21368bde8f089060733df6de34b4fd Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/34876 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/northbridge/intel/nehalem/raminit.c')
-rw-r--r--src/northbridge/intel/nehalem/raminit.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/northbridge/intel/nehalem/raminit.c b/src/northbridge/intel/nehalem/raminit.c
index fadf0e0801..b9d407a58e 100644
--- a/src/northbridge/intel/nehalem/raminit.c
+++ b/src/northbridge/intel/nehalem/raminit.c
@@ -42,6 +42,7 @@
#include "chip.h"
#include "nehalem.h"
#include "raminit.h"
+#include "raminit_tables.h"
#define NORTHBRIDGE PCI_DEV(0, 0, 0)
#define SOUTHBRIDGE PCI_DEV(0, 0x1f, 0)
@@ -357,8 +358,6 @@ const int cached_config = 0;
#define RANK_SHIFT 28
#define CHANNEL_SHIFT 10
-#include "raminit_tables.c"
-
static void seq9(struct raminfo *info, int channel, int slot, int rank)
{
int i, lane;