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