summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-05-08Prepare v2017.05v2017.05Tom Rini
Signed-off-by: Tom Rini <[email protected]>
2017-05-05board/BuR/common: incorrect check of dtb[email protected]
The logical expression to check the dtb is incorrect in load_devicetree. The problem was indicated by cppcheck. The inconsistent variable name dtppart is changed to dtbpart. Signed-off-by: Heinrich Schuchardt <[email protected]> Reviewed-by: Hannes Schmelzer <[email protected]> Acked-by: Hannes Schmelzer <[email protected]>
2017-05-05tools: sunxi: avoid read after end of string[email protected]
The evaluation of option -c is incorrect: According to the C99 standard endptr in the first strtol is always set as &endptr is not NULL. So the first part of the or condition is always true. If all digits in optarg are valid endptr will point to the closing \0 and the second strtol will read beyond the end of the string optarg points to. Signed-off-by: Heinrich Schuchardt <[email protected]> Acked-by: Boris Brezillon <[email protected]>
2017-05-05relocate-rela: add missing va_end()[email protected]
va_start must always be matched by va_end. The problem was indicated by cppcheck. Signed-off-by: Heinrich Schuchardt <[email protected]>
2017-05-05lib: circbuf: avoid possible null pointer dereference[email protected]
We should not first dereference p and afterwards assert that is was not NULL. Instead do the assert first. The problem was indicated by cppcheck. Signed-off-by: Heinrich Schuchardt <[email protected]>
2017-05-05arm64: mvebu: incorrect check of fdt address cells[email protected]
In dram_init_banksize there seems to be a typo concerning a plausibility check of the fdt. Testing sc > 2 twice does not make any sense. The problem was indicated by cppcheck. Signed-off-by: Heinrich Schuchardt <[email protected]>
2017-05-05meson: gxbb: increase CONFIG_SYS_BOOTM_LEN[email protected]
A feature rich Linux kernel needs more than 8 MiB. Hence enlarge CONFIG_SYS_BOOTM_LEN to 64 MiB for the GXBB systems. As all known GXBB systems have at least 512 MiB of RAM this poses no problem. Cc: Andreas Färber <[email protected]> Signed-off-by: Heinrich Schuchardt <[email protected]>
2017-05-05Merge branch 'master' of git://git.denx.de/u-boot-spiTom Rini
2017-05-03drivers: spi: Remove duplicate .probe methodSuniel Mahesh
.probe method has been assigned twice when declaring a driver with U_BOOT_DRIVER(). Removed one of them. Here is the last commit which had the duplicate entry: "spi: omap3: Convert to driver model" (sha1: 77b8d04854f486741471ad02b93b473b5b3d72f8) Signed-off-by: Suniel Mahesh <[email protected]> Reviewed-by: Jagan Teki <[email protected]>
2017-05-03zynq: spi: Honour the activation / deactivation delayMoritz Fischer
This is not currently implemented. Add support for this so that the Chrome OS EC can be used reliably. Signed-off-by: Moritz Fischer <[email protected]> Acked-by: Simon Glass <[email protected]> Reviewed-by: Jagan Teki <[email protected]>
2017-05-03spi: atmel: check GPIO validity before using cs_gpiosWenyou Yang
Before using the cs_gpio, check if the GPIO is valid or not. Signed-off-by: Wenyou Yang <[email protected]> Reviewed-by: Jagan Teki <[email protected]>
2017-05-01Prepare v2017.05-rc3v2017.05-rc3Tom Rini
Signed-off-by: Tom Rini <[email protected]>
2017-05-01odroid-c2: README: MMC is supported[email protected]
Mention eMMC and microSD as supported devices. They have been enabled with patch d0c5c8d529f16fa88ab52a3b5dd2d4fc03664f19 odroid-c2: enable new Meson GX MMC driver in board defconfig which was accepted for u-boot-mmc.git. Signed-off-by: Heinrich Schuchardt <[email protected]>
2017-05-01meson: gxbb: change ramdisk_addr_r[email protected]
0x10000000 is the start of a 2 MiB area used by the ARM Trusted Firmware (BL31). See https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/tree/arch/arm64/boot/dts/amlogic/meson-gx.dtsi?id=refs/tags/v4.10.10 So we should not load the ramdisk here. The legacy Ubuntu image for the Odroid C2 comes with the following line in boot.ini: setenv initrd_loadaddr "0x13000000" See http://odroid.in/ubuntu_16.04lts/ubuntu64-16.04-minimal-odroid-c2-20160815.img.xz http://deb.odroid.in/c2/pool/main/u/u-boot/u-boot_20170226-752a100-8_arm64.deb So let's use the same address. With the patch booting Linux with booti succeeds on an Odroid C2, without the patch Linux hangs. Cc: Andreas Färber <[email protected]> Signed-off-by: Heinrich Schuchardt <[email protected]> Reviewed-by: Simon Glass <[email protected]> Tested-by: Vagrant Cascadian <[email protected]>
2017-05-01meson: gxbb: enable MMC as boot target[email protected]
To enable automatic booting from SD card or eMMC the MMC devices 0, 1, and 2 are added to the BOOT_TARGET_DEVICES. Booting from SD card, eMMC, and DHCP are tried in sequence. A missing or failing device is gracefully handled. Cc: Andreas Färber <[email protected]> Signed-off-by: Heinrich Schuchardt <[email protected]> Tested-by: Vagrant Cascadian <[email protected]> Reviewed-by: Andreas Färber <[email protected]> Tested-by: Andreas Färber <[email protected]>
2017-05-01configs: Re-syncTom Rini
Signed-off-by: Tom Rini <[email protected]>
2017-05-01scripts/config_whitelist.txt: Re-syncTom Rini
Signed-off-by: Tom Rini <[email protected]>
2017-05-01warp7: MAINTAINERS: Add warp7_secure_defconfig entryFabio Estevam
Add warp7_secure_defconfig entry to avoid the following warning: WARNING: no maintainers for 'warp7_secure' Signed-off-by: Fabio Estevam <[email protected]>
2017-05-01fdt: Move fdt_fixup_ethernet to a common placeTom Rini
With 3f66149d9fb4 we no longer have a common call fdt_fixup_ethernet. This was fine to do on PowerPC as they largely had calls already in ft_cpu_fixup. On ARM however we largely relied on this call. Rather than introduce a large number of changes to ft_cpu_fixup / ft_board_fixup we recognize that this is a common enough call that we should be doing it in a central location. Do it early enough that we can do any further updates in ft_cpu_fixup / ft_board_fixup. Cc: Gerd Hoffmann <[email protected]> Cc: Chen-Yu Tsai <[email protected]> Cc: Maxime Ripard <[email protected]> Cc: Thomas Chou <[email protected]> (maintainer:NIOS) Cc: York Sun <[email protected]> (maintainer:POWERPC MPC85XX) Cc: Stefan Roese <[email protected]> (maintainer:POWERPC PPC4XX) Cc: Simon Glass <[email protected]> Cc: Joakim Tjernlund <[email protected]> Fixes: 3f66149d9fb4 ("Remove extra fdt_fixup_ethernet() call") Signed-off-by: Tom Rini <[email protected]> Acked-by: Stefan Roese <[email protected]> Acked-by: York Sun <[email protected]> Reviewed-by: Simon Glass <[email protected]>
2017-05-01cmd: add Kconfig option for 'date' commandChris Packham
Signed-off-by: Chris Packham <[email protected]> [trini: default y if DM_RTC, re-sync] Signed-off-by: Tom Rini <[email protected]>
2017-04-30Drop the pdsp188x driverSimon Glass
This is not used in U-Boot. Signed-off-by: Simon Glass <[email protected]>
2017-04-30powerpc: Drop configs/manrolandSimon Glass
This is not used in U-Boot. Drop it. Signed-off-by: Simon Glass <[email protected]>
2017-04-30Convert CONFIG_CMD_DISPLAY to KconfigSimon Glass
This converts the following to Kconfig: CONFIG_CMD_DISPLAY Signed-off-by: Simon Glass <[email protected]>
2017-04-30Convert CONFIG_CMD_DIAG to KconfigSimon Glass
This converts the following to Kconfig: CONFIG_CMD_DIAG Signed-off-by: Simon Glass <[email protected]> [trini: imply CMD_DIAG on some keymile configs] Signed-off-by: Tom Rini <[email protected]>
2017-04-30Kconfig: Drop CONFIG_CMD_DFLSimon Glass
This option is not used in U-Boot. Drop it. Signed-off-by: Simon Glass <[email protected]>
2017-04-30Convert CONFIG_CMD_DEKBLOB to KconfigSimon Glass
This converts the following to Kconfig: CONFIG_CMD_DEKBLOB Note: This option does not seem to actually be enabled by any board. Signed-off-by: Simon Glass <[email protected]> [trini: imply under SECURE_BOOT for mx5/6/7] Signed-off-by: Tom Rini <[email protected]>
2017-04-30Kconfig: Drop CONFIG_CMD_DEFAULTENV_VARSSimon Glass
This option does not exist in U-Boot. Drop it. Signed-off-by: Simon Glass <[email protected]>
2017-04-30fs: Kconfig: Add a separate option for FS_CRAMFSSimon Glass
Rather than using CMD_CRAMFS for both the filesystem and its command, we should have a separate option for each. This allows us to enable CRAMFS support without the command, if desired, which reduces U-Boot's size slightly. Signed-off-by: Simon Glass <[email protected]> [trini: imply FS_CRAMFS for keymile] Signed-off-by: Tom Rini <[email protected]>
2017-04-30fs: Convert CONFIG_CMD_CRAMFS to KconfigSimon Glass
This converts the following to Kconfig: CONFIG_CMD_CRAMFS Signed-off-by: Simon Glass <[email protected]> [trini: imply CMD_CRAMFS for keymile] Signed-off-by: Tom Rini <[email protected]>
2017-04-30Convert CONFIG_CMD_CLK to KconfigSimon Glass
This converts the following to Kconfig: CONFIG_CMD_CLK Signed-off-by: Simon Glass <[email protected]> [trini: imply CMD_CLK on ARCH_ZYNQ] Signed-off-by: Tom Rini <[email protected]>
2017-04-30Drop CONFIG_CMD_CLEARSimon Glass
This option is not used in U-Boot. Drop it. Signed-off-by: Simon Glass <[email protected]>
2017-04-30Convert CONFIG_CMD_CHIP_CONFIG to KconfigSimon Glass
This converts the following to Kconfig: CONFIG_CMD_CHIP_CONFIG Signed-off-by: Simon Glass <[email protected]>
2017-04-30fs: Kconfig: Add a separate config for FS_CBFSSimon Glass
Rather than using CMD_CBFS for both the filesystem and its command, we should have a separate option for each. This allows us to enable CBFS support without the command, if desired, which reduces U-Boot's size slightly. Signed-off-by: Simon Glass <[email protected]> [trini: imply FS_CBFS on SYS_COREBOOT] Signed-off-by: Tom Rini <[email protected]>
2017-04-30fs: Convert CONFIG_CMD_CBFS to KconfigSimon Glass
This converts the following to Kconfig: CONFIG_CMD_CBFS Signed-off-by: Simon Glass <[email protected]> [trini: imply CMD_CBFS on SYS_COREBOOT] Signed-off-by: Tom Rini <[email protected]>
2017-04-30Convert CONFIG_SYS_WHITE_ON_BLACK to KconfigSimon Glass
This converts the following to Kconfig: CONFIG_SYS_WHITE_ON_BLACK Signed-off-by: Simon Glass <[email protected]> [trini: Make this default y on various SoCs] Signed-off-by: Tom Rini <[email protected]>
2017-04-30Convert CONFIG_CMD_BSP to KconfigSimon Glass
This converts the following to Kconfig: CONFIG_CMD_BSP Signed-off-by: Simon Glass <[email protected]>
2017-04-30Convert CONFIG_CMD_BMP to KconfigSimon Glass
This converts the following to Kconfig: CONFIG_CMD_BMP Signed-off-by: Simon Glass <[email protected]> [trini: Add depends on LCD || DM_VIDEO || VIDEO] Signed-off-by: Tom Rini <[email protected]>
2017-04-30Convert CONFIG_CMD_BMODE to KconfigSimon Glass
This converts the following to Kconfig: CONFIG_CMD_BMODE Signed-off-by: Simon Glass <[email protected]> [trini: Make this default y and depend on mx5/6/7] Signed-off-by: Tom Rini <[email protected]>
2017-04-30Convert CONFIG_CMD_BLOB to KconfigSimon Glass
This converts the following to Kconfig: CONFIG_CMD_BLOB Signed-off-by: Simon Glass <[email protected]> [trini: Add imply CMD_BLOB under CHAIN_OF_TRUST] Signed-off-by: Tom Rini <[email protected]>
2017-04-30Convert CONFIG_CMD_BEDBUG to KconfigSimon Glass
This converts the following to Kconfig: CONFIG_CMD_BEDBUG Signed-off-by: Simon Glass <[email protected]>
2017-04-30Convert CONFIG_CMD_BAT to KconfigSimon Glass
This converts the following to Kconfig: CONFIG_CMD_BAT Signed-off-by: Simon Glass <[email protected]>
2017-04-30ti816x_evm: Change CONFIG_CMD_ASKEN to CONFIG_CMD_ASKENVSimon Glass
This looks like a typo. Fix it. Signed-off-by: Simon Glass <[email protected]>
2017-04-30Convert CONFIG_CMD_AES et al to KconfigSimon Glass
This converts the following to Kconfig: CONFIG_CMD_AES CONFIG_AES Signed-off-by: Simon Glass <[email protected]> [trini: Add select AES to CMD_AES] Signed-off-by: Tom Rini <[email protected]>
2017-04-30power: Drop CONFIG_PMICSimon Glass
This option is not used in U-Boot. Drop it. Signed-off-by: Simon Glass <[email protected]>
2017-04-30power: Drop CONFIG_I2C_PMICSimon Glass
This is only used by one board and should not be a CONFIG option. Instead it should use the driver model pmic framework. For now, just move the setting into the only board that uses it. Signed-off-by: Simon Glass <[email protected]>
2017-04-30power: Convert CONFIG_PMIC_AS3722 to KconfigSimon Glass
This converts the following to Kconfig: CONFIG_PMIC_AS3722 Signed-off-by: Simon Glass <[email protected]>
2017-04-30power: Move as3722 pmic to pmic/ directorySimon Glass
Most of the PMICs are in the drivers/power/pmic/ directory. Move this one there. Signed-off-by: Simon Glass <[email protected]>
2017-04-30power: Rename CONFIG_AS3722_POWER to CONFIG_PMIC_AS3722Simon Glass
Before converting this to Kconfig, rename it to match the other PMICs. Signed-off-by: Simon Glass <[email protected]>
2017-04-30arm: Re-sync ARCH_MX5 / MX51 / MX53 CONFIG optionsTom Rini
A few boards had not been fully re-synced with CONFIG_ARCH_MX5 / CONFIG_MX51 / CONFIG_MX53 being in Kconfig. Do so now. Signed-off-by: Tom Rini <[email protected]>
2017-04-27Merge tag 'xilinx-fixes-for-v2017.05' of git://www.denx.de/git/u-boot-microblazeTom Rini
Xilinx fixes for v2017.05 - Fix usbotg on Miami board - Cleanup zc1751 defconfig