15 Dec, 2019
4 commits
-
If these phases are used we typically want to enable pinctrl in then, so
that pad setup and GPIO access are possible.Signed-off-by: Simon Glass
Reviewed-by: Bin Meng -
We don't want to pull in libfdt if of-platdata is being used, since it
reduces the available code-size saves. Also, SPI flash is seldom needed
in TPL.Drop these options.
Signed-off-by: Simon Glass
Reviewed-by: Bin Meng -
Update this uclass to support the needs of the Apollo Lake ITSS. It
supports four operations.Move the uclass into a separate directory so that sandbox can use it too.
Add a new Kconfig to control it and enable this on x86.Signed-off-by: Simon Glass
Reviewed-by: Bin Meng -
Add a simple PMC for sandbox to permit tests to run.
Signed-off-by: Simon Glass
Reviewed-by: Bin Meng
02 Sep, 2019
1 commit
-
Enable OF control for SH4 R2Dplus board. This is necessary, because
the PCI uclass is designed in a way that makes it depend on DT and
disallows instanciating devices without DT (e.g. with platdata).Signed-off-by: Marek Vasut
Cc: Nobuhiro Iwamatsu
26 Aug, 2019
1 commit
-
U-Boot SPL on the generic RISC-V CPU supports two boot flows, directly
jumping to the image and via OpenSBI firmware. In the first case, both
U-Boot SPL and proper must be compiled to run in the same privilege
mode. Using OpenSBI firmware, U-Boot SPL must be compiled for machine
mode and U-Boot proper for supervisor mode.To be able to use SPL, boards have to provide a supported SPL boot
device.Signed-off-by: Lukas Auer
Reviewed-by: Bin Meng
Tested-by: Bin Meng
Reviewed-by: Anup Patel
19 Aug, 2019
1 commit
-
This is a generic implementation. Add CONFIG_SYSRESET_CMD_POWEROFF
to signal when we need it. Enable it from the STPMIC1 config and in
sandbox.The config flag is transitionary, that is it can be removed after all
poweroff implementations use sysreset, and just have CMD_POWEROFF depend
on sysreset.Signed-off-by: Urja Rannikko
Reviewed-by: Patrice Chotard
Reviewed-by: Patrick Delaunay
Tested-by: Patrick Delaunay
19 Jul, 2019
1 commit
-
Adds a test using a makeshift MDIO MUX. The test is based on the existing
MDIO test. It uses the last emulated PHY register to verify MUX selection.Signed-off-by: Alex Marginean
Acked-by: Joe Hershberger
Reviewed-by: Bin Meng
16 Jul, 2019
1 commit
-
A very simple test for DM_MDIO, mimicks a register write/read through the
sandbox bus to a dummy PHY.Signed-off-by: Alex Marginean
Reviewed-by: Bin Meng
Tested-by: Bin Meng
Acked-by: Joe Hershberger
11 Jul, 2019
1 commit
-
Add a dummy PCI endpoint for sandbox.
Supporting only a single function, it allows setting
and reading header configuration.Signed-off-by: Ramon Fried
Reviewed-by: Simon Glass
13 Jun, 2019
1 commit
-
In order to use CMD_SF / CMD_SPI / ENV_IS_IN_SPI_FLASH we need to have
the SPI (or SPI_FLASH/DM_SPI_FLASH, for CMD_SF) enabled. Express this
in the Kconfigs.Signed-off-by: Tom Rini
Reviewed-by: Jagan Teki
24 May, 2019
1 commit
-
Add SUPPORT_OF_CONTROL at this stage, to avoid to break build
bisectability.Signed-off-by: Angelo Dureghello
10 May, 2019
1 commit
-
Improvements and new features:
- split more rockchip pinctrl_core feature into per SoC
- enable TPL for evb-rk3399 board
- enable TPL/SPL for evb-px5 board
- enable TPL and OP-TEE support for evb-rk3229
- update fix in arm common assembly start code for rockchip header file
- update default SPL_FIT_GENERATOR for rockchip
- rk3399 boards update to use '-u-boot.dtsi'
- add new rk3399 boards: Nanopi M4, Nanopc T4
- enable sound for chromebook_minnie
08 May, 2019
3 commits
-
SPL/TPL also need use sysreset for some feature like panic callback.
Signed-off-by: Kever Yang
-
With the move to Kconfig this option should be set in Kconfig, not in the
config header file. Move it.Signed-off-by: Simon Glass
Reviewed-by: Bin Meng -
At present only chromebook_link64 supports SPL. It is useful to eb able to
support both TPL and SPL to implement verified boot on x86.Enable the options for both along with some suitable default options
needed to boot through these phases.Signed-off-by: Simon Glass
Reviewed-by: Bin Meng
05 May, 2019
1 commit
-
On AM654 SoC(arm64) which is IO coherent and has L3 Cache, cache
maintenance operations being done to support non-coherent platforms
causes issues.For example, here is how U-Boot prepares/handles a buffer to receive
data from a device (DMA Write). This may vary slightly depending on the
driver framework:Start DMA to write to destination buffer
Wait for DMA to be done (dma_receive()/dma_memcpy())
Invalidate destination buffer (invalidate_dcache_range())
Read from destination bufferThe invalidate after the DMA is needed in order to read latest data from
memory that’s updated by DMA write. Also, in case random prefetch has
pulled in buffer data during the “wait for DMA” before the DMA has
written to it. This works well for non-coherent architectures.In case of coherent architecture with L3 cache, DMA write would directly
update L3 cache contents (assuming cacheline is present in L3) without
updating the DDR memory. So invalidate after “wait for DMA” in above
sequence would discard latest data and read will cause stale data to be
fetched from DDR. Therefore invalidate after “wait for DMA” is not
always correct on coherent architecture.Therefore, provide a Kconfig option to disable cache maintenance ops on
coherent architectures. This has added benefit of improving the
performance of DMA transfers as we no longer need to invalidate/flush
individual cache lines(especially for buffer thats several KBs in size).In order to facilitate use of same Kconfig across different
architecture, I have added the symbol to top level arch/Kconfig file.
Patch currently disables cache maintenance ops for arm64 only.
flush_dcache_all() and invalidate_dcache_all() are exclusively used
during enabling/disabling dcache and hence are not disabled.Signed-off-by: Vignesh Raghavendra
27 Feb, 2019
1 commit
-
We select CREATE_ARCH_SYMLINK for RISC-V so that we can have
include/asm/arch linked to include/asm/arch-xyz.Signed-off-by: Anup Patel
Reviewed-by: Bin Meng
20 Feb, 2019
1 commit
-
At present this uclass is selected only on x86. In order to add a test for
it, it must also support sandbox. Create a new CONFIG_PCH option and
enable it on x86 and sandbox.Signed-off-by: Simon Glass
Reviewed-by: Bin Meng
14 Dec, 2018
1 commit
-
The U-Boot sound system provides basic support for beeping. At present it
does not use driver model, but it needs to be converted. Add an option to
enable driver model for sound. For now it is not connected to anything.
Future work will add drivers which use this option. It will then be
removed once everything is converted.Signed-off-by: Simon Glass
26 Nov, 2018
1 commit
-
Add a unit test for the bloblist functionality and enable bloblist for
sandbox.Signed-off-by: Simon Glass
15 Nov, 2018
2 commits
-
Now that we have a sandbox virtio transport driver, add some test
cases to test virtio uclass driver.Signed-off-by: Bin Meng
Reviewed-by: Simon Glass -
At present the generic io{read,write}{8,16,32} routines only support
MMIO access. With architecture like x86 that has a separate IO space,
these routines cannot be used to access I/O ports.Implement x86-specific version to support both PIO and MMIO access,
so that drivers for multiple architectures can use these accessors
without the need to know whether it's MMIO or PIO.These are ported from Linux kernel lib/iomap.c, with slight changes.
Signed-off-by: Bin Meng
Reviewed-by: Simon Glass
08 Oct, 2018
1 commit
-
Enables cmd_avb and its dependencies need to run the AVB tests.
Reviewed-by: Simon Glass
Signed-off-by: Jens Wiklander
[trini: Disable for sandbox_noblk]
Signed-off-by: Tom Rini
07 Oct, 2018
1 commit
-
Reviewed-by: Simon Glass
Signed-off-by: Jens Wiklander
03 Oct, 2018
3 commits
-
This implies DM support for some common drivers that are used on
RISC-V.Signed-off-by: Bin Meng
Reviewed-by: Lukas Auer -
RISC-V is a pretty new architecture and should support DM and
OF_CONTROL by default.Signed-off-by: Bin Meng
Reviewed-by: Lukas Auer -
It's RISC-V that is the official name, not RISCV.
Signed-off-by: Bin Meng
Reviewed-by: Lukas Auer
Reviewed-by: Rick Chen
30 Sep, 2018
1 commit
-
Add a test which verifies that all subnodes under "/firmware"
nodes are scanned.Signed-off-by: Rajan Vaja
Reviewed-by: Simon Glass
Added 'imply FIRMWARE' to sandbox Kconfig to fix test failures, fixed
ordering of lines in arch/sandbox/dts/test.dts and test/dm/Makefile,
updated #if condition in drivers/firmware/firmware-uclass.c:
Signed-off-by: Simon Glass
18 Sep, 2018
1 commit
-
Imply CONFIG_BITREVERSE for Sandbox.
Signed-off-by: Bin Meng
Reviewed-by: Simon Glass
30 Jul, 2018
2 commits
-
CMD_DM is used for debug purpose and it shouldn't be enabled by default
via Kconfig. Unfortunately this is in the tree for quite a long time
that's why solution is to use imply DM for all targets which are
enabling DM.Signed-off-by: Michal Simek
Reviewed-by: Tom Rini
Reviewed-by: Joe Hershberger -
Fix Kconfig bool, default, select and imply options to be
alphabetically sorted.Signed-off-by: Michal Simek
Reviewed-by: Tom Rini
20 Jul, 2018
1 commit
-
This converts all x86 boards over to DM sysreset.
Signed-off-by: Bin Meng
Reviewed-by: Simon Glass
Tested-by: Andy Shevchenko
28 Apr, 2018
1 commit
-
This converts the following to Kconfig:
CONFIG_SPIThis partly involves updating code that assumes that CONFIG_SPI implies
things that are specific to the MPC8xx SPI driver. For now, just update
the CONFIG tests. This also involves reworking the default for
CONFIG_SYS_DEF_EEPROM_ADDR so that we don't set it when we cannot make a
reasonable default, as it does not cause any compile failures.Signed-off-by: Adam Ford
Signed-off-by: Tom Rini
09 Feb, 2018
1 commit
-
config_fallbacks.h has some logic that sets HAVE_BLOCK_DEVICE
based on a list of enabled options. Moving HAVE_BLOCK_DEVICE to
Kconfig allows us to drastically shrink the logic in
config_fallbacks.hSigned-off-by: Adam Ford
[trini: Rename HAVE_BLOCK_DEVICE to CONFIG_BLOCK_DEVICE]
Signed-off-by: Tom Rini
31 Jan, 2018
1 commit
-
This converts the following to Kconfig:
CONFIG_SYS_BOOT_GET_CMDLINE
CONFIG_SYS_BOOT_GET_KBDSigned-off-by: Derald D. Woods
12 Jan, 2018
1 commit
-
Support common commands bdinfo and image format,
also modify common generic flow for RISC-V.Signed-off-by: Rick Chen
Signed-off-by: Rick Chen
Signed-off-by: Greentime Hu
Reviewed-by: Tom Rini
08 Sep, 2017
2 commits
-
This migrates ASIX, ASIX88179, MCS7830, RTL8152 and SMSC95XX to Kconfig.
Update defconfigs.Signed-off-by: Chris Packham
Reviewed-by: Simon Glass -
CONFIG_USB_HOST_ETHER is the framework that the drivers are dependent on
USB_HOST_ETHER. Use this as a menu and move the existing LAN75XX and
LAN78XX options under new menu. Finally update the defconfigs that need
CONFIG_USB_HOST_ETHER.Signed-off-by: Chris Packham
Reviewed-by: Simon Glass
24 Aug, 2017
1 commit
-
Let's imply the 'pci' command to access the de facto interconnect
bus in an x86 system.Signed-off-by: Bin Meng
Reviewed-by: Stefan Roese