diff options
author | Aaron Durbin <adurbin@chromium.org> | 2014-08-04 12:35:32 -0500 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2015-03-25 22:31:37 +0100 |
commit | 8c6d34c1f87f7f48f351e9496ec45985208f5076 (patch) | |
tree | 65931af3fcfb4d7dca8bee8e670c468c0a166bfb /src/mainboard | |
parent | dabf0ebec03772cac320dc950cac57a48e1bd3c9 (diff) | |
download | coreboot-8c6d34c1f87f7f48f351e9496ec45985208f5076.tar.xz |
ryu: Add 4 LPDDR3 SDRAM BCTs
These are used by the LPDDR3 code in sdram.c.
Based on the schematic and email, I've filled in 4 slots
in sdram_configs.c. My A44 returns RAMCODE 0 (using only bits
1:0) for Samsung SDRAM. I haven't tested the other 2 types of
RAM (Hynix and Micron). The 4th slot is a fallback slow Micron
config.
Previously existing configurations were dropped.
BUG=chrome-os-partner:29921
BUG=chrome-os-partner:31031
BRANCH=None
TEST=Built for rush and rush_ryu.
Change-Id: I55a737db269fe5fac1565d58bd8f8afcbc5beecb
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: 9a431466171a85a5c8151e7466eb5f77862e7b44
Original-Change-Id: If216096ffc9e9836b6d082ad0668640b3eec37b7
Original-Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Original-Commit-Id: a45e7788dd78697ac5f48b6cc64108ca0e4912dd
Original-Change-Id: Ib7e8b814eb6dadb9b366536721876a3eeba0d2c0
Original-Signed-off-by: Tom Warren <twarren@nvidia.com>
Original-Reviewed-on: https://chromium-review.googlesource.com/216000
Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: http://review.coreboot.org/8976
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/mainboard')
10 files changed, 1254 insertions, 1266 deletions
diff --git a/src/mainboard/google/rush_ryu/bct/sdram-hynix-2GB-792.inc b/src/mainboard/google/rush_ryu/bct/sdram-hynix-2GB-792.inc deleted file mode 100644 index 60bf4168f7..0000000000 --- a/src/mainboard/google/rush_ryu/bct/sdram-hynix-2GB-792.inc +++ /dev/null @@ -1,311 +0,0 @@ -{ /* generated from sdram-0001-792-2GB.cfg; do not edit. */ - .MemoryType = NvBootMemoryType_Ddr3, - .PllMInputDivider = 0x00000001, - .PllMFeedbackDivider = 0x00000042, - .PllMStableTime = 0x0000012c, - .PllMSetupControl = 0x00000000, - .PllMSelectDiv2 = 0x00000000, - .PllMPDLshiftPh45 = 0x00000001, - .PllMPDLshiftPh90 = 0x00000001, - .PllMPDLshiftPh135 = 0x00000001, - .PllMKCP = 0x00000000, - .PllMKVCO = 0x00000000, - .EmcBctSpare0 = 0x00000000, - .EmcBctSpare1 = 0x00000000, - .EmcBctSpare2 = 0x00000000, - .EmcBctSpare3 = 0x00000000, - .EmcBctSpare4 = 0x00000000, - .EmcBctSpare5 = 0x00000000, - .EmcBctSpare6 = 0x00000000, - .EmcBctSpare7 = 0x00000000, - .EmcBctSpare8 = 0x00000000, - .EmcBctSpare9 = 0x00000000, - .EmcBctSpare10 = 0x00000000, - .EmcBctSpare11 = 0x00000000, - .EmcClockSource = 0x80000000, - .EmcAutoCalInterval = 0x001fffff, - .EmcAutoCalConfig = 0xa1430000, - .EmcAutoCalConfig2 = 0x00000000, - .EmcAutoCalConfig3 = 0x00000000, - .EmcAutoCalWait = 0x00000190, - .EmcAdrCfg = 0x00000000, - .EmcPinProgramWait = 0x00000001, - .EmcPinExtraWait = 0x00000000, - .EmcTimingControlWait = 0x00000000, - .EmcRc = 0x00000025, - .EmcRfc = 0x000000cd, - .EmcRfcSlr = 0x00000000, - .EmcRas = 0x00000019, - .EmcRp = 0x0000000a, - .EmcR2r = 0x00000000, - .EmcW2w = 0x00000000, - .EmcR2w = 0x00000007, - .EmcW2r = 0x0000000d, - .EmcR2p = 0x00000004, - .EmcW2p = 0x00000013, - .EmcRdRcd = 0x0000000a, - .EmcWrRcd = 0x0000000a, - .EmcRrd = 0x00000003, - .EmcRext = 0x00000002, - .EmcWext = 0x00000000, - .EmcWdv = 0x00000006, - .EmcWdvMask = 0x00000006, - .EmcQUse = 0x0000000b, - .EmcQuseWidth = 0x00000002, - .EmcIbdly = 0x00000000, - .EmcEInput = 0x00000003, - .EmcEInputDuration = 0x0000000c, - .EmcPutermExtra = 0x00090000, - .EmcPutermWidth = 0x00000004, - .EmcPutermAdj = 0x00000000, - .EmcCdbCntl1 = 0x00000000, - .EmcCdbCntl2 = 0x00000000, - .EmcCdbCntl3 = 0x00000000, - .EmcQRst = 0x00000002, - .EmcQSafe = 0x00000011, - .EmcRdv = 0x00000017, - .EmcRdvMask = 0x00000019, - .EmcQpop = 0x0000000f, - .EmcCtt = 0x00000000, - .EmcCttDuration = 0x00000004, - .EmcRefresh = 0x000017eb, - .EmcBurstRefreshNum = 0x00000000, - .EmcPreRefreshReqCnt = 0x000005fa, - .EmcPdEx2Wr = 0x00000003, - .EmcPdEx2Rd = 0x00000003, - .EmcPChg2Pden = 0x00000001, - .EmcAct2Pden = 0x00000000, - .EmcAr2Pden = 0x000000c7, - .EmcRw2Pden = 0x00000018, - .EmcTxsr = 0x000000d7, - .EmcTxsrDll = 0x00000200, - .EmcTcke = 0x00000005, - .EmcTckesr = 0x00000006, - .EmcTpd = 0x00000005, - .EmcTfaw = 0x0000001d, - .EmcTrpab = 0x00000000, - .EmcTClkStable = 0x00000008, - .EmcTClkStop = 0x00000008, - .EmcTRefBw = 0x0000182c, - .EmcFbioCfg5 = 0x104ab898, - .EmcFbioCfg6 = 0x00000002, - .EmcFbioSpare = 0x00000000, - .EmcCfgRsv = 0xff00ff00, - .EmcMrs = 0x80001d71, - .EmcEmrs = 0x80100002, - .EmcEmrs2 = 0x80200018, - .EmcEmrs3 = 0x80300000, - .EmcMrw1 = 0x00000000, - .EmcMrw2 = 0x00000000, - .EmcMrw3 = 0x00000000, - .EmcMrw4 = 0x00000000, - .EmcMrwExtra = 0x00000000, - .EmcWarmBootMrwExtra = 0x00000000, - .EmcWarmBootExtraModeRegWriteEnable = 0x00000000, - .EmcExtraModeRegWriteEnable = 0x00000000, - .EmcMrwResetCommand = 0x00000000, - .EmcMrwResetNInitWait = 0x00000000, - .EmcMrsWaitCnt = 0x00f7000e, - .EmcMrsWaitCnt2 = 0x00f7000e, - .EmcCfg = 0x73300000, - .EmcCfg2 = 0x0000089d, - .EmcCfgPipe = 0x000040a0, - .EmcDbg = 0x01000c00, - .EmcCmdQ = 0x10004408, - .EmcMc2EmcQ = 0x06000404, - .EmcDynSelfRefControl = 0x80003025, - .AhbArbitrationXbarCtrlMemInitDone = 0x00000001, - .EmcCfgDigDll = 0xe00701b1, - .EmcCfgDigDllPeriod = 0x00008000, - .EmcDevSelect = 0x00000002, - .EmcSelDpdCtrl = 0x00040000, - .EmcDllXformDqs0 = 0x00000008, - .EmcDllXformDqs1 = 0x00000008, - .EmcDllXformDqs2 = 0x00000008, - .EmcDllXformDqs3 = 0x00000008, - .EmcDllXformDqs4 = 0x00000008, - .EmcDllXformDqs5 = 0x00000008, - .EmcDllXformDqs6 = 0x00000008, - .EmcDllXformDqs7 = 0x00000008, - .EmcDllXformDqs8 = 0x00000008, - .EmcDllXformDqs9 = 0x00000008, - .EmcDllXformDqs10 = 0x00000008, - .EmcDllXformDqs11 = 0x00000008, - .EmcDllXformDqs12 = 0x00000008, - .EmcDllXformDqs13 = 0x00000008, - .EmcDllXformDqs14 = 0x00000008, - .EmcDllXformDqs15 = 0x00000008, - .EmcDllXformQUse0 = 0x00000000, - .EmcDllXformQUse1 = 0x00000000, - .EmcDllXformQUse2 = 0x00000000, - .EmcDllXformQUse3 = 0x00000000, - .EmcDllXformQUse4 = 0x00000000, - .EmcDllXformQUse5 = 0x00000000, - .EmcDllXformQUse6 = 0x00000000, - .EmcDllXformQUse7 = 0x00000000, - .EmcDllXformAddr0 = 0x0000000e, - .EmcDllXformAddr1 = 0x0000000e, - .EmcDllXformAddr2 = 0x00000000, - .EmcDllXformAddr3 = 0x0000000e, - .EmcDllXformAddr4 = 0x00000000, - .EmcDllXformAddr5 = 0x00000000, - .EmcDllXformQUse8 = 0x00000000, - .EmcDllXformQUse9 = 0x00000000, - .EmcDllXformQUse10 = 0x00000000, - .EmcDllXformQUse11 = 0x00000000, - .EmcDllXformQUse12 = 0x00000000, - .EmcDllXformQUse13 = 0x00000000, - .EmcDllXformQUse14 = 0x00000000, - .EmcDllXformQUse15 = 0x00000000, - .EmcDliTrimTxDqs0 = 0x00000000, - .EmcDliTrimTxDqs1 = 0x00000000, - .EmcDliTrimTxDqs2 = 0x00000000, - .EmcDliTrimTxDqs3 = 0x00000000, - .EmcDliTrimTxDqs4 = 0x00000000, - .EmcDliTrimTxDqs5 = 0x00000000, - .EmcDliTrimTxDqs6 = 0x00000000, - .EmcDliTrimTxDqs7 = 0x00000000, - .EmcDliTrimTxDqs8 = 0x00000000, - .EmcDliTrimTxDqs9 = 0x00000000, - .EmcDliTrimTxDqs10 = 0x00000000, - .EmcDliTrimTxDqs11 = 0x00000000, - .EmcDliTrimTxDqs12 = 0x00000000, - .EmcDliTrimTxDqs13 = 0x00000000, - .EmcDliTrimTxDqs14 = 0x00000000, - .EmcDliTrimTxDqs15 = 0x00000000, - .EmcDllXformDq0 = 0x0000000b, - .EmcDllXformDq1 = 0x0000000b, - .EmcDllXformDq2 = 0x0000000b, - .EmcDllXformDq3 = 0x0000000b, - .EmcDllXformDq4 = 0x0000000b, - .EmcDllXformDq5 = 0x0000000b, - .EmcDllXformDq6 = 0x0000000b, - .EmcDllXformDq7 = 0x0000000b, - .WarmBootWait = 0x00000002, - .EmcCttTermCtrl = 0x00000802, - .EmcOdtWrite = 0x00000000, - .EmcOdtRead = 0x00000000, - .EmcZcalInterval = 0x00020000, - .EmcZcalWaitCnt = 0x00000042, - .EmcZcalMrwCmd = 0x80000000, - .EmcMrsResetDll = 0x00000000, - .EmcZcalInitDev0 = 0x80000011, - .EmcZcalInitDev1 = 0x00000000, - .EmcZcalInitWait = 0x00000001, - .EmcZcalWarmColdBootEnables = 0x00000003, - .EmcMrwLpddr2ZcalWarmBoot = 0x040a00ab, - .EmcZqCalDdr3WarmBoot = 0x00000000, - .EmcZcalWarmBootWait = 0x00000001, - .EmcMrsWarmBootEnable = 0x00000001, - .EmcMrsResetDllWait = 0x00000000, - .EmcMrsExtra = 0x80001d71, - .EmcWarmBootMrsExtra = 0x80100002, - .EmcEmrsDdr2DllEnable = 0x00000000, - .EmcMrsDdr2DllReset = 0x00000000, - .EmcEmrsDdr2OcdCalib = 0x00000000, - .EmcDdr2Wait = 0x00000000, - .EmcClkenOverride = 0x00000000, - .McDisExtraSnapLevels = 0x00000000, - .EmcExtraRefreshNum = 0x00000002, - .EmcClkenOverrideAllWarmBoot = 0x00000000, - .McClkenOverrideAllWarmBoot = 0x00000000, - .EmcCfgDigDllPeriodWarmBoot = 0x00000003, - .PmcVddpSel = 0x00000002, - .PmcVddpSelWait = 0x00000002, - .PmcDdrPwr = 0x00000003, - .PmcDdrCfg = 0x00002002, - .PmcIoDpd3Req = 0x4fff2f97, - .PmcIoDpd3ReqWait = 0x00000000, - .PmcRegShort = 0x00000000, - .PmcNoIoPower = 0x00000000, - .PmcPorDpdCtrlWait = 0x00000000, - .EmcXm2CmdPadCtrl = 0x100002a0, - .EmcXm2CmdPadCtrl2 = 0x770c0000, - .EmcXm2CmdPadCtrl3 = 0x050c0000, - .EmcXm2CmdPadCtrl4 = 0x00000000, - .EmcXm2CmdPadCtrl5 = 0x00111111, - .EmcXm2DqsPadCtrl = 0x770c1414, - .EmcXm2DqsPadCtrl2 = 0x0020013d, - .EmcXm2DqsPadCtrl3 = 0x61861820, - .EmcXm2DqsPadCtrl4 = 0x00514514, - .EmcXm2DqsPadCtrl5 = 0x00514514, - .EmcXm2DqsPadCtrl6 = 0x61861800, - .EmcXm2DqPadCtrl = 0x770c2990, - .EmcXm2DqPadCtrl2 = 0x00000000, - .EmcXm2DqPadCtrl3 = 0x00000000, - .EmcXm2ClkPadCtrl = 0x77ffc085, - .EmcXm2ClkPadCtrl2 = 0x00000707, - .EmcXm2CompPadCtrl = 0x81f1f108, - .EmcXm2VttGenPadCtrl = 0x07070004, - .EmcXm2VttGenPadCtrl2 = 0x00000000, - .EmcXm2VttGenPadCtrl3 = 0x017fffff, - .EmcAcpdControl = 0x00000000, - .EmcSwizzleRank0ByteCfg = 0x00003120, - .EmcSwizzleRank0Byte0 = 0x25143067, - .EmcSwizzleRank0Byte1 = 0x45367102, - .EmcSwizzleRank0Byte2 = 0x47106253, - .EmcSwizzleRank0Byte3 = 0x04362175, - .EmcSwizzleRank1ByteCfg = 0x00003120, - .EmcSwizzleRank1Byte0 = 0x71546032, - .EmcSwizzleRank1Byte1 = 0x35104276, - .EmcSwizzleRank1Byte2 = 0x27043615, - .EmcSwizzleRank1Byte3 = 0x72306145, - .EmcDsrVttgenDrv = 0x0505003f, - .EmcTxdsrvttgen = 0x00000000, - .EmcBgbiasCtl0 = 0x00000000, - .McEmemAdrCfg = 0x00000000, - .McEmemAdrCfgDev0 = 0x00080303, - .McEmemAdrCfgDev1 = 0x00080303, - .McEmemAdrCfgBankMask0 = 0x00001248, - .McEmemAdrCfgBankMask1 = 0x00002490, - .McEmemAdrCfgBankMask2 = 0x00000920, - .McEmemAdrCfgBankSwizzle3 = 0x00000001, - .McEmemCfg = 0x00000800, - .McEmemArbCfg = 0x0e00000b, - .McEmemArbOutstandingReq = 0x80000040, - .McEmemArbTimingRcd = 0x00000004, - .McEmemArbTimingRp = 0x00000005, - .McEmemArbTimingRc = 0x00000013, - .McEmemArbTimingRas = 0x0000000c, - .McEmemArbTimingFaw = 0x0000000f, - .McEmemArbTimingRrd = 0x00000002, - .McEmemArbTimingRap2Pre = 0x00000003, - .McEmemArbTimingWap2Pre = 0x0000000c, - .McEmemArbTimingR2R = 0x00000002, - .McEmemArbTimingW2W = 0x00000002, - .McEmemArbTimingR2W = 0x00000005, - .McEmemArbTimingW2R = 0x00000008, - .McEmemArbDaTurns = 0x08050202, - .McEmemArbDaCovers = 0x00170e13, - .McEmemArbMisc0 = 0x736c2414, - .McEmemArbMisc1 = 0x70000f02, - .McEmemArbRing1Throttle = 0x001f0000, - .McEmemArbOverride = 0x10000000, - .McEmemArbOverride1 = 0x00000000, - .McEmemArbRsv = 0xff00ff00, - .McClkenOverride = 0x00000000, - .McStatControl = 0x00000000, - .McDisplaySnapRing = 0x00000003, - .McVideoProtectBom = 0xfff00000, - .McVideoProtectBomAdrHi = 0x00000000, - .McVideoProtectSizeMb = 0x00000000, - .McVideoProtectVprOverride = 0xe4bac743, - .McVideoProtectVprOverride1 = 0x00000013, - .McVideoProtectGpuOverride0 = 0x00000000, - .McVideoProtectGpuOverride1 = 0x00000000, - .McSecCarveoutBom = 0xfff00000, - .McSecCarveoutAdrHi = 0x00000000, - .McSecCarveoutSizeMb = 0x00000000, - .McVideoProtectWriteAccess = 0x00000000, - .McSecCarveoutProtectWriteAccess = 0x00000000, - .EmcCaTrainingEnable = 0x00000000, - .EmcCaTrainingTimingCntl1 = 0x1f7df7df, - .EmcCaTrainingTimingCntl2 = 0x0000001f, - .SwizzleRankByteEncode = 0x0000006f, - .BootRomPatchControl = 0x00000000, - .BootRomPatchData = 0x00000000, - .McMtsCarveoutBom = 0xf8000000, - .McMtsCarveoutAdrHi = 0x00000000, - .McMtsCarveoutSizeMb = 0x00000080, - .McMtsCarveoutRegCtrl = 0x00000001, -}, diff --git a/src/mainboard/google/rush_ryu/bct/sdram-hynix-2GB-924.inc b/src/mainboard/google/rush_ryu/bct/sdram-hynix-2GB-924.inc deleted file mode 100644 index 44d77cb4d9..0000000000 --- a/src/mainboard/google/rush_ryu/bct/sdram-hynix-2GB-924.inc +++ /dev/null @@ -1,311 +0,0 @@ -{ /* generated from sdram-hynix-2GB-924.cfg; do not edit. */ - .MemoryType = NvBootMemoryType_Ddr3, - .PllMInputDivider = 0x00000001, - .PllMFeedbackDivider = 0x0000004d, - .PllMStableTime = 0x0000012c, - .PllMSetupControl = 0x00000000, - .PllMSelectDiv2 = 0x00000000, - .PllMPDLshiftPh45 = 0x00000001, - .PllMPDLshiftPh90 = 0x00000001, - .PllMPDLshiftPh135 = 0x00000001, - .PllMKCP = 0x00000000, - .PllMKVCO = 0x00000000, - .EmcBctSpare0 = 0x00000000, - .EmcBctSpare1 = 0x00000000, - .EmcBctSpare2 = 0x00000000, - .EmcBctSpare3 = 0x00000000, - .EmcBctSpare4 = 0x00000000, - .EmcBctSpare5 = 0x00000000, - .EmcBctSpare6 = 0x00000000, - .EmcBctSpare7 = 0x00000000, - .EmcBctSpare8 = 0x00000000, - .EmcBctSpare9 = 0x00000000, - .EmcBctSpare10 = 0x00000000, - .EmcBctSpare11 = 0x00000000, - .EmcClockSource = 0x80000000, - .EmcAutoCalInterval = 0x001fffff, - .EmcAutoCalConfig = 0xa1430101, - .EmcAutoCalConfig2 = 0x00000000, - .EmcAutoCalConfig3 = 0x00000000, - .EmcAutoCalWait = 0x00000190, - .EmcAdrCfg = 0x00000000, - .EmcPinProgramWait = 0x00000001, - .EmcPinExtraWait = 0x00000000, - .EmcTimingControlWait = 0x00000000, - .EmcRc = 0x0000002b, - .EmcRfc = 0x000000f0, - .EmcRfcSlr = 0x00000000, - .EmcRas = 0x0000001e, - .EmcRp = 0x0000000b, - .EmcR2r = 0x00000000, - .EmcW2w = 0x00000000, - .EmcR2w = 0x0000000a, - .EmcW2r = 0x0000000f, - .EmcR2p = 0x00000005, - .EmcW2p = 0x00000016, - .EmcRdRcd = 0x0000000b, - .EmcWrRcd = 0x0000000b, - .EmcRrd = 0x00000004, - .EmcRext = 0x00000002, - .EmcWext = 0x00000000, - .EmcWdv = 0x00000007, - .EmcWdvMask = 0x00000007, - .EmcQUse = 0x0000000d, - .EmcQuseWidth = 0x00000002, - .EmcIbdly = 0x00000000, - .EmcEInput = 0x00000002, - .EmcEInputDuration = 0x0000000f, - .EmcPutermExtra = 0x000a0000, - .EmcPutermWidth = 0x00000004, - .EmcPutermAdj = 0x00000000, - .EmcCdbCntl1 = 0x00000000, - .EmcCdbCntl2 = 0x00000000, - .EmcCdbCntl3 = 0x00000000, - .EmcQRst = 0x00000001, - .EmcQSafe = 0x00000016, - .EmcRdv = 0x0000001a, - .EmcRdvMask = 0x0000001c, - .EmcQpop = 0x00000011, - .EmcCtt = 0x00000000, - .EmcCttDuration = 0x00000004, - .EmcRefresh = 0x00001be7, - .EmcBurstRefreshNum = 0x00000000, - .EmcPreRefreshReqCnt = 0x000006f9, - .EmcPdEx2Wr = 0x00000004, - .EmcPdEx2Rd = 0x00000015, - .EmcPChg2Pden = 0x00000001, - .EmcAct2Pden = 0x00000000, - .EmcAr2Pden = 0x000000e7, - .EmcRw2Pden = 0x0000001b, - .EmcTxsr = 0x000000fb, - .EmcTxsrDll = 0x00000200, - .EmcTcke = 0x00000006, - .EmcTckesr = 0x00000007, - .EmcTpd = 0x00000006, - .EmcTfaw = 0x00000022, - .EmcTrpab = 0x00000000, - .EmcTClkStable = 0x0000000a, - .EmcTClkStop = 0x0000000a, - .EmcTRefBw = 0x00001c28, - .EmcFbioCfg5 = 0x104ab898, - .EmcFbioCfg6 = 0x00000000, - .EmcFbioSpare = 0x00000000, - .EmcCfgRsv = 0xff00ff00, - .EmcMrs = 0x80000f15, - .EmcEmrs = 0x80100002, - .EmcEmrs2 = 0x80200020, - .EmcEmrs3 = 0x80300000, - .EmcMrw1 = 0x00000000, - .EmcMrw2 = 0x00000000, - .EmcMrw3 = 0x00000000, - .EmcMrw4 = 0x00000000, - .EmcMrwExtra = 0x00000000, - .EmcWarmBootMrwExtra = 0x00000000, - .EmcWarmBootExtraModeRegWriteEnable = 0x00000000, - .EmcExtraModeRegWriteEnable = 0x00000000, - .EmcMrwResetCommand = 0x00000000, - .EmcMrwResetNInitWait = 0x00000000, - .EmcMrsWaitCnt = 0x00cd000e, - .EmcMrsWaitCnt2 = 0x00cd000e, - .EmcCfg = 0x73300000, - .EmcCfg2 = 0x0000089d, - .EmcCfgPipe = 0x00004080, - .EmcDbg = 0x01000c00, - .EmcCmdQ = 0x10004408, - .EmcMc2EmcQ = 0x06000404, - .EmcDynSelfRefControl = 0x800037ea, - .AhbArbitrationXbarCtrlMemInitDone = 0x00000001, - .EmcCfgDigDll = 0xe00400b1, - .EmcCfgDigDllPeriod = 0x00008000, - .EmcDevSelect = 0x00000002, - .EmcSelDpdCtrl = 0x00040000, - .EmcDllXformDqs0 = 0x007fc005, - .EmcDllXformDqs1 = 0x007fc005, - .EmcDllXformDqs2 = 0x007f8008, - .EmcDllXformDqs3 = 0x007f8008, - .EmcDllXformDqs4 = 0x007fc005, - .EmcDllXformDqs5 = 0x007f8008, - .EmcDllXformDqs6 = 0x007fc005, - .EmcDllXformDqs7 = 0x007fc005, - .EmcDllXformDqs8 = 0x007fc005, - .EmcDllXformDqs9 = 0x007fc005, - .EmcDllXformDqs10 = 0x007f8008, - .EmcDllXformDqs11 = 0x007f8008, - .EmcDllXformDqs12 = 0x007fc005, - .EmcDllXformDqs13 = 0x007f8008, - .EmcDllXformDqs14 = 0x007fc005, - .EmcDllXformDqs15 = 0x007fc005, - .EmcDllXformQUse0 = 0x00000000, - .EmcDllXformQUse1 = 0x00000000, - .EmcDllXformQUse2 = 0x00000000, - .EmcDllXformQUse3 = 0x00000000, - .EmcDllXformQUse4 = 0x00000000, - .EmcDllXformQUse5 = 0x00000000, - .EmcDllXformQUse6 = 0x00000000, - .EmcDllXformQUse7 = 0x00000000, - .EmcDllXformAddr0 = 0x00018000, - .EmcDllXformAddr1 = 0x00018000, - .EmcDllXformAddr2 = 0x00000000, - .EmcDllXformAddr3 = 0x00018000, - .EmcDllXformAddr4 = 0x00018000, - .EmcDllXformAddr5 = 0x00000000, - .EmcDllXformQUse8 = 0x00000000, - .EmcDllXformQUse9 = 0x00000000, - .EmcDllXformQUse10 = 0x00000000, - .EmcDllXformQUse11 = 0x00000000, - .EmcDllXformQUse12 = 0x00000000, - .EmcDllXformQUse13 = 0x00000000, - .EmcDllXformQUse14 = 0x00000000, - .EmcDllXformQUse15 = 0x00000000, - .EmcDliTrimTxDqs0 = 0x00000000, - .EmcDliTrimTxDqs1 = 0x00000000, - .EmcDliTrimTxDqs2 = 0x00000000, - .EmcDliTrimTxDqs3 = 0x00000000, - .EmcDliTrimTxDqs4 = 0x00000000, - .EmcDliTrimTxDqs5 = 0x00000000, - .EmcDliTrimTxDqs6 = 0x00000000, - .EmcDliTrimTxDqs7 = 0x00000000, - .EmcDliTrimTxDqs8 = 0x00000000, - .EmcDliTrimTxDqs9 = 0x00000000, - .EmcDliTrimTxDqs10 = 0x00000000, - .EmcDliTrimTxDqs11 = 0x00000000, - .EmcDliTrimTxDqs12 = 0x00000000, - .EmcDliTrimTxDqs13 = 0x00000000, - .EmcDliTrimTxDqs14 = 0x00000000, - .EmcDliTrimTxDqs15 = 0x00000000, - .EmcDllXformDq0 = 0x00000007, - .EmcDllXformDq1 = 0x00000007, - .EmcDllXformDq2 = 0x00000007, - .EmcDllXformDq3 = 0x00000007, - .EmcDllXformDq4 = 0x00000007, - .EmcDllXformDq5 = 0x00000007, - .EmcDllXformDq6 = 0x00000007, - .EmcDllXformDq7 = 0x00000007, - .WarmBootWait = 0x00000002, - .EmcCttTermCtrl = 0x00000802, - .EmcOdtWrite = 0x00000000, - .EmcOdtRead = 0x00000000, - .EmcZcalInterval = 0x00020000, - .EmcZcalWaitCnt = 0x0000004c, - .EmcZcalMrwCmd = 0x80000000, - .EmcMrsResetDll = 0x00000000, - .EmcZcalInitDev0 = 0x80000011, - .EmcZcalInitDev1 = 0x00000000, - .EmcZcalInitWait = 0x00000001, - .EmcZcalWarmColdBootEnables = 0x00000003, - .EmcMrwLpddr2ZcalWarmBoot = 0x040a00ab, - .EmcZqCalDdr3WarmBoot = 0x00000000, - .EmcZcalWarmBootWait = 0x00000001, - .EmcMrsWarmBootEnable = 0x00000001, - .EmcMrsResetDllWait = 0x00000000, - .EmcMrsExtra = 0x80000f15, - .EmcWarmBootMrsExtra = 0x80100002, - .EmcEmrsDdr2DllEnable = 0x00000000, - .EmcMrsDdr2DllReset = 0x00000000, - .EmcEmrsDdr2OcdCalib = 0x00000000, - .EmcDdr2Wait = 0x00000000, - .EmcClkenOverride = 0x00000000, - .McDisExtraSnapLevels = 0x00000000, - .EmcExtraRefreshNum = 0x00000002, - .EmcClkenOverrideAllWarmBoot = 0x00000000, - .McClkenOverrideAllWarmBoot = 0x00000000, - .EmcCfgDigDllPeriodWarmBoot = 0x00000003, - .PmcVddpSel = 0x00000002, - .PmcVddpSelWait = 0x00000002, - .PmcDdrPwr = 0x00000003, - .PmcDdrCfg = 0x00002002, - .PmcIoDpd3Req = 0x4fff2f97, - .PmcIoDpd3ReqWait = 0x00000000, - .PmcRegShort = 0x00000000, - .PmcNoIoPower = 0x00000000, - .PmcPorDpdCtrlWait = 0x00000000, - .EmcXm2CmdPadCtrl = 0x100002a0, - .EmcXm2CmdPadCtrl2 = 0x770c0000, - .EmcXm2CmdPadCtrl3 = 0x050c0000, - .EmcXm2CmdPadCtrl4 = 0x00000000, - .EmcXm2CmdPadCtrl5 = 0x00111111, - .EmcXm2DqsPadCtrl = 0x770c1414, - .EmcXm2DqsPadCtrl2 = 0x0120113d, - .EmcXm2DqsPadCtrl3 = 0x5d569720, - .EmcXm2DqsPadCtrl4 = 0x00492492, - .EmcXm2DqsPadCtrl5 = 0x00552452, - .EmcXm2DqsPadCtrl6 = 0x61751800, - .EmcXm2DqPadCtrl = 0x770c2990, - .EmcXm2DqPadCtrl2 = 0x00000000, - .EmcXm2DqPadCtrl3 = 0x00000000, - .EmcXm2ClkPadCtrl = 0x77ffc085, - .EmcXm2ClkPadCtrl2 = 0x00000000, - .EmcXm2CompPadCtrl = 0x81f1f108, - .EmcXm2VttGenPadCtrl = 0x07070004, - .EmcXm2VttGenPadCtrl2 = 0x00000000, - .EmcXm2VttGenPadCtrl3 = 0x016eeeee, - .EmcAcpdControl = 0x00000000, - .EmcSwizzleRank0ByteCfg = 0x00003120, - .EmcSwizzleRank0Byte0 = 0x25143067, - .EmcSwizzleRank0Byte1 = 0x45367102, - .EmcSwizzleRank0Byte2 = 0x47106253, - .EmcSwizzleRank0Byte3 = 0x04362175, - .EmcSwizzleRank1ByteCfg = 0x00003120, - .EmcSwizzleRank1Byte0 = 0x71546032, - .EmcSwizzleRank1Byte1 = 0x35104276, - .EmcSwizzleRank1Byte2 = 0x27043615, - .EmcSwizzleRank1Byte3 = 0x72306145, - .EmcDsrVttgenDrv = 0x0606003f, - .EmcTxdsrvttgen = 0x00000000, - .EmcBgbiasCtl0 = 0x00000000, - .McEmemAdrCfg = 0x00000000, - .McEmemAdrCfgDev0 = 0x00080303, - .McEmemAdrCfgDev1 = 0x00080303, - .McEmemAdrCfgBankMask0 = 0x00001248, - .McEmemAdrCfgBankMask1 = 0x00002490, - .McEmemAdrCfgBankMask2 = 0x00000920, - .McEmemAdrCfgBankSwizzle3 = 0x00000001, - .McEmemCfg = 0x00000800, - .McEmemArbCfg = 0x0e00000d, - .McEmemArbOutstandingReq = 0x80000040, - .McEmemArbTimingRcd = 0x00000005, - .McEmemArbTimingRp = 0x00000006, - .McEmemArbTimingRc = 0x00000016, - .McEmemArbTimingRas = 0x0000000e, - .McEmemArbTimingFaw = 0x00000011, - .McEmemArbTimingRrd = 0x00000002, - .McEmemArbTimingRap2Pre = 0x00000004, - .McEmemArbTimingWap2Pre = 0x0000000e, - .McEmemArbTimingR2R = 0x00000002, - .McEmemArbTimingW2W = 0x00000002, - .McEmemArbTimingR2W = 0x00000007, - .McEmemArbTimingW2R = 0x00000009, - .McEmemArbDaTurns = 0x09070202, - .McEmemArbDaCovers = 0x001a1016, - .McEmemArbMisc0 = 0x734e2a17, - .McEmemArbMisc1 = 0x70000f02, - .McEmemArbRing1Throttle = 0x001f0000, - .McEmemArbOverride = 0x10000000, - .McEmemArbOverride1 = 0x00000000, - .McEmemArbRsv = 0xff00ff00, - .McClkenOverride = 0x00000000, - .McStatControl = 0x00000000, - .McDisplaySnapRing = 0x00000003, - .McVideoProtectBom = 0xfff00000, - .McVideoProtectBomAdrHi = 0x00000000, - .McVideoProtectSizeMb = 0x00000000, - .McVideoProtectVprOverride = 0xe4bac743, - .McVideoProtectVprOverride1 = 0x00000013, - .McVideoProtectGpuOverride0 = 0x00000000, - .McVideoProtectGpuOverride1 = 0x00000000, - .McSecCarveoutBom = 0xfff00000, - .McSecCarveoutAdrHi = 0x00000000, - .McSecCarveoutSizeMb = 0x00000000, - .McVideoProtectWriteAccess = 0x00000000, - .McSecCarveoutProtectWriteAccess = 0x00000000, - .EmcCaTrainingEnable = 0x00000000, - .EmcCaTrainingTimingCntl1 = 0x1f7df7df, - .EmcCaTrainingTimingCntl2 = 0x0000001f, - .SwizzleRankByteEncode = 0x0000006f, - .BootRomPatchControl = 0x00000000, - .BootRomPatchData = 0x00000000, - .McMtsCarveoutBom = 0xf8000000, - .McMtsCarveoutAdrHi = 0x00000000, - .McMtsCarveoutSizeMb = 0x00000080, - .McMtsCarveoutRegCtrl = 0x00000001, -}, diff --git a/src/mainboard/google/rush_ryu/bct/sdram-hynix-4GB-300.inc b/src/mainboard/google/rush_ryu/bct/sdram-hynix-4GB-300.inc deleted file mode 100644 index 62b067f8c4..0000000000 --- a/src/mainboard/google/rush_ryu/bct/sdram-hynix-4GB-300.inc +++ /dev/null @@ -1,311 +0,0 @@ -{ /* generated from sdram-hynix-4GB-300.cfg, do not edit. */ - .MemoryType = NvBootMemoryType_Ddr3, - .PllMInputDivider = 0x00000001, - .PllMFeedbackDivider = 0x00000032, - .PllMStableTime = 0x0000012c, - .PllMSetupControl = 0x00000000, - .PllMSelectDiv2 = 0x00000000, - .PllMPDLshiftPh45 = 0x00000001, - .PllMPDLshiftPh90 = 0x00000001, - .PllMPDLshiftPh135 = 0x00000001, - .PllMKCP = 0x00000000, - .PllMKVCO = 0x00000000, - .EmcBctSpare0 = 0x00000000, - .EmcBctSpare1 = 0x00000000, - .EmcBctSpare2 = 0x00000000, - .EmcBctSpare3 = 0x00000000, - .EmcBctSpare4 = 0x00000000, - .EmcBctSpare5 = 0x00000000, - .EmcBctSpare6 = 0x00000000, - .EmcBctSpare7 = 0x00000000, - .EmcBctSpare8 = 0x00000000, - .EmcBctSpare9 = 0x00000000, - .EmcBctSpare10 = 0x00000000, - .EmcBctSpare11 = 0x00000000, - .EmcClockSource = 0x00000002, - .EmcAutoCalInterval = 0x001fffff, - .EmcAutoCalConfig = 0xa1430f0f, - .EmcAutoCalConfig2 = 0x00000000, - .EmcAutoCalConfig3 = 0x00000000, - .EmcAutoCalWait = 0x00000190, - .EmcAdrCfg = 0x00000001, - .EmcPinProgramWait = 0x00000001, - .EmcPinExtraWait = 0x00000000, - .EmcTimingControlWait = 0x00000000, - .EmcRc = 0x0000000d, - .EmcRfc = 0x00000067, - .EmcRfcSlr = 0x00000000, - .EmcRas = 0x00000009, - .EmcRp = 0x00000003, - .EmcR2r = 0x00000000, - .EmcW2w = 0x00000000, - .EmcR2w = 0x00000005, - .EmcW2r = 0x00000008, - .EmcR2p = 0x00000002, - .EmcW2p = 0x00000009, - .EmcRdRcd = 0x00000003, - .EmcWrRcd = 0x00000003, - .EmcRrd = 0x00000002, - .EmcRext = 0x00000002, - .EmcWext = 0x00000000, - .EmcWdv = 0x00000003, - .EmcWdvMask = 0x00000003, - .EmcQUse = 0x00000005, - .EmcQuseWidth = 0x00000002, - .EmcIbdly = 0x00000000, - .EmcEInput = 0x00000002, - .EmcEInputDuration = 0x00000007, - .EmcPutermExtra = 0x00020000, - .EmcPutermWidth = 0x00000003, - .EmcPutermAdj = 0x00000000, - .EmcCdbCntl1 = 0x00000000, - .EmcCdbCntl2 = 0x00000000, - .EmcCdbCntl3 = 0x00000000, - .EmcQRst = 0x00000001, - .EmcQSafe = 0x0000000e, - .EmcRdv = 0x00000010, - .EmcRdvMask = 0x00000012, - .EmcQpop = 0x00000009, - .EmcCtt = 0x00000000, - .EmcCttDuration = 0x00000003, - .EmcRefresh = 0x000008e4, - .EmcBurstRefreshNum = 0x00000000, - .EmcPreRefreshReqCnt = 0x00000239, - .EmcPdEx2Wr = 0x00000001, - .EmcPdEx2Rd = 0x00000008, - .EmcPChg2Pden = 0x00000001, - .EmcAct2Pden = 0x00000000, - .EmcAr2Pden = 0x00000065, - .EmcRw2Pden = 0x0000000e, - .EmcTxsr = 0x0000006c, - .EmcTxsrDll = 0x00000200, - .EmcTcke = 0x00000004, - .EmcTckesr = 0x00000005, - .EmcTpd = 0x00000004, - .EmcTfaw = 0x00000009, - .EmcTrpab = 0x00000000, - .EmcTClkStable = 0x00000005, - .EmcTClkStop = 0x00000005, - .EmcTRefBw = 0x00000924, - .EmcFbioCfg5 = 0x104ab098, - .EmcFbioCfg6 = 0x00000000, - .EmcFbioSpare = 0x00000000, - .EmcCfgRsv = 0xff00ff00, - .EmcMrs = 0x00000321, - .EmcEmrs = 0x00100002, - .EmcEmrs2 = 0x00200000, - .EmcEmrs3 = 0x00300000, - .EmcMrw1 = 0x00000000, - .EmcMrw2 = 0x00000000, - .EmcMrw3 = 0x00000000, - .EmcMrw4 = 0x00000000, - .EmcMrwExtra = 0x00000000, - .EmcWarmBootMrwExtra = 0x00000000, - .EmcWarmBootExtraModeRegWriteEnable = 0x00000000, - .EmcExtraModeRegWriteEnable = 0x00000000, - .EmcMrwResetCommand = 0x00000000, - .EmcMrwResetNInitWait = 0x00000000, - .EmcMrsWaitCnt = 0x0117000e, - .EmcMrsWaitCnt2 = 0x0117000e, - .EmcCfg = 0x73340000, - .EmcCfg2 = 0x000008d5, - .EmcCfgPipe = 0x000052a3, - .EmcDbg = 0x01000c00, - .EmcCmdQ = 0x10004408, - .EmcMc2EmcQ = 0x06000404, - .EmcDynSelfRefControl = 0x800012d7, - .AhbArbitrationXbarCtrlMemInitDone = 0x00000001, - .EmcCfgDigDll = 0x002c00a0, - .EmcCfgDigDllPeriod = 0x00008000, - .EmcDevSelect = 0x00000000, - .EmcSelDpdCtrl = 0x00040128, - .EmcDllXformDqs0 = 0x00030000, - .EmcDllXformDqs1 = 0x00030000, - .EmcDllXformDqs2 = 0x00030000, - .EmcDllXformDqs3 = 0x00030000, - .EmcDllXformDqs4 = 0x00030000, - .EmcDllXformDqs5 = 0x00030000, - .EmcDllXformDqs6 = 0x00030000, - .EmcDllXformDqs7 = 0x00030000, - .EmcDllXformDqs8 = 0x00030000, - .EmcDllXformDqs9 = 0x00030000, - .EmcDllXformDqs10 = 0x00030000, - .EmcDllXformDqs11 = 0x00030000, - .EmcDllXformDqs12 = 0x00030000, - .EmcDllXformDqs13 = 0x00030000, - .EmcDllXformDqs14 = 0x00030000, - .EmcDllXformDqs15 = 0x00030000, - .EmcDllXformQUse0 = 0x00000000, - .EmcDllXformQUse1 = 0x00000000, - .EmcDllXformQUse2 = 0x00000000, - .EmcDllXformQUse3 = 0x00000000, - .EmcDllXformQUse4 = 0x00000000, - .EmcDllXformQUse5 = 0x00000000, - .EmcDllXformQUse6 = 0x00000000, - .EmcDllXformQUse7 = 0x00000000, - .EmcDllXformAddr0 = 0x00084000, - .EmcDllXformAddr1 = 0x00084000, - .EmcDllXformAddr2 = 0x00010000, - .EmcDllXformAddr3 = 0x00084000, - .EmcDllXformAddr4 = 0x00084000, - .EmcDllXformAddr5 = 0x00010000, - .EmcDllXformQUse8 = 0x00000000, - .EmcDllXformQUse9 = 0x00000000, - .EmcDllXformQUse10 = 0x00000000, - .EmcDllXformQUse11 = 0x00000000, - .EmcDllXformQUse12 = 0x00000000, - .EmcDllXformQUse13 = 0x00000000, - .EmcDllXformQUse14 = 0x00000000, - .EmcDllXformQUse15 = 0x00000000, - .EmcDliTrimTxDqs0 = 0x00000000, - .EmcDliTrimTxDqs1 = 0x00000000, - .EmcDliTrimTxDqs2 = 0x00000000, - .EmcDliTrimTxDqs3 = 0x00000000, - .EmcDliTrimTxDqs4 = 0x00000000, - .EmcDliTrimTxDqs5 = 0x00000000, - .EmcDliTrimTxDqs6 = 0x00000000, - .EmcDliTrimTxDqs7 = 0x00000000, - .EmcDliTrimTxDqs8 = 0x00000000, - .EmcDliTrimTxDqs9 = 0x00000000, - .EmcDliTrimTxDqs10 = 0x00000000, - .EmcDliTrimTxDqs11 = 0x00000000, - .EmcDliTrimTxDqs12 = 0x00000000, - .EmcDliTrimTxDqs13 = 0x00000000, - .EmcDliTrimTxDqs14 = 0x00000000, - .EmcDliTrimTxDqs15 = 0x00000000, - .EmcDllXformDq0 = 0x00060000, - .EmcDllXformDq1 = 0x00060000, - .EmcDllXformDq2 = 0x00060000, - .EmcDllXformDq3 = 0x00060000, - .EmcDllXformDq4 = 0x00006000, - .EmcDllXformDq5 = 0x00006000, - .EmcDllXformDq6 = 0x00006000, - .EmcDllXformDq7 = 0x00006000, - .WarmBootWait = 0x00000002, - .EmcCttTermCtrl = 0x00000802, - .EmcOdtWrite = 0x00000000, - .EmcOdtRead = 0x00000000, - .EmcZcalInterval = 0x00020000, - .EmcZcalWaitCnt = 0x00000042, - .EmcZcalMrwCmd = 0x00000000, - .EmcMrsResetDll = 0x00000000, - .EmcZcalInitDev0 = 0x80000011, - .EmcZcalInitDev1 = 0x40000011, - .EmcZcalInitWait = 0x00000002, - .EmcZcalWarmColdBootEnables = 0x00000003, - .EmcMrwLpddr2ZcalWarmBoot = 0x040a00ab, - .EmcZqCalDdr3WarmBoot = 0x00000000, - .EmcZcalWarmBootWait = 0x00000002, - .EmcMrsWarmBootEnable = 0x00000001, - .EmcMrsResetDllWait = 0x00000000, - .EmcMrsExtra = 0x00000321, - .EmcWarmBootMrsExtra = 0x00100002, - .EmcEmrsDdr2DllEnable = 0x00000000, - .EmcMrsDdr2DllReset = 0x00000000, - .EmcEmrsDdr2OcdCalib = 0x00000000, - .EmcDdr2Wait = 0x00000000, - .EmcClkenOverride = 0x00000000, - .McDisExtraSnapLevels = 0x00000000, - .EmcExtraRefreshNum = 0x00000002, - .EmcClkenOverrideAllWarmBoot = 0x00000000, - .McClkenOverrideAllWarmBoot = 0x00000000, - .EmcCfgDigDllPeriodWarmBoot = 0x00000003, - .PmcVddpSel = 0x00000002, - .PmcVddpSelWait = 0x00000002, - .PmcDdrPwr = 0x00000003, - .PmcDdrCfg = 0x00002002, - .PmcIoDpd3Req = 0x4fffffff, - .PmcIoDpd3ReqWait = 0x00000000, - .PmcRegShort = 0x00000000, - .PmcNoIoPower = 0x00000000, - .PmcPorDpdCtrlWait = 0x00000000, - .EmcXm2CmdPadCtrl = 0x10000280, - .EmcXm2CmdPadCtrl2 = 0x770c0000, - .EmcXm2CmdPadCtrl3 = 0x050c0000, - .EmcXm2CmdPadCtrl4 = 0x00000000, - .EmcXm2CmdPadCtrl5 = 0x00111111, - .EmcXm2DqsPadCtrl = 0x770c1414, - .EmcXm2DqsPadCtrl2 = 0x01231339, - .EmcXm2DqsPadCtrl3 = 0x51451420, - .EmcXm2DqsPadCtrl4 = 0x00514514, - .EmcXm2DqsPadCtrl5 = 0x00514514, - .EmcXm2DqsPadCtrl6 = 0x51451400, - .EmcXm2DqPadCtrl = 0x770c2990, - .EmcXm2DqPadCtrl2 = 0x00000000, - .EmcXm2DqPadCtrl3 = 0x00000000, - .EmcXm2ClkPadCtrl = 0x77ffc081, - .EmcXm2ClkPadCtrl2 = 0x00000000, - .EmcXm2CompPadCtrl = 0x81f1f108, - .EmcXm2VttGenPadCtrl = 0x07070004, - .EmcXm2VttGenPadCtrl2 = 0x00000000, - .EmcXm2VttGenPadCtrl3 = 0x016eeeee, - .EmcAcpdControl = 0x00000000, - .EmcSwizzleRank0ByteCfg = 0x00003120, - .EmcSwizzleRank0Byte0 = 0x25143067, - .EmcSwizzleRank0Byte1 = 0x45367102, - .EmcSwizzleRank0Byte2 = 0x47106253, - .EmcSwizzleRank0Byte3 = 0x04362175, - .EmcSwizzleRank1ByteCfg = 0x00003120, - .EmcSwizzleRank1Byte0 = 0x71546032, - .EmcSwizzleRank1Byte1 = 0x35104276, - .EmcSwizzleRank1Byte2 = 0x27043615, - .EmcSwizzleRank1Byte3 = 0x72306145, - .EmcDsrVttgenDrv = 0x0000003f, - .EmcTxdsrvttgen = 0x00000096, - .EmcBgbiasCtl0 = 0x00000000, - .McEmemAdrCfg = 0x00000001, - .McEmemAdrCfgDev0 = 0x00080303, - .McEmemAdrCfgDev1 = 0x00080303, - .McEmemAdrCfgBankMask0 = 0x00001248, - .McEmemAdrCfgBankMask1 = 0x00002490, - .McEmemAdrCfgBankMask2 = 0x00000920, - .McEmemAdrCfgBankSwizzle3 = 0x00000001, - .McEmemCfg = 0x00001000, - .McEmemArbCfg = 0x08000004, - .McEmemArbOutstandingReq = 0x80000040, - .McEmemArbTimingRcd = 0x00000001, - .McEmemArbTimingRp = 0x00000002, - .McEmemArbTimingRc = 0x00000007, - .McEmemArbTimingRas = 0x00000004, - .McEmemArbTimingFaw = 0x00000005, - .McEmemArbTimingRrd = 0x00000001, - .McEmemArbTimingRap2Pre = 0x00000002, - .McEmemArbTimingWap2Pre = 0x00000007, - .McEmemArbTimingR2R = 0x00000002, - .McEmemArbTimingW2W = 0x00000002, - .McEmemArbTimingR2W = 0x00000004, - .McEmemArbTimingW2R = 0x00000006, - .McEmemArbDaTurns = 0x06040202, - .McEmemArbDaCovers = 0x000b0607, - .McEmemArbMisc0 = 0x77450e08, - .McEmemArbMisc1 = 0x70000f03, - .McEmemArbRing1Throttle = 0x001f0000, - .McEmemArbOverride = 0x10000000, - .McEmemArbOverride1 = 0x00000000, - .McEmemArbRsv = 0xff00ff00, - .McClkenOverride = 0x00000000, - .McStatControl = 0x00000000, - .McDisplaySnapRing = 0x00000003, - .McVideoProtectBom = 0xfff00000, - .McVideoProtectBomAdrHi = 0x00000000, - .McVideoProtectSizeMb = 0x00000000, - .McVideoProtectVprOverride = 0xe4bac743, - .McVideoProtectVprOverride1 = 0x00000013, - .McVideoProtectGpuOverride0 = 0x00000000, - .McVideoProtectGpuOverride1 = 0x00000000, - .McSecCarveoutBom = 0xfff00000, - .McSecCarveoutAdrHi = 0x00000000, - .McSecCarveoutSizeMb = 0x00000000, - .McVideoProtectWriteAccess = 0x00000000, - .McSecCarveoutProtectWriteAccess = 0x00000000, - .EmcCaTrainingEnable = 0x00000000, - .EmcCaTrainingTimingCntl1 = 0x1f7df7df, - .EmcCaTrainingTimingCntl2 = 0x0000001f, - .SwizzleRankByteEncode = 0x0000006f, - .BootRomPatchControl = 0x00000000, - .BootRomPatchData = 0x00000000, - .McMtsCarveoutBom = 0x78000000, - .McMtsCarveoutAdrHi = 0x00000001, - .McMtsCarveoutSizeMb = 0x00000080, - .McMtsCarveoutRegCtrl = 0x00000001, -}, diff --git a/src/mainboard/google/rush_ryu/bct/sdram-hynix-4GB-792.inc b/src/mainboard/google/rush_ryu/bct/sdram-hynix-4GB-792.inc deleted file mode 100644 index 7e5f66688e..0000000000 --- a/src/mainboard/google/rush_ryu/bct/sdram-hynix-4GB-792.inc +++ /dev/null @@ -1,311 +0,0 @@ -{ /* generated from sdram-hynix-4GB-792.cfg, do not edit. */ - .MemoryType = NvBootMemoryType_Ddr3, - .PllMInputDivider = 0x00000001, - .PllMFeedbackDivider = 0x00000042, - .PllMStableTime = 0x0000012c, - .PllMSetupControl = 0x00000000, - .PllMSelectDiv2 = 0x00000000, - .PllMPDLshiftPh45 = 0x00000001, - .PllMPDLshiftPh90 = 0x00000001, - .PllMPDLshiftPh135 = 0x00000001, - .PllMKCP = 0x00000000, - .PllMKVCO = 0x00000000, - .EmcBctSpare0 = 0x00000000, - .EmcBctSpare1 = 0x00000000, - .EmcBctSpare2 = 0x00000000, - .EmcBctSpare3 = 0x00000000, - .EmcBctSpare4 = 0x00000000, - .EmcBctSpare5 = 0x00000000, - .EmcBctSpare6 = 0x00000000, - .EmcBctSpare7 = 0x00000000, - .EmcBctSpare8 = 0x00000000, - .EmcBctSpare9 = 0x00000000, - .EmcBctSpare10 = 0x00000000, - .EmcBctSpare11 = 0x00000000, - .EmcClockSource = 0x80000000, - .EmcAutoCalInterval = 0x001fffff, - .EmcAutoCalConfig = 0xa1430808, - .EmcAutoCalConfig2 = 0x00000000, - .EmcAutoCalConfig3 = 0x00000000, - .EmcAutoCalWait = 0x00000190, - .EmcAdrCfg = 0x00000001, - .EmcPinProgramWait = 0x00000001, - .EmcPinExtraWait = 0x00000000, - .EmcTimingControlWait = 0x00000000, - .EmcRc = 0x00000024, - .EmcRfc = 0x00000114, - .EmcRfcSlr = 0x00000000, - .EmcRas = 0x00000019, - .EmcRp = 0x0000000a, - .EmcR2r = 0x00000000, - .EmcW2w = 0x00000000, - .EmcR2w = 0x00000008, - .EmcW2r = 0x0000000d, - .EmcR2p = 0x00000004, - .EmcW2p = 0x00000013, - .EmcRdRcd = 0x0000000a, - .EmcWrRcd = 0x0000000a, - .EmcRrd = 0x00000003, - .EmcRext = 0x00000002, - .EmcWext = 0x00000000, - .EmcWdv = 0x00000006, - .EmcWdvMask = 0x00000006, - .EmcQUse = 0x0000000b, - .EmcQuseWidth = 0x00000002, - .EmcIbdly = 0x00000000, - .EmcEInput = 0x00000002, - .EmcEInputDuration = 0x0000000d, - .EmcPutermExtra = 0x00080000, - .EmcPutermWidth = 0x00000004, - .EmcPutermAdj = 0x00000000, - .EmcCdbCntl1 = 0x00000000, - .EmcCdbCntl2 = 0x00000000, - .EmcCdbCntl3 = 0x00000000, - .EmcQRst = 0x00000001, - .EmcQSafe = 0x00000014, - .EmcRdv = 0x00000017, - .EmcRdvMask = 0x00000019, - .EmcQpop = 0x0000000f, - .EmcCtt = 0x00000000, - .EmcCttDuration = 0x00000004, - .EmcRefresh = 0x000017e2, - .EmcBurstRefreshNum = 0x00000000, - .EmcPreRefreshReqCnt = 0x000005f8, - .EmcPdEx2Wr = 0x00000003, - .EmcPdEx2Rd = 0x00000011, - .EmcPChg2Pden = 0x00000001, - .EmcAct2Pden = 0x00000000, - .EmcAr2Pden = 0x0000010d, - .EmcRw2Pden = 0x00000018, - .EmcTxsr = 0x0000011e, - .EmcTxsrDll = 0x00000200, - .EmcTcke = 0x00000005, - .EmcTckesr = 0x00000006, - .EmcTpd = 0x00000005, - .EmcTfaw = 0x0000001d, - .EmcTrpab = 0x00000000, - .EmcTClkStable = 0x00000008, - .EmcTClkStop = 0x00000008, - .EmcTRefBw = 0x00001822, - .EmcFbioCfg5 = 0x104ab098, - .EmcFbioCfg6 = 0x00000000, - .EmcFbioSpare = 0x00000000, - .EmcCfgRsv = 0xff00ff00, - .EmcMrs = 0x00000d71, - .EmcEmrs = 0x00100002, - .EmcEmrs2 = 0x00200018, - .EmcEmrs3 = 0x00300000, - .EmcMrw1 = 0x00000000, - .EmcMrw2 = 0x00000000, - .EmcMrw3 = 0x00000000, - .EmcMrw4 = 0x00000000, - .EmcMrwExtra = 0x00000000, - .EmcWarmBootMrwExtra = 0x00000000, - .EmcWarmBootExtraModeRegWriteEnable = 0x00000000, - .EmcExtraModeRegWriteEnable = 0x00000000, - .EmcMrwResetCommand = 0x00000000, - .EmcMrwResetNInitWait = 0x00000000, - .EmcMrsWaitCnt = 0x006f000e, - .EmcMrsWaitCnt2 = 0x006f000e, - .EmcCfg = 0x73300000, - .EmcCfg2 = 0x0000089d, - .EmcCfgPipe = 0x000040a0, - .EmcDbg = 0x01000c00, - .EmcCmdQ = 0x10004408, - .EmcMc2EmcQ = 0x06000404, - .EmcDynSelfRefControl = 0x80003012, - .AhbArbitrationXbarCtrlMemInitDone = 0x00000001, - .EmcCfgDigDll = 0xe00700b1, - .EmcCfgDigDllPeriod = 0x00008000, - .EmcDevSelect = 0x00000000, - .EmcSelDpdCtrl = 0x00040000, - .EmcDllXformDqs0 = 0x00000008, - .EmcDllXformDqs1 = 0x00000008, - .EmcDllXformDqs2 = 0x00000008, - .EmcDllXformDqs3 = 0x00000008, - .EmcDllXformDqs4 = 0x00000008, - .EmcDllXformDqs5 = 0x00000008, - .EmcDllXformDqs6 = 0x00000008, - .EmcDllXformDqs7 = 0x00000008, - .EmcDllXformDqs8 = 0x00000008, - .EmcDllXformDqs9 = 0x00000008, - .EmcDllXformDqs10 = 0x00000008, - .EmcDllXformDqs11 = 0x00000008, - .EmcDllXformDqs12 = 0x00000008, - .EmcDllXformDqs13 = 0x00000008, - .EmcDllXformDqs14 = 0x00000008, - .EmcDllXformDqs15 = 0x00000008, - .EmcDllXformQUse0 = 0x00000000, - .EmcDllXformQUse1 = 0x00000000, - .EmcDllXformQUse2 = 0x00000000, - .EmcDllXformQUse3 = 0x00000000, - .EmcDllXformQUse4 = 0x00000000, - .EmcDllXformQUse5 = 0x00000000, - .EmcDllXformQUse6 = 0x00000000, - .EmcDllXformQUse7 = 0x00000000, - .EmcDllXformAddr0 = 0x00038000, - .EmcDllXformAddr1 = 0x00038000, - .EmcDllXformAddr2 = 0x00000000, - .EmcDllXformAddr3 = 0x00038000, - .EmcDllXformAddr4 = 0x00038000, - .EmcDllXformAddr5 = 0x00000000, - .EmcDllXformQUse8 = 0x00000000, - .EmcDllXformQUse9 = 0x00000000, - .EmcDllXformQUse10 = 0x00000000, - .EmcDllXformQUse11 = 0x00000000, - .EmcDllXformQUse12 = 0x00000000, - .EmcDllXformQUse13 = 0x00000000, - .EmcDllXformQUse14 = 0x00000000, - .EmcDllXformQUse15 = 0x00000000, - .EmcDliTrimTxDqs0 = 0x00000005, - .EmcDliTrimTxDqs1 = 0x00000005, - .EmcDliTrimTxDqs2 = 0x00000003, - .EmcDliTrimTxDqs3 = 0x00000005, - .EmcDliTrimTxDqs4 = 0x00000005, - .EmcDliTrimTxDqs5 = 0x00000002, - .EmcDliTrimTxDqs6 = 0x00000005, - .EmcDliTrimTxDqs7 = 0x00000005, - .EmcDliTrimTxDqs8 = 0x00000005, - .EmcDliTrimTxDqs9 = 0x00000005, - .EmcDliTrimTxDqs10 = 0x00000003, - .EmcDliTrimTxDqs11 = 0x00000005, - .EmcDliTrimTxDqs12 = 0x00000005, - .EmcDliTrimTxDqs13 = 0x00000002, - .EmcDliTrimTxDqs14 = 0x00000005, - .EmcDliTrimTxDqs15 = 0x00000005, - .EmcDllXformDq0 = 0x00000009, - .EmcDllXformDq1 = 0x0000000c, - .EmcDllXformDq2 = 0x00000008, - .EmcDllXformDq3 = 0x0000000a, - .EmcDllXformDq4 = 0x0000000a, - .EmcDllXformDq5 = 0x00000008, - .EmcDllXformDq6 = 0x0000000a, - .EmcDllXformDq7 = 0x00000008, - .WarmBootWait = 0x00000002, - .EmcCttTermCtrl = 0x00000802, - .EmcOdtWrite = 0x00000000, - .EmcOdtRead = 0x00000000, - .EmcZcalInterval = 0x00020000, - .EmcZcalWaitCnt = 0x00000042, - .EmcZcalMrwCmd = 0x00000000, - .EmcMrsResetDll = 0x00000000, - .EmcZcalInitDev0 = 0x80000011, - .EmcZcalInitDev1 = 0x40000011, - .EmcZcalInitWait = 0x00000001, - .EmcZcalWarmColdBootEnables = 0x00000003, - .EmcMrwLpddr2ZcalWarmBoot = 0x040a00ab, - .EmcZqCalDdr3WarmBoot = 0x00000000, - .EmcZcalWarmBootWait = 0x00000001, - .EmcMrsWarmBootEnable = 0x00000001, - .EmcMrsResetDllWait = 0x00000000, - .EmcMrsExtra = 0x00000d71, - .EmcWarmBootMrsExtra = 0x00100002, - .EmcEmrsDdr2DllEnable = 0x00000000, - .EmcMrsDdr2DllReset = 0x00000000, - .EmcEmrsDdr2OcdCalib = 0x00000000, - .EmcDdr2Wait = 0x00000000, - .EmcClkenOverride = 0x00000000, - .McDisExtraSnapLevels = 0x00000000, - .EmcExtraRefreshNum = 0x00000002, - .EmcClkenOverrideAllWarmBoot = 0x00000000, - .McClkenOverrideAllWarmBoot = 0x00000000, - .EmcCfgDigDllPeriodWarmBoot = 0x00000003, - .PmcVddpSel = 0x00000002, - .PmcVddpSelWait = 0x00000002, - .PmcDdrPwr = 0x00000003, - .PmcDdrCfg = 0x00002002, - .PmcIoDpd3Req = 0x4fffffff, - .PmcIoDpd3ReqWait = 0x00000000, - .PmcRegShort = 0x00000000, - .PmcNoIoPower = 0x00000000, - .PmcPorDpdCtrlWait = 0x00000000, - .EmcXm2CmdPadCtrl = 0x100002a0, - .EmcXm2CmdPadCtrl2 = 0x770c0000, - .EmcXm2CmdPadCtrl3 = 0x050c0000, - .EmcXm2CmdPadCtrl4 = 0x00000000, - .EmcXm2CmdPadCtrl5 = 0x00111111, - .EmcXm2DqsPadCtrl = 0x770c1414, - .EmcXm2DqsPadCtrl2 = 0x0120113d, - .EmcXm2DqsPadCtrl3 = 0x61861820, - .EmcXm2DqsPadCtrl4 = 0x00514514, - .EmcXm2DqsPadCtrl5 = 0x00514514, - .EmcXm2DqsPadCtrl6 = 0x61861800, - .EmcXm2DqPadCtrl = 0x770c2990, - .EmcXm2DqPadCtrl2 = 0x00000000, - .EmcXm2DqPadCtrl3 = 0x00000000, - .EmcXm2ClkPadCtrl = 0x77ffc085, - .EmcXm2ClkPadCtrl2 = 0x00000000, - .EmcXm2CompPadCtrl = 0x81f1f108, - .EmcXm2VttGenPadCtrl = 0x07070004, - .EmcXm2VttGenPadCtrl2 = 0x00000000, - .EmcXm2VttGenPadCtrl3 = 0x016eeeee, - .EmcAcpdControl = 0x00000000, - .EmcSwizzleRank0ByteCfg = 0x00003120, - .EmcSwizzleRank0Byte0 = 0x25143067, - .EmcSwizzleRank0Byte1 = 0x45367102, - .EmcSwizzleRank0Byte2 = 0x47106253, - .EmcSwizzleRank0Byte3 = 0x04362175, - .EmcSwizzleRank1ByteCfg = 0x00003120, - .EmcSwizzleRank1Byte0 = 0x71546032, - .EmcSwizzleRank1Byte1 = 0x35104276, - .EmcSwizzleRank1Byte2 = 0x27043615, - .EmcSwizzleRank1Byte3 = 0x72306145, - .EmcDsrVttgenDrv = 0x0606003f, - .EmcTxdsrvttgen = 0x00000000, - .EmcBgbiasCtl0 = 0x00000000, - .McEmemAdrCfg = 0x00000001, - .McEmemAdrCfgDev0 = 0x00080303, - .McEmemAdrCfgDev1 = 0x00080303, - .McEmemAdrCfgBankMask0 = 0x00001248, - .McEmemAdrCfgBankMask1 = 0x00002490, - .McEmemAdrCfgBankMask2 = 0x00000920, - .McEmemAdrCfgBankSwizzle3 = 0x00000001, - .McEmemCfg = 0x00001000, - .McEmemArbCfg = 0x0e00000b, - .McEmemArbOutstandingReq = 0x80000040, - .McEmemArbTimingRcd = 0x00000004, - .McEmemArbTimingRp = 0x00000005, - .McEmemArbTimingRc = 0x00000013, - .McEmemArbTimingRas = 0x0000000c, - .McEmemArbTimingFaw = 0x0000000f, - .McEmemArbTimingRrd = 0x00000002, - .McEmemArbTimingRap2Pre = 0x00000003, - .McEmemArbTimingWap2Pre = 0x0000000c, - .McEmemArbTimingR2R = 0x00000002, - .McEmemArbTimingW2W = 0x00000002, - .McEmemArbTimingR2W = 0x00000006, - .McEmemArbTimingW2R = 0x00000008, - .McEmemArbDaTurns = 0x08060202, - .McEmemArbDaCovers = 0x00170e13, - .McEmemArbMisc0 = 0x746c2414, - .McEmemArbMisc1 = 0x70000f02, - .McEmemArbRing1Throttle = 0x001f0000, - .McEmemArbOverride = 0x10000000, - .McEmemArbOverride1 = 0x00000000, - .McEmemArbRsv = 0xff00ff00, - .McClkenOverride = 0x00000000, - .McStatControl = 0x00000000, - .McDisplaySnapRing = 0x00000003, - .McVideoProtectBom = 0xfff00000, - .McVideoProtectBomAdrHi = 0x00000000, - .McVideoProtectSizeMb = 0x00000000, - .McVideoProtectVprOverride = 0xe4bac743, - .McVideoProtectVprOverride1 = 0x00000013, - .McVideoProtectGpuOverride0 = 0x00000000, - .McVideoProtectGpuOverride1 = 0x00000000, - .McSecCarveoutBom = 0xfff00000, - .McSecCarveoutAdrHi = 0x00000000, - .McSecCarveoutSizeMb = 0x00000000, - .McVideoProtectWriteAccess = 0x00000000, - .McSecCarveoutProtectWriteAccess = 0x00000000, - .EmcCaTrainingEnable = 0x00000000, - .EmcCaTrainingTimingCntl1 = 0x1f7df7df, - .EmcCaTrainingTimingCntl2 = 0x0000001f, - .SwizzleRankByteEncode = 0x0000006f, - .BootRomPatchControl = 0x00000000, - .BootRomPatchData = 0x00000000, - .McMtsCarveoutBom = 0x78000000, - .McMtsCarveoutAdrHi = 0x00000001, - .McMtsCarveoutSizeMb = 0x00000080, - .McMtsCarveoutRegCtrl = 0x00000001, -}, diff --git a/src/mainboard/google/rush_ryu/bct/sdram-hynix-4GB-924.inc b/src/mainboard/google/rush_ryu/bct/sdram-hynix-4GB-924.inc new file mode 100644 index 0000000000..bf40ef5b03 --- /dev/null +++ b/src/mainboard/google/rush_ryu/bct/sdram-hynix-4GB-924.inc @@ -0,0 +1,311 @@ +{ /* generated from sdram-hynix-4GB-924.cfg; do not edit. This is Hynix LPDDR3 */ + .MemoryType = NvBootMemoryType_LpDdr2, + .PllMInputDivider = 0x00000001, + .PllMFeedbackDivider = 0x0000004d, + .PllMStableTime = 0x0000012c, + .PllMSetupControl = 0x00000000, + .PllMSelectDiv2 = 0x00000000, + .PllMPDLshiftPh45 = 0x00000001, + .PllMPDLshiftPh90 = 0x00000001, + .PllMPDLshiftPh135 = 0x00000001, + .PllMKCP = 0x00000000, + .PllMKVCO = 0x00000000, + .EmcBctSpare0 = 0x00000000, + .EmcBctSpare1 = 0x00000000, + .EmcBctSpare2 = 0x00000000, + .EmcBctSpare3 = 0x00000000, + .EmcBctSpare4 = 0x00000000, + .EmcBctSpare5 = 0x00000000, + .EmcBctSpare6 = 0x00000000, + .EmcBctSpare7 = 0x00000000, + .EmcBctSpare8 = 0x00000000, + .EmcBctSpare9 = 0x00000000, + .EmcBctSpare10 = 0x00000000, + .EmcBctSpare11 = 0x00000000, + .EmcClockSource = 0x80000000, + .EmcAutoCalInterval = 0x001fffff, + .EmcAutoCalConfig = 0xa1430000, + .EmcAutoCalConfig2 = 0x00000000, + .EmcAutoCalConfig3 = 0x00000000, + .EmcAutoCalWait = 0x00000190, + .EmcAdrCfg = 0x00000001, + .EmcPinProgramWait = 0x00000000, + .EmcPinExtraWait = 0x00000000, + .EmcTimingControlWait = 0x00000000, + .EmcRc = 0x00000037, + .EmcRfc = 0x00000078, + .EmcRfcSlr = 0x00000000, + .EmcRas = 0x00000026, + .EmcRp = 0x00000010, + .EmcR2r = 0x00000000, + .EmcW2w = 0x00000000, + .EmcR2w = 0x00000010, + .EmcW2r = 0x00000010, + .EmcR2p = 0x00000006, + .EmcW2p = 0x00000017, + .EmcRdRcd = 0x00000010, + .EmcWrRcd = 0x00000010, + .EmcRrd = 0x00000009, + .EmcRext = 0x00000005, + .EmcWext = 0x00000000, + .EmcWdv = 0x00000007, + .EmcWdvMask = 0x00000007, + .EmcQUse = 0x00000011, + .EmcQuseWidth = 0x00000004, + .EmcIbdly = 0x00000000, + .EmcEInput = 0x00000006, + .EmcEInputDuration = 0x00000011, + .EmcPutermExtra = 0x000e0000, + .EmcPutermWidth = 0x00000006, + .EmcPutermAdj = 0x00000000, + .EmcCdbCntl1 = 0x00000000, + .EmcCdbCntl2 = 0x00000000, + .EmcCdbCntl3 = 0x00000000, + .EmcQRst = 0x00000005, + .EmcQSafe = 0x00000018, + .EmcRdv = 0x00000020, + .EmcRdvMask = 0x00000022, + .EmcQpop = 0x00000017, + .EmcCtt = 0x00000000, + .EmcCttDuration = 0x00000006, + .EmcRefresh = 0x00000dd4, + .EmcBurstRefreshNum = 0x00000000, + .EmcPreRefreshReqCnt = 0x00000375, + .EmcPdEx2Wr = 0x00000006, + .EmcPdEx2Rd = 0x00000006, + .EmcPChg2Pden = 0x00000010, + .EmcAct2Pden = 0x00000000, + .EmcAr2Pden = 0x00000001, + .EmcRw2Pden = 0x0000001b, + .EmcTxsr = 0x00000082, + .EmcTxsrDll = 0x00000082, + .EmcTcke = 0x00000007, + .EmcTckesr = 0x0000000e, + .EmcTpd = 0x00000007, + .EmcTfaw = 0x0000002d, + .EmcTrpab = 0x00000014, + .EmcTClkStable = 0x00000003, + .EmcTClkStop = 0x00000003, + .EmcTRefBw = 0x00000f04, + .EmcFbioCfg5 = 0x1363a896, + .EmcFbioCfg6 = 0x00000000, + .EmcFbioSpare = 0x00000000, + .EmcCfgRsv = 0xff00ff00, + .EmcMrs = 0x00000000, + .EmcEmrs = 0x00000000, + .EmcEmrs2 = 0x00000000, + .EmcEmrs3 = 0x00000000, + .EmcMrw1 = 0x00010083, + .EmcMrw2 = 0x0002001c, + .EmcMrw3 = 0x00030001, + .EmcMrw4 = 0x800b0000, + .EmcMrwExtra = 0x00010083, + .EmcWarmBootMrwExtra = 0x0002001c, + .EmcWarmBootExtraModeRegWriteEnable = 0x00000000, + .EmcExtraModeRegWriteEnable = 0x00000000, + .EmcMrwResetCommand = 0x003f00fc, + .EmcMrwResetNInitWait = 0x0000000a, + .EmcMrsWaitCnt = 0x039c0019, + .EmcMrsWaitCnt2 = 0x039c0019, + .EmcCfg = 0xd3300000, + .EmcCfg2 = 0x0000089f, + .EmcCfgPipe = 0x00004080, + .EmcDbg = 0x01000c00, + .EmcCmdQ = 0x10004408, + .EmcMc2EmcQ = 0x06000404, + .EmcDynSelfRefControl = 0x80001c77, + .AhbArbitrationXbarCtrlMemInitDone = 0x00000001, + .EmcCfgDigDll = 0xe00400b9, + .EmcCfgDigDllPeriod = 0x00008000, + .EmcDevSelect = 0x00000000, + .EmcSelDpdCtrl = 0x0004001c, + .EmcDllXformDqs0 = 0x0000000a, + .EmcDllXformDqs1 = 0x0000000a, + .EmcDllXformDqs2 = 0x0000000c, + .EmcDllXformDqs3 = 0x0000000a, + .EmcDllXformDqs4 = 0x00000008, + .EmcDllXformDqs5 = 0x00004008, + .EmcDllXformDqs6 = 0x0000000a, + .EmcDllXformDqs7 = 0x00000008, + .EmcDllXformDqs8 = 0x0000000a, + .EmcDllXformDqs9 = 0x0000000a, + .EmcDllXformDqs10 = 0x0000000a, + .EmcDllXformDqs11 = 0x0000000a, + .EmcDllXformDqs12 = 0x0000000a, + .EmcDllXformDqs13 = 0x0000000a, + .EmcDllXformDqs14 = 0x0000000a, + .EmcDllXformDqs15 = 0x0000000a, + .EmcDllXformQUse0 = 0x00000000, + .EmcDllXformQUse1 = 0x00000000, + .EmcDllXformQUse2 = 0x00000000, + .EmcDllXformQUse3 = 0x00000000, + .EmcDllXformQUse4 = 0x00000000, + .EmcDllXformQUse5 = 0x00000000, + .EmcDllXformQUse6 = 0x00000000, + .EmcDllXformQUse7 = 0x00000000, + .EmcDllXformAddr0 = 0x00024002, + .EmcDllXformAddr1 = 0x00024002, + .EmcDllXformAddr2 = 0x00000008, + .EmcDllXformAddr3 = 0x00024002, + .EmcDllXformAddr4 = 0x00024002, + .EmcDllXformAddr5 = 0x00000008, + .EmcDllXformQUse8 = 0x00000000, + .EmcDllXformQUse9 = 0x00000000, + .EmcDllXformQUse10 = 0x00000000, + .EmcDllXformQUse11 = 0x00000000, + .EmcDllXformQUse12 = 0x00000000, + .EmcDllXformQUse13 = 0x00000000, + .EmcDllXformQUse14 = 0x00000000, + .EmcDllXformQUse15 = 0x00000000, + .EmcDliTrimTxDqs0 = 0x00000008, + .EmcDliTrimTxDqs1 = 0x00000008, + .EmcDliTrimTxDqs2 = 0x00000008, + .EmcDliTrimTxDqs3 = 0x00000008, + .EmcDliTrimTxDqs4 = 0x00000008, + .EmcDliTrimTxDqs5 = 0x00000008, + .EmcDliTrimTxDqs6 = 0x00000008, + .EmcDliTrimTxDqs7 = 0x00000008, + .EmcDliTrimTxDqs8 = 0x00000008, + .EmcDliTrimTxDqs9 = 0x00000008, + .EmcDliTrimTxDqs10 = 0x00000008, + .EmcDliTrimTxDqs11 = 0x00000008, + .EmcDliTrimTxDqs12 = 0x00000008, + .EmcDliTrimTxDqs13 = 0x00000008, + .EmcDliTrimTxDqs14 = 0x00000008, + .EmcDliTrimTxDqs15 = 0x00000008, + .EmcDllXformDq0 = 0x0000000e, + .EmcDllXformDq1 = 0x0000000e, + .EmcDllXformDq2 = 0x0000000e, + .EmcDllXformDq3 = 0x0000000e, + .EmcDllXformDq4 = 0x0000000e, + .EmcDllXformDq5 = 0x0000000e, + .EmcDllXformDq6 = 0x0000000e, + .EmcDllXformDq7 = 0x0000000e, + .WarmBootWait = 0x00000001, + .EmcCttTermCtrl = 0x00000802, + .EmcOdtWrite = 0x00000000, + .EmcOdtRead = 0x00000000, + .EmcZcalInterval = 0x00064000, + .EmcZcalWaitCnt = 0x00000058, + .EmcZcalMrwCmd = 0x000a0056, + .EmcMrsResetDll = 0x00000000, + .EmcZcalInitDev0 = 0x840a00ff, + .EmcZcalInitDev1 = 0x440a00ff, + .EmcZcalInitWait = 0x00000001, + .EmcZcalWarmColdBootEnables = 0x00000003, + .EmcMrwLpddr2ZcalWarmBoot = 0x040a00ab, + .EmcZqCalDdr3WarmBoot = 0x00000000, + .EmcZcalWarmBootWait = 0x00000001, + .EmcMrsWarmBootEnable = 0x00000001, + .EmcMrsResetDllWait = 0x00000000, + .EmcMrsExtra = 0x00000000, + .EmcWarmBootMrsExtra = 0x00000000, + .EmcEmrsDdr2DllEnable = 0x00000000, + .EmcMrsDdr2DllReset = 0x00000000, + .EmcEmrsDdr2OcdCalib = 0x00000000, + .EmcDdr2Wait = 0x00000000, + .EmcClkenOverride = 0x00000000, + .McDisExtraSnapLevels = 0x00000000, + .EmcExtraRefreshNum = 0x00000002, + .EmcClkenOverrideAllWarmBoot = 0x00000000, + .McClkenOverrideAllWarmBoot = 0x00000000, + .EmcCfgDigDllPeriodWarmBoot = 0x00000003, + .PmcVddpSel = 0x00000001, + .PmcVddpSelWait = 0x00000002, + .PmcDdrPwr = 0x00000003, + .PmcDdrCfg = 0x00001000, + .PmcIoDpd3Req = 0x4ffefef7, + .PmcIoDpd3ReqWait = 0x00000000, + .PmcRegShort = 0x0000330f, + .PmcNoIoPower = 0x00000000, + .PmcPorDpdCtrlWait = 0x00000001, + .EmcXm2CmdPadCtrl = 0x00000220, + .EmcXm2CmdPadCtrl2 = 0x770c0000, + .EmcXm2CmdPadCtrl3 = 0x050c0000, + .EmcXm2CmdPadCtrl4 = 0x00000000, + .EmcXm2CmdPadCtrl5 = 0x00100100, + .EmcXm2DqsPadCtrl = 0x770c1414, + .EmcXm2DqsPadCtrl2 = 0x0120103d, + .EmcXm2DqsPadCtrl3 = 0x55555520, + .EmcXm2DqsPadCtrl4 = 0x00492492, + .EmcXm2DqsPadCtrl5 = 0x00492492, + .EmcXm2DqsPadCtrl6 = 0x55555500, + .EmcXm2DqPadCtrl = 0x770c2990, + .EmcXm2DqPadCtrl2 = 0x00000000, + .EmcXm2DqPadCtrl3 = 0x00000000, + .EmcXm2ClkPadCtrl = 0x77ffc004, + .EmcXm2ClkPadCtrl2 = 0x00000000, + .EmcXm2CompPadCtrl = 0x81f1f008, + .EmcXm2VttGenPadCtrl = 0x07070000, + .EmcXm2VttGenPadCtrl2 = 0x00000000, + .EmcXm2VttGenPadCtrl3 = 0x015ddddd, + .EmcAcpdControl = 0x00000000, + .EmcSwizzleRank0ByteCfg = 0x00001032, + .EmcSwizzleRank0Byte0 = 0x53067142, + .EmcSwizzleRank0Byte1 = 0x73025146, + .EmcSwizzleRank0Byte2 = 0x20136475, + .EmcSwizzleRank0Byte3 = 0x46273150, + .EmcSwizzleRank1ByteCfg = 0x00003210, + .EmcSwizzleRank1Byte0 = 0x73451026, + .EmcSwizzleRank1Byte1 = 0x73025146, + .EmcSwizzleRank1Byte2 = 0x20641735, + .EmcSwizzleRank1Byte3 = 0x42136075, + .EmcDsrVttgenDrv = 0x0000003f, + .EmcTxdsrvttgen = 0x00000000, + .EmcBgbiasCtl0 = 0x00000000, + .McEmemAdrCfg = 0x00000001, + .McEmemAdrCfgDev0 = 0x00080304, + .McEmemAdrCfgDev1 = 0x00080304, + .McEmemAdrCfgBankMask0 = 0x00001248, + .McEmemAdrCfgBankMask1 = 0x00002490, + .McEmemAdrCfgBankMask2 = 0x00000920, + .McEmemAdrCfgBankSwizzle3 = 0x00000001, + .McEmemCfg = 0x00001000, + .McEmemArbCfg = 0x0e00000d, + .McEmemArbOutstandingReq = 0x80000040, + .McEmemArbTimingRcd = 0x00000007, + .McEmemArbTimingRp = 0x00000008, + .McEmemArbTimingRc = 0x0000001b, + .McEmemArbTimingRas = 0x00000012, + .McEmemArbTimingFaw = 0x00000017, + .McEmemArbTimingRrd = 0x00000004, + .McEmemArbTimingRap2Pre = 0x00000004, + .McEmemArbTimingWap2Pre = 0x0000000e, + .McEmemArbTimingR2R = 0x00000004, + .McEmemArbTimingW2W = 0x00000001, + .McEmemArbTimingR2W = 0x00000009, + .McEmemArbTimingW2R = 0x00000009, + .McEmemArbDaTurns = 0x09090104, + .McEmemArbDaCovers = 0x001e141b, + .McEmemArbMisc0 = 0x71ae2a1c, + .McEmemArbMisc1 = 0x70000f02, + .McEmemArbRing1Throttle = 0x001f0000, + .McEmemArbOverride = 0x10000000, + .McEmemArbOverride1 = 0x00000000, + .McEmemArbRsv = 0xff00ff00, + .McClkenOverride = 0x00000000, + .McStatControl = 0x00000000, + .McDisplaySnapRing = 0x00000003, + .McVideoProtectBom = 0xfff00000, + .McVideoProtectBomAdrHi = 0x00000000, + .McVideoProtectSizeMb = 0x00000000, + .McVideoProtectVprOverride = 0xe4bac743, + .McVideoProtectVprOverride1 = 0x00000013, + .McVideoProtectGpuOverride0 = 0x00000000, + .McVideoProtectGpuOverride1 = 0x00000000, + .McSecCarveoutBom = 0xfff00000, + .McSecCarveoutAdrHi = 0x00000000, + .McSecCarveoutSizeMb = 0x00000000, + .McVideoProtectWriteAccess = 0x00000000, + .McSecCarveoutProtectWriteAccess = 0x00000000, + .EmcCaTrainingEnable = 0x00000001, + .EmcCaTrainingTimingCntl1 = 0x09257359, + .EmcCaTrainingTimingCntl2 = 0x00000017, + .SwizzleRankByteEncode = 0x00000008, + .BootRomPatchControl = 0x00000000, + .BootRomPatchData = 0x00000000, + .McMtsCarveoutBom = 0x78000000, + .McMtsCarveoutAdrHi = 0x00000001, + .McMtsCarveoutSizeMb = 0x00000080, + .McMtsCarveoutRegCtrl = 0x00000001, +}, diff --git a/src/mainboard/google/rush_ryu/bct/sdram-micron-4GB-528.inc b/src/mainboard/google/rush_ryu/bct/sdram-micron-4GB-528.inc new file mode 100644 index 0000000000..52180ccff6 --- /dev/null +++ b/src/mainboard/google/rush_ryu/bct/sdram-micron-4GB-528.inc @@ -0,0 +1,311 @@ +{ /* generated from sdram-micron-4GB-528.cfg; do not edit. */ + .MemoryType = NvBootMemoryType_LpDdr2, + .PllMInputDivider = 0x00000001, + .PllMFeedbackDivider = 0x0000002c, + .PllMStableTime = 0x0000012c, + .PllMSetupControl = 0x00000000, + .PllMSelectDiv2 = 0x00000000, + .PllMPDLshiftPh45 = 0x00000001, + .PllMPDLshiftPh90 = 0x00000001, + .PllMPDLshiftPh135 = 0x00000001, + .PllMKCP = 0x00000000, + .PllMKVCO = 0x00000000, + .EmcBctSpare0 = 0x00000000, + .EmcBctSpare1 = 0x00000000, + .EmcBctSpare2 = 0x00000000, + .EmcBctSpare3 = 0x00000000, + .EmcBctSpare4 = 0x00000000, + .EmcBctSpare5 = 0x00000000, + .EmcBctSpare6 = 0x00000000, + .EmcBctSpare7 = 0x00000000, + .EmcBctSpare8 = 0x00000000, + .EmcBctSpare9 = 0x00000000, + .EmcBctSpare10 = 0x00000000, + .EmcBctSpare11 = 0x00000000, + .EmcClockSource = 0x80000000, + .EmcAutoCalInterval = 0x001fffff, + .EmcAutoCalConfig = 0xa1430000, + .EmcAutoCalConfig2 = 0x00000000, + .EmcAutoCalConfig3 = 0x00000000, + .EmcAutoCalWait = 0x00000190, + .EmcAdrCfg = 0x00000001, + .EmcPinProgramWait = 0x00000000, + .EmcPinExtraWait = 0x00000000, + .EmcTimingControlWait = 0x00000000, + .EmcRc = 0x0000001f, + .EmcRfc = 0x00000044, + .EmcRfcSlr = 0x00000000, + .EmcRas = 0x00000016, + .EmcRp = 0x00000009, + .EmcR2r = 0x00000000, + .EmcW2w = 0x00000000, + .EmcR2w = 0x0000000a, + .EmcW2r = 0x00000009, + .EmcR2p = 0x00000003, + .EmcW2p = 0x0000000d, + .EmcRdRcd = 0x00000009, + .EmcWrRcd = 0x00000009, + .EmcRrd = 0x00000005, + .EmcRext = 0x00000004, + .EmcWext = 0x00000000, + .EmcWdv = 0x00000002, + .EmcWdvMask = 0x00000002, + .EmcQUse = 0x00000008, + .EmcQuseWidth = 0x00000003, + .EmcIbdly = 0x00000000, + .EmcEInput = 0x00000003, + .EmcEInputDuration = 0x0000000a, + .EmcPutermExtra = 0x00050000, + .EmcPutermWidth = 0x00000004, + .EmcPutermAdj = 0x00000000, + .EmcCdbCntl1 = 0x00000000, + .EmcCdbCntl2 = 0x00000000, + .EmcCdbCntl3 = 0x00000000, + .EmcQRst = 0x00000002, + .EmcQSafe = 0x00000011, + .EmcRdv = 0x00000015, + .EmcRdvMask = 0x00000017, + .EmcQpop = 0x0000000d, + .EmcCtt = 0x00000000, + .EmcCttDuration = 0x00000004, + .EmcRefresh = 0x000007cd, + .EmcBurstRefreshNum = 0x00000000, + .EmcPreRefreshReqCnt = 0x000001f3, + .EmcPdEx2Wr = 0x00000003, + .EmcPdEx2Rd = 0x00000003, + .EmcPChg2Pden = 0x00000009, + .EmcAct2Pden = 0x00000000, + .EmcAr2Pden = 0x00000001, + .EmcRw2Pden = 0x00000011, + .EmcTxsr = 0x0000004a, + .EmcTxsrDll = 0x0000004a, + .EmcTcke = 0x00000004, + .EmcTckesr = 0x00000008, + .EmcTpd = 0x00000004, + .EmcTfaw = 0x00000019, + .EmcTrpab = 0x0000000c, + .EmcTClkStable = 0x00000003, + .EmcTClkStop = 0x00000003, + .EmcTRefBw = 0x00000895, + .EmcFbioCfg5 = 0x1363a096, + .EmcFbioCfg6 = 0x00000000, + .EmcFbioSpare = 0x00000000, + .EmcCfgRsv = 0xff00ff00, + .EmcMrs = 0x00000000, + .EmcEmrs = 0x00000000, + .EmcEmrs2 = 0x00000000, + .EmcEmrs3 = 0x00000000, + .EmcMrw1 = 0x000100c3, + .EmcMrw2 = 0x00020006, + .EmcMrw3 = 0x00030001, + .EmcMrw4 = 0x800b0000, + .EmcMrwExtra = 0x000100c3, + .EmcWarmBootMrwExtra = 0x00020006, + .EmcWarmBootExtraModeRegWriteEnable = 0x00000000, + .EmcExtraModeRegWriteEnable = 0x00000000, + .EmcMrwResetCommand = 0x003f00fc, + .EmcMrwResetNInitWait = 0x0000000a, + .EmcMrsWaitCnt = 0x02100013, + .EmcMrsWaitCnt2 = 0x02100013, + .EmcCfg = 0xf3300000, + .EmcCfg2 = 0x0000089f, + .EmcCfgPipe = 0x000042a0, + .EmcDbg = 0x01000c00, + .EmcCmdQ = 0x10004408, + .EmcMc2EmcQ = 0x06000404, + .EmcDynSelfRefControl = 0x800010b3, + .AhbArbitrationXbarCtrlMemInitDone = 0x00000001, + .EmcCfgDigDll = 0xe01200b9, + .EmcCfgDigDllPeriod = 0x00008000, + .EmcDevSelect = 0x00000000, + .EmcSelDpdCtrl = 0x0004001c, + .EmcDllXformDqs0 = 0x007f400a, + .EmcDllXformDqs1 = 0x007f400a, + .EmcDllXformDqs2 = 0x007f400a, + .EmcDllXformDqs3 = 0x007f400a, + .EmcDllXformDqs4 = 0x007f400a, + .EmcDllXformDqs5 = 0x007f400a, + .EmcDllXformDqs6 = 0x007f400a, + .EmcDllXformDqs7 = 0x007f400a, + .EmcDllXformDqs8 = 0x007f400a, + .EmcDllXformDqs9 = 0x007f400a, + .EmcDllXformDqs10 = 0x007f400a, + .EmcDllXformDqs11 = 0x007f400a, + .EmcDllXformDqs12 = 0x007f400a, + .EmcDllXformDqs13 = 0x007f400a, + .EmcDllXformDqs14 = 0x007f400a, + .EmcDllXformDqs15 = 0x007f400a, + .EmcDllXformQUse0 = 0x00000000, + .EmcDllXformQUse1 = 0x00000000, + .EmcDllXformQUse2 = 0x00000000, + .EmcDllXformQUse3 = 0x00000000, + .EmcDllXformQUse4 = 0x00000000, + .EmcDllXformQUse5 = 0x00000000, + .EmcDllXformQUse6 = 0x00000000, + .EmcDllXformQUse7 = 0x00000000, + .EmcDllXformAddr0 = 0x00024000, + .EmcDllXformAddr1 = 0x00024000, + .EmcDllXformAddr2 = 0x00000006, + .EmcDllXformAddr3 = 0x00024000, + .EmcDllXformAddr4 = 0x00024000, + .EmcDllXformAddr5 = 0x00000006, + .EmcDllXformQUse8 = 0x00000000, + .EmcDllXformQUse9 = 0x00000000, + .EmcDllXformQUse10 = 0x00000000, + .EmcDllXformQUse11 = 0x00000000, + .EmcDllXformQUse12 = 0x00000000, + .EmcDllXformQUse13 = 0x00000000, + .EmcDllXformQUse14 = 0x00000000, + .EmcDllXformQUse15 = 0x00000000, + .EmcDliTrimTxDqs0 = 0x0000000b, + .EmcDliTrimTxDqs1 = 0x0000000b, + .EmcDliTrimTxDqs2 = 0x00000008, + .EmcDliTrimTxDqs3 = 0x0000000b, + .EmcDliTrimTxDqs4 = 0x0000000b, + .EmcDliTrimTxDqs5 = 0x00000008, + .EmcDliTrimTxDqs6 = 0x0000000b, + .EmcDliTrimTxDqs7 = 0x0000000b, + .EmcDliTrimTxDqs8 = 0x0000000b, + .EmcDliTrimTxDqs9 = 0x0000000b, + .EmcDliTrimTxDqs10 = 0x00000008, + .EmcDliTrimTxDqs11 = 0x0000000b, + .EmcDliTrimTxDqs12 = 0x0000000b, + .EmcDliTrimTxDqs13 = 0x00000008, + .EmcDliTrimTxDqs14 = 0x0000000b, + .EmcDliTrimTxDqs15 = 0x0000000b, + .EmcDllXformDq0 = 0x0000000c, + .EmcDllXformDq1 = 0x0000000c, + .EmcDllXformDq2 = 0x0000000c, + .EmcDllXformDq3 = 0x0000000c, + .EmcDllXformDq4 = 0x0000000c, + .EmcDllXformDq5 = 0x0000000c, + .EmcDllXformDq6 = 0x0000000c, + .EmcDllXformDq7 = 0x0000000c, + .WarmBootWait = 0x00000001, + .EmcCttTermCtrl = 0x00000802, + .EmcOdtWrite = 0x00000000, + .EmcOdtRead = 0x00000000, + .EmcZcalInterval = 0x00064000, + .EmcZcalWaitCnt = 0x00000034, + .EmcZcalMrwCmd = 0x000a0056, + .EmcMrsResetDll = 0x00000000, + .EmcZcalInitDev0 = 0x840a00ff, + .EmcZcalInitDev1 = 0x440a00ff, + .EmcZcalInitWait = 0x00000001, + .EmcZcalWarmColdBootEnables = 0x00000003, + .EmcMrwLpddr2ZcalWarmBoot = 0x040a00ab, + .EmcZqCalDdr3WarmBoot = 0x00000000, + .EmcZcalWarmBootWait = 0x00000001, + .EmcMrsWarmBootEnable = 0x00000001, + .EmcMrsResetDllWait = 0x00000000, + .EmcMrsExtra = 0x00000000, + .EmcWarmBootMrsExtra = 0x00000000, + .EmcEmrsDdr2DllEnable = 0x00000000, + .EmcMrsDdr2DllReset = 0x00000000, + .EmcEmrsDdr2OcdCalib = 0x00000000, + .EmcDdr2Wait = 0x00000000, + .EmcClkenOverride = 0x00000000, + .McDisExtraSnapLevels = 0x00000000, + .EmcExtraRefreshNum = 0x00000002, + .EmcClkenOverrideAllWarmBoot = 0x00000000, + .McClkenOverrideAllWarmBoot = 0x00000000, + .EmcCfgDigDllPeriodWarmBoot = 0x00000003, + .PmcVddpSel = 0x00000001, + .PmcVddpSelWait = 0x00000002, + .PmcDdrPwr = 0x00000003, + .PmcDdrCfg = 0x00001000, + .PmcIoDpd3Req = 0x4ffefef7, + .PmcIoDpd3ReqWait = 0x00000000, + .PmcRegShort = 0x0000330f, + .PmcNoIoPower = 0x00000000, + .PmcPorDpdCtrlWait = 0x00000001, + .EmcXm2CmdPadCtrl = 0x00000220, + .EmcXm2CmdPadCtrl2 = 0x770c0000, + .EmcXm2CmdPadCtrl3 = 0x050c0000, + .EmcXm2CmdPadCtrl4 = 0x00000000, + .EmcXm2CmdPadCtrl5 = 0x00100100, + .EmcXm2DqsPadCtrl = 0x770c1414, + .EmcXm2DqsPadCtrl2 = 0x0123123d, + .EmcXm2DqsPadCtrl3 = 0x51451420, + .EmcXm2DqsPadCtrl4 = 0x00514514, + .EmcXm2DqsPadCtrl5 = 0x00514514, + .EmcXm2DqsPadCtrl6 = 0x51451400, + .EmcXm2DqPadCtrl = 0x770c2990, + .EmcXm2DqPadCtrl2 = 0x00000000, + .EmcXm2DqPadCtrl3 = 0x00000000, + .EmcXm2ClkPadCtrl = 0x77ffc004, + .EmcXm2ClkPadCtrl2 = 0x00000000, + .EmcXm2CompPadCtrl = 0x81f1f008, + .EmcXm2VttGenPadCtrl = 0x07070000, + .EmcXm2VttGenPadCtrl2 = 0x0000003f, + .EmcXm2VttGenPadCtrl3 = 0x015ddddd, + .EmcAcpdControl = 0x00000000, + .EmcSwizzleRank0ByteCfg = 0x00001032, + .EmcSwizzleRank0Byte0 = 0x53067142, + .EmcSwizzleRank0Byte1 = 0x73025146, + .EmcSwizzleRank0Byte2 = 0x20136475, + .EmcSwizzleRank0Byte3 = 0x46273150, + .EmcSwizzleRank1ByteCfg = 0x00003210, + .EmcSwizzleRank1Byte0 = 0x73451026, + .EmcSwizzleRank1Byte1 = 0x73025146, + .EmcSwizzleRank1Byte2 = 0x20641735, + .EmcSwizzleRank1Byte3 = 0x42136075, + .EmcDsrVttgenDrv = 0x0000003f, + .EmcTxdsrvttgen = 0x00000000, + .EmcBgbiasCtl0 = 0x00000000, + .McEmemAdrCfg = 0x00000001, + .McEmemAdrCfgDev0 = 0x00080304, + .McEmemAdrCfgDev1 = 0x00080304, + .McEmemAdrCfgBankMask0 = 0x00001248, + .McEmemAdrCfgBankMask1 = 0x00002490, + .McEmemAdrCfgBankMask2 = 0x00000920, + .McEmemAdrCfgBankSwizzle3 = 0x00000001, + .McEmemCfg = 0x00001000, + .McEmemArbCfg = 0x0f000007, + .McEmemArbOutstandingReq = 0x80000040, + .McEmemArbTimingRcd = 0x00000003, + .McEmemArbTimingRp = 0x00000004, + .McEmemArbTimingRc = 0x00000010, + .McEmemArbTimingRas = 0x0000000a, + .McEmemArbTimingFaw = 0x0000000d, + .McEmemArbTimingRrd = 0x00000002, + .McEmemArbTimingRap2Pre = 0x00000002, + .McEmemArbTimingWap2Pre = 0x00000009, + .McEmemArbTimingR2R = 0x00000003, + .McEmemArbTimingW2W = 0x00000001, + .McEmemArbTimingR2W = 0x00000006, + .McEmemArbTimingW2R = 0x00000006, + .McEmemArbDaTurns = 0x06060103, + .McEmemArbDaCovers = 0x00120b10, + .McEmemArbMisc0 = 0x71c81811, + .McEmemArbMisc1 = 0x70000f03, + .McEmemArbRing1Throttle = 0x001f0000, + .McEmemArbOverride = 0x10000000, + .McEmemArbOverride1 = 0x00000000, + .McEmemArbRsv = 0xff00ff00, + .McClkenOverride = 0x00000000, + .McStatControl = 0x00000000, + .McDisplaySnapRing = 0x00000003, + .McVideoProtectBom = 0xfff00000, + .McVideoProtectBomAdrHi = 0x00000000, + .McVideoProtectSizeMb = 0x00000000, + .McVideoProtectVprOverride = 0xe4bac743, + .McVideoProtectVprOverride1 = 0x00000013, + .McVideoProtectGpuOverride0 = 0x00000000, + .McVideoProtectGpuOverride1 = 0x00000000, + .McSecCarveoutBom = 0xfff00000, + .McSecCarveoutAdrHi = 0x00000000, + .McSecCarveoutSizeMb = 0x00000000, + .McVideoProtectWriteAccess = 0x00000000, + .McSecCarveoutProtectWriteAccess = 0x00000000, + .EmcCaTrainingEnable = 0x00000001, + .EmcCaTrainingTimingCntl1 = 0x09257359, + .EmcCaTrainingTimingCntl2 = 0x00000017, + .SwizzleRankByteEncode = 0x00000008, + .BootRomPatchControl = 0x00000000, + .BootRomPatchData = 0x00000000, + .McMtsCarveoutBom = 0x78000000, + .McMtsCarveoutAdrHi = 0x00000001, + .McMtsCarveoutSizeMb = 0x00000080, + .McMtsCarveoutRegCtrl = 0x00000001, +}, diff --git a/src/mainboard/google/rush_ryu/bct/sdram-micron-4GB-924.inc b/src/mainboard/google/rush_ryu/bct/sdram-micron-4GB-924.inc new file mode 100644 index 0000000000..5f2594b927 --- /dev/null +++ b/src/mainboard/google/rush_ryu/bct/sdram-micron-4GB-924.inc @@ -0,0 +1,311 @@ +{ /* generated from sdram-micron-4GB-924.cfg; do not edit. This is Micron LPDDR3 */ + .MemoryType = NvBootMemoryType_LpDdr2, + .PllMInputDivider = 0x00000001, + .PllMFeedbackDivider = 0x0000004d, + .PllMStableTime = 0x0000012c, + .PllMSetupControl = 0x00000000, + .PllMSelectDiv2 = 0x00000000, + .PllMPDLshiftPh45 = 0x00000001, + .PllMPDLshiftPh90 = 0x00000001, + .PllMPDLshiftPh135 = 0x00000001, + .PllMKCP = 0x00000000, + .PllMKVCO = 0x00000000, + .EmcBctSpare0 = 0x00000000, + .EmcBctSpare1 = 0x00000000, + .EmcBctSpare2 = 0x00000000, + .EmcBctSpare3 = 0x00000000, + .EmcBctSpare4 = 0x00000000, + .EmcBctSpare5 = 0x00000000, + .EmcBctSpare6 = 0x00000000, + .EmcBctSpare7 = 0x00000000, + .EmcBctSpare8 = 0x00000000, + .EmcBctSpare9 = 0x00000000, + .EmcBctSpare10 = 0x00000000, + .EmcBctSpare11 = 0x00000000, + .EmcClockSource = 0x80000000, + .EmcAutoCalInterval = 0x001fffff, + .EmcAutoCalConfig = 0xa1430000, + .EmcAutoCalConfig2 = 0x00000000, + .EmcAutoCalConfig3 = 0x00000000, + .EmcAutoCalWait = 0x00000190, + .EmcAdrCfg = 0x00000001, + .EmcPinProgramWait = 0x00000000, + .EmcPinExtraWait = 0x00000000, + .EmcTimingControlWait = 0x00000000, + .EmcRc = 0x00000037, + .EmcRfc = 0x00000078, + .EmcRfcSlr = 0x00000000, + .EmcRas = 0x00000026, + .EmcRp = 0x00000010, + .EmcR2r = 0x00000000, + .EmcW2w = 0x00000000, + .EmcR2w = 0x00000010, + .EmcW2r = 0x00000010, + .EmcR2p = 0x00000006, + .EmcW2p = 0x00000017, + .EmcRdRcd = 0x00000010, + .EmcWrRcd = 0x00000010, + .EmcRrd = 0x00000009, + .EmcRext = 0x00000005, + .EmcWext = 0x00000000, + .EmcWdv = 0x00000007, + .EmcWdvMask = 0x00000007, + .EmcQUse = 0x00000011, + .EmcQuseWidth = 0x00000004, + .EmcIbdly = 0x00000000, + .EmcEInput = 0x00000006, + .EmcEInputDuration = 0x00000011, + .EmcPutermExtra = 0x000e0000, + .EmcPutermWidth = 0x00000006, + .EmcPutermAdj = 0x00000000, + .EmcCdbCntl1 = 0x00000000, + .EmcCdbCntl2 = 0x00000000, + .EmcCdbCntl3 = 0x00000000, + .EmcQRst = 0x00000005, + .EmcQSafe = 0x00000018, + .EmcRdv = 0x00000020, + .EmcRdvMask = 0x00000022, + .EmcQpop = 0x00000017, + .EmcCtt = 0x00000000, + .EmcCttDuration = 0x00000006, + .EmcRefresh = 0x00000dd4, + .EmcBurstRefreshNum = 0x00000000, + .EmcPreRefreshReqCnt = 0x00000375, + .EmcPdEx2Wr = 0x00000006, + .EmcPdEx2Rd = 0x00000006, + .EmcPChg2Pden = 0x00000010, + .EmcAct2Pden = 0x00000000, + .EmcAr2Pden = 0x00000001, + .EmcRw2Pden = 0x0000001b, + .EmcTxsr = 0x00000082, + .EmcTxsrDll = 0x00000082, + .EmcTcke = 0x00000007, + .EmcTckesr = 0x0000000e, + .EmcTpd = 0x00000007, + .EmcTfaw = 0x0000002d, + .EmcTrpab = 0x00000014, + .EmcTClkStable = 0x00000003, + .EmcTClkStop = 0x00000003, + .EmcTRefBw = 0x00000f04, + .EmcFbioCfg5 = 0x1363a896, + .EmcFbioCfg6 = 0x00000000, + .EmcFbioSpare = 0x00000000, + .EmcCfgRsv = 0xff00ff00, + .EmcMrs = 0x00000000, + .EmcEmrs = 0x00000000, + .EmcEmrs2 = 0x00000000, + .EmcEmrs3 = 0x00000000, + .EmcMrw1 = 0x00010083, + .EmcMrw2 = 0x0002001c, + .EmcMrw3 = 0x00030001, + .EmcMrw4 = 0x800b0000, + .EmcMrwExtra = 0x00010083, + .EmcWarmBootMrwExtra = 0x0002001c, + .EmcWarmBootExtraModeRegWriteEnable = 0x00000000, + .EmcExtraModeRegWriteEnable = 0x00000000, + .EmcMrwResetCommand = 0x003f00fc, + .EmcMrwResetNInitWait = 0x0000000a, + .EmcMrsWaitCnt = 0x039c0019, + .EmcMrsWaitCnt2 = 0x039c0019, + .EmcCfg = 0xf3300000, + .EmcCfg2 = 0x0000089f, + .EmcCfgPipe = 0x00004080, + .EmcDbg = 0x01000c00, + .EmcCmdQ = 0x10004408, + .EmcMc2EmcQ = 0x06000404, + .EmcDynSelfRefControl = 0x80001c77, + .AhbArbitrationXbarCtrlMemInitDone = 0x00000001, + .EmcCfgDigDll = 0xe00400b9, + .EmcCfgDigDllPeriod = 0x00008000, + .EmcDevSelect = 0x00000000, + .EmcSelDpdCtrl = 0x0004001c, + .EmcDllXformDqs0 = 0x00004006, + .EmcDllXformDqs1 = 0x007f800c, + .EmcDllXformDqs2 = 0x007fc008, + .EmcDllXformDqs3 = 0x007f400c, + .EmcDllXformDqs4 = 0x007fc006, + .EmcDllXformDqs5 = 0x00000006, + .EmcDllXformDqs6 = 0x007f800a, + .EmcDllXformDqs7 = 0x007f800c, + .EmcDllXformDqs8 = 0x007f400a, + .EmcDllXformDqs9 = 0x007f400a, + .EmcDllXformDqs10 = 0x007f400a, + .EmcDllXformDqs11 = 0x007f400a, + .EmcDllXformDqs12 = 0x007f400a, + .EmcDllXformDqs13 = 0x007f400a, + .EmcDllXformDqs14 = 0x007f400a, + .EmcDllXformDqs15 = 0x007f400a, + .EmcDllXformQUse0 = 0x00000000, + .EmcDllXformQUse1 = 0x00000000, + .EmcDllXformQUse2 = 0x00000000, + .EmcDllXformQUse3 = 0x00000000, + .EmcDllXformQUse4 = 0x00000000, + .EmcDllXformQUse5 = 0x00000000, + .EmcDllXformQUse6 = 0x00000000, + .EmcDllXformQUse7 = 0x00000000, + .EmcDllXformAddr0 = 0x00018004, + .EmcDllXformAddr1 = 0x00018004, + .EmcDllXformAddr2 = 0x00000008, + .EmcDllXformAddr3 = 0x00014004, + .EmcDllXformAddr4 = 0x0001c002, + .EmcDllXformAddr5 = 0x00000008, + .EmcDllXformQUse8 = 0x00000000, + .EmcDllXformQUse9 = 0x00000000, + .EmcDllXformQUse10 = 0x00000000, + .EmcDllXformQUse11 = 0x00000000, + .EmcDllXformQUse12 = 0x00000000, + .EmcDllXformQUse13 = 0x00000000, + .EmcDllXformQUse14 = 0x00000000, + .EmcDllXformQUse15 = 0x00000000, + .EmcDliTrimTxDqs0 = 0x00000008, + .EmcDliTrimTxDqs1 = 0x00000008, + .EmcDliTrimTxDqs2 = 0x00000008, + .EmcDliTrimTxDqs3 = 0x00000008, + .EmcDliTrimTxDqs4 = 0x00000008, + .EmcDliTrimTxDqs5 = 0x00000008, + .EmcDliTrimTxDqs6 = 0x00000008, + .EmcDliTrimTxDqs7 = 0x00000008, + .EmcDliTrimTxDqs8 = 0x00000008, + .EmcDliTrimTxDqs9 = 0x00000008, + .EmcDliTrimTxDqs10 = 0x00000008, + .EmcDliTrimTxDqs11 = 0x00000008, + .EmcDliTrimTxDqs12 = 0x00000008, + .EmcDliTrimTxDqs13 = 0x00000008, + .EmcDliTrimTxDqs14 = 0x00000008, + .EmcDliTrimTxDqs15 = 0x00000008, + .EmcDllXformDq0 = 0x0000000a, + .EmcDllXformDq1 = 0x0000000a, + .EmcDllXformDq2 = 0x0000000a, + .EmcDllXformDq3 = 0x0000000a, + .EmcDllXformDq4 = 0x0000000a, + .EmcDllXformDq5 = 0x0000000a, + .EmcDllXformDq6 = 0x0000000a, + .EmcDllXformDq7 = 0x0000000a, + .WarmBootWait = 0x00000001, + .EmcCttTermCtrl = 0x00000802, + .EmcOdtWrite = 0x00000000, + .EmcOdtRead = 0x00000000, + .EmcZcalInterval = 0x00064000, + .EmcZcalWaitCnt = 0x00000058, + .EmcZcalMrwCmd = 0x000a0056, + .EmcMrsResetDll = 0x00000000, + .EmcZcalInitDev0 = 0x840a00ff, + .EmcZcalInitDev1 = 0x440a00ff, + .EmcZcalInitWait = 0x00000001, + .EmcZcalWarmColdBootEnables = 0x00000003, + .EmcMrwLpddr2ZcalWarmBoot = 0x040a00ab, + .EmcZqCalDdr3WarmBoot = 0x00000000, + .EmcZcalWarmBootWait = 0x00000001, + .EmcMrsWarmBootEnable = 0x00000001, + .EmcMrsResetDllWait = 0x00000000, + .EmcMrsExtra = 0x00000000, + .EmcWarmBootMrsExtra = 0x00000000, + .EmcEmrsDdr2DllEnable = 0x00000000, + .EmcMrsDdr2DllReset = 0x00000000, + .EmcEmrsDdr2OcdCalib = 0x00000000, + .EmcDdr2Wait = 0x00000000, + .EmcClkenOverride = 0x00000000, + .McDisExtraSnapLevels = 0x00000000, + .EmcExtraRefreshNum = 0x00000002, + .EmcClkenOverrideAllWarmBoot = 0x00000000, + .McClkenOverrideAllWarmBoot = 0x00000000, + .EmcCfgDigDllPeriodWarmBoot = 0x00000003, + .PmcVddpSel = 0x00000001, + .PmcVddpSelWait = 0x00000002, + .PmcDdrPwr = 0x00000003, + .PmcDdrCfg = 0x00001000, + .PmcIoDpd3Req = 0x4ffefef7, + .PmcIoDpd3ReqWait = 0x00000000, + .PmcRegShort = 0x0000330f, + .PmcNoIoPower = 0x00000000, + .PmcPorDpdCtrlWait = 0x00000001, + .EmcXm2CmdPadCtrl = 0x00000220, + .EmcXm2CmdPadCtrl2 = 0x770c0000, + .EmcXm2CmdPadCtrl3 = 0x050c0000, + .EmcXm2CmdPadCtrl4 = 0x00000000, + .EmcXm2CmdPadCtrl5 = 0x00100100, + .EmcXm2DqsPadCtrl = 0x770c1414, + .EmcXm2DqsPadCtrl2 = 0x0120103d, + .EmcXm2DqsPadCtrl3 = 0x65965920, + .EmcXm2DqsPadCtrl4 = 0x00596596, + .EmcXm2DqsPadCtrl5 = 0x00596596, + .EmcXm2DqsPadCtrl6 = 0x65965900, + .EmcXm2DqPadCtrl = 0x770c2990, + .EmcXm2DqPadCtrl2 = 0x00000000, + .EmcXm2DqPadCtrl3 = 0x00000000, + .EmcXm2ClkPadCtrl = 0x77ffc004, + .EmcXm2ClkPadCtrl2 = 0x00000000, + .EmcXm2CompPadCtrl = 0x81f1f008, + .EmcXm2VttGenPadCtrl = 0x07070000, + .EmcXm2VttGenPadCtrl2 = 0x00000000, + .EmcXm2VttGenPadCtrl3 = 0x015ddddd, + .EmcAcpdControl = 0x00000000, + .EmcSwizzleRank0ByteCfg = 0x00001032, + .EmcSwizzleRank0Byte0 = 0x53067142, + .EmcSwizzleRank0Byte1 = 0x73025146, + .EmcSwizzleRank0Byte2 = 0x20136475, + .EmcSwizzleRank0Byte3 = 0x46273150, + .EmcSwizzleRank1ByteCfg = 0x00003210, + .EmcSwizzleRank1Byte0 = 0x73451026, + .EmcSwizzleRank1Byte1 = 0x73025146, + .EmcSwizzleRank1Byte2 = 0x20641735, + .EmcSwizzleRank1Byte3 = 0x42136075, + .EmcDsrVttgenDrv = 0x0000003f, + .EmcTxdsrvttgen = 0x00000000, + .EmcBgbiasCtl0 = 0x00000000, + .McEmemAdrCfg = 0x00000001, + .McEmemAdrCfgDev0 = 0x00080304, + .McEmemAdrCfgDev1 = 0x00080304, + .McEmemAdrCfgBankMask0 = 0x00001248, + .McEmemAdrCfgBankMask1 = 0x00002490, + .McEmemAdrCfgBankMask2 = 0x00000920, + .McEmemAdrCfgBankSwizzle3 = 0x00000001, + .McEmemCfg = 0x00001000, + .McEmemArbCfg = 0x0e00000d, + .McEmemArbOutstandingReq = 0x80000040, + .McEmemArbTimingRcd = 0x00000007, + .McEmemArbTimingRp = 0x00000008, + .McEmemArbTimingRc = 0x0000001b, + .McEmemArbTimingRas = 0x00000012, + .McEmemArbTimingFaw = 0x00000017, + .McEmemArbTimingRrd = 0x00000004, + .McEmemArbTimingRap2Pre = 0x00000004, + .McEmemArbTimingWap2Pre = 0x0000000e, + .McEmemArbTimingR2R = 0x00000004, + .McEmemArbTimingW2W = 0x00000001, + .McEmemArbTimingR2W = 0x00000009, + .McEmemArbTimingW2R = 0x00000009, + .McEmemArbDaTurns = 0x09090104, + .McEmemArbDaCovers = 0x001e141b, + .McEmemArbMisc0 = 0x71ae2a1c, + .McEmemArbMisc1 = 0x70000f02, + .McEmemArbRing1Throttle = 0x001f0000, + .McEmemArbOverride = 0x10000000, + .McEmemArbOverride1 = 0x00000000, + .McEmemArbRsv = 0xff00ff00, + .McClkenOverride = 0x00000000, + .McStatControl = 0x00000000, + .McDisplaySnapRing = 0x00000003, + .McVideoProtectBom = 0xfff00000, + .McVideoProtectBomAdrHi = 0x00000000, + .McVideoProtectSizeMb = 0x00000000, + .McVideoProtectVprOverride = 0xe4bac743, + .McVideoProtectVprOverride1 = 0x00000013, + .McVideoProtectGpuOverride0 = 0x00000000, + .McVideoProtectGpuOverride1 = 0x00000000, + .McSecCarveoutBom = 0xfff00000, + .McSecCarveoutAdrHi = 0x00000000, + .McSecCarveoutSizeMb = 0x00000000, + .McVideoProtectWriteAccess = 0x00000000, + .McSecCarveoutProtectWriteAccess = 0x00000000, + .EmcCaTrainingEnable = 0x00000001, + .EmcCaTrainingTimingCntl1 = 0x09257359, + .EmcCaTrainingTimingCntl2 = 0x00000017, + .SwizzleRankByteEncode = 0x00000008, + .BootRomPatchControl = 0x00000000, + .BootRomPatchData = 0x00000000, + .McMtsCarveoutBom = 0x78000000, + .McMtsCarveoutAdrHi = 0x00000001, + .McMtsCarveoutSizeMb = 0x00000080, + .McMtsCarveoutRegCtrl = 0x00000001, +}, diff --git a/src/mainboard/google/rush_ryu/bct/sdram-samsung-4GB-924.inc b/src/mainboard/google/rush_ryu/bct/sdram-samsung-4GB-924.inc new file mode 100644 index 0000000000..8f19db26a9 --- /dev/null +++ b/src/mainboard/google/rush_ryu/bct/sdram-samsung-4GB-924.inc @@ -0,0 +1,311 @@ +{ /* generated from sdram-4GB-924.cfg; do not edit. This is SAMSUNG LPDDR3 */ + .MemoryType = NvBootMemoryType_LpDdr2, + .PllMInputDivider = 0x00000001, + .PllMFeedbackDivider = 0x0000004d, + .PllMStableTime = 0x0000012c, + .PllMSetupControl = 0x00000000, + .PllMSelectDiv2 = 0x00000000, + .PllMPDLshiftPh45 = 0x00000001, + .PllMPDLshiftPh90 = 0x00000001, + .PllMPDLshiftPh135 = 0x00000001, + .PllMKCP = 0x00000000, + .PllMKVCO = 0x00000000, + .EmcBctSpare0 = 0x00000000, + .EmcBctSpare1 = 0x00000000, + .EmcBctSpare2 = 0x00000000, + .EmcBctSpare3 = 0x00000000, + .EmcBctSpare4 = 0x00000000, + .EmcBctSpare5 = 0x00000000, + .EmcBctSpare6 = 0x00000000, + .EmcBctSpare7 = 0x00000000, + .EmcBctSpare8 = 0x00000000, + .EmcBctSpare9 = 0x00000000, + .EmcBctSpare10 = 0x00000000, + .EmcBctSpare11 = 0x00000000, + .EmcClockSource = 0x80000000, + .EmcAutoCalInterval = 0x001fffff, + .EmcAutoCalConfig = 0xa1430000, + .EmcAutoCalConfig2 = 0x00000000, + .EmcAutoCalConfig3 = 0x00000000, + .EmcAutoCalWait = 0x00000190, + .EmcAdrCfg = 0x00000001, + .EmcPinProgramWait = 0x00000000, + .EmcPinExtraWait = 0x00000000, + .EmcTimingControlWait = 0x00000000, + .EmcRc = 0x00000037, + .EmcRfc = 0x00000078, + .EmcRfcSlr = 0x00000000, + .EmcRas = 0x00000026, + .EmcRp = 0x00000010, + .EmcR2r = 0x00000000, + .EmcW2w = 0x00000000, + .EmcR2w = 0x00000010, + .EmcW2r = 0x00000010, + .EmcR2p = 0x00000006, + .EmcW2p = 0x00000017, + .EmcRdRcd = 0x00000010, + .EmcWrRcd = 0x00000010, + .EmcRrd = 0x00000009, + .EmcRext = 0x00000005, + .EmcWext = 0x00000000, + .EmcWdv = 0x00000007, + .EmcWdvMask = 0x00000007, + .EmcQUse = 0x00000011, + .EmcQuseWidth = 0x00000004, + .EmcIbdly = 0x00000000, + .EmcEInput = 0x00000006, + .EmcEInputDuration = 0x00000011, + .EmcPutermExtra = 0x000e0000, + .EmcPutermWidth = 0x00000006, + .EmcPutermAdj = 0x00000000, + .EmcCdbCntl1 = 0x00000000, + .EmcCdbCntl2 = 0x00000000, + .EmcCdbCntl3 = 0x00000000, + .EmcQRst = 0x00000005, + .EmcQSafe = 0x00000018, + .EmcRdv = 0x00000020, + .EmcRdvMask = 0x00000022, + .EmcQpop = 0x00000017, + .EmcCtt = 0x00000000, + .EmcCttDuration = 0x00000006, + .EmcRefresh = 0x00000dd4, + .EmcBurstRefreshNum = 0x00000000, + .EmcPreRefreshReqCnt = 0x00000375, + .EmcPdEx2Wr = 0x00000006, + .EmcPdEx2Rd = 0x00000006, + .EmcPChg2Pden = 0x00000010, + .EmcAct2Pden = 0x00000000, + .EmcAr2Pden = 0x00000001, + .EmcRw2Pden = 0x0000001b, + .EmcTxsr = 0x00000082, + .EmcTxsrDll = 0x00000082, + .EmcTcke = 0x00000007, + .EmcTckesr = 0x0000000e, + .EmcTpd = 0x00000007, + .EmcTfaw = 0x0000002d, + .EmcTrpab = 0x00000014, + .EmcTClkStable = 0x00000003, + .EmcTClkStop = 0x00000003, + .EmcTRefBw = 0x00000f04, + .EmcFbioCfg5 = 0x1363a896, + .EmcFbioCfg6 = 0x00000000, + .EmcFbioSpare = 0x00000000, + .EmcCfgRsv = 0xff00ff00, + .EmcMrs = 0x00000000, + .EmcEmrs = 0x00000000, + .EmcEmrs2 = 0x00000000, + .EmcEmrs3 = 0x00000000, + .EmcMrw1 = 0x00010083, + .EmcMrw2 = 0x0002001c, + .EmcMrw3 = 0x00030001, + .EmcMrw4 = 0x800b0000, + .EmcMrwExtra = 0x00010083, + .EmcWarmBootMrwExtra = 0x0002001c, + .EmcWarmBootExtraModeRegWriteEnable = 0x00000000, + .EmcExtraModeRegWriteEnable = 0x00000000, + .EmcMrwResetCommand = 0x003f00fc, + .EmcMrwResetNInitWait = 0x0000000a, + .EmcMrsWaitCnt = 0x039c0019, + .EmcMrsWaitCnt2 = 0x039c0019, + .EmcCfg = 0xf3300000, + .EmcCfg2 = 0x0000089f, + .EmcCfgPipe = 0x00004080, + .EmcDbg = 0x01000c00, + .EmcCmdQ = 0x10004408, + .EmcMc2EmcQ = 0x06000404, + .EmcDynSelfRefControl = 0x80001c77, + .AhbArbitrationXbarCtrlMemInitDone = 0x00000001, + .EmcCfgDigDll = 0xe00400b9, + .EmcCfgDigDllPeriod = 0x00008000, + .EmcDevSelect = 0x00000000, + .EmcSelDpdCtrl = 0x0004001c, + .EmcDllXformDqs0 = 0x007fc00a, + .EmcDllXformDqs1 = 0x007fc00a, + .EmcDllXformDqs2 = 0x007fc00a, + .EmcDllXformDqs3 = 0x007fc00a, + .EmcDllXformDqs4 = 0x007f800c, + .EmcDllXformDqs5 = 0x00000008, + .EmcDllXformDqs6 = 0x007f800a, + .EmcDllXformDqs7 = 0x007fc00a, + .EmcDllXformDqs8 = 0x007f400a, + .EmcDllXformDqs9 = 0x007f400a, + .EmcDllXformDqs10 = 0x007f400a, + .EmcDllXformDqs11 = 0x007f400a, + .EmcDllXformDqs12 = 0x007f400a, + .EmcDllXformDqs13 = 0x007f400a, + .EmcDllXformDqs14 = 0x007f400a, + .EmcDllXformDqs15 = 0x007f400a, + .EmcDllXformQUse0 = 0x00000000, + .EmcDllXformQUse1 = 0x00000000, + .EmcDllXformQUse2 = 0x00000000, + .EmcDllXformQUse3 = 0x00000000, + .EmcDllXformQUse4 = 0x00000000, + .EmcDllXformQUse5 = 0x00000000, + .EmcDllXformQUse6 = 0x00000000, + .EmcDllXformQUse7 = 0x00000000, + .EmcDllXformAddr0 = 0x00018002, + .EmcDllXformAddr1 = 0x00018002, + .EmcDllXformAddr2 = 0x00000008, + .EmcDllXformAddr3 = 0x00018002, + .EmcDllXformAddr4 = 0x00018002, + .EmcDllXformAddr5 = 0x00000008, + .EmcDllXformQUse8 = 0x00000000, + .EmcDllXformQUse9 = 0x00000000, + .EmcDllXformQUse10 = 0x00000000, + .EmcDllXformQUse11 = 0x00000000, + .EmcDllXformQUse12 = 0x00000000, + .EmcDllXformQUse13 = 0x00000000, + .EmcDllXformQUse14 = 0x00000000, + .EmcDllXformQUse15 = 0x00000000, + .EmcDliTrimTxDqs0 = 0x00000008, + .EmcDliTrimTxDqs1 = 0x00000008, + .EmcDliTrimTxDqs2 = 0x00000008, + .EmcDliTrimTxDqs3 = 0x00000008, + .EmcDliTrimTxDqs4 = 0x00000008, + .EmcDliTrimTxDqs5 = 0x00000008, + .EmcDliTrimTxDqs6 = 0x00000008, + .EmcDliTrimTxDqs7 = 0x00000008, + .EmcDliTrimTxDqs8 = 0x00000008, + .EmcDliTrimTxDqs9 = 0x00000008, + .EmcDliTrimTxDqs10 = 0x00000008, + .EmcDliTrimTxDqs11 = 0x00000008, + .EmcDliTrimTxDqs12 = 0x00000008, + .EmcDliTrimTxDqs13 = 0x00000008, + .EmcDliTrimTxDqs14 = 0x00000008, + .EmcDliTrimTxDqs15 = 0x00000008, + .EmcDllXformDq0 = 0x0000000c, + .EmcDllXformDq1 = 0x0000000c, + .EmcDllXformDq2 = 0x0000000c, + .EmcDllXformDq3 = 0x0000000c, + .EmcDllXformDq4 = 0x0000000c, + .EmcDllXformDq5 = 0x0000000c, + .EmcDllXformDq6 = 0x0000000c, + .EmcDllXformDq7 = 0x0000000c, + .WarmBootWait = 0x00000001, + .EmcCttTermCtrl = 0x00000802, + .EmcOdtWrite = 0x00000000, + .EmcOdtRead = 0x00000000, + .EmcZcalInterval = 0x00064000, + .EmcZcalWaitCnt = 0x00000058, + .EmcZcalMrwCmd = 0x000a0056, + .EmcMrsResetDll = 0x00000000, + .EmcZcalInitDev0 = 0x840a00ff, + .EmcZcalInitDev1 = 0x440a00ff, + .EmcZcalInitWait = 0x00000001, + .EmcZcalWarmColdBootEnables = 0x00000003, + .EmcMrwLpddr2ZcalWarmBoot = 0x040a00ab, + .EmcZqCalDdr3WarmBoot = 0x00000000, + .EmcZcalWarmBootWait = 0x00000001, + .EmcMrsWarmBootEnable = 0x00000001, + .EmcMrsResetDllWait = 0x00000000, + .EmcMrsExtra = 0x00000000, + .EmcWarmBootMrsExtra = 0x00000000, + .EmcEmrsDdr2DllEnable = 0x00000000, + .EmcMrsDdr2DllReset = 0x00000000, + .EmcEmrsDdr2OcdCalib = 0x00000000, + .EmcDdr2Wait = 0x00000000, + .EmcClkenOverride = 0x00000000, + .McDisExtraSnapLevels = 0x00000000, + .EmcExtraRefreshNum = 0x00000002, + .EmcClkenOverrideAllWarmBoot = 0x00000000, + .McClkenOverrideAllWarmBoot = 0x00000000, + .EmcCfgDigDllPeriodWarmBoot = 0x00000003, + .PmcVddpSel = 0x00000001, + .PmcVddpSelWait = 0x00000002, + .PmcDdrPwr = 0x00000003, + .PmcDdrCfg = 0x00001000, + .PmcIoDpd3Req = 0x4ffefef7, + .PmcIoDpd3ReqWait = 0x00000000, + .PmcRegShort = 0x0000330f, + .PmcNoIoPower = 0x00000000, + .PmcPorDpdCtrlWait = 0x00000001, + .EmcXm2CmdPadCtrl = 0x00000220, + .EmcXm2CmdPadCtrl2 = 0x770c0000, + .EmcXm2CmdPadCtrl3 = 0x050c0000, + .EmcXm2CmdPadCtrl4 = 0x00000000, + .EmcXm2CmdPadCtrl5 = 0x00100100, + .EmcXm2DqsPadCtrl = 0x770c1414, + .EmcXm2DqsPadCtrl2 = 0x0120103d, + .EmcXm2DqsPadCtrl3 = 0x55555520, + .EmcXm2DqsPadCtrl4 = 0x00596596, + .EmcXm2DqsPadCtrl5 = 0x00596596, + .EmcXm2DqsPadCtrl6 = 0x55555500, + .EmcXm2DqPadCtrl = 0x770c2990, + .EmcXm2DqPadCtrl2 = 0x00000000, + .EmcXm2DqPadCtrl3 = 0x00000000, + .EmcXm2ClkPadCtrl = 0x77ffc004, + .EmcXm2ClkPadCtrl2 = 0x00000000, + .EmcXm2CompPadCtrl = 0x81f1f008, + .EmcXm2VttGenPadCtrl = 0x07070000, + .EmcXm2VttGenPadCtrl2 = 0x00000000, + .EmcXm2VttGenPadCtrl3 = 0x015ddddd, + .EmcAcpdControl = 0x00000000, + .EmcSwizzleRank0ByteCfg = 0x00001032, + .EmcSwizzleRank0Byte0 = 0x53067142, + .EmcSwizzleRank0Byte1 = 0x73025146, + .EmcSwizzleRank0Byte2 = 0x20136475, + .EmcSwizzleRank0Byte3 = 0x46273150, + .EmcSwizzleRank1ByteCfg = 0x00003210, + .EmcSwizzleRank1Byte0 = 0x73451026, + .EmcSwizzleRank1Byte1 = 0x73025146, + .EmcSwizzleRank1Byte2 = 0x20641735, + .EmcSwizzleRank1Byte3 = 0x42136075, + .EmcDsrVttgenDrv = 0x0000003f, + .EmcTxdsrvttgen = 0x00000000, + .EmcBgbiasCtl0 = 0x00000000, + .McEmemAdrCfg = 0x00000001, + .McEmemAdrCfgDev0 = 0x00080304, + .McEmemAdrCfgDev1 = 0x00080304, + .McEmemAdrCfgBankMask0 = 0x00001248, + .McEmemAdrCfgBankMask1 = 0x00002490, + .McEmemAdrCfgBankMask2 = 0x00000920, + .McEmemAdrCfgBankSwizzle3 = 0x00000001, + .McEmemCfg = 0x00001000, + .McEmemArbCfg = 0x0e00000d, + .McEmemArbOutstandingReq = 0x80000040, + .McEmemArbTimingRcd = 0x00000007, + .McEmemArbTimingRp = 0x00000008, + .McEmemArbTimingRc = 0x0000001b, + .McEmemArbTimingRas = 0x00000012, + .McEmemArbTimingFaw = 0x00000017, + .McEmemArbTimingRrd = 0x00000004, + .McEmemArbTimingRap2Pre = 0x00000004, + .McEmemArbTimingWap2Pre = 0x0000000e, + .McEmemArbTimingR2R = 0x00000004, + .McEmemArbTimingW2W = 0x00000001, + .McEmemArbTimingR2W = 0x00000009, + .McEmemArbTimingW2R = 0x00000009, + .McEmemArbDaTurns = 0x09090104, + .McEmemArbDaCovers = 0x001e141b, + .McEmemArbMisc0 = 0x71ae2a1c, + .McEmemArbMisc1 = 0x70000f02, + .McEmemArbRing1Throttle = 0x001f0000, + .McEmemArbOverride = 0x10000000, + .McEmemArbOverride1 = 0x00000000, + .McEmemArbRsv = 0xff00ff00, + .McClkenOverride = 0x00000000, + .McStatControl = 0x00000000, + .McDisplaySnapRing = 0x00000003, + .McVideoProtectBom = 0xfff00000, + .McVideoProtectBomAdrHi = 0x00000000, + .McVideoProtectSizeMb = 0x00000000, + .McVideoProtectVprOverride = 0xe4bac743, + .McVideoProtectVprOverride1 = 0x00000013, + .McVideoProtectGpuOverride0 = 0x00000000, + .McVideoProtectGpuOverride1 = 0x00000000, + .McSecCarveoutBom = 0xfff00000, + .McSecCarveoutAdrHi = 0x00000000, + .McSecCarveoutSizeMb = 0x00000000, + .McVideoProtectWriteAccess = 0x00000000, + .McSecCarveoutProtectWriteAccess = 0x00000000, + .EmcCaTrainingEnable = 0x00000001, + .EmcCaTrainingTimingCntl1 = 0x09257359, + .EmcCaTrainingTimingCntl2 = 0x00000017, + .SwizzleRankByteEncode = 0x00000008, + .BootRomPatchControl = 0x00000000, + .BootRomPatchData = 0x00000000, + .McMtsCarveoutBom = 0x78000000, + .McMtsCarveoutAdrHi = 0x00000001, + .McMtsCarveoutSizeMb = 0x00000080, + .McMtsCarveoutRegCtrl = 0x00000001, +}, diff --git a/src/mainboard/google/rush_ryu/bct/sdram-unused.inc b/src/mainboard/google/rush_ryu/bct/sdram-unused.inc deleted file mode 100644 index bef63dcecc..0000000000 --- a/src/mainboard/google/rush_ryu/bct/sdram-unused.inc +++ /dev/null @@ -1,4 +0,0 @@ -{ /* dummy. */ - .MemoryType = NvBootMemoryType_Unused, - 0, -}, diff --git a/src/mainboard/google/rush_ryu/sdram_configs.c b/src/mainboard/google/rush_ryu/sdram_configs.c index 462fec2afe..66978d3df4 100644 --- a/src/mainboard/google/rush_ryu/sdram_configs.c +++ b/src/mainboard/google/rush_ryu/sdram_configs.c @@ -19,36 +19,28 @@ #include <console/console.h> #include <soc/sdram_configs.h> +#include <stdlib.h> -static struct sdram_params sdram_configs[] = { -#include "bct/sdram-hynix-2GB-924.inc" /* ram_code = 0000 */ -#include "bct/sdram-hynix-4GB-792.inc" /* ram_code = 0001 */ -#include "bct/sdram-unused.inc" /* ram_code = 0010 */ -#include "bct/sdram-unused.inc" /* ram_code = 0011 */ -#include "bct/sdram-unused.inc" /* ram_code = 0100 */ -#include "bct/sdram-unused.inc" /* ram_code = 0101 */ -#include "bct/sdram-unused.inc" /* ram_code = 0110 */ -#include "bct/sdram-unused.inc" /* ram_code = 0111 */ -#include "bct/sdram-unused.inc" /* ram_code = 1000 */ -#include "bct/sdram-unused.inc" /* ram_code = 1001 */ -#include "bct/sdram-unused.inc" /* ram_code = 1010 */ -#include "bct/sdram-unused.inc" /* ram_code = 1011 */ -#include "bct/sdram-unused.inc" /* ram_code = 1100 */ -#include "bct/sdram-unused.inc" /* ram_code = 1101 */ -#include "bct/sdram-unused.inc" /* ram_code = 1110 */ -#include "bct/sdram-unused.inc" /* ram_code = 1111 */ +static const struct sdram_params sdram_configs[] = { +#include "bct/sdram-samsung-4GB-924.inc" /* ram_code = 00 */ +#include "bct/sdram-hynix-4GB-924.inc" /* ram_code = 01 */ +#include "bct/sdram-micron-4GB-924.inc" /* ram_code = 10 */ +#include "bct/sdram-micron-4GB-528.inc" /* ram_code = 11 */ }; const struct sdram_params *get_sdram_config() { uint32_t ramcode = sdram_get_ram_code(); + /* * If we need to apply some special hacks to RAMCODE mapping (ex, by * board_id), do that now. */ + ramcode &= 0x3; /* Only bits 1:0 used on Ryu */ printk(BIOS_SPEW, "%s: RAMCODE=%d\n", __func__, ramcode); - if (ramcode >= sizeof(sdram_configs) / sizeof(sdram_configs[0]) || + + if (ramcode >= ARRAY_SIZE(sdram_configs) || sdram_configs[ramcode].MemoryType == NvBootMemoryType_Unused) { die("Invalid RAMCODE."); } |