1if RAM || SPL_RAM 2 3choice 4 prompt "DDR4 target data rate" 5 default ASPEED_DDR4_1600 6 7config ASPEED_DDR4_400 8 bool "DDR4 targets at 400Mbps" 9 depends on DM && OF_CONTROL && ARCH_ASPEED 10 help 11 select DDR4 target data rate at 400M 12 13config ASPEED_DDR4_800 14 bool "DDR4 targets at 800Mbps" 15 depends on DM && OF_CONTROL && ARCH_ASPEED 16 help 17 select DDR4 target data rate at 800M 18 19config ASPEED_DDR4_1600 20 bool "DDR4 targets at 1600Mbps" 21 depends on DM && OF_CONTROL && ARCH_ASPEED 22 help 23 select DDR4 target data rate at 1600M 24endchoice 25 26config ASPEED_DDR4_DUALX8 27 bool "dual X8 DDR4 die" 28 depends on DM && OF_CONTROL && ARCH_ASPEED 29 default n 30 help 31 select dual X8 DDR4 die 32 33config ASPEED_PALLADIUM 34 bool "aspeed palladium RAM model" 35 default n 36 help 37 Say Y here to enable the Aspeed Palladium driver 38 39 This provides configurations specific for Aspeed Palladium SDRAM 40 model 41 42config ASPEED_BYPASS_SELFTEST 43 bool "bypass self test during DRAM initialization" 44 default n 45 help 46 Say Y here to bypass DRAM self test to speed up the boot time 47 48config ASPEED_ECC 49 bool "aspeed SDRAM error correcting code" 50 depends on DM && OF_CONTROL && ARCH_ASPEED 51 default n 52 help 53 enable SDRAM ECC function 54 55if ASPEED_ECC 56config ASPEED_ECC_SIZE 57 int "ECC size: 0=driver auto-caluated" 58 depends on ASPEED_ECC 59 default 0 60 help 61 SDRAM size with the error correcting code enabled. The unit is 62 in Megabytes. Noted that only the 8/9 of the configured size 63 can be used by the system. The remaining 1/9 will be used by 64 the ECC engine. If the size is set to 0, the sdram driver will 65 calculate the SDRAM size and set the whole range be ECC enabled. 66endif 67endif 68