xref: /openbmc/u-boot/drivers/ram/aspeed/Kconfig (revision 489b054e)
179088fd5SDylan Hungchoice
279088fd5SDylan Hung	prompt "DDR4 target data rate"
379088fd5SDylan Hung	default ASPEED_DDR4_1600
479088fd5SDylan Hung
5*489b054eSDylan Hungconfig ASPEED_DDR4_400
6*489b054eSDylan Hung        bool "DDR4 targets at 400Mbps"
7*489b054eSDylan Hung        depends on DM && OF_CONTROL && ARCH_ASPEED
8*489b054eSDylan Hung        select RAM
9*489b054eSDylan Hung        select SPL_RAM if SPL
10*489b054eSDylan Hung        help
11*489b054eSDylan Hung                select DDR4 target data rate at 400M
12*489b054eSDylan Hung
1379088fd5SDylan Hungconfig ASPEED_DDR4_800
1479088fd5SDylan Hung        bool "DDR4 targets at 800Mbps"
1579088fd5SDylan Hung        depends on DM && OF_CONTROL && ARCH_ASPEED
1679088fd5SDylan Hung        select RAM
1779088fd5SDylan Hung        select SPL_RAM if SPL
1879088fd5SDylan Hung        help
1979088fd5SDylan Hung                select DDR4 target data rate at 800M
2079088fd5SDylan Hung
2179088fd5SDylan Hungconfig ASPEED_DDR4_1600
2279088fd5SDylan Hung        bool "DDR4 targets at 1600Mbps"
2379088fd5SDylan Hung        depends on DM && OF_CONTROL && ARCH_ASPEED
2479088fd5SDylan Hung        select RAM
2579088fd5SDylan Hung        select SPL_RAM if SPL
2679088fd5SDylan Hung        help
2779088fd5SDylan Hung                select DDR4 target data rate at 1600M
2879088fd5SDylan Hungendchoice
2979088fd5SDylan Hung
3079088fd5SDylan Hungconfig ASPEED_DDR4_DUALX8
3179088fd5SDylan Hung        bool "dual X8 DDR4 die"
3279088fd5SDylan Hung        depends on DM && OF_CONTROL && ARCH_ASPEED
3379088fd5SDylan Hung        select RAM
3479088fd5SDylan Hung        select SPL_RAM if SPL
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	select RAM
42857027a2SDylan Hung        select SPL_RAM if SPL
43857027a2SDylan Hung	default n
44420e65f8SDylan Hung	help
45420e65f8SDylan Hung	  Say Y here to enable the Aspeed Palladium driver
46420e65f8SDylan Hung
47420e65f8SDylan Hung	  This provides configurations specific for Aspeed Palladium SDRAM
48420e65f8SDylan Hung	  model
49d6f57adbSDylan Hung
50d6f57adbSDylan Hungconfig ASPEED_ECC
51d6f57adbSDylan Hung        bool "aspeed SDRAM error correcting code"
52d6f57adbSDylan Hung        depends on DM && OF_CONTROL && ARCH_ASPEED
53d6f57adbSDylan Hung        select RAM
54d6f57adbSDylan Hung        select SPL_RAM if SPL
55ecb4ad9fSDylan Hung        default n
56d6f57adbSDylan Hung        help
57d6f57adbSDylan Hung                enable SDRAM ECC function