arm: tegra: apalis-tk1, mmc and ext clock loopback
v3 cover arm: tegra: apalis-tk1, mmc and ext clock loopback
From: Marcel Ziswiler <[email protected]>
This series adds support for the Toradex Apalis TK1 as well as moves the CONFIG_TEGRA_MMC to Kconfig and introduces a new option to disable the external clock loopback on SDMMC3.
The whole series is also available here:
http://git.toradex.com/cgit/u-boot-toradex.git/log/?h=for-next
Changes in v3:
- My recent fresh install of Fedora 25 was missing an aarch64 toolchain which made moveconfig.py not properly handle the 6 newer Tegras. I now re-run moveconfig.py after installing an aarch64 toolchain and it all looks sane. Sorry about that, Tom.
- Cleaned-up defconfig using savedefconfig.
Changes in v2:
- Added Simon's reviewed-by.
- Added Simon's reviewed-by.
- Added Simon's reviewed-by.
- Added Simon's reviewed-by.
- Added TODO(email) as suggested by Simon so it is clear this is temporary and will be moved to device tree controlled approach once proper kernel integration made it mainline.
Marcel Ziswiler (6):
arm: tegra: initial support for apalis tk1
mmc: tegra: introduce CONFIG_TEGRA_MMC to Kconfig
mmc: tegra: move CONFIG_TEGRA_MMC from headers to defconfigs
mmc: tegra: allow disabling external clock loopback
apalis-tk1: disable external clock loopback on SDMMC3
apalis-tk1: clean-up defconfig
arch/arm/dts/Makefile | 1 + arch/arm/dts/tegra124-apalis.dts | 2203 ++++++++++++++++++++ arch/arm/include/asm/arch-tegra/tegra_mmc.h | 2 + arch/arm/mach-tegra/tegra124/Kconfig | 7 + board/toradex/apalis-tk1/Kconfig | 30 + board/toradex/apalis-tk1/MAINTAINERS | 7 + board/toradex/apalis-tk1/Makefile | 5 + board/toradex/apalis-tk1/apalis-tk1.c | 175 ++ board/toradex/apalis-tk1/as3722_init.c | 117 ++ board/toradex/apalis-tk1/as3722_init.h | 41 + .../toradex/apalis-tk1/pinmux-config-apalis-tk1.h | 287 +++ configs/apalis-tk1_defconfig | 46 + configs/apalis_t30_defconfig | 1 + configs/beaver_defconfig | 1 + configs/cardhu_defconfig | 1 + configs/cei-tk1-som_defconfig | 1 + configs/colibri_t20_defconfig | 1 + configs/colibri_t30_defconfig | 1 + configs/dalmore_defconfig | 1 + configs/e2220-1170_defconfig | 9 +- configs/harmony_defconfig | 1 + configs/jetson-tk1_defconfig | 1 + configs/medcom-wide_defconfig | 1 + configs/nyan-big_defconfig | 1 + configs/p2371-0000_defconfig | 9 +- configs/p2371-2180_defconfig | 9 +- configs/p2571_defconfig | 9 +- configs/p2771-0000-000_defconfig | 9 +- configs/p2771-0000-500_defconfig | 9 +- configs/paz00_defconfig | 1 + configs/plutux_defconfig | 1 + configs/seaboard_defconfig | 1 + configs/tec-ng_defconfig | 1 + configs/tec_defconfig | 1 + configs/trimslice_defconfig | 1 + configs/venice2_defconfig | 1 + configs/ventana_defconfig | 1 + configs/whistler_defconfig | 1 + drivers/mmc/Kconfig | 17 + drivers/mmc/tegra_mmc.c | 16 + include/configs/apalis-tk1.h | 180 ++ include/configs/apalis_t30.h | 1 - include/configs/beaver.h | 1 - include/configs/cardhu.h | 1 - include/configs/cei-tk1-som.h | 1 - include/configs/colibri_t20.h | 1 - include/configs/colibri_t30.h | 1 - include/configs/dalmore.h | 1 - include/configs/e2220-1170.h | 1 - include/configs/harmony.h | 1 - include/configs/jetson-tk1.h | 1 - include/configs/medcom-wide.h | 1 - include/configs/nyan-big.h | 1 - include/configs/p2371-0000.h | 1 - include/configs/p2371-2180.h | 1 - include/configs/p2571.h | 1 - include/configs/p2771-0000.h | 1 - include/configs/paz00.h | 1 - include/configs/plutux.h | 1 - include/configs/seaboard.h | 1 - include/configs/tec-ng.h | 1 - include/configs/tec.h | 1 - include/configs/trimslice.h | 1 - include/configs/venice2.h | 1 - include/configs/ventana.h | 1 - include/configs/whistler.h | 1 - scripts/config_whitelist.txt | 1 - 67 files changed, 3160 insertions(+), 74 deletions(-) create mode 100644 arch/arm/dts/tegra124-apalis.dts create mode 100644 board/toradex/apalis-tk1/Kconfig create mode 100644 board/toradex/apalis-tk1/MAINTAINERS create mode 100644 board/toradex/apalis-tk1/Makefile create mode 100644 board/toradex/apalis-tk1/apalis-tk1.c create mode 100644 board/toradex/apalis-tk1/as3722_init.c create mode 100644 board/toradex/apalis-tk1/as3722_init.h create mode 100644 board/toradex/apalis-tk1/pinmux-config-apalis-tk1.h create mode 100644 configs/apalis-tk1_defconfig create mode 100644 include/configs/apalis-tk1.h
Signature · 1 line
2.9.3
PATCH v3 1/6 arm: tegra: initial support for apalis tk1
From: Marcel Ziswiler <[email protected]>
This patch adds board support for the Toradex Apalis TK1 a computer on module which can be used on different carrier boards.
The module consists of a Tegra TK1 SoC, a PMIC solution, 2 GB of DDR3L RAM, a bunch of level shifters, an eMMC, a TMP451 temperature sensor chip, an I210 gigabit Ethernet controller and a SGTL5000 audio codec. Furthermore, there is a Kinetis MK20DN512 companion micro controller for analogue, CAN and resistive touch functionality.
For the sake of ease of use we do not distinguish between different carrier boards for now as the base module features are deemed sufficient enough for regular booting.
The following functionality is working so far:
- eMMC boot, environment storage and Toradex factory config block
- Gigabit Ethernet
- MMC/SD cards (both MMC1 as well as SD1 slot)
- USB client/host (dual role OTG port as client e.g. for DFU/UMS or host, other two ports as host)
---
Changes in v3: None
Changes in v2:
- Added Simon's reviewed-by.
arch/arm/dts/Makefile | 1 + arch/arm/dts/tegra124-apalis.dts | 2203 ++++++++++++++++++++ arch/arm/mach-tegra/tegra124/Kconfig | 7 + board/toradex/apalis-tk1/Kconfig | 30 + board/toradex/apalis-tk1/MAINTAINERS | 7 + board/toradex/apalis-tk1/Makefile | 5 + board/toradex/apalis-tk1/apalis-tk1.c | 175 ++ board/toradex/apalis-tk1/as3722_init.c | 117 ++ board/toradex/apalis-tk1/as3722_init.h | 41 + .../toradex/apalis-tk1/pinmux-config-apalis-tk1.h | 287 +++ configs/apalis-tk1_defconfig | 53 + include/configs/apalis-tk1.h | 181 ++ 12 files changed, 3107 insertions(+) create mode 100644 arch/arm/dts/tegra124-apalis.dts create mode 100644 board/toradex/apalis-tk1/Kconfig create mode 100644 board/toradex/apalis-tk1/MAINTAINERS create mode 100644 board/toradex/apalis-tk1/Makefile create mode 100644 board/toradex/apalis-tk1/apalis-tk1.c create mode 100644 board/toradex/apalis-tk1/as3722_init.c create mode 100644 board/toradex/apalis-tk1/as3722_init.h create mode 100644 board/toradex/apalis-tk1/pinmux-config-apalis-tk1.h create mode 100644 configs/apalis-tk1_defconfig create mode 100644 include/configs/apalis-tk1.h
arch/arm/dts/Makefile +1 -0
@@ -57,6 +57,7 @@ dtb-$(CONFIG_TEGRA) += tegra20-harmony.dtb \ tegra30-colibri.dtb \ tegra30-tec-ng.dtb \ tegra114-dalmore.dtb \ + tegra124-apalis.dtb \ tegra124-jetson-tk1.dtb \ tegra124-nyan-big.dtb \ tegra124-cei-tk1-som.dtb \
arch/arm/dts/tegra124-apalis.dts new file +2203 -0
2,203 lines not on this page · raw message
arch/arm/mach-tegra/tegra124/Kconfig +7 -0
@@ -4,6 +4,12 @@ choice prompt "Tegra124 board select" optional +config TARGET_APALIS_TK1 + bool "Toradex Apalis TK1 module" + select CPU_V7_HAS_NONSEC + select CPU_V7_HAS_VIRT + select ARCH_SUPPORT_PSCI + config TARGET_JETSON_TK1 bool "NVIDIA Tegra124 Jetson TK1 board" select CPU_V7_HAS_NONSEC
@@ -42,5 +48,6 @@ source "board/cei/cei-tk1-som/Kconfig" source "board/nvidia/jetson-tk1/Kconfig" source "board/nvidia/nyan-big/Kconfig" source "board/nvidia/venice2/Kconfig" +source "board/toradex/apalis-tk1/Kconfig" endif
board/toradex/apalis-tk1/Kconfig new file +30 -0
@@ -0,0 +1,30 @@ +if TARGET_APALIS_TK1 + +config SYS_BOARD + default "apalis-tk1" + +config SYS_VENDOR + default "toradex" + +config SYS_CONFIG_NAME + default "apalis-tk1" + +config TDX_CFG_BLOCK + default y + +config TDX_HAVE_MMC + default y + +config TDX_CFG_BLOCK_DEV + default "0" + +config TDX_CFG_BLOCK_PART + default "1" + +# Toradex config block in eMMC, at the end of 1st "boot sector" +config TDX_CFG_BLOCK_OFFSET + default "-512" + +source "board/toradex/common/Kconfig" + +endif
board/toradex/apalis-tk1/MAINTAINERS new file +7 -0
@@ -0,0 +1,7 @@ +Apalis TK1 +M: Marcel Ziswiler <[email protected]> +S: Maintained +F: board/toradex/apalis-tk1/ +F: include/configs/apalis-tk1.h +F: configs/apalis-tk1_defconfig +F: arch/arm/dts/tegra124-apalis.dtb
board/toradex/apalis-tk1/Makefile new file +5 -0
@@ -0,0 +1,5 @@ +# Copyright (c) 2016 Toradex, Inc. +# SPDX-License-Identifier: GPL-2.0+ + +obj-y += as3722_init.o +obj-y += apalis-tk1.o
board/toradex/apalis-tk1/apalis-tk1.c new file +175 -0
175 lines not on this page · raw message
board/toradex/apalis-tk1/as3722_init.c new file +117 -0
117 lines not on this page · raw message
board/toradex/apalis-tk1/as3722_init.h new file +41 -0
41 lines not on this page · raw message
board/toradex/apalis-tk1/pinmux-config-apalis-tk1.h new file +287 -0
287 lines not on this page · raw message
configs/apalis-tk1_defconfig new file +53 -0
53 lines not on this page · raw message
include/configs/apalis-tk1.h new file +181 -0
57 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Signature · 1 line
2.9.3
Part of the diff is not shown here. View the raw message.
PATCH v3 2/6 mmc: tegra: introduce CONFIG_TEGRA_MMC to Kconfig
In reply to Marcel ZiswilerFrom: Marcel Ziswiler <[email protected]>
---
Changes in v3: None
Changes in v2:
- Added Simon's reviewed-by.
drivers/mmc/Kconfig | 6 ++++++ 1 file changed, 6 insertions(+)
drivers/mmc/Kconfig +6 -0
@@ -110,4 +110,10 @@ config SANDBOX_MMC improves build coverage for sandbox and makes it easier to detect MMC build errors with sandbox. +config TEGRA_MMC + bool "Tegra SDHCI aka MMC support" + depends on DM_MMC && TEGRA + help + This selects support for SDHCI on Tegra SoCs. + endmenu
Signature · 1 line
2.9.3
PATCH v3 3/6 mmc: tegra: move CONFIG_TEGRA_MMC from headers to defconfigs
In reply to Marcel ZiswilerFrom: Marcel Ziswiler <[email protected]>
Basically running the following script:
tools/moveconfig.py CONFIG_TEGRA_MMC
Note that I left the SPL specific handling ininclude/configs/tegra-common-post.h unchanged.
---
Changes in v3:
- My recent fresh install of Fedora 25 was missing an aarch64 toolchain which made moveconfig.py not properly handle the 6 newer Tegras. I now re-run moveconfig.py after installing an aarch64 toolchain and it all looks sane. Sorry about that, Tom.
Changes in v2:
- Added Simon's reviewed-by.
BTW: I will look at converting tegra to use CONFIG_BLK and CONFIG_DM_MMC_OPS in a later separate step.
--- configs/apalis-tk1_defconfig | 1 + configs/apalis_t30_defconfig | 1 + configs/beaver_defconfig | 1 + configs/cardhu_defconfig | 1 + configs/cei-tk1-som_defconfig | 1 + configs/colibri_t20_defconfig | 1 + configs/colibri_t30_defconfig | 1 + configs/dalmore_defconfig | 1 + configs/e2220-1170_defconfig | 9 +-------- configs/harmony_defconfig | 1 + configs/jetson-tk1_defconfig | 1 + configs/medcom-wide_defconfig | 1 + configs/nyan-big_defconfig | 1 + configs/p2371-0000_defconfig | 9 +-------- configs/p2371-2180_defconfig | 9 +-------- configs/p2571_defconfig | 9 +-------- configs/p2771-0000-000_defconfig | 9 +-------- configs/p2771-0000-500_defconfig | 9 +-------- configs/paz00_defconfig | 1 + configs/plutux_defconfig | 1 + configs/seaboard_defconfig | 1 + configs/tec-ng_defconfig | 1 + configs/tec_defconfig | 1 + configs/trimslice_defconfig | 1 + configs/venice2_defconfig | 1 + configs/ventana_defconfig | 1 + configs/whistler_defconfig | 1 + include/configs/apalis-tk1.h | 1 - include/configs/apalis_t30.h | 1 - include/configs/beaver.h | 1 - include/configs/cardhu.h | 1 - include/configs/cei-tk1-som.h | 1 - include/configs/colibri_t20.h | 1 - include/configs/colibri_t30.h | 1 - include/configs/dalmore.h | 1 - include/configs/e2220-1170.h | 1 - include/configs/harmony.h | 1 - include/configs/jetson-tk1.h | 1 - include/configs/medcom-wide.h | 1 - include/configs/nyan-big.h | 1 - include/configs/p2371-0000.h | 1 - include/configs/p2371-2180.h | 1 - include/configs/p2571.h | 1 - include/configs/p2771-0000.h | 1 - include/configs/paz00.h | 1 - include/configs/plutux.h | 1 - include/configs/seaboard.h | 1 - include/configs/tec-ng.h | 1 - include/configs/tec.h | 1 - include/configs/trimslice.h | 1 - include/configs/venice2.h | 1 - include/configs/ventana.h | 1 - include/configs/whistler.h | 1 - scripts/config_whitelist.txt | 1 - 54 files changed, 27 insertions(+), 75 deletions(-)
configs/apalis-tk1_defconfig +1 -0
@@ -36,6 +36,7 @@ CONFIG_SPL_DM=y CONFIG_DFU_MMC=y CONFIG_DFU_RAM=y # CONFIG_DM_MMC_OPS is not set +CONFIG_TEGRA_MMC=y CONFIG_E1000=y CONFIG_PCI=y CONFIG_DM_PCI=y
configs/apalis_t30_defconfig +1 -0
@@ -25,6 +25,7 @@ CONFIG_SPL_DM=y CONFIG_DFU_MMC=y CONFIG_DFU_RAM=y # CONFIG_DM_MMC_OPS is not set +CONFIG_TEGRA_MMC=y CONFIG_E1000=y CONFIG_PCI=y CONFIG_DM_PCI=y
configs/beaver_defconfig +1 -0
@@ -28,6 +28,7 @@ CONFIG_DFU_MMC=y CONFIG_DFU_RAM=y CONFIG_DFU_SF=y # CONFIG_DM_MMC_OPS is not set +CONFIG_TEGRA_MMC=y CONFIG_SPI_FLASH=y CONFIG_SPI_FLASH_WINBOND=y CONFIG_RTL8169=y
configs/cardhu_defconfig +1 -0
@@ -23,6 +23,7 @@ CONFIG_CMD_EXT4_WRITE=y CONFIG_SPL_DM=y # CONFIG_BLK is not set # CONFIG_DM_MMC_OPS is not set +CONFIG_TEGRA_MMC=y CONFIG_SPI_FLASH=y CONFIG_SPI_FLASH_WINBOND=y CONFIG_RTL8169=y
configs/cei-tk1-som_defconfig +1 -0
@@ -28,6 +28,7 @@ CONFIG_DFU_MMC=y CONFIG_DFU_RAM=y CONFIG_DFU_SF=y # CONFIG_DM_MMC_OPS is not set +CONFIG_TEGRA_MMC=y CONFIG_SPI_FLASH=y CONFIG_SPI_FLASH_WINBOND=y CONFIG_RTL8169=y
configs/colibri_t20_defconfig +1 -0
@@ -28,6 +28,7 @@ CONFIG_SPL_DM=y CONFIG_DFU_MMC=y CONFIG_DFU_RAM=y # CONFIG_DM_MMC_OPS is not set +CONFIG_TEGRA_MMC=y CONFIG_MTD_UBI_FASTMAP=y CONFIG_DM_PMIC=y CONFIG_DM_REGULATOR=y
configs/colibri_t30_defconfig +1 -0
@@ -25,6 +25,7 @@ CONFIG_SPL_DM=y CONFIG_DFU_MMC=y CONFIG_DFU_RAM=y # CONFIG_DM_MMC_OPS is not set +CONFIG_TEGRA_MMC=y CONFIG_SYS_NS16550=y CONFIG_USB=y CONFIG_DM_USB=y
configs/dalmore_defconfig +1 -0
@@ -28,6 +28,7 @@ CONFIG_DFU_MMC=y CONFIG_DFU_RAM=y CONFIG_DFU_SF=y # CONFIG_DM_MMC_OPS is not set +CONFIG_TEGRA_MMC=y CONFIG_SPI_FLASH=y CONFIG_SPI_FLASH_WINBOND=y CONFIG_SYS_NS16550=y
configs/e2220-1170_defconfig +1 -8
@@ -5,7 +5,6 @@ CONFIG_DEFAULT_DEVICE_TREE="tegra210-e2220-1170" CONFIG_OF_SYSTEM_SETUP=y CONFIG_CONSOLE_MUX=y CONFIG_SYS_STDIO_DEREGISTER=y -CONFIG_HUSH_PARSER=y CONFIG_SYS_PROMPT="Tegra210 (E2220-1170) # " # CONFIG_CMD_IMI is not set # CONFIG_CMD_IMLS is not set
@@ -20,20 +19,14 @@ CONFIG_CMD_USB_MASS_STORAGE=y # CONFIG_CMD_FPGA is not set CONFIG_CMD_GPIO=y # CONFIG_CMD_SETEXPR is not set -CONFIG_CMD_DHCP=y # CONFIG_CMD_NFS is not set -CONFIG_CMD_MII=y -CONFIG_CMD_PING=y -CONFIG_CMD_EXT2=y -CONFIG_CMD_EXT4=y CONFIG_CMD_EXT4_WRITE=y -CONFIG_CMD_FAT=y -CONFIG_CMD_FS_GENERIC=y # CONFIG_BLK is not set CONFIG_DFU_MMC=y CONFIG_DFU_RAM=y CONFIG_DFU_SF=y # CONFIG_DM_MMC_OPS is not set +CONFIG_TEGRA_MMC=y CONFIG_SPI_FLASH=y CONFIG_SPI_FLASH_WINBOND=y CONFIG_SYS_NS16550=y
configs/harmony_defconfig +1 -0
@@ -21,6 +21,7 @@ CONFIG_CMD_EXT4_WRITE=y CONFIG_SPL_DM=y # CONFIG_BLK is not set # CONFIG_DM_MMC_OPS is not set +CONFIG_TEGRA_MMC=y CONFIG_PCI=y CONFIG_DM_PCI=y CONFIG_DM_PCI_COMPAT=y
configs/jetson-tk1_defconfig +1 -0
@@ -28,6 +28,7 @@ CONFIG_DFU_MMC=y CONFIG_DFU_RAM=y CONFIG_DFU_SF=y # CONFIG_DM_MMC_OPS is not set +CONFIG_TEGRA_MMC=y CONFIG_SPI_FLASH=y CONFIG_SPI_FLASH_WINBOND=y CONFIG_RTL8169=y
configs/medcom-wide_defconfig +1 -0
@@ -22,6 +22,7 @@ CONFIG_CMD_EXT4_WRITE=y CONFIG_SPL_DM=y # CONFIG_BLK is not set # CONFIG_DM_MMC_OPS is not set +CONFIG_TEGRA_MMC=y CONFIG_DM_PMIC=y CONFIG_DM_REGULATOR=y CONFIG_DM_REGULATOR_FIXED=y
configs/nyan-big_defconfig +1 -0
@@ -36,6 +36,7 @@ CONFIG_CROS_EC_KEYB=y CONFIG_CROS_EC=y CONFIG_CROS_EC_SPI=y # CONFIG_DM_MMC_OPS is not set +CONFIG_TEGRA_MMC=y CONFIG_SPI_FLASH=y CONFIG_SPI_FLASH_WINBOND=y CONFIG_DM_PMIC=y
configs/p2371-0000_defconfig +1 -8
@@ -6,7 +6,6 @@ CONFIG_DEFAULT_DEVICE_TREE="tegra210-p2371-0000" CONFIG_OF_SYSTEM_SETUP=y CONFIG_CONSOLE_MUX=y CONFIG_SYS_STDIO_DEREGISTER=y -CONFIG_HUSH_PARSER=y CONFIG_SYS_PROMPT="Tegra210 (P2371-0000) # " # CONFIG_CMD_IMI is not set # CONFIG_CMD_IMLS is not set
@@ -21,20 +20,14 @@ CONFIG_CMD_USB_MASS_STORAGE=y # CONFIG_CMD_FPGA is not set CONFIG_CMD_GPIO=y # CONFIG_CMD_SETEXPR is not set -CONFIG_CMD_DHCP=y # CONFIG_CMD_NFS is not set -CONFIG_CMD_MII=y -CONFIG_CMD_PING=y -CONFIG_CMD_EXT2=y -CONFIG_CMD_EXT4=y CONFIG_CMD_EXT4_WRITE=y -CONFIG_CMD_FAT=y -CONFIG_CMD_FS_GENERIC=y # CONFIG_BLK is not set CONFIG_DFU_MMC=y CONFIG_DFU_RAM=y CONFIG_DFU_SF=y # CONFIG_DM_MMC_OPS is not set +CONFIG_TEGRA_MMC=y CONFIG_SPI_FLASH=y CONFIG_SPI_FLASH_WINBOND=y CONFIG_SYS_NS16550=y
configs/p2371-2180_defconfig +1 -8
@@ -6,7 +6,6 @@ CONFIG_DEFAULT_DEVICE_TREE="tegra210-p2371-2180" CONFIG_OF_SYSTEM_SETUP=y CONFIG_CONSOLE_MUX=y CONFIG_SYS_STDIO_DEREGISTER=y -CONFIG_HUSH_PARSER=y CONFIG_SYS_PROMPT="Tegra210 (P2371-2180) # " # CONFIG_CMD_IMI is not set # CONFIG_CMD_IMLS is not set
@@ -21,20 +20,14 @@ CONFIG_CMD_USB_MASS_STORAGE=y # CONFIG_CMD_FPGA is not set CONFIG_CMD_GPIO=y # CONFIG_CMD_SETEXPR is not set -CONFIG_CMD_DHCP=y # CONFIG_CMD_NFS is not set -CONFIG_CMD_MII=y -CONFIG_CMD_PING=y -CONFIG_CMD_EXT2=y -CONFIG_CMD_EXT4=y CONFIG_CMD_EXT4_WRITE=y -CONFIG_CMD_FAT=y -CONFIG_CMD_FS_GENERIC=y # CONFIG_BLK is not set CONFIG_DFU_MMC=y CONFIG_DFU_RAM=y CONFIG_DFU_SF=y # CONFIG_DM_MMC_OPS is not set +CONFIG_TEGRA_MMC=y CONFIG_SPI_FLASH=y CONFIG_SPI_FLASH_WINBOND=y CONFIG_RTL8169=y
configs/p2571_defconfig +1 -8
@@ -6,7 +6,6 @@ CONFIG_DEFAULT_DEVICE_TREE="tegra210-p2571" CONFIG_OF_SYSTEM_SETUP=y CONFIG_CONSOLE_MUX=y CONFIG_SYS_STDIO_DEREGISTER=y -CONFIG_HUSH_PARSER=y CONFIG_SYS_PROMPT="Tegra210 (P2571) # " # CONFIG_CMD_IMI is not set # CONFIG_CMD_IMLS is not set
@@ -21,20 +20,14 @@ CONFIG_CMD_USB_MASS_STORAGE=y # CONFIG_CMD_FPGA is not set CONFIG_CMD_GPIO=y # CONFIG_CMD_SETEXPR is not set -CONFIG_CMD_DHCP=y # CONFIG_CMD_NFS is not set -CONFIG_CMD_MII=y -CONFIG_CMD_PING=y -CONFIG_CMD_EXT2=y -CONFIG_CMD_EXT4=y CONFIG_CMD_EXT4_WRITE=y -CONFIG_CMD_FAT=y -CONFIG_CMD_FS_GENERIC=y # CONFIG_BLK is not set CONFIG_DFU_MMC=y CONFIG_DFU_RAM=y CONFIG_DFU_SF=y # CONFIG_DM_MMC_OPS is not set +CONFIG_TEGRA_MMC=y CONFIG_SPI_FLASH=y CONFIG_SPI_FLASH_WINBOND=y CONFIG_SYS_NS16550=y
configs/p2771-0000-000_defconfig +1 -8
@@ -5,7 +5,6 @@ CONFIG_DEFAULT_DEVICE_TREE="tegra186-p2771-0000-000" CONFIG_OF_SYSTEM_SETUP=y CONFIG_CONSOLE_MUX=y CONFIG_SYS_STDIO_DEREGISTER=y -CONFIG_HUSH_PARSER=y CONFIG_SYS_PROMPT="Tegra186 (P2771-0000-000) # " # CONFIG_CMD_IMI is not set # CONFIG_CMD_IMLS is not set
@@ -18,18 +17,12 @@ CONFIG_CMD_USB=y # CONFIG_CMD_FPGA is not set CONFIG_CMD_GPIO=y # CONFIG_CMD_SETEXPR is not set -CONFIG_CMD_DHCP=y # CONFIG_CMD_NFS is not set -CONFIG_CMD_MII=y -CONFIG_CMD_PING=y -CONFIG_CMD_EXT2=y -CONFIG_CMD_EXT4=y CONFIG_CMD_EXT4_WRITE=y -CONFIG_CMD_FAT=y -CONFIG_CMD_FS_GENERIC=y # CONFIG_BLK is not set CONFIG_TEGRA186_BPMP_I2C=y # CONFIG_DM_MMC_OPS is not set +CONFIG_TEGRA_MMC=y CONFIG_DWC_ETH_QOS=y CONFIG_E1000=y CONFIG_RTL8169=y
configs/p2771-0000-500_defconfig +1 -8
@@ -5,7 +5,6 @@ CONFIG_DEFAULT_DEVICE_TREE="tegra186-p2771-0000-500" CONFIG_OF_SYSTEM_SETUP=y CONFIG_CONSOLE_MUX=y CONFIG_SYS_STDIO_DEREGISTER=y -CONFIG_HUSH_PARSER=y CONFIG_SYS_PROMPT="Tegra186 (P2771-0000-500) # " # CONFIG_CMD_IMI is not set # CONFIG_CMD_IMLS is not set
@@ -18,18 +17,12 @@ CONFIG_CMD_USB=y # CONFIG_CMD_FPGA is not set CONFIG_CMD_GPIO=y # CONFIG_CMD_SETEXPR is not set -CONFIG_CMD_DHCP=y # CONFIG_CMD_NFS is not set -CONFIG_CMD_MII=y -CONFIG_CMD_PING=y -CONFIG_CMD_EXT2=y -CONFIG_CMD_EXT4=y CONFIG_CMD_EXT4_WRITE=y -CONFIG_CMD_FAT=y -CONFIG_CMD_FS_GENERIC=y # CONFIG_BLK is not set CONFIG_TEGRA186_BPMP_I2C=y # CONFIG_DM_MMC_OPS is not set +CONFIG_TEGRA_MMC=y CONFIG_DWC_ETH_QOS=y CONFIG_E1000=y CONFIG_RTL8169=y
configs/paz00_defconfig +1 -0
@@ -21,6 +21,7 @@ CONFIG_CMD_EXT4_WRITE=y CONFIG_SPL_DM=y # CONFIG_BLK is not set # CONFIG_DM_MMC_OPS is not set +CONFIG_TEGRA_MMC=y CONFIG_DM_PMIC=y CONFIG_DM_REGULATOR=y CONFIG_DM_REGULATOR_FIXED=y
configs/plutux_defconfig +1 -0
@@ -21,6 +21,7 @@ CONFIG_CMD_EXT4_WRITE=y CONFIG_SPL_DM=y # CONFIG_BLK is not set # CONFIG_DM_MMC_OPS is not set +CONFIG_TEGRA_MMC=y CONFIG_SYS_NS16550=y CONFIG_USB=y CONFIG_DM_USB=y
configs/seaboard_defconfig +1 -0
@@ -21,6 +21,7 @@ CONFIG_CMD_EXT4_WRITE=y CONFIG_SPL_DM=y # CONFIG_BLK is not set # CONFIG_DM_MMC_OPS is not set +CONFIG_TEGRA_MMC=y CONFIG_DM_PMIC=y CONFIG_DM_REGULATOR=y CONFIG_DM_REGULATOR_FIXED=y
configs/tec-ng_defconfig +1 -0
@@ -24,6 +24,7 @@ CONFIG_CMD_EXT4_WRITE=y CONFIG_SPL_DM=y # CONFIG_BLK is not set # CONFIG_DM_MMC_OPS is not set +CONFIG_TEGRA_MMC=y CONFIG_SPI_FLASH=y CONFIG_SPI_FLASH_WINBOND=y CONFIG_SYS_NS16550=y
configs/tec_defconfig +1 -0
@@ -22,6 +22,7 @@ CONFIG_CMD_EXT4_WRITE=y CONFIG_SPL_DM=y # CONFIG_BLK is not set # CONFIG_DM_MMC_OPS is not set +CONFIG_TEGRA_MMC=y CONFIG_DM_PMIC=y CONFIG_DM_REGULATOR=y CONFIG_DM_REGULATOR_FIXED=y
configs/trimslice_defconfig +1 -0
@@ -23,6 +23,7 @@ CONFIG_CMD_EXT4_WRITE=y CONFIG_SPL_DM=y # CONFIG_BLK is not set # CONFIG_DM_MMC_OPS is not set +CONFIG_TEGRA_MMC=y CONFIG_SPI_FLASH=y CONFIG_SPI_FLASH_WINBOND=y CONFIG_RTL8169=y
configs/venice2_defconfig +1 -0
@@ -28,6 +28,7 @@ CONFIG_DFU_MMC=y CONFIG_DFU_RAM=y CONFIG_DFU_SF=y # CONFIG_DM_MMC_OPS is not set +CONFIG_TEGRA_MMC=y CONFIG_SPI_FLASH=y CONFIG_SPI_FLASH_WINBOND=y CONFIG_SYS_NS16550=y
configs/ventana_defconfig +1 -0
@@ -20,6 +20,7 @@ CONFIG_CMD_EXT4_WRITE=y CONFIG_SPL_DM=y # CONFIG_BLK is not set # CONFIG_DM_MMC_OPS is not set +CONFIG_TEGRA_MMC=y CONFIG_DM_PMIC=y CONFIG_DM_REGULATOR=y CONFIG_DM_REGULATOR_FIXED=y
configs/whistler_defconfig +1 -0
@@ -21,6 +21,7 @@ CONFIG_CMD_EXT4_WRITE=y CONFIG_SPL_DM=y # CONFIG_BLK is not set # CONFIG_DM_MMC_OPS is not set +CONFIG_TEGRA_MMC=y CONFIG_SYS_NS16550=y CONFIG_USB=y CONFIG_DM_USB=y
include/configs/apalis-tk1.h +0 -1
@@ -31,7 +31,6 @@/* SD/MMC support */ #define CONFIG_MMC #define CONFIG_GENERIC_MMC -#define CONFIG_TEGRA_MMC #define CONFIG_SUPPORT_EMMC_BOOT /* eMMC specific */ /* Environment in eMMC, before config block at the end of 1st "boot sector" */
include/configs/apalis_t30.h +0 -1
@@ -30,7 +30,6 @@/* SD/MMC support */ #define CONFIG_MMC #define CONFIG_GENERIC_MMC -#define CONFIG_TEGRA_MMC /* Environment in eMMC, before config block at the end of 1st "boot sector" */ #define CONFIG_ENV_IS_IN_MMC
include/configs/beaver.h +0 -1
@@ -30,7 +30,6 @@/* SD/MMC */ #define CONFIG_MMC #define CONFIG_GENERIC_MMC -#define CONFIG_TEGRA_MMC /* Environment in eMMC, at the end of 2nd "boot sector" */ #define CONFIG_ENV_IS_IN_MMC
include/configs/cardhu.h +0 -1
@@ -33,7 +33,6 @@/* SD/MMC */ #define CONFIG_MMC #define CONFIG_GENERIC_MMC -#define CONFIG_TEGRA_MMC /* Environment in eMMC, at the end of 2nd "boot sector" */ #define CONFIG_ENV_IS_IN_MMC
include/configs/cei-tk1-som.h +0 -1
@@ -32,7 +32,6 @@/* SD/MMC */ #define CONFIG_MMC #define CONFIG_GENERIC_MMC -#define CONFIG_TEGRA_MMC /* Environment in eMMC, at the end of 2nd "boot sector" */ #define CONFIG_ENV_IS_IN_MMC
include/configs/colibri_t20.h +0 -1
@@ -29,7 +29,6 @@/* SD/MMC support */ #define CONFIG_MMC #define CONFIG_GENERIC_MMC -#define CONFIG_TEGRA_MMC /* USB host support */ #define CONFIG_USB_EHCI
include/configs/colibri_t30.h +0 -1
@@ -30,7 +30,6 @@/* SD/MMC support */ #define CONFIG_MMC #define CONFIG_GENERIC_MMC -#define CONFIG_TEGRA_MMC /* Environment in eMMC, before config block at the end of 1st "boot sector" */ #define CONFIG_ENV_IS_IN_MMC
include/configs/dalmore.h +0 -1
@@ -26,7 +26,6 @@/* SD/MMC */ #define CONFIG_MMC #define CONFIG_GENERIC_MMC -#define CONFIG_TEGRA_MMC /* Environment in eMMC, at the end of 2nd "boot sector" */ #define CONFIG_ENV_IS_IN_MMC
include/configs/e2220-1170.h +0 -1
@@ -24,7 +24,6 @@/* SD/MMC */ #define CONFIG_MMC #define CONFIG_GENERIC_MMC -#define CONFIG_TEGRA_MMC /* Environment in eMMC, at the end of 2nd "boot sector" */ #define CONFIG_ENV_IS_IN_MMC
include/configs/harmony.h +0 -1
@@ -29,7 +29,6 @@/* SD/MMC */ #define CONFIG_MMC #define CONFIG_GENERIC_MMC -#define CONFIG_TEGRA_MMC /* NAND support */ #define CONFIG_CMD_NAND
include/configs/jetson-tk1.h +0 -1
@@ -28,7 +28,6 @@/* SD/MMC */ #define CONFIG_MMC #define CONFIG_GENERIC_MMC -#define CONFIG_TEGRA_MMC /* Environment in eMMC, at the end of 2nd "boot sector" */ #define CONFIG_ENV_IS_IN_MMC
include/configs/medcom-wide.h +0 -1
@@ -22,7 +22,6 @@/* SD/MMC */ #define CONFIG_MMC #define CONFIG_GENERIC_MMC -#define CONFIG_TEGRA_MMC /* NAND support */ #define CONFIG_CMD_NAND
include/configs/nyan-big.h +0 -1
@@ -27,7 +27,6 @@/* SD/MMC */ #define CONFIG_MMC #define CONFIG_GENERIC_MMC -#define CONFIG_TEGRA_MMC /* Environment in eMMC, at the end of 2nd "boot sector" */ #define CONFIG_ENV_IS_IN_MMC
include/configs/p2371-0000.h +0 -1
@@ -24,7 +24,6 @@/* SD/MMC */ #define CONFIG_MMC #define CONFIG_GENERIC_MMC -#define CONFIG_TEGRA_MMC /* Environment in eMMC, at the end of 2nd "boot sector" */ #define CONFIG_ENV_IS_IN_MMC
include/configs/p2371-2180.h +0 -1
@@ -24,7 +24,6 @@/* SD/MMC */ #define CONFIG_MMC #define CONFIG_GENERIC_MMC -#define CONFIG_TEGRA_MMC /* Environment in eMMC, at the end of 2nd "boot sector" */ #define CONFIG_ENV_IS_IN_MMC
include/configs/p2571.h +0 -1
@@ -25,7 +25,6 @@/* SD/MMC */ #define CONFIG_MMC #define CONFIG_GENERIC_MMC -#define CONFIG_TEGRA_MMC /* Environment in eMMC, at the end of 2nd "boot sector" */ #define CONFIG_ENV_IS_IN_MMC
include/configs/p2771-0000.h +0 -1
@@ -20,7 +20,6 @@/* SD/MMC */ #define CONFIG_MMC #define CONFIG_GENERIC_MMC -#define CONFIG_TEGRA_MMC /* Environment in eMMC, at the end of 2nd "boot sector" */ #define CONFIG_ENV_IS_IN_MMC
include/configs/paz00.h +0 -1
@@ -25,7 +25,6 @@/* SD/MMC */ #define CONFIG_MMC #define CONFIG_GENERIC_MMC -#define CONFIG_TEGRA_MMC /* Environment in eMMC, at the end of 2nd "boot sector" */ #define CONFIG_ENV_IS_IN_MMC
include/configs/plutux.h +0 -1
@@ -22,7 +22,6 @@/* SD/MMC */ #define CONFIG_MMC #define CONFIG_GENERIC_MMC -#define CONFIG_TEGRA_MMC /* NAND support */ #define CONFIG_CMD_NAND
include/configs/seaboard.h +0 -1
@@ -34,7 +34,6 @@/* SD/MMC */ #define CONFIG_MMC #define CONFIG_GENERIC_MMC -#define CONFIG_TEGRA_MMC /* Environment in eMMC, at the end of 2nd "boot sector" */ #define CONFIG_ENV_IS_IN_MMC
include/configs/tec-ng.h +0 -1
@@ -23,7 +23,6 @@/* SD/MMC */ #define CONFIG_MMC #define CONFIG_GENERIC_MMC -#define CONFIG_TEGRA_MMC /* Environment in eMMC, at the end of 2nd "boot sector" */ #define CONFIG_ENV_IS_IN_MMC
include/configs/tec.h +0 -1
@@ -22,7 +22,6 @@/* SD/MMC */ #define CONFIG_MMC #define CONFIG_GENERIC_MMC -#define CONFIG_TEGRA_MMC /* NAND support */ #define CONFIG_CMD_NAND
include/configs/trimslice.h +0 -1
@@ -30,7 +30,6 @@/* SD/MMC */ #define CONFIG_MMC #define CONFIG_GENERIC_MMC -#define CONFIG_TEGRA_MMC /* Environment in SPI */ #define CONFIG_ENV_IS_IN_SPI_FLASH
include/configs/venice2.h +0 -1
@@ -25,7 +25,6 @@/* SD/MMC */ #define CONFIG_MMC #define CONFIG_GENERIC_MMC -#define CONFIG_TEGRA_MMC /* Environment in eMMC, at the end of 2nd "boot sector" */ #define CONFIG_ENV_IS_IN_MMC
include/configs/ventana.h +0 -1
@@ -23,7 +23,6 @@/* SD/MMC */ #define CONFIG_MMC #define CONFIG_GENERIC_MMC -#define CONFIG_TEGRA_MMC /* Environment in eMMC, at the end of 2nd "boot sector" */ #define CONFIG_ENV_IS_IN_MMC
include/configs/whistler.h +0 -1
@@ -27,7 +27,6 @@/* SD/MMC */ #define CONFIG_MMC #define CONFIG_GENERIC_MMC -#define CONFIG_TEGRA_MMC /* * Environment in eMMC, at the end of 2nd "boot sector". Note: This assumes
scripts/config_whitelist.txt +0 -1
@@ -7819,7 +7819,6 @@ CONFIG_TEGRA_ENABLE_UARTE CONFIG_TEGRA_GPU CONFIG_TEGRA_KEYBOARD CONFIG_TEGRA_LP0 -CONFIG_TEGRA_MMC CONFIG_TEGRA_NAND CONFIG_TEGRA_PMU CONFIG_TEGRA_SLINK_CTRLS
Signature · 1 line
2.9.3
PATCH v3 4/6 mmc: tegra: allow disabling external clock loopback
In reply to Marcel ZiswilerFrom: Marcel Ziswiler <[email protected]>
Introduce CONFIG_TEGRA124_MMC_DISABLE_EXT_LOOPBACK to disable the external clock loopback and use the internal one on SDMMC3 as per the SDMMC_VENDOR_MISC_CNTRL_0 register's SDMMC_SPARE1 bits being set to 0xfffd according to the TRM.
---
Changes in v3: None
Changes in v2:
- Added Simon's reviewed-by.
- Added TODO(email) as suggested by Simon so it is clear this is temporary and will be moved to device tree controlled approach once proper kernel integration made it mainline.
arch/arm/include/asm/arch-tegra/tegra_mmc.h | 2 ++ drivers/mmc/Kconfig | 11 +++++++++++ drivers/mmc/tegra_mmc.c | 16 ++++++++++++++++ 3 files changed, 29 insertions(+)
arch/arm/include/asm/arch-tegra/tegra_mmc.h +2 -0
@@ -108,6 +108,8 @@ struct tegra_mmc {#define TEGRA_MMC_CLKCON_SDCLK_FREQ_SEL_SHIFT 8#define TEGRA_MMC_CLKCON_SDCLK_FREQ_SEL_MASK (0xff << 8) +#define TEGRA_MMC_MISCON_ENABLE_EXT_LOOPBACK (1 << 17) +#define TEGRA_MMC_SWRST_SW_RESET_FOR_ALL (1 << 0)#define TEGRA_MMC_SWRST_SW_RESET_FOR_CMD_LINE (1 << 1)#define TEGRA_MMC_SWRST_SW_RESET_FOR_DAT_LINE (1 << 2)
drivers/mmc/Kconfig +11 -0
@@ -116,4 +116,15 @@ config TEGRA_MMC help This selects support for SDHCI on Tegra SoCs. +config TEGRA124_MMC_DISABLE_EXT_LOOPBACK + bool "Disable external clock loopback" + depends on TEGRA_MMC && TEGRA124 + help + Disable the external clock loopback and use the internal one on SDMMC3 + as per the SDMMC_VENDOR_MISC_CNTRL_0 register's SDMMC_SPARE1 bits + being set to 0xfffd according to the TRM. + + TODO(marcel.ziswiler at toradex.com): Move to device tree controlled + approach once proper kernel integration made it mainline. + endmenu
drivers/mmc/tegra_mmc.c +16 -0
@@ -511,6 +511,22 @@ static int tegra_mmc_init(struct mmc *mmc)tegra_mmc_reset (priv, mmc); +#if defined(CONFIG_TEGRA124_MMC_DISABLE_EXT_LOOPBACK ) +/* +* Disable the external clock loopback and use the internal one on +* SDMMC3 as per the SDMMC_VENDOR_MISC_CNTRL_0 register's SDMMC_SPARE1 +* bits being set to 0xfffd according to the TRM. +* +* TODO([email protected]): Move to device tree controlled +* approach once proper kernel integration made it mainline. +*/ +if (priv->reg == (void *)0x700b0400 ) { + mask =readl (&priv->reg->venmiscctl); + mask &= ~TEGRA_MMC_MISCON_ENABLE_EXT_LOOPBACK ; +writel (mask, &priv->reg->venmiscctl); + } +#endif + priv->version =readw (&priv->reg->hcver);debug ("host version = %x\n" , priv->version);
Signature · 1 line
2.9.3
PATCH v3 5/6 apalis-tk1: disable external clock loopback on SDMMC3
In reply to Marcel ZiswilerFrom: Marcel Ziswiler <[email protected]>
Actually make use of that shiny new CONFIG_TEGRA124_MMC_DISABLE_EXT_LOOPBACK.
---
Changes in v3: None
Changes in v2: None
configs/apalis-tk1_defconfig | 1 + 1 file changed, 1 insertion(+)
configs/apalis-tk1_defconfig +1 -0
@@ -37,6 +37,7 @@ CONFIG_DFU_MMC=y CONFIG_DFU_RAM=y # CONFIG_DM_MMC_OPS is not set CONFIG_TEGRA_MMC=y +CONFIG_TEGRA124_MMC_DISABLE_EXT_LOOPBACK=y CONFIG_E1000=y CONFIG_PCI=y CONFIG_DM_PCI=y
Signature · 1 line
2.9.3
PATCH v3 6/6 apalis-tk1: clean-up defconfig
In reply to Marcel ZiswilerFrom: Marcel Ziswiler <[email protected]>
Use make savedefconfig to clean-up defconfig.
---
Changes in v3:
- Cleaned-up defconfig using savedefconfig.
Changes in v2: None
configs/apalis-tk1_defconfig | 9 --------- 1 file changed, 9 deletions(-)
configs/apalis-tk1_defconfig +0 -9
@@ -9,9 +9,7 @@ CONFIG_CONSOLE_MUX=y CONFIG_SYS_STDIO_DEREGISTER=y CONFIG_VERSION_VARIABLE=y # CONFIG_DISPLAY_BOARDINFO is not set -CONFIG_HUSH_PARSER=y CONFIG_SYS_PROMPT="Apalis TK1 # " -CONFIG_CMD_BOOTZ=y # CONFIG_CMD_IMI is not set # CONFIG_CMD_IMLS is not set # CONFIG_CMD_FLASH is not set
@@ -22,15 +20,8 @@ CONFIG_CMD_DFU=y CONFIG_CMD_USB_MASS_STORAGE=y # CONFIG_CMD_FPGA is not set CONFIG_CMD_GPIO=y -CONFIG_CMD_DHCP=y # CONFIG_CMD_NFS is not set -CONFIG_CMD_MII=y -CONFIG_CMD_PING=y -CONFIG_CMD_EXT2=y -CONFIG_CMD_EXT4=y CONFIG_CMD_EXT4_WRITE=y -CONFIG_CMD_FAT=y -CONFIG_CMD_FS_GENERIC=y CONFIG_SPL_DM=y # CONFIG_BLK is not set CONFIG_DFU_MMC=y
Signature · 1 line
2.9.3
PATCH v3 2/6 mmc: tegra: introduce CONFIG_TEGRA_MMC to Kconfig
In reply to Marcel ZiswilerQuoted 4 lines · Marcel Ziswiler
From: Marcel Ziswiler <[email protected]>
Signed-off-by Marcel Ziswiler <[email protected]>Reviewed-by Simon Glass <[email protected]>
Best Regards,
Jaehoon Chung
Quoted 26 lines
---
Changes in v3: None
Changes in v2:
- Added Simon's reviewed-by.drivers/mmc/Kconfig | 6 ++++++ 1 file changed, 6 insertions(+)drivers/mmc/Kconfig +6
-0@@ -110,4 +110,10 @@ config SANDBOX_MMC improves build coverage for sandbox and makes it easier to detect MMC build errors with sandbox. +config TEGRA_MMC + bool "Tegra SDHCI aka MMC support" + depends on DM_MMC && TEGRA + help + This selects support for SDHCI on Tegra SoCs. + endmenu
PATCH v3 3/6 mmc: tegra: move CONFIG_TEGRA_MMC from headers to defconfigs
In reply to Marcel ZiswilerQuoted 11 lines · Marcel Ziswiler
From: Marcel Ziswiler <[email protected]>
Basically running the following script:
tools/moveconfig.pyCONFIG_TEGRA_MMCNote that I left the SPL specific handling in
include/configs/tegra-common-post.hunchanged.Signed-off-by Marcel Ziswiler <[email protected]>Reviewed-by Simon Glass <[email protected]>
Best Regards,
Jaehoon Chung
Quoted 849 lines
---
Changes in v3:
- My recent fresh install of Fedora 25 was missing an aarch64 toolchain which mademoveconfig.pynot properly handle the 6 newer Tegras. I now re-runmoveconfig.pyafter installing an aarch64 toolchain and it all looks sane. Sorry about that, Tom.Changes in v2:
- Added Simon's reviewed-by.BTW: I will look at converting tegra to use
CONFIG_BLKandCONFIG_DM_MMC_OPSin a later separate step.--- configs/apalis-tk1_defconfig | 1 + configs/apalis_t30_defconfig | 1 + configs/beaver_defconfig | 1 + configs/cardhu_defconfig | 1 + configs/cei-tk1-som_defconfig | 1 + configs/colibri_t20_defconfig | 1 + configs/colibri_t30_defconfig | 1 + configs/dalmore_defconfig | 1 + configs/e2220-1170_defconfig | 9 +-------- configs/harmony_defconfig | 1 + configs/jetson-tk1_defconfig | 1 + configs/medcom-wide_defconfig | 1 + configs/nyan-big_defconfig | 1 + configs/p2371-0000_defconfig | 9 +-------- configs/p2371-2180_defconfig | 9 +-------- configs/p2571_defconfig | 9 +-------- configs/p2771-0000-000_defconfig | 9 +-------- configs/p2771-0000-500_defconfig | 9 +-------- configs/paz00_defconfig | 1 + configs/plutux_defconfig | 1 + configs/seaboard_defconfig | 1 + configs/tec-ng_defconfig | 1 + configs/tec_defconfig | 1 + configs/trimslice_defconfig | 1 + configs/venice2_defconfig | 1 + configs/ventana_defconfig | 1 + configs/whistler_defconfig | 1 + include/configs/apalis-tk1.h | 1 - include/configs/apalis_t30.h | 1 - include/configs/beaver.h | 1 - include/configs/cardhu.h | 1 - include/configs/cei-tk1-som.h | 1 - include/configs/colibri_t20.h | 1 - include/configs/colibri_t30.h | 1 - include/configs/dalmore.h | 1 - include/configs/e2220-1170.h | 1 - include/configs/harmony.h | 1 - include/configs/jetson-tk1.h | 1 - include/configs/medcom-wide.h | 1 - include/configs/nyan-big.h | 1 - include/configs/p2371-0000.h | 1 - include/configs/p2371-2180.h | 1 - include/configs/p2571.h | 1 - include/configs/p2771-0000.h | 1 - include/configs/paz00.h | 1 - include/configs/plutux.h | 1 - include/configs/seaboard.h | 1 - include/configs/tec-ng.h | 1 - include/configs/tec.h | 1 - include/configs/trimslice.h | 1 - include/configs/venice2.h | 1 - include/configs/ventana.h | 1 - include/configs/whistler.h | 1 - scripts/config_whitelist.txt | 1 - 54 files changed, 27 insertions(+), 75 deletions(-)configs/apalis-tk1_defconfig +1
-0@@ -36,6 +36,7 @@ CONFIG_SPL_DM=y CONFIG_DFU_MMC=y CONFIG_DFU_RAM=y # CONFIG_DM_MMC_OPS is not set +CONFIG_TEGRA_MMC=y CONFIG_E1000=y CONFIG_PCI=y CONFIG_DM_PCI=yconfigs/apalis_t30_defconfig +1
-0@@ -25,6 +25,7 @@ CONFIG_SPL_DM=y CONFIG_DFU_MMC=y CONFIG_DFU_RAM=y # CONFIG_DM_MMC_OPS is not set +CONFIG_TEGRA_MMC=y CONFIG_E1000=y CONFIG_PCI=y CONFIG_DM_PCI=yconfigs/beaver_defconfig +1
-0@@ -28,6 +28,7 @@ CONFIG_DFU_MMC=y CONFIG_DFU_RAM=y CONFIG_DFU_SF=y # CONFIG_DM_MMC_OPS is not set +CONFIG_TEGRA_MMC=y CONFIG_SPI_FLASH=y CONFIG_SPI_FLASH_WINBOND=y CONFIG_RTL8169=yconfigs/cardhu_defconfig +1
-0@@ -23,6 +23,7 @@ CONFIG_CMD_EXT4_WRITE=y CONFIG_SPL_DM=y # CONFIG_BLK is not set # CONFIG_DM_MMC_OPS is not set +CONFIG_TEGRA_MMC=y CONFIG_SPI_FLASH=y CONFIG_SPI_FLASH_WINBOND=y CONFIG_RTL8169=yconfigs/cei-tk1-som_defconfig +1
-0@@ -28,6 +28,7 @@ CONFIG_DFU_MMC=y CONFIG_DFU_RAM=y CONFIG_DFU_SF=y # CONFIG_DM_MMC_OPS is not set +CONFIG_TEGRA_MMC=y CONFIG_SPI_FLASH=y CONFIG_SPI_FLASH_WINBOND=y CONFIG_RTL8169=yconfigs/colibri_t20_defconfig +1
-0@@ -28,6 +28,7 @@ CONFIG_SPL_DM=y CONFIG_DFU_MMC=y CONFIG_DFU_RAM=y # CONFIG_DM_MMC_OPS is not set +CONFIG_TEGRA_MMC=y CONFIG_MTD_UBI_FASTMAP=y CONFIG_DM_PMIC=y CONFIG_DM_REGULATOR=yconfigs/colibri_t30_defconfig +1
-0@@ -25,6 +25,7 @@ CONFIG_SPL_DM=y CONFIG_DFU_MMC=y CONFIG_DFU_RAM=y # CONFIG_DM_MMC_OPS is not set +CONFIG_TEGRA_MMC=y CONFIG_SYS_NS16550=y CONFIG_USB=y CONFIG_DM_USB=yconfigs/dalmore_defconfig +1
-0@@ -28,6 +28,7 @@ CONFIG_DFU_MMC=y CONFIG_DFU_RAM=y CONFIG_DFU_SF=y # CONFIG_DM_MMC_OPS is not set +CONFIG_TEGRA_MMC=y CONFIG_SPI_FLASH=y CONFIG_SPI_FLASH_WINBOND=y CONFIG_SYS_NS16550=yconfigs/e2220-1170_defconfig +1
-8@@ -5,7 +5,6 @@ CONFIG_DEFAULT_DEVICE_TREE="tegra210-e2220-1170" CONFIG_OF_SYSTEM_SETUP=y CONFIG_CONSOLE_MUX=y CONFIG_SYS_STDIO_DEREGISTER=y -CONFIG_HUSH_PARSER=y CONFIG_SYS_PROMPT="Tegra210 (E2220-1170) # " # CONFIG_CMD_IMI is not set # CONFIG_CMD_IMLS is not set@@ -20,20 +19,14 @@ CONFIG_CMD_USB_MASS_STORAGE=y # CONFIG_CMD_FPGA is not set CONFIG_CMD_GPIO=y # CONFIG_CMD_SETEXPR is not set -CONFIG_CMD_DHCP=y # CONFIG_CMD_NFS is not set -CONFIG_CMD_MII=y -CONFIG_CMD_PING=y -CONFIG_CMD_EXT2=y -CONFIG_CMD_EXT4=y CONFIG_CMD_EXT4_WRITE=y -CONFIG_CMD_FAT=y -CONFIG_CMD_FS_GENERIC=y # CONFIG_BLK is not set CONFIG_DFU_MMC=y CONFIG_DFU_RAM=y CONFIG_DFU_SF=y # CONFIG_DM_MMC_OPS is not set +CONFIG_TEGRA_MMC=y CONFIG_SPI_FLASH=y CONFIG_SPI_FLASH_WINBOND=y CONFIG_SYS_NS16550=yconfigs/harmony_defconfig +1
-0@@ -21,6 +21,7 @@ CONFIG_CMD_EXT4_WRITE=y CONFIG_SPL_DM=y # CONFIG_BLK is not set # CONFIG_DM_MMC_OPS is not set +CONFIG_TEGRA_MMC=y CONFIG_PCI=y CONFIG_DM_PCI=y CONFIG_DM_PCI_COMPAT=yconfigs/jetson-tk1_defconfig +1
-0@@ -28,6 +28,7 @@ CONFIG_DFU_MMC=y CONFIG_DFU_RAM=y CONFIG_DFU_SF=y # CONFIG_DM_MMC_OPS is not set +CONFIG_TEGRA_MMC=y CONFIG_SPI_FLASH=y CONFIG_SPI_FLASH_WINBOND=y CONFIG_RTL8169=yconfigs/medcom-wide_defconfig +1
-0@@ -22,6 +22,7 @@ CONFIG_CMD_EXT4_WRITE=y CONFIG_SPL_DM=y # CONFIG_BLK is not set # CONFIG_DM_MMC_OPS is not set +CONFIG_TEGRA_MMC=y CONFIG_DM_PMIC=y CONFIG_DM_REGULATOR=y CONFIG_DM_REGULATOR_FIXED=yconfigs/nyan-big_defconfig +1
-0@@ -36,6 +36,7 @@ CONFIG_CROS_EC_KEYB=y CONFIG_CROS_EC=y CONFIG_CROS_EC_SPI=y # CONFIG_DM_MMC_OPS is not set +CONFIG_TEGRA_MMC=y CONFIG_SPI_FLASH=y CONFIG_SPI_FLASH_WINBOND=y CONFIG_DM_PMIC=yconfigs/p2371-0000_defconfig +1
-8@@ -6,7 +6,6 @@ CONFIG_DEFAULT_DEVICE_TREE="tegra210-p2371-0000" CONFIG_OF_SYSTEM_SETUP=y CONFIG_CONSOLE_MUX=y CONFIG_SYS_STDIO_DEREGISTER=y -CONFIG_HUSH_PARSER=y CONFIG_SYS_PROMPT="Tegra210 (P2371-0000) # " # CONFIG_CMD_IMI is not set # CONFIG_CMD_IMLS is not set@@ -21,20 +20,14 @@ CONFIG_CMD_USB_MASS_STORAGE=y # CONFIG_CMD_FPGA is not set CONFIG_CMD_GPIO=y # CONFIG_CMD_SETEXPR is not set -CONFIG_CMD_DHCP=y # CONFIG_CMD_NFS is not set -CONFIG_CMD_MII=y -CONFIG_CMD_PING=y -CONFIG_CMD_EXT2=y -CONFIG_CMD_EXT4=y CONFIG_CMD_EXT4_WRITE=y -CONFIG_CMD_FAT=y -CONFIG_CMD_FS_GENERIC=y # CONFIG_BLK is not set CONFIG_DFU_MMC=y CONFIG_DFU_RAM=y CONFIG_DFU_SF=y # CONFIG_DM_MMC_OPS is not set +CONFIG_TEGRA_MMC=y CONFIG_SPI_FLASH=y CONFIG_SPI_FLASH_WINBOND=y CONFIG_SYS_NS16550=yconfigs/p2371-2180_defconfig +1
-8@@ -6,7 +6,6 @@ CONFIG_DEFAULT_DEVICE_TREE="tegra210-p2371-2180" CONFIG_OF_SYSTEM_SETUP=y CONFIG_CONSOLE_MUX=y CONFIG_SYS_STDIO_DEREGISTER=y -CONFIG_HUSH_PARSER=y CONFIG_SYS_PROMPT="Tegra210 (P2371-2180) # " # CONFIG_CMD_IMI is not set # CONFIG_CMD_IMLS is not set@@ -21,20 +20,14 @@ CONFIG_CMD_USB_MASS_STORAGE=y # CONFIG_CMD_FPGA is not set CONFIG_CMD_GPIO=y # CONFIG_CMD_SETEXPR is not set -CONFIG_CMD_DHCP=y # CONFIG_CMD_NFS is not set -CONFIG_CMD_MII=y -CONFIG_CMD_PING=y -CONFIG_CMD_EXT2=y -CONFIG_CMD_EXT4=y CONFIG_CMD_EXT4_WRITE=y -CONFIG_CMD_FAT=y -CONFIG_CMD_FS_GENERIC=y # CONFIG_BLK is not set CONFIG_DFU_MMC=y CONFIG_DFU_RAM=y CONFIG_DFU_SF=y # CONFIG_DM_MMC_OPS is not set +CONFIG_TEGRA_MMC=y CONFIG_SPI_FLASH=y CONFIG_SPI_FLASH_WINBOND=y CONFIG_RTL8169=yconfigs/p2571_defconfig +1
-8@@ -6,7 +6,6 @@ CONFIG_DEFAULT_DEVICE_TREE="tegra210-p2571" CONFIG_OF_SYSTEM_SETUP=y CONFIG_CONSOLE_MUX=y CONFIG_SYS_STDIO_DEREGISTER=y -CONFIG_HUSH_PARSER=y CONFIG_SYS_PROMPT="Tegra210 (P2571) # " # CONFIG_CMD_IMI is not set # CONFIG_CMD_IMLS is not set@@ -21,20 +20,14 @@ CONFIG_CMD_USB_MASS_STORAGE=y # CONFIG_CMD_FPGA is not set CONFIG_CMD_GPIO=y # CONFIG_CMD_SETEXPR is not set -CONFIG_CMD_DHCP=y # CONFIG_CMD_NFS is not set -CONFIG_CMD_MII=y -CONFIG_CMD_PING=y -CONFIG_CMD_EXT2=y -CONFIG_CMD_EXT4=y CONFIG_CMD_EXT4_WRITE=y -CONFIG_CMD_FAT=y -CONFIG_CMD_FS_GENERIC=y # CONFIG_BLK is not set CONFIG_DFU_MMC=y CONFIG_DFU_RAM=y CONFIG_DFU_SF=y # CONFIG_DM_MMC_OPS is not set +CONFIG_TEGRA_MMC=y CONFIG_SPI_FLASH=y CONFIG_SPI_FLASH_WINBOND=y CONFIG_SYS_NS16550=yconfigs/p2771-0000-000_defconfig +1
-8@@ -5,7 +5,6 @@ CONFIG_DEFAULT_DEVICE_TREE="tegra186-p2771-0000-000" CONFIG_OF_SYSTEM_SETUP=y CONFIG_CONSOLE_MUX=y CONFIG_SYS_STDIO_DEREGISTER=y -CONFIG_HUSH_PARSER=y CONFIG_SYS_PROMPT="Tegra186 (P2771-0000-000) # " # CONFIG_CMD_IMI is not set # CONFIG_CMD_IMLS is not set@@ -18,18 +17,12 @@ CONFIG_CMD_USB=y # CONFIG_CMD_FPGA is not set CONFIG_CMD_GPIO=y # CONFIG_CMD_SETEXPR is not set -CONFIG_CMD_DHCP=y # CONFIG_CMD_NFS is not set -CONFIG_CMD_MII=y -CONFIG_CMD_PING=y -CONFIG_CMD_EXT2=y -CONFIG_CMD_EXT4=y CONFIG_CMD_EXT4_WRITE=y -CONFIG_CMD_FAT=y -CONFIG_CMD_FS_GENERIC=y # CONFIG_BLK is not set CONFIG_TEGRA186_BPMP_I2C=y # CONFIG_DM_MMC_OPS is not set +CONFIG_TEGRA_MMC=y CONFIG_DWC_ETH_QOS=y CONFIG_E1000=y CONFIG_RTL8169=yconfigs/p2771-0000-500_defconfig +1
-8@@ -5,7 +5,6 @@ CONFIG_DEFAULT_DEVICE_TREE="tegra186-p2771-0000-500" CONFIG_OF_SYSTEM_SETUP=y CONFIG_CONSOLE_MUX=y CONFIG_SYS_STDIO_DEREGISTER=y -CONFIG_HUSH_PARSER=y CONFIG_SYS_PROMPT="Tegra186 (P2771-0000-500) # " # CONFIG_CMD_IMI is not set # CONFIG_CMD_IMLS is not set@@ -18,18 +17,12 @@ CONFIG_CMD_USB=y # CONFIG_CMD_FPGA is not set CONFIG_CMD_GPIO=y # CONFIG_CMD_SETEXPR is not set -CONFIG_CMD_DHCP=y # CONFIG_CMD_NFS is not set -CONFIG_CMD_MII=y -CONFIG_CMD_PING=y -CONFIG_CMD_EXT2=y -CONFIG_CMD_EXT4=y CONFIG_CMD_EXT4_WRITE=y -CONFIG_CMD_FAT=y -CONFIG_CMD_FS_GENERIC=y # CONFIG_BLK is not set CONFIG_TEGRA186_BPMP_I2C=y # CONFIG_DM_MMC_OPS is not set +CONFIG_TEGRA_MMC=y CONFIG_DWC_ETH_QOS=y CONFIG_E1000=y CONFIG_RTL8169=yconfigs/paz00_defconfig +1
-0@@ -21,6 +21,7 @@ CONFIG_CMD_EXT4_WRITE=y CONFIG_SPL_DM=y # CONFIG_BLK is not set # CONFIG_DM_MMC_OPS is not set +CONFIG_TEGRA_MMC=y CONFIG_DM_PMIC=y CONFIG_DM_REGULATOR=y CONFIG_DM_REGULATOR_FIXED=yconfigs/plutux_defconfig +1
-0@@ -21,6 +21,7 @@ CONFIG_CMD_EXT4_WRITE=y CONFIG_SPL_DM=y # CONFIG_BLK is not set # CONFIG_DM_MMC_OPS is not set +CONFIG_TEGRA_MMC=y CONFIG_SYS_NS16550=y CONFIG_USB=y CONFIG_DM_USB=yconfigs/seaboard_defconfig +1
-0@@ -21,6 +21,7 @@ CONFIG_CMD_EXT4_WRITE=y CONFIG_SPL_DM=y # CONFIG_BLK is not set # CONFIG_DM_MMC_OPS is not set +CONFIG_TEGRA_MMC=y CONFIG_DM_PMIC=y CONFIG_DM_REGULATOR=y CONFIG_DM_REGULATOR_FIXED=yconfigs/tec-ng_defconfig +1
-0@@ -24,6 +24,7 @@ CONFIG_CMD_EXT4_WRITE=y CONFIG_SPL_DM=y # CONFIG_BLK is not set # CONFIG_DM_MMC_OPS is not set +CONFIG_TEGRA_MMC=y CONFIG_SPI_FLASH=y CONFIG_SPI_FLASH_WINBOND=y CONFIG_SYS_NS16550=yconfigs/tec_defconfig +1
-0@@ -22,6 +22,7 @@ CONFIG_CMD_EXT4_WRITE=y CONFIG_SPL_DM=y # CONFIG_BLK is not set # CONFIG_DM_MMC_OPS is not set +CONFIG_TEGRA_MMC=y CONFIG_DM_PMIC=y CONFIG_DM_REGULATOR=y CONFIG_DM_REGULATOR_FIXED=yconfigs/trimslice_defconfig +1
-0@@ -23,6 +23,7 @@ CONFIG_CMD_EXT4_WRITE=y CONFIG_SPL_DM=y # CONFIG_BLK is not set # CONFIG_DM_MMC_OPS is not set +CONFIG_TEGRA_MMC=y CONFIG_SPI_FLASH=y CONFIG_SPI_FLASH_WINBOND=y CONFIG_RTL8169=yconfigs/venice2_defconfig +1
-0@@ -28,6 +28,7 @@ CONFIG_DFU_MMC=y CONFIG_DFU_RAM=y CONFIG_DFU_SF=y # CONFIG_DM_MMC_OPS is not set +CONFIG_TEGRA_MMC=y CONFIG_SPI_FLASH=y CONFIG_SPI_FLASH_WINBOND=y CONFIG_SYS_NS16550=yconfigs/ventana_defconfig +1
-0@@ -20,6 +20,7 @@ CONFIG_CMD_EXT4_WRITE=y CONFIG_SPL_DM=y # CONFIG_BLK is not set # CONFIG_DM_MMC_OPS is not set +CONFIG_TEGRA_MMC=y CONFIG_DM_PMIC=y CONFIG_DM_REGULATOR=y CONFIG_DM_REGULATOR_FIXED=yconfigs/whistler_defconfig +1
-0@@ -21,6 +21,7 @@ CONFIG_CMD_EXT4_WRITE=y CONFIG_SPL_DM=y # CONFIG_BLK is not set # CONFIG_DM_MMC_OPS is not set +CONFIG_TEGRA_MMC=y CONFIG_SYS_NS16550=y CONFIG_USB=y CONFIG_DM_USB=yinclude/configs/apalis-tk1.h +0
-1@@ -31,7 +31,6 @@/* SD/MMC support */ #define CONFIG_MMC #define CONFIG_GENERIC_MMC -#define CONFIG_TEGRA_MMC #define CONFIG_SUPPORT_EMMC_BOOT /* eMMC specific */ /* Environment in eMMC, before config block at the end of 1st "boot sector" */ include/configs/apalis_t30.h +0
-1@@ -30,7 +30,6 @@/* SD/MMC support */ #define CONFIG_MMC #define CONFIG_GENERIC_MMC -#define CONFIG_TEGRA_MMC /* Environment in eMMC, before config block at the end of 1st "boot sector" */ #define CONFIG_ENV_IS_IN_MMC include/configs/beaver.h +0
-1@@ -30,7 +30,6 @@/* SD/MMC */ #define CONFIG_MMC #define CONFIG_GENERIC_MMC -#define CONFIG_TEGRA_MMC /* Environment in eMMC, at the end of 2nd "boot sector" */ #define CONFIG_ENV_IS_IN_MMC include/configs/cardhu.h +0
-1@@ -33,7 +33,6 @@/* SD/MMC */ #define CONFIG_MMC #define CONFIG_GENERIC_MMC -#define CONFIG_TEGRA_MMC /* Environment in eMMC, at the end of 2nd "boot sector" */ #define CONFIG_ENV_IS_IN_MMC include/configs/cei-tk1-som.h +0
-1@@ -32,7 +32,6 @@/* SD/MMC */ #define CONFIG_MMC #define CONFIG_GENERIC_MMC -#define CONFIG_TEGRA_MMC /* Environment in eMMC, at the end of 2nd "boot sector" */ #define CONFIG_ENV_IS_IN_MMC include/configs/colibri_t20.h +0
-1@@ -29,7 +29,6 @@/* SD/MMC support */ #define CONFIG_MMC #define CONFIG_GENERIC_MMC -#define CONFIG_TEGRA_MMC /* USB host support */ #define CONFIG_USB_EHCI include/configs/colibri_t30.h +0
-1@@ -30,7 +30,6 @@/* SD/MMC support */ #define CONFIG_MMC #define CONFIG_GENERIC_MMC -#define CONFIG_TEGRA_MMC /* Environment in eMMC, before config block at the end of 1st "boot sector" */ #define CONFIG_ENV_IS_IN_MMC include/configs/dalmore.h +0
-1@@ -26,7 +26,6 @@/* SD/MMC */ #define CONFIG_MMC #define CONFIG_GENERIC_MMC -#define CONFIG_TEGRA_MMC /* Environment in eMMC, at the end of 2nd "boot sector" */ #define CONFIG_ENV_IS_IN_MMC include/configs/e2220-1170.h +0
-1@@ -24,7 +24,6 @@/* SD/MMC */ #define CONFIG_MMC #define CONFIG_GENERIC_MMC -#define CONFIG_TEGRA_MMC /* Environment in eMMC, at the end of 2nd "boot sector" */ #define CONFIG_ENV_IS_IN_MMC include/configs/harmony.h +0
-1@@ -29,7 +29,6 @@/* SD/MMC */ #define CONFIG_MMC #define CONFIG_GENERIC_MMC -#define CONFIG_TEGRA_MMC /* NAND support */ #define CONFIG_CMD_NAND include/configs/jetson-tk1.h +0
-1@@ -28,7 +28,6 @@/* SD/MMC */ #define CONFIG_MMC #define CONFIG_GENERIC_MMC -#define CONFIG_TEGRA_MMC /* Environment in eMMC, at the end of 2nd "boot sector" */ #define CONFIG_ENV_IS_IN_MMC include/configs/medcom-wide.h +0
-1@@ -22,7 +22,6 @@/* SD/MMC */ #define CONFIG_MMC #define CONFIG_GENERIC_MMC -#define CONFIG_TEGRA_MMC /* NAND support */ #define CONFIG_CMD_NAND include/configs/nyan-big.h +0
-1@@ -27,7 +27,6 @@/* SD/MMC */ #define CONFIG_MMC #define CONFIG_GENERIC_MMC -#define CONFIG_TEGRA_MMC /* Environment in eMMC, at the end of 2nd "boot sector" */ #define CONFIG_ENV_IS_IN_MMC include/configs/p2371-0000.h +0
-1@@ -24,7 +24,6 @@/* SD/MMC */ #define CONFIG_MMC #define CONFIG_GENERIC_MMC -#define CONFIG_TEGRA_MMC /* Environment in eMMC, at the end of 2nd "boot sector" */ #define CONFIG_ENV_IS_IN_MMC include/configs/p2371-2180.h +0
-1@@ -24,7 +24,6 @@/* SD/MMC */ #define CONFIG_MMC #define CONFIG_GENERIC_MMC -#define CONFIG_TEGRA_MMC /* Environment in eMMC, at the end of 2nd "boot sector" */ #define CONFIG_ENV_IS_IN_MMC include/configs/p2571.h +0
-1@@ -25,7 +25,6 @@/* SD/MMC */ #define CONFIG_MMC #define CONFIG_GENERIC_MMC -#define CONFIG_TEGRA_MMC /* Environment in eMMC, at the end of 2nd "boot sector" */ #define CONFIG_ENV_IS_IN_MMC include/configs/p2771-0000.h +0
-1@@ -20,7 +20,6 @@/* SD/MMC */ #define CONFIG_MMC #define CONFIG_GENERIC_MMC -#define CONFIG_TEGRA_MMC /* Environment in eMMC, at the end of 2nd "boot sector" */ #define CONFIG_ENV_IS_IN_MMC include/configs/paz00.h +0
-1@@ -25,7 +25,6 @@/* SD/MMC */ #define CONFIG_MMC #define CONFIG_GENERIC_MMC -#define CONFIG_TEGRA_MMC /* Environment in eMMC, at the end of 2nd "boot sector" */ #define CONFIG_ENV_IS_IN_MMC include/configs/plutux.h +0
-1@@ -22,7 +22,6 @@/* SD/MMC */ #define CONFIG_MMC #define CONFIG_GENERIC_MMC -#define CONFIG_TEGRA_MMC /* NAND support */ #define CONFIG_CMD_NAND include/configs/seaboard.h +0
-1@@ -34,7 +34,6 @@/* SD/MMC */ #define CONFIG_MMC #define CONFIG_GENERIC_MMC -#define CONFIG_TEGRA_MMC /* Environment in eMMC, at the end of 2nd "boot sector" */ #define CONFIG_ENV_IS_IN_MMC include/configs/tec-ng.h +0
-1@@ -23,7 +23,6 @@/* SD/MMC */ #define CONFIG_MMC #define CONFIG_GENERIC_MMC -#define CONFIG_TEGRA_MMC /* Environment in eMMC, at the end of 2nd "boot sector" */ #define CONFIG_ENV_IS_IN_MMC include/configs/tec.h +0
-1@@ -22,7 +22,6 @@/* SD/MMC */ #define CONFIG_MMC #define CONFIG_GENERIC_MMC -#define CONFIG_TEGRA_MMC /* NAND support */ #define CONFIG_CMD_NAND include/configs/trimslice.h +0
-1@@ -30,7 +30,6 @@/* SD/MMC */ #define CONFIG_MMC #define CONFIG_GENERIC_MMC -#define CONFIG_TEGRA_MMC /* Environment in SPI */ #define CONFIG_ENV_IS_IN_SPI_FLASH include/configs/venice2.h +0
-1@@ -25,7 +25,6 @@/* SD/MMC */ #define CONFIG_MMC #define CONFIG_GENERIC_MMC -#define CONFIG_TEGRA_MMC /* Environment in eMMC, at the end of 2nd "boot sector" */ #define CONFIG_ENV_IS_IN_MMC include/configs/ventana.h +0
-1@@ -23,7 +23,6 @@/* SD/MMC */ #define CONFIG_MMC #define CONFIG_GENERIC_MMC -#define CONFIG_TEGRA_MMC /* Environment in eMMC, at the end of 2nd "boot sector" */ #define CONFIG_ENV_IS_IN_MMC include/configs/whistler.h +0
-1@@ -27,7 +27,6 @@/* SD/MMC */ #define CONFIG_MMC #define CONFIG_GENERIC_MMC -#define CONFIG_TEGRA_MMC /* * Environment in eMMC, at the end of 2nd "boot sector". Note: This assumes scripts/config_whitelist.txt +0
-1@@ -7819,7 +7819,6 @@ CONFIG_TEGRA_ENABLE_UARTE CONFIG_TEGRA_GPU CONFIG_TEGRA_KEYBOARD CONFIG_TEGRA_LP0 -CONFIG_TEGRA_MMC CONFIG_TEGRA_NAND CONFIG_TEGRA_PMU CONFIG_TEGRA_SLINK_CTRLS
PATCH v3 4/6 mmc: tegra: allow disabling external clock loopback
In reply to Marcel ZiswilerQuoted 8 lines · Marcel Ziswiler
From: Marcel Ziswiler <[email protected]>
Introduce
CONFIG_TEGRA124_MMC_DISABLE_EXT_LOOPBACKto disable the external clock loopback and use the internal one on SDMMC3 as per theSDMMC_VENDOR_MISC_CNTRL_0register'sSDMMC_SPARE1bits being set to0xfffdaccording to the TRM.Signed-off-by Marcel Ziswiler <[email protected]>Reviewed-by Simon Glass <[email protected]>
Best Regards,
Jaehoon Chung
Quoted 76 lines
---
Changes in v3: None
Changes in v2:
- Added Simon's reviewed-by.
- Added TODO(email) as suggested by Simon so it is clear this is temporary and will be moved to device tree controlled approach once proper kernel integration made it mainline.arch/arm/include/asm/arch-tegra/tegra_mmc.h | 2 ++ drivers/mmc/Kconfig | 11 +++++++++++ drivers/mmc/tegra_mmc.c | 16 ++++++++++++++++ 3 files changed, 29 insertions(+)arch/arm/include/asm/arch-tegra/tegra_mmc.h +2
-0@@ -108,6 +108,8 @@ struct tegra_mmc {#define TEGRA_MMC_CLKCON_SDCLK_FREQ_SEL_SHIFT 8#define TEGRA_MMC_CLKCON_SDCLK_FREQ_SEL_MASK (0xff << 8) +#define TEGRA_MMC_MISCON_ENABLE_EXT_LOOPBACK (1 << 17) +#define TEGRA_MMC_SWRST_SW_RESET_FOR_ALL (1 << 0)#define TEGRA_MMC_SWRST_SW_RESET_FOR_CMD_LINE (1 << 1)#define TEGRA_MMC_SWRST_SW_RESET_FOR_DAT_LINE (1 << 2)drivers/mmc/Kconfig +11
-0@@ -116,4 +116,15 @@ config TEGRA_MMC help This selects support for SDHCI on Tegra SoCs. +config TEGRA124_MMC_DISABLE_EXT_LOOPBACK + bool "Disable external clock loopback" + depends on TEGRA_MMC && TEGRA124 + help + Disable the external clock loopback and use the internal one on SDMMC3 + as per the SDMMC_VENDOR_MISC_CNTRL_0 register's SDMMC_SPARE1 bits + being set to 0xfffd according to the TRM. + + TODO(marcel.ziswiler at toradex.com): Move to device tree controlled + approach once proper kernel integration made it mainline. + endmenudrivers/mmc/tegra_mmc.c +16
-0@@ -511,6 +511,22 @@ static int tegra_mmc_init(struct mmc *mmc)tegra_mmc_reset (priv, mmc); +#if defined(CONFIG_TEGRA124_MMC_DISABLE_EXT_LOOPBACK ) +/* +* Disable the external clock loopback and use the internal one on +* SDMMC3 as per the SDMMC_VENDOR_MISC_CNTRL_0 register's SDMMC_SPARE1 +* bits being set to 0xfffd according to the TRM. +* +* TODO(marcel.ziswiler at toradex.com): Move to device tree controlled +* approach once proper kernel integration made it mainline. +*/ +if (priv->reg == (void *)0x700b0400 ) { + mask =readl (&priv->reg->venmiscctl); + mask &= ~TEGRA_MMC_MISCON_ENABLE_EXT_LOOPBACK ; +writel (mask, &priv->reg->venmiscctl); + } +#endif + priv->version =readw (&priv->reg->hcver);debug ("host version = %x\n" , priv->version);
v3 cover arm: tegra: apalis-tk1, mmc and ext clock loopback
In reply to Marcel ZiswilerMarcel,
Quoted 29 lines
-----Original Message-----
From: Marcel Ziswiler [mailto:marcel at ziswiler.com]
Sent: Wednesday, December 21, 2016 9:26 PM
To: u-boot at lists.denx.de
Cc: Max Krummenacher <[email protected]>; Stefan Agner <[email protected]>; Marcel Ziswiler <[email protected]>; York Sun <[email protected]>; Peter.Chubb at data61.csiro.au; Lokesh Vutla <[email protected]>; Jaehoon Chung <[email protected]>; Hans de Goede <[email protected]>; Heiko Schocher <[email protected]>; Albert Aribaud <[email protected]>; Prabhakar Kushwaha <[email protected]>; Stephen Warren <[email protected]>; Jagan Teki <[email protected]>; Alexander Graf <[email protected]>; Tom Warren <[email protected]>; Joe Hershberger <[email protected]>; Lucas Stach <[email protected]>; Allen Martin <[email protected]>; Stefan Roese <[email protected]>; Alban Bedel <[email protected]>; Simon Glass <[email protected]>; Masahiro Yamada <[email protected]>; Ian Campbell <[email protected]>
Subject: [PATCH v3 0/6] arm: tegra: apalis-tk1, mmc and ext clock loopbackFrom: Marcel Ziswiler <[email protected]>
This series adds support for the Toradex Apalis TK1 as well as moves the
CONFIG_TEGRA_MMCtoKconfigand introduces a new option to disable the external clock loopback on SDMMC3.The whole series is also available here:
Quoted 7 lines
http://git.toradex.com/cgit/u-boot-toradex.git/log/?h=for-next
Changes in v3:
- My recent fresh install of Fedora 25 was missing an aarch64 toolchain which mademoveconfig.pynot properly handle the 6 newer Tegras. I now re-runmoveconfig.pyafter installing an aarch64 toolchain and it all looks sane. Sorry about that, Tom.
With Mashiro's recent 'mmc: move more driver config options to Kconfig' patchset (which is in TOT U-Boot now), your v3 patchset no longer applies cleanly.
I'll rebase u-boot-tegra/master against u-boot/master and push a new repo to Denx so you can get your Apalis-TK1 patchset to work w/all of the recent changes.
Thanks, and sorry for the extra work!
Tom
--
nvpublic
Quoted 99 lines
- Cleaned-up defconfig using savedefconfig.
Changes in v2:
- Added Simon's reviewed-by.
- Added Simon's reviewed-by.
- Added Simon's reviewed-by.
- Added Simon's reviewed-by.
- Added TODO(email) as suggested by Simon so it is clear this is temporary and will be moved to device tree controlled approach once proper kernel integration made it mainline.Marcel Ziswiler (6):
arm: tegra: initial support for apalis tk1
mmc: tegra: introduceCONFIG_TEGRA_MMCtoKconfig
mmc: tegra: moveCONFIG_TEGRA_MMCfrom headers to defconfigs
mmc: tegra: allow disabling external clock loopback
apalis-tk1: disable external clock loopback on SDMMC3
apalis-tk1: clean-up defconfigarch/arm/dts/Makefile | 1 + arch/arm/dts/tegra124-apalis.dts | 2203 ++++++++++++++++++++ arch/arm/include/asm/arch-tegra/tegra_mmc.h | 2 + arch/arm/mach-tegra/tegra124/Kconfig | 7 + board/toradex/apalis-tk1/Kconfig | 30 + board/toradex/apalis-tk1/MAINTAINERS | 7 + board/toradex/apalis-tk1/Makefile | 5 + board/toradex/apalis-tk1/apalis-tk1.c | 175 ++ board/toradex/apalis-tk1/as3722_init.c | 117 ++ board/toradex/apalis-tk1/as3722_init.h | 41 + .../toradex/apalis-tk1/pinmux-config-apalis-tk1.h | 287 +++ configs/apalis-tk1_defconfig | 46 + configs/apalis_t30_defconfig | 1 + configs/beaver_defconfig | 1 + configs/cardhu_defconfig | 1 + configs/cei-tk1-som_defconfig | 1 + configs/colibri_t20_defconfig | 1 + configs/colibri_t30_defconfig | 1 + configs/dalmore_defconfig | 1 + configs/e2220-1170_defconfig | 9 +- configs/harmony_defconfig | 1 + configs/jetson-tk1_defconfig | 1 + configs/medcom-wide_defconfig | 1 + configs/nyan-big_defconfig | 1 + configs/p2371-0000_defconfig | 9 +- configs/p2371-2180_defconfig | 9 +- configs/p2571_defconfig | 9 +- configs/p2771-0000-000_defconfig | 9 +- configs/p2771-0000-500_defconfig | 9 +- configs/paz00_defconfig | 1 + configs/plutux_defconfig | 1 + configs/seaboard_defconfig | 1 + configs/tec-ng_defconfig | 1 + configs/tec_defconfig | 1 + configs/trimslice_defconfig | 1 + configs/venice2_defconfig | 1 + configs/ventana_defconfig | 1 + configs/whistler_defconfig | 1 + drivers/mmc/Kconfig | 17 + drivers/mmc/tegra_mmc.c | 16 + include/configs/apalis-tk1.h | 180 ++ include/configs/apalis_t30.h | 1 - include/configs/beaver.h | 1 - include/configs/cardhu.h | 1 - include/configs/cei-tk1-som.h | 1 - include/configs/colibri_t20.h | 1 - include/configs/colibri_t30.h | 1 - include/configs/dalmore.h | 1 - include/configs/e2220-1170.h | 1 - include/configs/harmony.h | 1 - include/configs/jetson-tk1.h | 1 - include/configs/medcom-wide.h | 1 - include/configs/nyan-big.h | 1 - include/configs/p2371-0000.h | 1 - include/configs/p2371-2180.h | 1 - include/configs/p2571.h | 1 - include/configs/p2771-0000.h | 1 - include/configs/paz00.h | 1 - include/configs/plutux.h | 1 - include/configs/seaboard.h | 1 - include/configs/tec-ng.h | 1 - include/configs/tec.h | 1 - include/configs/trimslice.h | 1 - include/configs/venice2.h | 1 - include/configs/ventana.h | 1 - include/configs/whistler.h | 1 - scripts/config_whitelist.txt | 1 - 67 files changed, 3160 insertions(+), 74 deletions(-) create mode 100644 arch/arm/dts/tegra124-apalis.dts create mode 100644 board/toradex/apalis- tk1/Kconfig create mode 100644 board/toradex/apalis-tk1/MAINTAINERS create mode 100644 board/toradex/apalis-tk1/Makefile create mode 100644 board/toradex/apalis-tk1/apalis-tk1.c create mode 100644 board/toradex/apalis-tk1/as3722_init.c create mode 100644 board/toradex/apalis-tk1/as3722_init.h create mode 100644 board/toradex/apalis-tk1/pinmux-config-apalis-tk1.h create mode 100644 configs/apalis-tk1_defconfig create mode 100644
include/configs/apalis-tk1.h--
2.9.3
v3 cover arm: tegra: apalis-tk1, mmc and ext clock loopback
2017-01-04 4:40 GMT+09:00 Tom Warren <[email protected]>:
Quoted 38 lines
Marcel,
Quoted 29 lines
-----Original Message-----
From: Marcel Ziswiler [mailto:marcel at ziswiler.com]
Sent: Wednesday, December 21, 2016 9:26 PM
To: u-boot at lists.denx.de
Cc: Max Krummenacher <[email protected]>; Stefan Agner <[email protected]>; Marcel Ziswiler <[email protected]>; York Sun <[email protected]>; Peter.Chubb at data61.csiro.au; Lokesh Vutla <[email protected]>; Jaehoon Chung <[email protected]>; Hans de Goede <[email protected]>; Heiko Schocher <[email protected]>; Albert Aribaud <[email protected]>; Prabhakar Kushwaha <[email protected]>; Stephen Warren <[email protected]>; Jagan Teki <[email protected]>; Alexander Graf <[email protected]>; Tom Warren <[email protected]>; Joe Hershberger <[email protected]>; Lucas Stach <[email protected]>; Allen Martin <[email protected]>; Stefan Roese <[email protected]>; Alban Bedel <[email protected]>; Simon Glass <[email protected]>; Masahiro Yamada <[email protected]>; Ian Campbell <[email protected]>
Subject: [PATCH v3 0/6] arm: tegra: apalis-tk1, mmc and ext clock loopbackFrom: Marcel Ziswiler <[email protected]>
This series adds support for the Toradex Apalis TK1 as well as moves the
CONFIG_TEGRA_MMCtoKconfigand introduces a new option to disable the external clock loopback on SDMMC3.The whole series is also available here:
Quoted 7 lines
http://git.toradex.com/cgit/u-boot-toradex.git/log/?h=for-next
Changes in v3:
- My recent fresh install of Fedora 25 was missing an aarch64 toolchain which mademoveconfig.pynot properly handle the 6 newer Tegras. I now re-runmoveconfig.pyafter installing an aarch64 toolchain and it all looks sane. Sorry about that, Tom.
Quoted 6 lines
With Mashiro's recent 'mmc: move more driver config options to
Kconfig' patchset (which is in TOT U-Boot now), your v3 patchset no longer applies cleanly.I'll rebase u-boot-tegra/master against u-boot/master and push a new repo to Denx so you can get your Apalis-TK1 patchset to work w/all of the recent changes.
Thanks, and sorry for the extra work!
Marcel,
Sorry, I did not notice you were moving CONFIG_TEGRA_MMC.
Moreover, I am moving CONFIG_TEGRA_MMC
Signature · 2 lines
Best Regards Masahiro Yamada
v3 cover arm: tegra: apalis-tk1, mmc and ext clock loopback
In reply to Tom Warren2017-01-04 4:40 GMT+09:00 Tom Warren <[email protected]>:
Quoted 38 lines
Marcel,
Quoted 29 lines
-----Original Message-----
From: Marcel Ziswiler [mailto:marcel at ziswiler.com]
Sent: Wednesday, December 21, 2016 9:26 PM
To: u-boot at lists.denx.de
Cc: Max Krummenacher <[email protected]>; Stefan Agner <[email protected]>; Marcel Ziswiler <[email protected]>; York Sun <[email protected]>; Peter.Chubb at data61.csiro.au; Lokesh Vutla <[email protected]>; Jaehoon Chung <[email protected]>; Hans de Goede <[email protected]>; Heiko Schocher <[email protected]>; Albert Aribaud <[email protected]>; Prabhakar Kushwaha <[email protected]>; Stephen Warren <[email protected]>; Jagan Teki <[email protected]>; Alexander Graf <[email protected]>; Tom Warren <[email protected]>; Joe Hershberger <[email protected]>; Lucas Stach <[email protected]>; Allen Martin <[email protected]>; Stefan Roese <[email protected]>; Alban Bedel <[email protected]>; Simon Glass <[email protected]>; Masahiro Yamada <[email protected]>; Ian Campbell <[email protected]>
Subject: [PATCH v3 0/6] arm: tegra: apalis-tk1, mmc and ext clock loopbackFrom: Marcel Ziswiler <[email protected]>
This series adds support for the Toradex Apalis TK1 as well as moves the
CONFIG_TEGRA_MMCtoKconfigand introduces a new option to disable the external clock loopback on SDMMC3.The whole series is also available here:
Quoted 7 lines
http://git.toradex.com/cgit/u-boot-toradex.git/log/?h=for-next
Changes in v3:
- My recent fresh install of Fedora 25 was missing an aarch64 toolchain which mademoveconfig.pynot properly handle the 6 newer Tegras. I now re-runmoveconfig.pyafter installing an aarch64 toolchain and it all looks sane. Sorry about that, Tom.
Quoted 6 lines
With Mashiro's recent 'mmc: move more driver config options to
Kconfig' patchset (which is in TOT U-Boot now), your v3 patchset no longer applies cleanly.I'll rebase u-boot-tegra/master against u-boot/master and push a new repo to Denx so you can get your Apalis-TK1 patchset to work w/all of the recent changes.
Thanks, and sorry for the extra work!
(Sorry, the previous mail had been sent before I completed it)
Marcel,
Sorry, I did not notice you were moving CONFIG_TEGRA_MMC.
Moreover, I am moving CONFIG_TEGRA_MMC and renaming in the following patch:
http://patchwork.ozlabs.org/patch/710054/
My goal is all MMC driver options prefixed with CONFIG_MMC_. (and SDHCI variants with CONFIG_MMC_SDHCI_, DesignWare variants with CONFIG_MMC_DW_ )
Here is a question about the Tegra MMC driver.
From the compatible strings in drivers/mmc/tegra-mmc.c, I suspect this driver is based on SDHCI
and in Linux, the option name is CONFIG_MMC_SDHCI_TEGRA.
Why doesn't the driver re-use driver/mmc/sdhci.c ?
Signature · 2 lines
Best Regards Masahiro Yamada
v3 cover arm: tegra: apalis-tk1, mmc and ext clock loopback
Mashiro,
Quoted 86 lines
-----Original Message-----
From: Masahiro Yamada [mailto:yamada.masahiro at socionext.com]
Sent: Wednesday, January 04, 2017 3:07 AM
To: Tom Warren <[email protected]>; Marcel Ziswiler <[email protected]>; Marcel Ziswiler <[email protected]>
Cc: u-boot at lists.denx.de; Lucas Stach <[email protected]>; Joe Hershberger <[email protected]>; Max Krummenacher <[email protected]>; Jagan Teki <[email protected]>; Stefan Roese <[email protected]>; Stephen Warren <[email protected]>; Ian Campbell <[email protected]>; tomcwarren3959 at gmail.com; Stefan Agner <[email protected]>; Hans de Goede <[email protected]>; Albert Aribaud <[email protected]>; Alban Bedel <[email protected]>; Jaehoon Chung <[email protected]>
Subject: Re: [U-Boot] [PATCH v3 0/6] arm: tegra: apalis-tk1, mmc and ext clock loopback2017-01-04 4:40 GMT+09:00 Tom Warren <[email protected]>:
Quoted 33 lines
Marcel,
Quoted 31 lines
-----Original Message-----
From: Marcel Ziswiler [mailto:marcel at ziswiler.com]
Sent: Wednesday, December 21, 2016 9:26 PM
To: u-boot at lists.denx.de
Cc: Max Krummenacher <[email protected]>; Stefan Agner <[email protected]>; Marcel Ziswiler <[email protected]>; York Sun <[email protected]>; Peter.Chubb at data61.csiro.au; Lokesh Vutla <[email protected]>; Jaehoon Chung <[email protected]>; Hans de Goede <[email protected]>; Heiko Schocher <[email protected]>; Albert Aribaud <[email protected]>; Prabhakar Kushwaha <[email protected]>; Stephen Warren <[email protected]>; Jagan Teki <[email protected]>; Alexander Graf <[email protected]>; Tom Warren <[email protected]>; Joe Hershberger <[email protected]>; Lucas Stach <[email protected]>; Allen Martin <[email protected]>; Stefan Roese <[email protected]>; Alban Bedel <[email protected]>; Simon Glass <[email protected]>; Masahiro Yamada <[email protected]>; Ian Campbell <[email protected]>
Subject: [PATCH v3 0/6] arm: tegra: apalis-tk1, mmc and ext clock loopbackFrom: Marcel Ziswiler <[email protected]>
This series adds support for the Toradex Apalis TK1 as well as moves the
CONFIG_TEGRA_MMCtoKconfigand introduces a new option to disable the external clock loopback on SDMMC3.The whole series is also available here:
Quoted 8 lines
Quoted 7 lines
http://git.toradex.com/cgit/u-boot-toradex.git/log/?h=for-next
Changes in v3:
- My recent fresh install of Fedora 25 was missing an aarch64 toolchain which mademoveconfig.pynot properly handle the 6 newer Tegras. I now re-runmoveconfig.pyafter installing an aarch64 toolchain and it all looks sane. Sorry about that, Tom.With Mashiro's recent 'mmc: move more driver config options to
Kconfig'patchset (which is in TOT U-Boot now), your v3 patchset no longer applies cleanly.
Quoted 2 lines
I'll rebase u-boot-tegra/master against u-boot/master and push a new repo to
Denx so you can get your Apalis-TK1 patchset to work w/all of the recent changes.
Quoted 3 lines
Thanks, and sorry for the extra work!
(Sorry, the previous mail had been sent before I completed it)
Marcel,
Sorry, I did not notice you were moving
CONFIG_TEGRA_MMC.Moreover, I am moving
CONFIG_TEGRA_MMCand renaming in the following patch:http://patchwork.ozlabs.org/patch/710054/
My goal is all MMC driver options prefixed with
CONFIG_MMC_. (and SDHCI variants withCONFIG_MMC_SDHCI_, DesignWare variants withCONFIG_MMC_DW_)
Quoted 7 lines
Here is a question about the Tegra MMC driver.
From the compatible strings in
drivers/mmc/tegra-mmc.c, I suspect this driver is based on SDHCI and in Linux, the option name isCONFIG_MMC_SDHCI_TEGRA.Why doesn't the driver re-use
driver/mmc/sdhci.c?
I created the tegra_mmc.c driver for Seaboard/Tegra20 way back in May of 2011 (commit 21ef6a1). I don't remember what I based it on - I assume another extant U-Boot mmc driver like mmc.c from Andy Fleming. It looks like Lei Wen created the sdhci.c driver in June of 2011 (commit af62a557), so it wasn't available when I created tegra_mmc.c.
It's unlikely that we'll take a working driver and rewrite it based on sdhci.c. If someone else wants to shoulder that burden, and does adequate testing to prove its fully compatible across all Tegra chipsets (including owning any future work), I won't object.
Tom
--
nvpublic
Quoted 6 lines
--
Best Regards
Masahiro Yamada