xref: /openbmc/u-boot/drivers/ram/aspeed/Kconfig (revision fb79a3bf)
1choice
2	prompt "DDR4 target data rate"
3	default ASPEED_DDR4_1600
4
5config ASPEED_DDR4_400
6        bool "DDR4 targets at 400Mbps"
7        depends on DM && OF_CONTROL && ARCH_ASPEED
8        select RAM
9        select SPL_RAM if SPL
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        select RAM
17        select SPL_RAM if SPL
18        help
19                select DDR4 target data rate at 800M
20
21config ASPEED_DDR4_1600
22        bool "DDR4 targets at 1600Mbps"
23        depends on DM && OF_CONTROL && ARCH_ASPEED
24        select RAM
25        select SPL_RAM if SPL
26        help
27                select DDR4 target data rate at 1600M
28endchoice
29
30config ASPEED_DDR4_DUALX8
31        bool "dual X8 DDR4 die"
32        depends on DM && OF_CONTROL && ARCH_ASPEED
33        select RAM
34        select SPL_RAM if SPL
35        default n
36        help
37                select dual X8 DDR4 die
38
39config ASPEED_PALLADIUM
40	bool "aspeed palladium RAM model"
41	select RAM
42        select SPL_RAM if SPL
43	default n
44	help
45	  Say Y here to enable the Aspeed Palladium driver
46
47	  This provides configurations specific for Aspeed Palladium SDRAM
48	  model
49
50config ASPEED_ECC
51        bool "aspeed SDRAM error correcting code"
52        depends on DM && OF_CONTROL && ARCH_ASPEED
53        select RAM
54        select SPL_RAM if SPL
55        default n
56        help
57                enable SDRAM ECC function
58
59config ASPEED_VIDEO_SIZE
60	int "Video memory reserved size"
61	depends on ASPEED_ECC
62	default 40
63	help
64		reserved size for Video engine. The unit is in Megabytes.
65
66config ASPEED_CRT_SIZE
67	int "CRT memory reserved size"
68	depends on ASPEED_ECC
69	default 8
70	help
71		reserved size for CRT engine. The unit is in Megabytes.
72