- Feb 06, 2020
-
-
Simon Glass authored
Add a messing error code to bloblist_new() and tidy up the line length in bloblist_addrec(). Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
A common check is to see if a blob is present, create it if not and make sure that the size is large enough. Add a function to handle this. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
These conditions are not needed and just reduce build coverage. Drop them. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
It is sometimes useful to process all children, making sure they are probed first. Add functions to help with this and a macro to make it more convenient. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
When generating ACPI tables we need to make sure that all devices have read their platform data, so that they can generate the tables correctly. Rather than adding this code in ACPI, create a core function to handle it. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Add a function to read a property from the chosen node, providing access to its length. Update ofnode_get_chosen_string() to make use of it. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Now that we have ofnode_read_prop() we can rewrite this function using that one, reducing the amount of duplicated code. Update ofnode_read_size() and move it up next to the other similar functions. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Add a new function to read a property that supports reading the length as well. Reimplement ofnode_read_string() using it and fix its comment. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
This function is actually intended to read a string rather than a property. All of its current callers use it that way. Also there is no way to return the length of the property from this function. Rename it to better indicate its purpose, using ofnode_read as the prefix since this matches most other functions. Also add some tests which are missing for these functions. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
The current comment is a big vague and misleading. Rewrite it to state precisely what the function does. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
If a test happens to use the same variable as the macro parameter the macro does not work as intended. Add an underscore to guard against this. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
These functions do not modify the device so should use a const pointer to it. Update the code accordingly. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
These functions do not modify the device so should use a const pointer to it. Update the code accordingly. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Tidy up a few places where const * should be used. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
At present this method uses a non-const udevice pointer, but the call should not modify the device. Use a const pointer. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Update this header file to use const devices where possible, to permit callers to also use const. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
- Feb 05, 2020
-
-
https://gitlab.denx.de/u-boot/custodians/u-boot-fsl-qoriqTom Rini authored
- Bug fixes on ls1012a, ls1021a, ls1028ardb platforms Integrate fspi for ls1028a, add DM-I2C support, update secure boot header offset
-
https://gitlab.denx.de/u-boot/custodians/u-boot-raspberrypiTom Rini authored
- DFU support file operations lager then the default max size - add dfu support to dwc2 for bcm2835 - enable DFU for RPi4 - Fix RPi4 memory map to include the genet device - add driver for the genet ethernet device - enable network support in RPi4 config
-
- Feb 04, 2020
-
-
https://gitlab.denx.de/u-boot/custodians/u-boot-x86Tom Rini authored
- Various minor fixes for x86 - Switch to ACPI mode on Intel edison - Support run-time configuration for NS16550 driver - Update coreboot and slimbootloader serial drivers to use NS16550 run-time configuration - ICH SPI driver fixes to hardware sequencing erase case - Move ITSS from Apollo Lake to a more generic location - Intel GPIO driver bug fixes - Move to vs2017-win2016 platform build host for Azure pipelines
-
https://gitlab.denx.de/u-boot/custodians/u-boot-tiTom Rini authored
- DFU boot support for J721e - I2C support for J721e - GPIO support for J721e - Android boot image updates on AM57XX - OMAP watchdog fixes
-
Inside Kconfig we must not use the CONFIG_ prefix with the imply statement. Fixes: 28e3c39e ("board: freescale: ls1012a2g5rdb: enable network support on ls1012a2g5rdb") Signed-off-by:
Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by:
Priyanka Jain <priyanka.jain@nxp.com>
-
Updates the secure boot headers offsets of Kernel and other firmware images for SD and NOR boot sources used by esbc_validate command. Signed-off-by:
Priyanka Singh <priyanka.singh@nxp.com> Reviewed-by:
Priyanka Jain <priyanka.jain@nxp.com>
-
Updates the secure boot headers offsets of Kernel and other firmware images for SD and QSPI boot sources used by esbc_validate command. Signed-off-by:
Priyanka Singh <priyanka.singh@nxp.com> Signed-off-by:
Priyanka Jain <priyanka.jain@nxp.com>
-
Updates the secure boot headers offsets of Kernel and other firmware images for SD and XSPI boot sources used by esbc_validate command. Signed-off-by:
Priyanka Singh <priyanka.singh@nxp.com> Reviewed-by:
Priyanka Jain <priyanka.jain@nxp.com>
-
Updates the secure boot headers offsets of Kernel and other firmware images used by esbc_validate command. Signed-off-by:
Priyanka Singh <priyanka.singh@nxp.com> Reviewed-by:
Priyanka Jain <priyanka.jain@nxp.com>
-
Updates the secure boot headers offsets of Kernel and other firmware images for SD and QSPI boot sources used by esbc_validate command. Signed-off-by:
Priyanka Singh <priyanka.singh@nxp.com> Reviewed-by:
Priyanka Jain <priyanka.jain@nxp.com>
-
The default reserved memory for CMA is high memory. If LPAE is enabled, highmem pages are non-remapped and can not be used with dma_alloc_coherent. This patch will reserve low memory for CMA and fix the issue on LS1021A. Signed-off-by:
Peng Ma <peng.ma@nxp.com> Signed-off-by:
Shengzhou Liu <Shengzhou.Liu@nxp.com> Signed-off-by:
Alison Wang <alison.wang@nxp.com> Reviewed-by:
Priyanka Jain <priyanka.jain@nxp.com>
-
This supports i2c DM and enables CONFIG_DM_I2C for SoC LS1021A Signed-off-by:
Biwen Li <biwen.li@nxp.com> Signed-off-by:
Priyanka Jain <priyanka.jain@nxp.com>
-
This supports i2c DM and enables CONFIG_DM_I2C for SoC LS1012A Signed-off-by:
Biwen Li <biwen.li@nxp.com> Signed-off-by:
Priyanka Jain <priyanka.jain@nxp.com>
-
The default value of CONFIG_SYS_MALLOC_F_LEN (0x400) leaves U-Boot with not enough memory to load i2c driver before relocate, causing it to hang. Change the default value of CONFIG_SYS_MALLOC_F_LEN for below SoCs, - LS1012A - LS1021A - LS1043A - LS1046A Signed-off-by:
Biwen Li <biwen.li@nxp.com> Reviewed-by:
Priyanka Jain <priyanka.jain@nxp.com>
-
This adds DM_FLAG_PRE_RELOC flag to probe i2c driver before relocation Signed-off-by:
Biwen Li <biwen.li@nxp.com> Reviewed-by:
Priyanka Jain <priyanka.jain@nxp.com>
-
Fix below SPL build error when DM_I2C is enabled, - arch/arm/cpu/armv8/built-in.o: In function `board_init_f: arch/arm/cpu/armv8/fsl-layerscape/spl.c:74: undefined reference to `i2c_init_all' arch/arm/cpu/armv8/fsl-layerscape/spl.c:74:(.text.board_init_f+0x30): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `i2c_init_all' make[2]: *** [spl/u-boot-spl] Error 1 make[1]: *** [spl/u-boot-spl] Error 2 make: *** [sub-make] Error 2 arch/arm/cpu/armv8/fsl-layerscape/spl.c: In function 'board_init_f': arch/arm/cpu/armv8/fsl-layerscape/spl.c:74:2: warning: implicit declaration of function 'i2c_init_all'; did you mean 'misc_init_r'? [-Wimplicit-function-declaration]` Signed-off-by:
Biwen Li <biwen.li@nxp.com> Reviewed-by:
Priyanka Jain <priyanka.jain@nxp.com>
-
Add support of driver model of pcf8563 Signed-off-by:
Biwen Li <biwen.li@nxp.com> Signed-off-by:
Priyanka Jain <priyanka.jain@nxp.com>
-
Enable FSPI controller support. So, flash environment can now be used Signed-off-by:
Kuldeep Singh <kuldeep.singh@nxp.com> Reviewed-by:
Priyanka Jain <priyanka.jain@nxp.com>
-
Align flexspi node properties with linux device-tree properties Tested on LX2160A-RDB Signed-off-by:
Kuldeep Singh <kuldeep.singh@nxp.com> Reviewed-by:
Priyanka Jain <priyanka.jain@nxp.com>
-
Align flexspi node properties with linux device-tree properties Tested on LS1028A-RDB Signed-off-by:
Kuldeep Singh <kuldeep.singh@nxp.com> Reviewed-by:
Priyanka Jain <priyanka.jain@nxp.com>
-
Add support of "qixis_reset emmc" command for lx2160a based platforms Signed-off-by:
Meenakshi Aggarwal <meenakshi.aggarwal@nxp.com> Reviewed-by:
Priyanka Jain <priyanka.jain@nxp.com>
-
Sync the interrupt properties with the ones from Linux. Also use the constants provided by the dt-bindings header. Please note, that there are actual changes/fixes in the irq flags. U-Boot won't use the interrupt properties anyway. It's just to be consistent with the Linux device tree. Signed-off-by:
Michael Walle <michael@walle.cc> Reviewed-by:
Priyanka Jain <priyanka.jain@nxp.com>
-
Also align the fspi node with the kernel one. Signed-off-by:
Michael Walle <michael@walle.cc> Reviewed-by:
Kuldeep Singh <kuldeep.singh@nxp.com> Reviewed-by:
Priyanka Jain <priyanka.jain@nxp.com>
-
Enable the config for ls1012ardb as the entry got missed earlier. Fixes: 8d8ee47e ("env: Add CONFIG_SYS_RELOC_GD_ENV_ADDR symbol") Signed-off-by:
Kuldeep Singh <kuldeep.singh@nxp.com> Reviewed-by:
Priyanka Jain <priyanka.jain@nxp.com>
-