summaryrefslogtreecommitdiff
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* arm: add initial support for Amlogic P212 based on Meson GXL familyNeil Armstrong2017-11-171-0/+22
| | | | | | | | | | | This adds platform code for the Amlogic P212 reference board based on a Meson GXL (S905X) SoC with the Meson GXL configuration. This initial submission only supports UART and MMC/SDCard, support for the internal Ethernet PHY in Work In Progress. Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> Reviewed-by: Beniamino Galvani <b.galvani@gmail.com>
* ARM: dts: Synchronize Amlogic from Linux Mainline 4.13.5Neil Armstrong2017-11-171-0/+131
| | | | | | | | | | Synchronize the Amlogic ARM64 dts from mainline Linux 4.13.5 In the preparation of the support of the Amlogic P212 board, import the corresponding meson-gxl-s905x-p212.dts file. Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> Reviewed-by: Beniamino Galvani <b.galvani@gmail.com>
* Merge git://www.denx.de/git/u-boot-marvellTom Rini2017-11-161-3/+1
|\
| * arm: mvebu: clearfog: Fix SPI-NOR flash accessJon Nettleton2017-11-161-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The production variant of the SPI flash used by the clearfog devices are based on winbond chips. Additionally enable SPI_FLASH_BAR since some variants will have 16MB of flash that requires this to be enabled. Remove the default speed and mode; these values are taken from the device tree when CONFIG_DM_SPI_FLASH is enabled. Add default bus, so that 'sf' detects the SPI flash by default. Signed-off-by: Jon Nettleton <jon@solid-run.com> [baruch: remove speed/mode; add bus; move winbond to defconfig] Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Stefan Roese <sr@denx.de>
* | armv8: ls2080ardb: Add sd_bootcmd for distro fallback in case of sdbootShengzhou Liu2017-11-151-7/+32
| | | | | | | | | | Signed-off-by: Shengzhou Liu <Shengzhou.Liu@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com>
* | armv7: ls1021atwr: Add sd_bootcmd for distro fallback in case of sdbootShengzhou Liu2017-11-151-4/+10
| | | | | | | | | | Signed-off-by: Shengzhou Liu <Shengzhou.Liu@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com>
* | armv8: ls1046ardb: Add sd_bootcmd for distro fallback in case of sdbootShengzhou Liu2017-11-152-4/+12
| | | | | | | | | | Signed-off-by: Shengzhou Liu <Shengzhou.Liu@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com>
* | armv8: ls1043ardb: Add sd_bootcmd for distro fallback in case of sdbootShengzhou Liu2017-11-151-4/+11
| | | | | | | | | | Signed-off-by: Shengzhou Liu <Shengzhou.Liu@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com>
* | armv8: ls1088ardb: Add distro boot supportAshish Kumar2017-11-151-26/+87
| | | | | | | | | | | | | | | | | | | | | | | | | | Distro boot support gives flexibility to run distro RFS like Ubuntu being deployed from SD card or SATA drive. If it fails to detect external storage, fall back to qspi/sd boot. Enable this by default in RDB's defconfig by selecting CONFIG_DISTRO_DEFAULTS Signed-off-by: Ashish Kumar <Ashish.Kumar@nxp.com> Signed-off-by: Zhang Ying <zhangying@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com>
* | armv8: ls1088aqds: Add SD boot support for ls1088qdsAshish Kumar2017-11-151-3/+29
| | | | | | | | | | | | | | Signed-off-by: Ashish Kumar <Ashish.Kumar@nxp.com> Signed-off-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com> Signed-off-by: Raghav Dogra <raghav.dogra@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com>
* | armv8: ls1088ardb: Add SD boot support for ls1088Ashish Kumar2017-11-152-2/+53
| | | | | | | | | | | | | | Signed-off-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com> Signed-off-by: Ashish Kumar <Ashish.Kumar@nxp.com> Signed-off-by: Raghav Dogra <raghav.dogra@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com>
* | armv8: ls1088: Enable SATA for ls1088Ashish Kumar2017-11-151-0/+13
| | | | | | | | | | | | Signed-off-by: Ashish Kumar <Ashish.Kumar@nxp.com> Signed-off-by: Amrita Kumari <amrita.kumari@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com>
* | armv8: ls1088a: Move CONFIG_SPI_FLASH_SPANSION to defconfigAshish Kumar2017-11-142-2/+0
|/ | | | | Signed-off-by: Ashish Kumar <Ashish.Kumar@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com>
* rockchip: configs: vyasa: Update falcon offsetsJagan Teki2017-11-101-4/+4
| | | | | | | | | | | | Update the falcon offsets for args to 16MB and kernel to 17MB Since the below commit updated U-Boot proper location along with rockchip boot image offsets "spl: set SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR to 0x4000 for rockchip" (sha1: 8f4d62b403db45dfa8b1cadb9da9096c79b7df47) Signed-off-by: Jagan Teki <jagan@amarulasolutions.com> Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
* Merge branch 'master' of git://git.denx.de/u-boot-sunxiTom Rini2017-11-091-1/+1
|\
| * sunxi: fix CONFIG_SUNXI_EMAC referencesArtturi Alm2017-11-091-1/+1
| | | | | | | | | | | | | | | | | | fixes CONFIG_SUNXI_EMAC references from drivers/net/Makefile and include/configs/sunxi-common.h likely forgotten in: commit abc3e4df59f5 ("sunxi: Convert SUNXI_EMAC to Kconfig") Signed-off-by: Artturi Alm <artturi.alm@gmail.com> Reviewed-by: Jagan Teki <jagan@openedev.com>
* | Merge branch 'master' of git://www.denx.de/git/u-boot-imxTom Rini2017-11-094-3/+409
|\ \
| * | imx:display5: Add support for LWN's DISPLAY5 boardLukasz Majewski2017-11-091-0/+408
| | | | | | | | | | | | | | | | | | This commit provides support for LWN's IMX6Q based DISPLAY5 board. Signed-off-by: Lukasz Majewski <lukma@denx.de>
| * | mmc: fsl_esdhc: Fix PIO timeoutBenoît Thébaudeau2017-11-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The following error has been observed on i.MX25 with a high-speed SDSC card: Data Write Failed in PIO Mode. It was caused by the timeout set on PRSSTAT.BWEN, which was triggered because this bit takes 15 ms to be set after writing the first block to DATPORT with this card. Without this timeout, all the blocks are properly written. This timeout was implemented by decrementing a variable, so it was depending on the CPU frequency. Fix this issue by setting this timeout to a long enough absolute duration (500 ms). Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau.dev@gmail.com> Cc: Stefano Babic <sbabic@denx.de> Cc: Fabio Estevam <fabio.estevam@nxp.com> Cc: Jaehoon Chung <jh80.chung@samsung.com> Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com> Reviewed-by: Jagan Teki <jagan@openedev.com>
| * | mx25: Move MX25 selection to KconfigFabio Estevam2017-11-072-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The motivation for moving MX25 selection to Kconfig is to be able to better handle MX25 specific errata, so that an errata option can be selected at SoC level instead of board level. This selection method also aligns with the way other i.MX SoCs are selected in U-Boot. Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com> Acked-by: Sebastien Bourdelin <sebastien.bourdelin@savoirfairelinux.com> Reviewed-by: Benoît Thébaudeau <benoit.thebaudeau.dev@gmail.com>
* | | rockchip: board: puma_rk3399: make env location selectable via KconfigKlaus Goger2017-11-071-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | The environment storage location is selectable via Kconfig. We support eMMC, SD and SPI-NOR as location for U-Boot. This adds support to store the environment in the SPI-NOR additional to the default eMMC location. Signed-off-by: Klaus Goger <klaus.goger@theobroma-systems.com> Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
* | | rockchip: config: use common CONFIG_ENV_SIZE for all SoCsKever Yang2017-11-0711-12/+1
| | | | | | | | | | | | | | | | | | | | | | | | All Rockchip SoCs use 32KB as CONFIG_ENV_SIZE. Signed-off-by: Kever Yang <kever.yang@rock-chips.com> Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
* | | rockchip: config: sync the ENV offset from rockchip legacy U-BootKever Yang2017-11-071-12/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | Using the ENV offset from rockchip legacy U-Boot for all SoCs, the offset is 4MB-32KB Signed-off-by: Kever Yang <kever.yang@rock-chips.com> Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
* | | rockchip: rock: remove CONFIG_ENV_OFFSETKever Yang2017-11-071-14/+0
|/ / | | | | | | | | | | | | | | We use the same default ENV setting in rockchip_common.h for all SoC. Signed-off-by: Kever Yang <kever.yang@rock-chips.com> Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
* | Do not attempt to use the systemwide libfdtJan Kundrát2017-11-062-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | U-Boot bundles a patched copy of libfdt, so it's wrong to attempt to include it <like/this>. This breaks the build for me when I have dtc fully installed in my host -- as happened earlier tonight with Buildroot, for example. There are several other occurrences throughout the code where '<libfdt' matches. I'm not modifying these because I have no clue why the <systemwide> include style is being used -- IMHO wrongly. Signed-off-by: Jan Kundrát <jan.kundrat@cesnet.cz>
* | spear: fix STMicroelectronics copyrightPatrice Chotard2017-11-061-2/+2
| | | | | | | | | | | | | | Uniformize STMicroelectronics copyrights headers for SPEAR related code. Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
* | stv0991: fix STMicroelectronics copyrightPatrice Chotard2017-11-061-2/+2
| | | | | | | | | | | | | | Uniformize STMicroelectronics copyrights headers for STV0991 related code. Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
* | stm32: fix STMicroelectronics copyrightPatrice Chotard2017-11-063-6/+6
| | | | | | | | | | | | | | Uniformize STMicroelectronics copyrights headers for STM32 related code. Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
* | sti: fix STMicroelectronics copyrightPatrice Chotard2017-11-062-4/+4
|/ | | | | | | Uniformize all STMicroelectronics copyrights headers for STi related code. Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
* Kconfig: Migrate MTDIDS_DEFAULT / MTDPARTS_DEFAULTTom Rini2017-11-05115-957/+96
| | | | | | | | | | We move all instances of CONFIG_MTDIDS_DEFAULT and CONFIG_MTDPARTS_DEFAULT from the header files to the defconfig files. There's a few cases here where we need to expand upon what was in the header file. Tested-by: Adam Ford <aford173@gmail.com> #omap3_logic Signed-off-by: Tom Rini <trini@konsulko.com>
* rockchip: evb-rk3328: remove CONFIG_ENV_OFFSETKever Yang2017-11-011-6/+0
| | | | | | | | Remove CONFIG_ENV_OFFSET for there already have one in rockchip_common.h Signed-off-by: Kever Yang <kever.yang@rock-chips.com> Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
* rockchip: configs: only add available BOOT_TARGET_DEVICESKlaus Goger2017-11-011-13/+30
| | | | | | | | | BOOT_TARGET_DEVICES should only be added if the corresponding u-boot command is enabled. Signed-off-by: Klaus Goger <klaus.goger@theobroma-systems.com> Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
* rockchip: configs: use rockchip-common.h for rk3368Klaus Goger2017-11-011-4/+2
| | | | | | | | | | | | rockchip-common.h already defines values that are missing from rk3368_common.h For example BOOT_TARGET_DEVICES was defined empty and therefore distroboot had no boot targets. Signed-off-by: Klaus Goger <klaus.goger@theobroma-systems.com> Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
* ARM: imx6: Enable UMS and DFU on DHCOM i.MX6 PDKMarek Vasut2017-10-311-0/+12
| | | | | | | | Enable UMS and DFU, so that the eMMC can be accessed via the USB gadget port on the board. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Stefano Babic <sbabic@denx.de>
* wandboard: Add support for the MX6QP variantFabio Estevam2017-10-311-0/+2
| | | | | | | | Add support for the latest MX6QP wandboard variant. Based on Richard Hu's work from Technexion's U-Boot tree. Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
* configs: vf610: increase maximum size and enforce correct limitStefan Agner2017-10-313-6/+6
| | | | | | | | | | | | | | | On Vybrid SoCs U-Boot gets loaded into GFX SRAM which is 512KiB. Currently 32KiB is reserved for the IMX header. However, this is not reflected in the size limit. In v2017.11-rc2 the actual size limit (512KiB-32KiB) has been reached for Colibri VF61, which lead to a successful build of U-Boot but not a working binary. The IMX header is much smaller than 32KiB, typically around 1KiB. Decrease the reserved size to 4KiB and specify the correct U-Boot size limit. Apply this new base address and limit for all Vybrid based boards. Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
* imx: Fix regression with CONFIG_DM_MMC=yFabio Estevam2017-10-301-0/+1
| | | | | | | | | | | | | | | | When CONFIG_DM_MMC=y, CONFIG_BLK should be selected, otherwise the SD/eMMC card cannot be used. Also, select CONFIG_DM_USB=y when CONFIG_USB=y to avoid build failure. Tested on mx6slevk, mx7dsabresd and mx6ullevk. Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com> Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com> Tested-by: Adam Ford <aford173@gmail.com> Tested-by: Sébastien Szymanski <sebastien.szymanski@armadeus.com> Tested-by: Jagan Teki <jagan@openedev.com> Reviewed-by: Jagan Teki <jagan@openedev.com>
* Merge git://git.denx.de/u-boot-videoTom Rini2017-10-292-7/+22
|\
| * dm: video: bridge: add operation to read EDIDVasily Khoruzhick2017-10-261-0/+20
| | | | | | | | | | | | | | Add an operation to read EDID, since bridge may have ability to read EDID from the panel that is connected to it, for example LCD<->eDP bridge. Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
| * video: add an option for video simplefb via DTIcenowy Zheng2017-10-261-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | Add an option to indicate that the video driver should setup a SimpleFB node that passes the video framebuffer initialized by U-Boot to the operating system kernel. Currently only the Allwinner DE driver uses this option, and the definition of this option in the sunxi-common.h config header is converted to an imply of this option from CONFIG_VIDEO_SUNXI. Signed-off-by: Icenowy Zheng <icenowy@aosc.io> Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
| * sunxi: change the DE1 video option to CONFIG_VIDEO_SUNXIIcenowy Zheng2017-10-261-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The sunxi DE1 video option used to be CONFIG_VIDEO, which has the same name as the "Enable legacy video support" option in drivers/video/Kconfig. Change the option name to CONFIG_VIDEO_SUNXI, which is really used by Makefile under drivers/video/sunxi/, and defined in sunxi-common.h when CONFIG_VIDEO is selected before this change. Now CONFIG_VIDEO_SUNXI selects CONFIG_VIDEO and the usages of CONFIG_VIDEO in sunxi Kconfig and config headers are all converted to use CONFIG_VIDEO_SUNXI. Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
* | Merge git://git.denx.de/u-boot-fsl-qoriqTom Rini2017-10-2716-101/+2
|\ \
| * | armv8: ls1088ardb: Enable USB command RDB qspi-bootRan Wang2017-10-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Ashish Kumar <Ashish.Kumar@nxp.com> Signed-off-by: Amrita Kumari <amrita.kumari@nxp.com> Signed-off-by: Ran Wang <ran.wang_1@nxp.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: York Sun <york.sun@nxp.com>
| * | arm: layerscape: Remove CONFIG_USB_MAX_CONTROLLER_COUNTRan Wang2017-10-2712-47/+0
| | | | | | | | | | | | | | | | | | | | | | | | Because COMFIG_DM_USB has been enabled and will not use it anymore. Signed-off-by: Ran Wang <ran.wang_1@nxp.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: York Sun <york.sun@nxp.com>
| * | usb: host: Move CONFIG_XHCI_FSL to KconfigRan Wang2017-10-2712-12/+0
| | | | | | | | | | | | | | | | | | | | | | | | use Kconfig to select xhci accordingly. Signed-off-by: Ran Wang <ran.wang_1@nxp.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: York Sun <york.sun@nxp.com>
| * | arm64: layerscape: Move CONFIG_HAS_FSL_XHCI_USB to KconfigRan Wang2017-10-2712-38/+0
| | | | | | | | | | | | | | | | | | | | | | | | Use Kconfig to select QE-HDLC and USB pin-mux. Signed-off-by: Ran Wang <ran.wang_1@nxp.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: York Sun <york.sun@nxp.com>
| * | armv8: configs: ls1012a: correct the generic timer frequencyYuantian Tang2017-10-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | On ls1012a soc, core clock source frequency is fixed at 100Mhz. Generic timer frequency is core clock source divided by 4, which is 25Mhz. Signed-off-by: Tang Yuantian <andy.tang@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com>
| * | armv8: ls1088: Move CONFIG_ENV_IS_IN_SPI_FLASH to defconfigAshish Kumar2017-10-272-2/+0
| | | | | | | | | | | | | | | Signed-off-by: Ashish Kumar <Ashish.Kumar@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com>
* | | AT91: remove CONFIG_PMECC_INDEX_TABLE_OFFSETMasahiro Yamada2017-10-271-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | This macro is defined, but not referenced by anyone. I did not touch config_whitelist.txt - the CONFIG will be dropped by the next re-sync. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
* | | exynos: remove CONFIG_LCD_MENU_BOARDMasahiro Yamada2017-10-273-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This macro is defined, but not referenced by anyone. I did not touch config_whitelist.txt - the CONFIG will be dropped by the next re-sync. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Acked-by: Minkyu Kang <mk7.kang@samsung.com>