U-Boot
Threads by month
- ----- 2025 -----
- May
- April
- March
- February
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2005 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2004 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2003 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2002 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2001 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2000 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
February 2017
- 196 participants
- 599 discussions

12 Feb '17
The purpose of patch set is to convert the board to support Device
Tree and Driver Model.
It is based on the patch set:
[PATCH v5 0/2] pinctrl: at91: Add pinctrl driver
http://lists.denx.de/pipermail/u-boot/2017-February/280463.html
Changes in v3:
- add the Reviewed-by tags.
- rebase on the patch:
[PATCH v2] ARM: dts: at91: add device tree files for at91sam9x5ek
http://lists.denx.de/pipermail/u-boot/2017-February/280504.html
Changes in v2:
- Restore the wrong removal #define CONFIG_USB_ETHER.
- Update the commit log.
- Restore the wrong removal of USB related code.
- Update the commit log.
- Restore wrong removal of #define CONFIG_USB_ETHER.
- Update the commit log.
- Restore the wrong removal USB related code.
- Update the commit log.
Wenyou Yang (8):
configs: at91-sama5_common: fix for CONFIG_AT91_GPIO
board: sama5d4_xplained: move config options to defconfig
board: sama5d4_xplained: clean up code
board: sama5d4_xplained: enable early debug UART
board: sama5d4ek: move config options to defconfig
board: sama5d4ek: clean up code
board: sama5d4ek: enable early debug UART
configs: sama5d4: move CONFIG_SYS_NO_FLASH to *defconfig
board/atmel/sama5d4_xplained/sama5d4_xplained.c | 100 ++++-------------------
board/atmel/sama5d4ek/sama5d4ek.c | 101 ++++--------------------
configs/sama5d4_xplained_mmc_defconfig | 31 +++++++-
configs/sama5d4_xplained_nandflash_defconfig | 33 +++++++-
configs/sama5d4_xplained_spiflash_defconfig | 31 +++++++-
configs/sama5d4ek_mmc_defconfig | 30 +++++++
configs/sama5d4ek_nandflash_defconfig | 30 +++++++
configs/sama5d4ek_spiflash_defconfig | 30 +++++++
include/configs/at91-sama5_common.h | 2 +
include/configs/sama5d4_xplained.h | 33 --------
include/configs/sama5d4ek.h | 33 --------
11 files changed, 214 insertions(+), 240 deletions(-)
--
2.11.0
2
9

[U-Boot] [PATCH 0/3] Move CONFIG_SYS_NO_FLASH and rename it to CONFIG_MTD_NOR_FLASH
by Masahiro Yamada 12 Feb '17
by Masahiro Yamada 12 Feb '17
12 Feb '17
Masahiro Yamada (3):
configs: Re-sync all defconfig files by savedefconfig
flash: complete CONFIG_SYS_NO_FLASH move with renaming
flash: compile common/flash.c iif CONFIG_MTD_NO_FLASH is enabled
README | 13 ---------
arch/arm/cpu/armv7/mx6/clock.c | 2 +-
arch/arm/mach-uniphier/micro-support-card.c | 6 ++--
board/amcc/sequoia/sequoia.c | 8 ++---
board/atmel/at91sam9263ek/at91sam9263ek.c | 8 ++---
board/atmel/sama5d3xek/sama5d3xek.c | 4 +--
board/bf518f-ezbrd/bf518f-ezbrd.c | 4 +--
board/bf526-ezbrd/bf526-ezbrd.c | 4 +--
board/bf537-stamp/bf537-stamp.c | 4 +--
board/dnp5370/dnp5370.c | 4 +--
board/freescale/bsc9132qds/bsc9132qds.c | 2 +-
board/freescale/t102xqds/law.c | 2 +-
board/freescale/t102xrdb/law.c | 2 +-
board/freescale/t1040qds/law.c | 2 +-
board/freescale/t104xrdb/law.c | 2 +-
board/renesas/blanche/blanche.c | 10 +++----
cmd/cramfs.c | 2 +-
cmd/flash.c | 34 +++++++++++-----------
cmd/load.c | 4 +--
cmd/mem.c | 4 +--
common/Kconfig | 6 ----
common/Makefile | 2 +-
common/board_r.c | 4 +--
common/flash.c | 5 ----
common/update.c | 10 +++----
configs/10m50_defconfig | 1 +
configs/3c120_defconfig | 1 +
configs/A20-OLinuXino-Lime2_defconfig | 1 -
configs/A20-Olimex-SOM-EVB_defconfig | 1 -
configs/B4420QDS_NAND_defconfig | 3 +-
configs/B4420QDS_SPIFLASH_defconfig | 3 +-
configs/B4420QDS_defconfig | 3 +-
configs/B4860QDS_NAND_defconfig | 3 +-
configs/B4860QDS_SECURE_BOOT_defconfig | 1 +
configs/B4860QDS_SPIFLASH_defconfig | 3 +-
configs/B4860QDS_SRIO_PCIE_BOOT_defconfig | 2 +-
configs/B4860QDS_defconfig | 3 +-
configs/BSC9131RDB_NAND_SYSCLK100_defconfig | 2 +-
configs/BSC9131RDB_NAND_defconfig | 2 +-
configs/BSC9131RDB_SPIFLASH_SYSCLK100_defconfig | 2 +-
configs/BSC9131RDB_SPIFLASH_defconfig | 2 +-
configs/BSC9132QDS_NAND_DDRCLK100_SECURE_defconfig | 1 +
configs/BSC9132QDS_NAND_DDRCLK100_defconfig | 1 +
configs/BSC9132QDS_NAND_DDRCLK133_SECURE_defconfig | 1 +
configs/BSC9132QDS_NAND_DDRCLK133_defconfig | 1 +
configs/BSC9132QDS_NOR_DDRCLK100_SECURE_defconfig | 1 +
configs/BSC9132QDS_NOR_DDRCLK100_defconfig | 1 +
configs/BSC9132QDS_NOR_DDRCLK133_SECURE_defconfig | 1 +
configs/BSC9132QDS_NOR_DDRCLK133_defconfig | 1 +
.../BSC9132QDS_SDCARD_DDRCLK100_SECURE_defconfig | 1 +
configs/BSC9132QDS_SDCARD_DDRCLK100_defconfig | 1 +
.../BSC9132QDS_SDCARD_DDRCLK133_SECURE_defconfig | 1 +
configs/BSC9132QDS_SDCARD_DDRCLK133_defconfig | 1 +
.../BSC9132QDS_SPIFLASH_DDRCLK100_SECURE_defconfig | 1 +
configs/BSC9132QDS_SPIFLASH_DDRCLK100_defconfig | 1 +
.../BSC9132QDS_SPIFLASH_DDRCLK133_SECURE_defconfig | 1 +
configs/BSC9132QDS_SPIFLASH_DDRCLK133_defconfig | 1 +
configs/C29XPCIE_NAND_defconfig | 3 +-
configs/C29XPCIE_NOR_SECBOOT_defconfig | 1 +
configs/C29XPCIE_SPIFLASH_SECBOOT_defconfig | 1 +
configs/C29XPCIE_SPIFLASH_defconfig | 3 +-
configs/C29XPCIE_defconfig | 3 +-
configs/CHIP_defconfig | 2 +-
configs/CPCI2DP_defconfig | 3 +-
configs/CPCI4052_defconfig | 3 +-
configs/M5208EVBE_defconfig | 3 +-
configs/M52277EVB_defconfig | 3 +-
configs/M52277EVB_stmicro_defconfig | 3 +-
configs/M5235EVB_Flash32_defconfig | 3 +-
configs/M5235EVB_defconfig | 3 +-
configs/M5249EVB_defconfig | 3 +-
configs/M5253DEMO_defconfig | 3 +-
configs/M5253EVBE_defconfig | 3 +-
configs/M5272C3_defconfig | 3 +-
configs/M5275EVB_defconfig | 3 +-
configs/M5282EVB_defconfig | 3 +-
configs/M53017EVB_defconfig | 3 +-
configs/M5329AFEE_defconfig | 3 +-
configs/M5329BFEE_defconfig | 3 +-
configs/M5373EVB_defconfig | 3 +-
configs/M54418TWR_defconfig | 2 +-
configs/M54418TWR_nand_mii_defconfig | 2 +-
configs/M54418TWR_nand_rmii_defconfig | 2 +-
configs/M54418TWR_nand_rmii_lowfreq_defconfig | 2 +-
configs/M54418TWR_serial_mii_defconfig | 2 +-
configs/M54418TWR_serial_rmii_defconfig | 2 +-
configs/M54451EVB_defconfig | 3 +-
configs/M54451EVB_stmicro_defconfig | 3 +-
configs/M54455EVB_a66_defconfig | 3 +-
configs/M54455EVB_defconfig | 3 +-
configs/M54455EVB_i66_defconfig | 3 +-
configs/M54455EVB_intel_defconfig | 3 +-
configs/M54455EVB_stm33_defconfig | 3 +-
configs/M5475AFE_defconfig | 3 +-
configs/M5475BFE_defconfig | 3 +-
configs/M5475CFE_defconfig | 3 +-
configs/M5475DFE_defconfig | 3 +-
configs/M5475EFE_defconfig | 3 +-
configs/M5475FFE_defconfig | 3 +-
configs/M5475GFE_defconfig | 3 +-
configs/M5485AFE_defconfig | 3 +-
configs/M5485BFE_defconfig | 3 +-
configs/M5485CFE_defconfig | 3 +-
configs/M5485DFE_defconfig | 3 +-
configs/M5485EFE_defconfig | 3 +-
configs/M5485FFE_defconfig | 3 +-
configs/M5485GFE_defconfig | 3 +-
configs/M5485HFE_defconfig | 3 +-
configs/MIP405T_defconfig | 3 +-
configs/MIP405_defconfig | 3 +-
configs/MPC8308RDB_defconfig | 1 +
configs/MPC8313ERDB_33_defconfig | 3 +-
configs/MPC8313ERDB_66_defconfig | 3 +-
configs/MPC8313ERDB_NAND_33_defconfig | 3 +-
configs/MPC8313ERDB_NAND_66_defconfig | 3 +-
configs/MPC8315ERDB_defconfig | 3 +-
configs/MPC8323ERDB_defconfig | 3 +-
configs/MPC832XEMDS_ATM_defconfig | 3 +-
configs/MPC832XEMDS_HOST_33_defconfig | 3 +-
configs/MPC832XEMDS_HOST_66_defconfig | 3 +-
configs/MPC832XEMDS_SLAVE_defconfig | 3 +-
configs/MPC832XEMDS_defconfig | 3 +-
configs/MPC8349EMDS_defconfig | 3 +-
configs/MPC8349ITXGP_defconfig | 3 +-
configs/MPC8349ITX_LOWBOOT_defconfig | 3 +-
configs/MPC8349ITX_defconfig | 3 +-
configs/MPC837XEMDS_HOST_defconfig | 1 +
configs/MPC837XEMDS_defconfig | 1 +
configs/MPC837XERDB_defconfig | 1 +
configs/MPC8536DS_36BIT_defconfig | 1 +
configs/MPC8536DS_SDCARD_defconfig | 1 +
configs/MPC8536DS_SPIFLASH_defconfig | 1 +
configs/MPC8536DS_defconfig | 1 +
configs/MPC8540ADS_defconfig | 3 +-
configs/MPC8541CDS_defconfig | 3 +-
configs/MPC8541CDS_legacy_defconfig | 3 +-
configs/MPC8544DS_defconfig | 3 +-
configs/MPC8548CDS_36BIT_defconfig | 3 +-
configs/MPC8548CDS_defconfig | 3 +-
configs/MPC8548CDS_legacy_defconfig | 3 +-
configs/MPC8555CDS_defconfig | 3 +-
configs/MPC8555CDS_legacy_defconfig | 3 +-
configs/MPC8560ADS_defconfig | 3 +-
configs/MPC8568MDS_defconfig | 3 +-
configs/MPC8569MDS_ATM_defconfig | 1 +
configs/MPC8569MDS_defconfig | 1 +
configs/MPC8572DS_36BIT_defconfig | 3 +-
configs/MPC8572DS_defconfig | 3 +-
configs/MPC8610HPCD_defconfig | 3 +-
configs/MPC8641HPCN_36BIT_defconfig | 3 +-
configs/MPC8641HPCN_defconfig | 3 +-
configs/MigoR_defconfig | 1 +
configs/MiniFAP_defconfig | 3 +-
configs/Nintendo_NES_Classic_Edition_defconfig | 2 +-
configs/O2D300_defconfig | 3 +-
configs/O2DNT2_RAMBOOT_defconfig | 3 +-
configs/O2DNT2_defconfig | 3 +-
configs/O2D_defconfig | 3 +-
configs/O2I_defconfig | 3 +-
configs/O2MNT_O2M110_defconfig | 3 +-
configs/O2MNT_O2M112_defconfig | 3 +-
configs/O2MNT_O2M113_defconfig | 3 +-
configs/O2MNT_defconfig | 3 +-
configs/O3DNT_defconfig | 3 +-
configs/P1010RDB-PA_36BIT_NAND_SECBOOT_defconfig | 1 +
configs/P1010RDB-PA_36BIT_NAND_defconfig | 1 +
configs/P1010RDB-PA_36BIT_NOR_SECBOOT_defconfig | 1 +
configs/P1010RDB-PA_36BIT_NOR_defconfig | 1 +
configs/P1010RDB-PA_36BIT_SDCARD_defconfig | 1 +
.../P1010RDB-PA_36BIT_SPIFLASH_SECBOOT_defconfig | 1 +
configs/P1010RDB-PA_36BIT_SPIFLASH_defconfig | 1 +
configs/P1010RDB-PA_NAND_SECBOOT_defconfig | 1 +
configs/P1010RDB-PA_NAND_defconfig | 1 +
configs/P1010RDB-PA_NOR_SECBOOT_defconfig | 1 +
configs/P1010RDB-PA_NOR_defconfig | 1 +
configs/P1010RDB-PA_SDCARD_defconfig | 1 +
configs/P1010RDB-PA_SPIFLASH_SECBOOT_defconfig | 1 +
configs/P1010RDB-PA_SPIFLASH_defconfig | 1 +
configs/P1010RDB-PB_36BIT_NAND_SECBOOT_defconfig | 1 +
configs/P1010RDB-PB_36BIT_NAND_defconfig | 1 +
configs/P1010RDB-PB_36BIT_NOR_SECBOOT_defconfig | 1 +
configs/P1010RDB-PB_36BIT_NOR_defconfig | 1 +
configs/P1010RDB-PB_36BIT_SDCARD_defconfig | 1 +
.../P1010RDB-PB_36BIT_SPIFLASH_SECBOOT_defconfig | 1 +
configs/P1010RDB-PB_36BIT_SPIFLASH_defconfig | 1 +
configs/P1010RDB-PB_NAND_SECBOOT_defconfig | 1 +
configs/P1010RDB-PB_NAND_defconfig | 1 +
configs/P1010RDB-PB_NOR_SECBOOT_defconfig | 1 +
configs/P1010RDB-PB_NOR_defconfig | 1 +
configs/P1010RDB-PB_SDCARD_defconfig | 1 +
configs/P1010RDB-PB_SPIFLASH_SECBOOT_defconfig | 1 +
configs/P1010RDB-PB_SPIFLASH_defconfig | 1 +
configs/P1020MBG-PC_36BIT_SDCARD_defconfig | 1 +
configs/P1020MBG-PC_36BIT_defconfig | 1 +
configs/P1020MBG-PC_SDCARD_defconfig | 1 +
configs/P1020MBG-PC_defconfig | 1 +
configs/P1020RDB-PC_36BIT_NAND_defconfig | 1 +
configs/P1020RDB-PC_36BIT_SDCARD_defconfig | 1 +
configs/P1020RDB-PC_36BIT_SPIFLASH_defconfig | 1 +
configs/P1020RDB-PC_36BIT_defconfig | 1 +
configs/P1020RDB-PC_NAND_defconfig | 1 +
configs/P1020RDB-PC_SDCARD_defconfig | 1 +
configs/P1020RDB-PC_SPIFLASH_defconfig | 1 +
configs/P1020RDB-PC_defconfig | 1 +
configs/P1020RDB-PD_NAND_defconfig | 1 +
configs/P1020RDB-PD_SDCARD_defconfig | 1 +
configs/P1020RDB-PD_SPIFLASH_defconfig | 1 +
configs/P1020RDB-PD_defconfig | 1 +
configs/P1020UTM-PC_36BIT_SDCARD_defconfig | 1 +
configs/P1020UTM-PC_36BIT_defconfig | 1 +
configs/P1020UTM-PC_SDCARD_defconfig | 1 +
configs/P1020UTM-PC_defconfig | 1 +
configs/P1021RDB-PC_36BIT_NAND_defconfig | 1 +
configs/P1021RDB-PC_36BIT_SDCARD_defconfig | 1 +
configs/P1021RDB-PC_36BIT_SPIFLASH_defconfig | 1 +
configs/P1021RDB-PC_36BIT_defconfig | 1 +
configs/P1021RDB-PC_NAND_defconfig | 1 +
configs/P1021RDB-PC_SDCARD_defconfig | 1 +
configs/P1021RDB-PC_SPIFLASH_defconfig | 1 +
configs/P1021RDB-PC_defconfig | 1 +
configs/P1022DS_36BIT_NAND_defconfig | 1 +
configs/P1022DS_36BIT_SDCARD_defconfig | 1 +
configs/P1022DS_36BIT_SPIFLASH_defconfig | 1 +
configs/P1022DS_36BIT_defconfig | 1 +
configs/P1022DS_NAND_defconfig | 1 +
configs/P1022DS_SDCARD_defconfig | 1 +
configs/P1022DS_SPIFLASH_defconfig | 1 +
configs/P1022DS_defconfig | 1 +
configs/P1023RDB_defconfig | 3 +-
configs/P1024RDB_36BIT_defconfig | 1 +
configs/P1024RDB_NAND_defconfig | 1 +
configs/P1024RDB_SDCARD_defconfig | 1 +
configs/P1024RDB_SPIFLASH_defconfig | 1 +
configs/P1024RDB_defconfig | 1 +
configs/P1025RDB_36BIT_defconfig | 1 +
configs/P1025RDB_NAND_defconfig | 1 +
configs/P1025RDB_SDCARD_defconfig | 1 +
configs/P1025RDB_SPIFLASH_defconfig | 1 +
configs/P1025RDB_defconfig | 1 +
configs/P2020RDB-PC_36BIT_NAND_defconfig | 1 +
configs/P2020RDB-PC_36BIT_SDCARD_defconfig | 1 +
configs/P2020RDB-PC_36BIT_SPIFLASH_defconfig | 1 +
configs/P2020RDB-PC_36BIT_defconfig | 1 +
configs/P2020RDB-PC_NAND_defconfig | 1 +
configs/P2020RDB-PC_SDCARD_defconfig | 1 +
configs/P2020RDB-PC_SPIFLASH_defconfig | 1 +
configs/P2020RDB-PC_defconfig | 1 +
configs/P2041RDB_NAND_defconfig | 1 +
configs/P2041RDB_SDCARD_defconfig | 1 +
configs/P2041RDB_SECURE_BOOT_defconfig | 1 +
configs/P2041RDB_SPIFLASH_defconfig | 1 +
configs/P2041RDB_defconfig | 1 +
configs/P3041DS_NAND_SECURE_BOOT_defconfig | 1 +
configs/P3041DS_NAND_defconfig | 1 +
configs/P3041DS_SDCARD_defconfig | 1 +
configs/P3041DS_SECURE_BOOT_defconfig | 1 +
configs/P3041DS_SPIFLASH_defconfig | 1 +
configs/P3041DS_defconfig | 1 +
configs/P4080DS_SDCARD_defconfig | 1 +
configs/P4080DS_SECURE_BOOT_defconfig | 1 +
configs/P4080DS_SPIFLASH_defconfig | 1 +
configs/P4080DS_defconfig | 1 +
configs/P5020DS_NAND_SECURE_BOOT_defconfig | 1 +
configs/P5020DS_NAND_defconfig | 1 +
configs/P5020DS_SDCARD_defconfig | 1 +
configs/P5020DS_SECURE_BOOT_defconfig | 1 +
configs/P5020DS_SPIFLASH_defconfig | 1 +
configs/P5020DS_defconfig | 1 +
configs/P5040DS_NAND_SECURE_BOOT_defconfig | 1 +
configs/P5040DS_NAND_defconfig | 1 +
configs/P5040DS_SDCARD_defconfig | 1 +
configs/P5040DS_SECURE_BOOT_defconfig | 1 +
configs/P5040DS_SPIFLASH_defconfig | 1 +
configs/P5040DS_defconfig | 1 +
configs/PATI_defconfig | 3 +-
configs/PIP405_defconfig | 3 +-
configs/PLU405_defconfig | 3 +-
configs/PMC405DE_defconfig | 3 +-
configs/PMC440_defconfig | 5 ++--
configs/T1023RDB_NAND_defconfig | 1 +
configs/T1023RDB_SDCARD_defconfig | 1 +
configs/T1023RDB_SECURE_BOOT_defconfig | 1 +
configs/T1023RDB_SPIFLASH_defconfig | 1 +
configs/T1023RDB_defconfig | 1 +
configs/T1024QDS_DDR4_SECURE_BOOT_defconfig | 1 +
configs/T1024QDS_DDR4_defconfig | 1 +
configs/T1024QDS_NAND_defconfig | 1 +
configs/T1024QDS_SDCARD_defconfig | 1 +
configs/T1024QDS_SECURE_BOOT_defconfig | 1 +
configs/T1024QDS_SPIFLASH_defconfig | 1 +
configs/T1024QDS_defconfig | 1 +
configs/T1024RDB_NAND_defconfig | 1 +
configs/T1024RDB_SDCARD_defconfig | 1 +
configs/T1024RDB_SECURE_BOOT_defconfig | 1 +
configs/T1024RDB_SPIFLASH_defconfig | 1 +
configs/T1024RDB_defconfig | 1 +
configs/T1040D4RDB_NAND_defconfig | 1 +
configs/T1040D4RDB_SDCARD_defconfig | 1 +
configs/T1040D4RDB_SECURE_BOOT_defconfig | 1 +
configs/T1040D4RDB_SPIFLASH_defconfig | 1 +
configs/T1040D4RDB_defconfig | 1 +
configs/T1040QDS_DDR4_defconfig | 1 +
configs/T1040QDS_SECURE_BOOT_defconfig | 1 +
configs/T1040QDS_defconfig | 1 +
configs/T1040RDB_NAND_defconfig | 1 +
configs/T1040RDB_SDCARD_defconfig | 1 +
configs/T1040RDB_SECURE_BOOT_defconfig | 1 +
configs/T1040RDB_SPIFLASH_defconfig | 1 +
configs/T1040RDB_defconfig | 1 +
configs/T1042D4RDB_NAND_defconfig | 1 +
configs/T1042D4RDB_SDCARD_defconfig | 1 +
configs/T1042D4RDB_SECURE_BOOT_defconfig | 1 +
configs/T1042D4RDB_SPIFLASH_defconfig | 1 +
configs/T1042D4RDB_defconfig | 1 +
configs/T1042RDB_PI_NAND_SECURE_BOOT_defconfig | 1 +
configs/T1042RDB_PI_NAND_defconfig | 1 +
configs/T1042RDB_PI_SDCARD_defconfig | 1 +
configs/T1042RDB_PI_SPIFLASH_defconfig | 1 +
configs/T1042RDB_PI_defconfig | 1 +
configs/T1042RDB_SECURE_BOOT_defconfig | 1 +
configs/T1042RDB_defconfig | 1 +
configs/T2080QDS_NAND_defconfig | 1 +
configs/T2080QDS_SDCARD_defconfig | 1 +
configs/T2080QDS_SECURE_BOOT_defconfig | 1 +
configs/T2080QDS_SPIFLASH_defconfig | 1 +
configs/T2080QDS_defconfig | 1 +
configs/T2080RDB_NAND_defconfig | 1 +
configs/T2080RDB_SDCARD_defconfig | 1 +
configs/T2080RDB_SECURE_BOOT_defconfig | 1 +
configs/T2080RDB_SPIFLASH_defconfig | 1 +
configs/T2080RDB_defconfig | 1 +
configs/T2081QDS_NAND_defconfig | 1 +
configs/T2081QDS_SDCARD_defconfig | 1 +
configs/T2081QDS_SPIFLASH_defconfig | 1 +
configs/T2081QDS_defconfig | 1 +
configs/T4160QDS_NAND_defconfig | 1 +
configs/T4160QDS_SDCARD_defconfig | 1 +
configs/T4160QDS_SECURE_BOOT_defconfig | 1 +
configs/T4160QDS_defconfig | 1 +
configs/T4160RDB_defconfig | 1 +
configs/T4240QDS_NAND_defconfig | 1 +
configs/T4240QDS_SDCARD_defconfig | 1 +
configs/T4240QDS_SECURE_BOOT_defconfig | 1 +
configs/T4240QDS_defconfig | 1 +
configs/T4240RDB_SDCARD_defconfig | 1 +
configs/T4240RDB_defconfig | 1 +
configs/TQM5200S_HIGHBOOT_defconfig | 3 +-
configs/TQM5200S_defconfig | 3 +-
configs/TQM5200_B_HIGHBOOT_defconfig | 3 +-
configs/TQM5200_B_defconfig | 3 +-
configs/TQM5200_STK100_defconfig | 3 +-
configs/TQM5200_defconfig | 3 +-
configs/TQM823L_LCD_defconfig | 3 +-
configs/TQM823L_defconfig | 3 +-
configs/TQM823M_defconfig | 3 +-
configs/TQM834x_defconfig | 3 +-
configs/TQM850L_defconfig | 3 +-
configs/TQM850M_defconfig | 3 +-
configs/TQM855L_defconfig | 3 +-
configs/TQM855M_defconfig | 3 +-
configs/TQM860L_defconfig | 3 +-
configs/TQM860M_defconfig | 3 +-
configs/TQM862L_defconfig | 3 +-
configs/TQM862M_defconfig | 3 +-
configs/TQM866M_defconfig | 3 +-
configs/TQM885D_defconfig | 3 +-
configs/TTTech_defconfig | 3 +-
configs/TWR-P1025_defconfig | 1 +
configs/UCP1020_SPIFLASH_defconfig | 1 +
configs/UCP1020_defconfig | 1 +
configs/VOM405_defconfig | 3 +-
configs/a3m071_defconfig | 3 +-
configs/a4m072_defconfig | 3 +-
configs/a4m2k_defconfig | 3 +-
configs/ac14xx_defconfig | 3 +-
configs/acadia_defconfig | 3 +-
configs/adp-ag101p_defconfig | 3 +-
configs/am335x_evm_defconfig | 1 -
configs/am335x_evm_nor_defconfig | 1 +
configs/am335x_evm_norboot_defconfig | 1 +
configs/am335x_hs_evm_defconfig | 5 ++--
configs/amcore_defconfig | 3 +-
configs/ap325rxa_defconfig | 1 +
configs/ap_sh4a_4a_defconfig | 1 +
configs/arches_defconfig | 3 +-
configs/aria_defconfig | 3 +-
configs/armadillo-800eva_defconfig | 2 +-
configs/aspenite_defconfig | 2 +-
configs/astro_mcf5373l_defconfig | 1 +
configs/at91rm9200ek_defconfig | 3 +-
configs/at91rm9200ek_ram_defconfig | 3 +-
configs/at91sam9260ek_dataflash_cs0_defconfig | 2 +-
configs/at91sam9260ek_dataflash_cs1_defconfig | 2 +-
configs/at91sam9260ek_nandflash_defconfig | 2 +-
configs/at91sam9261ek_dataflash_cs0_defconfig | 2 +-
configs/at91sam9261ek_dataflash_cs3_defconfig | 2 +-
configs/at91sam9261ek_nandflash_defconfig | 2 +-
configs/at91sam9263ek_norflash_boot_defconfig | 1 +
configs/at91sam9263ek_norflash_defconfig | 1 +
configs/at91sam9g10ek_dataflash_cs0_defconfig | 2 +-
configs/at91sam9g10ek_dataflash_cs3_defconfig | 2 +-
configs/at91sam9g10ek_nandflash_defconfig | 2 +-
configs/at91sam9g20ek_dataflash_cs0_defconfig | 2 +-
configs/at91sam9g20ek_dataflash_cs1_defconfig | 2 +-
configs/at91sam9g20ek_nandflash_defconfig | 2 +-
configs/at91sam9xeek_dataflash_cs0_defconfig | 2 +-
configs/at91sam9xeek_dataflash_cs1_defconfig | 2 +-
configs/at91sam9xeek_nandflash_defconfig | 2 +-
configs/atngw100_defconfig | 3 +-
configs/atngw100mkii_defconfig | 3 +-
configs/atstk1002_defconfig | 3 +-
configs/axm_defconfig | 2 +-
configs/axs101_defconfig | 4 +--
configs/axs103_defconfig | 4 +--
configs/bamboo_defconfig | 3 +-
configs/bcm911360_entphn-ns_defconfig | 2 +-
configs/bcm911360_entphn_defconfig | 2 +-
configs/bcm911360k_defconfig | 2 +-
configs/bcm958300k-ns_defconfig | 2 +-
configs/bcm958300k_defconfig | 2 +-
configs/bcm958305k_defconfig | 2 +-
configs/bcm958622hr_defconfig | 2 +-
configs/bct-brettl2_defconfig | 1 +
configs/bf518f-ezbrd_defconfig | 3 +-
configs/bf526-ezbrd_defconfig | 1 +
configs/bf527-ad7160-eval_defconfig | 3 +-
configs/bf527-ezkit-v2_defconfig | 1 +
configs/bf527-ezkit_defconfig | 1 +
configs/bf527-sdp_defconfig | 1 +
configs/bf533-ezkit_defconfig | 1 +
configs/bf533-stamp_defconfig | 1 +
configs/bf537-pnav_defconfig | 1 +
configs/bf537-stamp_defconfig | 3 +-
configs/bf538f-ezkit_defconfig | 1 +
configs/bf548-ezkit_defconfig | 3 +-
configs/bf561-ezkit_defconfig | 1 +
configs/bf609-ezkit_defconfig | 5 ++--
configs/bg0900_defconfig | 2 +-
configs/blanche_defconfig | 1 +
configs/boston32r2_defconfig | 1 +
configs/boston32r2el_defconfig | 1 +
configs/boston64r2_defconfig | 1 +
configs/boston64r2el_defconfig | 1 +
configs/bubinga_defconfig | 3 +-
configs/caddy2_defconfig | 3 +-
configs/calimain_defconfig | 3 +-
configs/cam5200_defconfig | 3 +-
configs/cam5200_niosflash_defconfig | 3 +-
configs/canmb_defconfig | 3 +-
configs/canyonlands_defconfig | 3 +-
configs/charon_defconfig | 3 +-
configs/chromebook_link64_defconfig | 4 +--
configs/chromebook_link_defconfig | 2 +-
configs/cm-bf527_defconfig | 1 +
configs/cm-bf533_defconfig | 1 +
configs/cm-bf537e_defconfig | 3 +-
configs/cm-bf537u_defconfig | 3 +-
configs/cm-bf548_defconfig | 1 +
configs/cm-bf561_defconfig | 1 +
configs/cm5200_defconfig | 3 +-
configs/cobra5272_defconfig | 3 +-
configs/colibri_pxa270_defconfig | 1 +
configs/corvus_defconfig | 2 +-
configs/d2net_v2_defconfig | 2 +-
configs/da850evm_direct_nor_defconfig | 3 +-
configs/db-88f6720_defconfig | 2 +-
configs/db-88f6820-amc_defconfig | 2 +-
configs/db-mv784mp-gp_defconfig | 2 +-
configs/dbau1000_defconfig | 1 +
configs/dbau1100_defconfig | 1 +
configs/dbau1500_defconfig | 1 +
configs/dbau1550_defconfig | 1 +
configs/dbau1550_el_defconfig | 1 +
configs/devconcenter_defconfig | 3 +-
configs/devkit3250_defconfig | 3 +-
configs/digsy_mtc_RAMBOOT_defconfig | 3 +-
configs/digsy_mtc_defconfig | 3 +-
configs/digsy_mtc_rev5_RAMBOOT_defconfig | 3 +-
configs/digsy_mtc_rev5_defconfig | 3 +-
configs/dlvision-10g_defconfig | 3 +-
configs/dlvision_defconfig | 3 +-
configs/dnp5370_defconfig | 1 +
configs/dns325_defconfig | 2 +-
configs/dockstar_defconfig | 2 +-
configs/draco_defconfig | 2 +-
configs/dragonboard410c_defconfig | 2 +-
configs/dreamplug_defconfig | 2 +-
configs/ds109_defconfig | 2 +-
configs/ds414_defconfig | 2 +-
configs/duovero_defconfig | 2 +-
configs/eb_cpu5282_defconfig | 3 +-
configs/eb_cpu5282_internal_defconfig | 3 +-
configs/ecovec_defconfig | 1 +
configs/edb9315a_defconfig | 5 ++--
configs/edminiv2_defconfig | 3 +-
configs/espresso7420_defconfig | 2 +-
configs/espt_defconfig | 1 +
configs/etamin_defconfig | 2 +-
configs/ethernut5_defconfig | 1 +
configs/evb-ast2500_defconfig | 22 ++++++--------
configs/evb-rk3399_defconfig | 2 +-
configs/flea3_defconfig | 3 +-
configs/fo300_defconfig | 3 +-
configs/gdppc440etx_defconfig | 3 +-
configs/glacier_defconfig | 3 +-
configs/glacier_ramboot_defconfig | 3 +-
configs/goflexhome_defconfig | 2 +-
configs/gplugd_defconfig | 2 +-
configs/gr_cpci_ax2000_defconfig | 3 +-
configs/gr_ep2s60_defconfig | 3 +-
configs/gr_xc3s_1500_defconfig | 3 +-
configs/grasshopper_defconfig | 1 +
configs/grsim_defconfig | 2 +-
configs/grsim_leon2_defconfig | 2 +-
configs/guruplug_defconfig | 2 +-
configs/h2200_defconfig | 2 +-
configs/haleakala_defconfig | 3 +-
configs/highbank_defconfig | 2 +-
configs/hrcon_defconfig | 1 +
configs/hrcon_dh_defconfig | 1 +
configs/ib62x0_defconfig | 2 +-
configs/ibf-dsp561_defconfig | 1 +
configs/icon_defconfig | 3 +-
configs/iconnect_defconfig | 2 +-
configs/ids8313_defconfig | 3 +-
configs/imx31_phycore_defconfig | 3 +-
configs/imx31_phycore_eet_defconfig | 1 +
configs/imx6dl_icore_mmc_defconfig | 6 ++--
configs/imx6dl_icore_nand_defconfig | 8 ++---
configs/imx6dl_icore_rqs_mmc_defconfig | 6 ++--
configs/imx6q_icore_mmc_defconfig | 6 ++--
configs/imx6q_icore_nand_defconfig | 8 ++---
configs/imx6q_icore_rqs_mmc_defconfig | 6 ++--
configs/imx6ul_geam_mmc_defconfig | 6 ++--
configs/imx6ul_geam_nand_defconfig | 12 ++++----
configs/inetspace_v2_defconfig | 2 +-
configs/inka4x0_defconfig | 3 +-
configs/integratorap_cm720t_defconfig | 3 +-
configs/integratorap_cm920t_defconfig | 3 +-
configs/integratorap_cm926ejs_defconfig | 3 +-
configs/integratorap_cm946es_defconfig | 3 +-
configs/integratorcp_cm1136_defconfig | 3 +-
configs/integratorcp_cm920t_defconfig | 3 +-
configs/integratorcp_cm926ejs_defconfig | 3 +-
configs/integratorcp_cm946es_defconfig | 3 +-
configs/intip_defconfig | 3 +-
configs/io64_defconfig | 3 +-
configs/io_defconfig | 3 +-
configs/iocon_defconfig | 3 +-
configs/ipam390_defconfig | 2 +-
configs/ipek01_defconfig | 3 +-
configs/jupiter_defconfig | 3 +-
configs/katmai_defconfig | 3 +-
configs/kilauea_defconfig | 3 +-
configs/kmcoge4_defconfig | 2 +-
configs/kmcoge5ne_defconfig | 3 +-
configs/kmeter1_defconfig | 3 +-
configs/kmlion1_defconfig | 2 +-
configs/kmopti2_defconfig | 3 +-
configs/kmsupx5_defconfig | 3 +-
configs/kmtegr1_defconfig | 3 +-
configs/kmtepr2_defconfig | 3 +-
configs/kmvect1_defconfig | 3 +-
configs/kzm9g_defconfig | 3 +-
configs/ls1012afrdm_qspi_defconfig | 3 +-
configs/ls1012aqds_qspi_defconfig | 3 +-
configs/ls1012ardb_qspi_defconfig | 3 +-
configs/ls1021aqds_ddr4_nor_defconfig | 1 +
configs/ls1021aqds_ddr4_nor_lpuart_defconfig | 1 +
configs/ls1021aqds_nand_defconfig | 16 +++++-----
configs/ls1021aqds_nor_SECURE_BOOT_defconfig | 14 ++++-----
configs/ls1021aqds_nor_defconfig | 1 +
configs/ls1021aqds_nor_lpuart_defconfig | 1 +
configs/ls1021aqds_sdcard_ifc_defconfig | 1 +
configs/ls1021atwr_nor_SECURE_BOOT_defconfig | 14 ++++-----
configs/ls1021atwr_nor_defconfig | 1 +
configs/ls1021atwr_nor_lpuart_defconfig | 1 +
.../ls1021atwr_sdcard_ifc_SECURE_BOOT_defconfig | 14 ++++-----
configs/ls1021atwr_sdcard_ifc_defconfig | 14 ++++-----
configs/ls1043aqds_defconfig | 1 +
configs/ls1043aqds_lpuart_defconfig | 1 +
configs/ls1043aqds_nand_defconfig | 1 +
configs/ls1043aqds_nor_ddr3_defconfig | 1 +
configs/ls1043aqds_sdcard_ifc_defconfig | 1 +
configs/ls1043ardb_SECURE_BOOT_defconfig | 1 +
configs/ls1043ardb_defconfig | 1 +
configs/ls1043ardb_nand_defconfig | 1 +
configs/ls1043ardb_sdcard_defconfig | 1 +
configs/ls1046aqds_defconfig | 1 +
configs/ls1046aqds_lpuart_defconfig | 1 +
configs/ls1046aqds_nand_defconfig | 1 +
configs/ls1046aqds_sdcard_ifc_defconfig | 1 +
configs/ls2080a_emu_defconfig | 3 +-
configs/ls2080a_simu_defconfig | 2 +-
configs/ls2080aqds_SECURE_BOOT_defconfig | 9 +++---
configs/ls2080aqds_defconfig | 9 +++---
configs/ls2080aqds_nand_defconfig | 8 ++---
configs/ls2080aqds_qspi_defconfig | 8 ++---
configs/ls2080ardb_SECURE_BOOT_defconfig | 1 +
configs/ls2080ardb_defconfig | 1 +
configs/ls2080ardb_nand_defconfig | 1 +
configs/lschlv2_defconfig | 2 +-
configs/lsxhl_defconfig | 5 ++--
configs/luan_defconfig | 3 +-
configs/lwmon5_defconfig | 3 +-
configs/makalu_defconfig | 3 +-
configs/malta64_defconfig | 1 +
configs/malta64el_defconfig | 1 +
configs/malta_defconfig | 1 +
configs/maltael_defconfig | 1 +
configs/maxbcm_defconfig | 2 +-
configs/mccmon6_nor_defconfig | 1 +
configs/mccmon6_sd_defconfig | 1 +
configs/mecp5123_defconfig | 3 +-
configs/meesc_dataflash_defconfig | 2 +-
configs/meesc_defconfig | 2 +-
configs/mgcoge3ne_defconfig | 3 +-
configs/mgcoge_defconfig | 3 +-
configs/microblaze-generic_defconfig | 3 +-
configs/motionpro_defconfig | 3 +-
configs/mpc5121ads_defconfig | 3 +-
configs/mpc5121ads_rev2_defconfig | 3 +-
configs/mpc8308_p1m_defconfig | 3 +-
configs/mpr2_defconfig | 1 +
configs/ms7720se_defconfig | 1 +
configs/ms7722se_defconfig | 1 +
configs/ms7750se_defconfig | 1 +
configs/munices_defconfig | 3 +-
configs/mx31ads_defconfig | 3 +-
configs/mx35pdk_defconfig | 1 +
configs/mx6dlsabreauto_defconfig | 1 +
configs/mx6qpsabreauto_defconfig | 1 +
configs/mx6qsabreauto_defconfig | 1 +
configs/nas220_defconfig | 2 +-
configs/neo_defconfig | 3 +-
configs/net2big_v2_defconfig | 2 +-
configs/netspace_lite_v2_defconfig | 2 +-
configs/netspace_max_v2_defconfig | 2 +-
configs/netspace_mini_v2_defconfig | 2 +-
configs/netspace_v2_defconfig | 2 +-
configs/nsa310s_defconfig | 2 +-
configs/nsim_700_defconfig | 2 +-
configs/nsim_700be_defconfig | 2 +-
configs/nsim_hs38_defconfig | 2 +-
configs/nsim_hs38be_defconfig | 2 +-
configs/odroid-c2_defconfig | 7 +----
configs/orangepi_zero_defconfig | 4 +--
configs/pb1000_defconfig | 1 +
configs/pcm030_LOWBOOT_defconfig | 3 +-
configs/pcm030_defconfig | 3 +-
configs/pdm360ng_defconfig | 3 +-
configs/peach-pi_defconfig | 2 +-
configs/peach-pit_defconfig | 2 +-
configs/pic32mzdask_defconfig | 4 +--
configs/pine64_plus_defconfig | 2 +-
configs/pm9261_defconfig | 3 +-
configs/pm9263_defconfig | 3 +-
configs/pm9g45_defconfig | 2 +-
configs/pogo_e02_defconfig | 2 +-
configs/pxm2_defconfig | 2 +-
configs/qemu-ppce500_defconfig | 2 +-
configs/qemu_mips64_defconfig | 1 +
configs/qemu_mips64el_defconfig | 1 +
configs/qemu_mips_defconfig | 1 +
configs/qemu_mipsel_defconfig | 1 +
configs/r0p7734_defconfig | 1 +
configs/r2dplus_defconfig | 1 +
configs/r7780mp_defconfig | 1 +
configs/rainier_defconfig | 3 +-
configs/rainier_ramboot_defconfig | 3 +-
configs/rastaban_defconfig | 2 +-
configs/redwood_defconfig | 3 +-
configs/rsk7203_defconfig | 1 +
configs/rsk7264_defconfig | 1 +
configs/rsk7269_defconfig | 1 +
configs/rut_defconfig | 2 +-
configs/salvator-x_defconfig | 2 +-
configs/sama5d2_ptc_nandflash_defconfig | 2 +-
configs/sama5d2_ptc_spiflash_defconfig | 2 +-
configs/sama5d2_xplained_mmc_defconfig | 2 +-
configs/sama5d2_xplained_spiflash_defconfig | 2 +-
configs/sama5d3xek_mmc_defconfig | 1 +
configs/sama5d3xek_nandflash_defconfig | 1 +
configs/sama5d3xek_spiflash_defconfig | 1 +
configs/sbc8349_PCI_33_defconfig | 3 +-
configs/sbc8349_PCI_66_defconfig | 3 +-
configs/sbc8349_defconfig | 3 +-
configs/sbc8548_PCI_33_PCIE_defconfig | 3 +-
configs/sbc8548_PCI_33_defconfig | 3 +-
configs/sbc8548_PCI_66_PCIE_defconfig | 3 +-
configs/sbc8548_PCI_66_defconfig | 3 +-
configs/sbc8548_defconfig | 3 +-
configs/sbc8641d_defconfig | 3 +-
configs/sequoia_defconfig | 3 +-
configs/sequoia_ramboot_defconfig | 3 +-
configs/sh7752evb_defconfig | 2 +-
configs/sh7753evb_defconfig | 2 +-
configs/sh7757lcr_defconfig | 2 +-
configs/sh7763rdp_defconfig | 1 +
configs/sh7785lcr_32bit_defconfig | 1 +
configs/sh7785lcr_defconfig | 1 +
configs/shmin_defconfig | 1 +
configs/smartweb_defconfig | 2 +-
configs/smdkc100_defconfig | 2 +-
configs/snapper9260_defconfig | 2 +-
configs/snapper9g20_defconfig | 2 +-
configs/snow_defconfig | 2 +-
configs/socfpga_is1_defconfig | 2 +-
configs/socrates_defconfig | 3 +-
configs/spear300_defconfig | 3 +-
configs/spear300_nand_defconfig | 3 +-
configs/spear300_usbtty_defconfig | 3 +-
configs/spear300_usbtty_nand_defconfig | 3 +-
configs/spear310_defconfig | 3 +-
configs/spear310_nand_defconfig | 3 +-
configs/spear310_pnor_defconfig | 3 +-
configs/spear310_usbtty_defconfig | 3 +-
configs/spear310_usbtty_nand_defconfig | 3 +-
configs/spear310_usbtty_pnor_defconfig | 3 +-
configs/spear320_defconfig | 3 +-
configs/spear320_nand_defconfig | 3 +-
configs/spear320_pnor_defconfig | 3 +-
configs/spear320_usbtty_defconfig | 3 +-
configs/spear320_usbtty_nand_defconfig | 3 +-
configs/spear320_usbtty_pnor_defconfig | 3 +-
configs/spear600_defconfig | 3 +-
configs/spear600_nand_defconfig | 3 +-
configs/spear600_usbtty_defconfig | 3 +-
configs/spear600_usbtty_nand_defconfig | 3 +-
configs/spring_defconfig | 2 +-
configs/stm32f429-discovery_defconfig | 3 +-
configs/stm32f746-disco_defconfig | 3 +-
configs/strider_con_defconfig | 1 +
configs/strider_con_dp_defconfig | 1 +
configs/strider_cpu_defconfig | 1 +
configs/strider_cpu_dp_defconfig | 1 +
configs/stv0991_defconfig | 2 +-
configs/suvd3_defconfig | 3 +-
configs/sycamore_defconfig | 3 +-
configs/t3corp_defconfig | 3 +-
configs/taurus_defconfig | 2 +-
configs/tb100_defconfig | 2 +-
configs/tcm-bf518_defconfig | 1 +
configs/tcm-bf537_defconfig | 3 +-
configs/theadorable_debug_defconfig | 2 +-
configs/theadorable_defconfig | 2 +-
configs/thuban_defconfig | 2 +-
configs/thunderx_88xx_defconfig | 2 +-
configs/topic_miami_defconfig | 5 ++--
configs/topic_miamiplus_defconfig | 5 ++--
configs/ts4600_defconfig | 2 +-
configs/tuge1_defconfig | 3 +-
configs/tuxx1_defconfig | 3 +-
configs/uniphier_ld11_defconfig | 3 +-
configs/uniphier_ld20_defconfig | 3 +-
configs/uniphier_ld4_sld8_defconfig | 3 +-
configs/uniphier_pro4_defconfig | 3 +-
configs/uniphier_pxs2_ld6b_defconfig | 3 +-
configs/uniphier_sld3_defconfig | 3 +-
configs/uniphier_v8_defconfig | 3 +-
configs/usb_a9263_dataflash_defconfig | 2 +-
configs/v38b_defconfig | 4 +--
configs/vct_platinum_defconfig | 1 +
configs/vct_platinum_small_defconfig | 1 +
configs/vct_platinumavc_defconfig | 1 +
configs/vct_platinumavc_small_defconfig | 1 +
configs/vct_premium_defconfig | 1 +
configs/vct_premium_small_defconfig | 1 +
configs/ve8313_defconfig | 3 +-
configs/vexpress_aemv8a_dram_defconfig | 4 +--
configs/vexpress_aemv8a_juno_defconfig | 4 +--
configs/vexpress_aemv8a_semi_defconfig | 4 +--
configs/vexpress_ca15_tc2_defconfig | 1 +
configs/vexpress_ca5x2_defconfig | 1 +
configs/vexpress_ca9x4_defconfig | 1 +
configs/vme8349_defconfig | 3 +-
configs/walnut_defconfig | 3 +-
configs/woodburn_defconfig | 1 +
configs/woodburn_sd_defconfig | 1 +
configs/work_92105_defconfig | 2 +-
configs/wtk_defconfig | 3 +-
configs/x600_defconfig | 1 +
configs/xilinx-ppc405-generic_defconfig | 3 +-
configs/xilinx-ppc440-generic_defconfig | 3 +-
configs/xilinx_zynqmp_ep_defconfig | 4 +--
configs/xilinx_zynqmp_zc1751_xm015_dc1_defconfig | 4 +--
configs/xilinx_zynqmp_zc1751_xm016_dc2_defconfig | 2 +-
configs/xilinx_zynqmp_zc1751_xm018_dc4_defconfig | 4 +--
configs/xilinx_zynqmp_zc1751_xm019_dc5_defconfig | 4 +--
configs/xilinx_zynqmp_zcu102_defconfig | 4 +--
configs/xilinx_zynqmp_zcu102_revB_defconfig | 4 +--
configs/xpedite1000_defconfig | 3 +-
configs/xpedite517x_defconfig | 3 +-
configs/xpedite520x_defconfig | 3 +-
configs/xpedite537x_defconfig | 3 +-
configs/xpedite550x_defconfig | 3 +-
configs/xtfpga_defconfig | 3 +-
configs/yellowstone_defconfig | 3 +-
configs/yosemite_defconfig | 3 +-
configs/yucca_defconfig | 3 +-
configs/zipitz2_defconfig | 1 +
configs/zmx25_defconfig | 1 +
configs/zynq_microzed_defconfig | 3 +-
configs/zynq_picozed_defconfig | 3 +-
configs/zynq_zc702_defconfig | 3 +-
configs/zynq_zc706_defconfig | 3 +-
configs/zynq_zc770_xm010_defconfig | 3 +-
configs/zynq_zc770_xm011_defconfig | 1 -
configs/zynq_zc770_xm012_defconfig | 1 +
configs/zynq_zc770_xm013_defconfig | 1 -
configs/zynq_zed_defconfig | 3 +-
configs/zynq_zybo_defconfig | 3 +-
drivers/mtd/Kconfig | 5 ++++
drivers/mtd/st_smi.c | 2 +-
fs/cramfs/cramfs.c | 2 +-
include/configs/B4860QDS.h | 4 +--
include/configs/BSC9131RDB.h | 1 -
include/configs/BSC9132QDS.h | 5 +---
include/configs/C29XPCIE.h | 4 ---
include/configs/M54418TWR.h | 3 --
include/configs/MPC8315ERDB.h | 1 -
include/configs/MPC8323ERDB.h | 1 -
include/configs/MPC832XEMDS.h | 1 -
include/configs/MPC8349EMDS.h | 1 -
include/configs/MPC8349ITX.h | 1 -
include/configs/MPC837XEMDS.h | 1 -
include/configs/MPC837XERDB.h | 1 -
include/configs/MPC8540ADS.h | 1 -
include/configs/MPC8560ADS.h | 1 -
include/configs/P1010RDB.h | 3 --
include/configs/P2041RDB.h | 3 +-
include/configs/T102xQDS.h | 6 ++--
include/configs/T102xRDB.h | 6 ++--
include/configs/T1040QDS.h | 8 ++---
include/configs/T104xRDB.h | 5 ++--
include/configs/T208xQDS.h | 6 ++--
include/configs/T208xRDB.h | 6 ++--
include/configs/T4240QDS.h | 4 +--
include/configs/T4240RDB.h | 3 +-
include/configs/advantech_dms-ba16.h | 1 -
include/configs/alt.h | 1 -
include/configs/am335x_evm.h | 1 -
include/configs/am3517_crane.h | 1 -
include/configs/am3517_evm.h | 2 --
include/configs/ap121.h | 2 --
include/configs/ap143.h | 2 --
include/configs/apalis_imx6.h | 3 +-
include/configs/apf27.h | 1 -
include/configs/apx4devkit.h | 1 -
include/configs/armadillo-800eva.h | 1 -
include/configs/aspenite.h | 1 -
include/configs/at91sam9260ek.h | 3 --
include/configs/at91sam9261ek.h | 3 --
include/configs/at91sam9263ek.h | 3 --
include/configs/at91sam9m10g45ek.h | 2 --
include/configs/at91sam9n12ek.h | 3 --
include/configs/at91sam9rlek.h | 3 --
include/configs/at91sam9x5ek.h | 3 --
include/configs/axs10x.h | 1 -
include/configs/bav335x.h | 1 -
include/configs/bcm23550_w1d.h | 2 --
include/configs/bcm28155_ap.h | 2 --
include/configs/bcm_ep_board.h | 2 --
include/configs/bf506f-ezkit.h | 1 -
include/configs/bf525-ucr2.h | 3 --
include/configs/bf537-minotaur.h | 6 ----
include/configs/bf537-srv1.h | 6 ----
include/configs/bf561-acvilon.h | 5 ----
include/configs/bfin_adi_common.h | 2 +-
include/configs/bg0900.h | 1 -
include/configs/blackstamp.h | 5 ----
include/configs/blackvme.h | 4 ---
include/configs/blanche.h | 5 ++--
include/configs/br4.h | 5 ----
include/configs/bur_am335x_common.h | 2 --
include/configs/clearfog.h | 1 -
include/configs/cm_t35.h | 1 -
include/configs/cm_t3517.h | 1 -
include/configs/colibri_imx6.h | 4 +--
include/configs/colibri_imx7.h | 3 +-
include/configs/colibri_pxa270.h | 1 -
include/configs/colibri_vf.h | 3 --
include/configs/controlcenterd.h | 1 -
include/configs/corenet_ds.h | 3 +-
include/configs/corvus.h | 3 --
include/configs/cyrus.h | 2 --
include/configs/da850evm.h | 3 --
include/configs/db-88f6720.h | 1 -
include/configs/db-88f6820-amc.h | 1 -
include/configs/db-88f6820-gp.h | 1 -
include/configs/db-mv784mp-gp.h | 1 -
include/configs/dns325.h | 1 -
include/configs/dockstar.h | 1 -
include/configs/dra7xx_evm.h | 1 -
include/configs/dragonboard410c.h | 1 -
include/configs/ds414.h | 1 -
include/configs/ea20.h | 2 --
include/configs/el6x_common.h | 3 +-
include/configs/exynos-common.h | 3 --
include/configs/exynos7420-common.h | 3 --
include/configs/ge_bx50v3.h | 4 +--
include/configs/goflexhome.h | 1 -
include/configs/gose.h | 1 -
include/configs/gplugd.h | 1 -
include/configs/gr_cpci_ax2000.h | 1 -
include/configs/gr_ep2s60.h | 1 -
include/configs/gr_xc3s_1500.h | 1 -
include/configs/grsim.h | 1 -
include/configs/grsim_leon2.h | 1 -
include/configs/h2200.h | 2 --
include/configs/highbank.h | 2 --
include/configs/hikey.h | 2 --
include/configs/hrcon.h | 2 --
include/configs/ib62x0.h | 1 -
include/configs/iconnect.h | 1 -
include/configs/imgtec_xilfpga.h | 5 ----
include/configs/ip04.h | 1 -
include/configs/ipam390.h | 1 -
include/configs/kc1.h | 6 ----
include/configs/km/km83xx-common.h | 1 -
include/configs/km/km_arm.h | 7 +----
include/configs/km/kmp204x-common.h | 1 -
include/configs/koelsch.h | 1 -
include/configs/lacie_kw.h | 1 -
include/configs/lager.h | 1 -
include/configs/legoev3.h | 1 -
include/configs/ls1012a_common.h | 1 -
include/configs/ls1021aiot.h | 5 ----
include/configs/ls1021aqds.h | 4 ---
include/configs/ls1021atwr.h | 4 ---
include/configs/ls1043a_common.h | 2 +-
include/configs/ls1043aqds.h | 1 -
include/configs/ls1046aqds.h | 3 +-
include/configs/ls1046ardb.h | 3 --
include/configs/ls2080a_common.h | 4 ---
include/configs/ls2080a_simu.h | 4 +--
include/configs/ls2080aqds.h | 3 +-
include/configs/ls2080ardb.h | 2 +-
include/configs/lsxl.h | 2 --
include/configs/m28evk.h | 1 -
include/configs/m53evk.h | 1 -
include/configs/ma5d4evk.h | 2 --
include/configs/maxbcm.h | 1 -
include/configs/mccmon6.h | 1 -
include/configs/mcx.h | 1 -
include/configs/meesc.h | 3 --
include/configs/meson-gxbb-common.h | 1 -
include/configs/microblaze-generic.h | 2 --
include/configs/mv-plug-common.h | 1 -
include/configs/mvebu_armada-8k.h | 1 -
include/configs/mvebu_db-88f3720.h | 1 -
include/configs/mx23_olinuxino.h | 1 -
include/configs/mx23evk.h | 1 -
include/configs/mx25pdk.h | 1 -
include/configs/mx28evk.h | 1 -
include/configs/mx31pdk.h | 7 ++---
include/configs/mx51evk.h | 4 +--
include/configs/mx53ard.h | 4 +--
include/configs/mx53cx9020.h | 4 +--
include/configs/mx53evk.h | 4 +--
include/configs/mx53loco.h | 4 +--
include/configs/mx53smd.h | 4 +--
include/configs/mx6_common.h | 2 --
include/configs/mx6qsabreauto.h | 1 -
include/configs/mx6ul_14x14_evk.h | 4 +--
include/configs/mx6ullevk.h | 4 +--
include/configs/mx7dsabresd.h | 3 +-
include/configs/nas220.h | 1 -
include/configs/nokia_rx51.h | 2 --
include/configs/nsa310s.h | 1 -
include/configs/nsim.h | 2 --
include/configs/omap3_evm.h | 1 -
include/configs/omapl138_lcdk.h | 4 ---
include/configs/openrd.h | 1 -
include/configs/openrisc-generic.h | 1 -
include/configs/pcm052.h | 4 +--
include/configs/pic32mzdask.h | 5 ----
include/configs/pico-imx6ul.h | 4 +--
include/configs/picosam9g45.h | 3 --
include/configs/pm9g45.h | 3 --
include/configs/pogo_e02.h | 1 -
include/configs/porter.h | 1 -
include/configs/pr1.h | 5 ----
include/configs/qemu-ppce500.h | 2 --
include/configs/rk3036_common.h | 1 -
include/configs/rk3288_common.h | 1 -
include/configs/rk3399_common.h | 1 -
include/configs/rpi.h | 3 --
include/configs/s32v234evb.h | 4 +--
include/configs/s5p_goni.h | 2 --
include/configs/salvator-x.h | 1 -
include/configs/sama5d2_ptc.h | 3 --
include/configs/sama5d2_xplained.h | 3 --
include/configs/sama5d3_xplained.h | 3 --
include/configs/sama5d3xek.h | 6 +---
include/configs/sama5d4_xplained.h | 3 --
include/configs/sama5d4ek.h | 3 --
include/configs/sandbox.h | 2 --
include/configs/sansa_fuze_plus.h | 1 -
include/configs/sbc8349.h | 1 -
include/configs/sc_sps_1.h | 1 -
include/configs/sh7752evb.h | 3 --
include/configs/sh7753evb.h | 3 --
include/configs/sh7757lcr.h | 3 --
include/configs/siemens-am33x-common.h | 1 -
include/configs/silk.h | 1 -
include/configs/smartweb.h | 1 -
include/configs/smdkc100.h | 1 -
include/configs/snapper9260.h | 1 -
include/configs/snapper9g45.h | 1 -
include/configs/sniper.h | 6 ----
include/configs/socfpga_arria5_socdk.h | 1 -
include/configs/socfpga_common.h | 1 -
include/configs/socfpga_cyclone5_socdk.h | 1 -
include/configs/socfpga_de0_nano_soc.h | 1 -
include/configs/socfpga_de1_soc.h | 1 -
include/configs/socfpga_is1.h | 1 -
include/configs/socfpga_mcvevk.h | 1 -
include/configs/socfpga_sockit.h | 1 -
include/configs/socfpga_socrates.h | 1 -
include/configs/socfpga_sr1500.h | 1 -
include/configs/socfpga_vining_fpga.h | 1 -
include/configs/stm32f746-disco.h | 1 -
include/configs/stout.h | 1 -
include/configs/stv0991.h | 2 --
include/configs/sunxi-common.h | 2 --
include/configs/tam3517-common.h | 1 -
include/configs/tao3530.h | 1 -
include/configs/taurus.h | 3 --
include/configs/tb100.h | 2 --
include/configs/tegra-common.h | 2 --
include/configs/theadorable.h | 2 --
include/configs/thunderx_88xx.h | 2 --
include/configs/ti814x_evm.h | 2 --
include/configs/ti816x_evm.h | 1 -
include/configs/ti_armv7_common.h | 6 ----
include/configs/tplink_wdr4300.h | 2 --
include/configs/tricorder.h | 1 -
include/configs/ts4600.h | 1 -
include/configs/ts4800.h | 1 -
include/configs/uniphier.h | 2 --
include/configs/usb_a9263.h | 3 --
include/configs/usbarmory.h | 1 -
include/configs/vct.h | 2 --
include/configs/vf610twr.h | 3 --
include/configs/vinco.h | 3 --
include/configs/vme8349.h | 1 -
include/configs/warp7.h | 3 +-
include/configs/work_92105.h | 6 ----
include/configs/x86-common.h | 1 -
include/configs/xfi3.h | 1 -
include/configs/xilinx-ppc.h | 1 -
include/configs/xilinx_zynqmp.h | 2 --
include/configs/xpress.h | 3 --
include/configs/zynq-common.h | 6 ++--
include/dataflash.h | 4 +--
1056 files changed, 1289 insertions(+), 1160 deletions(-)
--
2.7.4
2
7

12 Feb '17
This patchset:
- adds support for stm32f7 clock driver.
- adds support for stm32f7 pin control driver.
- adds device tree nodes for stm32f7 serial & clock.
- adds stm32f7 pin control device tree sub nodes :
- serial usart1
- ethernet
- qspi flash
Changed in v2:
- added removed blank lines in code.
- removed not used functions.
- changed fixed length array read from device node to relaxed length read.
Vikas Manocha (10):
serial: stm32f7: add device tree support
clk: stm32f7: add clock driver for stm32f7 family
stm32f7: serial: use clock driver to enable clock
ARM: DT: stm32f7: add usart1 & clock device tree nodes
stm32f7: clk: remove usart1 clock enable from board init
PINCTRL: stm32f7: add pin control driver
ARM: DT: stm32f7: add pin control device node
ARM: DT: stm32f7: add pin control node for serial port pins
ARM: DT: stm32f7: add ethernet pin contol node
ARM: DT: stm32f7: add qspi pin contol node
arch/arm/dts/stm32f746-disco.dts | 13 ++
arch/arm/dts/stm32f746.dtsi | 72 +++++++++++
arch/arm/mach-stm32/stm32f7/Makefile | 2 +-
arch/arm/mach-stm32/stm32f7/soc.c | 2 -
board/st/stm32f746-disco/stm32f746-disco.c | 111 +----------------
configs/stm32f746-disco_defconfig | 4 +
doc/device-tree-bindings/clock/st,stm32-rcc.txt | 95 +++++++++++++++
.../pinctrl/st,stm32-pinctrl.txt | 133 +++++++++++++++++++++
drivers/clk/Makefile | 2 +-
.../stm32f7/clock.c => drivers/clk/clk_stm32f7.c | 64 +++++++++-
drivers/pinctrl/Kconfig | 9 ++
drivers/pinctrl/Makefile | 1 +
drivers/pinctrl/pinctrl_stm32.c | 121 +++++++++++++++++++
drivers/serial/serial_stm32x7.c | 42 +++++++
14 files changed, 552 insertions(+), 119 deletions(-)
create mode 100644 doc/device-tree-bindings/clock/st,stm32-rcc.txt
create mode 100644 doc/device-tree-bindings/pinctrl/st,stm32-pinctrl.txt
rename arch/arm/mach-stm32/stm32f7/clock.c => drivers/clk/clk_stm32f7.c (85%)
create mode 100644 drivers/pinctrl/pinctrl_stm32.c
--
1.9.1
3
14

12 Feb '17
This patchset:
- adds support for stm32f7 clock driver.
- adds support for stm32f7 pin control driver.
- adds device tree nodes for stm32f7 serial & clock.
- adds stm32f7 pin control device tree sub nodes :
- serial usart1
- ethernet
- qspi flash
Vikas Manocha (10):
serial: stm32f7: add device tree support
clk: stm32f7: add clock driver for stm32f7 family
stm32f7: serial: use clock driver to enable clock
ARM: DT: stm32f7: add usart1 & clock device tree nodes
stm32f7: clk: remove usart1 clock enable from board init
PINCTRL: stm32f7: add pin control driver
ARM: DT: stm32f7: add pin control device node
ARM: DT: stm32f7: add pin control node for serial port pins
ARM: DT: stm32f7: add ethernet pin contol node
ARM: DT: stm32f7: add qspi pin contol node
arch/arm/dts/stm32f746-disco.dts | 13 ++
arch/arm/dts/stm32f746.dtsi | 72 +++++++++++
arch/arm/mach-stm32/stm32f7/Makefile | 2 +-
arch/arm/mach-stm32/stm32f7/soc.c | 2 -
board/st/stm32f746-disco/stm32f746-disco.c | 111 +----------------
configs/stm32f746-disco_defconfig | 4 +
doc/device-tree-bindings/clock/st,stm32-rcc.txt | 95 +++++++++++++++
.../pinctrl/st,stm32-pinctrl.txt | 133 +++++++++++++++++++++
drivers/clk/Makefile | 2 +-
.../stm32f7/clock.c => drivers/clk/clk_stm32f7.c | 66 +++++++++-
drivers/pinctrl/Kconfig | 9 ++
drivers/pinctrl/Makefile | 1 +
drivers/pinctrl/pinctrl_stm32.c | 118 ++++++++++++++++++
drivers/serial/serial_stm32x7.c | 40 +++++++
14 files changed, 549 insertions(+), 119 deletions(-)
create mode 100644 doc/device-tree-bindings/clock/st,stm32-rcc.txt
create mode 100644 doc/device-tree-bindings/pinctrl/st,stm32-pinctrl.txt
rename arch/arm/mach-stm32/stm32f7/clock.c => drivers/clk/clk_stm32f7.c (84%)
create mode 100644 drivers/pinctrl/pinctrl_stm32.c
--
1.9.1
4
19

[U-Boot] [PATCH v6 4/6] mvebu: usb: xhci: Add VBUS regulator supply to the host driver
by kostap@marvell.com 12 Feb '17
by kostap@marvell.com 12 Feb '17
12 Feb '17
From: Konstantin Porotchkin <kostap(a)marvell.com>
The USB device should linked to VBUS regulator through "vbus-supply"
DTS property.
This patch adds handling for "vbus-supply" property inside the USB
device entry for turning on the VBUS regulator upon the host adapter probe.
Signed-off-by: Konstantin Porotchkin <kostap(a)marvell.com>
Cc: Stefan Roese <sr(a)denx.de>
Cc: Marek Vasut <marex(a)denx.de>
Cc: Nadav Haklai <nadavh(a)marvell.com>
Cc: Neta Zur Hershkovits <neta(a)marvell.com>
Cc: Igal Liberman <igall(a)marvell.com>
Cc: Haim Boot <hayim(a)marvell.com>
---
Changes for v6:
- Corerct the "clocks" definition in document file
doc/device-tree-bindings/usb/marvell.xhci-usb.txt | 28 +++++++++++++++++++++++
drivers/usb/host/Kconfig | 1 +
drivers/usb/host/xhci-mvebu.c | 13 ++++++++++-
3 files changed, 41 insertions(+), 1 deletion(-)
create mode 100644 doc/device-tree-bindings/usb/marvell.xhci-usb.txt
diff --git a/doc/device-tree-bindings/usb/marvell.xhci-usb.txt b/doc/device-tree-bindings/usb/marvell.xhci-usb.txt
new file mode 100644
index 0000000..e042d1b
--- /dev/null
+++ b/doc/device-tree-bindings/usb/marvell.xhci-usb.txt
@@ -0,0 +1,28 @@
+Marvell SOC USB controllers
+
+This controller is integrated in Armada 3700/8K.
+It uses the same properties as a generic XHCI host controller
+
+Required properties :
+ - compatible: should be one or more of:
+ - "marvell,armada3700-xhci", "generic-xhci" for Armada 37xx SoCs
+ - "marvell,armada-8k-xhci", "generic-xhci" for Armada A8K SoCs
+ - reg: should contain address and length of the standard XHCI
+ register set for the device.
+ - interrupts: one XHCI interrupt should be described here.
+
+Optional properties:
+ - clocks: phandle to system controller clock driving this unit
+ - vbus-supply : If present, specifies the fixed regulator to be turned on
+ for providing power to the USB VBUS rail.
+
+Example:
+ cpm_usb3_0: usb3@500000 {
+ compatible = "marvell,armada-8k-xhci",
+ "generic-xhci";
+ reg = <0x500000 0x4000>;
+ interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&cpm_syscon0 1 22>;
+ vbus-supply = <®_usb3h0_vbus>;
+ status = "disabled";
+ };
diff --git a/drivers/usb/host/Kconfig b/drivers/usb/host/Kconfig
index 5129a57..0bf8274 100644
--- a/drivers/usb/host/Kconfig
+++ b/drivers/usb/host/Kconfig
@@ -25,6 +25,7 @@ config USB_XHCI_MVEBU
bool "MVEBU USB 3.0 support"
default y
depends on ARCH_MVEBU
+ select DM_REGULATOR
help
Choose this option to add support for USB 3.0 driver on mvebu
SoCs, which includes Armada8K, Armada3700 and other Armada
diff --git a/drivers/usb/host/xhci-mvebu.c b/drivers/usb/host/xhci-mvebu.c
index 46eb937..d880af1 100644
--- a/drivers/usb/host/xhci-mvebu.c
+++ b/drivers/usb/host/xhci-mvebu.c
@@ -10,6 +10,7 @@
#include <dm.h>
#include <fdtdec.h>
#include <usb.h>
+#include <power/regulator.h>
#include <asm/gpio.h>
#include "xhci.h"
@@ -44,12 +45,22 @@ static int xhci_usb_probe(struct udevice *dev)
struct mvebu_xhci_platdata *plat = dev_get_platdata(dev);
struct mvebu_xhci *ctx = dev_get_priv(dev);
struct xhci_hcor *hcor;
- int len;
+ int len, ret;
+ struct udevice *regulator;
ctx->hcd = (struct xhci_hccr *)plat->hcd_base;
len = HC_LENGTH(xhci_readl(&ctx->hcd->cr_capbase));
hcor = (struct xhci_hcor *)((uintptr_t)ctx->hcd + len);
+ ret = device_get_supply_regulator(dev, "vbus-supply", ®ulator);
+ if (!ret) {
+ ret = regulator_set_enable(regulator, true);
+ if (ret) {
+ printf("Failed to turn ON the VBUS regulator\n");
+ return ret;
+ }
+ }
+
/* Enable USB xHCI (VBUS, reset etc) in board specific code */
board_xhci_enable();
--
2.7.4
2
1

[U-Boot] [PATCH 2/6] usb: host: xhci-omap: fix double weak board_usb_init functions
by Uri Mashiach 12 Feb '17
by Uri Mashiach 12 Feb '17
12 Feb '17
A weak version of the function board_usb_init is implemented in:
common/usb.c
drivers/usb/host/xhci-omap.c
To fix the double implementations:
* Convert the board_usb_init function in drivers/usb/host/xhci-omap.c
normal (not weak).
* The function board_usb_init in drivers/usb/host/xhci-omap.c calls to
the weak function omap_xhci_board_usb_init.
* Rename board version of the function board_usb_init to
omap_xhci_board_usb_init.
Done only for boards that defines CONFIG_USB_XHCI_OMAP.
To achieve the same flexibility with the function board_usb_cleanup:
* Add a normal (not weak) implementation of the function
board_usb_cleanup in drivers/usb/host/xhci-omap.c
* The function board_usb_cleanup in drivers/usb/host/xhci-omap.c calls
to the weak function omap_xhci_board_usb_cleanup.
* Rename board version of the function board_usb_cleanup to
omap_xhci_board_usb_cleanup.
Done only for boards that defines CONFIG_USB_XHCI_OMAP.
Signed-off-by: Uri Mashiach <uri.mashiach(a)compulab.co.il>
---
board/compulab/cl-som-am57x/cl-som-am57x.c | 2 +-
board/ti/am43xx/board.c | 4 ++--
board/ti/am57xx/board.c | 4 ++--
board/ti/dra7xx/evm.c | 4 ++--
drivers/usb/host/xhci-omap.c | 23 +++++++++++++++++++++--
5 files changed, 28 insertions(+), 9 deletions(-)
diff --git a/board/compulab/cl-som-am57x/cl-som-am57x.c b/board/compulab/cl-som-am57x/cl-som-am57x.c
index bdd0a2b..fe1468f 100644
--- a/board/compulab/cl-som-am57x/cl-som-am57x.c
+++ b/board/compulab/cl-som-am57x/cl-som-am57x.c
@@ -54,7 +54,7 @@ int board_mmc_init(bd_t *bis)
#endif /* CONFIG_GENERIC_MMC */
#ifdef CONFIG_USB_XHCI_OMAP
-int board_usb_init(int index, enum usb_init_type init)
+int omap_xhci_board_usb_init(int index, enum usb_init_type init)
{
setbits_le32((*prcm)->cm_l3init_usb_otg_ss1_clkctrl,
OTG_SS_CLKCTRL_MODULEMODE_HW | OPTFCLKEN_REFCLK960M);
diff --git a/board/ti/am43xx/board.c b/board/ti/am43xx/board.c
index 390cc16..2572029 100644
--- a/board/ti/am43xx/board.c
+++ b/board/ti/am43xx/board.c
@@ -694,7 +694,7 @@ int usb_gadget_handle_interrupts(int index)
#endif /* CONFIG_USB_DWC3 */
#if defined(CONFIG_USB_DWC3) || defined(CONFIG_USB_XHCI_OMAP)
-int board_usb_init(int index, enum usb_init_type init)
+int omap_xhci_board_usb_init(int index, enum usb_init_type init)
{
enable_usb_clocks(index);
#ifdef CONFIG_USB_DWC3
@@ -725,7 +725,7 @@ int board_usb_init(int index, enum usb_init_type init)
return 0;
}
-int board_usb_cleanup(int index, enum usb_init_type init)
+int omap_xhci_board_usb_cleanup(int index, enum usb_init_type init)
{
#ifdef CONFIG_USB_DWC3
switch (index) {
diff --git a/board/ti/am57xx/board.c b/board/ti/am57xx/board.c
index 5f2d4df..96fad0f 100644
--- a/board/ti/am57xx/board.c
+++ b/board/ti/am57xx/board.c
@@ -616,7 +616,7 @@ int usb_gadget_handle_interrupts(int index)
#endif /* CONFIG_USB_DWC3 */
#if defined(CONFIG_USB_DWC3) || defined(CONFIG_USB_XHCI_OMAP)
-int board_usb_init(int index, enum usb_init_type init)
+int omap_xhci_board_usb_init(int index, enum usb_init_type init)
{
enable_usb_clocks(index);
switch (index) {
@@ -650,7 +650,7 @@ int board_usb_init(int index, enum usb_init_type init)
return 0;
}
-int board_usb_cleanup(int index, enum usb_init_type init)
+int omap_xhci_board_usb_cleanup(int index, enum usb_init_type init)
{
#ifdef CONFIG_USB_DWC3
switch (index) {
diff --git a/board/ti/dra7xx/evm.c b/board/ti/dra7xx/evm.c
index bd1c809..21fa824 100644
--- a/board/ti/dra7xx/evm.c
+++ b/board/ti/dra7xx/evm.c
@@ -727,7 +727,7 @@ static struct ti_usb_phy_device usb_phy2_device = {
.index = 1,
};
-int board_usb_init(int index, enum usb_init_type init)
+int omap_xhci_board_usb_init(int index, enum usb_init_type init)
{
enable_usb_clocks(index);
switch (index) {
@@ -764,7 +764,7 @@ int board_usb_init(int index, enum usb_init_type init)
return 0;
}
-int board_usb_cleanup(int index, enum usb_init_type init)
+int omap_xhci_board_usb_cleanup(int index, enum usb_init_type init)
{
switch (index) {
case 0:
diff --git a/drivers/usb/host/xhci-omap.c b/drivers/usb/host/xhci-omap.c
index b881b19..ceee12a 100644
--- a/drivers/usb/host/xhci-omap.c
+++ b/drivers/usb/host/xhci-omap.c
@@ -27,12 +27,31 @@ DECLARE_GLOBAL_DATA_PTR;
static struct omap_xhci omap;
-__weak int __board_usb_init(int index, enum usb_init_type init)
+__weak int __omap_xhci_board_usb_init(int index, enum usb_init_type init)
{
return 0;
}
+
+int omap_xhci_board_usb_init(int index, enum usb_init_type init)
+ __attribute__((weak, alias("__omap_xhci_board_usb_init")));
+
int board_usb_init(int index, enum usb_init_type init)
- __attribute__((weak, alias("__board_usb_init")));
+{
+ return omap_xhci_board_usb_init(index, init);
+}
+
+__weak int __omap_xhci_board_usb_cleanup(int index, enum usb_init_type init)
+{
+ return 0;
+}
+
+int omap_xhci_board_usb_cleanup(int index, enum usb_init_type init)
+ __attribute__((weak, alias("__omap_xhci_board_usb_cleanup")));
+
+int board_usb_cleanup(int index, enum usb_init_type init)
+{
+ return omap_xhci_board_usb_cleanup(index, init);
+}
static int omap_xhci_core_init(struct omap_xhci *omap)
{
--
2.7.4
3
5

Re: [U-Boot] [linux-sunxi] Re: [RFC PATCH 4/6] sunxi: Add selective DRAM type and timing
by Icenowy Zheng 12 Feb '17
by Icenowy Zheng 12 Feb '17
12 Feb '17
2017年2月12日 00:59于 Jens Kuske <jenskuske(a)gmail.com>写道:
>
> Hi.
>
> On 11.02.2017 16:08, Icenowy Zheng wrote:
> [..]
> > @@ -299,6 +190,13 @@ static void mctl_h3_zq_calibration_quirk(struct dram_para *para)
> > {
> > struct sunxi_mctl_ctl_reg * const mctl_ctl =
> > (struct sunxi_mctl_ctl_reg *)SUNXI_DRAM_CTL0_BASE;
> > + int zq_count;
> > +
> > +#if defined CONFIG_SUNXI_DRAM_DDR3
> > + zq_count = 6;
>
> This doesn't depend on DRAM type, but on how many ZQ calibration groups
> exist. H3 had three: AC, DX0/1 and DX2/3. Devices with only 16bit bus
> width most likely only have AC and DX0/1.
>
> > +#else
> > +#error Unsupported DRAM type!
> > +#endif
> >
> > if ((readl(SUNXI_SRAMC_BASE + 0x24) & 0xff) == 0 &&
> > (readl(SUNXI_SRAMC_BASE + 0xf0) & 0x1) == 0) {
> > @@ -327,7 +225,7 @@ static void mctl_h3_zq_calibration_quirk(struct dram_para *para)
> >
> > writel(0x0a0a0a0a, &mctl_ctl->zqdr[2]);
> >
> > - for (i = 0; i < 6; i++) {
> > + for (i = 0; i < zq_count; i++) {
>
> I think
> for (i = 0; i < (1 + (num_databyte_lanes / 2)) * 2; i++)
> would be the cleanest way of handling this, with num_databyte_lanes
> being chip-dependent.
>
> But, as the name of this function already states, this is a quirk for a
> bug in H3, which always has 4 databyte lanes. Are you sure other chips
> need this quirk too? H5 and A64 for example work well with 'normal' ZQ
> calibration.
This is for H3 and V3s (1680 and 1681).
>
> Jens
>
> > u8 zq = (CONFIG_DRAM_ZQ >> (i * 4)) & 0xf;
> >
> > writel((zq << 20) | (zq << 16) | (zq << 12) |
> > @@ -349,7 +247,9 @@ static void mctl_h3_zq_calibration_quirk(struct dram_para *para)
> >
> > writel((zq_val[1] << 16) | zq_val[0], &mctl_ctl->zqdr[0]);
> > writel((zq_val[3] << 16) | zq_val[2], &mctl_ctl->zqdr[1]);
> > +#if defined CONFIG_SUNXI_DRAM_DDR3
> > writel((zq_val[5] << 16) | zq_val[4], &mctl_ctl->zqdr[2]);
> > +#endif
> > }
> > }
> >
> > @@ -358,7 +258,12 @@ static void mctl_set_cr(struct dram_para *para)
> > struct sunxi_mctl_com_reg * const mctl_com =
> > (struct sunxi_mctl_com_reg *)SUNXI_DRAM_COM_BASE;
> >
> > - writel(MCTL_CR_BL8 | MCTL_CR_2T | MCTL_CR_DDR3 | MCTL_CR_INTERLEAVED |
> > + writel(MCTL_CR_BL8 | MCTL_CR_2T | MCTL_CR_INTERLEAVED |
> > +#if defined CONFIG_SUNXI_DRAM_DDR3
> > + MCTL_CR_DDR3 |
> > +#else
> > +#error Unsupported DRAM type!
> > +#endif
> > (para->bank_bits == 3 ? MCTL_CR_EIGHT_BANKS : MCTL_CR_FOUR_BANKS) |
> > MCTL_CR_BUS_FULL_WIDTH(para->bus_full_width) |
> > (para->dual_rank ? MCTL_CR_DUAL_RANK : MCTL_CR_SINGLE_RANK) |
>
> --
> You received this message because you are subscribed to the Google Groups "linux-sunxi" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscribe(a)googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
1
0
Dear Tom,
The following changes since commit f1cc97764be4383d2aeb56d5ba5415439a1d5c97:
Merge branch 'master' of git://git.denx.de/u-boot-video (2017-02-09
14:54:09 -0500)
are available in the git repository at:
git://git.denx.de/u-boot-samsung.git master
for you to fetch changes up to 5d3be0f81ca7668ac04ee0f0b7d82e123c7f59b5:
exynos: Drop large alignment for SDRAM parameters (2017-02-10 18:51:51
+0900)
----------------------------------------------------------------
Simon Glass (1):
exynos: Drop large alignment for SDRAM parameters
board/samsung/common/exynos-uboot-spl.lds | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
--
from. prom.
www.promsoft.net
2
1
Hi Tom,
This includes a board rename and a few other minor changes.
The following changes since commit 21342d4aed6c77a4aa7a5b2579b3c23e21aea31a:
Merge git://git.denx.de/u-boot-dm (2017-02-08 16:24:44 -0500)
are available in the git repository at:
git://git.denx.de/u-boot-rockchip.git
for you to fetch changes up to 6f2797645562e85c407aab3e9a757bfd61a027fe:
rockchip: rename miniarm to tinker board (2017-02-09 12:10:59 -0700)
----------------------------------------------------------------
Eddie Cai (1):
rockchip: rename miniarm to tinker board
Jacob Chen (3):
rockchip: dts: rk3288: correct sdram setting for miniarm
rockchip: configs: move env offset to common header
rockchip: firefly: configs: use spl back to brom
Romain Perier (1):
rockchip: Enable ETH address randomization for the firefly-rk3288
Simon Glass (1):
rockchip: Correct MAINTAINER entry for chromebook_minnie
arch/arm/dts/Makefile | 2 +-
arch/arm/dts/rk3288-miniarm.dts | 58
----------------------
arch/arm/dts/rk3288-tinker.dts | 58
++++++++++++++++++++++
.../{rk3288-miniarm.dtsi => rk3288-tinker.dtsi} | 0
arch/arm/mach-rockchip/rk3288-board.c | 2 +-
arch/arm/mach-rockchip/rk3288/Kconfig | 10 ++--
board/google/veyron/MAINTAINERS | 4 +-
board/rockchip/miniarm_rk3288/MAINTAINERS | 6 ---
.../{miniarm_rk3288 => tinker_rk3288}/Kconfig | 6 +--
board/rockchip/tinker_rk3288/MAINTAINERS | 6 +++
.../{miniarm_rk3288 => tinker_rk3288}/Makefile | 2 +-
.../tinker-rk3288.c} | 0
configs/firefly-rk3288_defconfig | 3 +-
...rm-rk3288_defconfig => tinker-rk3288_defconfig} | 4 +-
doc/README.rockchip | 2 +-
include/configs/evb_rk3288.h | 14 ------
include/configs/fennec_rk3288.h | 14 ------
include/configs/firefly-rk3288.h | 5 --
include/configs/kylin_rk3036.h | 14 ------
include/configs/popmetal_rk3288.h | 14 ------
include/configs/rock2.h | 14 ------
include/configs/rockchip-common.h | 14 ++++++
.../configs/{miniarm_rk3288.h => tinker_rk3288.h} | 14 ------
23 files changed, 96 insertions(+), 170 deletions(-)
delete mode 100644 arch/arm/dts/rk3288-miniarm.dts
create mode 100644 arch/arm/dts/rk3288-tinker.dts
rename arch/arm/dts/{rk3288-miniarm.dtsi => rk3288-tinker.dtsi} (100%)
delete mode 100644 board/rockchip/miniarm_rk3288/MAINTAINERS
rename board/rockchip/{miniarm_rk3288 => tinker_rk3288}/Kconfig (64%)
create mode 100644 board/rockchip/tinker_rk3288/MAINTAINERS
rename board/rockchip/{miniarm_rk3288 => tinker_rk3288}/Makefile (79%)
rename board/rockchip/{miniarm_rk3288/miniarm-rk3288.c =>
tinker_rk3288/tinker-rk3288.c} (100%)
rename configs/{miniarm-rk3288_defconfig => tinker-rk3288_defconfig} (95%)
rename include/configs/{miniarm_rk3288.h => tinker_rk3288.h} (59%)
Regards,
Simon
2
1

[U-Boot] [PATCH v2 2/2] test/py: Create tests for ext4 and fat testing on sandbox
by Stefan Brüns 11 Feb '17
by Stefan Brüns 11 Feb '17
11 Feb '17
From: Stefan Brüns <stefan.bruens(a)rwth-aachen.de>
The following checks are currently implemented:
1. listing a directory
2. verifying size of a file
3. veryfying md5sum for a file region
4. reading the beginning of a file
Signed-off-by: Stefan Brüns <stefan.bruens(a)rwth-aachen.de>
---
test/py/tests/test_fs.py | 357 +++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 357 insertions(+)
create mode 100644 test/py/tests/test_fs.py
diff --git a/test/py/tests/test_fs.py b/test/py/tests/test_fs.py
new file mode 100644
index 0000000000..7aaf8debaf
--- /dev/null
+++ b/test/py/tests/test_fs.py
@@ -0,0 +1,357 @@
+# Copyright (c) 2016, Stefan Bruens <stefan.bruens(a)rwth-aachen.de>
+#
+# SPDX-License-Identifier: GPL-2.0
+
+# Test U-Boot's filesystem implementations
+#
+# The tests are currently covering the ext4 and fat filesystem implementations.
+#
+# Following functionality is currently checked:
+# - Listing a directory and checking for a set of files
+# - Verifying the size of a file
+# - Reading sparse and non-sparse files
+# - File content verification using md5sums
+
+
+from distutils.spawn import find_executable
+import hashlib
+import pytest
+import os
+import random
+import re
+import u_boot_utils as util
+
+(a)pytest.fixture(scope='session')
+def prereq_commands():
+ """Detect required commands to run file system tests."""
+ for command in ['mkfs', 'mount', 'umount']:
+ if find_executable(command) is None:
+ pytest.skip('Filesystem tests, "{0}" not in PATH'.format(command))
+
+"""
+Scenarios:
+ hostfs: access image contents through the sandbox hostfs
+ facility, using the filesytem implementation of
+ the sandbox host, e.g. Linux kernel
+ generic: test u-boots native filesystem implementations,
+ using the 'generic' command names, e.g. 'load'
+ TODO -
+ fscommands: test u-boots native filesystem implementations,
+ using the fs specific commands, e.g. 'ext4load'
+"""
+(a)pytest.fixture(scope='class', params=['generic', 'hostfs'])
+def scenario(request):
+ request.cls.scenario = request.param
+ return request.param
+
+
+"""
+Dictionary of files to use during filesystem tests. The files
+are keyed by the filenames. The value is an array of strides, each tuple
+contains the the start offset (inclusive) and end offset (exclusive).
+"""
+files = {
+ 'empty.file' : [(0, 0)],
+ '1MB.file' : [(0, 1e6)],
+ '1MB.sparse.file' : [(1e6-1, 1e6)],
+ '32MB.sparse.file' : [(0, 1e6), (4e6, 5e6), (31e6, 32e6)],
+ # Creating a 2.5 GB file on FAT is exceptionally slow, disable it for now
+ # '2_5GB.sparse.file' : [(0, 1e6), (1e9, 1e9+1e6), (2.5e9-1e6, 2.5e9)],
+}
+
+"""Options to pass to mkfs."""
+mkfs_opts = {
+ 'fat' :'-t vfat',
+ 'ext4' : '-t ext4 -F',
+}
+
+class FsImage:
+ def __init__(self, fstype, imagepath, mountpath):
+ """Create a new filesystem image.
+
+ Args:
+ fstype: filesystem type (string)
+ imagepath: full path to image file
+ mountpath: mountpoint directory
+ """
+ self.fstype = fstype
+ self.imagepath = imagepath
+ self.mountpath = mountpath
+ self.md5s = {}
+ with open(self.imagepath, 'w') as fd:
+ fd.truncate(0)
+ fd.seek(3e9)
+ fd.write(bytes([0]))
+
+ def mkfs(self, log):
+ mkfsopts = mkfs_opts.get(self.fstype)
+ util.run_and_log(log,
+ 'mkfs {0} {1}'.format(mkfsopts, self.imagepath))
+
+ def create_file(self, log, filename, strides):
+ """Create a single file in the filesystem. Each file
+ is defined by one or more strides, which is filled with
+ random data. For each stride, the md5sum is calculated
+ and stored.
+ """
+ md5sums = []
+ with open(self.mountpath + '/' + filename, 'w') as fd:
+ for stride in strides:
+ length = int(stride[1] - stride[0])
+ data = bytearray(random.getrandbits(8) for _ in xrange(length))
+ md5 = hashlib.md5(data).hexdigest()
+ md5sums.append(md5)
+ log.info('{0}: write {1} bytes @ {2} : {3}'.format(
+ filename, int(stride[1] - stride[0]),
+ int(stride[0]), md5))
+ fd.seek(stride[0])
+ fd.write(data);
+ self.md5s[filename] = md5sums
+
+ def create_files(self, log):
+ with log.section('Create initial files'):
+ for filename in files:
+ self.create_file(log, filename, files[filename])
+ log.info('Created test files in "{0}"'.format(self.mountpath))
+ util.run_and_log(log, 'ls -la {0}'.format(self.mountpath))
+ util.run_and_log(log, 'sync {0}'.format(self.mountpath))
+
+ def mount(self, log):
+ if not os.path.exists(self.mountpath):
+ os.mkdir(self.mountpath)
+ log.info('Mounting {0} at {1}'.format(self.imagepath, self.mountpath))
+ if self.fstype == 'ext4':
+ cmd = 'sudo -n mount -o loop,rw {0} {1}'.format(self.imagepath, self.mountpath)
+ else:
+ cmd = 'sudo -n mount -o loop,rw,umask=000 {0} {1}'.format(self.imagepath, self.mountpath)
+ util.run_and_log(log, cmd)
+ if self.fstype == 'ext4':
+ cmd = 'sudo -n chmod og+rw {0}'.format(self.mountpath)
+ return util.run_and_log(log, cmd)
+
+ def unmount(self, log):
+ log.info('Unmounting {0}'.format(self.imagepath))
+ cmd = 'sudo -n umount -l {0}'.format(self.mountpath)
+ util.run_and_log(log, cmd, ignore_errors=True)
+
+
+(a)pytest.fixture(scope='module', params=['fat', 'ext4'])
+def fsimage(prereq_commands, u_boot_config, u_boot_log, request):
+ """Filesystem image instance."""
+ datadir = u_boot_config.result_dir + '/'
+ fstype = request.param
+ imagepath = datadir + '3GB.' + fstype + '.img'
+ mountpath = datadir + 'mnt_' + fstype
+
+ with u_boot_log.section('Create image "{0}"'.format(imagepath)):
+ fsimage = FsImage(fstype, imagepath, mountpath)
+ fsimage.mkfs(u_boot_log)
+
+ yield fsimage
+ fsimage.unmount(u_boot_log)
+
+(a)pytest.fixture(scope='module')
+def populated_image(fsimage, u_boot_log):
+ """Filesystem populated with files required for tests."""
+ try:
+ fsimage.mount(u_boot_log)
+ except Exception as e:
+ pytest.skip('{0}: could not mount "{1}"'.format(
+ fsimage.fstype, fsimage.imagepath))
+ yield None
+
+ fsimage.create_files(u_boot_log)
+ fsimage.unmount(u_boot_log)
+ yield fsimage
+
+(a)pytest.fixture(scope='function')
+def boundimage(populated_image, u_boot_console, request):
+ """Filesystem image instance which is accessible from inside
+ the running U-Boot instance."""
+ image = populated_image
+ request.cls.image = image
+ if request.cls.scenario == 'hostfs':
+ image.mount(u_boot_console.log)
+ image.rootpath = image.mountpath + '/'
+ yield image
+ image.unmount(u_boot_console.log)
+ else:
+ output = u_boot_console.run_command_list(
+ ['host bind 0 {0}'.format(image.imagepath)])
+ image.rootpath = '/'
+ yield image
+ output = u_boot_console.run_command_list(['host bind 0 '])
+
+
+def test_fs_prepare_image(u_boot_config, fsimage, request):
+ """Dummy test to create an image file with filesystem.
+ Useful to isolate fixture setup from actual tests."""
+ if not fsimage:
+ pytest.fail('Failed to create image')
+
+def test_fs_populate_image(populated_image, request):
+ """Dummy test to create initial filesystem contents."""
+ if not populated_image:
+ pytest.fail('Failed create initial image content')
+
+(a)pytest.mark.usefixtures('u_boot_console', 'scenario', 'boundimage')
+class TestFilesystems:
+ ignore_cleanup_errors = True
+ filesize_regex = re.compile('^filesize=([A-Fa-f0-9]+)')
+ md5sum_regex = re.compile('^md5 for .* ==> ([A-Fa-f0-9]{32})')
+ dirlist_regex = re.compile('\s+(\d+)\s+(\S+.file\S*)')
+
+ commands = {
+ 'fat' : {
+ 'listcmd' : 'ls',
+ 'readcmd' : 'load',
+ 'sizecmd' : 'size',
+ 'writecmd' : 'size',
+ },
+ 'ext4' : {
+ 'listcmd' : 'ls',
+ 'readcmd' : 'load',
+ 'sizecmd' : 'size',
+ 'writecmd' : 'size',
+ },
+ }
+
+ cmd_parameters = {
+ 'hostfs' : {
+ 'prefix' : 'host ',
+ 'interface' : 'hostfs -',
+ },
+ 'generic' : {
+ 'prefix' : '',
+ 'interface' : 'host 0:0',
+ },
+ }
+
+ def get_filesize(self, filename):
+ """Get the size of the given file."""
+ strides = files[filename]
+ return int(strides[-1][1])
+
+ def check_dirlist(self, string, filenames):
+ """Check if the output string returned by a list command
+ contains all given filenames."""
+ m = self.dirlist_regex.findall(string)
+ assert(m)
+ for i, e in enumerate(m):
+ m[i] = (int(e[0]), e[1].lower())
+ for f in filenames:
+ e = (self.get_filesize(f), f.lower())
+ assert(e in m)
+
+ def check_filesize(self, string, size):
+ """Check if the output string returned by a size command
+ matches the expected file size."""
+ m = self.filesize_regex.match(string)
+ assert(m)
+ assert(int(m.group(1), 16) == size)
+
+ def check_md5sum(self, string, md5):
+ """Check if the output string returned by the md5sum
+ command matches the expected md5."""
+ m = self.md5sum_regex.match(string)
+ assert(m)
+ assert(len(m.group(1)) == 32)
+ assert(m.group(1) == md5)
+
+ def run_listcmd(self, dirname):
+ """Run the scenario and filesystem specific list command
+ for the given directory name."""
+ cmd = '{0}{1} {2} {3}'.format(
+ self.fs_params.get('prefix'),
+ self.fs_commands.get('listcmd'),
+ self.fs_params.get('interface'),
+ self.image.rootpath + dirname)
+ with self.console.log.section('List "{0}"'.format(dirname)):
+ output = self.console.run_command_list([cmd])
+ return output[0]
+
+ def run_readcmd(self, filename, offset, length):
+ """Run the scenario and filesystem specific read command
+ for the given file."""
+ cmd = '{0}{1} {2} {3} {4} 0x{5:x} 0x{6:x}'.format(
+ self.fs_params.get('prefix'),
+ self.fs_commands.get('readcmd'),
+ self.fs_params.get('interface'),
+ '0', # address
+ self.image.rootpath + filename,
+ length, offset)
+ with self.console.log.section('Read file "{0}"'.format(filename)):
+ output = self.console.run_command_list(
+ [cmd, 'env print filesize',
+ 'md5sum 0 $filesize', 'env set filesize'])
+ return output[1:3]
+
+ def run_sizecmd(self, filename):
+ """Run the scenario and filesystem specific size command
+ for the given file."""
+ cmd = '{0}{1} {2} {3}'.format(
+ self.fs_params.get('prefix'),
+ self.fs_commands.get('sizecmd'),
+ self.fs_params.get('interface'),
+ self.image.rootpath + filename)
+ with self.console.log.section('Get size of "{0}"'.format(filename)):
+ output = self.console.run_command_list(
+ [cmd, 'env print filesize', 'env set filesize'])
+ return output[1]
+
+ def setup(self):
+ self.fs_params = self.cmd_parameters.get(self.scenario)
+ self.fs_commands = self.commands.get(self.image.fstype)
+
+ @pytest.mark.parametrize('dirname', ['', './'])
+ def test_fs_ls(self, u_boot_console, dirname):
+ """Check the contents of the given directory."""
+ if self.image.fstype == 'fat' and dirname == './':
+ pytest.skip("FAT has no '.' entry in the root directory")
+ self.console = u_boot_console
+ self.setup()
+
+ output = self.run_listcmd(dirname)
+ self.check_dirlist(output, files.keys())
+
+ @pytest.mark.parametrize('filename', files.keys())
+ def test_fs_filesize(self, u_boot_console, filename):
+ """Check the filesize of the given file."""
+ self.console = u_boot_console
+ self.setup()
+
+ filesize = self.get_filesize(filename)
+
+ output = self.run_sizecmd(filename)
+ self.check_filesize(output, filesize)
+
+ @pytest.mark.parametrize('filename', files.keys())
+ def test_fs_read(self, u_boot_console, filename):
+ """Read all defined strides of the given file and checks
+ its contents."""
+ self.console = u_boot_console
+ self.setup()
+
+ md5s = self.image.md5s[filename]
+
+ for i, stride in enumerate(files[filename]):
+ length = int(stride[1]) - int(stride[0])
+ offset = int(stride[0])
+ output = self.run_readcmd(filename, offset, length)
+ self.check_filesize(output[0], length)
+ self.console.log.info('md5: {0}'.format(md5s[i]))
+ self.check_md5sum(output[1], md5s[i])
+
+ @pytest.mark.parametrize('filename', files.keys())
+ def test_fs_read_head(self, u_boot_console, filename):
+ """Check reading the head of the given file, up to the first
+ 4 Megabyte (or less for smaller files). Also reads sparse
+ regions of a file."""
+ self.console = u_boot_console
+ self.setup()
+
+ filesize = self.get_filesize(filename)
+ filesize = min(filesize, int(4e6))
+
+ output = self.run_readcmd(filename, 0, filesize)
+ self.check_filesize(output[0], filesize)
--
2.11.0
4
5