Skip to content

Instantly share code, notes, and snippets.

@CallMeFoxie
Created August 2, 2020 19:49
Show Gist options
  • Save CallMeFoxie/c5b6fbe286563a364ee1503b11bf5cb7 to your computer and use it in GitHub Desktop.
Save CallMeFoxie/c5b6fbe286563a364ee1503b11bf5cb7 to your computer and use it in GitHub Desktop.
dram_para = {
/* The values are from the boot0 dump from the H6 Mini eMMC image. */
.dram_clk = 0x288,
.dram_type = 3,
.dram_zq = 0x3b3bfb,
.dram_odt_en = 1,
.dram_para1 = 0x310b,
.dram_para2 = 0x0c000000,
.dram_mr0 = 0x1a70, //0x1e14,
.dram_mr1 = 0x40,
.dram_mr2 = 0x18, //0x20,
.dram_mr3 = 0x0,
.dram_mr4 = 0x0,
.dram_mr5 = 0x400,
.dram_mr6 = 0x848,
.dram_tpr0 = 0x1248a152, //0x124aa9d7,
.dram_tpr1 = 0x11b1a94d, //0x124239d0,
.dram_tpr2 = 0x0067204f, //0x89306612,
.dram_tpr3 = 0x78787896,
.dram_tpr4 = 0x0,
.dram_tpr5 = 0x0,
.dram_tpr6 = 0x09090900,
.dram_tpr7 = 0x1e08a1e0,
.dram_tpr8 = 0x0,
.dram_tpr9 = 0x0,
.dram_tpr10 = 0x0, //0x80000000,
.dram_tpr11 = 0x0,
.dram_tpr12 = 0x1212,
.dram_tpr13 = 0x806003,
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment