blob: 75b9208a33e39975bd4298a3f5f83e423e7f9a4e [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
Stephen Warren15bcc622015-11-23 10:32:01 -07009 select DM_SERIAL
10 select DM_SPI
11 select DM_SPI_FLASH
12 select OF_CONTROL
13
14config TEGRA_ARMV7_COMMON
15 bool "Tegra 32-bit common options"
16 select CPU_V7
17 select SPL
18 select SUPPORT_SPL
19 select TEGRA_COMMON
20
21config TEGRA_ARMV8_COMMON
22 bool "Tegra 64-bit common options"
23 select ARM64
24 select TEGRA_COMMON
Tom Warren56079ec2015-07-17 08:12:51 -070025
Masahiro Yamadaddd960e2014-08-31 07:10:56 +090026choice
27 prompt "Tegra SoC select"
Joe Hershbergera26cd042015-05-12 14:46:23 -050028 optional
Masahiro Yamadaddd960e2014-08-31 07:10:56 +090029
30config TEGRA20
31 bool "Tegra20 family"
Tom Warren56079ec2015-07-17 08:12:51 -070032 select TEGRA_ARMV7_COMMON
Masahiro Yamadaddd960e2014-08-31 07:10:56 +090033
34config TEGRA30
35 bool "Tegra30 family"
Tom Warren56079ec2015-07-17 08:12:51 -070036 select TEGRA_ARMV7_COMMON
Masahiro Yamadaddd960e2014-08-31 07:10:56 +090037
38config TEGRA114
39 bool "Tegra114 family"
Tom Warren56079ec2015-07-17 08:12:51 -070040 select TEGRA_ARMV7_COMMON
Masahiro Yamadaddd960e2014-08-31 07:10:56 +090041
42config TEGRA124
43 bool "Tegra124 family"
Tom Warren56079ec2015-07-17 08:12:51 -070044 select TEGRA_ARMV7_COMMON
Masahiro Yamadaddd960e2014-08-31 07:10:56 +090045
Tom Warren7aaa5a62015-03-04 16:36:00 -070046config TEGRA210
47 bool "Tegra210 family"
Stephen Warren15bcc622015-11-23 10:32:01 -070048 select TEGRA_ARMV8_COMMON
Tom Warren7aaa5a62015-03-04 16:36:00 -070049
Masahiro Yamadaddd960e2014-08-31 07:10:56 +090050endchoice
51
Simon Glassb724bd72015-02-11 16:32:59 -070052config SYS_MALLOC_F_LEN
53 default 0x1800
54
Masahiro Yamada09f455d2015-02-20 17:04:04 +090055source "arch/arm/mach-tegra/tegra20/Kconfig"
56source "arch/arm/mach-tegra/tegra30/Kconfig"
57source "arch/arm/mach-tegra/tegra114/Kconfig"
58source "arch/arm/mach-tegra/tegra124/Kconfig"
Tom Warren7aaa5a62015-03-04 16:36:00 -070059source "arch/arm/mach-tegra/tegra210/Kconfig"
Masahiro Yamadaddd960e2014-08-31 07:10:56 +090060
61endif