summaryrefslogtreecommitdiff
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* bootcount: Migrate CONFIG_SYS_BOOTCOUNT_ADDRTom Rini2018-02-2512-30/+0
| | | | | | | | | | | | | | Migrate the users of CONFIG_SYS_BOOTCOUNT_ADDR to Kconfig. We can provide a default for BOOTCOUNT_AM33XX as that's a specific part of the RTC in use. We can also provide a default for ARCH_LS1043A and ARCH_LS1021A as they had been previously calculated and their symbols are in Kconfig. In the case of other QE-enabled platforms, they are not so we must update the relevant defconfig files. The previous default only applied in some cases, even on a specific SoC family. Reviewed-by: Lukasz Majewski <lukma@denx.de> Reviewed-by: Alex Kiernan <alex.kiernan@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com>
* Migrate CONFIG_BOOTCOUNT_ALEN to KconfigAlex Kiernan2018-02-241-1/+0
| | | | | Convert CONFIG_BOOTCOUNT_ALEN to Kconfig Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
* Convert CONFIG_BOOTCOUNT_EXT to KconfigAlex Kiernan2018-02-241-4/+0
| | | | | | | This converts the following to Kconfig: CONFIG_BOOTCOUNT_EXT Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
* Convert CONFIG_BOOTCOUNT_I2C to KconfigAlex Kiernan2018-02-241-1/+0
| | | | | | | | This converts the following to Kconfig: CONFIG_BOOTCOUNT_I2C Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Reviewed-by: Lukasz Majewski <lukma@denx.de>
* Convert CONFIG_BOOTCOUNT_RAM to KconfigAlex Kiernan2018-02-242-3/+0
| | | | | | | | This converts the following to Kconfig: CONFIG_BOOTCOUNT_RAM Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Reviewed-by: Lukasz Majewski <lukma@denx.de>
* Convert CONFIG_BOOTCOUNT_ENV to KconfigAlex Kiernan2018-02-241-2/+0
| | | | | | | | This converts the following to Kconfig: CONFIG_BOOTCOUNT_ENV Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Reviewed-by: Lukasz Majewski <lukma@denx.de>
* Convert CONFIG_BOOTCOUNT_AM33XX to KconfigAlex Kiernan2018-02-246-7/+0
| | | | | | | | | | This converts the following to Kconfig: CONFIG_BOOTCOUNT_AM33XX Reviewed-by: Lukasz Majewski <lukma@denx.de> Reviewed-by: Hannes Schmelzer <hannes.schmelzer@br-automation.com> Acked-by: Hannes Schmelzer <hannes.schmelzer@br-automation.com> Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
* Merge git://git.denx.de/u-boot-videoTom Rini2018-02-241-0/+16
|\
| * core: add ofnode_get_by_phandle() apiKever Yang2018-02-231-0/+8
| | | | | | | | | | | | | | | | | | | | | | We need to get ofnode from a phandle, add interface to support both live dt and fdt. Signed-off-by: Kever Yang <kever.yang@rock-chips.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Tested-by: Klaus Goger <klaus.goger@theobroma-systems.com> Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
| * core: ofnode: add ofnode_get_parent functionPhilipp Tomsich2018-02-231-0/+8
| | | | | | | | | | | | | | | | | | | | The Rockchip video drivers need to walk the ofnode-parrents to find an enclosing device that has a UCLASS_DISPLAY driver bound. This adds a ofnode_get_parent()-function that returns the parent-node. Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Tested-by: Klaus Goger <klaus.goger@theobroma-systems.com> Reviewed-by: Anatolij Gustschin <agust@denx.de>
* | Remove config_distro_defaults.hAdam Ford2018-02-2349-93/+0
| | | | | | | | | | | | | | With the contents of config_distro_defaults.h migrated to Kconfig, we can remove this header file completely Signed-off-by: Adam Ford <aford173@gmail.com>
* | Convert CONFIG_BOOTP_BOOTPATH et al to KconfigAdam Ford2018-02-23302-1189/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This converts the following to Kconfig: CONFIG_BOOTP_BOOTPATH CONFIG_BOOTP_DNS CONFIG_BOOTP_GATEWAY CONFIG_BOOTP_HOSTNAME CONFIG_BOOTP_PXE CONFIG_BOOTP_SUBNETMASK CONFIG_CMDLINE_EDITING CONFIG_AUTO_COMPLETE CONFIG_SYS_LONGHELP CONFIG_SUPPORT_RAW_INITRD CONFIG_ENV_VARS_UBOOT_CONFIG Signed-off-by: Adam Ford <aford173@gmail.com> [trini: Re-run the migration] Signed-off-by: Tom Rini <trini@konsulko.com>
* | Merge git://git.denx.de/u-boot-usbTom Rini2018-02-231-1/+1
|\ \
| * | dfu: Rename _FUNCTION_DFU to DFU_OVER_Marek Vasut2018-02-211-1/+1
| |/ | | | | | | | | | | | | | | | | | | Do the following to make the symbol names less confusing. sed -i "s/\([TU][^_]\+\)_FUNCTION_DFU/DFU_OVER_\1/g" \ `git grep _FUNCTION_DFU | cut -d ":" -f 1 | sort -u` Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Lukasz Majewski <lukma@denx.de>
* | net: Remove Xilinx ll_temac driverMichal Simek2018-02-231-11/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | ll_temac driver was used by Xilinx Microblaze big endian and Xilinx ppc405/ppc440 SoCs. ppc support was removed by: "powerpc: remove 4xx support" (sha1: 98f705c9cefdfdba62c069821bbba10273a0a8ed) and Microblaze BE is not tested for a long time that's why this driver can be removed because none is going to updated it to DM anyway. Signed-off-by: Michal Simek <michal.simek@xilinx.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
* | xtensa: clean up CONFIG_SYS_TEXT_ADDRMax Filippov2018-02-231-3/+2
| | | | | | | | | | | | | | Drop CONFIG_SYS_MEMORY_TOP. Rename CONFIG_SYS_TEXT_ADDR to XTENSA_SYS_TEXT_ADDR. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
* | configs: Re-sync with CONFIG_DISTRO_DEFAULTSTom Rini2018-02-234-7/+0
|/ | | | | | | | A number of platforms include config_distro_defaults.h but do not enable CONFIG_DISTRO_DEFAULTS. As they plainly intended to, set that flag and re-sync config files. Signed-off-by: Tom Rini <trini@konsulko.com>
* Merge git://git.denx.de/u-boot-mmcTom Rini2018-02-193-4/+1
|\
| * mmc: fix bug in mmc_startup_v4()Jean-Jacques Hiblot2018-02-191-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The correspondence between mmc versions as used in u-boot and the version numbers reported in register EXT_CSD_REV is wrong for versions above and including MMC_VERSION_4_41. All those versions were shifted by one: real 4.5 hardware appeared to be MMC_VERSION_5_0. Fix this by adding the missing version in the correspondence table. Reported-by: eil Eilmsteiner Heribert <eil@keba.com> Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Sam Protsenko <semen.protsenko@linaro.org>
| * ARM: OMAP5/DRA7: Enable iodelay recalibration to be done from ubootKishon Vijay Abraham I2018-02-192-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | Add a new API to perform iodelay recalibration without isolate io to be used in uboot. The data manual of J6/J6 Eco recommends to set different IODELAY values depending on the mode in which the MMC/SD is enumerated in order to ensure IO timings are met. The MMC driver can use the new API to set the IO delay values depending on the MMC mode. Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com> Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
* | Merge git://git.denx.de/u-boot-dmTom Rini2018-02-191-1/+1
|\ \ | |/ |/|
| * sandbox: Add 64-bit sandboxMario Six2018-02-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | To debug device tree issues involving 32- and 64-bit platforms, it is useful to have a generic 64-bit platform available. Add a version of the sandbox that uses 64-bit integers for its physical addresses as well as a modified device tree. Signed-off-by: Mario Six <mario.six@gdsys.cc> Added CONFIG_SYS_TEXT_BASE to configs/sandbox64_defconfig Signed-off-by: Simon Glass <sjg@chromium.org>
* | ARM: rmobile: Replace SH I2C with IIC on PorterMarek Vasut2018-02-171-14/+0
| | | | | | | | | | | | | | | | | | | | Get rid of the SH I2C driver on Porter and enable the IIC driver instead . The old SH I2C is completely broken on Porter anyway and the DM/DT capable IIC driver allows access to the PMIC too. Use the DM/DT capable driver instead. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
* | ARM: rmobile: Set FDT/initramfs limits on PorterMarek Vasut2018-02-171-0/+4
| | | | | | | | | | | | | | Set those limits to inform U-Boot about FDT and initramfs placement. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
* | Merge git://git.denx.de/u-boot-shTom Rini2018-02-163-7/+11
|\ \
| * | ARM: rmobile: Enable autocompletion on Gen2Marek Vasut2018-02-161-1/+1
| | | | | | | | | | | | | | | | | | | | | This makes the shell so much more pleasant to use, so enable it. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
| * | ARM: rmobile: Convert Porter to SPLMarek Vasut2018-02-161-6/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Due to size limitations of the MERAM, switch U-Boot to SPL. The SPL is loaded by the SPI_LOADER into MERAM and then loads U-Boot proper into DRAM. This way U-Boot can freely grow in size in DRAM, as there is plenty of it. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> --- NOTE: To update U-Boot, first install u-boot.img to 0x140000 in SPI NOR, then use the Minimon to flash u-boot-spl.srec using ls,2,e6304000. To generate u-boot-spl.srec, use objcopy: arm-linux-gnueabi-objcopy -O srec spl/u-boot-spl u-boot-spl.srec
| * | ARM: rmobile: Enable autocompletion on Gen3Marek Vasut2018-02-161-0/+1
| |/ | | | | | | | | | | | | This makes the shell so much more pleasant to use, so enable it. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
* | Merge git://git.denx.de/u-boot-socfpgaTom Rini2018-02-1612-24/+0
|\ \
| * | Convert socfpga: select CONFIG_HW_WATCHDOG support for ARCH_SOCFPGALukasz Majewski2018-02-1512-24/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | All Socfpga boards from ./include/configs/socfpga_* define CONFIG_HW_WATCHDOG. To ease CONFIG_HW_WATCHDOG conversion to Kconfig select it in config ARCH_SOCFPGA (arch/arm/Kconfig) section. Signed-off-by: Lukasz Majewski <lukma@denx.de> Signed-off-by: Simon Goldschmidt <sgoldschmidt@de.pepperl-fuchs.com>
* | | env: restore old env_get_char() behaviourGoldschmidt Simon2018-02-161-11/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With multiple environments, the 'get_char' callback for env drivers does not really make sense any more because it is only supported by two drivers (eeprom and nvram). To restore single character loading for these drivers, override 'env_get_char_spec'. Signed-off-by: Simon Goldschmidt <sgoldschmidt@de.pepperl-fuchs.com> Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>
* | | env: Fix env_load_locationYork Sun2018-02-162-1/+2
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | Commit 7d714a24d725 ("env: Support multiple environments") added static variable env_load_location. When saving environmental variables, this variable is presumed to have the value set before. In case the value was set before relocation and U-Boot runs from a NOR flash, this variable wasn't writable. This causes failure when saving the environment. To save this location, global data must be used instead. Signed-off-by: York Sun <york.sun@nxp.com> CC: Maxime Ripard <maxime.ripard@free-electrons.com>
* | Convert CONFIG_SYS_BOOTCOUNT_SINGLEWORD to KconfigLukasz Majewski2018-02-151-1/+0
| | | | | | | | | | | | | | | | | | This converts the following to Kconfig: CONFIG_SYS_BOOTCOUNT_SINGLEWORD Signed-off-by: Lukasz Majewski <lukma@denx.de> Tested-by: Alex Kiernan <alex.kiernan@gmail.com> Reviewed-by: Ian Ray <ian.ray@ge.com>
* | Convert CONFIG_BOOTCOUNT_LIMIT to KconfigLukasz Majewski2018-02-1522-25/+0
|/ | | | | | | | | | This converts the following to Kconfig: CONFIG_BOOTCOUNT_LIMIT Signed-off-by: Lukasz Majewski <lukma@denx.de> Tested-by: Alex Kiernan <alex.kiernan@gmail.com> Reviewed-by: Hannes Schmelzer <hannes.schmelzer@br-automation.com> Acked-by: Hannes Schmelzer <hannes.schmelzer@br-automation.com>
* Revert "drivers/ddr/fsl: Dual-license DDR driver"Tom Rini2018-02-146-6/+6
| | | | | | | Upon further review, not all code authors are in favour of this change. This reverts commit ee3556bcafbb05e59aabdc31368984e76acaabc4. Signed-off-by: Tom Rini <trini@konsulko.com>
* am335x_evm: Consolidate eMMC partitions with DFU infoSam Protsenko2018-02-141-5/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | >From DFU_ALT_INFO_EMMC (include/environment/ti/dfu.h) we can see that rootfs will be flashed to second partition on eMMC. But at the moment we have only one partition in $partitions environment variable. Let's add "bootloader" partition prior to "rootfs", so that DFU works correctly. This also fixes eMMC boot, which looks for rootfs on second partition. "bootloader" partition start corresponds to "u-boot.img.raw" in DFU eMMC info, which is 0x300 sector (384 KiB offset from eMMC start). rootfs start address can be also found from DFU eMMC info. bootloader-related area is finished at 0x1500 sector (2688 KiB offset from eMMC start). This should be the start address for rootfs in $partitions environment variable. While at it, fix U-Boot environment address to be the same as for AM57x EVM, so that it doesn't clash with other partitions. So now eMMC layout looks like this: =============================================================== 0 +------------------------+ | MBR/GPT header | 128 - 128 +------------------------+ | MLO | 256 - 384 +------------------------+ | u-boot.img | 1792 bootloader 2176 +------------------------+ | //////// hole //////// | 256 - 2432 +------------------------+ | U-Boot environment | 128 - 2560 +------------------------+ | U-Boot environment | 128 - | (redundant) | 2688 +------------------------+ | rootfs | remaining rootfs end +------------------------+ =============================================================== "hole" area can be used further for storing U-Boot environment (like it's done in AM57x EVM config file) or for increasing u-boot.img area (in case u-boot.img size increased, e.g. if new dtbs were added). This commit conforms with Linux partition table from f6d245b8c56c ("arm: am57xx: Fix Linux boot from eMMC") commit, making things in uniform way. Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org> Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com>
* configs: Migrate CONFIG_SPL_FRAMEWORKTom Rini2018-02-1477-95/+0
| | | | | | | | | | Migrate the option CONFIG_SPL_FRAMEWORK and make this gate most of the current set of options we have in Kconfig. We will need to have some options available for SPL and !SPL_FRAMEWORK so this is important. In a few cases we re-order existing options so that we have less escapes from the SPL_FRAMEWORK guard. Signed-off-by: Tom Rini <trini@konsulko.com>
* configs: Drop unused CONFIG_SPL_MMC_MINIMALTom Rini2018-02-1410-10/+0
| | | | | | The option CONFIG_SPL_MMC_MINIMAL is unused in code, drop it. Signed-off-by: Tom Rini <trini@konsulko.com>
* efi_driver: comment struct efi_driver_opsHeinrich Schuchardt2018-02-131-0/+12
| | | | | | Provide description for struct efi_driver_ops. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
* dm: core: fix typo in comment (device.h)Heinrich Schuchardt2018-02-131-1/+1
| | | | | | %s/Indentiies/Identifies/g Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
* SystemACE: RemoveTom Rini2018-02-131-1/+0
| | | | | | | | | | | | This driver is no longer used on any supported platform in U-Boot and there is no interest in maintaining it further from people that have used it historically. Cc: Simon Glass <sjg@chromium.org> Cc: Michal Simek <michal.simek@xilinx.com> c: Alexey Brodkin <alexey.brodkin@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Acked-by: Michal Simek <michal.simek@xilinx.com>
* spi: Migrate CONFIG_CF_SPI to KconfigTuomas Tynkkynen2018-02-135-5/+0
| | | | Signed-off-by: Tuomas Tynkkynen <tuomas@tuxera.com>
* spi: Migrate CONFIG_KIRKWOOD_SPI to KconfigTuomas Tynkkynen2018-02-133-3/+0
| | | | Signed-off-by: Tuomas Tynkkynen <tuomas@tuxera.com>
* spi: Migrate CONFIG_LPC32XX_SSP to KconfigTuomas Tynkkynen2018-02-132-2/+0
| | | | Signed-off-by: Tuomas Tynkkynen <tuomas@tuxera.com>
* spi: Migrate CONFIG_MPC8XXX_SPI to KconfigTuomas Tynkkynen2018-02-132-2/+0
| | | | Signed-off-by: Tuomas Tynkkynen <tuomas@tuxera.com>
* spi: Migrate CONFIG_MXC_SPI to KconfigTuomas Tynkkynen2018-02-1328-40/+0
| | | | Signed-off-by: Tuomas Tynkkynen <tuomas@tuxera.com>
* spi: Migrate CONFIG_MXS_SPI to KconfigTuomas Tynkkynen2018-02-131-1/+0
| | | | Signed-off-by: Tuomas Tynkkynen <tuomas@tuxera.com>
* spi: Migrate CONFIG_SH_QSPI to KconfigTuomas Tynkkynen2018-02-138-8/+0
| | | | Signed-off-by: Tuomas Tynkkynen <tuomas@tuxera.com>
* spi: Migrate CONFIG_SH_SPI to KconfigTuomas Tynkkynen2018-02-133-3/+0
| | | | Signed-off-by: Tuomas Tynkkynen <tuomas@tuxera.com>
* xtfpga: enable hush parserMax Filippov2018-02-131-2/+0
| | | | | | | Remove CONFIG_BOOT_RETRY_TIME as it doesn't do much good and enable CONFIG_HUSH_PARSER in xtfpga_defconfig. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>