xref: /openbmc/u-boot/drivers/ram/aspeed/Kconfig (revision e367318a)
1if RAM || SPL_RAM
2
3if ASPEED_AST2600
4choice
5	prompt "DDR4 target data rate"
6	default ASPEED_DDR4_1600
7
8config ASPEED_DDR4_400
9	bool "DDR4 targets at 400Mbps"
10	depends on DM && OF_CONTROL && ARCH_ASPEED
11	help
12	  select DDR4 target data rate at 400M
13
14config ASPEED_DDR4_800
15	bool "DDR4 targets at 800Mbps"
16	depends on DM && OF_CONTROL && ARCH_ASPEED
17	help
18	  select DDR4 target data rate at 800M
19
20config ASPEED_DDR4_1333
21	bool "DDR4 targets at 1333Mbps"
22	depends on DM && OF_CONTROL && ARCH_ASPEED
23	help
24	  select DDR4 target data rate at 1333M
25
26config ASPEED_DDR4_1600
27	bool "DDR4 targets at 1600Mbps"
28	depends on DM && OF_CONTROL && ARCH_ASPEED
29	help
30	  select DDR4 target data rate at 1600M
31endchoice
32
33config ASPEED_DDR4_DUALX8
34	bool "dual X8 DDR4 die"
35	depends on DM && OF_CONTROL && ARCH_ASPEED
36	default n
37	help
38	  select dual X8 DDR4 die
39
40config ASPEED_BYPASS_SELFTEST
41	bool "bypass self test during DRAM initialization"
42	default n
43	help
44	  Say Y here to bypass DRAM self test to speed up the boot time
45endif
46
47choice
48	prompt "DDR4 PHY side ODT"
49	default ASPEED_DDR4_PHY_ODT40
50
51config ASPEED_DDR4_PHY_ODT60
52	bool "DDR4 PHY side ODT 60 ohm"
53	depends on DM && OF_CONTROL && ARCH_ASPEED
54	help
55	  select DDR4 PHY side ODT 60 ohm
56
57config ASPEED_DDR4_PHY_ODT48
58	bool "DDR4 PHY side ODT 48 ohm"
59	depends on DM && OF_CONTROL && ARCH_ASPEED
60	help
61	  select DDR4 PHY side ODT 48 ohm
62
63config ASPEED_DDR4_PHY_ODT40
64	bool "DDR4 PHY side ODT 40 ohm"
65	depends on DM && OF_CONTROL && ARCH_ASPEED
66	help
67	  select DDR4 PHY side ODT 40 ohm
68endchoice
69
70choice
71	prompt "DDR4 DRAM side ODT"
72	default ASPEED_DDR4_DRAM_ODT40
73
74config ASPEED_DDR4_DRAM_ODT60
75	bool "DDR4 DRAM side ODT 60 ohm"
76	depends on DM && OF_CONTROL && ARCH_ASPEED
77	help
78	  select DDR4 DRAM side ODT 60 ohm
79
80config ASPEED_DDR4_DRAM_ODT48
81	bool "DDR4 DRAM side ODT 48 ohm"
82	depends on DM && OF_CONTROL && ARCH_ASPEED
83	help
84	  select DDR4 DRAM side ODT 48 ohm
85
86config ASPEED_DDR4_DRAM_ODT40
87	bool "DDR4 DRAM side ODT 40 ohm"
88	depends on DM && OF_CONTROL && ARCH_ASPEED
89	help
90	  select DDR4 DRAM side ODT 40 ohm
91endchoice
92endif
93