summaryrefslogtreecommitdiff
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* | | net: remove CONFIG_NET_MULTIMasahiro Yamada2017-10-2712-14/+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> Reviewed-by: York Sun <york.sun@nxp.com>
* | | mpc85xx: xpedite550x: remove CONFIG_FDT_FIXUP_PCI_IRQMasahiro 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>
* | | AM33XX: etamin: remove CONFIG_DFU_MTDMasahiro 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>
* | | MX28: remove CONFIG_DEFAULT_SPI_CSMasahiro Yamada2017-10-272-2/+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_CORE_COUNTMasahiro Yamada2017-10-272-8/+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>
* | | SOCFPGA: remove CONFIG_AUTONEG_TIMEOUTMasahiro 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>
* | | ARC: remove CONFIG_ARC_UART_BASEMasahiro 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>
* | | sh7734: remove CONFIG_553MHZ_MODEMasahiro Yamada2017-10-272-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This macro only appears in commented-out lines. It is 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>
* | | mpc85xx: freescale: remove CONFIG_ADDR_STREAMINGMasahiro Yamada2017-10-272-2/+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> Reviewed-by: York Sun <york.sun@nxp.com>
* | | omap4: sdp4430: remove CONFIG_4430SDPMasahiro 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>
* | | IMX: novena: remove CONFIG_I2C_MXCMasahiro 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> Acked-by: Heiko Schocher<hs@denx.de>
* | chiliboard config: use CONFIG_DEFAULT_FDT_FILE as env variableMichal Oleszczyk2017-10-231-1/+1
| | | | | | | | | | | | | | Remove hardcoded ftd file name from environment variables. Use CONFIG_DEFAULT_FDT_FILE macro instead. Signed-off-by: Michal Oleszczyk <m.oleszczyk@grinn-global.com>
* | mtd: remove MTDDEBUG() and CONFIG_MTD_DEBUGMasahiro Yamada2017-10-232-28/+0
|/ | | | | | | | | | | | All users of this macro have been converted. Remove MTDDEBUG and related CONFIG options. ubifs_dbg_msg_key() is kept. It is silent unless DEBUG is defined. I am not touching scripts/config_whitelist.txt. The deprecated options will be dropped by the next resync. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
* ARM: uniphier: remove verify=n from environmentsMasahiro Yamada2017-10-231-1/+0
| | | | | | | If the environment "verify" is set to n, the image verification is entirely skipped. Remove it as a preparation for verified boot. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
* ARM: uniphier: increase CONFIG_SYS_BOOTM_LEN to 32MBMasahiro Yamada2017-10-231-0/+1
| | | | | | | | | | The default value of CONFIG_SYS_BOOTM_LEN, 0x800000, causes error when uncompressing Image.gz out of FIT image. Uncompressing Kernel Image ... Error: inflate() returned -5 Image too large: increase CONFIG_SYS_BOOTM_LEN Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
* net: Add SMC911X driver to Kconfig, convertAdam Ford2017-10-2027-163/+1
| | | | | | | | | | | | | We add the various SMC91XX symbols to drivers/net/Kconfig and then this converts the following to Kconfig: CONFIG_SMC911X CONFIG_SMC911X_BASE CONFIG_SMC911X_16_BIT CONFIG_SMC911X_32_BIT Signed-off-by: Adam Ford <aford173@gmail.com> [trini: Apply to the rest of the tree, re-squash old and new patch] Signed-off-by: Tom Rini <trini@konsulko.com>
* Convert CONFIG_NAND_OMAP_GPMC et al and CONFIG_NAND_MXC to KconfigAdam Ford2017-10-2047-111/+0
| | | | | | | | | | | | | | | | | This converts the following to Kconfig: CONFIG_NAND_MXC CONFIG_NAND_OMAP_GPMC CONFIG_NAND_OMAP_GPMC_PREFETCH CONFIG_NAND_OMAP_ELM CONFIG_SPL_NAND_AM33XX_BCH CONFIG_SPL_NAND_SIMPLE CONFIG_SYS_NAND_BUSWIDTH_16BIT Signed-off-by: Adam Ford <aford173@gmail.com> Reviewed-by: Heiko Schocher <hs@denx.de> [trini: Finish migration of CONFIG_SPL_NAND_SIMPLE, fix some build issues, add CONFIG_NAND_MXC so we can do CONFIG_SYS_NAND_BUSWIDTH_16BIT] Signed-off-by: Tom Rini <trini@konsulko.com>
* arm: dra7xx: Add vendor partition to Android GPT table for eMMCVishal Mahaveer2017-10-161-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | Add vendor partition to Android GPT table for eMMC. A Vendor image contains SoC-specific code and configuration. Prior to Android 8.0, the vendor partition was optional ; files belonging to these images were placed in boot.img or system.img with symlinks (such as /vendor >/system/vendor ) when absent. Android 8.0 makes the vendor partition mandatory The goal is to modularize Android partitions with standard interface between the Android Platform (on system.img ) and vendor-provided code(on vendor.img). This standard interface enables the Android Platform to be updated without affecting the SoC partitions. This makes it possible to upgrade a device system.img from Android 8.0 to Android P while other images (such as vendor.img) remain at Android 8.0. This modularity enables timely Android platform upgrades (such as monthly security updates ) without requiring SoC/ODM partners to update SoC- and device-specific code. Signed-off-by: Vishal Mahaveer <vishalm@ti.com> Signed-off-by: Praneeth Bajjuri <praneeth@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com>
* arm: am57xx: Add vendor partition to Android GPT table for eMMCPraneeth Bajjuri2017-10-161-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Add vendor partition to Android GPT table for eMMC. A Vendor image contains SoC-specific code and configuration. Prior to Android 8.0, the vendor partition was optional ; files belonging to these images were placed in boot.img or system.img with symlinks (such as /vendor >/system/vendor ) when absent. Android 8.0 makes the vendor partition mandatory The goal is to modularize Android partitions with standard interface between the Android Platform (on system.img ) and vendor-provided code(on vendor.img). This standard interface enables the Android Platform to be updated without affecting the SoC partitions. This makes it possible to upgrade a device system.img from Android 8.0 to Android P while other images (such as vendor.img) remain at Android 8.0. This modularity enables timely Android platform upgrades (such as monthly security updates ) without requiring SoC/ODM partners to update SoC- and device-specific code. Signed-off-by: Praneeth Bajjuri <praneeth@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com>
* common: Remove genimg_get_image()Tuomas Tynkkynen2017-10-161-1/+0
| | | | | | | Removal of the legacy DataFlash code turned genimg_get_image() into a no-op. Drop all calls to it and the function itself. Signed-off-by: Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi>
* Drop CONFIG_HAS_DATAFLASHTuomas Tynkkynen2017-10-161-205/+0
| | | | | | | | Last user of this option went away in commit: fdc7718999 ("board: usb_a9263: Update to support DT and DM") Signed-off-by: Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi>
* env: Drop CONFIG_ENV_IS_IN_DATAFLASHTuomas Tynkkynen2017-10-161-1/+0
| | | | | | | | Last user of this option went away in commit: fdc7718999 ("board: usb_a9263: Update to support DT and DM") Signed-off-by: Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi>
* ARM: tegra: Remove unused define CONFIG_ARMCORTEXA9Tuomas Tynkkynen2017-10-161-1/+0
| | | | | | | This macro isn't used by anything, and in fact hasn't ever been used according to the Git logs. Signed-off-by: Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi>
* linux/time.h: Remove dead codeMarek Behún2017-10-161-5/+0
| | | | | | | | | | | Since rem = ((long) *tim_p) % SECSPERDAY; the second while cycle while (rem >= SECSPERDAY) is dead. Reported-by: Coverity (CID: 167334) Signed-off-by: Marek Behun <marek.behun@nic.cz>
* common: Add a prototype for s_init()Diego Dorta2017-10-161-0/+2
| | | | | | | | | | When compiling with W=1 the following warning is observed: arch/arm/mach-imx/mx6/soc.c:590:6: warning: no previous prototype for ‘s_init’ [-Wmissing-prototypes] void s_init(void) Remove this warning by adding the function prototype into include/common.h file. Signed-off-by: Diego Dorta <diego.dorta@nxp.com>
* fdt: update bcm283x device tree sources to Linux 4.14 stateAlexander Graf2017-10-162-0/+7
| | | | | | | | | | | | Upstream Linux has received a few device tree updates to the RPi which we should propagate into the builtin U-Boot one as well to gain hardware support. This patch bumps the dts files to their 4.14 Linux counterparts with the exception of sdhost on 32bit RPi versions. There we stay with iproc as the sdhost driver is missing in U-Boot. Signed-off-by: Alexander Graf <agraf@suse.de>
* Merge tag 'signed-efi-next' of git://github.com/agraf/u-bootTom Rini2017-10-134-36/+104
|\ | | | | | | | | | | | | | | | | | | | | Patch queue for efi - 2017-10-13 This is the second batch of amazing improvements for efi_loader in 2017.11: - New self tests to verify our own code - A few bug fixes - colored text support - event and SNP improvements, should get us close to iPXE working
| * efi_loader: console support for color attributesRob Clark2017-10-121-0/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Shell.efi uses this, and supporting color attributes makes things look nicer. Map the EFI fg/bg color attributes to ANSI escape sequences. Not all colors have a perfect match, but spec just says "Devices supporting a different number of text colors are required to emulate the above colors to the best of the device’s capabilities". Signed-off-by: Rob Clark <robdclark@gmail.com> Tested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Alexander Graf <agraf@suse.de> [agraf: s/unsigned/unsigned int/] Signed-off-by: Alexander Graf <agraf@suse.de>
| * efi_loader: Add mem-mapped for fallbackRob Clark2017-10-122-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | When we don't have a real device/image path, such as 'bootefi hello', construct a mem-mapped device-path. This fixes 'bootefi hello' after devicepath refactoring. Fixes: 95c5553ea2 ("efi_loader: refactor boot device and loaded_image handling") Signed-off-by: Rob Clark <robdclark@gmail.com> Acked-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: Alexander Graf <agraf@suse.de>
| * efi_loader: MAX_UTF8_PER_UTF16 = 3Heinrich Schuchardt2017-10-101-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The constant MAX_UTF8_PER_UTF16 is used to calculate required memory when converting from UTF-16 to UTF-8. If this constant is too big we waste memory. A code point encoded by one UTF-16 symbol is converted to a maximum of three UTF-8 symbols, e.g. 0xffff could be encoded as 0xef 0xbf 0xbf. The first byte carries four bits, the second and third byte carry six bits each. A code point encoded by two UTF-16 symbols is converted to four UTF-8 symbols. So in this case we need a maximum of two UTF-8 symbols per UTF-16 symbol. As the overall maximum is three UTF-8 symobls per UTF-16 symbol we need MAX_UTF8_PER_UTF16 = 3. Fixes: 78178bb0c9d lib: add some utf16 handling helpers Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: Alexander Graf <agraf@suse.de>
| * efi_loader: supply EFI network testHeinrich Schuchardt2017-10-091-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch provides an EFI application to check the correct function of the Simple Network Protocol implementation. It sends a DHCP request and analyzes the DHCP offer. Different error conditions including a 10s timeout are checked. A successful execution will look like this: => bootefi nettest Scanning disk ide.blk#0... Found 1 disks WARNING: Invalid device tree, expect boot to fail Network test DHCP Discover DHCP reply received from 192.168.76.2 (52:55:c0:a8:4c:02) as broadcast message. OK. The test was completed successfully. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Alexander Graf <agraf@suse.de>
| * efi_selftest: correct definition of efi_st_errorHeinrich Schuchardt2017-10-091-2/+2
| | | | | | | | | | | | | | | | | | Enclose definition in parantheses to allow using efi_st_error like a void function. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Alexander Graf <agraf@suse.de>
| * efi_loader: size fields in SimpleNetworkProtocolHeinrich Schuchardt2017-10-091-2/+2
| | | | | | | | | | | | | | | | | | | | | | The size fields in the Simple Network Protocol are all UINTN in the UEFI spec. So use size_t. Provide a function description of the receive function. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Alexander Graf <agraf@suse.de>
| * efi_loader: fix efi_net_get_statusHeinrich Schuchardt2017-10-091-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The returned interrupt status was wrong. As out transmit buffer is empty we need to always set EFI_SIMPLE_NETWORK_TRANSMIT_INTERRUPT. When we have received a packet we need to set EFI_SIMPLE_NETWORK_RECEIVE_INTERRUPT. Furthermore we should call efi_timer_check() to handle events. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Alexander Graf <agraf@suse.de>
| * efi_loader: fill simple network protocol revisionHeinrich Schuchardt2017-10-091-0/+3
| | | | | | | | | | | | | | | | | | | | Provide the simple network protocol revision. This revision number could be used to identify backwards compatible enhancements of the protocol. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Alexander Graf <agraf@suse.de>
| * efi_loader: correct bits of receive_filters bit maskHeinrich Schuchardt2017-10-091-5/+6
| | | | | | | | | | | | | | | | | | Remove extraneous commas. Add comment. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Alexander Graf <agraf@suse.de>
| * efi_loader: incorrect definition of EFI_SIMPLE_NETWORK_PROTOCOLHeinrich Schuchardt2017-10-091-1/+1
| | | | | | | | | | | | | | | | WaitForPacket is an event and not a function pointer. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Alexander Graf <agraf@suse.de>