1menuconfig ASPEED_RAM 2 bool "ASPEED SDRAM configuration" 3 depends on RAM && ARCH_ASPEED 4 default ARCH_ASPEED 5 help 6 Configuration options for DDR SDRAM on ASPEED systems. 7 8 RAM initialisation is always built in for the platform. This menu 9 allows customisation of the configuration used. 10 11if ASPEED_RAM 12 13config ASPEED_DDR4_DUALX8 14 bool "Enable Dual X8 DDR4 die" 15 depends on ASPEED_RAM 16 help 17 Say Y if dual X8 DDR4 die is used on the board. The ASPEED DDRM 18 SRAM controller needs to know if the memory chip mounted on the 19 board is dual x8 die or not, otherwise it may get the wrong 20 size of the memory space. 21 22config ASPEED_BYPASS_SELFTEST 23 depends on ASPEED_RAM 24 depends on ASPEED_AST2600 25 bool "Bypass self test during initialization" 26 help 27 Say Y here to bypass DRAM self test to speed up the boot time. 28 29config ASPEED_ECC 30 bool "ASPEED SDRAM ECC" 31 depends on ASPEED_RAM 32 depends on ASPEED_AST2600 33 help 34 Enable SDRAM ECC function. This configures the SDRAM controller to 35 perform error detection and correction, sacrificing 1/9th of the 36 installed RAM to do so. 37 38 39config ASPEED_ECC_SIZE 40 int "ECC size: 0=driver auto-caluated" 41 depends on ASPEED_ECC 42 default 0 43 help 44 SDRAM size with the error correcting code enabled. The unit is 45 in Megabytes. Noted that only the 8/9 of the configured size 46 can be used by the system. The remaining 1/9 will be used by 47 the ECC engine. If the size is set to 0, the sdram driver will 48 calculate the SDRAM size and set the whole range be ECC enabled. 49 50choice 51 prompt "AST2600 DDR4 target date rate" 52 default ASPEED_DDR4_1600 53 depends on ASPEED_RAM 54 depends on ASPEED_AST2600 55 56config ASPEED_DDR4_400 57 bool "400Mbps" 58 help 59 select DDR4 target data rate at 400M 60 61config ASPEED_DDR4_800 62 bool "800Mbps" 63 help 64 select DDR4 target data rate at 800M 65 66config ASPEED_DDR4_1333 67 bool "1333Mbps" 68 help 69 select DDR4 target data rate at 1333M 70 71config ASPEED_DDR4_1600 72 bool "1600Mbps" 73 help 74 select DDR4 target data rate at 1600M 75endchoice 76 77endif # End of ASPEED_RAM 78