192a5848dSChia-Wei, Wangif RAM || SPL_RAM 292a5848dSChia-Wei, Wang 379088fd5SDylan Hungchoice 479088fd5SDylan Hung prompt "DDR4 target data rate" 579088fd5SDylan Hung default ASPEED_DDR4_1600 679088fd5SDylan Hung 7489b054eSDylan Hungconfig ASPEED_DDR4_400 8489b054eSDylan Hung bool "DDR4 targets at 400Mbps" 9489b054eSDylan Hung depends on DM && OF_CONTROL && ARCH_ASPEED 10489b054eSDylan Hung help 11489b054eSDylan Hung select DDR4 target data rate at 400M 12489b054eSDylan Hung 1379088fd5SDylan Hungconfig ASPEED_DDR4_800 1479088fd5SDylan Hung bool "DDR4 targets at 800Mbps" 1579088fd5SDylan Hung depends on DM && OF_CONTROL && ARCH_ASPEED 1679088fd5SDylan Hung help 1779088fd5SDylan Hung select DDR4 target data rate at 800M 1879088fd5SDylan Hung 19*fd8b1ad3SDylan Hungconfig ASPEED_DDR4_1333 20*fd8b1ad3SDylan Hung bool "DDR4 targets at 1333Mbps" 21*fd8b1ad3SDylan Hung depends on DM && OF_CONTROL && ARCH_ASPEED 22*fd8b1ad3SDylan Hung help 23*fd8b1ad3SDylan Hung select DDR4 target data rate at 1333M 24*fd8b1ad3SDylan Hung 2579088fd5SDylan Hungconfig ASPEED_DDR4_1600 2679088fd5SDylan Hung bool "DDR4 targets at 1600Mbps" 2779088fd5SDylan Hung depends on DM && OF_CONTROL && ARCH_ASPEED 2879088fd5SDylan Hung help 2979088fd5SDylan Hung select DDR4 target data rate at 1600M 3079088fd5SDylan Hungendchoice 3179088fd5SDylan Hung 3279088fd5SDylan Hungconfig ASPEED_DDR4_DUALX8 3379088fd5SDylan Hung bool "dual X8 DDR4 die" 3479088fd5SDylan Hung depends on DM && OF_CONTROL && ARCH_ASPEED 3579088fd5SDylan Hung default n 3679088fd5SDylan Hung help 3779088fd5SDylan Hung select dual X8 DDR4 die 38420e65f8SDylan Hung 39420e65f8SDylan Hungconfig ASPEED_PALLADIUM 40420e65f8SDylan Hung bool "aspeed palladium RAM model" 41857027a2SDylan Hung default n 42420e65f8SDylan Hung help 43420e65f8SDylan Hung Say Y here to enable the Aspeed Palladium driver 44420e65f8SDylan Hung 45420e65f8SDylan Hung This provides configurations specific for Aspeed Palladium SDRAM 46420e65f8SDylan Hung model 47d6f57adbSDylan Hung 4823156602SDylan Hungconfig ASPEED_BYPASS_SELFTEST 4923156602SDylan Hung bool "bypass self test during DRAM initialization" 5023156602SDylan Hung default n 5123156602SDylan Hung help 5223156602SDylan Hung Say Y here to bypass DRAM self test to speed up the boot time 5323156602SDylan Hung 54d6f57adbSDylan Hungconfig ASPEED_ECC 55d6f57adbSDylan Hung bool "aspeed SDRAM error correcting code" 56d6f57adbSDylan Hung depends on DM && OF_CONTROL && ARCH_ASPEED 57ecb4ad9fSDylan Hung default n 58d6f57adbSDylan Hung help 59d6f57adbSDylan Hung enable SDRAM ECC function 600bef06a6SDylan Hung 61cbb11045SDylan Hungif ASPEED_ECC 62cbb11045SDylan Hungconfig ASPEED_ECC_SIZE 63cbb11045SDylan Hung int "ECC size: 0=driver auto-caluated" 640bef06a6SDylan Hung depends on ASPEED_ECC 65cbb11045SDylan Hung default 0 660bef06a6SDylan Hung help 67cbb11045SDylan Hung SDRAM size with the error correcting code enabled. The unit is 68cbb11045SDylan Hung in Megabytes. Noted that only the 8/9 of the configured size 69cbb11045SDylan Hung can be used by the system. The remaining 1/9 will be used by 70cbb11045SDylan Hung the ECC engine. If the size is set to 0, the sdram driver will 71cbb11045SDylan Hung calculate the SDRAM size and set the whole range be ECC enabled. 72cbb11045SDylan Hungendif 7392a5848dSChia-Wei, Wangendif 74