13 Dec, 2018
2 commits
-
The function part_init() will only be built when we have both
CONFIG_PARTITIONS and CONFIG_HAVE_BLOCK_DEVICE set. Protect the call to
this function with both of these tests now.Cc: Simon Glass
Cc: Philipp Tomsich
Cc: Michal Simek
Cc: York Sun
Cc: Prabhakar Kushwaha
Cc: Mingkai Hu
Cc: Stefan Roese
Cc: Marek Behún
Cc: Vanessa Maegima
Cc: Eugen Hristev
Cc: Adam Ford
Cc: Jagan Teki
Cc: Tom Warren
Cc: Stephen Warren
Cc: Vitaly Andrianov
Signed-off-by: Tom Rini
Reviewed-by: Simon Glass -
Currently on qemu-arm platforms environment is kept in RAM. Instead
use pflash device 1 to provide persistent environment support across
device reset.Also (optionally) provide support for persistent environment across
qemu machine OFF/ON using following instructions:- Create envstore.img using qemu-img:
qemu-img create -f raw envstore.img 64M
- Add a pflash drive parameter to the command line:
-drive if=pflash,format=raw,index=1,file=envstore.imgSigned-off-by: Sumit Garg
10 Dec, 2018
4 commits
-
Improvements:
- init DRAM for RK322x in SPL
- add FAN53555 PMIC/regulator driver
- update MicroCrystal RV3029 driver to Kconfig and sync from Linux
- add bootcount uclass and first DM-driver for bootcount -
This adds a driver for the FAN53555 family of regulators and wraps it
in a PMIC implementation.While these devices support a 'normal' and 'suspend' mode (controlled
via an external pin) to switch between two programmable voltages, this
incarnation of the driver assumes that the device is always operating
in 'normal' mode.Only setting/reading the programmed voltage is supported at this time
and the following device functionality remains unsupported:
- switching the selected voltage (via a GPIO)
- disabling the voltage output via software-control
This matches the functionality of the Linux driver.Tested on a RK3399-Q7 (with 'option 5' devices): setting voltages from
the U-Boot shell and verifying output voltages on the board.Signed-off-by: Philipp Tomsich
Tested-by: Klaus Goger -
The original bootcount methods do not provide an interface to DM and
rely on a static configuration for I2C devices (e.g. bus, chip-addr,
etc. are configured through defines statically). On a modern system
that exposes multiple devices in a DTS-configurable way, this is less
than optimal and a interface to DM-based devices will be desirable.This adds a simple driver that is DM-aware and configurable via DTS.
If ambiguous (i.e. multiple bootcount-devices are present) the
/chosen/u-boot,bootcount-device property can be used to select one
bootcount device.Initially, this provides support for the following DM devices:
* RTC devicesSigned-off-by: Philipp Tomsich
Tested-by: Klaus Goger -
In some cases it may be useful to be able to change the fdt we have been
using and use another one instead. For example, the TI platforms uses an
EEPROM to store board information and, based on the type of board,
different dtbs are used by the SPL. When DM_I2C is used, a first dtb must
be used before the I2C is initialized and only then the final dtb can be
selected.
To speed up the process and reduce memory usage, introduce a new function
fdtdec_setup_best_match() that re-use the DTBs loaded in memory by
fdtdec_setup() to select the best match.Signed-off-by: Jean-Jacques Hiblot
Reviewed-by: Heiko Schocher
06 Dec, 2018
1 commit
-
- Various MTD fixes from Boris
- Zap various unused / legacy paths.
- pxa3xx NAND update from MiquelSigned-off-by: Tom Rini
04 Dec, 2018
5 commits
-
The biggest part of migration to using CONFIG_BLK is that we need to
have the various subsystems migrated first, so reword the plan here to
reference the new deadlines.Reviewed-by: Simon Glass
Signed-off-by: Tom Rini -
As the core of the subsystem has been converted along with some of the
drivers, formalize a deadline for migration.Cc: Akshay Bhat
Cc: Andreas Geisreiter
Cc: Bin Meng
Cc: Christian Gmeiner
Cc: Fabio Estevam
Cc: Jason Liu
Cc: Ken Lin
Cc: Ludwig Zenz
Cc: Marek Vasut
Cc: Max Krummenacher
Cc: Nikita Kiryanov
Cc: Otavio Salvador
Cc: Peng Fan
Reviewed-by: Simon Glass
Cc: Soeren Moch
Cc: Stefan Roese
Cc: Stefano Babic
Cc: Tim Harvey
Cc: Troy Kisky
Cc: Tuomas Tynkkynen
Cc: York Sun
Signed-off-by: Tom Rini -
As much of the USB system has been migrated to DM now, formalize a
deadline for migration.Reviewed-by: Marek Vasut
Reviewed-by: Simon Glass
Signed-off-by: Tom Rini -
Given that at this point the MMC subsystem itself has been migrated
along with a number of subsystem drivers, formalize a deadline for
migration.Reviewed-by: Simon Glass
Cc: Jaehoon Chung
Signed-off-by: Tom Rini
Reviewed-by: Simon Goldschmidt
Reviewed-by: Philipp Tomsich -
Patch queue for efi - 2018-12-03
This release is fully packed with lots of glorious improvements in UEFI
land again!- Make PE images more standards compliant
- Improve sandbox support
- Improve correctness
- Fix RISC-V execution on virt model
- Honor board defined top of ram (fixes a few boards)
- Imply DM USB access when distro boot is available
- Code cleanups
03 Dec, 2018
2 commits
-
Signed-off-by: Philippe Reynes
Reviewed-by: Simon Glass -
Provide settings for Open-iSCSI
Reformat headers. h3-headers marked with ^^^ are not recognized in some
markup editors. Use the ### notation instead.Signed-off-by: Heinrich Schuchardt
Signed-off-by: Alexander Graf
30 Nov, 2018
1 commit
29 Nov, 2018
2 commits
-
Linux uses "cdns,qspi-nor" as compatible string for the cadence
qspi driver, so change driver, docs and all device trees.Signed-off-by: Simon Goldschmidt
-
Add a few notes on how to try out the MediaTek support so far.
Signed-off-by: Ryder Lee
Tested-by: Frank Wunderlich
Reviewed-by: Simon Glass
27 Nov, 2018
2 commits
-
spi_init used in some areas in tree, but the respective
drivers will remove in future patches.So remove the same instances.
Signed-off-by: Jagan Teki
26 Nov, 2018
3 commits
-
The old 'sb' command was deprecated in 2015 and replaced with 'host'.
Remove the remaining users and the command, so that the name is available
for other purposes.Signed-off-by: Simon Glass
-
Add a description of the purpose of bloblist and how to use it.
Signed-off-by: Simon Glass
-
Add a boot command to distro boot to support disks connected over the
VirtIO bus. The boot command uses the shared block environment.Signed-off-by: Lukas Auer
Reviewed-by: Bin Meng
Reviewed-by: Alexander Graf
17 Nov, 2018
3 commits
-
K3 based AM654 devices has DDR memory subsystem that comprises
Synopys DDR controller, Synopsis DDR phy and wrapper logic to
intergrate these blocks into the device. This DDR subsystem
provides an interface to external SDRAM devices. Adding support
for the initialization of the external SDRAM devices by
configuring the DDRSS registers and using the buitin PHY
routines.Reviewed-by: Tom Rini
Signed-off-by: Lokesh Vutla
Signed-off-by: Andreas Dannenberg
Signed-off-by: Keerthy
Signed-off-by: Schuyler Patton
Signed-off-by: James Doublesin -
Signed-off-by: Martin Fuzzey
-
Convert the Watchdog driver for AT91SAM9x processors to support
the driver model and device tree. Changes "CONFIG_AT91SAM9_WATCHDOG"
to new "CONFIG_WDT_AT91" Kconfig option.Signed-off-by: Prasanthi Chellakumar
15 Nov, 2018
2 commits
-
Add some description about pre-relocation driver binding, including
usage of DM_FLAG_PRE_RELOC flag and caveats.Signed-off-by: Bin Meng
Reviewed-by: Simon Glass -
Add REAME.virtio to describe the information about U-Boot support for
VirtIO devices, including supported boards, build instructions, driver
details etc.Signed-off-by: Bin Meng
Reviewed-by: Simon Glass
06 Nov, 2018
1 commit
-
This patch adds ethernet support for the MIPS based Mediatek MT76xx SoCs
(e.g. MT7628 and MT7688), including a minimum setup of the integrated
switch. This driver is loosly based on the driver version included in
this MediaTek github repository:https://github.com/MediaTek-Labs/linkit-smart-uboot.git
Tested on the MT7688 LinkIt smart-gateway and on the
Gardena-smart-gateway.Signed-off-by: Stefan Roese
Reviewed-by: Daniel Schwierzeck
Cc: Joe Hershberger
Cc: Frank Wunderlich
Cc: Weijie Gao
Acked-by: Joe Hershberger
25 Oct, 2018
1 commit
-
Merged imx8 architecture, fix build for imx8 + warnings
22 Oct, 2018
9 commits
-
There is no need to have README in all i.MX documents name.
Remove README from i.MX docs name and add .txt file extension.Signed-off-by: Breno Lima
Reviewed-by: Ye Li -
The Serial Download Protocol feature is availible in various
i.MX SoCs.Move README.sdp document to imx/misc directory.
Signed-off-by: Breno Lima
-
The current High Assurance Boot document README.mxc_hab
include details for the following features in a single file:- HAB Secure Boot
- HAB Encrypted BootSplit HAB documentation in a specific directory for a cleaner
documentation structure, subsequent patches will include more
content in HAB documentation.Signed-off-by: Breno Lima
-
The following documents describe device details according to the
i.MX family:- README.imx25
- README.imx27
- README.imx5
- README.imx6
- README.mxsMove all device common related document to doc/imx/common for a better
directory structure.Signed-off-by: Breno Lima
-
The following documents describe the image type used by the mkimage
tool to generate U-Boot images for i.MX devices.- README.imximage
- README.mxsimageMove all mkimage related document to doc/imx/mkimage for a better
directory structure.Signed-off-by: Breno Lima
-
Currently the Serial Download Protocol tools and procedure are
documented in two places:- doc/imx/README.sdp
- doc/imx/README.imx6It is better to consolidate all SDP related information into
README.sdp file, so move the content from README.imx6 to
README.sdp.Signed-off-by: Breno Lima
-
Currently the U-Boot doc/ directory contains the following files
that are only relevant for i.MX devices:- doc/README.imx25
- doc/README.imx27
- doc/README.imx5
- doc/README.imx6
- doc/README.imximage
- doc/README.mxc_hab
- doc/README.mxs
- doc/README.mxsimage
- doc/README.sdpMove all content to a common i.MX folder for a better documentation
structure.Signed-off-by: Breno Lima
-
There are some sections in current doc saying 64-bit is unsupported.
This apparently is out of date. Remove it.Signed-off-by: Bin Meng
Reviewed-by: Heinrich Schuchardt -
Currently only 32-bit U-Boot for QEMU x86 is documented. Mention
the 64-bit support.Signed-off-by: Bin Meng
Reviewed-by: Heinrich Schuchardt
Reviewed-by: Simon Glass
21 Oct, 2018
1 commit
-
Reword the documentation to make it clear the compatible string is now
optional, yet still matching on it takes precedence over PCI IDs and
PCI classes.Signed-off-by: Marek Vasut
Cc: Simon Glass
Cc: Tom Rini
Reviewed-by: Bin Meng
12 Oct, 2018
1 commit