- Nov 23, 2019
-
-
Heiko Schocher authored
remove from NXP arm32 all layerscape boards and build them instead in already existing layerscape jobs (which now not only build aarch64 boards) Signed-off-by:
Heiko Schocher <hs@denx.de>
-
Heiko Schocher authored
move orangepi builds into a new job, and exclude orangepi builds from sunxi and rockchip jobs. Signed-off-by:
Heiko Schocher <hs@denx.de> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
- Nov 22, 2019
-
-
-
-
-
Ooi, Joyce authored
Add 'ethernet0' as alias for 'gmac0' in S10 device tree. Signed-off-by:
Chee Hong Ang <chee.hong.ang@intel.com> Signed-off-by:
Ooi, Joyce <joyce.ooi@intel.com> Reviewed-by:
Ley Foon Tan <ley.foon.tan@intel.com>
-
Ooi, Joyce authored
The HPS EMAC0 drive strength is changed to 4mA because the initial 8mA drive strength has caused CE test to fail. This requires changes on the pad skew for EMAC0 PHY driver. Based on several measurements done, Tx clock does not require the extra 0.96ns delay which was needed in Arria10. Signed-off-by:
Ooi, Joyce <joyce.ooi@intel.com> Reviewed-by:
Ley Foon Tan <ley.foon.tan@intel.com>
-
Simon Goldschmidt authored
Since upgrading to gcc9, warnings are issued: "taking address of packed member of ‘...’ may result in an unaligned pointer value" Fix this by converting dwc2_fifo_read to use unaligned access since packed structures may be on an unaligned address, depending on USB hardware. Signed-off-by:
Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
-
Simon Goldschmidt authored
Since upgrading to gcc9, warnings are issued: "taking address of packed member of ‘...’ may result in an unaligned pointer value" Fix this by converting two functions to use unaligned access since packed structures may be on an unaligned address, depending on USB hardware. Signed-off-by:
Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
-
- Nov 21, 2019
-
-
Joe Hershberger authored
To be maintained by me (Joe) and reviewed by Wolfgang Denk when available. Signed-off-by:
Joe Hershberger <joe.hershberger@ni.com>
-
Tom Rini authored
Rsync all defconfig files using moveconfig.py Signed-off-by:
Tom Rini <trini@konsulko.com>
-
Tom Rini authored
- Migrate a number of common environment related options to Kconfig
-
- Nov 20, 2019
-
-
Tom Rini authored
- In ARMv8 NXP Layerscape platforms we also need to make use of CONFIG_SYS_RELOC_GD_ENV_ADDR now, do so. - On ENV_IS_IN_REMOTE, CONFIG_ENV_OFFSET is never used, drop the define to 0. - Add Kconfig entry for ENV_ADDR. - Make ENV_ADDR / ENV_OFFSET depend on the env locations that use it. - Add ENV_xxx_REDUND options that depend on their primary option and SYS_REDUNDAND_ENVIRONMENT - On a number of PowerPC platforms, use SPL_ENV_ADDR not CONFIG_ENV_ADDR for the pre-main-U-Boot environment location. - On ENV_IS_IN_SPI_FLASH, check not for CONFIG_ENV_ADDR being set but rather it being non-zero, as it will now be zero by default. - Rework the env_offset absolute in env/embedded.o to not use CONFIG_ENV_OFFSET as it was the only use of ENV_OFFSET within ENV_IS_IN_FLASH. - Migrate all platforms. Cc: Wolfgang Denk <wd@denx.de> Cc: Joe Hershberger <joe.hershberger@ni.com> Cc: Patrick Delaunay <patrick.delaunay@st.com> Cc: uboot-stm32@st-md-mailman.stormreply.com Signed-off-by:
Tom Rini <trini@konsulko.com> Acked-by:
Joe Hershberger <joe.hershberger@ni.com> Reviewed-by:
Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
-
Tom Rini authored
We can only configure and set the environment in SPL when we have a particular environment location set that is not "nowhere" like it is in SECURE_BOOT designs. Update the code to reflect that. Cc: Priyanka Jain <priyanka.jain@nxp.com> Signed-off-by:
Tom Rini <trini@konsulko.com> Reviewed-by:
Priyanka Jain <priyanka.jain@nxp.com>
-
Tom Rini authored
These functions can only be built and used when we have ENV_IS_IN_SPI_FLASH, use that as a guard. Reviewed-by:
Priyanka Jain <priyanka.jain@nxp.com> Signed-off-by:
Tom Rini <trini@konsulko.com>
-
Tom Rini authored
We have CONFIG_ENV_SIZE_IS_REDUND but don't really use it. We have one board where we can simply multiple CONFIG_ENV_SIZE by two for the same result. The other place where we could but were not previously using this is for where env_internal.h checks for if we should set ENV_IS_EMBEDDED. This seems like the most likely use, historically, of the variable, but it was not used. Add logic to check for this now. Cc: Wolfgang Denk <wd@denx.de> Cc: Joe Hershberger <joe.hershberger@ni.com> Signed-off-by:
Tom Rini <trini@konsulko.com> Reviewed-by:
Simon Glass <sjg@chromium.org> Acked-by:
Joe Hershberger <joe.hershberger@ni.com>
-
Tom Rini authored
The board file has a build time check to ensure that we do not have the redundant environment overwriting the factory data. However, using the symbol CONFIG_ENV_SIZE_REDUND isn't strictly needed as that is always the same as CONFIG_ENV_SIZE. Use CONFIG_ENV_SIZE instead so that we can later drop CONFIG_ENV_SIZE_REDUND. Cc: Stefan Roese <sr@denx.de> Signed-off-by:
Tom Rini <trini@konsulko.com> Reviewed-by:
Stefan Roese <sr@denx.de>
-
Marek Vasut authored
The default mtdparts value grew a trailing zero during the Kconfig conversion. This is because the mtdparts value in the header file had a \0 at the end, which got misconverted into plain 0 instead of being dropped. Signed-off-by:
Marek Vasut <marex@denx.de> Fixes: 43ede0bc ("Kconfig: Migrate MTDIDS_DEFAULT / MTDPARTS_DEFAULT") Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Simon Goldschmidt authored
Support loading clk speed via DM instead of requiring ad-hoc code. Signed-off-by:
Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
-
Simon Goldschmidt authored
To use this DM timer on socfpga as system tick, it needs to take itself out of reset. Signed-off-by:
Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
-
Simon Goldschmidt authored
The file arch/arm/mach-socfpga/include/mach/misc.h used the same include guard as the global include/misc.h. Fix this by giving the arch file an arch prefix. Signed-off-by:
Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com> Reviewed-by:
Ley Foon Tan <ley.foon.tan@intel.com>
-
Simon Goldschmidt authored
Make the function pointer struct const, as it does not need to be writable. This doesn't really change anything other than moving this variable to a different section. No functional change. Signed-off-by:
Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com> Reviewed-by:
Ley Foon Tan <ley.foon.tan@intel.com>
-
Ley Foon Tan authored
Commit 2a51e16b ("configs: Make USE_TINY_PRINTF depend on SPL||TPL and be default") enable USE_TINY_PRINTF by default, disable it for Stratix10. Resync with savedefconfig. Signed-off-by:
Ley Foon Tan <ley.foon.tan@intel.com>
-
Ley Foon Tan authored
Add #address-cells and #size-cells to memory node to fix incorrect memory size decoding in recent Uboot version. Signed-off-by:
Ley Foon Tan <ley.foon.tan@intel.com>
-
https://gitlab.denx.de/u-boot/custodians/u-boot-mpc85xxTom Rini authored
- Fix CONFIG_AHCI related build warning for P2041, P3041, P5040, T102x, T104x, T4240 platforms
-
Tom Rini authored
Today in initr_reloc_global_data() we use some non-obvious tests to determine if we need to relocate the env_addr within gd or not. In order to facilitate migration of other symbols to Kconfig we need to introduce a new symbol for this particular use case. Cc: Wolfgang Denk <wd@denx.de> Cc: Joe Hershberger <joe.hershberger@ni.com> Signed-off-by:
Tom Rini <trini@konsulko.com>
-
- Nov 19, 2019
-
-
Tom Rini authored
We only need to build and link input.o when we have any of CONFIG_KEYBOARD, CONFIG_DM_KEYBOARD (and SPL/TPL variants) or CONFIG_TEGRA_KEYBOARD set. Signed-off-by:
Tom Rini <trini@konsulko.com>
-
https://gitlab.denx.de/u-boot/custodians/u-boot-efiTom Rini authored
Pull request for UEFI sub-system for efi-2020-01-rc4 Fix errors due to unaligned memory access: * disable UEFI except for ARMv8, ARMv7, ARM11 * enable unaligned access support on ARM11 Remove an unused function.
-
Vignesh Raghavendra authored
xhci.h has now been moved to include/usb/ directory. Therefore, update the path in the Cadence USB drivers. Signed-off-by:
Vignesh Raghavendra <vigneshr@ti.com>
-
Heinrich Schuchardt authored
With an implementation for allow_unaligned() available for arm1136 and arm1176 UEFI can be supported on these architectures. Signed-off-by:
Heinrich Schuchardt <xypron.glpk@gmx.de>
-
Heinrich Schuchardt authored
The UEFI spec mandates that unaligned memory access should be enabled if supported by the CPU architecture. This patch implements the function unaligned_access() to set the enable unaligned data support flag and to clear the aligned flag in the system control register (SCTLR). It is called when UEFI related commands like bootefi are invoked. Reported-by:
Cristian Ciocaltea <cristian.ciocaltea@gmail.com> Tested-by:
Cristian Ciocaltea <cristian.ciocaltea@gmail.com> Tested-by:
Guillaume Gardet <Guillaume.Gardet@arm.com> Signed-off-by:
Heinrich Schuchardt <xypron.glpk@gmx.de>
-
Heinrich Schuchardt authored
fatload USB was reported to fail on the Sheevaplug. Debugging showed that this was caused by an incorrect unaligned write to memory in path_to_uefi(). UEFI on ARM requires that unaligned memory access is enabled. * ARMv5 does not support unaligned access at all. * ARMv6 supports unaligned access when we clear the A flag and set the U flag. * On ARMv7 unaligned access is possible when clearing the aligned flag, which we do in function allow_unaligned() (arch/arm/cpu/armv7/sctlr.S). For none of the other cpus in arch/arm/cpu/ we have implemented a similar function. * ARMv8 allows unaligned access. Let EFI_LOADER on ARM depend on SYS_CPU=armv7 or SYS_CPU=armv8. Once we have implemented allow_unaligned() for other ARM CPUs we can add these to Kconfig. Reported-by:
Gray Remlin <gryrmln@gmail.com> Signed-off-by:
Heinrich Schuchardt <xypron.glpk@gmx.de>
-
Heinrich Schuchardt authored
Function efi_dp_from_dev() is not used anywhere. Remove it. Signed-off-by:
Heinrich Schuchardt <xypron.glpk@gmx.de>
-
Peng Ma authored
This patch is to add sata node for T4240 platform Signed-off-by:
Peng Ma <peng.ma@nxp.com> Reviewed-by:
Priyanka Jain <priyanka.jain@nxp.com>
-
Peng Ma authored
This patch is to add sata node for T104x platform Signed-off-by:
Peng Ma <peng.ma@nxp.com> Reviewed-by:
Priyanka Jain <priyanka.jain@nxp.com>
-
Peng Ma authored
This patch is to add sata node for T102x platform Signed-off-by:
Peng Ma <peng.ma@nxp.com> Reviewed-by:
Priyanka Jain <priyanka.jain@nxp.com>
-
Peng Ma authored
This patch is to add sata node for P5040 platform Signed-off-by:
Peng Ma <peng.ma@nxp.com> Reviewed-by:
Priyanka Jain <priyanka.jain@nxp.com>
-
Peng Ma authored
This patch is to add sata node for P3041 platform Signed-off-by:
Peng Ma <peng.ma@nxp.com> Reviewed-by:
Priyanka Jain <priyanka.jain@nxp.com>
-
Peng Ma authored
This patch is to add sata node for P2041 platform Signed-off-by:
Peng Ma <peng.ma@nxp.com> Reviewed-by:
Priyanka Jain <priyanka.jain@nxp.com>
-
Peng Ma authored
Add DM support for Silicon(SIL3131 / SIL3132 / SIL3124) sata driver as few of the PowerPC platforms such as P series based boards need to use SATA_SIL with DM, Also fix below warning while PowerPC P series boards compilation, ===================== WARNING ======================" This board does use CONFIG_LIBATA but has CONFIG_AHCI not" enabled. Please update the storage controller driver to use" CONFIG_AHCI before the v2019.07 release." Failure to update by the deadline may result in board removal." See doc/driver-model/MIGRATION.txt for more info." ====================================================" Signed-off-by:
Peng Ma <peng.ma@nxp.com> Reviewed-by:
Priyanka Jain <priyanka.jain@nxp.com>
-