- Nov 07, 2019
-
-
Cristian Ciocaltea authored
API_dev_write(va_list ap) is currently lacking the write support to storage devices because, historically, those devices did not implement block_write() The solution has been tested by loading and booting a (patched) GRUB instance in a QEMU vexpress-a9 environment. The disk write operations were triggered with GRUB's save_env command. Signed-off-by:
Cristian Ciocaltea <cristian.ciocaltea@gmail.com>
-
Tom Rini authored
Rsync all defconfig files using moveconfig.py Signed-off-by:
Tom Rini <trini@konsulko.com>
-
https://gitlab.denx.de/u-boot/custodians/u-boot-mpc85xxTom Rini authored
- mpc85xx, socrates: Add dts, enable DM support, fix warnings, disable video
-
Tom Rini authored
- Re-enable LLVM tests in Travis and add them to GitLab and Azure
-
Tom Rini authored
Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by:
Tom Rini <trini@konsulko.com>
-
Tom Rini authored
When using the OVERRIDE variable we need to pass -O to buildman as well to use the "override" option to buildman. Fixed: e9500f49 ("travis: Use buildman for building with clang") Signed-off-by:
Tom Rini <trini@konsulko.com>
-
Tom Rini authored
Newer versions of LLVM-7 will provide an unused function warning over console_doenv() in the case of SYS_CONSOLE_IS_IN_ENV not being enabled as can be the case in SPL. Add guards around this function. Signed-off-by:
Tom Rini <trini@konsulko.com>
-
- Nov 06, 2019
-
-
Heiko Schocher authored
imx targets are defined in arch/arm/mach-imx/Makefile. Some of them are dependent on targets defined in main Makefile. For the Makefile in arch/arm/mach-imx this targets must be finished before the imx targets are build, if not you get for example the error: make -f /home/hs/abb/mainlining/u-boot/scripts/Makefile.build obj=arch/arm/mach-imx u-boot-dtb.imx make[2]: *** No rule to make target 'u-boot-fit-dtb.bin', needed by 'u-boot-dtb.imx'. Stop. make[1]: *** [/home/hs/abb/mainlining/u-boot/Makefile:1123: u-boot-dtb.imx] Error 2 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory '/work/hs/compile/u-boot/aristainetos2_defconfig' make: *** [Makefile:148: sub-make] Error 2 compile failed In above case of CONFIG_MULTI_DTB_FIT is defined, the u-boot-dtb.imx is dependent on the u-boot-fit-dtb.bin which may is not build yet ... I could reproduce this error on a travis build also if I build an out-of-tree build on a local machine with a build directory on a "slow" slow storage device. If building the same source target with a build dir on a fast storage device, the build works. I found no solution to tell the arch/arm/mach-imx/Makefile to find the targets in main Makefile, if there is a way this would be the better fix. I solved it by adding a IMX_DEPS var, which holds a list of main u-boot targets, which must be finished, before calling imx targets and fixed the build for imx targets which enabled CONFIG_MULTI_DTB_FIT. I think it is just luck, that imx targets with CONFIG_OF_SEPARATE enabled build, because the u-boot-dtb.imx target depends on u-boot-dtb.bin which gets build early enough before starting with u-boot-dtb.imx. May this targets should be fixed too. Signed-off-by:
Heiko Schocher <hs@denx.de> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
-
https://gitlab.denx.de/u-boot/custodians/u-boot-mmcTom Rini authored
- fsl_esdhc driver cleanup - fsl_esdhc_imx driver improvement and compatible string update
-
Heiko Schocher authored
add DM PCI support on the socrates board. use PCIE_FSL now. Signed-off-by:
Heiko Schocher <hs@denx.de> Reviewed-by:
Priyanka Jain <priyanka.jain@nxp.com>
-
Heiko Schocher authored
switch to DM_SERIAL support. Signed-off-by:
Heiko Schocher <hs@denx.de> Reviewed-by:
Priyanka Jain <priyanka.jain@nxp.com>
-
Heiko Schocher authored
enable DM I2C support for the socrates board. Signed-off-by:
Heiko Schocher <hs@denx.de> Reviewed-by:
Priyanka Jain <priyanka.jain@nxp.com>
-
Heiko Schocher authored
disable video, as not really needed longer. Signed-off-by:
Heiko Schocher <hs@denx.de> Reviewed-by:
Priyanka Jain <priyanka.jain@nxp.com>
-
Heiko Schocher authored
add some defines and get rid of USB warning. Signed-off-by:
Heiko Schocher <hs@denx.de> Reviewed-by:
Priyanka Jain <priyanka.jain@nxp.com>
-
Heiko Schocher authored
enable CONFIG_DM for the socrates board. Signed-off-by:
Heiko Schocher <hs@denx.de> Reviewed-by:
Priyanka Jain <priyanka.jain@nxp.com>
-
Heiko Schocher authored
add u-boot specific dtsi file for socrates board. Signed-off-by:
Heiko Schocher <hs@denx.de> Reviewed-by:
Priyanka Jain <priyanka.jain@nxp.com>
-
Heiko Schocher authored
add socrates device tree from linux: commit 71ae5fc87c34 ("Merge tag 'linux-kselftest-5.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest" ) and added SPDX license identifier. Did not fix checkpatch warnings: arch/powerpc/dts/socrates.dts:235: check: Please don't use multiple blank lines arch/powerpc/dts/socrates.dts:238: error: code indent should use tabs where possible Also, add me as board maintainer. Signed-off-by:
Heiko Schocher <hs@denx.de> Reviewed-by:
Priyanka Jain <priyanka.jain@nxp.com>
-
Heiko Schocher authored
suppress warning: Flash: ## Unknown flash on Bank 1 - Size = 0x00000000 = 0 MB Signed-off-by:
Heiko Schocher <hs@denx.de> Reviewed-by:
Priyanka Jain <priyanka.jain@nxp.com>
-
Heiko Schocher authored
add DM based PCI Configuration space access support for MPC85xx PCI Bridge. This driver is based on arch/powerpc/cpu/mpc85xx/pci.c In the old driver there is a fix for a hw issue on the TARGET_MPC8555CDS and TARGET_MPC8541CDS boards. As I have no such hardware I did not port this part. Signed-off-by:
Heiko Schocher <hs@denx.de> Reviewed-by:
Priyanka Jain <priyanka.jain@nxp.com>
-
- Nov 05, 2019
-
-
Tom Rini authored
With python3 we're now tripping over a long-standing problem with how we add to the buildman file with some toolchains. We cannot have multiple toolchain-alias sections as that leads to a parse error. Signed-off-by:
Tom Rini <trini@konsulko.com>
-
git://git.denx.de/u-boot-fdtTom Rini authored
Update to latest libfdt and pylibfdt, with added size control Update binman, dtoc, patman, buildman to Python 3 Update move_config, rkmux, microcode_tool to Python 3
-
Peng Fan authored
To enable HS400(ES) and UHS for imx8m platforms, update the driver data to share with imx8qm esdhc_soc_data. Signed-off-by:
Peng Fan <peng.fan@nxp.com>
-
Peng Fan authored
During mmc initialization, there are several calls to mmc_set_clock and mmc_set_ios. When mmc_power_off, the mmc->clock will be set, but the imx driver will use 400KHz. So the following calls to mmc_set_ios will set the clock several times which is redundant in fsl_esdhc_imx driver. So let's simplify to remove redundant clock settings. Signed-off-by:
Peng Fan <peng.fan@nxp.com>
-
Yangbo Lu authored
Make DM and non-DM code clear using below structure. #if !CONFIG_IS_ENABLED(DM_MMC) <non-DM_MMC code> #else <DM_MMC code> #endif Signed-off-by:
Yangbo Lu <yangbo.lu@nxp.com>
-
Yangbo Lu authored
The QorIQ eSDHC on all platforms supports checking write protect state through register bit. So check it always. Signed-off-by:
Yangbo Lu <yangbo.lu@nxp.com>
-
Yangbo Lu authored
Drop redundant code for non-removable feature. "non-removable" property has been read in mmc_of_parse(). Signed-off-by:
Yangbo Lu <yangbo.lu@nxp.com>
-
Yangbo Lu authored
The fsl_esdhc_init() was actually to get configuration of mmc_config. So rename it to fsl_esdhc_get_cfg_common() and make it common for both DM_MMC and non-DM_MMC. Signed-off-by:
Yangbo Lu <yangbo.lu@nxp.com>
-
Yangbo Lu authored
This patch is to clean up bus width setting code. - For DM_MMC, remove getting "bus-width" from device tree. This has been done in mmc_of_parse(). - For non-DM_MMC, move bus width configuration from fsl_esdhc_init() to fsl_esdhc_initialize() which is non-DM_MMC specific. And fix up bus width configuration to support only 1-bit, 4-bit, or 8-bit. Keep using 8-bit if it's not set because many platforms use driver without providing max bus width. - Remove bus_width member from fsl_esdhc_priv structure. Signed-off-by:
Yangbo Lu <yangbo.lu@nxp.com>
-
Yangbo Lu authored
Voltage validation should be done by CMD8. Current comparison between mmc_cfg voltages and host voltage capabilities is meaningless. So drop current comparison and let voltage validation is through CMD8. Signed-off-by:
Yangbo Lu <yangbo.lu@nxp.com>
-
Yangbo Lu authored
Controller initialization is not needed in fsl_esdhc_init(). It will be done in esdhc_init() for non-DM_MMC, and in esdhc_init_common() in probe for DM_MMC. Signed-off-by:
Yangbo Lu <yangbo.lu@nxp.com>
-
Simon Glass authored
Update this tool to use Python 3 to meet the 2020 deadline. Unfortunately this introduces a test failure due to a problem in pylibfdt on Python 3. I will investigate. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Drop the now-unused Python 2 code to keep code coverage at 100%. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Some tests have crept in with Python 2 strings and constructs. Convert then. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
When preparing to possible expand or contract an entry we reset the size to the original value from the binman device-tree definition, which is often None. This causes binman to forget the original size of the entry. Remember this so that it can be used when needed. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
This function should use a void * type, not char *. This causes an error: TypeError: in method 'fdt_property_stub', argument 3 of type 'char const *' Fix it. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Sync up the libfdt Python bindings with upstream, commit: 430419c (tests: fix some python warnings) Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Build this swig module with Python 3. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Convert this tool to Python 3 and make it use that, to meet the 2020 deadline. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Convert this tool to Python 3 and make it use that, to meet the 2020 deadline. Signed-off-by:
Simon Glass <sjg@chromium.org>
-