16 Sep, 2017
1 commit
-
This adds support to Intel Cherry Hill board, a board based on
Intel Braswell SoC. The following devices are validated:- serial port as the serial console
- on-board Realtek 8169 ethernet controller
- SATA AHCI controller
- EMMC/SDHC controller
- USB 3.0 xHCI controller
- PCIe x1 slot with a graphics card
- ICH SPI controller with an 8MB Macronix SPI flash
- Integrated graphics device as the video consoleSigned-off-by: Bin Meng
Reviewed-by: Simon Glass
15 Sep, 2017
13 commits
-
Use the clust_to_sect() helper that was introduced earlier, and add an
inverse sect_to_clust(), plus update the various spots that open-coded
this conversion previously.Signed-off-by: Rob Clark
Reviewed-by: Simon Glass -
Noticed when comparing our output to linux. There are some lcase bits
which control whether filename and/or extension should be downcase'd.Signed-off-by: Rob Clark
Reviewed-by: Łukasz Majewski
Reviewed-by: Simon Glass -
Add a generic implementation of 'ls' using opendir/readdir/closedir, and
replace fat's custom implementation. Other filesystems should move to
the generic implementation after they add opendir/readdir/closedir
support.Signed-off-by: Rob Clark
Reviewed-by: Łukasz Majewski
Reviewed-by: Simon Glass -
Spotted by chance, when trying to remove file_fat_ls(), I noticed there
were some dead users of the API.Signed-off-by: Rob Clark
Acked-by: Stefan Brüns
Reviewed-by: Simon Glass -
Needed to support efi file protocol. The fallback.efi loader wants
to be able to read the contents of the /EFI directory to find an OS
to boot.Modelled after POSIX opendir()/readdir()/closedir(). Unlike the other
fs APIs, this is stateful (ie. state is held in the FS_DIR "directory
stream"), to avoid re-traversing of the directory structure at each
step. The directory stream must be released with closedir() when it
is no longer needed.Signed-off-by: Rob Clark
Reviewed-by: Łukasz Majewski
Reviewed-by: Simon Glass -
And drop a whole lot of ugly code!
Signed-off-by: Rob Clark
Reviewed-by: Łukasz Majewski
Reviewed-by: Simon Glass -
Untangle directory traversal into a simple iterator, to replace the
existing multi-purpose do_fat_read_at() + get_dentfromdir().Signed-off-by: Rob Clark
Reviewed-by: Łukasz Majewski -
Want to re-use this in fat dirent iterator in next patch.
Signed-off-by: Rob Clark
Reviewed-by: Łukasz Majewski
Reviewed-by: Simon Glass -
To remove the assignment of CONFIG_SYS_EXTRA_OPTIONS option,
which is deprecated, use the CONFIG_XXXX_BOOT options to
indicate the boot media, and the SoC is selected by the board.Signed-off-by: Wenyou Yang
-
As said in READRE.kconfig, include/configs/*.h will be removed
after all options are switched to Kconfig. As the first step,
remove the follow line from include/configs/*.h.#include
Signed-off-by: Wenyou Yang
-
The SAMA5D27-SiP (System in Package) integrates the SAMA5D2
with 1Gbit DDR2-SDRAM in a single package.The SAMA5D27 SOM1 embeds a 64Mbit QSPI flash, KSZ8081 Phy and
Mac-address EEPROM.Signed-off-by: Wenyou Yang
Reviewed-by: Simon Glass -
Because before switching to a lower clock source, we must switch
the clock source first instead of last. So before configuring the
PMC_MCKR register, invoke at91_mck_init_down() first.As said in datasheet, the the size of SPL must not exceed the maximum
size allowed(64Kbytes).Signed-off-by: Wenyou Yang
Reviewed-by: Simon Glass -
In order to display the company's logo via the API of DM_VIDEO,
and add the logo files of both Atmel and Microchip.Signed-off-by: Wenyou Yang
Reviewed-by: Simon Glass
13 Sep, 2017
10 commits
-
This converts the following to Kconfig:
CONFIG_EMIF4
CONFIG_SDRCSigned-off-by: Adam Ford
Reviewed-by: Simon Glass
Reviewed-by: Stefano Babic -
In mancy cases both CONFIG_ENV_OFFSET and CONFIG_ENV_ADDR point
to an otherwise-unused SMNAND_ENV_OFFSET.
This patch will set both CONFIG_ENV_OFFSET and CONFIG_ENV_ADDR to
whatever value was defined by SMNAND_ENV_OFFSET.Signed-off-by: Adam Ford
-
Some drivers in Linux (ex. drivers/mtd/nand/denali.c) use
ioread*/iowrite* accessors. Import them to make drivers more
synced. I copied code from include/asm-generic/io.h of Linux.Signed-off-by: Masahiro Yamada
-
Import include/linux/dma-direction.h from Linux 4.13-rc7 and delete
duplicated definitions of enum dma_data_direction.Signed-off-by: Masahiro Yamada
Reviewed-by: Andy Shevchenko -
Much of the AM3517 functions are copies of the standard definitions
used in ti_omap3_common.h. Moving to include a common file
reduces the amount of duplicative code and clutter. A few
AM3517 specific functions (like EMIF4) are explictly defined
and a few items are undefined or redefined, but overall the number
of lines of code shink.Signed-off-by: Adam Ford
Tested-by: Derald D. Woods -
The PMMC firmware should be bundled with the FIT image for HS devices,
remove the steps that load and install this firmware outside of FIT.Signed-off-by: Andrew F. Davis
-
Add a new image type representing TI Power Management
Micro-Controller (PMMC) Firmware image type.Signed-off-by: Andrew F. Davis
-
This works (roughly) the same way as linux's, but we currently always
print lower-case (ie. we just keep %pUB and %pUL for compat with linux),
mostly just because that is what uuid_bin_to_str() supports.%pUb: 01020304-0506-0708-090a-0b0c0d0e0f10
%pUl: 04030201-0605-0807-090a-0b0c0d0e0f10It will be used by a later efi_loader paths for efi variables and for
device-path-to-text protocol, and also quite useful for debug prints
of protocol GUIDs.Signed-off-by: Rob Clark
Tested-by: Heinrich Schuchardt
Reviewed-by: Simon Glass -
We'll eventually want these in a few places in efi_loader, and also
vsprintf.Signed-off-by: Rob Clark
12 Sep, 2017
11 commits
-
Currently, all fixed-clock declared in "clocks" node in device tree
can be binded by clk_fixed_rate.c driver only if each of them have
the "simple-bus" compatible string.
This constraint has been invoked here [1].This patch offers a solution to avoid adding "simple-bus" compatible
string to nodes that are not busses.[1] https://patchwork.ozlabs.org/patch/558837/
Signed-off-by: Patrice Chotard
Reviewed-by: Simon Glass -
Add a convenience macro to iterate over subnodes of a node. Make use of
this where appropriate in the code.Signed-off-by: Simon Glass
-
There is an overflow problem when taking the size instead of the number
of blocks in blk_create_device(). This results in a wrong device size: the
device apparent size is its real size modulo 4GB.
Using the number of blocks instead of the device size fixes the problem and
is more coherent with the internals of the block layer.Signed-off-by: Jean-Jacques Hiblot
Reviewed-by: Simon Glass -
Add the code to set the ethernet mac address from eeprom by using
the common code from the common folder.Signed-off-by: Wenyou Yang
Reviewed-by: Simon Glass -
Replace the code to set the ethernet mac address with the code from
the common folder.Signed-off-by: Wenyou Yang
Reviewed-by: Simon Glass -
Select dtb name for am57xx BeagleBoard-X15 revC
Signed-off-by: Lokesh Vutla
Reviewed-by: Tom Rini -
Sync all dra7* specific dts files with the upstream
kernel including changes queued for 4.14https://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap.git/log/?h=omap-for-v4.14/dt-v3
Signed-off-by: Lokesh Vutla
Reviewed-by: Tom Rini -
Select dtb name for dra76-evm.
Reviewed-by: Tom Rini
Signed-off-by: Lokesh Vutla -
ldo4 is used to poweron mmc on dra76-evm. Enable it.
Reviewed-by: Tom Rini
Signed-off-by: Lokesh Vutla -
It is not necessary that ldo1 is used to power on mmc.
So, add support for passing ldo registers for powering on mmc.Reviewed-by: Tom Rini
Signed-off-by: Lokesh Vutla
11 Sep, 2017
5 commits
-
Enabled PCIe support and PCI command feature.
Signed-off-by: Hou Zhiqiang
Reviewed-by: York Sun -
This patch adds support for RGMII protocol
NXP's LDPAA2 support RGMII protocol. LS1088A is the
first Soc supporting both RGMII and SGMII.Signed-off-by: Prabhakar Kushwaha
Signed-off-by: Amrita Kumari
Signed-off-by: Ashish Kumar
Reviewed-by: York Sun -
This patch add support of LS1088AQDS platform.
The LS1088A QorIQTM Development System (QDS) is a high-performance
computing, evaluation, and development platform that supports the
LS1088A QorIQ Architecture processor.Signed-off-by: Prabhakar Kushwaha
Signed-off-by: Shaohui Xie
Signed-off-by: Ashish Kumar
Reviewed-by: York Sun -
LS1088A is an ARMv8 implementation. The LS1088ARDB is an evaluatoin
platform that supports the LS1088A family SoCs. This patch add basic
support of the platform.Signed-off-by: Alison Wang
Signed-off-by: Prabhakar Kushwaha
Signed-off-by: Ashish Kumar
Signed-off-by: Raghav Dogra
Signed-off-by: Shaohui Xie
[YS: Disabled NAND in board header file]
Reviewed-by: York SunWIP: disable NAND for LS1088ARDB
-
CoreLink Cache Coherent Interconnect (CCI) provides full cache
coherency between two clusters of multi-core CPUs and I/O coherency
for devices and I/O masters.This patch add new config option SYS_FSL_HAS_CCI400 and moves
existing register space definaton of CCI-400 bus to fsl_immap to be
shared. CONFIG_SYS_CCI400_ADDR is replaced with SYS_CCI400_OFFSET
in Kconfig.Signed-off-by: Ashish Kumar
Signed-off-by: Prabhakar Kushwaha
[YS: revised commit message, squashed patches for armv8 and armv7]
Reviewed-by: York Sun