aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/ocp/sonorapass/romstage.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/ocp/sonorapass/romstage.c')
-rw-r--r--src/mainboard/ocp/sonorapass/romstage.c27
1 files changed, 0 insertions, 27 deletions
diff --git a/src/mainboard/ocp/sonorapass/romstage.c b/src/mainboard/ocp/sonorapass/romstage.c
deleted file mode 100644
index 4ea00b6583..0000000000
--- a/src/mainboard/ocp/sonorapass/romstage.c
+++ /dev/null
@@ -1,27 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0-only */
-
-#include <soc/romstage.h>
-
-void mainboard_memory_init_params(FSPM_UPD *mupd)
-{
- FSP_M_CONFIG *m_cfg = &mupd->FspmConfig;
- void *start = (void *) m_cfg;
-
- // BoardId
- *((uint8_t *) (start + 140)) = 0x1d;
- // BoardTypeBitmask
- *((uint32_t *) (start + 104)) = 0x11111111;
- // DebugPrintLevel
- *((uint8_t *) (start + 45)) = 8;
- // KtiLinkSpeedMode
- *((uint8_t *) (start + 64)) = 0;
- // mmiolSize
- *((uint32_t *) (start + 88)) = 0;
- // mmiohBase
- *((uint32_t *) (start + 92)) = 0x2000;
- // KtiPrefetchEn
- *((uint8_t *) (start + 53)) = 2;
- // KtiFpgaEnable
- *((uint8_t *) (start + 55)) = 0;
- *((uint8_t *) (start + 56)) = 0;
-}