summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* powerpc: mpc85xx: Move CONFIG_FSL_PCIE_RESET to KconfigHou Zhiqiang2019-06-2021-20/+21
| | | | | | | Use the Kconfig option to select the PCIe reset errata. Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com> Reviewed-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
* powerpc: mpc85xx: Move CONFIG_FSL_PCIE_DISABLE_ASPM to KconfigHou Zhiqiang2019-06-202-5/+8
| | | | | | | Use the Kconfig option to select the PCIe ASPM errata. Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com> Reviewed-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
* Merge tag 'efi-2019-07-rc5-2' of git://git.denx.de/u-boot-efiTom Rini2019-06-1510-72/+135
|\ | | | | | | | | | | | | | | | | | | | | | | Pull request for UEFI sub-system for v2019.07-rc5 (2) This pull request provides bug fixes for the UEFI sub-system. The most relevant one concerns the allocation of memory at address 0. It is needed for booting Linux on several boards via bootefi, e.g. the Asus TinkerBoard. An undefined reference bug in disk/part.c related to a division is resolved.
| * efi_loader: fix SetAttribute()Heinrich Schuchardt2019-06-141-0/+2
| | | | | | | | | | | | | | The SetAttribute() service and the Reset() service of the simple text output protocol must update the attribute value in the mode information. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
| * efi_loader: fix SetMode()Heinrich Schuchardt2019-06-141-17/+14
| | | | | | | | | | | | | | | | | | Correct the check of the mode number in SetMode() service of the simple text output protocol. Clear the screen in SetMode(). Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
| * efi_loader: GetTime() must return EFI_UNSUPPORTEDHeinrich Schuchardt2019-06-141-2/+1
| | | | | | | | | | | | | | If the GetTime() runtime service is not supported, EFI_UNSUPPORTED has to be returned. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
| * efi_loader: add RuntimeServicesSupported variableAKASHI Takahiro2019-06-144-0/+47
| | | | | | | | | | | | | | | | | | | | | | | | This variable is defined in UEFI specification 2.8, section 8.1. Its value should be updated whenever we add any usable runtime services function. Currently we only support SetVirtualAddress() for all systems and ResetSystem() for some. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
| * efi_loader: parameter checks SetVariable()Heinrich Schuchardt2019-06-141-1/+3
| | | | | | | | | | | | | | Return EFI_INVALID_PARAMETER if the variable name has zero length or the variable has runtime access but not boottime access. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
| * disk: part: avoid undefined reference to `__udivmoddi4'Heinrich Schuchardt2019-06-141-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | When compiling with FTRACE=1 an error ld.bfd: disk/built-in.o: in function `lba512_muldiv': disk/part.c:114: undefined reference to `__udivmoddi4 occurred. Use '>> 11' instead of '/ 2048' to avoid the division. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
| * efi_loader: legal characters in StrToFat()Heinrich Schuchardt2019-06-141-2/+2
| | | | | | | | | | | | | | | | | | | | | | The UEFI specification does not specify if the characters that have to be replaced by underscore in function StrToFat() of the Unicode collation protocol are those forbidden in FAT long names or those in FAT short names. EDK2 and UEFI SCT assume it is those forbidden in FAT 8.3 short names. Adjust the list of forbidden characters. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
| * efi_loader: MetaiMatch() must be case insensitiveHeinrich Schuchardt2019-06-141-24/+41
| | | | | | | | | | | | | | The MetaiMatch() service of the UnicodeCollationProtocol2 must be case insensitive. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
| * efi_loader: AllocatePages() must accept addr == 0Heinrich Schuchardt2019-06-141-3/+3
| | | | | | | | | | | | | | | | It must be possible to allocate memory at address 0 with AllocatePages(). Move a NULL pointer check. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
| * efi_loader: correct ExitBootServices()Heinrich Schuchardt2019-06-141-5/+8
| | | | | | | | | | | | Always use EFI_EXIT() to return from the function. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
| * efi_loader: loaded images cannot be started twiceHeinrich Schuchardt2019-06-141-0/+3
| | | | | | | | | | | | | | If an image already has been started, return EFI_INVALID_PARAMETER when StartImage() is called for the same handle again. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
| * efi_loader: LoadImage must return EFI_NOT_FOUNDHeinrich Schuchardt2019-06-141-1/+1
| | | | | | | | | | | | | | If the file path does not relate to an existing file, LoadImage() must return EFI_NOT_FOUND. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
| * efi_loader: LoadImage w/o SourceBuffer and DevicePathHeinrich Schuchardt2019-06-141-11/+4
| | | | | | | | | | | | | | If both SourceBuffer and DevicePath are NULL, LoadImage() must return EFI_INVALID_PARAMETER. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
* | Merge branch 'master' of git://git.denx.de/u-boot-socfpgaTom Rini2019-06-152-0/+13
|\ \ | | | | | | | | | - SPL size check for Gen5, i2c enablement for S10
| * | arm: socfpga: provide default SPL_SIZE_LIMIT for gen5Simon Goldschmidt2019-06-141-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | This provides an SPL_SIZE_LIMIT that makes the build check that the SPL binary loaded from flash fits into the SRAM (64 KiB) and leaves enough room for global data, heap and stack (512 bytes assumed stack usage). Signed-off-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
| * | arm: dts: Stratix10: Enable i2cLey Foon Tan2019-06-141-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Enable i2c1 in Stratix 10 devkit. SOCFPGA_STRATIX10 # i2c bus Bus 0: i2c@ffc02900 SOCFPGA_STRATIX10 # i2c dev 0 Setting bus to 0 SOCFPGA_STRATIX10 # i2c probe Valid chip addresses: 14 4C 51 68 74 Signed-off-by: Ley Foon Tan <ley.foon.tan@intel.com>
* | | Merge branch 'master' of git://git.denx.de/u-boot-shTom Rini2019-06-1544-3492/+0
|\ \ \ | | | | | | | | | | | | - More board removal
| * | | sh: r0p7734: Remove the boardMarek Vasut2019-06-148-814/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Last change to this board was done in 2016, has no prospects of ever being converted to DM, drop it. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Chris Brandt <chris.brandt@renesas.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> Cc: Vladimir Zapolskiy <vz@mleia.com> Cc: Yoshihiro Shimoda <shimoda.yoshihiro.uh@renesas.com>
| * | | sh: ap325rxa: Remove the boardMarek Vasut2019-06-149-707/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Last change to this board was done in 2016, has no prospects of ever being converted to DM, drop it. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Chris Brandt <chris.brandt@renesas.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> Cc: Vladimir Zapolskiy <vz@mleia.com> Cc: Yoshihiro Shimoda <shimoda.yoshihiro.uh@renesas.com>
| * | | sh: ap_sh4a_4a: Remove the boardMarek Vasut2019-06-148-776/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Last change to this board was done in 2016, has no prospects of ever being converted to DM, drop it. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Chris Brandt <chris.brandt@renesas.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> Cc: Vladimir Zapolskiy <vz@mleia.com> Cc: Yoshihiro Shimoda <shimoda.yoshihiro.uh@renesas.com>
| * | | sh: ms7750se: Remove the boardMarek Vasut2019-06-148-290/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Last change to this board was done in 2016, has no prospects of ever being converted to DM, drop it. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Chris Brandt <chris.brandt@renesas.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> Cc: Vladimir Zapolskiy <vz@mleia.com> Cc: Yoshihiro Shimoda <shimoda.yoshihiro.uh@renesas.com>
| * | | sh: ms7722: Remove the boardMarek Vasut2019-06-148-421/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Last change to this board was done in 2016, has no prospects of ever being converted to DM, drop it. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Chris Brandt <chris.brandt@renesas.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> Cc: Vladimir Zapolskiy <vz@mleia.com> Cc: Yoshihiro Shimoda <shimoda.yoshihiro.uh@renesas.com>
| * | | sh: espt_giga: Remove the boardMarek Vasut2019-06-148-484/+0
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Last change to this board was done in 2016, has no prospects of ever being converted to DM, drop it. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Chris Brandt <chris.brandt@renesas.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> Cc: Vladimir Zapolskiy <vz@mleia.com> Cc: Yoshihiro Shimoda <shimoda.yoshihiro.uh@renesas.com>
* | | Merge branch '2019-06-14-master-imports'Tom Rini2019-06-15199-191/+391
|\ \ \ | |_|/ |/| | | | | | | | | | | - Kconfig migrations of SPL_BOOT_xxx, SYS_LDSCRIPT, IP_DEFRAG, TFTP_BLOCKSIZE. - Typo fixes, other minor corrections.
| * | cmd: define CMD_DATA_SIZE when CONFIG_CMD_SETEXPR is selectedBartosz Golaszewski2019-06-141-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | The setexpr shell command calls cmd_get_data_size() which is only built when CMD_DATA_SIZE is defined. We need to define CMD_DATA_SIZE if CONFIG_CMD_SETEXPR is selected or the build will fail if no other command selecting this option is enabled. Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
| * | configs: Migrate CONFIG_SYS_LDSCRIPT to KconfigTom Rini2019-06-1475-17/+135
| | | | | | | | | | | | | | | | | | | | | | | | In order to migrate this symbol to Kconfig introduce a new symbol to guard it, CONFIG_SYS_CUSTOM_LDSCRIPT. When that is set we can then provide the exact final location o the script. Signed-off-by: Tom Rini <trini@konsulko.com>
| * | configs: Remove unneeded CONFIG_SYS_LDSCRIPT instancesTom Rini2019-06-1416-32/+0
| | | | | | | | | | | | | | | | | | | | | A number of boards set CONFIG_SYS_LDSCRIPT and then end up using one of the default searched LDSCRIPT paths. Remove these customizations. Signed-off-by: Tom Rini <trini@konsulko.com>
| * | configs: Migrate the various SPL_BOOT_xxx choices for PowerPCTom Rini2019-06-14130-112/+207
| | | | | | | | | | | | | | | | | | | | | | | | The non-CONFIG_SPL_FRAMEWORK SPL used on some PowerPC platforms have a choice between CONFIG_SPL_NAND_BOOT, CONFIG_SPL_MMC_BOOT and CONFIG_SPL_SPI_BOOT. Migrate this to Kconfig Signed-off-by: Tom Rini <trini@konsulko.com>
| * | common: Fix a typo abnove -> aboveAndy Shevchenko2019-06-141-1/+1
| | | | | | | | | | | | Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
| * | tools: add tools/spl_size_limit to ignore listSimon Goldschmidt2019-06-141-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | This tool has just been added but it seems I forgot to add it to the ignore list. So to prevent the built binary being marked as unversioned, add it to the ignore list. Signed-off-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
| * | net: Convert CONFIG_TFTP_BLOCKSIZE to KconfigMarek Vasut2019-06-1425-13/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | Convert CONFIG_TFTP_BLOCKSIZE to Kconfig, update defconfigs, headers and whitelist. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Christian Gmeiner <christian.gmeiner@gmail.com> Cc: Joe Hershberger <joe.hershberger@ni.com>
| * | net: Convert CONFIG_IP_DEFRAG to KconfigMarek Vasut2019-06-1432-13/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Convert CONFIG_IP_DEFRAG to Kconfig, update defconfigs, headers and whitelist. This patch is a follow-up on a patch by Christian Gmeiner with the added config/header/whitelist updates. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reported-by: Christian Gmeiner <christian.gmeiner@gmail.com> Cc: Joe Hershberger <joe.hershberger@ni.com>
| * | MAINTAINERS: change Ramon Fried email addressRamon Fried2019-06-142-2/+2
|/ / | | | | | | | | | | | | | | Change my email address, too many mails gets to my private mail, created specific email account just for developmement. Signed-off-by: Ramon Fried <ramon.fried@gmail.com>
* | Merge tag 'u-boot-amlogic-20190612' of git://git.denx.de/u-boot-amlogicTom Rini2019-06-128-28/+234
|\ \ | |/ |/| | | | | | | | | - pinctrl: meson-gx: fix GPIO_TEST_N and GPIOCLK_ groups - pinctrl: meson-gxbb: add hdmi related pins to fix HDMI on GXBB - pinctrl: meson: add support for getting pinmux status - pinctrl: meson-g12a: add support for drive-strength-microamp property
| * pinctrl: meson-gxbb: add hdmi related pinsMaxime Jourdan2019-06-121-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | The GXBB pinctrl is missing pins related to HDMI, namely hot plug detection (hpd) and I2C (sda + scl). This fixes HDMI support for GXBB in u-boot. Reported-by: Mohammad Rasim <mohammad.rasim96@gmail.com> Signed-off-by: Maxime Jourdan <mjourdan@baylibre.com> Acked-by: Neil Armstrong <narmstrong@baylibre.com> Tested-by: Mohammad Rasim <mohammad.rasim96@gmail.com> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
| * pinctrl: meson: g12a: add DS bank valueGuillaume La Roque2019-06-121-10/+10
| | | | | | | | | | | | | | | | add drive-strength bank regiter and bit value for G12A SoC Signed-off-by: Guillaume La Roque <glaroque@baylibre.com> Tested-by: Neil Armstrong <narmstrong@baylibre.com> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
| * pinctrl: meson: add support of drive-strength-microampGuillaume La Roque2019-06-123-14/+74
| | | | | | | | | | | | | | | | | | | | | | drive-strength-microamp is a new feature needed for G12A SoC. the default DS setting after boot is usually 500uA and it is not enough for many functions. We need to be able to set the drive strength to reliably enable things like MMC, I2C, etc ... Signed-off-by: Guillaume La Roque <glaroque@baylibre.com> Tested-by: Neil Armstrong <narmstrong@baylibre.com> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
| * dm: pinctrl: Add driver-strength-microamp propertyGuillaume La Roque2019-06-121-0/+3
| | | | | | | | | | | | | | | | Add drive-strength-microamp property support to allow drive strength in uA Signed-off-by: Guillaume La Roque <glaroque@baylibre.com> Tested-by: Neil Armstrong <narmstrong@baylibre.com> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
| * pinctrl: meson-axg: add support for getting pinmux statusNeil Armstrong2019-06-121-0/+48
| | | | | | | | | | | | | | | | In order to support the "pinmux status" command, use the common functions to get the pins count and names, and add the AXG specific function to get the current function from registers. Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
| * pinctrl: meson-gx: add support for getting pinmux statusNeil Armstrong2019-06-121-0/+44
| | | | | | | | | | | | | | | | | | In order to support the "pinmux status" command, use the common functions to get the pins count and names, and add the GX specific function to get the current function from registers. Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> Tested-by: Maxime Jourdan <mjourdan@baylibre.com>
| * pinctrl: meson: add common function to get pins nameNeil Armstrong2019-06-122-0/+27
| | | | | | | | | | | | | | In order to support the "pinmux status" command, add common function to get pins count and pin name. Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
| * pinctrl: meson-gx: fix GPIO_TEST_N and GPIOCLK_ groupsNeil Armstrong2019-06-122-4/+9
| | | | | | | | | | | | | | | | The GPIO_TEST_N was in the wrong pmx group table, move it back with the AO groups, GPIODV_18 was missing, add it back, and finally the GPIOCLK_* group names were missing. Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
* | Merge tag 'efi-2019-07-rc5' of git://git.denx.de/u-boot-efiTom Rini2019-06-126-52/+102
|\ \ | | | | | | | | | | | | | | | Pull request for UEFI sub-system for v2019.07-rc5 This pull request provides fixes for event services.
| * | efi_loader: implement event queueHeinrich Schuchardt2019-06-102-28/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Up to now we have only been using a flag queued for events. But this does not satisfy the requirements of the UEFI spec. Events must be notified in the sequence of decreasing TPL level and within a TPL level in the sequence of signaling. Implement a queue for signaled events. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
| * | efi_selftest: correct event group testHeinrich Schuchardt2019-06-101-5/+4
| | | | | | | | | | | | | | | | | | | | | If any member of the event group is signaled, all members must be set to signaled and their notification functions have to be queued. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
| * | efi_loader: event signaling in ExitBootServicesHeinrich Schuchardt2019-06-105-23/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ExitBootServices() has to stop timer related activity before calling the events of the EFI_EVENT_GROUP_EXIT_BOOT_SERVICES event group. But our current implementation was stopping all other events. All events have to observe the task priority level. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
| * | efi_loader: SignalEvent for event in signaled stateHeinrich Schuchardt2019-06-101-0/+2
| | | | | | | | | | | | | | | | | | | | | If an event is already in the signaled state, SignalEvent should not queue the notification function but simply return EFI_SUCCESS. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>