diff options
author | Tom Rini <trini@konsulko.com> | 2015-07-31 20:16:21 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-07-31 20:16:21 -0400 |
commit | 8968b914be7bfd67d179d0395898bd9db67aaad1 (patch) | |
tree | a7640f8f1f5166ed7c62df773984cfcebb33bbf2 /board/freescale/t104xrdb/ddr.h | |
parent | 352bc77054ceb10a580f871ef4008fa9b0e82be6 (diff) | |
parent | f2af1c37a09cdd28a78fde4ee4275aedf59be620 (diff) | |
download | u-boot-midas-8968b914be7bfd67d179d0395898bd9db67aaad1.tar.gz u-boot-midas-8968b914be7bfd67d179d0395898bd9db67aaad1.tar.bz2 u-boot-midas-8968b914be7bfd67d179d0395898bd9db67aaad1.zip |
Merge branch 'master' of git://git.denx.de/u-boot-mpc85xx
Diffstat (limited to 'board/freescale/t104xrdb/ddr.h')
-rw-r--r-- | board/freescale/t104xrdb/ddr.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/board/freescale/t104xrdb/ddr.h b/board/freescale/t104xrdb/ddr.h index ab1c32d10e..b9c02f7fe0 100644 --- a/board/freescale/t104xrdb/ddr.h +++ b/board/freescale/t104xrdb/ddr.h @@ -28,6 +28,9 @@ static const struct board_specific_parameters udimm0[] = { * num| hi| rank| clk| wrlvl | wrlvl * ranks| mhz| GB |adjst| start | ctl2 */ +#ifdef CONFIG_SYS_FSL_DDR4 + {2, 1600, 4, 4, 6, 0x07090A0c, 0x0e0f100a}, +#elif defined(CONFIG_SYS_FSL_DDR3) {2, 833, 4, 4, 6, 0x06060607, 0x08080807}, {2, 833, 0, 4, 6, 0x06060607, 0x08080807}, {2, 1350, 4, 4, 7, 0x0708080A, 0x0A0B0C09}, @@ -40,10 +43,14 @@ static const struct board_specific_parameters udimm0[] = { {1, 1350, 0, 4, 7, 0x0708080A, 0x0A0B0C09}, {1, 1666, 4, 4, 7, 0x0808090B, 0x0C0D0E0A}, {1, 1666, 0, 4, 7, 0x0808090B, 0x0C0D0E0A}, +#else +#error DDR type not defined +#endif {} }; +#endif + static const struct board_specific_parameters *udimms[] = { udimm0, }; -#endif |