summaryrefslogtreecommitdiff
path: root/src/mainboard/google/smaug/bct
diff options
context:
space:
mode:
authorPatrick Georgi <pgeorgi@chromium.org>2015-06-22 19:43:18 +0200
committerPatrick Georgi <pgeorgi@google.com>2015-06-30 21:47:22 +0200
commit4d6ad838e77ad37749f11a4013a1d879e6286fee (patch)
tree475cfdfd1652a13deabb611d337fdf79fcd43605 /src/mainboard/google/smaug/bct
parentfd49d6faf98eb45006a20869da798558cea9606e (diff)
google/smaug: add new mainboard
This is an nvidia t210 based board. This includes Chrome OS downstream up to Change-Id: Ic89ed54c. Change-Id: I4d77659f4f2d21b1bbdcfc3467e1a166c02ddd47 Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Reviewed-on: http://review.coreboot.org/10635 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/mainboard/google/smaug/bct')
-rw-r--r--src/mainboard/google/smaug/bct/Makefile.inc30
-rw-r--r--src/mainboard/google/smaug/bct/cfg2inc.sh34
-rw-r--r--src/mainboard/google/smaug/bct/emmc.cfg16
-rw-r--r--src/mainboard/google/smaug/bct/jtag.cfg16
-rw-r--r--src/mainboard/google/smaug/bct/odmdata.cfg1
-rw-r--r--src/mainboard/google/smaug/bct/sdram-samsung-204.cfg958
-rw-r--r--src/mainboard/google/smaug/bct/sdram-samsung-3GB-204.inc476
-rw-r--r--src/mainboard/google/smaug/bct/sdram-samsung-4GB-204.inc476
-rw-r--r--src/mainboard/google/smaug/bct/sdram-unused.inc4
-rw-r--r--src/mainboard/google/smaug/bct/spi.cfg16
10 files changed, 2027 insertions, 0 deletions
diff --git a/src/mainboard/google/smaug/bct/Makefile.inc b/src/mainboard/google/smaug/bct/Makefile.inc
new file mode 100644
index 0000000000..74ff385a46
--- /dev/null
+++ b/src/mainboard/google/smaug/bct/Makefile.inc
@@ -0,0 +1,30 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright 2015 Google Inc.
+## Copyright (c) 2015, NVIDIA CORPORATION. All rights reserved.
+##
+## This program is free software; you can redistribute it and/or modify
+## it under the terms of the GNU General Public License as published by
+## the Free Software Foundation; version 2 of the License.
+##
+## This program is distributed in the hope that it will be useful,
+## but WITHOUT ANY WARRANTY; without even the implied warranty of
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+## GNU General Public License for more details.
+##
+## You should have received a copy of the GNU General Public License
+## along with this program; if not, write to the Free Software
+## Foundation, Inc.
+##
+
+bct-cfg-$(CONFIG_SMAUG_BCT_CFG_EMMC) += emmc.cfg
+bct-cfg-$(CONFIG_SMAUG_BCT_CFG_SPI) += spi.cfg
+bct-cfg-y += odmdata.cfg
+bct-cfg-y += jtag.cfg
+#NOTE: When full LPDDR4 SDRAM config is done in romstage, remove this
+bct-cfg-$(CONFIG_BOOTROM_SDRAM_INIT) += sdram-samsung-204.cfg
+
+# Note when SDRAM config (sdram-*.cfg) files are changed, we have to regenerate
+# the include files (sdram-*.inc) by running "./cfg2inc.sh sdram-*.cfg".
+# TODO(hungte) Change cfg2inc.sh to NVIDIA's official tool in cbootimage.
diff --git a/src/mainboard/google/smaug/bct/cfg2inc.sh b/src/mainboard/google/smaug/bct/cfg2inc.sh
new file mode 100644
index 0000000000..cfa670925e
--- /dev/null
+++ b/src/mainboard/google/smaug/bct/cfg2inc.sh
@@ -0,0 +1,34 @@
+#!/bin/sh
+#
+# This file is part of the coreboot project.
+#
+# Copyright 2015 Google Inc.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; version 2 of the License.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc.
+
+bct_cfg2inc() {
+ local in_file="$1"
+ local out_file="$2"
+ echo "{ /* generated from ${in_file}; do not edit. */" >"${out_file}"
+ # Note currently we can only handle DDR3 type memory, even in C
+ # implementation.
+ sed "/^#.*$/d; s/^SDRAM.0./ /; s/\r$//; s/;$/,/;" \
+ "${in_file}" >> "${out_file}"
+ echo "}," >>"${out_file}"
+}
+
+for file in $@; do
+ echo "Generating $file => ${file%cfg}inc..."
+ bct_cfg2inc "${file}" "${file%cfg}inc"
+done
diff --git a/src/mainboard/google/smaug/bct/emmc.cfg b/src/mainboard/google/smaug/bct/emmc.cfg
new file mode 100644
index 0000000000..13ee04716f
--- /dev/null
+++ b/src/mainboard/google/smaug/bct/emmc.cfg
@@ -0,0 +1,16 @@
+# Copyright 2015 Google Inc. All rights reserved.
+# Distributed under the terms of the GNU General Public License v2
+
+Version = 0x00210001;
+BlockSize = 0x00004000;
+PageSize = 0x00000200;
+PartitionSize = 0x01000000;
+
+#
+# T210 bct only supports one boot device
+#
+DevType[0] = NvBootDevType_Sdmmc;
+DeviceParam[0].SdmmcParams.ClockDivider = 0x00000009;
+DeviceParam[0].SdmmcParams.DataWidth = NvBootSdmmcDataWidth_8Bit;
+DeviceParam[0].SdmmcParams.MaxPowerClassSupported = 0x00000000;
+DeviceParam[0].SdmmcParams.MultiPageSupport = 0x00000000;
diff --git a/src/mainboard/google/smaug/bct/jtag.cfg b/src/mainboard/google/smaug/bct/jtag.cfg
new file mode 100644
index 0000000000..4f2c36c223
--- /dev/null
+++ b/src/mainboard/google/smaug/bct/jtag.cfg
@@ -0,0 +1,16 @@
+#
+# Set JtagCtrl to 1 to reenable Jtag
+#
+JtagCtrl = 0;
+#
+# Fill in chip unique id
+#
+# ChipUid can be found by running tegrarcm in tegra recovery mode
+# (also hooking up A-A USB cable) and looking for console output
+# on line starting with "Chip UID:"
+#
+# Command example:
+# $ sudo tegrarcm --bct=/build/foster/firmware/bct/board.bct --bootloader=/build/foster/firmware/u-boot.bin --loadaddr=0x80108000
+# Where board.bct and u-boot.bin do not have to be prebuilt.
+#
+ChipUid = 0x00000000000000000000000000000000;
diff --git a/src/mainboard/google/smaug/bct/odmdata.cfg b/src/mainboard/google/smaug/bct/odmdata.cfg
new file mode 100644
index 0000000000..45648af315
--- /dev/null
+++ b/src/mainboard/google/smaug/bct/odmdata.cfg
@@ -0,0 +1 @@
+OdmData = 0x00294000;
diff --git a/src/mainboard/google/smaug/bct/sdram-samsung-204.cfg b/src/mainboard/google/smaug/bct/sdram-samsung-204.cfg
new file mode 100644
index 0000000000..9bf9c97240
--- /dev/null
+++ b/src/mainboard/google/smaug/bct/sdram-samsung-204.cfg
@@ -0,0 +1,958 @@
+# Do not edit. Generated by t210_emc_reg_tool_P975 V9.7.5. Command:
+# t210_emc_reg_tool_P975 -i Samsung_K4F2E304HA-MGCH_3GB.par 4.90196078431372549019 -dram_board_cfg 40
+# -dbi_rd_en 1 -data_bus_to_0 1 -fly_by_time_ps 1717 -t T210DSC_TBKV_A44_P5.xlsm_BKV.txt
+# -o T210_A44_R1_LP4_DSC_204Mhz.cfg
+# Parameter file: Samsung_K4F2E304HA-MGCH_3GB.par, tck = 4.90 ns (204.00 MHz)
+SDRAM[2].MemoryType = NvBootMemoryType_LpDdr4;
+SDRAM[2].PllMInputDivider = 0x00000001;
+SDRAM[2].PllMFeedbackDivider = 0x00000022;
+SDRAM[2].PllMStableTime = 0x0000012c;
+SDRAM[2].PllMSetupControl = 0x00000000;
+SDRAM[2].PllMPostDivider = 0x00000000;
+SDRAM[2].PllMKCP = 0x00000000;
+SDRAM[2].PllMKVCO = 0x00000000;
+SDRAM[2].EmcBctSpare0 = 0x00000000;
+SDRAM[2].EmcBctSpare1 = 0x00000000;
+SDRAM[2].EmcBctSpare2 = 0x00000000;
+SDRAM[2].EmcBctSpare3 = 0x00000000;
+SDRAM[2].EmcBctSpare4 = 0x7001bc3c;
+SDRAM[2].EmcBctSpare5 = 0x00000032;
+SDRAM[2].EmcBctSpare6 = 0x7001b404;
+SDRAM[2].EmcBctSpare7 = 0x76342501;
+SDRAM[2].EmcBctSpare8 = 0x7000e6c8;
+SDRAM[2].EmcBctSpare9 = 0x00000000;
+SDRAM[2].EmcBctSpare10 = 0x00000000;
+SDRAM[2].EmcBctSpare11 = 0x00000000;
+SDRAM[2].EmcBctSpare12 = 0x7001bc3c;
+SDRAM[2].EmcBctSpare13 = 0x00000033;
+SDRAM[2].EmcClockSource = 0x40188002;
+SDRAM[2].EmcClockSourceDll = 0x40000000;
+SDRAM[2].ClkRstControllerPllmMisc2Override = 0x00000000;
+SDRAM[2].ClkRstControllerPllmMisc2OverrideEnable = 0x00000000;
+SDRAM[2].ClearClk2Mc1 = 0x00000000;
+SDRAM[2].EmcAutoCalInterval = 0x001fffff;
+SDRAM[2].EmcAutoCalConfig = 0xa01a51d8;
+SDRAM[2].EmcAutoCalConfig2 = 0x05500000;
+SDRAM[2].EmcAutoCalConfig3 = 0x00770000;
+SDRAM[2].EmcAutoCalConfig4 = 0x00770000;
+SDRAM[2].EmcAutoCalConfig5 = 0x00770000;
+SDRAM[2].EmcAutoCalConfig6 = 0x00770000;
+SDRAM[2].EmcAutoCalConfig7 = 0x00770000;
+SDRAM[2].EmcAutoCalConfig8 = 0x00770000;
+SDRAM[2].EmcAutoCalVrefSel0 = 0xb3afa6a6;
+SDRAM[2].EmcAutoCalVrefSel1 = 0x00009e3c;
+SDRAM[2].EmcAutoCalChannel = 0xc1e00303;
+SDRAM[2].EmcPmacroAutocalCfg0 = 0x04040404;
+SDRAM[2].EmcPmacroAutocalCfg1 = 0x04040404;
+SDRAM[2].EmcPmacroAutocalCfg2 = 0x00000000;
+SDRAM[2].EmcPmacroRxTerm = 0x1f1f1f1f;
+SDRAM[2].EmcPmacroDqTxDrv = 0x1f1f1f1f;
+SDRAM[2].EmcPmacroCaTxDrv = 0x1f1f1f1f;
+SDRAM[2].EmcPmacroCmdTxDrv = 0x00001f1f;
+SDRAM[2].EmcPmacroAutocalCfgCommon = 0x00000804;
+SDRAM[2].EmcPmacroZctrl = 0x00000550;
+SDRAM[2].EmcAutoCalWait = 0x000001a1;
+SDRAM[2].EmcXm2CompPadCtrl = 0x00000032;
+SDRAM[2].EmcXm2CompPadCtrl2 = 0x00000000;
+SDRAM[2].EmcXm2CompPadCtrl3 = 0x00000000;
+SDRAM[2].EmcAdrCfg = 0x00000001;
+SDRAM[2].EmcPinProgramWait = 0x00000002;
+SDRAM[2].EmcPinExtraWait = 0x00000000;
+SDRAM[2].EmcPinGpioEn = 0x00000003;
+SDRAM[2].EmcPinGpio = 0x00000003;
+SDRAM[2].EmcTimingControlWait = 0x0000001e;
+SDRAM[2].EmcRc = 0x0000000d;
+SDRAM[2].EmcRfc = 0x00000025;
+SDRAM[2].EmcRfcPb = 0x00000013;
+SDRAM[2].EmcRefctrl2 = 0x00000000;
+SDRAM[2].EmcRfcSlr = 0x00000000;
+SDRAM[2].EmcRas = 0x00000009;
+SDRAM[2].EmcRp = 0x00000004;
+SDRAM[2].EmcR2r = 0x00000000;
+SDRAM[2].EmcW2w = 0x00000000;
+SDRAM[2].EmcR2w = 0x0000000b;
+SDRAM[2].EmcW2r = 0x0000000d;
+SDRAM[2].EmcR2p = 0x00000008;
+SDRAM[2].EmcW2p = 0x0000000b;
+SDRAM[2].EmcTppd = 0x00000004;
+SDRAM[2].EmcCcdmw = 0x00000020;
+SDRAM[2].EmcRdRcd = 0x00000006;
+SDRAM[2].EmcWrRcd = 0x00000006;
+SDRAM[2].EmcRrd = 0x00000006;
+SDRAM[2].EmcRext = 0x00000003;
+SDRAM[2].EmcWext = 0x00000000;
+SDRAM[2].EmcWdv = 0x00000004;
+SDRAM[2].EmcWdvChk = 0x00000006;
+SDRAM[2].EmcWsv = 0x00000002;
+SDRAM[2].EmcWev = 0x00000000;
+SDRAM[2].EmcWdvMask = 0x00000004;
+SDRAM[2].EmcWsDuration = 0x00000008;
+SDRAM[2].EmcWeDuration = 0x0000000d;
+SDRAM[2].EmcQUse = 0x00000005;
+SDRAM[2].EmcQuseWidth = 0x00000006;
+SDRAM[2].EmcIbdly = 0x00000000;
+SDRAM[2].EmcObdly = 0x00000000;
+SDRAM[2].EmcEInput = 0x00000002;
+SDRAM[2].EmcEInputDuration = 0x0000000d;
+SDRAM[2].EmcPutermExtra = 0x00000002;
+SDRAM[2].EmcPutermWidth = 0x0000000b;
+SDRAM[2].EmcQRst = 0x00010000;
+SDRAM[2].EmcQSafe = 0x00000012;
+SDRAM[2].EmcRdv = 0x00000014;
+SDRAM[2].EmcRdvMask = 0x00000016;
+SDRAM[2].EmcRdvEarly = 0x00000012;
+SDRAM[2].EmcRdvEarlyMask = 0x00000014;
+SDRAM[2].EmcQpop = 0x0000000a;
+SDRAM[2].EmcRefresh = 0x00000304;
+SDRAM[2].EmcBurstRefreshNum = 0x00000000;
+SDRAM[2].EmcPreRefreshReqCnt = 0x000000c1;
+SDRAM[2].EmcPdEx2Wr = 0x00000008;
+SDRAM[2].EmcPdEx2Rd = 0x00000008;
+SDRAM[2].EmcPChg2Pden = 0x00000003;
+SDRAM[2].EmcAct2Pden = 0x00000003;
+SDRAM[2].EmcAr2Pden = 0x00000003;
+SDRAM[2].EmcRw2Pden = 0x00000012;
+SDRAM[2].EmcCke2Pden = 0x00000005;
+SDRAM[2].EmcPdex2Cke = 0x00000002;
+SDRAM[2].EmcPdex2Mrr = 0x0000000d;
+SDRAM[2].EmcTxsr = 0x00000027;
+SDRAM[2].EmcTxsrDll = 0x00000027;
+SDRAM[2].EmcTcke = 0x00000005;
+SDRAM[2].EmcTckesr = 0x00000005;
+SDRAM[2].EmcTpd = 0x00000004;
+SDRAM[2].EmcTfaw = 0x00000009;
+SDRAM[2].EmcTrpab = 0x00000005;
+SDRAM[2].EmcTClkStable = 0x00000003;
+SDRAM[2].EmcTClkStop = 0x00000009;
+SDRAM[2].EmcTRefBw = 0x0000031c;
+SDRAM[2].EmcFbioCfg5 = 0x9160a00d;
+SDRAM[2].EmcFbioCfg7 = 0x00003bbf;
+SDRAM[2].EmcFbioCfg8 = 0x0cf30000;
+SDRAM[2].EmcCmdMappingCmd0_0 = 0x07050203;
+SDRAM[2].EmcCmdMappingCmd0_1 = 0x06041b1c;
+SDRAM[2].EmcCmdMappingCmd0_2 = 0x05252523;
+SDRAM[2].EmcCmdMappingCmd1_0 = 0x1e0d0b0a;
+SDRAM[2].EmcCmdMappingCmd1_1 = 0x240c091d;
+SDRAM[2].EmcCmdMappingCmd1_2 = 0x04262608;
+SDRAM[2].EmcCmdMappingCmd2_0 = 0x051b0302;
+SDRAM[2].EmcCmdMappingCmd2_1 = 0x0604231c;
+SDRAM[2].EmcCmdMappingCmd2_2 = 0x09252507;
+SDRAM[2].EmcCmdMappingCmd3_0 = 0x0c0b0d0a;
+SDRAM[2].EmcCmdMappingCmd3_1 = 0x08091e1d;
+SDRAM[2].EmcCmdMappingCmd3_2 = 0x08262624;
+SDRAM[2].EmcCmdMappingByte = 0x0a070623;
+SDRAM[2].EmcFbioSpare = 0x00000012;
+SDRAM[2].EmcCfgRsv = 0xff00ff00;
+SDRAM[2].EmcMrs = 0x00000000;
+SDRAM[2].EmcEmrs = 0x00000000;
+SDRAM[2].EmcEmrs2 = 0x00000000;
+SDRAM[2].EmcEmrs3 = 0x00000000;
+SDRAM[2].EmcMrw1 = 0x08010004;
+SDRAM[2].EmcMrw2 = 0x08020000;
+SDRAM[2].EmcMrw3 = 0x080d0000;
+SDRAM[2].EmcMrw4 = 0xc0000000;
+SDRAM[2].EmcMrw6 = 0x08037171;
+SDRAM[2].EmcMrw8 = 0x080b0000;
+SDRAM[2].EmcMrw9 = 0x0c0e6b6b;
+SDRAM[2].EmcMrw10 = 0x00000000;
+SDRAM[2].EmcMrw12 = 0x0c0d0808;
+SDRAM[2].EmcMrw13 = 0x0c0d0000;
+SDRAM[2].EmcMrw14 = 0x08161414;
+SDRAM[2].EmcMrwExtra = 0x08010004;
+SDRAM[2].EmcWarmBootMrwExtra = 0x08110000;
+SDRAM[2].EmcWarmBootExtraModeRegWriteEnable = 0x00000001;
+SDRAM[2].EmcExtraModeRegWriteEnable = 0x00000000;
+SDRAM[2].EmcMrwResetCommand = 0x00000000;
+SDRAM[2].EmcMrwResetNInitWait = 0x00000000;
+SDRAM[2].EmcMrsWaitCnt = 0x00cc0015;
+SDRAM[2].EmcMrsWaitCnt2 = 0x0033000a;
+SDRAM[2].EmcCfg = 0xf3200000;
+SDRAM[2].EmcCfg2 = 0x00110805;
+SDRAM[2].EmcCfgPipe = 0x0fff0fff;
+SDRAM[2].EmcCfgPipeClk = 0x00000000;
+SDRAM[2].EmcFdpdCtrlCmdNoRamp = 0x00000001;
+SDRAM[2].EmcCfgUpdate = 0x70000301;
+SDRAM[2].EmcDbg = 0x01000c00;
+SDRAM[2].EmcDbgWriteMux = 0x00000001;
+SDRAM[2].EmcCmdQ = 0x10004408;
+SDRAM[2].EmcMc2EmcQ = 0x06000404;
+SDRAM[2].EmcDynSelfRefControl = 0x80000713;
+SDRAM[2].AhbArbitrationXbarCtrlMemInitDone = 0x00000001;
+SDRAM[2].EmcCfgDigDll = 0x002c00a0;
+SDRAM[2].EmcCfgDigDll_1 = 0x00003701;
+SDRAM[2].EmcCfgDigDllPeriod = 0x00008000;
+SDRAM[2].EmcDevSelect = 0x00000000;
+SDRAM[2].EmcSelDpdCtrl = 0x00040008;
+SDRAM[2].EmcFdpdCtrlDq = 0x8020221f;
+SDRAM[2].EmcFdpdCtrlCmd = 0x0220f40f;
+SDRAM[2].EmcPmacroIbVrefDq_0 = 0x28282828;
+SDRAM[2].EmcPmacroIbVrefDq_1 = 0x28282828;
+SDRAM[2].EmcPmacroIbVrefDqs_0 = 0x11111111;
+SDRAM[2].EmcPmacroIbVrefDqs_1 = 0x11111111;
+SDRAM[2].EmcPmacroIbRxrt = 0x000000be;
+SDRAM[2].EmcCfgPipe1 = 0x0fff0fff;
+SDRAM[2].EmcCfgPipe2 = 0x0fff0fff;
+SDRAM[2].EmcPmacroQuseDdllRank0_0 = 0x00000000;
+SDRAM[2].EmcPmacroQuseDdllRank0_1 = 0x00000000;
+SDRAM[2].EmcPmacroQuseDdllRank0_2 = 0x00000000;
+SDRAM[2].EmcPmacroQuseDdllRank0_3 = 0x00000000;
+SDRAM[2].EmcPmacroQuseDdllRank0_4 = 0x00000000;
+SDRAM[2].EmcPmacroQuseDdllRank0_5 = 0x00000000;
+SDRAM[2].EmcPmacroQuseDdllRank1_0 = 0x00000000;
+SDRAM[2].EmcPmacroQuseDdllRank1_1 = 0x00000000;
+SDRAM[2].EmcPmacroQuseDdllRank1_2 = 0x00000000;
+SDRAM[2].EmcPmacroQuseDdllRank1_3 = 0x00000000;
+SDRAM[2].EmcPmacroQuseDdllRank1_4 = 0x00000000;
+SDRAM[2].EmcPmacroQuseDdllRank1_5 = 0x00000000;
+SDRAM[2].EmcPmacroObDdllLongDqRank0_0 = 0x00000000;
+SDRAM[2].EmcPmacroObDdllLongDqRank0_1 = 0x00000000;
+SDRAM[2].EmcPmacroObDdllLongDqRank0_2 = 0x00000000;
+SDRAM[2].EmcPmacroObDdllLongDqRank0_3 = 0x00000000;
+SDRAM[2].EmcPmacroObDdllLongDqRank0_4 = 0x00000000;
+SDRAM[2].EmcPmacroObDdllLongDqRank0_5 = 0x00000000;
+SDRAM[2].EmcPmacroObDdllLongDqRank1_0 = 0x00000000;
+SDRAM[2].EmcPmacroObDdllLongDqRank1_1 = 0x00000000;
+SDRAM[2].EmcPmacroObDdllLongDqRank1_2 = 0x00000000;
+SDRAM[2].EmcPmacroObDdllLongDqRank1_3 = 0x00000000;
+SDRAM[2].EmcPmacroObDdllLongDqRank1_4 = 0x00000000;
+SDRAM[2].EmcPmacroObDdllLongDqRank1_5 = 0x00000000;
+SDRAM[2].EmcPmacroObDdllLongDqsRank0_0 = 0x00320032;
+SDRAM[2].EmcPmacroObDdllLongDqsRank0_1 = 0x00320032;
+SDRAM[2].EmcPmacroObDdllLongDqsRank0_2 = 0x00320032;
+SDRAM[2].EmcPmacroObDdllLongDqsRank0_3 = 0x00320032;
+SDRAM[2].EmcPmacroObDdllLongDqsRank0_4 = 0x00090009;
+SDRAM[2].EmcPmacroObDdllLongDqsRank0_5 = 0x00090009;
+SDRAM[2].EmcPmacroObDdllLongDqsRank1_0 = 0x00320032;
+SDRAM[2].EmcPmacroObDdllLongDqsRank1_1 = 0x00320032;
+SDRAM[2].EmcPmacroObDdllLongDqsRank1_2 = 0x00320032;
+SDRAM[2].EmcPmacroObDdllLongDqsRank1_3 = 0x00320032;
+SDRAM[2].EmcPmacroObDdllLongDqsRank1_4 = 0x00090009;
+SDRAM[2].EmcPmacroObDdllLongDqsRank1_5 = 0x00090009;
+SDRAM[2].EmcPmacroIbDdllLongDqsRank0_0 = 0x00280028;
+SDRAM[2].EmcPmacroIbDdllLongDqsRank0_1 = 0x00280028;
+SDRAM[2].EmcPmacroIbDdllLongDqsRank0_2 = 0x00280028;
+SDRAM[2].EmcPmacroIbDdllLongDqsRank0_3 = 0x00280028;
+SDRAM[2].EmcPmacroIbDdllLongDqsRank1_0 = 0x00280028;
+SDRAM[2].EmcPmacroIbDdllLongDqsRank1_1 = 0x00280028;
+SDRAM[2].EmcPmacroIbDdllLongDqsRank1_2 = 0x00280028;
+SDRAM[2].EmcPmacroIbDdllLongDqsRank1_3 = 0x00280028;
+SDRAM[2].EmcPmacroDdllLongCmd_0 = 0x00000000;
+SDRAM[2].EmcPmacroDdllLongCmd_1 = 0x00000000;
+SDRAM[2].EmcPmacroDdllLongCmd_2 = 0x00000000;
+SDRAM[2].EmcPmacroDdllLongCmd_3 = 0x00000000;
+SDRAM[2].EmcPmacroDdllLongCmd_4 = 0x00000000;
+SDRAM[2].EmcPmacroDdllShortCmd_0 = 0x00000000;
+SDRAM[2].EmcPmacroDdllShortCmd_1 = 0x00000000;
+SDRAM[2].EmcPmacroDdllShortCmd_2 = 0x00000000;
+SDRAM[2].WarmBootWait = 0x00000001;
+SDRAM[2].EmcOdtWrite = 0x00000000;
+SDRAM[2].EmcZcalInterval = 0x00064000;
+SDRAM[2].EmcZcalWaitCnt = 0x000900cc;
+SDRAM[2].EmcZcalMrwCmd = 0x0051004f;
+SDRAM[2].EmcMrsResetDll = 0x00000000;
+SDRAM[2].EmcZcalInitDev0 = 0x80000001;
+SDRAM[2].EmcZcalInitDev1 = 0x40000001;
+SDRAM[2].EmcZcalInitWait = 0x00000001;
+SDRAM[2].EmcZcalWarmColdBootEnables = 0x00000003;
+SDRAM[2].EmcMrwLpddr2ZcalWarmBoot = 0x040a00ab;
+SDRAM[2].EmcZqCalDdr3WarmBoot = 0x00000011;
+SDRAM[2].EmcZqCalLpDdr4WarmBoot = 0x00000001;
+SDRAM[2].EmcZcalWarmBootWait = 0x00000001;
+SDRAM[2].EmcMrsWarmBootEnable = 0x00000001;
+SDRAM[2].EmcMrsResetDllWait = 0x00000000;
+SDRAM[2].EmcMrsExtra = 0x00000000;
+SDRAM[2].EmcWarmBootMrsExtra = 0x00000000;
+SDRAM[2].EmcEmrsDdr2DllEnable = 0x00000000;
+SDRAM[2].EmcMrsDdr2DllReset = 0x00000000;
+SDRAM[2].EmcEmrsDdr2OcdCalib = 0x00000000;
+SDRAM[2].EmcDdr2Wait = 0x00000000;
+SDRAM[2].EmcClkenOverride = 0x00000000;
+SDRAM[2].EmcExtraRefreshNum = 0x00000002;
+SDRAM[2].EmcClkenOverrideAllWarmBoot = 0x00000000;
+SDRAM[2].McClkenOverrideAllWarmBoot = 0x00000000;
+SDRAM[2].EmcCfgDigDllPeriodWarmBoot = 0x00000003;
+SDRAM[2].PmcVddpSel = 0x00000001;
+SDRAM[2].PmcVddpSelWait = 0x00000002;
+SDRAM[2].PmcDdrPwr = 0x0000000f;
+SDRAM[2].PmcDdrCfg = 0x20220100;
+SDRAM[2].PmcIoDpd3Req = 0x4bafffff;
+SDRAM[2].PmcIoDpd3ReqWait = 0x00000001;
+SDRAM[2].PmcIoDpd4ReqWait = 0x00000002;
+SDRAM[2].PmcRegShort = 0x00000000;
+SDRAM[2].PmcNoIoPower = 0x00000000;
+SDRAM[2].PmcDdrCntrlWait = 0x00000000;
+SDRAM[2].PmcDdrCntrl = 0x0007ff8b;
+SDRAM[2].EmcAcpdControl = 0x00000000;
+SDRAM[2].EmcSwizzleRank0Byte0 = 0x76342501;
+SDRAM[2].EmcSwizzleRank0Byte1 = 0x56243701;
+SDRAM[2].EmcSwizzleRank0Byte2 = 0x34267510;
+SDRAM[2].EmcSwizzleRank0Byte3 = 0x45763210;
+SDRAM[2].EmcSwizzleRank1Byte0 = 0x72345601;
+SDRAM[2].EmcSwizzleRank1Byte1 = 0x23456701;
+SDRAM[2].EmcSwizzleRank1Byte2 = 0x65427310;
+SDRAM[2].EmcSwizzleRank1Byte3 = 0x75432610;
+SDRAM[2].EmcTxdsrvttgen = 0x00000000;
+SDRAM[2].EmcDataBrlshft0 = 0x00249249;
+SDRAM[2].EmcDataBrlshft1 = 0x00249249;
+SDRAM[2].EmcDqsBrlshft0 = 0x00000000;
+SDRAM[2].EmcDqsBrlshft1 = 0x00000000;
+SDRAM[2].EmcCmdBrlshft0 = 0x00000000;
+SDRAM[2].EmcCmdBrlshft1 = 0x00000000;
+SDRAM[2].EmcCmdBrlshft2 = 0x00000012;
+SDRAM[2].EmcCmdBrlshft3 = 0x00000012;
+SDRAM[2].EmcQuseBrlshft0 = 0x00000000;
+SDRAM[2].EmcQuseBrlshft1 = 0x00000000;
+SDRAM[2].EmcQuseBrlshft2 = 0x00000000;
+SDRAM[2].EmcQuseBrlshft3 = 0x00000000;
+SDRAM[2].EmcDllCfg0 = 0x1f13412f;
+SDRAM[2].EmcDllCfg1 = 0x00010014;
+SDRAM[2].EmcPmcScratch1 = 0x4bafffff;
+SDRAM[2].EmcPmcScratch2 = 0x7fffffff;
+SDRAM[2].EmcPmcScratch3 = 0x4005d70b;
+SDRAM[2].EmcPmacroPadCfgCtrl = 0x00020000;
+SDRAM[2].EmcPmacroVttgenCtrl0 = 0x00030808;
+SDRAM[2].EmcPmacroVttgenCtrl1 = 0x00015000;
+SDRAM[2].EmcPmacroVttgenCtrl2 = 0x00101010;
+SDRAM[2].EmcPmacroBrickCtrlRfu1 = 0x00001600;
+SDRAM[2].EmcPmacroCmdBrickCtrlFdpd = 0x00000000;
+SDRAM[2].EmcPmacroBrickCtrlRfu2 = 0x00000000;
+SDRAM[2].EmcPmacroDataBrickCtrlFdpd = 0x00000000;
+SDRAM[2].EmcPmacroBgBiasCtrl0 = 0x00000030;
+SDRAM[2].EmcPmacroDataPadRxCtrl = 0x10050037;
+SDRAM[2].EmcPmacroCmdPadRxCtrl = 0x00000000;
+SDRAM[2].EmcPmacroDataRxTermMode = 0x00000010;
+SDRAM[2].EmcPmacroCmdRxTermMode = 0x00003000;
+SDRAM[2].EmcPmacroDataPadTxCtrl = 0x02000111;
+SDRAM[2].EmcPmacroCommonPadTxCtrl = 0x00000008;
+SDRAM[2].EmcPmacroCmdPadTxCtrl = 0x0a000000;
+SDRAM[2].EmcCfg3 = 0x00000040;
+SDRAM[2].EmcPmacroTxPwrd0 = 0x10000000;
+SDRAM[2].EmcPmacroTxPwrd1 = 0x08000000;
+SDRAM[2].EmcPmacroTxPwrd2 = 0x08000000;
+SDRAM[2].EmcPmacroTxPwrd3 = 0x08000000;
+SDRAM[2].EmcPmacroTxPwrd4 = 0x00000000;
+SDRAM[2].EmcPmacroTxPwrd5 = 0x00000000;
+SDRAM[2].EmcConfigSampleDelay = 0x00000020;
+SDRAM[2].EmcPmacroBrickMapping0 = 0x28190081;
+SDRAM[2].EmcPmacroBrickMapping1 = 0x44a53293;
+SDRAM[2].EmcPmacroBrickMapping2 = 0x76b76a5b;
+SDRAM[2].EmcPmacroTxSelClkSrc0 = 0x00000000;
+SDRAM[2].EmcPmacroTxSelClkSrc1 = 0x00000000;
+SDRAM[2].EmcPmacroTxSelClkSrc2 = 0x00000000;
+SDRAM[2].EmcPmacroTxSelClkSrc3 = 0x00000000;
+SDRAM[2].EmcPmacroTxSelClkSrc4 = 0x00000000;
+SDRAM[2].EmcPmacroTxSelClkSrc5 = 0x00000000;
+SDRAM[2].EmcPmacroDdllBypass = 0xefffefff;
+SDRAM[2].EmcPmacroDdllPwrd0 = 0xc0c0c0c0;
+SDRAM[2].EmcPmacroDdllPwrd1 = 0xc0c0c0c0;
+SDRAM[2].EmcPmacroDdllPwrd2 = 0xdcdcdcdc;
+SDRAM[2].EmcPmacroCmdCtrl0 = 0x0a0a0a0a;
+SDRAM[2].EmcPmacroCmdCtrl1 = 0x0a0a0a0a;
+SDRAM[2].EmcPmacroCmdCtrl2 = 0x0a0a0a0a;
+SDRAM[2].McEmemAdrCfg = 0x00000001;
+SDRAM[2].McEmemAdrCfgDev0 = 0x000d0302;
+SDRAM[2].McEmemAdrCfgDev1 = 0x000d0302;
+SDRAM[2].McEmemAdrCfgChannelMask = 0xffff2400;
+SDRAM[2].McEmemAdrCfgBankMask0 = 0x6e574400;
+SDRAM[2].McEmemAdrCfgBankMask1 = 0x39722800;
+SDRAM[2].McEmemAdrCfgBankMask2 = 0x4b9c1000;
+SDRAM[2].McEmemCfg = 0x00000c00;
+SDRAM[2].McEmemArbCfg = 0x08000001;
+SDRAM[2].McEmemArbOutstandingReq = 0x8000004c;
+SDRAM[2].McEmemArbRefpbHpCtrl = 0x000a1020;
+SDRAM[2].McEmemArbRefpbBankCtrl = 0x80001028;
+SDRAM[2].McEmemArbTimingRcd = 0x00000001;
+SDRAM[2].McEmemArbTimingRp = 0x00000000;
+SDRAM[2].McEmemArbTimingRc = 0x00000003;
+SDRAM[2].McEmemArbTimingRas = 0x00000001;
+SDRAM[2].McEmemArbTimingFaw = 0x00000002;
+SDRAM[2].McEmemArbTimingRrd = 0x00000001;
+SDRAM[2].McEmemArbTimingRap2Pre = 0x00000002;
+SDRAM[2].McEmemArbTimingWap2Pre = 0x00000005;
+SDRAM[2].McEmemArbTimingR2R = 0x00000001;
+SDRAM[2].McEmemArbTimingW2W = 0x00000001;
+SDRAM[2].McEmemArbTimingR2W = 0x00000004;
+SDRAM[2].McEmemArbTimingW2R = 0x00000005;
+SDRAM[2].McEmemArbTimingRFCPB = 0x00000004;
+SDRAM[2].McEmemArbDaTurns = 0x02020000;
+SDRAM[2].McEmemArbDaCovers = 0x00030201;
+SDRAM[2].McEmemArbMisc0 = 0x71c30504;
+SDRAM[2].McEmemArbMisc1 = 0x70000f0f;
+SDRAM[2].McEmemArbMisc2 = 0x00000000;
+SDRAM[2].McEmemArbRing1Throttle = 0x001f0000;
+SDRAM[2].McEmemArbOverride = 0x10000000;
+SDRAM[2].McEmemArbOverride1 = 0x00000000;
+SDRAM[2].McEmemArbRsv = 0xff00ff00;
+SDRAM[2].McDaCfg0 = 0x00000001;
+SDRAM[2].McEmemArbTimingCcdmw = 0x00000008;
+SDRAM[2].McClkenOverride = 0x00008000;
+SDRAM[2].McStatControl = 0x00000000;
+SDRAM[2].McVideoProtectBom = 0xfff00000;
+SDRAM[2].McVideoProtectBomAdrHi = 0x00000000;
+SDRAM[2].McVideoProtectSizeMb = 0x00000000;
+SDRAM[2].McVideoProtectVprOverride = 0xe4bac343;
+SDRAM[2].McVideoProtectVprOverride1 = 0x00001ed3;
+SDRAM[2].McVideoProtectGpuOverride0 = 0x00000000;
+SDRAM[2].McVideoProtectGpuOverride1 = 0x00000000;
+SDRAM[2].McSecCarveoutBom = 0xfff00000;
+SDRAM[2].McSecCarveoutAdrHi = 0x00000000;
+SDRAM[2].McSecCarveoutSizeMb = 0x00000000;
+SDRAM[2].McVideoProtectWriteAccess = 0x00000000;
+SDRAM[2].McSecCarveoutProtectWriteAccess = 0x00000000;
+SDRAM[2].McGeneralizedCarveout1Bom = 0x00000000;
+SDRAM[2].McGeneralizedCarveout1BomHi = 0x00000000;
+SDRAM[2].McGeneralizedCarveout1Size128kb = 0x00000008;
+SDRAM[2].McGeneralizedCarveout1Access0 = 0x00000000;
+SDRAM[2].McGeneralizedCarveout1Access1 = 0x00000000;
+SDRAM[2].McGeneralizedCarveout1Access2 = 0x00300000;
+SDRAM[2].McGeneralizedCarveout1Access3 = 0x03000000;
+SDRAM[2].McGeneralizedCarveout1Access4 = 0x00000000;
+SDRAM[2].McGeneralizedCarveout1ForceInternalAccess0 = 0x00000000;
+SDRAM[2].McGeneralizedCarveout1ForceInternalAccess1 = 0x00000000;
+SDRAM[2].McGeneralizedCarveout1ForceInternalAccess2 = 0x00000000;
+SDRAM[2].McGeneralizedCarveout1ForceInternalAccess3 = 0x00000000;
+SDRAM[2].McGeneralizedCarveout1ForceInternalAccess4 = 0x00000000;
+SDRAM[2].McGeneralizedCarveout1Cfg0 = 0x04000c75;
+SDRAM[2].McGeneralizedCarveout2Bom = 0x00000000;
+SDRAM[2].McGeneralizedCarveout2BomHi = 0x00000000;
+SDRAM[2].McGeneralizedCarveout2Size128kb = 0x00000002;
+SDRAM[2].McGeneralizedCarveout2Access0 = 0x00000000;
+SDRAM[2].McGeneralizedCarveout2Access1 = 0x00000000;
+SDRAM[2].McGeneralizedCarveout2Access2 = 0x03000000;
+SDRAM[2].McGeneralizedCarveout2Access3 = 0x00000000;
+SDRAM[2].McGeneralizedCarveout2Access4 = 0x00000300;
+SDRAM[2].McGeneralizedCarveout2ForceInternalAccess0 = 0x00000000;
+SDRAM[2].McGeneralizedCarveout2ForceInternalAccess1 = 0x00000000;
+SDRAM[2].McGeneralizedCarveout2ForceInternalAccess2 = 0x00000000;
+SDRAM[2].McGeneralizedCarveout2ForceInternalAccess3 = 0x00000000;
+SDRAM[2].McGeneralizedCarveout2ForceInternalAccess4 = 0x00000000;
+SDRAM[2].McGeneralizedCarveout2Cfg0 = 0x0440167c;
+SDRAM[2].McGeneralizedCarveout3Bom = 0x00000000;
+SDRAM[2].McGeneralizedCarveout3BomHi = 0x00000000;
+SDRAM[2].McGeneralizedCarveout3Size128kb = 0x00000000;
+SDRAM[2].McGeneralizedCarveout3Access0 = 0x00000000;
+SDRAM[2].McGeneralizedCarveout3Access1 = 0x00000000;
+SDRAM[2].McGeneralizedCarveout3Access2 = 0x03000000;
+SDRAM[2].McGeneralizedCarveout3Access3 = 0x00000000;
+SDRAM[2].McGeneralizedCarveout3Access4 = 0x00000300;
+SDRAM[2].McGeneralizedCarveout3ForceInternalAccess0 = 0x00000000;
+SDRAM[2].McGeneralizedCarveout3ForceInternalAccess1 = 0x00000000;
+SDRAM[2].McGeneralizedCarveout3ForceInternalAccess2 = 0x00000000;
+SDRAM[2].McGeneralizedCarveout3ForceInternalAccess3 = 0x00000000;
+SDRAM[2].McGeneralizedCarveout3ForceInternalAccess4 = 0x00000000;
+SDRAM[2].McGeneralizedCarveout3Cfg0 = 0x04401e7c;
+SDRAM[2].McGeneralizedCarveout4Bom = 0x00000000;
+SDRAM[2].McGeneralizedCarveout4BomHi = 0x00000000;
+SDRAM[2].McGeneralizedCarveout4Size128kb = 0x00000008;
+SDRAM[2].McGeneralizedCarveout4Access0 = 0x00000000;
+SDRAM[2].McGeneralizedCarveout4Access1 = 0x00000000;
+SDRAM[2].McGeneralizedCarveout4Access2 = 0x00300000;
+SDRAM[2].McGeneralizedCarveout4Access3 = 0x00000000;
+SDRAM[2].McGeneralizedCarveout4Access4 = 0x00000000;
+SDRAM[2].McGeneralizedCarveout4ForceInternalAccess0 = 0x00000000;
+SDRAM[2].McGeneralizedCarveout4ForceInternalAccess1 = 0x00000000;
+SDRAM[2].McGeneralizedCarveout4ForceInternalAccess2 = 0x00000000;
+SDRAM[2].McGeneralizedCarveout4ForceInternalAccess3 = 0x00000000;
+SDRAM[2].McGeneralizedCarveout4ForceInternalAccess4 = 0x00000000;
+SDRAM[2].McGeneralizedCarveout4Cfg0 = 0x04002442;
+SDRAM[2].McGeneralizedCarveout5Bom = 0x00000000;
+SDRAM[2].McGeneralizedCarveout5BomHi = 0x00000000;
+SDRAM[2].McGeneralizedCarveout5Size128kb = 0x00000008;
+SDRAM[2].McGeneralizedCarveout5Access0 = 0x00000000;
+SDRAM[2].McGeneralizedCarveout5Access1 = 0x00000000;
+SDRAM[2].McGeneralizedCarveout5Access2 = 0x00300000;
+SDRAM[2].McGeneralizedCarveout5Access3 = 0x00000000;
+SDRAM[2].McGeneralizedCarveout5Access4 = 0x00000000;
+SDRAM[2].McGeneralizedCarveout5ForceInternalAccess0 = 0x00000000;
+SDRAM[2].McGeneralizedCarveout5ForceInternalAccess1 = 0x00000000;
+SDRAM[2].McGeneralizedCarveout5ForceInternalAccess2 = 0x00000000;
+SDRAM[2].McGeneralizedCarveout5ForceInternalAccess3 = 0x00000000;
+SDRAM[2].McGeneralizedCarveout5ForceInternalAccess4 = 0x00000000;
+SDRAM[2].McGeneralizedCarveout5Cfg0 = 0x04002c42;
+SDRAM[2].EmcCaTrainingEnable = 0x00000000;
+SDRAM[2].SwizzleRankByteEncode = 0x0000002e;
+SDRAM[2].BootRomPatchControl = 0x00000000;
+SDRAM[2].BootRomPatchData = 0x00000000;
+SDRAM[2].McMtsCarveoutBom = 0xfff00000;
+SDRAM[2].McMtsCarveoutAdrHi = 0x00000000;
+SDRAM[2].McMtsCarveoutSizeMb = 0x00000000;
+SDRAM[2].McMtsCarveoutRegCtrl = 0x00000000;
+# Do not edit. Generated by t210_emc_reg_tool_P975 V9.7.5. Command:
+# t210_emc_reg_tool_P975 -i Samsung_K4F6E304HA-MGCH_4GB.par 4.90196078431372549019 -dram_board_cfg 40
+# -dbi_rd_en 1 -data_bus_to_0 1 -fly_by_time_ps 1717 -t T210DSC_TBKV_A44_P5.xlsm_BKV.txt
+# -o T210_A44_R1_LP4_DSC_4G_204Mhz.cfg
+# Parameter file: Samsung_K4F6E304HA-MGCH_4GB.par, tck = 4.90 ns (204.00 MHz)
+SDRAM[3].MemoryType = NvBootMemoryType_LpDdr4;
+SDRAM[3].PllMInputDivider = 0x00000001;
+SDRAM[3].PllMFeedbackDivider = 0x00000022;
+SDRAM[3].PllMStableTime = 0x0000012c;
+SDRAM[3].PllMSetupControl = 0x00000000;
+SDRAM[3].PllMPostDivider = 0x00000000;
+SDRAM[3].PllMKCP = 0x00000000;
+SDRAM[3].PllMKVCO = 0x00000000;
+SDRAM[3].EmcBctSpare0 = 0x00000000;
+SDRAM[3].EmcBctSpare1 = 0x00000000;
+SDRAM[3].EmcBctSpare2 = 0x00000000;
+SDRAM[3].EmcBctSpare3 = 0x00000000;
+SDRAM[3].EmcBctSpare4 = 0x7001bc3c;
+SDRAM[3].EmcBctSpare5 = 0x00000032;
+SDRAM[3].EmcBctSpare6 = 0x7001b404;
+SDRAM[3].EmcBctSpare7 = 0x76342501;
+SDRAM[3].EmcBctSpare8 = 0x7000e6c8;
+SDRAM[3].EmcBctSpare9 = 0x00000000;
+SDRAM[3].EmcBctSpare10 = 0x00000000;
+SDRAM[3].EmcBctSpare11 = 0x00000000;
+SDRAM[3].EmcBctSpare12 = 0x7001bc3c;
+SDRAM[3].EmcBctSpare13 = 0x00000033;
+SDRAM[3].EmcClockSource = 0x40188002;
+SDRAM[3].EmcClockSourceDll = 0x40000000;
+SDRAM[3].ClkRstControllerPllmMisc2Override = 0x00000000;
+SDRAM[3].ClkRstControllerPllmMisc2OverrideEnable = 0x00000000;
+SDRAM[3].ClearClk2Mc1 = 0x00000000;
+SDRAM[3].EmcAutoCalInterval = 0x001fffff;
+SDRAM[3].EmcAutoCalConfig = 0xa01a51d8;
+SDRAM[3].EmcAutoCalConfig2 = 0x05500000;
+SDRAM[3].EmcAutoCalConfig3 = 0x00770000;
+SDRAM[3].EmcAutoCalConfig4 = 0x00770000;
+SDRAM[3].EmcAutoCalConfig5 = 0x00770000;
+SDRAM[3].EmcAutoCalConfig6 = 0x00770000;
+SDRAM[3].EmcAutoCalConfig7 = 0x00770000;
+SDRAM[3].EmcAutoCalConfig8 = 0x00770000;
+SDRAM[3].EmcAutoCalVrefSel0 = 0xb3afa6a6;
+SDRAM[3].EmcAutoCalVrefSel1 = 0x00009e3c;
+SDRAM[3].EmcAutoCalChannel = 0xc1e00303;
+SDRAM[3].EmcPmacroAutocalCfg0 = 0x04040404;
+SDRAM[3].EmcPmacroAutocalCfg1 = 0x04040404;
+SDRAM[3].EmcPmacroAutocalCfg2 = 0x00000000;
+SDRAM[3].EmcPmacroRxTerm = 0x1f1f1f1f;
+SDRAM[3].EmcPmacroDqTxDrv = 0x1f1f1f1f;
+SDRAM[3].EmcPmacroCaTxDrv = 0x1f1f1f1f;
+SDRAM[3].EmcPmacroCmdTxDrv = 0x00001f1f;
+SDRAM[3].EmcPmacroAutocalCfgCommon = 0x00000804;
+SDRAM[3].EmcPmacroZctrl = 0x00000550;
+SDRAM[3].EmcAutoCalWait = 0x000001a1;
+SDRAM[3].EmcXm2CompPadCtrl = 0x00000032;
+SDRAM[3].EmcXm2CompPadCtrl2 = 0x00000000;
+SDRAM[3].EmcXm2CompPadCtrl3 = 0x00000000;
+SDRAM[3].EmcAdrCfg = 0x00000001;
+SDRAM[3].EmcPinProgramWait = 0x00000002;
+SDRAM[3].EmcPinExtraWait = 0x00000000;
+SDRAM[3].EmcPinGpioEn = 0x00000003;
+SDRAM[3].EmcPinGpio = 0x00000003;
+SDRAM[3].EmcTimingControlWait = 0x0000001e;
+SDRAM[3].EmcRc = 0x0000000d;
+SDRAM[3].EmcRfc = 0x00000025;
+SDRAM[3].EmcRfcPb = 0x00000013;
+SDRAM[3].EmcRefctrl2 = 0x00000000;
+SDRAM[3].EmcRfcSlr = 0x00000000;
+SDRAM[3].EmcRas = 0x00000009;
+SDRAM[3].EmcRp = 0x00000004;
+SDRAM[3].EmcR2r = 0x00000000;
+SDRAM[3].EmcW2w = 0x00000000;
+SDRAM[3].EmcR2w = 0x0000000b;
+SDRAM[3].EmcW2r = 0x0000000d;
+SDRAM[3].EmcR2p = 0x00000008;
+SDRAM[3].EmcW2p = 0x0000000b;
+SDRAM[3].EmcTppd = 0x00000004;
+SDRAM[3].EmcCcdmw = 0x00000020;
+SDRAM[3].EmcRdRcd = 0x00000006;
+SDRAM[3].EmcWrRcd = 0x00000006;
+SDRAM[3].EmcRrd = 0x00000006;
+SDRAM[3].EmcRext = 0x00000003;
+SDRAM[3].EmcWext = 0x00000000;
+SDRAM[3].EmcWdv = 0x00000004;
+SDRAM[3].EmcWdvChk = 0x00000006;
+SDRAM[3].EmcWsv = 0x00000002;
+SDRAM[3].EmcWev = 0x00000000;
+SDRAM[3].EmcWdvMask = 0x00000004;
+SDRAM[3].EmcWsDuration = 0x00000008;
+SDRAM[3].EmcWeDuration = 0x0000000d;
+SDRAM[3].EmcQUse = 0x00000005;
+SDRAM[3].EmcQuseWidth = 0x00000006;
+SDRAM[3].EmcIbdly = 0x00000000;
+SDRAM[3].EmcObdly = 0x00000000;
+SDRAM[3].EmcEInput = 0x00000002;
+SDRAM[3].EmcEInputDuration = 0x0000000d;
+SDRAM[3].EmcPutermExtra = 0x00000002;
+SDRAM[3].EmcPutermWidth = 0x0000000b;
+SDRAM[3].EmcQRst = 0x00010000;
+SDRAM[3].EmcQSafe = 0x00000012;
+SDRAM[3].EmcRdv = 0x00000014;
+SDRAM[3].EmcRdvMask = 0x00000016;
+SDRAM[3].EmcRdvEarly = 0x00000012;
+SDRAM[3].EmcRdvEarlyMask = 0x00000014;
+SDRAM[3].EmcQpop = 0x0000000a;
+SDRAM[3].EmcRefresh = 0x00000304;
+SDRAM[3].EmcBurstRefreshNum = 0x00000000;
+SDRAM[3].EmcPreRefreshReqCnt = 0x000000c1;
+SDRAM[3].EmcPdEx2Wr = 0x00000008;
+SDRAM[3].EmcPdEx2Rd = 0x00000008;
+SDRAM[3].EmcPChg2Pden = 0x00000003;
+SDRAM[3].EmcAct2Pden = 0x00000003;
+SDRAM[3].EmcAr2Pden = 0x00000003;
+SDRAM[3].EmcRw2Pden = 0x00000012;
+SDRAM[3].EmcCke2Pden = 0x00000005;
+SDRAM[3].EmcPdex2Cke = 0x00000002;
+SDRAM[3].EmcPdex2Mrr = 0x0000000d;
+SDRAM[3].EmcTxsr = 0x00000027;
+SDRAM[3].EmcTxsrDll = 0x00000027;
+SDRAM[3].EmcTcke = 0x00000005;
+SDRAM[3].EmcTckesr = 0x00000005;
+SDRAM[3].EmcTpd = 0x00000004;
+SDRAM[3].EmcTfaw = 0x00000009;
+SDRAM[3].EmcTrpab = 0x00000005;
+SDRAM[3].EmcTClkStable = 0x00000003;
+SDRAM[3].EmcTClkStop = 0x00000009;
+SDRAM[3].EmcTRefBw = 0x0000031c;
+SDRAM[3].EmcFbioCfg5 = 0x9160a00d;
+SDRAM[3].EmcFbioCfg7 = 0x00003bbf;
+SDRAM[3].EmcFbioCfg8 = 0x0cf30000;
+SDRAM[3].EmcCmdMappingCmd0_0 = 0x07050203;
+SDRAM[3].EmcCmdMappingCmd0_1 = 0x06041b1c;
+SDRAM[3].EmcCmdMappingCmd0_2 = 0x05252523;
+SDRAM[3].EmcCmdMappingCmd1_0 = 0x1e0d0b0a;
+SDRAM[3].EmcCmdMappingCmd1_1 = 0x240c091d;
+SDRAM[3].EmcCmdMappingCmd1_2 = 0x04262608;
+SDRAM[3].EmcCmdMappingCmd2_0 = 0x051b0302;
+SDRAM[3].EmcCmdMappingCmd2_1 = 0x0604231c;
+SDRAM[3].EmcCmdMappingCmd2_2 = 0x09252507;
+SDRAM[3].EmcCmdMappingCmd3_0 = 0x0c0b0d0a;
+SDRAM[3].EmcCmdMappingCmd3_1 = 0x08091e1d;
+SDRAM[3].EmcCmdMappingCmd3_2 = 0x08262624;
+SDRAM[3].EmcCmdMappingByte = 0x0a070623;
+SDRAM[3].EmcFbioSpare = 0x00000012;
+SDRAM[3].EmcCfgRsv = 0xff00ff00;
+SDRAM[3].EmcMrs = 0x00000000;
+SDRAM[3].EmcEmrs = 0x00000000;
+SDRAM[3].EmcEmrs2 = 0x00000000;
+SDRAM[3].EmcEmrs3 = 0x00000000;
+SDRAM[3].EmcMrw1 = 0x08010004;
+SDRAM[3].EmcMrw2 = 0x08020000;
+SDRAM[3].EmcMrw3 = 0x080d0000;
+SDRAM[3].EmcMrw4 = 0xc0000000;
+SDRAM[3].EmcMrw6 = 0x08037171;
+SDRAM[3].EmcMrw8 = 0x080b0000;
+SDRAM[3].EmcMrw9 = 0x0c0e6b6b;
+SDRAM[3].EmcMrw10 = 0x00000000;
+SDRAM[3].EmcMrw12 = 0x0c0d0808;
+SDRAM[3].EmcMrw13 = 0x0c0d0000;
+SDRAM[3].EmcMrw14 = 0x08161414;
+SDRAM[3].EmcMrwExtra = 0x08010004;
+SDRAM[3].EmcWarmBootMrwExtra = 0x08110000;
+SDRAM[3].EmcWarmBootExtraModeRegWriteEnable = 0x00000001;
+SDRAM[3].EmcExtraModeRegWriteEnable = 0x00000000;
+SDRAM[3].EmcMrwResetCommand = 0x00000000;
+SDRAM[3].EmcMrwResetNInitWait = 0x00000000;
+SDRAM[3].EmcMrsWaitCnt = 0x00cc0015;
+SDRAM[3].EmcMrsWaitCnt2 = 0x0033000a;
+SDRAM[3].EmcCfg = 0xf3200000;
+SDRAM[3].EmcCfg2 = 0x00110805;
+SDRAM[3].EmcCfgPipe = 0x0fff0fff;
+SDRAM[3].EmcCfgPipeClk = 0x00000000;
+SDRAM[3].EmcFdpdCtrlCmdNoRamp = 0x00000001;
+SDRAM[3].EmcCfgUpdate = 0x70000301;
+SDRAM[3].EmcDbg = 0x01000c00;
+SDRAM[3].EmcDbgWriteMux = 0x00000001;
+SDRAM[3].EmcCmdQ = 0x10004408;
+SDRAM[3].EmcMc2EmcQ = 0x06000404;
+SDRAM[3].EmcDynSelfRefControl = 0x80000713;
+SDRAM[3].AhbArbitrationXbarCtrlMemInitDone = 0x00000001;
+SDRAM[3].EmcCfgDigDll = 0x002c00a0;
+SDRAM[3].EmcCfgDigDll_1 = 0x00003701;
+SDRAM[3].EmcCfgDigDllPeriod = 0x00008000;
+SDRAM[3].EmcDevSelect = 0x00000000;
+SDRAM[3].EmcSelDpdCtrl = 0x00040008;
+SDRAM[3].EmcFdpdCtrlDq = 0x8020221f;
+SDRAM[3].EmcFdpdCtrlCmd = 0x0220f40f;
+SDRAM[3].EmcPmacroIbVrefDq_0 = 0x28282828;
+SDRAM[3].EmcPmacroIbVrefDq_1 = 0x28282828;
+SDRAM[3].EmcPmacroIbVrefDqs_0 = 0x11111111;
+SDRAM[3].EmcPmacroIbVrefDqs_1 = 0x11111111;
+SDRAM[3].EmcPmacroIbRxrt = 0x000000be;
+SDRAM[3].EmcCfgPipe1 = 0x0fff0fff;
+SDRAM[3].EmcCfgPipe2 = 0x0fff0fff;
+SDRAM[3].EmcPmacroQuseDdllRank0_0 = 0x00000000;
+SDRAM[3].EmcPmacroQuseDdllRank0_1 = 0x00000000;
+SDRAM[3].EmcPmacroQuseDdllRank0_2 = 0x00000000;
+SDRAM[3].EmcPmacroQuseDdllRank0_3 = 0x00000000;
+SDRAM[3].EmcPmacroQuseDdllRank0_4 = 0x00000000;
+SDRAM[3].EmcPmacroQuseDdllRank0_5 = 0x00000000;
+SDRAM[3].EmcPmacroQuseDdllRank1_0 = 0x00000000;
+SDRAM[3].EmcPmacroQuseDdllRank1_1 = 0x00000000;
+SDRAM[3].EmcPmacroQuseDdllRank1_2 = 0x00000000;
+SDRAM[3].EmcPmacroQuseDdllRank1_3 = 0x00000000;
+SDRAM[3].EmcPmacroQuseDdllRank1_4 = 0x00000000;
+SDRAM[3].EmcPmacroQuseDdllRank1_5 = 0x00000000;
+SDRAM[3].EmcPmacroObDdllLongDqRank0_0 = 0x00000000;
+SDRAM[3].EmcPmacroObDdllLongDqRank0_1 = 0x00000000;
+SDRAM[3].EmcPmacroObDdllLongDqRank0_2 = 0x00000000;
+SDRAM[3].EmcPmacroObDdllLongDqRank0_3 = 0x00000000;
+SDRAM[3].EmcPmacroObDdllLongDqRank0_4 = 0x00000000;
+SDRAM[3].EmcPmacroObDdllLongDqRank0_5 = 0x00000000;
+SDRAM[3].EmcPmacroObDdllLongDqRank1_0 = 0x00000000;
+SDRAM[3].EmcPmacroObDdllLongDqRank1_1 = 0x00000000;
+SDRAM[3].EmcPmacroObDdllLongDqRank1_2 = 0x00000000;
+SDRAM[3].EmcPmacroObDdllLongDqRank1_3 = 0x00000000;
+SDRAM[3].EmcPmacroObDdllLongDqRank1_4 = 0x00000000;
+SDRAM[3].EmcPmacroObDdllLongDqRank1_5 = 0x00000000;
+SDRAM[3].EmcPmacroObDdllLongDqsRank0_0 = 0x00320032;
+SDRAM[3].EmcPmacroObDdllLongDqsRank0_1 = 0x00320032;
+SDRAM[3].EmcPmacroObDdllLongDqsRank0_2 = 0x00320032;
+SDRAM[3].EmcPmacroObDdllLongDqsRank0_3 = 0x00320032;
+SDRAM[3].EmcPmacroObDdllLongDqsRank0_4 = 0x00090009;
+SDRAM[3].EmcPmacroObDdllLongDqsRank0_5 = 0x00090009;
+SDRAM[3].EmcPmacroObDdllLongDqsRank1_0 = 0x00320032;
+SDRAM[3].EmcPmacroObDdllLongDqsRank1_1 = 0x00320032;
+SDRAM[3].EmcPmacroObDdllLongDqsRank1_2 = 0x00320032;
+SDRAM[3].EmcPmacroObDdllLongDqsRank1_3 = 0x00320032;
+SDRAM[3].EmcPmacroObDdllLongDqsRank1_4 = 0x00090009;
+SDRAM[3].EmcPmacroObDdllLongDqsRank1_5 = 0x00090009;
+SDRAM[3].EmcPmacroIbDdllLongDqsRank0_0 = 0x00280028;
+SDRAM[3].EmcPmacroIbDdllLongDqsRank0_1 = 0x00280028;
+SDRAM[3].EmcPmacroIbDdllLongDqsRank0_2 = 0x00280028;
+SDRAM[3].EmcPmacroIbDdllLongDqsRank0_3 = 0x00280028;
+SDRAM[3].EmcPmacroIbDdllLongDqsRank1_0 = 0x00280028;
+SDRAM[3].EmcPmacroIbDdllLongDqsRank1_1 = 0x00280028;
+SDRAM[3].EmcPmacroIbDdllLongDqsRank1_2 = 0x00280028;
+SDRAM[3].EmcPmacroIbDdllLongDqsRank1_3 = 0x00280028;
+SDRAM[3].EmcPmacroDdllLongCmd_0 = 0x00000000;
+SDRAM[3].EmcPmacroDdllLongCmd_1 = 0x00000000;
+SDRAM[3].EmcPmacroDdllLongCmd_2 = 0x00000000;
+SDRAM[3].EmcPmacroDdllLongCmd_3 = 0x00000000;
+SDRAM[3].EmcPmacroDdllLongCmd_4 = 0x00000000;
+SDRAM[3].EmcPmacroDdllShortCmd_0 = 0x00000000;
+SDRAM[3].EmcPmacroDdllShortCmd_1 = 0x00000000;
+SDRAM[3].EmcPmacroDdllShortCmd_2 = 0x00000000;
+SDRAM[3].WarmBootWait = 0x00000001;
+SDRAM[3].EmcOdtWrite = 0x00000000;
+SDRAM[3].EmcZcalInterval = 0x00064000;
+SDRAM[3].EmcZcalWaitCnt = 0x000900cc;
+SDRAM[3].EmcZcalMrwCmd = 0x0051004f;
+SDRAM[3].EmcMrsResetDll = 0x00000000;
+SDRAM[3].EmcZcalInitDev0 = 0x80000001;
+SDRAM[3].EmcZcalInitDev1 = 0x40000001;
+SDRAM[3].EmcZcalInitWait = 0x00000001;
+SDRAM[3].EmcZcalWarmColdBootEnables = 0x00000003;
+SDRAM[3].EmcMrwLpddr2ZcalWarmBoot = 0x040a00ab;
+SDRAM[3].EmcZqCalDdr3WarmBoot = 0x00000011;
+SDRAM[3].EmcZqCalLpDdr4WarmBoot = 0x00000001;
+SDRAM[3].EmcZcalWarmBootWait = 0x00000001;
+SDRAM[3].EmcMrsWarmBootEnable = 0x00000001;
+SDRAM[3].EmcMrsResetDllWait = 0x00000000;
+SDRAM[3].EmcMrsExtra = 0x00000000;
+SDRAM[3].EmcWarmBootMrsExtra = 0x00000000;
+SDRAM[3].EmcEmrsDdr2DllEnable = 0x00000000;
+SDRAM[3].EmcMrsDdr2DllReset = 0x00000000;
+SDRAM[3].EmcEmrsDdr2OcdCalib = 0x00000000;
+SDRAM[3].EmcDdr2Wait = 0x00000000;
+SDRAM[3].EmcClkenOverride = 0x00000000;
+SDRAM[3].EmcExtraRefreshNum = 0x00000002;
+SDRAM[3].EmcClkenOverrideAllWarmBoot = 0x00000000;
+SDRAM[3].McClkenOverrideAllWarmBoot = 0x00000000;
+SDRAM[3].EmcCfgDigDllPeriodWarmBoot = 0x00000003;
+SDRAM[3].PmcVddpSel = 0x00000001;
+SDRAM[3].PmcVddpSelWait = 0x00000002;
+SDRAM[3].PmcDdrPwr = 0x0000000f;
+SDRAM[3].PmcDdrCfg = 0x20220100;
+SDRAM[3].PmcIoDpd3Req = 0x4bafffff;
+SDRAM[3].PmcIoDpd3ReqWait = 0x00000001;
+SDRAM[3].PmcIoDpd4ReqWait = 0x00000002;
+SDRAM[3].PmcRegShort = 0x00000000;
+SDRAM[3].PmcNoIoPower = 0x00000000;
+SDRAM[3].PmcDdrCntrlWait = 0x00000000;
+SDRAM[3].PmcDdrCntrl = 0x0007ff8b;
+SDRAM[3].EmcAcpdControl = 0x00000000;
+SDRAM[3].EmcSwizzleRank0Byte0 = 0x76342501;
+SDRAM[3].EmcSwizzleRank0Byte1 = 0x56243701;
+SDRAM[3].EmcSwizzleRank0Byte2 = 0x34267510;
+SDRAM[3].EmcSwizzleRank0Byte3 = 0x45763210;
+SDRAM[3].EmcSwizzleRank1Byte0 = 0x72345601;
+SDRAM[3].EmcSwizzleRank1Byte1 = 0x23456701;
+SDRAM[3].EmcSwizzleRank1Byte2 = 0x65427310;
+SDRAM[3].EmcSwizzleRank1Byte3 = 0x75432610;
+SDRAM[3].EmcTxdsrvttgen = 0x00000000;
+SDRAM[3].EmcDataBrlshft0 = 0x00249249;
+SDRAM[3].EmcDataBrlshft1 = 0x00249249;
+SDRAM[3].EmcDqsBrlshft0 = 0x00000000;
+SDRAM[3].EmcDqsBrlshft1 = 0x00000000;
+SDRAM[3].EmcCmdBrlshft0 = 0x00000000;
+SDRAM[3].EmcCmdBrlshft1 = 0x00000000;
+SDRAM[3].EmcCmdBrlshft2 = 0x00000012;
+SDRAM[3].EmcCmdBrlshft3 = 0x00000012;
+SDRAM[3].EmcQuseBrlshft0 = 0x00000000;
+SDRAM[3].EmcQuseBrlshft1 = 0x00000000;
+SDRAM[3].EmcQuseBrlshft2 = 0x00000000;
+SDRAM[3].EmcQuseBrlshft3 = 0x00000000;
+SDRAM[3].EmcDllCfg0 = 0x1f13412f;
+SDRAM[3].EmcDllCfg1 = 0x00010014;
+SDRAM[3].EmcPmcScratch1 = 0x4bafffff;
+SDRAM[3].EmcPmcScratch2 = 0x7fffffff;
+SDRAM[3].EmcPmcScratch3 = 0x4005d70b;
+SDRAM[3].EmcPmacroPadCfgCtrl = 0x00020000;
+SDRAM[3].EmcPmacroVttgenCtrl0 = 0x00030808;
+SDRAM[3].EmcPmacroVttgenCtrl1 = 0x00015000;
+SDRAM[3].EmcPmacroVttgenCtrl2 = 0x00101010;
+SDRAM[3].EmcPmacroBrickCtrlRfu1 = 0x00001600;
+SDRAM[3].EmcPmacroCmdBrickCtrlFdpd = 0x00000000;
+SDRAM[3].EmcPmacroBrickCtrlRfu2 = 0x00000000;
+SDRAM[3].EmcPmacroDataBrickCtrlFdpd = 0x00000000;
+SDRAM[3].EmcPmacroBgBiasCtrl0 = 0x00000030;
+SDRAM[3].EmcPmacroDataPadRxCtrl = 0x10050037;
+SDRAM[3].EmcPmacroCmdPadRxCtrl = 0x00000000;
+SDRAM[3].EmcPmacroDataRxTermMode = 0x00000010;
+SDRAM[3].EmcPmacroCmdRxTermMode = 0x00003000;
+SDRAM[3].EmcPmacroDataPadTxCtrl = 0x02000111;
+SDRAM[3].EmcPmacroCommonPadTxCtrl = 0x00000008;
+SDRAM[3].EmcPmacroCmdPadTxCtrl = 0x0a000000;
+SDRAM[3].EmcCfg3 = 0x00000040;
+SDRAM[3].EmcPmacroTxPwrd0 = 0x10000000;
+SDRAM[3].EmcPmacroTxPwrd1 = 0x08000000;
+SDRAM[3].EmcPmacroTxPwrd2 = 0x08000000;
+SDRAM[3].EmcPmacroTxPwrd3 = 0x08000000;
+SDRAM[3].EmcPmacroTxPwrd4 = 0x00000000;
+SDRAM[3].EmcPmacroTxPwrd5 = 0x00000000;
+SDRAM[3].EmcConfigSampleDelay = 0x00000020;
+SDRAM[3].EmcPmacroBrickMapping0 = 0x28190081;
+SDRAM[3].EmcPmacroBrickMapping1 = 0x44a53293;
+SDRAM[3].EmcPmacroBrickMapping2 = 0x76b76a5b;
+SDRAM[3].EmcPmacroTxSelClkSrc0 = 0x00000000;
+SDRAM[3].EmcPmacroTxSelClkSrc1 = 0x00000000;
+SDRAM[3].EmcPmacroTxSelClkSrc2 = 0x00000000;
+SDRAM[3].EmcPmacroTxSelClkSrc3 = 0x00000000;
+SDRAM[3].EmcPmacroTxSelClkSrc4 = 0x00000000;
+SDRAM[3].EmcPmacroTxSelClkSrc5 = 0x00000000;
+SDRAM[3].EmcPmacroDdllBypass = 0xefffefff;
+SDRAM[3].EmcPmacroDdllPwrd0 = 0xc0c0c0c0;
+SDRAM[3].EmcPmacroDdllPwrd1 = 0xc0c0c0c0;
+SDRAM[3].EmcPmacroDdllPwrd2 = 0xdcdcdcdc;
+SDRAM[3].EmcPmacroCmdCtrl0 = 0x0a0a0a0a;
+SDRAM[3].EmcPmacroCmdCtrl1 = 0x0a0a0a0a;
+SDRAM[3].EmcPmacroCmdCtrl2 = 0x0a0a0a0a;
+SDRAM[3].McEmemAdrCfg = 0x00000001;
+SDRAM[3].McEmemAdrCfgDev0 = 0x00070302;
+SDRAM[3].McEmemAdrCfgDev1 = 0x00070302;
+SDRAM[3].McEmemAdrCfgChannelMask = 0xffff2400;
+SDRAM[3].McEmemAdrCfgBankMask0 = 0x6e574400;
+SDRAM[3].McEmemAdrCfgBankMask1 = 0x39722800;
+SDRAM[3].McEmemAdrCfgBankMask2 = 0x4b9c1000;
+SDRAM[3].McEmemCfg = 0x00001000;
+SDRAM[3].McEmemArbCfg = 0x08000001;
+SDRAM[3].McEmemArbOutstandingReq = 0x8000004c;
+SDRAM[3].McEmemArbRefpbHpCtrl = 0x000a1020;
+SDRAM[3].McEmemArbRefpbBankCtrl = 0x80001028;
+SDRAM[3].McEmemArbTimingRcd = 0x00000001;
+SDRAM[3].McEmemArbTimingRp = 0x00000000;
+SDRAM[3].McEmemArbTimingRc = 0x00000003;
+SDRAM[3].McEmemArbTimingRas = 0x00000001;
+SDRAM[3].McEmemArbTimingFaw = 0x00000002;
+SDRAM[3].McEmemArbTimingRrd = 0x00000001;
+SDRAM[3].McEmemArbTimingRap2Pre = 0x00000002;
+SDRAM[3].McEmemArbTimingWap2Pre = 0x00000005;
+SDRAM[3].McEmemArbTimingR2R = 0x00000001;
+SDRAM[3].McEmemArbTimingW2W = 0x00000001;
+SDRAM[3].McEmemArbTimingR2W = 0x00000004;
+SDRAM[3].McEmemArbTimingW2R = 0x00000005;
+SDRAM[3].McEmemArbTimingRFCPB = 0x00000004;
+SDRAM[3].McEmemArbDaTurns = 0x02020000;
+SDRAM[3].McEmemArbDaCovers = 0x00030201;
+SDRAM[3].McEmemArbMisc0 = 0x71c30504;
+SDRAM[3].McEmemArbMisc1 = 0x70000f0f;
+SDRAM[3].McEmemArbMisc2 = 0x00000000;
+SDRAM[3].McEmemArbRing1Throttle = 0x001f0000;
+SDRAM[3].McEmemArbOverride = 0x10000000;
+SDRAM[3].McEmemArbOverride1 = 0x00000000;
+SDRAM[3].McEmemArbRsv = 0xff00ff00;
+SDRAM[3].McDaCfg0 = 0x00000001;
+SDRAM[3].McEmemArbTimingCcdmw = 0x00000008;
+SDRAM[3].McClkenOverride = 0x00008000;
+SDRAM[3].McStatControl = 0x00000000;
+SDRAM[3].McVideoProtectBom = 0xfff00000;
+SDRAM[3].McVideoProtectBomAdrHi = 0x00000000;
+SDRAM[3].McVideoProtectSizeMb = 0x00000000;
+SDRAM[3].McVideoProtectVprOverride = 0xe4bac343;
+SDRAM[3].McVideoProtectVprOverride1 = 0x00001ed3;
+SDRAM[3].McVideoProtectGpuOverride0 = 0x00000000;
+SDRAM[3].McVideoProtectGpuOverride1 = 0x00000000;
+SDRAM[3].McSecCarveoutBom = 0xfff00000;
+SDRAM[3].McSecCarveoutAdrHi = 0x00000000;
+SDRAM[3].McSecCarveoutSizeMb = 0x00000000;
+SDRAM[3].McVideoProtectWriteAccess = 0x00000000;
+SDRAM[3].McSecCarveoutProtectWriteAccess = 0x00000000;
+SDRAM[3].McGeneralizedCarveout1Bom = 0x00000000;
+SDRAM[3].McGeneralizedCarveout1BomHi = 0x00000000;
+SDRAM[3].McGeneralizedCarveout1Size128kb = 0x00000008;
+SDRAM[3].McGeneralizedCarveout1Access0 = 0x00000000;
+SDRAM[3].McGeneralizedCarveout1Access1 = 0x00000000;
+SDRAM[3].McGeneralizedCarveout1Access2 = 0x00300000;
+SDRAM[3].McGeneralizedCarveout1Access3 = 0x03000000;
+SDRAM[3].McGeneralizedCarveout1Access4 = 0x00000000;
+SDRAM[3].McGeneralizedCarveout1ForceInternalAccess0 = 0x00000000;
+SDRAM[3].McGeneralizedCarveout1ForceInternalAccess1 = 0x00000000;
+SDRAM[3].McGeneralizedCarveout1ForceInternalAccess2 = 0x00000000;
+SDRAM[3].McGeneralizedCarveout1ForceInternalAccess3 = 0x00000000;
+SDRAM[3].McGeneralizedCarveout1ForceInternalAccess4 = 0x00000000;
+SDRAM[3].McGeneralizedCarveout1Cfg0 = 0x04000c75;
+SDRAM[3].McGeneralizedCarveout2Bom = 0x00000000;
+SDRAM[3].McGeneralizedCarveout2BomHi = 0x00000000;
+SDRAM[3].McGeneralizedCarveout2Size128kb = 0x00000002;
+SDRAM[3].McGeneralizedCarveout2Access0 = 0x00000000;
+SDRAM[3].McGeneralizedCarveout2Access1 = 0x00000000;
+SDRAM[3].McGeneralizedCarveout2Access2 = 0x03000000;
+SDRAM[3].McGeneralizedCarveout2Access3 = 0x00000000;
+SDRAM[3].McGeneralizedCarveout2Access4 = 0x00000300;
+SDRAM[3].McGeneralizedCarveout2ForceInternalAccess0 = 0x00000000;
+SDRAM[3].McGeneralizedCarveout2ForceInternalAccess1 = 0x00000000;
+SDRAM[3].McGeneralizedCarveout2ForceInternalAccess2 = 0x00000000;
+SDRAM[3].McGeneralizedCarveout2ForceInternalAccess3 = 0x00000000;
+SDRAM[3].McGeneralizedCarveout2ForceInternalAccess4 = 0x00000000;
+SDRAM[3].McGeneralizedCarveout2Cfg0 = 0x0440167c;
+SDRAM[3].McGeneralizedCarveout3Bom = 0x00000000;
+SDRAM[3].McGeneralizedCarveout3BomHi = 0x00000000;
+SDRAM[3].McGeneralizedCarveout3Size128kb = 0x00000000;
+SDRAM[3].McGeneralizedCarveout3Access0 = 0x00000000;
+SDRAM[3].McGeneralizedCarveout3Access1 = 0x00000000;
+SDRAM[3].McGeneralizedCarveout3Access2 = 0x03000000;
+SDRAM[3].McGeneralizedCarveout3Access3 = 0x00000000;
+SDRAM[3].McGeneralizedCarveout3Access4 = 0x00000300;
+SDRAM[3].McGeneralizedCarveout3ForceInternalAccess0 = 0x00000000;
+SDRAM[3].McGeneralizedCarveout3ForceInternalAccess1 = 0x00000000;
+SDRAM[3].McGeneralizedCarveout3ForceInternalAccess2 = 0x00000000;
+SDRAM[3].McGeneralizedCarveout3ForceInternalAccess3 = 0x00000000;
+SDRAM[3].McGeneralizedCarveout3ForceInternalAccess4 = 0x00000000;
+SDRAM[3].McGeneralizedCarveout3Cfg0 = 0x04401e7c;
+SDRAM[3].McGeneralizedCarveout4Bom = 0x00000000;
+SDRAM[3].McGeneralizedCarveout4BomHi = 0x00000000;
+SDRAM[3].McGeneralizedCarveout4Size128kb = 0x00000008;
+SDRAM[3].McGeneralizedCarveout4Access0 = 0x00000000;
+SDRAM[3].McGeneralizedCarveout4Access1 = 0x00000000;
+SDRAM[3].McGeneralizedCarveout4Access2 = 0x00300000;
+SDRAM[3].McGeneralizedCarveout4Access3 = 0x00000000;
+SDRAM[3].McGeneralizedCarveout4Access4 = 0x00000000;
+SDRAM[3].McGeneralizedCarveout4ForceInternalAccess0 = 0x00000000;
+SDRAM[3].McGeneralizedCarveout4ForceInternalAccess1 = 0x00000000;
+SDRAM[3].McGeneralizedCarveout4ForceInternalAccess2 = 0x00000000;
+SDRAM[3].McGeneralizedCarveout4ForceInternalAccess3 = 0x00000000;
+SDRAM[3].McGeneralizedCarveout4ForceInternalAccess4 = 0x00000000;
+SDRAM[3].McGeneralizedCarveout4Cfg0 = 0x04002442;
+SDRAM[3].McGeneralizedCarveout5Bom = 0x00000000;
+SDRAM[3].McGeneralizedCarveout5BomHi = 0x00000000;
+SDRAM[3].McGeneralizedCarveout5Size128kb = 0x00000008;
+SDRAM[3].McGeneralizedCarveout5Access0 = 0x00000000;
+SDRAM[3].McGeneralizedCarveout5Access1 = 0x00000000;
+SDRAM[3].McGeneralizedCarveout5Access2 = 0x00300000;
+SDRAM[3].McGeneralizedCarveout5Access3 = 0x00000000;
+SDRAM[3].McGeneralizedCarveout5Access4 = 0x00000000;
+SDRAM[3].McGeneralizedCarveout5ForceInternalAccess0 = 0x00000000;
+SDRAM[3].McGeneralizedCarveout5ForceInternalAccess1 = 0x00000000;
+SDRAM[3].McGeneralizedCarveout5ForceInternalAccess2 = 0x00000000;
+SDRAM[3].McGeneralizedCarveout5ForceInternalAccess3 = 0x00000000;
+SDRAM[3].McGeneralizedCarveout5ForceInternalAccess4 = 0x00000000;
+SDRAM[3].McGeneralizedCarveout5Cfg0 = 0x04002c42;
+SDRAM[3].EmcCaTrainingEnable = 0x00000000;
+SDRAM[3].SwizzleRankByteEncode = 0x0000002e;
+SDRAM[3].BootRomPatchControl = 0x00000000;
+SDRAM[3].BootRomPatchData = 0x00000000;
+SDRAM[3].McMtsCarveoutBom = 0xfff00000;
+SDRAM[3].McMtsCarveoutAdrHi = 0x00000000;
+SDRAM[3].McMtsCarveoutSizeMb = 0x00000000;
+SDRAM[3].McMtsCarveoutRegCtrl = 0x00000000;
diff --git a/src/mainboard/google/smaug/bct/sdram-samsung-3GB-204.inc b/src/mainboard/google/smaug/bct/sdram-samsung-3GB-204.inc
new file mode 100644
index 0000000000..745bb51810
--- /dev/null
+++ b/src/mainboard/google/smaug/bct/sdram-samsung-3GB-204.inc
@@ -0,0 +1,476 @@
+{ /* generated from T210_A44_R1_LP4_DSC_204Mhz.cfg; do not edit. */
+ .MemoryType = NvBootMemoryType_LpDdr4,
+ .PllMInputDivider = 0x00000001,
+ .PllMFeedbackDivider = 0x00000022,
+ .PllMStableTime = 0x0000012c,
+ .PllMSetupControl = 0x00000000,
+ .PllMPostDivider = 0x00000000,
+ .PllMKCP = 0x00000000,
+ .PllMKVCO = 0x00000000,
+ .EmcBctSpare0 = 0x00000000,
+ .EmcBctSpare1 = 0x00000000,
+ .EmcBctSpare2 = 0x00000000,
+ .EmcBctSpare3 = 0x00000000,
+ .EmcBctSpare4 = 0x7001bc3c,
+ .EmcBctSpare5 = 0x00000032,
+ .EmcBctSpare6 = 0x7001b404,
+ .EmcBctSpare7 = 0x76342501,
+ .EmcBctSpare8 = 0x7000e6c8,
+ .EmcBctSpare9 = 0x00000000,
+ .EmcBctSpare10 = 0x00000000,
+ .EmcBctSpare11 = 0x00000000,
+ .EmcBctSpare12 = 0x7001bc3c,
+ .EmcBctSpare13 = 0x00000033,
+ .EmcClockSource = 0x40188002,
+ .EmcClockSourceDll = 0x40000000,
+ .ClkRstControllerPllmMisc2Override = 0x00000000,
+ .ClkRstControllerPllmMisc2OverrideEnable = 0x00000000,
+ .ClearClk2Mc1 = 0x00000000,
+ .EmcAutoCalInterval = 0x001fffff,
+ .EmcAutoCalConfig = 0xa01a51d8,
+ .EmcAutoCalConfig2 = 0x05500000,
+ .EmcAutoCalConfig3 = 0x00770000,
+ .EmcAutoCalConfig4 = 0x00770000,
+ .EmcAutoCalConfig5 = 0x00770000,
+ .EmcAutoCalConfig6 = 0x00770000,
+ .EmcAutoCalConfig7 = 0x00770000,
+ .EmcAutoCalConfig8 = 0x00770000,
+ .EmcAutoCalVrefSel0 = 0xb3afa6a6,
+ .EmcAutoCalVrefSel1 = 0x00009e3c,
+ .EmcAutoCalChannel = 0xc1e00303,
+ .EmcPmacroAutocalCfg0 = 0x04040404,
+ .EmcPmacroAutocalCfg1 = 0x04040404,
+ .EmcPmacroAutocalCfg2 = 0x00000000,
+ .EmcPmacroRxTerm = 0x1f1f1f1f,
+ .EmcPmacroDqTxDrv = 0x1f1f1f1f,
+ .EmcPmacroCaTxDrv = 0x1f1f1f1f,
+ .EmcPmacroCmdTxDrv = 0x00001f1f,
+ .EmcPmacroAutocalCfgCommon = 0x00000804,
+ .EmcPmacroZctrl = 0x00000550,
+ .EmcAutoCalWait = 0x000001a1,
+ .EmcXm2CompPadCtrl = 0x00000032,
+ .EmcXm2CompPadCtrl2 = 0x00000000,
+ .EmcXm2CompPadCtrl3 = 0x00000000,
+ .EmcAdrCfg = 0x00000001,
+ .EmcPinProgramWait = 0x00000002,
+ .EmcPinExtraWait = 0x00000000,
+ .EmcPinGpioEn = 0x00000003,
+ .EmcPinGpio = 0x00000003,
+ .EmcTimingControlWait = 0x0000001e,
+ .EmcRc = 0x0000000d,
+ .EmcRfc = 0x00000025,
+ .EmcRfcPb = 0x00000013,
+ .EmcRefctrl2 = 0x00000000,
+ .EmcRfcSlr = 0x00000000,
+ .EmcRas = 0x00000009,
+ .EmcRp = 0x00000004,
+ .EmcR2r = 0x00000000,
+ .EmcW2w = 0x00000000,
+ .EmcR2w = 0x0000000b,
+ .EmcW2r = 0x0000000d,
+ .EmcR2p = 0x00000008,
+ .EmcW2p = 0x0000000b,
+ .EmcTppd = 0x00000004,
+ .EmcCcdmw = 0x00000020,
+ .EmcRdRcd = 0x00000006,
+ .EmcWrRcd = 0x00000006,
+ .EmcRrd = 0x00000006,
+ .EmcRext = 0x00000003,
+ .EmcWext = 0x00000000,
+ .EmcWdv = 0x00000004,
+ .EmcWdvChk = 0x00000006,
+ .EmcWsv = 0x00000002,
+ .EmcWev = 0x00000000,
+ .EmcWdvMask = 0x00000004,
+ .EmcWsDuration = 0x00000008,
+ .EmcWeDuration = 0x0000000d,
+ .EmcQUse = 0x00000005,
+ .EmcQuseWidth = 0x00000006,
+ .EmcIbdly = 0x00000000,
+ .EmcObdly = 0x00000000,
+ .EmcEInput = 0x00000002,
+ .EmcEInputDuration = 0x0000000d,
+ .EmcPutermExtra = 0x00000002,
+ .EmcPutermWidth = 0x0000000b,
+ .EmcQRst = 0x00010000,
+ .EmcQSafe = 0x00000012,
+ .EmcRdv = 0x00000014,
+ .EmcRdvMask = 0x00000016,
+ .EmcRdvEarly = 0x00000012,
+ .EmcRdvEarlyMask = 0x00000014,
+ .EmcQpop = 0x0000000a,
+ .EmcRefresh = 0x00000304,
+ .EmcBurstRefreshNum = 0x00000000,
+ .EmcPreRefreshReqCnt = 0x000000c1,
+ .EmcPdEx2Wr = 0x00000008,
+ .EmcPdEx2Rd = 0x00000008,
+ .EmcPChg2Pden = 0x00000003,
+ .EmcAct2Pden = 0x00000003,
+ .EmcAr2Pden = 0x00000003,
+ .EmcRw2Pden = 0x00000012,
+ .EmcCke2Pden = 0x00000005,
+ .EmcPdex2Cke = 0x00000002,
+ .EmcPdex2Mrr = 0x0000000d,
+ .EmcTxsr = 0x00000027,
+ .EmcTxsrDll = 0x00000027,
+ .EmcTcke = 0x00000005,
+ .EmcTckesr = 0x00000005,
+ .EmcTpd = 0x00000004,
+ .EmcTfaw = 0x00000009,
+ .EmcTrpab = 0x00000005,
+ .EmcTClkStable = 0x00000003,
+ .EmcTClkStop = 0x00000009,
+ .EmcTRefBw = 0x0000031c,
+ .EmcFbioCfg5 = 0x9160a00d,
+ .EmcFbioCfg7 = 0x00003bbf,
+ .EmcFbioCfg8 = 0x0cf30000,
+ .EmcCmdMappingCmd0_0 = 0x07050203,
+ .EmcCmdMappingCmd0_1 = 0x06041b1c,
+ .EmcCmdMappingCmd0_2 = 0x05252523,
+ .EmcCmdMappingCmd1_0 = 0x1e0d0b0a,
+ .EmcCmdMappingCmd1_1 = 0x240c091d,
+ .EmcCmdMappingCmd1_2 = 0x04262608,
+ .EmcCmdMappingCmd2_0 = 0x051b0302,
+ .EmcCmdMappingCmd2_1 = 0x0604231c,
+ .EmcCmdMappingCmd2_2 = 0x09252507,
+ .EmcCmdMappingCmd3_0 = 0x0c0b0d0a,
+ .EmcCmdMappingCmd3_1 = 0x08091e1d,
+ .EmcCmdMappingCmd3_2 = 0x08262624,
+ .EmcCmdMappingByte = 0x0a070623,
+ .EmcFbioSpare = 0x00000012,
+ .EmcCfgRsv = 0xff00ff00,
+ .EmcMrs = 0x00000000,
+ .EmcEmrs = 0x00000000,
+ .EmcEmrs2 = 0x00000000,
+ .EmcEmrs3 = 0x00000000,
+ .EmcMrw1 = 0x08010004,
+ .EmcMrw2 = 0x08020000,
+ .EmcMrw3 = 0x080d0000,
+ .EmcMrw4 = 0xc0000000,
+ .EmcMrw6 = 0x08037171,
+ .EmcMrw8 = 0x080b0000,
+ .EmcMrw9 = 0x0c0e6b6b,
+ .EmcMrw10 = 0x00000000,
+ .EmcMrw12 = 0x0c0d0808,
+ .EmcMrw13 = 0x0c0d0000,
+ .EmcMrw14 = 0x08161414,
+ .EmcMrwExtra = 0x08010004,
+ .EmcWarmBootMrwExtra = 0x08110000,
+ .EmcWarmBootExtraModeRegWriteEnable = 0x00000001,
+ .EmcExtraModeRegWriteEnable = 0x00000000,
+ .EmcMrwResetCommand = 0x00000000,
+ .EmcMrwResetNInitWait = 0x00000000,
+ .EmcMrsWaitCnt = 0x00cc0015,
+ .EmcMrsWaitCnt2 = 0x0033000a,
+ .EmcCfg = 0xf3200000,
+ .EmcCfg2 = 0x00110805,
+ .EmcCfgPipe = 0x0fff0fff,
+ .EmcCfgPipeClk = 0x00000000,
+ .EmcFdpdCtrlCmdNoRamp = 0x00000001,
+ .EmcCfgUpdate = 0x70000301,
+ .EmcDbg = 0x01000c00,
+ .EmcDbgWriteMux = 0x00000001,
+ .EmcCmdQ = 0x10004408,
+ .EmcMc2EmcQ = 0x06000404,
+ .EmcDynSelfRefControl = 0x80000713,
+ .AhbArbitrationXbarCtrlMemInitDone = 0x00000001,
+ .EmcCfgDigDll = 0x002c00a0,
+ .EmcCfgDigDll_1 = 0x00003701,
+ .EmcCfgDigDllPeriod = 0x00008000,
+ .EmcDevSelect = 0x00000000,
+ .EmcSelDpdCtrl = 0x00040008,
+ .EmcFdpdCtrlDq = 0x8020221f,
+ .EmcFdpdCtrlCmd = 0x0220f40f,
+ .EmcPmacroIbVrefDq_0 = 0x28282828,
+ .EmcPmacroIbVrefDq_1 = 0x28282828,
+ .EmcPmacroIbVrefDqs_0 = 0x11111111,
+ .EmcPmacroIbVrefDqs_1 = 0x11111111,
+ .EmcPmacroIbRxrt = 0x000000be,
+ .EmcCfgPipe1 = 0x0fff0fff,
+ .EmcCfgPipe2 = 0x0fff0fff,
+ .EmcPmacroQuseDdllRank0_0 = 0x00000000,
+ .EmcPmacroQuseDdllRank0_1 = 0x00000000,
+ .EmcPmacroQuseDdllRank0_2 = 0x00000000,
+ .EmcPmacroQuseDdllRank0_3 = 0x00000000,
+ .EmcPmacroQuseDdllRank0_4 = 0x00000000,
+ .EmcPmacroQuseDdllRank0_5 = 0x00000000,
+ .EmcPmacroQuseDdllRank1_0 = 0x00000000,
+ .EmcPmacroQuseDdllRank1_1 = 0x00000000,
+ .EmcPmacroQuseDdllRank1_2 = 0x00000000,
+ .EmcPmacroQuseDdllRank1_3 = 0x00000000,
+ .EmcPmacroQuseDdllRank1_4 = 0x00000000,
+ .EmcPmacroQuseDdllRank1_5 = 0x00000000,
+ .EmcPmacroObDdllLongDqRank0_0 = 0x00000000,
+ .EmcPmacroObDdllLongDqRank0_1 = 0x00000000,
+ .EmcPmacroObDdllLongDqRank0_2 = 0x00000000,
+ .EmcPmacroObDdllLongDqRank0_3 = 0x00000000,
+ .EmcPmacroObDdllLongDqRank0_4 = 0x00000000,
+ .EmcPmacroObDdllLongDqRank0_5 = 0x00000000,
+ .EmcPmacroObDdllLongDqRank1_0 = 0x00000000,
+ .EmcPmacroObDdllLongDqRank1_1 = 0x00000000,
+ .EmcPmacroObDdllLongDqRank1_2 = 0x00000000,
+ .EmcPmacroObDdllLongDqRank1_3 = 0x00000000,
+ .EmcPmacroObDdllLongDqRank1_4 = 0x00000000,
+ .EmcPmacroObDdllLongDqRank1_5 = 0x00000000,
+ .EmcPmacroObDdllLongDqsRank0_0 = 0x00320032,
+ .EmcPmacroObDdllLongDqsRank0_1 = 0x00320032,
+ .EmcPmacroObDdllLongDqsRank0_2 = 0x00320032,
+ .EmcPmacroObDdllLongDqsRank0_3 = 0x00320032,
+ .EmcPmacroObDdllLongDqsRank0_4 = 0x00090009,
+ .EmcPmacroObDdllLongDqsRank0_5 = 0x00090009,
+ .EmcPmacroObDdllLongDqsRank1_0 = 0x00320032,
+ .EmcPmacroObDdllLongDqsRank1_1 = 0x00320032,
+ .EmcPmacroObDdllLongDqsRank1_2 = 0x00320032,
+ .EmcPmacroObDdllLongDqsRank1_3 = 0x00320032,
+ .EmcPmacroObDdllLongDqsRank1_4 = 0x00090009,
+ .EmcPmacroObDdllLongDqsRank1_5 = 0x00090009,
+ .EmcPmacroIbDdllLongDqsRank0_0 = 0x00280028,
+ .EmcPmacroIbDdllLongDqsRank0_1 = 0x00280028,
+ .EmcPmacroIbDdllLongDqsRank0_2 = 0x00280028,
+ .EmcPmacroIbDdllLongDqsRank0_3 = 0x00280028,
+ .EmcPmacroIbDdllLongDqsRank1_0 = 0x00280028,
+ .EmcPmacroIbDdllLongDqsRank1_1 = 0x00280028,
+ .EmcPmacroIbDdllLongDqsRank1_2 = 0x00280028,
+ .EmcPmacroIbDdllLongDqsRank1_3 = 0x00280028,
+ .EmcPmacroDdllLongCmd_0 = 0x00000000,
+ .EmcPmacroDdllLongCmd_1 = 0x00000000,
+ .EmcPmacroDdllLongCmd_2 = 0x00000000,
+ .EmcPmacroDdllLongCmd_3 = 0x00000000,
+ .EmcPmacroDdllLongCmd_4 = 0x00000000,
+ .EmcPmacroDdllShortCmd_0 = 0x00000000,
+ .EmcPmacroDdllShortCmd_1 = 0x00000000,
+ .EmcPmacroDdllShortCmd_2 = 0x00000000,
+ .WarmBootWait = 0x00000001,
+ .EmcOdtWrite = 0x00000000,
+ .EmcZcalInterval = 0x00064000,
+ .EmcZcalWaitCnt = 0x000900cc,
+ .EmcZcalMrwCmd = 0x0051004f,
+ .EmcMrsResetDll = 0x00000000,
+ .EmcZcalInitDev0 = 0x80000001,
+ .EmcZcalInitDev1 = 0x40000001,
+ .EmcZcalInitWait = 0x00000001,
+ .EmcZcalWarmColdBootEnables = 0x00000003,
+ .EmcMrwLpddr2ZcalWarmBoot = 0x040a00ab,
+ .EmcZqCalDdr3WarmBoot = 0x00000011,
+ .EmcZqCalLpDdr4WarmBoot = 0x00000001,
+ .EmcZcalWarmBootWait = 0x00000001,
+ .EmcMrsWarmBootEnable = 0x00000001,
+ .EmcMrsResetDllWait = 0x00000000,
+ .EmcMrsExtra = 0x00000000,
+ .EmcWarmBootMrsExtra = 0x00000000,
+ .EmcEmrsDdr2DllEnable = 0x00000000,
+ .EmcMrsDdr2DllReset = 0x00000000,
+ .EmcEmrsDdr2OcdCalib = 0x00000000,
+ .EmcDdr2Wait = 0x00000000,
+ .EmcClkenOverride = 0x00000000,
+ .EmcExtraRefreshNum = 0x00000002,
+ .EmcClkenOverrideAllWarmBoot = 0x00000000,
+ .McClkenOverrideAllWarmBoot = 0x00000000,
+ .EmcCfgDigDllPeriodWarmBoot = 0x00000003,
+ .PmcVddpSel = 0x00000001,
+ .PmcVddpSelWait = 0x00000002,
+ .PmcDdrPwr = 0x0000000f,
+ .PmcDdrCfg = 0x20220100,
+ .PmcIoDpd3Req = 0x4bafffff,
+ .PmcIoDpd3ReqWait = 0x00000001,
+ .PmcIoDpd4ReqWait = 0x00000002,
+ .PmcRegShort = 0x00000000,
+ .PmcNoIoPower = 0x00000000,
+ .PmcDdrCntrlWait = 0x00000000,
+ .PmcDdrCntrl = 0x0007ff8b,
+ .EmcAcpdControl = 0x00000000,
+ .EmcSwizzleRank0Byte0 = 0x76342501,
+ .EmcSwizzleRank0Byte1 = 0x56243701,
+ .EmcSwizzleRank0Byte2 = 0x34267510,
+ .EmcSwizzleRank0Byte3 = 0x45763210,
+ .EmcSwizzleRank1Byte0 = 0x72345601,
+ .EmcSwizzleRank1Byte1 = 0x23456701,
+ .EmcSwizzleRank1Byte2 = 0x65427310,
+ .EmcSwizzleRank1Byte3 = 0x75432610,
+ .EmcTxdsrvttgen = 0x00000000,
+ .EmcDataBrlshft0 = 0x00249249,
+ .EmcDataBrlshft1 = 0x00249249,
+ .EmcDqsBrlshft0 = 0x00000000,
+ .EmcDqsBrlshft1 = 0x00000000,
+ .EmcCmdBrlshft0 = 0x00000000,
+ .EmcCmdBrlshft1 = 0x00000000,
+ .EmcCmdBrlshft2 = 0x00000012,
+ .EmcCmdBrlshft3 = 0x00000012,
+ .EmcQuseBrlshft0 = 0x00000000,
+ .EmcQuseBrlshft1 = 0x00000000,
+ .EmcQuseBrlshft2 = 0x00000000,
+ .EmcQuseBrlshft3 = 0x00000000,
+ .EmcDllCfg0 = 0x1f13412f,
+ .EmcDllCfg1 = 0x00010014,
+ .EmcPmcScratch1 = 0x4bafffff,
+ .EmcPmcScratch2 = 0x7fffffff,
+ .EmcPmcScratch3 = 0x4005d70b,
+ .EmcPmacroPadCfgCtrl = 0x00020000,
+ .EmcPmacroVttgenCtrl0 = 0x00030808,
+ .EmcPmacroVttgenCtrl1 = 0x00015000,
+ .EmcPmacroVttgenCtrl2 = 0x00101010,
+ .EmcPmacroBrickCtrlRfu1 = 0x00001600,
+ .EmcPmacroCmdBrickCtrlFdpd = 0x00000000,
+ .EmcPmacroBrickCtrlRfu2 = 0x00000000,
+ .EmcPmacroDataBrickCtrlFdpd = 0x00000000,
+ .EmcPmacroBgBiasCtrl0 = 0x00000030,
+ .EmcPmacroDataPadRxCtrl = 0x10050037,
+ .EmcPmacroCmdPadRxCtrl = 0x00000000,
+ .EmcPmacroDataRxTermMode = 0x00000010,
+ .EmcPmacroCmdRxTermMode = 0x00003000,
+ .EmcPmacroDataPadTxCtrl = 0x02000111,
+ .EmcPmacroCommonPadTxCtrl = 0x00000008,
+ .EmcPmacroCmdPadTxCtrl = 0x0a000000,
+ .EmcCfg3 = 0x00000040,
+ .EmcPmacroTxPwrd0 = 0x10000000,
+ .EmcPmacroTxPwrd1 = 0x08000000,
+ .EmcPmacroTxPwrd2 = 0x08000000,
+ .EmcPmacroTxPwrd3 = 0x08000000,
+ .EmcPmacroTxPwrd4 = 0x00000000,
+ .EmcPmacroTxPwrd5 = 0x00000000,
+ .EmcConfigSampleDelay = 0x00000020,
+ .EmcPmacroBrickMapping0 = 0x28190081,
+ .EmcPmacroBrickMapping1 = 0x44a53293,
+ .EmcPmacroBrickMapping2 = 0x76b76a5b,
+ .EmcPmacroTxSelClkSrc0 = 0x00000000,
+ .EmcPmacroTxSelClkSrc1 = 0x00000000,
+ .EmcPmacroTxSelClkSrc2 = 0x00000000,
+ .EmcPmacroTxSelClkSrc3 = 0x00000000,
+ .EmcPmacroTxSelClkSrc4 = 0x00000000,
+ .EmcPmacroTxSelClkSrc5 = 0x00000000,
+ .EmcPmacroDdllBypass = 0xefffefff,
+ .EmcPmacroDdllPwrd0 = 0xc0c0c0c0,
+ .EmcPmacroDdllPwrd1 = 0xc0c0c0c0,
+ .EmcPmacroDdllPwrd2 = 0xdcdcdcdc,
+ .EmcPmacroCmdCtrl0 = 0x0a0a0a0a,
+ .EmcPmacroCmdCtrl1 = 0x0a0a0a0a,
+ .EmcPmacroCmdCtrl2 = 0x0a0a0a0a,
+ .McEmemAdrCfg = 0x00000001,
+ .McEmemAdrCfgDev0 = 0x000d0302,
+ .McEmemAdrCfgDev1 = 0x000d0302,
+ .McEmemAdrCfgChannelMask = 0xffff2400,
+ .McEmemAdrCfgBankMask0 = 0x6e574400,
+ .McEmemAdrCfgBankMask1 = 0x39722800,
+ .McEmemAdrCfgBankMask2 = 0x4b9c1000,
+ .McEmemCfg = 0x00000c00,
+ .McEmemArbCfg = 0x08000001,
+ .McEmemArbOutstandingReq = 0x8000004c,
+ .McEmemArbRefpbHpCtrl = 0x000a1020,
+ .McEmemArbRefpbBankCtrl = 0x80001028,
+ .McEmemArbTimingRcd = 0x00000001,
+ .McEmemArbTimingRp = 0x00000000,
+ .McEmemArbTimingRc = 0x00000003,
+ .McEmemArbTimingRas = 0x00000001,
+ .McEmemArbTimingFaw = 0x00000002,
+ .McEmemArbTimingRrd = 0x00000001,
+ .McEmemArbTimingRap2Pre = 0x00000002,
+ .McEmemArbTimingWap2Pre = 0x00000005,
+ .McEmemArbTimingR2R = 0x00000001,
+ .McEmemArbTimingW2W = 0x00000001,
+ .McEmemArbTimingR2W = 0x00000004,
+ .McEmemArbTimingW2R = 0x00000005,
+ .McEmemArbTimingRFCPB = 0x00000004,
+ .McEmemArbDaTurns = 0x02020000,
+ .McEmemArbDaCovers = 0x00030201,
+ .McEmemArbMisc0 = 0x71c30504,
+ .McEmemArbMisc1 = 0x70000f0f,
+ .McEmemArbMisc2 = 0x00000000,
+ .McEmemArbRing1Throttle = 0x001f0000,
+ .McEmemArbOverride = 0x10000000,
+ .McEmemArbOverride1 = 0x00000000,
+ .McEmemArbRsv = 0xff00ff00,
+ .McDaCfg0 = 0x00000001,
+ .McEmemArbTimingCcdmw = 0x00000008,
+ .McClkenOverride = 0x00008000,
+ .McStatControl = 0x00000000,
+ .McVideoProtectBom = 0xfff00000,
+ .McVideoProtectBomAdrHi = 0x00000000,
+ .McVideoProtectSizeMb = 0x00000000,
+ .McVideoProtectVprOverride = 0xe4bac343,
+ .McVideoProtectVprOverride1 = 0x00001ed3,
+ .McVideoProtectGpuOverride0 = 0x00000000,
+ .McVideoProtectGpuOverride1 = 0x00000000,
+ .McSecCarveoutBom = 0xfff00000,
+ .McSecCarveoutAdrHi = 0x00000000,
+ .McSecCarveoutSizeMb = 0x00000000,
+ .McVideoProtectWriteAccess = 0x00000000,
+ .McSecCarveoutProtectWriteAccess = 0x00000000,
+ .McGeneralizedCarveout1Bom = 0x00000000,
+ .McGeneralizedCarveout1BomHi = 0x00000000,
+ .McGeneralizedCarveout1Size128kb = 0x00000008,
+ .McGeneralizedCarveout1Access0 = 0x00000000,
+ .McGeneralizedCarveout1Access1 = 0x00000000,
+ .McGeneralizedCarveout1Access2 = 0x00300000,
+ .McGeneralizedCarveout1Access3 = 0x03000000,
+ .McGeneralizedCarveout1Access4 = 0x00000000,
+ .McGeneralizedCarveout1ForceInternalAccess0 = 0x00000000,
+ .McGeneralizedCarveout1ForceInternalAccess1 = 0x00000000,
+ .McGeneralizedCarveout1ForceInternalAccess2 = 0x00000000,
+ .McGeneralizedCarveout1ForceInternalAccess3 = 0x00000000,
+ .McGeneralizedCarveout1ForceInternalAccess4 = 0x00000000,
+ .McGeneralizedCarveout1Cfg0 = 0x04000c75,
+ .McGeneralizedCarveout2Bom = 0x00000000,
+ .McGeneralizedCarveout2BomHi = 0x00000000,
+ .McGeneralizedCarveout2Size128kb = 0x00000002,
+ .McGeneralizedCarveout2Access0 = 0x00000000,
+ .McGeneralizedCarveout2Access1 = 0x00000000,
+ .McGeneralizedCarveout2Access2 = 0x03000000,
+ .McGeneralizedCarveout2Access3 = 0x00000000,
+ .McGeneralizedCarveout2Access4 = 0x00000300,
+ .McGeneralizedCarveout2ForceInternalAccess0 = 0x00000000,
+ .McGeneralizedCarveout2ForceInternalAccess1 = 0x00000000,
+ .McGeneralizedCarveout2ForceInternalAccess2 = 0x00000000,
+ .McGeneralizedCarveout2ForceInternalAccess3 = 0x00000000,
+ .McGeneralizedCarveout2ForceInternalAccess4 = 0x00000000,
+ .McGeneralizedCarveout2Cfg0 = 0x0440167c,
+ .McGeneralizedCarveout3Bom = 0x00000000,
+ .McGeneralizedCarveout3BomHi = 0x00000000,
+ .McGeneralizedCarveout3Size128kb = 0x00000000,
+ .McGeneralizedCarveout3Access0 = 0x00000000,
+ .McGeneralizedCarveout3Access1 = 0x00000000,
+ .McGeneralizedCarveout3Access2 = 0x03000000,
+ .McGeneralizedCarveout3Access3 = 0x00000000,
+ .McGeneralizedCarveout3Access4 = 0x00000300,
+ .McGeneralizedCarveout3ForceInternalAccess0 = 0x00000000,
+ .McGeneralizedCarveout3ForceInternalAccess1 = 0x00000000,
+ .McGeneralizedCarveout3ForceInternalAccess2 = 0x00000000,
+ .McGeneralizedCarveout3ForceInternalAccess3 = 0x00000000,
+ .McGeneralizedCarveout3ForceInternalAccess4 = 0x00000000,
+ .McGeneralizedCarveout3Cfg0 = 0x04401e7c,
+ .McGeneralizedCarveout4Bom = 0x00000000,
+ .McGeneralizedCarveout4BomHi = 0x00000000,
+ .McGeneralizedCarveout4Size128kb = 0x00000008,
+ .McGeneralizedCarveout4Access0 = 0x00000000,
+ .McGeneralizedCarveout4Access1 = 0x00000000,
+ .McGeneralizedCarveout4Access2 = 0x00300000,
+ .McGeneralizedCarveout4Access3 = 0x00000000,
+ .McGeneralizedCarveout4Access4 = 0x00000000,
+ .McGeneralizedCarveout4ForceInternalAccess0 = 0x00000000,
+ .McGeneralizedCarveout4ForceInternalAccess1 = 0x00000000,
+ .McGeneralizedCarveout4ForceInternalAccess2 = 0x00000000,
+ .McGeneralizedCarveout4ForceInternalAccess3 = 0x00000000,
+ .McGeneralizedCarveout4ForceInternalAccess4 = 0x00000000,
+ .McGeneralizedCarveout4Cfg0 = 0x04002442,
+ .McGeneralizedCarveout5Bom = 0x00000000,
+ .McGeneralizedCarveout5BomHi = 0x00000000,
+ .McGeneralizedCarveout5Size128kb = 0x00000008,
+ .McGeneralizedCarveout5Access0 = 0x00000000,
+ .McGeneralizedCarveout5Access1 = 0x00000000,
+ .McGeneralizedCarveout5Access2 = 0x00300000,
+ .McGeneralizedCarveout5Access3 = 0x00000000,
+ .McGeneralizedCarveout5Access4 = 0x00000000,
+ .McGeneralizedCarveout5ForceInternalAccess0 = 0x00000000,
+ .McGeneralizedCarveout5ForceInternalAccess1 = 0x00000000,
+ .McGeneralizedCarveout5ForceInternalAccess2 = 0x00000000,
+ .McGeneralizedCarveout5ForceInternalAccess3 = 0x00000000,
+ .McGeneralizedCarveout5ForceInternalAccess4 = 0x00000000,
+ .McGeneralizedCarveout5Cfg0 = 0x04002c42,
+ .EmcCaTrainingEnable = 0x00000000,
+ .SwizzleRankByteEncode = 0x0000002e,
+ .BootRomPatchControl = 0x00000000,
+ .BootRomPatchData = 0x00000000,
+ .McMtsCarveoutBom = 0xfff00000,
+ .McMtsCarveoutAdrHi = 0x00000000,
+ .McMtsCarveoutSizeMb = 0x00000000,
+ .McMtsCarveoutRegCtrl = 0x00000000,
+},
diff --git a/src/mainboard/google/smaug/bct/sdram-samsung-4GB-204.inc b/src/mainboard/google/smaug/bct/sdram-samsung-4GB-204.inc
new file mode 100644
index 0000000000..2e7142e011
--- /dev/null
+++ b/src/mainboard/google/smaug/bct/sdram-samsung-4GB-204.inc
@@ -0,0 +1,476 @@
+{ /* generated from T210_A44_R1_LP4_DSC_4G_204Mhz.cfg; do not edit. */
+ .MemoryType = NvBootMemoryType_LpDdr4,
+ .PllMInputDivider = 0x00000001,
+ .PllMFeedbackDivider = 0x00000022,
+ .PllMStableTime = 0x0000012c,
+ .PllMSetupControl = 0x00000000,
+ .PllMPostDivider = 0x00000000,
+ .PllMKCP = 0x00000000,
+ .PllMKVCO = 0x00000000,
+ .EmcBctSpare0 = 0x00000000,
+ .EmcBctSpare1 = 0x00000000,
+ .EmcBctSpare2 = 0x00000000,
+ .EmcBctSpare3 = 0x00000000,
+ .EmcBctSpare4 = 0x7001bc3c,
+ .EmcBctSpare5 = 0x00000032,
+ .EmcBctSpare6 = 0x7001b404,
+ .EmcBctSpare7 = 0x76342501,
+ .EmcBctSpare8 = 0x7000e6c8,
+ .EmcBctSpare9 = 0x00000000,
+ .EmcBctSpare10 = 0x00000000,
+ .EmcBctSpare11 = 0x00000000,
+ .EmcBctSpare12 = 0x7001bc3c,
+ .EmcBctSpare13 = 0x00000033,
+ .EmcClockSource = 0x40188002,
+ .EmcClockSourceDll = 0x40000000,
+ .ClkRstControllerPllmMisc2Override = 0x00000000,
+ .ClkRstControllerPllmMisc2OverrideEnable = 0x00000000,
+ .ClearClk2Mc1 = 0x00000000,
+ .EmcAutoCalInterval = 0x001fffff,
+ .EmcAutoCalConfig = 0xa01a51d8,
+ .EmcAutoCalConfig2 = 0x05500000,
+ .EmcAutoCalConfig3 = 0x00770000,
+ .EmcAutoCalConfig4 = 0x00770000,
+ .EmcAutoCalConfig5 = 0x00770000,
+ .EmcAutoCalConfig6 = 0x00770000,
+ .EmcAutoCalConfig7 = 0x00770000,
+ .EmcAutoCalConfig8 = 0x00770000,
+ .EmcAutoCalVrefSel0 = 0xb3afa6a6,
+ .EmcAutoCalVrefSel1 = 0x00009e3c,
+ .EmcAutoCalChannel = 0xc1e00303,
+ .EmcPmacroAutocalCfg0 = 0x04040404,
+ .EmcPmacroAutocalCfg1 = 0x04040404,
+ .EmcPmacroAutocalCfg2 = 0x00000000,
+ .EmcPmacroRxTerm = 0x1f1f1f1f,
+ .EmcPmacroDqTxDrv = 0x1f1f1f1f,
+ .EmcPmacroCaTxDrv = 0x1f1f1f1f,
+ .EmcPmacroCmdTxDrv = 0x00001f1f,
+ .EmcPmacroAutocalCfgCommon = 0x00000804,
+ .EmcPmacroZctrl = 0x00000550,
+ .EmcAutoCalWait = 0x000001a1,
+ .EmcXm2CompPadCtrl = 0x00000032,
+ .EmcXm2CompPadCtrl2 = 0x00000000,
+ .EmcXm2CompPadCtrl3 = 0x00000000,
+ .EmcAdrCfg = 0x00000001,
+ .EmcPinProgramWait = 0x00000002,
+ .EmcPinExtraWait = 0x00000000,
+ .EmcPinGpioEn = 0x00000003,
+ .EmcPinGpio = 0x00000003,
+ .EmcTimingControlWait = 0x0000001e,
+ .EmcRc = 0x0000000d,
+ .EmcRfc = 0x00000025,
+ .EmcRfcPb = 0x00000013,
+ .EmcRefctrl2 = 0x00000000,
+ .EmcRfcSlr = 0x00000000,
+ .EmcRas = 0x00000009,
+ .EmcRp = 0x00000004,
+ .EmcR2r = 0x00000000,
+ .EmcW2w = 0x00000000,
+ .EmcR2w = 0x0000000b,
+ .EmcW2r = 0x0000000d,
+ .EmcR2p = 0x00000008,
+ .EmcW2p = 0x0000000b,
+ .EmcTppd = 0x00000004,
+ .EmcCcdmw = 0x00000020,
+ .EmcRdRcd = 0x00000006,
+ .EmcWrRcd = 0x00000006,
+ .EmcRrd = 0x00000006,
+ .EmcRext = 0x00000003,
+ .EmcWext = 0x00000000,
+ .EmcWdv = 0x00000004,
+ .EmcWdvChk = 0x00000006,
+ .EmcWsv = 0x00000002,
+ .EmcWev = 0x00000000,
+ .EmcWdvMask = 0x00000004,
+ .EmcWsDuration = 0x00000008,
+ .EmcWeDuration = 0x0000000d,
+ .EmcQUse = 0x00000005,
+ .EmcQuseWidth = 0x00000006,
+ .EmcIbdly = 0x00000000,
+ .EmcObdly = 0x00000000,
+ .EmcEInput = 0x00000002,
+ .EmcEInputDuration = 0x0000000d,
+ .EmcPutermExtra = 0x00000002,
+ .EmcPutermWidth = 0x0000000b,
+ .EmcQRst = 0x00010000,
+ .EmcQSafe = 0x00000012,
+ .EmcRdv = 0x00000014,
+ .EmcRdvMask = 0x00000016,
+ .EmcRdvEarly = 0x00000012,
+ .EmcRdvEarlyMask = 0x00000014,
+ .EmcQpop = 0x0000000a,
+ .EmcRefresh = 0x00000304,
+ .EmcBurstRefreshNum = 0x00000000,
+ .EmcPreRefreshReqCnt = 0x000000c1,
+ .EmcPdEx2Wr = 0x00000008,
+ .EmcPdEx2Rd = 0x00000008,
+ .EmcPChg2Pden = 0x00000003,
+ .EmcAct2Pden = 0x00000003,
+ .EmcAr2Pden = 0x00000003,
+ .EmcRw2Pden = 0x00000012,
+ .EmcCke2Pden = 0x00000005,
+ .EmcPdex2Cke = 0x00000002,
+ .EmcPdex2Mrr = 0x0000000d,
+ .EmcTxsr = 0x00000027,
+ .EmcTxsrDll = 0x00000027,
+ .EmcTcke = 0x00000005,
+ .EmcTckesr = 0x00000005,
+ .EmcTpd = 0x00000004,
+ .EmcTfaw = 0x00000009,
+ .EmcTrpab = 0x00000005,
+ .EmcTClkStable = 0x00000003,
+ .EmcTClkStop = 0x00000009,
+ .EmcTRefBw = 0x0000031c,
+ .EmcFbioCfg5 = 0x9160a00d,
+ .EmcFbioCfg7 = 0x00003bbf,
+ .EmcFbioCfg8 = 0x0cf30000,
+ .EmcCmdMappingCmd0_0 = 0x07050203,
+ .EmcCmdMappingCmd0_1 = 0x06041b1c,
+ .EmcCmdMappingCmd0_2 = 0x05252523,
+ .EmcCmdMappingCmd1_0 = 0x1e0d0b0a,
+ .EmcCmdMappingCmd1_1 = 0x240c091d,
+ .EmcCmdMappingCmd1_2 = 0x04262608,
+ .EmcCmdMappingCmd2_0 = 0x051b0302,
+ .EmcCmdMappingCmd2_1 = 0x0604231c,
+ .EmcCmdMappingCmd2_2 = 0x09252507,
+ .EmcCmdMappingCmd3_0 = 0x0c0b0d0a,
+ .EmcCmdMappingCmd3_1 = 0x08091e1d,
+ .EmcCmdMappingCmd3_2 = 0x08262624,
+ .EmcCmdMappingByte = 0x0a070623,
+ .EmcFbioSpare = 0x00000012,
+ .EmcCfgRsv = 0xff00ff00,
+ .EmcMrs = 0x00000000,
+ .EmcEmrs = 0x00000000,
+ .EmcEmrs2 = 0x00000000,
+ .EmcEmrs3 = 0x00000000,
+ .EmcMrw1 = 0x08010004,
+ .EmcMrw2 = 0x08020000,
+ .EmcMrw3 = 0x080d0000,
+ .EmcMrw4 = 0xc0000000,
+ .EmcMrw6 = 0x08037171,
+ .EmcMrw8 = 0x080b0000,
+ .EmcMrw9 = 0x0c0e6b6b,
+ .EmcMrw10 = 0x00000000,
+ .EmcMrw12 = 0x0c0d0808,
+ .EmcMrw13 = 0x0c0d0000,
+ .EmcMrw14 = 0x08161414,
+ .EmcMrwExtra = 0x08010004,
+ .EmcWarmBootMrwExtra = 0x08110000,
+ .EmcWarmBootExtraModeRegWriteEnable = 0x00000001,
+ .EmcExtraModeRegWriteEnable = 0x00000000,
+ .EmcMrwResetCommand = 0x00000000,
+ .EmcMrwResetNInitWait = 0x00000000,
+ .EmcMrsWaitCnt = 0x00cc0015,
+ .EmcMrsWaitCnt2 = 0x0033000a,
+ .EmcCfg = 0xf3200000,
+ .EmcCfg2 = 0x00110805,
+ .EmcCfgPipe = 0x0fff0fff,
+ .EmcCfgPipeClk = 0x00000000,
+ .EmcFdpdCtrlCmdNoRamp = 0x00000001,
+ .EmcCfgUpdate = 0x70000301,
+ .EmcDbg = 0x01000c00,
+ .EmcDbgWriteMux = 0x00000001,
+ .EmcCmdQ = 0x10004408,
+ .EmcMc2EmcQ = 0x06000404,
+ .EmcDynSelfRefControl = 0x80000713,
+ .AhbArbitrationXbarCtrlMemInitDone = 0x00000001,
+ .EmcCfgDigDll = 0x002c00a0,
+ .EmcCfgDigDll_1 = 0x00003701,
+ .EmcCfgDigDllPeriod = 0x00008000,
+ .EmcDevSelect = 0x00000000,
+ .EmcSelDpdCtrl = 0x00040008,
+ .EmcFdpdCtrlDq = 0x8020221f,
+ .EmcFdpdCtrlCmd = 0x0220f40f,
+ .EmcPmacroIbVrefDq_0 = 0x28282828,
+ .EmcPmacroIbVrefDq_1 = 0x28282828,
+ .EmcPmacroIbVrefDqs_0 = 0x11111111,
+ .EmcPmacroIbVrefDqs_1 = 0x11111111,
+ .EmcPmacroIbRxrt = 0x000000be,
+ .EmcCfgPipe1 = 0x0fff0fff,
+ .EmcCfgPipe2 = 0x0fff0fff,
+ .EmcPmacroQuseDdllRank0_0 = 0x00000000,
+ .EmcPmacroQuseDdllRank0_1 = 0x00000000,
+ .EmcPmacroQuseDdllRank0_2 = 0x00000000,
+ .EmcPmacroQuseDdllRank0_3 = 0x00000000,
+ .EmcPmacroQuseDdllRank0_4 = 0x00000000,
+ .EmcPmacroQuseDdllRank0_5 = 0x00000000,
+ .EmcPmacroQuseDdllRank1_0 = 0x00000000,
+ .EmcPmacroQuseDdllRank1_1 = 0x00000000,
+ .EmcPmacroQuseDdllRank1_2 = 0x00000000,
+ .EmcPmacroQuseDdllRank1_3 = 0x00000000,
+ .EmcPmacroQuseDdllRank1_4 = 0x00000000,
+ .EmcPmacroQuseDdllRank1_5 = 0x00000000,
+ .EmcPmacroObDdllLongDqRank0_0 = 0x00000000,
+ .EmcPmacroObDdllLongDqRank0_1 = 0x00000000,
+ .EmcPmacroObDdllLongDqRank0_2 = 0x00000000,
+ .EmcPmacroObDdllLongDqRank0_3 = 0x00000000,
+ .EmcPmacroObDdllLongDqRank0_4 = 0x00000000,
+ .EmcPmacroObDdllLongDqRank0_5 = 0x00000000,
+ .EmcPmacroObDdllLongDqRank1_0 = 0x00000000,
+ .EmcPmacroObDdllLongDqRank1_1 = 0x00000000,
+ .EmcPmacroObDdllLongDqRank1_2 = 0x00000000,
+ .EmcPmacroObDdllLongDqRank1_3 = 0x00000000,
+ .EmcPmacroObDdllLongDqRank1_4 = 0x00000000,
+ .EmcPmacroObDdllLongDqRank1_5 = 0x00000000,
+ .EmcPmacroObDdllLongDqsRank0_0 = 0x00320032,
+ .EmcPmacroObDdllLongDqsRank0_1 = 0x00320032,
+ .EmcPmacroObDdllLongDqsRank0_2 = 0x00320032,
+ .EmcPmacroObDdllLongDqsRank0_3 = 0x00320032,
+ .EmcPmacroObDdllLongDqsRank0_4 = 0x00090009,
+ .EmcPmacroObDdllLongDqsRank0_5 = 0x00090009,
+ .EmcPmacroObDdllLongDqsRank1_0 = 0x00320032,
+ .EmcPmacroObDdllLongDqsRank1_1 = 0x00320032,
+ .EmcPmacroObDdllLongDqsRank1_2 = 0x00320032,
+ .EmcPmacroObDdllLongDqsRank1_3 = 0x00320032,
+ .EmcPmacroObDdllLongDqsRank1_4 = 0x00090009,
+ .EmcPmacroObDdllLongDqsRank1_5 = 0x00090009,
+ .EmcPmacroIbDdllLongDqsRank0_0 = 0x00280028,
+ .EmcPmacroIbDdllLongDqsRank0_1 = 0x00280028,
+ .EmcPmacroIbDdllLongDqsRank0_2 = 0x00280028,
+ .EmcPmacroIbDdllLongDqsRank0_3 = 0x00280028,
+ .EmcPmacroIbDdllLongDqsRank1_0 = 0x00280028,
+ .EmcPmacroIbDdllLongDqsRank1_1 = 0x00280028,
+ .EmcPmacroIbDdllLongDqsRank1_2 = 0x00280028,
+ .EmcPmacroIbDdllLongDqsRank1_3 = 0x00280028,
+ .EmcPmacroDdllLongCmd_0 = 0x00000000,
+ .EmcPmacroDdllLongCmd_1 = 0x00000000,
+ .EmcPmacroDdllLongCmd_2 = 0x00000000,
+ .EmcPmacroDdllLongCmd_3 = 0x00000000,
+ .EmcPmacroDdllLongCmd_4 = 0x00000000,
+ .EmcPmacroDdllShortCmd_0 = 0x00000000,
+ .EmcPmacroDdllShortCmd_1 = 0x00000000,
+ .EmcPmacroDdllShortCmd_2 = 0x00000000,
+ .WarmBootWait = 0x00000001,
+ .EmcOdtWrite = 0x00000000,
+ .EmcZcalInterval = 0x00064000,
+ .EmcZcalWaitCnt = 0x000900cc,
+ .EmcZcalMrwCmd = 0x0051004f,
+ .EmcMrsResetDll = 0x00000000,
+ .EmcZcalInitDev0 = 0x80000001,
+ .EmcZcalInitDev1 = 0x40000001,
+ .EmcZcalInitWait = 0x00000001,
+ .EmcZcalWarmColdBootEnables = 0x00000003,
+ .EmcMrwLpddr2ZcalWarmBoot = 0x040a00ab,
+ .EmcZqCalDdr3WarmBoot = 0x00000011,
+ .EmcZqCalLpDdr4WarmBoot = 0x00000001,
+ .EmcZcalWarmBootWait = 0x00000001,
+ .EmcMrsWarmBootEnable = 0x00000001,
+ .EmcMrsResetDllWait = 0x00000000,
+ .EmcMrsExtra = 0x00000000,
+ .EmcWarmBootMrsExtra = 0x00000000,
+ .EmcEmrsDdr2DllEnable = 0x00000000,
+ .EmcMrsDdr2DllReset = 0x00000000,
+ .EmcEmrsDdr2OcdCalib = 0x00000000,
+ .EmcDdr2Wait = 0x00000000,
+ .EmcClkenOverride = 0x00000000,
+ .EmcExtraRefreshNum = 0x00000002,
+ .EmcClkenOverrideAllWarmBoot = 0x00000000,
+ .McClkenOverrideAllWarmBoot = 0x00000000,
+ .EmcCfgDigDllPeriodWarmBoot = 0x00000003,
+ .PmcVddpSel = 0x00000001,
+ .PmcVddpSelWait = 0x00000002,
+ .PmcDdrPwr = 0x0000000f,
+ .PmcDdrCfg = 0x20220100,
+ .PmcIoDpd3Req = 0x4bafffff,
+ .PmcIoDpd3ReqWait = 0x00000001,
+ .PmcIoDpd4ReqWait = 0x00000002,
+ .PmcRegShort = 0x00000000,
+ .PmcNoIoPower = 0x00000000,
+ .PmcDdrCntrlWait = 0x00000000,
+ .PmcDdrCntrl = 0x0007ff8b,
+ .EmcAcpdControl = 0x00000000,
+ .EmcSwizzleRank0Byte0 = 0x76342501,
+ .EmcSwizzleRank0Byte1 = 0x56243701,
+ .EmcSwizzleRank0Byte2 = 0x34267510,
+ .EmcSwizzleRank0Byte3 = 0x45763210,
+ .EmcSwizzleRank1Byte0 = 0x72345601,
+ .EmcSwizzleRank1Byte1 = 0x23456701,
+ .EmcSwizzleRank1Byte2 = 0x65427310,
+ .EmcSwizzleRank1Byte3 = 0x75432610,
+ .EmcTxdsrvttgen = 0x00000000,
+ .EmcDataBrlshft0 = 0x00249249,
+ .EmcDataBrlshft1 = 0x00249249,
+ .EmcDqsBrlshft0 = 0x00000000,
+ .EmcDqsBrlshft1 = 0x00000000,
+ .EmcCmdBrlshft0 = 0x00000000,
+ .EmcCmdBrlshft1 = 0x00000000,
+ .EmcCmdBrlshft2 = 0x00000012,
+ .EmcCmdBrlshft3 = 0x00000012,
+ .EmcQuseBrlshft0 = 0x00000000,
+ .EmcQuseBrlshft1 = 0x00000000,
+ .EmcQuseBrlshft2 = 0x00000000,
+ .EmcQuseBrlshft3 = 0x00000000,
+ .EmcDllCfg0 = 0x1f13412f,
+ .EmcDllCfg1 = 0x00010014,
+ .EmcPmcScratch1 = 0x4bafffff,
+ .EmcPmcScratch2 = 0x7fffffff,
+ .EmcPmcScratch3 = 0x4005d70b,
+ .EmcPmacroPadCfgCtrl = 0x00020000,
+ .EmcPmacroVttgenCtrl0 = 0x00030808,
+ .EmcPmacroVttgenCtrl1 = 0x00015000,
+ .EmcPmacroVttgenCtrl2 = 0x00101010,
+ .EmcPmacroBrickCtrlRfu1 = 0x00001600,
+ .EmcPmacroCmdBrickCtrlFdpd = 0x00000000,
+ .EmcPmacroBrickCtrlRfu2 = 0x00000000,
+ .EmcPmacroDataBrickCtrlFdpd = 0x00000000,
+ .EmcPmacroBgBiasCtrl0 = 0x00000030,
+ .EmcPmacroDataPadRxCtrl = 0x10050037,
+ .EmcPmacroCmdPadRxCtrl = 0x00000000,
+ .EmcPmacroDataRxTermMode = 0x00000010,
+ .EmcPmacroCmdRxTermMode = 0x00003000,
+ .EmcPmacroDataPadTxCtrl = 0x02000111,
+ .EmcPmacroCommonPadTxCtrl = 0x00000008,
+ .EmcPmacroCmdPadTxCtrl = 0x0a000000,
+ .EmcCfg3 = 0x00000040,
+ .EmcPmacroTxPwrd0 = 0x10000000,
+ .EmcPmacroTxPwrd1 = 0x08000000,
+ .EmcPmacroTxPwrd2 = 0x08000000,
+ .EmcPmacroTxPwrd3 = 0x08000000,
+ .EmcPmacroTxPwrd4 = 0x00000000,
+ .EmcPmacroTxPwrd5 = 0x00000000,
+ .EmcConfigSampleDelay = 0x00000020,
+ .EmcPmacroBrickMapping0 = 0x28190081,
+ .EmcPmacroBrickMapping1 = 0x44a53293,
+ .EmcPmacroBrickMapping2 = 0x76b76a5b,
+ .EmcPmacroTxSelClkSrc0 = 0x00000000,
+ .EmcPmacroTxSelClkSrc1 = 0x00000000,
+ .EmcPmacroTxSelClkSrc2 = 0x00000000,
+ .EmcPmacroTxSelClkSrc3 = 0x00000000,
+ .EmcPmacroTxSelClkSrc4 = 0x00000000,
+ .EmcPmacroTxSelClkSrc5 = 0x00000000,
+ .EmcPmacroDdllBypass = 0xefffefff,
+ .EmcPmacroDdllPwrd0 = 0xc0c0c0c0,
+ .EmcPmacroDdllPwrd1 = 0xc0c0c0c0,
+ .EmcPmacroDdllPwrd2 = 0xdcdcdcdc,
+ .EmcPmacroCmdCtrl0 = 0x0a0a0a0a,
+ .EmcPmacroCmdCtrl1 = 0x0a0a0a0a,
+ .EmcPmacroCmdCtrl2 = 0x0a0a0a0a,
+ .McEmemAdrCfg = 0x00000001,
+ .McEmemAdrCfgDev0 = 0x00070302,
+ .McEmemAdrCfgDev1 = 0x00070302,
+ .McEmemAdrCfgChannelMask = 0xffff2400,
+ .McEmemAdrCfgBankMask0 = 0x6e574400,
+ .McEmemAdrCfgBankMask1 = 0x39722800,
+ .McEmemAdrCfgBankMask2 = 0x4b9c1000,
+ .McEmemCfg = 0x00001000,
+ .McEmemArbCfg = 0x08000001,
+ .McEmemArbOutstandingReq = 0x8000004c,
+ .McEmemArbRefpbHpCtrl = 0x000a1020,
+ .McEmemArbRefpbBankCtrl = 0x80001028,
+ .McEmemArbTimingRcd = 0x00000001,
+ .McEmemArbTimingRp = 0x00000000,
+ .McEmemArbTimingRc = 0x00000003,
+ .McEmemArbTimingRas = 0x00000001,
+ .McEmemArbTimingFaw = 0x00000002,
+ .McEmemArbTimingRrd = 0x00000001,
+ .McEmemArbTimingRap2Pre = 0x00000002,
+ .McEmemArbTimingWap2Pre = 0x00000005,
+ .McEmemArbTimingR2R = 0x00000001,
+ .McEmemArbTimingW2W = 0x00000001,
+ .McEmemArbTimingR2W = 0x00000004,
+ .McEmemArbTimingW2R = 0x00000005,
+ .McEmemArbTimingRFCPB = 0x00000004,
+ .McEmemArbDaTurns = 0x02020000,
+ .McEmemArbDaCovers = 0x00030201,
+ .McEmemArbMisc0 = 0x71c30504,
+ .McEmemArbMisc1 = 0x70000f0f,
+ .McEmemArbMisc2 = 0x00000000,
+ .McEmemArbRing1Throttle = 0x001f0000,
+ .McEmemArbOverride = 0x10000000,
+ .McEmemArbOverride1 = 0x00000000,
+ .McEmemArbRsv = 0xff00ff00,
+ .McDaCfg0 = 0x00000001,
+ .McEmemArbTimingCcdmw = 0x00000008,
+ .McClkenOverride = 0x00008000,
+ .McStatControl = 0x00000000,
+ .McVideoProtectBom = 0xfff00000,
+ .McVideoProtectBomAdrHi = 0x00000000,
+ .McVideoProtectSizeMb = 0x00000000,
+ .McVideoProtectVprOverride = 0xe4bac343,
+ .McVideoProtectVprOverride1 = 0x00001ed3,
+ .McVideoProtectGpuOverride0 = 0x00000000,
+ .McVideoProtectGpuOverride1 = 0x00000000,
+ .McSecCarveoutBom = 0xfff00000,
+ .McSecCarveoutAdrHi = 0x00000000,
+ .McSecCarveoutSizeMb = 0x00000000,
+ .McVideoProtectWriteAccess = 0x00000000,
+ .McSecCarveoutProtectWriteAccess = 0x00000000,
+ .McGeneralizedCarveout1Bom = 0x00000000,
+ .McGeneralizedCarveout1BomHi = 0x00000000,
+ .McGeneralizedCarveout1Size128kb = 0x00000008,
+ .McGeneralizedCarveout1Access0 = 0x00000000,
+ .McGeneralizedCarveout1Access1 = 0x00000000,
+ .McGeneralizedCarveout1Access2 = 0x00300000,
+ .McGeneralizedCarveout1Access3 = 0x03000000,
+ .McGeneralizedCarveout1Access4 = 0x00000000,
+ .McGeneralizedCarveout1ForceInternalAccess0 = 0x00000000,
+ .McGeneralizedCarveout1ForceInternalAccess1 = 0x00000000,
+ .McGeneralizedCarveout1ForceInternalAccess2 = 0x00000000,
+ .McGeneralizedCarveout1ForceInternalAccess3 = 0x00000000,
+ .McGeneralizedCarveout1ForceInternalAccess4 = 0x00000000,
+ .McGeneralizedCarveout1Cfg0 = 0x04000c75,
+ .McGeneralizedCarveout2Bom = 0x00000000,
+ .McGeneralizedCarveout2BomHi = 0x00000000,
+ .McGeneralizedCarveout2Size128kb = 0x00000002,
+ .McGeneralizedCarveout2Access0 = 0x00000000,
+ .McGeneralizedCarveout2Access1 = 0x00000000,
+ .McGeneralizedCarveout2Access2 = 0x03000000,
+ .McGeneralizedCarveout2Access3 = 0x00000000,
+ .McGeneralizedCarveout2Access4 = 0x00000300,
+ .McGeneralizedCarveout2ForceInternalAccess0 = 0x00000000,
+ .McGeneralizedCarveout2ForceInternalAccess1 = 0x00000000,
+ .McGeneralizedCarveout2ForceInternalAccess2 = 0x00000000,
+ .McGeneralizedCarveout2ForceInternalAccess3 = 0x00000000,
+ .McGeneralizedCarveout2ForceInternalAccess4 = 0x00000000,
+ .McGeneralizedCarveout2Cfg0 = 0x0440167c,
+ .McGeneralizedCarveout3Bom = 0x00000000,
+ .McGeneralizedCarveout3BomHi = 0x00000000,
+ .McGeneralizedCarveout3Size128kb = 0x00000000,
+ .McGeneralizedCarveout3Access0 = 0x00000000,
+ .McGeneralizedCarveout3Access1 = 0x00000000,
+ .McGeneralizedCarveout3Access2 = 0x03000000,
+ .McGeneralizedCarveout3Access3 = 0x00000000,
+ .McGeneralizedCarveout3Access4 = 0x00000300,
+ .McGeneralizedCarveout3ForceInternalAccess0 = 0x00000000,
+ .McGeneralizedCarveout3ForceInternalAccess1 = 0x00000000,
+ .McGeneralizedCarveout3ForceInternalAccess2 = 0x00000000,
+ .McGeneralizedCarveout3ForceInternalAccess3 = 0x00000000,
+ .McGeneralizedCarveout3ForceInternalAccess4 = 0x00000000,
+ .McGeneralizedCarveout3Cfg0 = 0x04401e7c,
+ .McGeneralizedCarveout4Bom = 0x00000000,
+ .McGeneralizedCarveout4BomHi = 0x00000000,
+ .McGeneralizedCarveout4Size128kb = 0x00000008,
+ .McGeneralizedCarveout4Access0 = 0x00000000,
+ .McGeneralizedCarveout4Access1 = 0x00000000,
+ .McGeneralizedCarveout4Access2 = 0x00300000,
+ .McGeneralizedCarveout4Access3 = 0x00000000,
+ .McGeneralizedCarveout4Access4 = 0x00000000,
+ .McGeneralizedCarveout4ForceInternalAccess0 = 0x00000000,
+ .McGeneralizedCarveout4ForceInternalAccess1 = 0x00000000,
+ .McGeneralizedCarveout4ForceInternalAccess2 = 0x00000000,
+ .McGeneralizedCarveout4ForceInternalAccess3 = 0x00000000,
+ .McGeneralizedCarveout4ForceInternalAccess4 = 0x00000000,
+ .McGeneralizedCarveout4Cfg0 = 0x04002442,
+ .McGeneralizedCarveout5Bom = 0x00000000,
+ .McGeneralizedCarveout5BomHi = 0x00000000,
+ .McGeneralizedCarveout5Size128kb = 0x00000008,
+ .McGeneralizedCarveout5Access0 = 0x00000000,
+ .McGeneralizedCarveout5Access1 = 0x00000000,
+ .McGeneralizedCarveout5Access2 = 0x00300000,
+ .McGeneralizedCarveout5Access3 = 0x00000000,
+ .McGeneralizedCarveout5Access4 = 0x00000000,
+ .McGeneralizedCarveout5ForceInternalAccess0 = 0x00000000,
+ .McGeneralizedCarveout5ForceInternalAccess1 = 0x00000000,
+ .McGeneralizedCarveout5ForceInternalAccess2 = 0x00000000,
+ .McGeneralizedCarveout5ForceInternalAccess3 = 0x00000000,
+ .McGeneralizedCarveout5ForceInternalAccess4 = 0x00000000,
+ .McGeneralizedCarveout5Cfg0 = 0x04002c42,
+ .EmcCaTrainingEnable = 0x00000000,
+ .SwizzleRankByteEncode = 0x0000002e,
+ .BootRomPatchControl = 0x00000000,
+ .BootRomPatchData = 0x00000000,
+ .McMtsCarveoutBom = 0xfff00000,
+ .McMtsCarveoutAdrHi = 0x00000000,
+ .McMtsCarveoutSizeMb = 0x00000000,
+ .McMtsCarveoutRegCtrl = 0x00000000,
+},
diff --git a/src/mainboard/google/smaug/bct/sdram-unused.inc b/src/mainboard/google/smaug/bct/sdram-unused.inc
new file mode 100644
index 0000000000..bef63dcecc
--- /dev/null
+++ b/src/mainboard/google/smaug/bct/sdram-unused.inc
@@ -0,0 +1,4 @@
+{ /* dummy. */
+ .MemoryType = NvBootMemoryType_Unused,
+ 0,
+},
diff --git a/src/mainboard/google/smaug/bct/spi.cfg b/src/mainboard/google/smaug/bct/spi.cfg
new file mode 100644
index 0000000000..63e2750efa
--- /dev/null
+++ b/src/mainboard/google/smaug/bct/spi.cfg
@@ -0,0 +1,16 @@
+# Copyright 2015 Google Inc. All rights reserved.
+# Distributed under the terms of the GNU General Public License v2
+
+Version = 0x00210001;
+BlockSize = 32768;
+PageSize = 2048;
+PartitionSize = 4194304;
+
+#
+# T210 bct only supports one boot device
+#
+DevType[0] = NvBootDevType_Spi;
+DeviceParam[0].SpiFlashParams.ReadCommandTypeFast = NV_FALSE;
+DeviceParam[0].SpiFlashParams.ClockDivider = 0x16;
+DeviceParam[0].SpiFlashParams.ClockSource = NvBootSpiClockSource_PllPOut0;
+DeviceParam[0].SpiFlashParams.PageSize2kor16k = 0;