blob: fbfb204e6ec87f3e926e52ecd3e5bcf749cdfd1e [file] [log] [blame]
Masahiro Yamadaddd960e2014-08-31 07:10:56 +09001if TEGRA
2
Stephen Warren15bcc622015-11-23 10:32:01 -07003config TEGRA_COMMON
4 bool "Tegra common options"
Tom Warren56079ec2015-07-17 08:12:51 -07005 select DM
Tom Warren56079ec2015-07-17 08:12:51 -07006 select DM_GPIO
Stephen Warren15bcc622015-11-23 10:32:01 -07007 select DM_I2C
Simon Glassf77f5e92015-10-18 21:17:16 -06008 select DM_KEYBOARD
Simon Glasse81ca882015-11-19 20:27:02 -07009 select DM_PCI
Simon Glass3ba5f742015-11-26 19:51:30 -070010 select DM_PCI_COMPAT
Stephen Warren15bcc622015-11-23 10:32:01 -070011 select DM_SERIAL
12 select DM_SPI
13 select DM_SPI_FLASH
14 select OF_CONTROL
15
16config TEGRA_ARMV7_COMMON
17 bool "Tegra 32-bit common options"
18 select CPU_V7
19 select SPL
20 select SUPPORT_SPL
21 select TEGRA_COMMON
22
23config TEGRA_ARMV8_COMMON
24 bool "Tegra 64-bit common options"
25 select ARM64
26 select TEGRA_COMMON
Tom Warren56079ec2015-07-17 08:12:51 -070027
Masahiro Yamadaddd960e2014-08-31 07:10:56 +090028choice
29 prompt "Tegra SoC select"
Joe Hershbergera26cd042015-05-12 14:46:23 -050030 optional
Masahiro Yamadaddd960e2014-08-31 07:10:56 +090031
32config TEGRA20
33 bool "Tegra20 family"
Tom Warren56079ec2015-07-17 08:12:51 -070034 select TEGRA_ARMV7_COMMON
Masahiro Yamadaddd960e2014-08-31 07:10:56 +090035
36config TEGRA30
37 bool "Tegra30 family"
Tom Warren56079ec2015-07-17 08:12:51 -070038 select TEGRA_ARMV7_COMMON
Masahiro Yamadaddd960e2014-08-31 07:10:56 +090039
40config TEGRA114
41 bool "Tegra114 family"
Tom Warren56079ec2015-07-17 08:12:51 -070042 select TEGRA_ARMV7_COMMON
Masahiro Yamadaddd960e2014-08-31 07:10:56 +090043
44config TEGRA124
45 bool "Tegra124 family"
Tom Warren56079ec2015-07-17 08:12:51 -070046 select TEGRA_ARMV7_COMMON
Masahiro Yamadaddd960e2014-08-31 07:10:56 +090047
Tom Warren7aaa5a62015-03-04 16:36:00 -070048config TEGRA210
49 bool "Tegra210 family"
Stephen Warren15bcc622015-11-23 10:32:01 -070050 select TEGRA_ARMV8_COMMON
Tom Warren7aaa5a62015-03-04 16:36:00 -070051
Masahiro Yamadaddd960e2014-08-31 07:10:56 +090052endchoice
53
Simon Glassb724bd72015-02-11 16:32:59 -070054config SYS_MALLOC_F_LEN
55 default 0x1800
56
Masahiro Yamada09f455d2015-02-20 17:04:04 +090057source "arch/arm/mach-tegra/tegra20/Kconfig"
58source "arch/arm/mach-tegra/tegra30/Kconfig"
59source "arch/arm/mach-tegra/tegra114/Kconfig"
60source "arch/arm/mach-tegra/tegra124/Kconfig"
Tom Warren7aaa5a62015-03-04 16:36:00 -070061source "arch/arm/mach-tegra/tegra210/Kconfig"
Masahiro Yamadaddd960e2014-08-31 07:10:56 +090062
63endif