- Aug 20, 2017
-
-
Clément Bœsch authored
On some systems `python` is `python3` (for instance, Archlinux). The `PYTHON` variable can be used to point to `python2` to have a successful build. The use of `PYTHON` is currently limited in the Makefile and needs to be extended in other places: First, pylibfdt is required to be a Python 2 binding (binman imports pylibfdt and is only compatible Python 2), so its setup.py needs to be called accordingly. An alternative would be to change the libfdt setup.py shebang to python2, but the binding is actually portable. Also, it would break on system where there is no such thing as `python2`. Secondly, the libfdt import checks need to be done against Python 2 as well since the Python 2 compiled modules (in this case _libdft.so) can not be imported from Python 3. Note on the libfdt imports: "@if ! PYTHONPATH=tools $(PYTHON) -c 'import libfdt'; then..." is probably simpler than the currently sub-optimal pipe. Reviewed-by:
Jonathan Gray <jsg@jsg.id.au>
-
git://git.denx.de/u-boot-videoTom Rini authored
-
- Aug 19, 2017
-
-
xypron.glpk@gmx.de authored
Do not dereference bmp before the check if it is NULL. The problem was indicated by cppcheck. Signed-off-by:
Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
-
- Aug 18, 2017
-
-
git://github.com/agraf/u-bootTom Rini authored
EFI Fixes for 2017.09: - Fix GOP w/o display - Fix LocateHandle - Fix exit return value truncation - Fix missing EFIAPI in efi_locate_handle (for x86)
-
git://git.denx.de/u-boot-mmcTom Rini authored
-
Kever Yang authored
Fix the IOMUX setting for SDcard CMD pin at the same time. Signed-off-by:
Kever Yang <kever.yang@rock-chips.com> Reviewed-by:
Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
-
Kever Yang authored
The dts from kernel is using rk3228-pinctrl as compatible name, need to sync with it to make the driver work. Signed-off-by:
Kever Yang <kever.yang@rock-chips.com> Reviewed-by:
Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
-
Kever Yang authored
The description for eMMC/SDIO/SDMMC src is not correct, update the CRU_CLKSEL11_CON value definition according to TRM. Signed-off-by:
Kever Yang <kever.yang@rock-chips.com> Acked-by:
Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Reviewed-by:
Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
-
Kever Yang authored
The DRAM start address is not 0, so need to update the last bank size as: DRAM start addr + DRAM_SIZE - last bank start addr Signed-off-by:
Kever Yang <kever.yang@rock-chips.com> Acked-by:
Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Reviewed-by:
Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Philipp Tomsich authored
fdtdec.h is included, but not used in rk3399-board-spl.c: remove the '#include'-statement. Signed-off-by:
Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
-
Kever Yang authored
There are two same gmac node, remove one. Signed-off-by:
Kever Yang <kever.yang@rock-chips.com> Reviewed-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Acked-by:
Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
-
xypron.glpk@gmx.de authored
UEFI API functions have different return types. Some return a value of type EFI_STATUS other don't. We therefore should not cast the return value of EFI_EXIT to another type than the expression passed to EFI_EXIT. Signed-off-by:
Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by:
Alexander Graf <agraf@suse.de>
-
Bin Meng authored
This changes pci_mmc driver to use PCI_CLASS_SYSTEM_SDHCI instead of individual vendor id & device id pair to support generic PCI SD host controller. Signed-off-by:
Bin Meng <bmeng.cn@gmail.com>
-
- Aug 17, 2017
-
-
Angelo Dureghello authored
Sysam stmark2 board is a generic and fully (hw and sw) open board, with a mcf54415 Coldfire CPU, 128MB of DDR2, 16MB of SPI flash and SD card as non volatile memories, and a wifi module included on-board. The board is actually used mainly for Coldfire custodian testing activity related to the mcf5441x Coldfire family. For further information please see: http://sysam.it/cff_stmark2.html Signed-off-by:
Angelo Dureghello <angelo@sysam.it> --- Changes in v2: - remove CMD_REGINFO - add board information in commit message
-
Angelo Dureghello authored
On some boards, CONFIG_SYS_CS0_BASE can be undefined, since CS0 is not connected to any signal. Signed-off-by:
Angelo Dureghello <angelo@sysam.it>
-
Angelo Dureghello authored
- fix cache.c CONFIG_CF_V4e to CONFIG_CF_V4E - fix cache.c to properly enable/disable cache for V4E Signed-off-by:
Angelo Dureghello <angelo@sysam.it>
-
Angelo Dureghello authored
For certain boot types and sbf, for V4 cpu's, an early ddr/sdram init is required. This patch moves this ddr/sdram early initalization away from start.S (to be board related). Signed-off-by:
Angelo Dureghello <angelo@sysam.it>
-
Philipp Tomsich authored
During the the conversion to $(SPL_TPL_), the SPL_ fragment was left over for the NOR, XIP and YMODEM boot methods in SPL, making these unselectable. This commit fixes this by dropping the spurious 'SPL_' fragment from each line. Signed-off-by:
Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Reported-by:
Bo Shen <voice.shen@gmail.com> Fixes: f94e643e (spl: consistently use $(SPL_TPL_) to select features for SPL and TPL builds)
-
Kever Yang authored
Update the tx_delay and rx_delay to match the timing for rk3399-firefly board to improve the stability of gmac data transfer. Signed-off-by:
Kever Yang <kever.yang@rock-chips.com> Acked-by:
Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Reviewed-by:
Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
-
Angelo Dureghello authored
This patch allows to show the EXT_CSD[179] partition_config register info, just by specifying the dev param: U-Boot> mmc partconf 0 EXT_CSD[179], PARTITION_CONFIG: BOOT_ACK: 0x0 BOOT_PARTITION_ENABLE: 0x0 PARTITION_ACCESS: 0x0 Signed-off-by:
Angelo Dureghello <angelo@sysam.it> Signed-off-by:
Anatolij Gustschin <agust@denx.de>
-
Simon Glass authored
All boards which use DM_MMC have now been converted to use DM_MMC_OPS. Drop the option and good riddance. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
This should depend on SPL_DM_MMC, not SPL_DM. For it and update the only affected board's defconfig. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Now that the driver supports it, move these boards over to use driver model fully for MMC. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Enable driver model for MMC (including BLK), SATA and USB. Note that USB does not yet work correctly since the nodes are disabled. Hopefully this can be resolved by the maintainer. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
When CONFIG_BLK is enabled our weak board_mmc_init() will not be called. Since there is no clock driver for MX6 yet, we must manually enable the clocks. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Add this file so we can use device-tree control for cm_fx6. It comes from linux 4.12. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Add support for using driver model for SATA with the cm_fx6 board. The old code remains for now to permit testing. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
This driver does not currently support CONFIG_DM_MMC_OPS. Update it to fully convert it to driver model. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Update this driver to support a live device tree. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
We want to use fsl_esdhc_init() with driver model. Move the mmc_init() out of this function so that we can use it for our common init. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
With driver model we want to store the mmc and configuration structure in platform data. Set up structure up and use it for non-DM as well. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Since esdhc_init_common() can fail it should return an error code. Update this and also adjust the timeout mechanism to use get_timer(), which is a more common approach. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Since esdhc_reset() can fail it should return an error code. Update this and also adjust the timeout mechanism to use get_timer(), which is a more common approach. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Driver model wants to use the core functions in this file but accesses the driver-private data in a different way. Move the code into new 'common' functions and set up stubs to call these. Also sort the operations into alphabetical order for consistency. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
With driver model we will not use mmc->priv to access driver-private data. To accomodate this, update internal functions so that we can pass the private data directly. This will allow the caller to obtain it as it prefers. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Update this driver to support driver model. This involves implementing the AHCI operations and reusing existing common code. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
At present the AHCI uclass is just a shell and we still use the global functions to access SATA. Fix this by adding operations to the uclass. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Update the sata call to work with driver model. Signed-off-by:
Simon Glass <sjg@chromium.org>
-