mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
54 commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
cd9dcad8f7 | add easy550_anywan_smart3board | ||
|
|
d86336c526 | u-boot-grx500: Use device tree to kernel and remove legacy. | ||
|
|
5af81c786f | fix ex400: update_package do not work for u-boot anymore. | ||
|
|
b5d073a39f |
Update feed [ iopsys ] package [ u-boot ]
-------------------------------------------------------------------------------
* b9fece4 Add the missing M in the environmental variable bootargs_ubi
-------------------------------------------------------------------------------
commit b9fece495814fec83970688df2cf19a320d05090
Author: Michael Zhang <m.zhang@genexis.eu>
Date: 2018-10-10 14:35:43 +0200
Add the missing M in the environmental variable bootargs_ubi
'mem=480M@512' caused a kernel panic in Intel GRX evaluation boards. The
parameter shall be 'mem=480M@512M'.
Base directory -> /
include/configs/iopsys.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
|
||
|
|
1dfbcb34ca |
easy550: can not build u-boot in parallel.
Until this is fixed do not build in parallel for all targets. |
||
|
|
89afdc3012 | rename target iopsys-grx to intel_mips. | ||
|
|
313e8dc921 |
Update feed [ uboot ]
a86e524 Merge branch 'iopsys-pstore' into 'ex400' |
||
|
|
d4aa675a7a | iopsys: point to new iopsys git repositories | ||
|
|
6f01d2ddec | u-boot: fix dependencies | ||
|
|
3fe5c42fab | u-boot: fix dependencies | ||
|
|
31e91d4b79 | ex400: switch active bank on reset press. | ||
|
|
8df30d7d16 |
Update feed [ feed_inteno_packages ] package [ u-boot ]
-------------------------------------------------------------------------------
* 505b9eb To boot on grx550 board the last M is important.
-------------------------------------------------------------------------------
commit 505b9ebb3d3f620e46f16a9b7b364ecc64256c2f
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2018-09-14 15:52:56 +0200
To boot on grx550 board the last M is important.
Base directory -> /
include/configs/iopsys.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
|
||
|
|
9b25b48eb5 | uboot: add support for compiling grx500. | ||
|
|
f52e3a6d43 |
update uboot inteno version
if we upg uboot, env inteno version should be set |
||
|
|
ad4bdf1cbe |
u-boot: new version to force update on all boards.
Force the u-boot version to include the actual build time. This is needed for the "uboot_inteno_version" variable update to work in all situations. |
||
|
|
ca1d9f7fb8 | Update git hash | ||
|
|
aa36791efd |
Update feed [ feed_inteno_packages ] package [ u-boot ]
-------------------------------------------------------------------------------
* e6465d2 Rename sdx_500ap -> sdx810_ap
-------------------------------------------------------------------------------
commit e6465d2ad8ac159ada0051d8f30385d9d7d3ba86
Author: Benjamin Larsson <benjamin@southpole.se>
Date: 2018-02-08 12:39:33 +0100
Rename sdx_500ap -> sdx810_ap
Base directory -> /
arch/mips/Kconfig | 16 ++
board/inteno/sdx810_ap/Kconfig | 23 ++
board/inteno/sdx810_ap/Makefile | 10 +
board/inteno/sdx810_ap/board.c | 7 +
configs/sdx810_ap_defconfig | 511 ++++++++++++++++++++++++++++++++++++++++
5 files changed, 567 insertions(+)
-------------------------------------------------------------------------------
|
||
|
|
66e669c06a | Rename sdx_500ap -> sdx810_ap | ||
|
|
cd46d8ea1d |
uboot: Fix hang. variable is of array type not char.
Boot was hanging. |
||
|
|
bd9637b8f5 | u-boot: support for sdx-500ap | ||
|
|
23fdec1d3e | uboot: add sdx-500ap board. | ||
|
|
9df7cab0b4 |
Update feed [ feed_inteno_packages ] package [ u-boot ]
-------------------------------------------------------------------------------
* f502d1b Add support for y3 images.
* 21fa9cc rename y2image command to yimage
-------------------------------------------------------------------------------
commit f502d1b589f14142bf7d7719e8434014f180d03f
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2017-09-27 18:22:33 +0200
Add support for y3 images.
Base directory -> /
board/inteno/ex400/ex400_setup | 4 +-
board/inteno/ex400/httpd.c | 2 +-
board/inteno/ex400/production/ex400_setup | 4 +-
board/inteno/ex400/y_image.c | 65 +++++++++++++++++++++++--------
4 files changed, 53 insertions(+), 22 deletions(-)
-------------------------------------------------------------------------------
commit 21fa9cc7a1ccd18e83e7803e01de4c162d2731b1
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2017-09-27 18:21:01 +0200
rename y2image command to yimage
Base directory -> /
board/inteno/ex400/Makefile | 2 +-
board/inteno/ex400/y2_image.c | 219 ----------------------------------------
board/inteno/ex400/y_image.c | 225 ++++++++++++++++++++++++++++++++++++++++++
3 files changed, 226 insertions(+), 220 deletions(-)
-------------------------------------------------------------------------------
|
||
|
|
13e2f6a252 |
Update feed [ feed_inteno_packages ] package [ u-boot ]
-------------------------------------------------------------------------------
* 064c9c3 Shorter timeout after upgrading rescue image
* 008997a Add -f option to rescue command.
* a9619c7 Rescue mode has to reset boot counters.
-------------------------------------------------------------------------------
commit 064c9c30ff159c9bf3fa695baddd54279cd0f062
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2017-06-19 17:16:48 +0200
Shorter timeout after upgrading rescue image
Base directory -> /
board/inteno/ex400/httpd.c | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 008997a8a559978870849dc82fc6ced4c2eaaa59
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2017-06-19 15:09:22 +0200
Add -f option to rescue command.
This allows it to run without having to push the reset button.
Base directory -> /
board/inteno/ex400/board.c | 53 +++++++++++++++++++++++++++++++++++-----------
1 file changed, 41 insertions(+), 12 deletions(-)
-------------------------------------------------------------------------------
commit a9619c7110586089dc3f9b72391e467e1f40d309
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2017-06-19 14:58:24 +0200
Rescue mode has to reset boot counters.
Base directory -> /
board/inteno/ex400/httpd.c | 4 ++++
1 file changed, 4 insertions(+)
-------------------------------------------------------------------------------
|
||
|
|
53398998c2 | Force update of uboot | ||
|
|
caaec622bb | uboot: use correct commit. | ||
|
|
8163932184 |
Update feed [ feed_inteno_packages ] package [ u-boot ]
-------------------------------------------------------------------------------
* e3be71a Prevent ethernet to start up by default.
-------------------------------------------------------------------------------
commit e3be71a830289189eaa895cbdcc755e07a7712e0
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2017-05-11 16:07:59 +0200
Prevent ethernet to start up by default.
Add a new command net_init to start ethernet driver.
This is needed as the setup has all port in the same switch so WAN is
connected to LAN and dhcp on clients on LAN is getting out to the ISP and
stealing ip numbers.
Base directory -> /
board/inteno/ex400/board.c | 27 ++++++++++++++++++++++++---
1 file changed, 24 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
|
||
|
|
623466d5c6 | Use http url:s for public packets | ||
|
|
96e66fc839 | Move uboot repo to public.inteno.se | ||
|
|
44bda23f36 |
u-boot: escape escape escape
File copied to wrong place and with wrong permission. |
||
|
|
64ba407746 |
New version string used by inteno for u-boot.
We need to have a version that we can change whenever we want to force and update of u-boot. The u-boot version still exists. To change the version and force an update change the PKG_RELEASE variable in package Makefile. uboot version is now checked on startup and if the installed one is too old it will be updated. |
||
|
|
2d057b39a9 |
Update feed [ feed_inteno_packages ] package [ u-boot ]
-------------------------------------------------------------------------------
* a2aacfd Fix for ubifs mount.
-------------------------------------------------------------------------------
commit a2aacfdc3931a65b11929f685e7ed067bf1fbfa9
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2017-05-02 13:56:58 +0200
Fix for ubifs mount.
Replaying the journal require more memory. Give u-boot 4MB instead of 1MB.
Base directory -> /
include/configs/ex400.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
|
||
|
|
3dcaf20891 |
Update feed [ feed_inteno_packages ] package [ u-boot ]
-------------------------------------------------------------------------------
* 08fb2b8 If image can not be booted from uboot reboot.
-------------------------------------------------------------------------------
commit 08fb2b839326c3bc2a2a0472b5dae6ee0288e483
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2017-03-21 17:30:56 +0100
If image can not be booted from uboot reboot.
Only allow 10 reboots to prevent infinite reboot and write to flash.
Base directory -> /
board/inteno/ex400/iboot.c | 23 +++++++++++++++++++++--
1 file changed, 21 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
|
||
|
|
6b4c1d809b |
Update feed [ feed_inteno_packages ] package [ u-boot ]
-------------------------------------------------------------------------------
* 1fbe8f5 Revert "Set baudrate to 57600"
-------------------------------------------------------------------------------
commit 1fbe8f5bf3702285049273005c16071326fb75fa
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2017-03-21 17:22:49 +0100
Revert "Set baudrate to 57600"
This reverts commit 6f962f2c27eef98a16cc3236a0f28c422a0628c4.
Base directory -> /
include/configs/ex400.h | 2 +-
mt7621_stage_L2.bin | Bin 19896 -> 19896 bytes
2 files changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
|
||
|
|
9983e0cb74 |
Update feed [ feed_inteno_packages ] package [ u-boot ]
-------------------------------------------------------------------------------
* 6f962f2 Set baudrate to 57600
-------------------------------------------------------------------------------
commit 6f962f2c27eef98a16cc3236a0f28c422a0628c4
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2017-02-02 17:56:27 +0100
Set baudrate to 57600
Base directory -> /
include/configs/ex400.h | 2 +-
mt7621_stage_L2.bin | Bin 19896 -> 19896 bytes
2 files changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
|
||
|
|
ba1e3bdaa9 |
Update feed [ feed_inteno_packages ] package [ u-boot ]
-------------------------------------------------------------------------------
* 65ae089 Set led to red when executing from internal SRAM.
* 5909d1e jtag: script for starting debug from nand.
-------------------------------------------------------------------------------
commit 65ae089853ddd9652103b4052af4b351d66f2374
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2016-12-28 16:56:21 +0100
Set led to red when executing from internal SRAM.
then set it to yellow/orange when executing from DRAM.
Base directory -> /
Makefile | 14 ++++++++--
board/inteno/ex400/jtag/ex400_led.cmm | 15 ++++++++++
board/inteno/ex400/led.c | 2 +-
inteno_led.S | 50 ++++++++++++++++++++++++++++++++++
mt7621_stage_L2.bin | Bin 19896 -> 19896 bytes
5 files changed, 78 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
commit 5909d1e8240a7935d0005e88b2d4a1d35da50305
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2016-12-27 20:40:06 +0100
jtag: script for starting debug from nand.
Base directory -> /
board/inteno/ex400/jtag/ex400_quitck.cmm | 15 +++++++++++++++
1 file changed, 15 insertions(+)
-------------------------------------------------------------------------------
|
||
|
|
8c1b5a98aa |
Update feed [ feed_inteno_packages ] package [ u-boot ]
-------------------------------------------------------------------------------
* ee39c85 new default baudrate set to 115200.
-------------------------------------------------------------------------------
commit ee39c856a0162336ec53e76e330b19992a2b1b5a
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2016-12-23 13:45:35 +0100
new default baudrate set to 115200.
Base directory -> /
include/configs/ex400.h | 2 +-
mt7621_stage_L2.bin | Bin 19896 -> 19896 bytes
2 files changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
|
||
|
|
79f7392ae6 |
Update feed [ feed_inteno_packages ] package [ u-boot ]
-------------------------------------------------------------------------------
* 1c053dc Add example ex400_setup script
-------------------------------------------------------------------------------
commit 1c053dc6060f344b755f2e9cdf500114c83a747f
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2016-12-22 17:26:23 +0100
Add example ex400_setup script
Base directory -> /
board/inteno/ex400/production/ex400_setup | 76 +++++++++++++++++++++++++++++++
1 file changed, 76 insertions(+)
-------------------------------------------------------------------------------
|
||
|
|
44f1436849 |
Update feed [ feed_inteno_packages ] package [ u-boot ]
-------------------------------------------------------------------------------
* cee4778 Add iboot command.
-------------------------------------------------------------------------------
commit cee4778f767e8770a2ac7bf6ea819370bb7628ea
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2016-11-24 18:47:05 +0100
Add iboot command.
This is inteno boot that support automatic switch over to alternate system
image if something prevent boot on primary system.
Base directory -> /
board/inteno/ex400/Makefile | 1 +
board/inteno/ex400/iboot.c | 162 ++++++++++++++++++++++++++++++++++++++++++++
board/inteno/ex400/wget.c | 2 +-
3 files changed, 164 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
|
||
|
|
c4a65ad164 |
Update feed [ feed_inteno_packages ] package [ u-boot ]
-------------------------------------------------------------------------------
* 20ef6d6 Don't write dirty as version
* 3545594 Save uboot version in env.
-------------------------------------------------------------------------------
commit 20ef6d6e6933ca7430390001532181a6e0353a2a
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2016-11-15 15:05:22 +0100
Don't write dirty as version
Base directory -> /
scripts/setlocalversion | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
commit 354559453d0b6728dc96c9f7bbb4dbcaeba61242
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2016-11-15 14:09:51 +0100
Save uboot version in env.
Do this so that the linux system can check what u-boot version is used.
Base directory -> /
board/inteno/ex400/board.c | 22 ++++++++++++++++++++--
board/inteno/ex400/factory.c | 1 -
include/configs/ex400.h | 2 ++
3 files changed, 22 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
|
||
|
|
d69e7fe9ac |
Update feed [ feed_inteno_packages ] package [ u-boot ]
-------------------------------------------------------------------------------
* d907f86 print on serial port when rescue mode is active.
* b326684 Add led command.
-------------------------------------------------------------------------------
commit d907f8696346609080d0cf134d40acdc2c3f6ae6
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2016-11-14 19:30:04 +0100
print on serial port when rescue mode is active.
Base directory -> /
board/inteno/ex400/board.c | 1 +
1 file changed, 1 insertion(+)
-------------------------------------------------------------------------------
commit b326684d8c3a4083114a9981249d2c6c0792a0ab
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2016-11-14 19:26:49 +0100
Add led command.
Base directory -> /
board/inteno/ex400/Makefile | 1 +
board/inteno/ex400/board.c | 45 ++++++++++++++++++---------
board/inteno/ex400/led.c | 74 +++++++++++++++++++++++++++++++++++++++++++++
board/inteno/ex400/led.h | 14 +++++++++
4 files changed, 119 insertions(+), 15 deletions(-)
-------------------------------------------------------------------------------
|
||
|
|
0664b20b01 | update. | ||
|
|
9d0878aa21 | remove extra space. | ||
|
|
6e0eb90c0a |
new version and put u-boot into release file.
we need u-boot in the release file so that we can install a new version if that is needed. |
||
|
|
b5e0665e2c |
Update feed [ feed_inteno_packages ] package [ u-boot ]
-------------------------------------------------------------------------------
* 8cd9e36 Add format nand commands to default uboot env
-------------------------------------------------------------------------------
commit 8cd9e3642b5e6be5630385aa2e7eb7666ed0d4fb
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2016-09-28 11:54:46 +0200
Add format nand commands to default uboot env
Base directory -> /
include/configs/ex400.h | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
|
||
|
|
088d733b5e |
Update feed [ feed_inteno_packages ] package [ u-boot ]
-------------------------------------------------------------------------------
* c92bd59 make it work on UBI again.
-------------------------------------------------------------------------------
commit c92bd591777c9fb1e7c55e3e9da0e078a8be00b1
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2016-09-27 19:30:19 +0200
make it work on UBI again.
Base directory -> /
tools/env/fw_env.c | 21 +++++++++++++--------
1 file changed, 13 insertions(+), 8 deletions(-)
-------------------------------------------------------------------------------
|
||
|
|
a1a48a45c5 |
Update feed [ feed_inteno_packages ] package [ u-boot ]
-------------------------------------------------------------------------------
* e925b36 Rename ex300 to ex400
-------------------------------------------------------------------------------
commit e925b36e4e29416aac7f2a64ef40d44ef034d4c4
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2016-09-20 14:14:50 +0200
Rename ex300 to ex400
Base directory -> /
arch/mips/Kconfig | 6 +-
board/inteno/ex300/Kconfig | 11 -
board/inteno/ex300/Makefile | 10 -
board/inteno/ex300/board.c | 200 -------
board/inteno/ex300/jtag/ex300.cmm | 99 ----
board/inteno/ex300/jtag/go | 11 -
board/inteno/ex300/jtag/mt7621_ref_nand.cmm | 75 ---
board/inteno/ex300/lowlevel_init.S | 12 -
board/inteno/ex300/rt_mmap.h | 844 ----------------------------
board/inteno/ex400/Kconfig | 11 +
board/inteno/ex400/Makefile | 10 +
board/inteno/ex400/board.c | 200 +++++++
board/inteno/ex400/jtag/ex300.cmm | 99 ++++
board/inteno/ex400/jtag/go | 11 +
board/inteno/ex400/jtag/mt7621_ref_nand.cmm | 75 +++
board/inteno/ex400/lowlevel_init.S | 12 +
board/inteno/ex400/rt_mmap.h | 844 ++++++++++++++++++++++++++++
configs/ex300_defconfig | 511 -----------------
configs/ex400_defconfig | 511 +++++++++++++++++
include/configs/ex300.h | 202 -------
include/configs/ex400.h | 202 +++++++
21 files changed, 1978 insertions(+), 1978 deletions(-)
-------------------------------------------------------------------------------
|
||
|
|
bd27cec921 | Rename uboot from ex300 to ex400 | ||
|
|
8f9cd7052d |
Update feed [ feed_inteno_packages ] package [ u-boot ]
-------------------------------------------------------------------------------
* 1ab2028 Fix compile complaint
-------------------------------------------------------------------------------
commit 1ab2028647ef081ee7514d93bdf58bef6321e181
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2016-09-16 13:20:37 +0200
Fix compile complaint
Base directory -> /
include/configs/ex300.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
|
||
|
|
192f9c699b |
Update feed [ feed_inteno_packages ] package [ u-boot ]
------------------------------------------------------------------------------- * 12ea569 Fix compile error on openwrt_master * 582947b Only print boot reason. * d5f212a make ubi silent. * 9c4fe5c Merge branch 'mediatek' into ex300 |\ | * d878073 Fix reset. | * 875607e Add support for lauterbash trace32 jtag. * 01c5075 board: ks2: README: Update to add K2G support * 4c02c11 efi_loader: provide efi_mem_desc version * bac17b7 image-fit: switch ENOLINK to ENOENT * 3715a54 compiler.h: use system endian macros on OpenBSD * c989166 board: am57xx: Fix missing check for beagle_x15 * c0b1d80 board: am57xx: MAINTAINERS: Update for current maintainer * 2adbc17 global_data.h: Standardize tabs and alignment for comments * fce7850 pxe: Modify README to add the description about FIT image * f63963f pxe: Fix pxe boot with FIT image * 57247d9 common/Kconfig: Fix various innocuous typos. * db18a24 omap3_pandora: Only set bootargs if distro_bootcmd failed to load. * 40abfee omap3_pandora: Switch to use config_distro_bootcmd. * 174245b ARM: am335x: select DM_GPIO * 90c08d9 Increase default of CONFIG_SYS_MALLOC_F_LEN for SPL_OF_CONTROL * 1544698 ARM: armv7: move ARMV7_PSCI_NR_CPUS to Kconfig * 217f92b ARM: armv7: move CONFIG_ARMV7_PSCI to Kconfig * 5a3aae6 ARM: armv7: guard memory reserve for PSCI with #ifdef CONFIG_ARMV7_PSCI * 55a65e6 ARM: tegra: remove wrong dependency on SPL_BUILD * 4667c83 omap3_pandora: Switch to using "load" command to load the autoboot script. * f6eb836 omap3_pandora: Fix mmc loading of autoboot script to use correct syntax. * fa2f81b TI: Rework SRAM definitions and maximums * 31c98cb omap3logic: Fix PBIAS Bug * 740f7e5 README: add cmd directory description * 15db77d board/BuR/common: increase NET_RETRY_COUNT to 10 * 903f864 configs: am4xhs: Modify SPL load address to fix UART boot issue * eb817fc ARM: AM57xx: Enable post-processing of FIT artifacts loaded by U-Boot * 005337e8 ARM: DRA7xx: Enable post-processing of FIT artifacts loaded by U-Boot * dfaeea7 ARM: AM43xx: Enable post-processing of FIT artifacts loaded by U-Boot * 85a3772 spl: Rework image header parse to allow abort on raw image and os boot * 7302fbb regulator: fixed: obey startup delay * 07913d1 tools: moveconfig: add --spl option to move options for SPL build * 916224c tools: moveconfig: warn loudly if moved option has no entry in Kconfig * 09c6c06 tools: moveconfig: use sets instead of lists for failed/suspicious boards * e1a9962 tools: moveconfig: remove document about deprecated error message * cfe2556 meson: odroid-c2: enable Ethernet support through the device tree * 677b535 pinctrl: add driver for meson-gxbb pin controller * dd83840 arm: dts: update DTS files for meson-gxbb and odroid-c2 * 2c93637 pinctrl: generic: scan for "pins" and "groups" properties in sub-nodes * 950fe26 image-fit: fix fit_image_load() OS check * 601147b serial: bcm283x_mu: Detect disabled serial device * 04a993f bcm2835_gpio: Implement GPIOF_FUNC * c0afcb5 Merge branch 'master' of http://git.denx.de/u-boot-sunxi |\ | * 5a74a39 sunxi: fix 64-bit compiler warning for SPL header parsing | * fa855d3 sunxi: Kconfig: rename non-existent SUN50I_A64 config symbol | * eb504fa Revert "sunxi: Move the SPL stack top to 0x1A000 on Allwinner A64/A80" | * de300ea sunxi: Add defconfig and dts file for the Orange Pi Plus2E SBC | * 1c145c3 sunxi: Enable emac on H3 orangepi boards | * 019731a sunxi: Sync h3-orangepi dts files with kernel | * 68871ef sunxi: Fix H3 EMAC syscon register address | * ca5c370 sunxi: Add support for A33-OLinuXino board | * 6d973ad sunxi: Add iNet D978 rev2 defconfig | * 8e71a7e sunxi: add proper device tree for iNet D978 rev2 boards * | 57288e3 Merge git://git.denx.de/u-boot-nand-flash |\ \ | * | 8b7d512 nand: Fix some more NULL name tests | * | 4004a81 nand: Fix nand info for no device | * | 91395b5 mtd: nand: pxa3xx: use nand_set_controller_data * | | 0068dd6 ARM: dts: dra72-evm: fix broken ethernet | |/ |/| * | b615267 ARM: tegra: Add support for TK1-SOM board from Colorado Engineering * | 7932d3e ARM: tegra: use numeric versioning for p2771-0000 |/ * cb1cbdd x86: qemu: efi: Add two boards for EFI 32-bit and 64-bit payload * 3e6cc35 x86: efi: Fix EFI 64-bit payload build warnings * 3dc51ab x86: efi: payload: Make EFI payload build again * 4cc00f0 x86: Add debugging when cpu_common_init() fails * e6294e0 x86: ivybridge: Allow microcode to be collated * fda4fa8 x86: Add debugging when a microcode update fails * ff62bdf Merge branch 'master' of git://git.denx.de/u-boot-uniphier |\ | * 8d11f80 ARM: uniphier: enable CONFIG_CMD_CACHE | * 85dc2fe ARM: uniphier: change UNIPHIER_SERIAL to default y option | * f063353 ARM: dts: uniphier: add u-boot, dm-pre-reloc to use eMMC boot on sLD3 | * e8811fc ARM: uniphier: increase CONFIG_SYS_MALLOC_F_LEN for sLD3 | * 499c867 ARM: uniphier: display revision of Micro Support Card 3.6.x kindly | * 928f324 ARM: uniphier: support system reset functionality for PSCI | * 4a89a24 mmc: uniphier-sd: just return if already set to desired clock rate | * 8be12e2 mmc: uniphier-sd: return error code if unsupported width is given | * 4eb0084 mmc: uniphier-sd: move uniphier_sd_init() below | * 3937404 mmc: uniphier-sd: migrate to CONFIG_DM_MMC_OPS | * 4a70d26 mmc: uniphier-sd: add static qualifiers to probe and remove callbacks * | b89dfcf Merge git://git.denx.de/u-boot-rockchip |\ \ | * | bc2f8a5 rockchip: rk3399: update MAINTAINER file | |/ * | c6b968d Merge branch 'master' of http://git.denx.de/u-boot-sunxi |\ \ | * | d5ac6ee sunxi: Tune H3 DRAM PLL to improve lock time | * | 421c98d sunxi: display: Use PWM to drive backlight where applicable | * | 8d463c5 sun5i: Add defconfig and dts file for the Empire Electronix M712 tablet | * | 860fbdd sunxi: Sync dts files with upstream kernel | * | a1243f7 sun6i: Add defconfig and dts file for tablets using the inet-q972 PCB | |/ * | 1cfce74 nand: Fix set_dev checks for no device * | c21fc7e treewide: fix "followings" to "following" * | 88e1346 tools: moveconfig: add Xtensa GCC prefix to CROSS_COMPILE list * | 8f894a4 arm: cache: always flush cache line size for page table * | c5b3cab arm: cache: add support for LPAE for region D$ behavior * | e009bfa arch/arm/Kconfig: Whitespace correction * | 067716b ARM: Move SYS_CACHELINE_SIZE over to Kconfig |/ * da968c7 Merge branch 'master' of git://git.denx.de/u-boot-i2c |\ | * 03d6cd9 i2c: mvtwsi: Fix order of address bytes (high to low) * | c733c18 Merge branch 'master' of git://www.denx.de/git/u-boot-marvell |\ \ | * | bdf58c7 tools: kwboot: patch destaddr only for SoCs with header version 1 | * | c90d7ab arm: mvebu: a38x: typo fix cpabilities -> capbilities | * | 014a357 arm: mvebu: a38x: update serdes error handling | * | 148f00e spl: Remove unused CONFIG_SPL_SPI_* definitions | * | d7b4731 arm: mvebu: Add support for NAND interface on A-38x | |/ * | 4832c7f spi: tegra: fix hang in set_mode() * | 6002c75 ARM: tegra: remove stale nvidia, bpmp I2C DT property * | eb3f68a ARM: tegra: fix Tegra186 SDHCI clock/reset names * | b4ee081 ARM: tegra: fix Tegra186 I2C clock name |/ * 46fe9eb Merge branch 'master' of git://git.denx.de/u-boot-net |\ | * 8c83c03 net: mii: check phy advertising register when geting link status | * 05237f7 net: davinci_emac: Restore the internal MDIO accessors return values | * c23c7d4 net/fm: Remove unused code of FMan QMI | * a51897b net: davinci_emac: Invalidate only the received portion of a buffer | * 6202b8f net: davinci_emac: Round up top tx buffer boundaries for dcache ops | * a02c232 net: davinci_emac: Remove useless dcache ops on descriptors | * 1ff65d4 net: nfs: Simplify rpc_add_credentials() | * 998372b net: nfs: Use the tx buffer to construct rpc msgs | * d89ff2d net: nfs: Move some prints to debug statements | * 0517cc4 net: nfs: Use consistent names for the rpc_pkt | * c629c45 net: nfs: Correct a comment | * 051ed9a net: nfs: Consolidate handling of NFSv3 attributes | * 347a901 net: nfs: Fix lines that are too long | * 6279b49 net: nfs: Correct the reply data buffer size | * 5280c76 net: nfs: Share the file handle buffer for v2 / v3 | * b0baca9 net: NFS: Add NFSv3 support | * d23d7bd net: nfs: Remove unused define | * f8b26c7 net: nfs: Remove separate buffer for default name | * aa7a648 net: Stop including NFS overhead in defragment max * | 1d3bcb6 Prepare v2016.09-rc2 * | 10ba92f fs-test.sh: Correct check_md5() test with newlines |/ * c98b171 Merge branch 'rmobile' of git://git.denx.de/u-boot-sh |\ | * 798dc6b ARM: rmobile: r8a7795: Add MMU layout | * 544661b ARM: rmobile: salvator-x: Update defconfig | * b1db954 ARM: rmobile: Remove duplicate configs by Kconfig in rcar-gen3-common.h | * 0f2765e ARM: rmobile: lager: Move rcar-gen2-common to rcar-common | * c5e729e arm: rmobile: Update defconfig | * d8fc402 arm: rmobile: Fix HDMI output for BLANCHE board | * 6f107e4 arm: rmobile: Add BLANCHE board support | * 7593194 mmc: rmobile: add a compiler barrier | * 4ebaba5 ARM: rmobile: rcar-common: Fix warning of type difference | * e525d34 ARM: rmobile: Add support salvator-x board | * ee8f0cb ARM: rmobile: Add support R8A7795 | * 581183d ARM: rmobile: Add support R-Car Generation 3 | * a7da6f8 ARM: rmobile: Move rcar-gen2-common to rcar-common | * 7a500a7 ARM: rmobile: Create R-Car 32bit (Gen1 and Gen2) for Kconfig | * d6ee8ce serial: sh: Add support R8A7795 | * 4810c2f MAINTAINERS: Add maintainer entry of RMOBILE | * 1cc95f6 ARM: Rmobile: Rename CONFIG_RMOBILE to CONFIG_ARCH_RMOBILE | * 7a7d246 ARM: rmobile: Move SoC headers to mach-rmobile/include/mach | * badbb63 ARM: rmobile: Move SoC sources to mach-rmobile * | f835706 pinctrl: fix typos in comment blocks of pinconfig_post_bind() * | b1237c6 efi_loader: Fix relocations above 64kb image size * | 68a2fd4 Makefile: Remove tags file on mrproper * | 4ed6f43 tools/env: soften warning about erase block alignment * | 490365c tools/env: return with error if redundant environments have unequal size * | c359ae5 ARM: OMAP4+: vcores: Remove duplicated code * | 5328717 ARM: OMAP5+: vcores: Drop unnecessary #ifndefs * | 4ba58bd test/py: match prompt only at line boundaries * | fc18e9b common: cli_readline: Improve command line editing * | 2883c4e fastboot: move to Kconfig * | e016f0b fastboot: implement Kconfig * | 3c1dcef cmd: efi_loader: Return CMD_RET_USAGE in case of not enough arguments * | a391d50 Kconfig: DISTRO_DEFAULTS: Only enable CMD_BOOTZ for ARM * | 2695927 cmd: booti: move CONFIG_CMD_BOOTI to Kconfig * | 5db2890 cmd: Split 'bootz' and 'booti' out from 'bootm' * | f2a9942 tests: Introduce DT overlay tests * | e6628ad cmd: fdt: add fdt overlay application subcommand * | ddf67f7 libfdt: Add overlay application function * | ea7b1a2 libfdt: Add fdt_setprop_inplace_namelen_partial * | 2b941bf libfdt: Add fdt_getprop_namelen_w * | 8e96857 libfdt: Add fdt_path_offset_namelen * | 6f5f92c libfdt: Fix separator spelling * | 57c7809 libfdt: Add max phandle retrieval function * | 67e610d libfdt: Add iterator over properties * | 805ac6a libfdt: Add new headers and defines * | f272f1f vsprintf: Include stdarg for va_list * | 716f908 scripts: Makefile.lib: Sanitize DTB names * | f0ed68e cmd: fdt: Narrow the check for fdt addr * | 793fd86 Merge branch 'master' of git://git.denx.de/u-boot-x86 |\ \ | * | 27daffe x86: Add theadorable-x86-dfi-bt700 board support | * | b1ad6c6 x86: Add DFI BT700 BayTrail board support | * | 303dfc2 x86: conga-qeval20-qa3: Add SMBus support and SMSC2513 config code | * | ca6c5e0 i2c: intel_i2c: SMBus driver PCI addition (e.g. BayTrail) | * | cc7ed26 cbfs: Fix incorrect CBFS file header size being used | * | cd379a2 x86: bdinfo: Drop meaningless values | * | ddd917b bdinfo: Don't print out empty DRAM banks | * | c2147e2 x86: bayleybay: Add PS/2 keyboard and mouse to ASL file | * | 144fdbd x86: som-db5800-som-6867: fix SERIRQ on reset | * | 4cf9e46 misc: Add simple driver for some Nuvoton NCT6102D devices | * | d7b935b x86: baytrail: Add SIO HS-UART clock setup | * | bf4ea7e x86: cache.h: Add default for CONFIG_SYS_CACHELINE_SIZE | * | 37b4a90 x86: Mention running U-Boot in 64-bit mode in the README | * | 007adbc x86: Add a reference to README.efi | * | dc39621 x86: Mention how to boot a 64-bit kernel from U-Boot | * | 5d98c5e x86: doc: Add note about the debug FSP usage on BayTrail | * | f55137f x86: conga-qeval20-qa3: Add missing MAINTERNERS entry * | | 177381a mmc: mmc_legacy: fix the compiler error with disabled CONFIG_DM_MMC_OPS * | | d188b11 mmc: send CMD0 before CMD1 for some MMC cards * | | ba92cd7 defconfig: k2g_evm_defconfig: Enable mmc driver model * | | ce52531 ARM: dts: k2g-evm: enable mmc/sd suppport * | | 5396edc ARM: dts: K2G: Add support for MMC controller * | | 4de2de5 drivers: mmc: omap_hsmmc: fix build breakage |/ / * | 4cc9699 common: env_nand: Ensure that we have nand_info[0] prior to use * | 183923d tools/env: ensure environment starts at erase block boundary * | 7e270ec xtensa: add support for the 'xtfpga' evaluation board * | 28b48a0 xtensa: add core information for the de212 processor * | 2d2811c xtensa: add core information for the dc233c processor * | da188a0 xtensa: add core information for the dc232b processor * | c978b52 xtensa: add support for the xtensa processor architecture [2/2] * | de5e5ce xtensa: add support for the xtensa processor architecture [1/2] * | f225d39 vexpress: Check TC2 firmware support before defaulting to nonsec booting * | 0fcb9f0 Merge branch 'master' of git://git.denx.de/u-boot-atmel |\ \ | * | a0d0d86 mmc: atmel_sdhci: Convert to the driver model support | * | 17b68b5 dm: atmel: Add driver model support for the ehci driver | * | 2c4b2dd ARM: at91/dt: Add device tree for SAMA5D2 Xplained | * | 256a3f2 atmel: Bring in at91 pio4 device tree file and bindings | * | ac72e17 pinctrl: at91-pio4: Add pinctrl driver | * | ee3311d gpio: atmel_pio4: Rework to support DM & DT | * | 46ed938 gpio: atmel_pio4: Move PIO4 definitions to head file | * | d51e9a1 clk.h: inline clk_get_by_name() | * | 9e5935c clk: at91: Add clock driver | * | 03dcd41 tpm: atmel_twi: Make compatible with DM I2C busses | * | e3b7599 i2c: atmel: DT binding for i2c driver | * | 8800e0f i2c: atmel: add i2c driver * | | 2ef98d3 Merge branch 'master' of git://git.denx.de/u-boot-net |\ \ \ | * | | cc25931 net: mii: Clean up legacy glue that is not used | * | | dfcc496 net: mii: Changes not made by spatch | * | | 875e0bc net: mii: Fix changes made by spatch | * | | 5a49f17 net: mii: Use spatch to update miiphy_register | * | | 63d9859 scripts: Add a cocci patch for miiphy_register | * | | 0d0779c net/ethoc: implement MDIO bus and support phylib | * | | 59b7dfa net/ethoc: support private memory configurations | * | | 02a888b net/ethoc: don't mix virtual and physical addresses | * | | 2de18c8 net/ethoc: support device tree | * | | 5d43fea net/ethoc: add CONFIG_DM_ETH support | * | | a84a757 net/ethoc: use priv instead of dev internally | * | | f072712 net/ethoc: add Kconfig entry for the driver | * | | eb4e8ce net: e1000: Fix the build with driver model and SPI EEPROM | * | | 70f1463 net: smsc95xx: Use correct get_unaligned functions | * | | a212b66 net: macb: Fix build error for CONFIG_DM_ETH enabled | |/ / * | | b064c91 ARM: tegra: set vdd_core for Jetson TK1 * | | 027638d ARM: tegra: reduce CSITE clock from 204M to 136M * | | 06264a7 ARM: tegra: fix trimslice environment location * | | 9889862 ARM: tegra: move ft_system_setup() * | | a6bb008 ARM: tegra: enable PCIe controller on p2771-0000 * | | 45d85f0 ARM: tegra: enable SD card on p2771-0000 * | | ad3c144 ARM: tegra: enable I2C buses for P2771-0000 * | | 3c27fa2 i2c: tegra: add standardized clk/reset API support * | | bbc5b36 pci: tegra: port to standard clock/reset/pwr domain APIs * | | c049307 mmc: tegra: port to standard clock/reset APIs * | | 34f1c9f i2c: add Tegra186 BPMP driver * | | 24cdf1a power domain: add Tegra186 driver * | | 4dd99d1 reset: add Tegra186 reset driver * | | d9fd700 clock: add Tegra186 clock driver * | | 73dd5c4 misc: add Tegra BPMP driver |/ / * | f4b0df1 Merge git://git.denx.de/u-boot-dm |\ \ | * | b647f55 misc: add "call" uclass op | * | aa26776 power: pmic: act8846: add missing newline to debug statements | * | 65f89be power: regulator: act8846: fix reading values | * | 6e06acb fdt: allow fdtdec_get_addr_size_*() to translate addresses | * | 11e44fc fdt_support: fdt_translate_address() blob const correctness * | | ab65006 kconfig: use bool instead of boolean for type definition attributes * | | 568d492 defconfig: am43xx_evm: enable eth driver model * | | 1f01962 drivers: net: cpsw: always flush cache of size aligned to PKTALIGN * | | 3581332 configs: dra7xx_evm: enable eth driver model * | | 8f521bf ARM: dra7xx_evm: Enable regulator DM support * | | 257bdb3 ARM: dts: dra7xx-evm: add evm_3v3_sd regulator * | | eba3fbd common: image: Add support for post-processing of images * | | b25732c drivers/sysreset: group sysreset drivers * | | da91cfe ARM: non-sec: flush code cacheline aligned * | | 2651a05 i2c: Drop redundant platform data setting in drivers |/ / * | 28cd88b Merge branch 'master' of git://git.denx.de/u-boot-uniphier |\ \ | * | e8a9293 ARM: uniphier: add PSCI support for UniPhier ARMv7 SoCs | * | ee9bc77 ARM: uniphier: add uniphier_cache_set_active_ways() | * | 5941638 ARM: uniphier: add uniphier_cache_inv_way() to support way invalidation | * | 8fca073 ARM: uniphier: fix CONFIG_SYS_CACHELINE_SIZE when outer cache is on | * | 7382d17 ARM: uniphier: move (and rename) CONFIG_UNIPHIER_L2CACHE_ON to Kconfig | * | 95646e1 ARM: uniphier: move outer cache register macros to .c file | * | c21fadf ARM: uniphier: reuse uniphier_cache_disable() for lowlevel_init | * | 6f579db ARM: uniphier: export uniphier_cache_enable/disable functions | * | bcc51c1 ARM: uniphier: move lowlevel debug init code after page table switch | * | 82d075e ARM: uniphier: fix ROM boot mode for PH1-sLD3 | * | 0efbbc5 ARM: uniphier: refactor L2 zero-touching code in lowlevel_init | * | e731a53 ARM: uniphier: do not compile v7_outer_cache_disable if L2 is disabled | * | 95a1fec ARM: uniphier: support prefetch and touch operations for outer cache | * | 3ffc747 ARM: uniphier: refactor outer cache code * | | 2f1eb66 Merge branch 'master' of git://git.denx.de/u-boot-usb |\ \ \ | |/ / |/| | | * | 76b2fad eth: asix88179: Add support for the driver model | * | 620452e eth: asix88179: Prepare supporting the driver model | * | 50f5bb2 eth: asix88179: Fix receiving on big endian system | * | 652b269 eth: asix88179: Add VID:DID for Cypress GX3 USB Ethernet Adapter | * | 631ae26 arm: ls1021a: Enable CONFIG_DM_USB in defconfigs | * | a866c21 dm: ls1021a: dts: Update USB 3.0 node to support DM USB | * | 707c866 usb: xhci: fsl: Add code to use CONFIG_DM_USB | * | ba699a5 usb: ehci: fsl: Add code to use CONFIG_DM_USB | * | 1e61ce9 drivers: usb: fsl: Make function for initialization to use in CONFIG_DM_USB | * | 2b58e1b usb: add (move) CONFIG_USB_HOST to Kconfig | * | 96d8284 usb: add CONFIG_USB_UHCI_HCD in Kconfig | * | 93cb824 usb: add CONFIG_USB_OHCI_HCD in Kconfig | * | 6688452 net: usb: r8152: Add DM support | * | bb42fb4 dm: ehci-mx6: support driver model * | | 2e406db Merge git://www.denx.de/git/u-boot-ppc4xx |\ \ \ | * | | 54a0eb7 ppc4xx: Fix platform support * | | | 95def3c i2c: i2c-uclass-compat: avoid any BSS usage * | | | 0812d1a efi_loader: disk: Sanitize exposed devices * | | | f9d334b efi_loader: disk: Fix CONFIG_BLK breakage * | | | 45313e8 tiny-printf: Adjust to avoid using data section * | | | 43caa9a configs: k2l_evm: add random eth address support * | | | 868a3a6 configs: k2e_evm: add random eth address support * | | | 02c1e2f configs: k2hk_evm: add random eth address support * | | | a61f6a5 drivers: net: keystone_net: add support for multi slave ethernet * | | | 1610a92 drivers: net: keystone_net: fix line termination with semi-colon * | | | ceec08f ARM: dts: dra72-evm: Add mode-gpios entry for mac node * | | | 2e205ef net: cpsw: Add support to drive gpios for ethernet to be functional * | | | 06974ea ARM: dts: dra7xx: Add u-boot specific property for PCF8575 nodes * | | | 5d4dc28 ARM: dra7xx_evm: Enable support for TI PCF8575 * | | | 5746b0d gpio: Add driver for TI PCF8575 I2C GPIO expander * | | | 5aa79f2 spl_nor.c: Support devicetree sizes different from 16k |/ / / * | | 5405817 spi: cadence_qspi_apb: Ensure baudrate doesn't exceed max value * | | 2da375c ARM: socfpga: use the default CONFIG_BOOTDELAY=2 |/ / * | 2863a9b Merge git://git.denx.de/u-boot-rockchip |\ \ | * | abd0128 rockchip: remove log2 reimplementation from clock drivers | * | 75a52bd config: rk3399: enable dwmmc controller | * | da8ff82 dts: rk3399: enable dwmmc for sdcard | * | fd4b2dc clock: rk3399: add support for dwmmc 400K | * | 583b1bc configs: rk3399: add gpt and fs support | * | b9f9339 rockchip: add usb mass storage feature support for rk3288 | * | 6ead8bd rockchip: add basic partitions support for rk3288 | * | 1c62d99 rockchip: add support for rk3288 miniarm board | * | aff8795 move: rockchip: move clock drivers into a subdirectory | * | b0b3c86 rk3399: add basic soc driver | * | 2918d96 rockchip: rockchip, sdram-channel 0xff fix remaining dts | * | d2d763f rockchip: add fastboot support for rk3036 board * | | f2df3b6 zynq_sdhci.c: Fix warning in arasan_sdhci_probe * | | 7edb176 Merge branch 'master' of git://git.denx.de/u-boot-tegra |\ \ \ | * | | cb0ff4c ARM: tegra: call tegra_board_init on Tegra186 | * | | 9e613de ARM: tegra: add I2C controllers to Tegra186 DT | * | | 20bbde0 ARM: tegra: add PCIe controller to Tegra186 SoC DT | * | | 23ab5bd ARM: tegra: add BPMP I2C to Tegra186 device tree | * | | 1901420 ARM: tegra: add BPMP and dependencies to Tegra186 DT | * | | 6e7a11e dt-bindings: add Tegra186 BPMP I2C binding | * | | 390ae57 dt-bindings: allow child nodes inside the Tegra BPMP | * | | 7b9cb49 ARM: tegra: add BPMP DT bindings | * | | 729c2db ARM: tegra: adapt to latest HSP DT binding | |/ / * | | a60d94b Merge branch 'master' of git://git.denx.de/u-boot-mmc |\ \ \ | * | | 89f69e5 mmc: sdhci: fix the compiler warning when disable CONFIG_MMC_SDMA | * | | 4587f53 mmc: dw_mmc: fix the wrong Mask bit boundary for fifo_count bit | * | | 720724d mmc: dw_mmc: fix data starvation by host timeout under FIFO mode | * | | 2990e07 mmc: dw_mmc: transfer proper bytes to FIFO | * | | 14bed52 mmc: sdhci: remove the unnecessary arguments for sdhci_setup_cfg | * | | 6a879ec mmc: sdhci: remove the unused argument for sdhci_setup_cfg | * | | e1ea7c4 mmc: sdhci: revert "mmc: sdhci: Claer high speed if not supported" | * | | 1bd4f92 mmc: display mmc list information like mmc_legacy type | * | | 915ffa5 mmc: use the generic error number | * | | 70f8628 mmc: fsl_esdhc: remove the duplicated header file | * | | ccd60a8 mmc: dw_mmc: remove the duplicated header file | * | | a034ec0 mmc: s5p_sdhci: unset the SDHCI_QUIRK_BROKEN_R1B | * | | 17ea3c8 mmc: sdhci: set to INT_DATA_END when there are data | * | | bae4a1f mmc: sdhci: clean up timeout detection | |/ / * | | d03a030 configs: Fix mmc rescan misuses * | | 1b92aed mkimage: Fix argument parsing with signature comment * | | f6d3465 test: Adjust run_command_list() to return a list of strings * | | 27c087d test: Add a function to restart U-Boot * | | 851271a test: vboot: Put each test variant in its own section * | | ac9a23c test: Rename sha to sha_algo and pass it around * | | ec70f8a test: Drop the cmd() function * | | 72f5226 test: Fix typos in comments * | | 7f64b18 test: Check exit status in run_and_log_expect_exception() * | | bcbd0c8 test: Fix typos and tidy up * | | 633cc7a Makefile: Allow 'make tests' to run tests * | | 0e17094 armv8: mmu: Detect page table overflow in emergency pt creation * | | c2fdd34 cmd: gpt: fix the wrong size parse for the last partition * | | 584550d omap3: Drop omap3_evm_quick_* targets * | | 7d10624 omap3, omap4: Enable USE_TINY_PRINTF for all * | | a2ea62e omap3: Move to select SUPPORT_SPL for all * | | e379508 cmd/bdinfo: extract print_std_bdinfo * | | 4e3fa7d cmd/bdinfo: extract print_baudrate * | | 8752e26 cmd/bdinfo: extract print_eth_ip_addr * | | f80e535 cmd/bdinfo: extract print_bi_flash * | | fd60e99 cmd/bdinfo: extract print_bi_dram * | | 12feb36 cmd/bdinfo: extract print_bi_mem * | | 171e539 cmd/bdinfo: extract print_bi_boot_params * | | bb6b142 treewide: move CONFIG_PHYS_64BIT to Kconfig * | | 9ab0296 tools: moveconfig: support CONFIG_SYS_EXTRA_OPTIONS cleaning * | | 684c306 tools: moveconfig: make getting all defconfigs into helper function * | | a3a779f tools: moveconfig: fix cleanup of defines across multiple lines * | | e9ea122 tools: moveconfig: show diffs of cleaned headers in color * | | f2f6981 tools: moveconfig: show result of header cleaning in unified diff * | | 8ba1f5d tools: moveconfig: trim garbage lines after header cleanups * | | f7536f7 tools: moveconfig: do not check clean tree and compilers for -H option * | | dc6de50 tools: moveconfig: do not cleanup headers in include/generated * | | 6f94ab6 ext4: Refuse to mount filesystems with 64bit feature set * | | a78cd86 ARM: Rework and correct barrier definitions * | | 65fcba1 arc: Rename AXS101 board to more generic AXS10x * | | cc8be22 arc: Rename ARCangel4 board to nSIM * | | 9bef24d arc: No need in sections defined in sources with newer tools * | | 699c4e5 arc: Update exception & interrupt handling for ARCv2 * | | ffffcd1 arc: Add debug messages during relocation fixups |/ / * | e1efe43 powerpc/86xx: Increase boot map size to 256 MiB * | ad6a303 Merge git://git.denx.de/u-boot-fsl-qoriq |\ \ | * | ab01ef5 ARMv8/fsl-ppa: Consolidate PPA image stored-media flag for XIP | * | bded218 arm/PSCI: Add support for creating ARMv7 PSCI version 1.0 DT node | * | 2c77416 arm/PSCI: Fixed the backward compatiblity issue | * | 388aabc arm/PSCI: Removed unused code | * | 8936691 driver/ddr/fsl: Fix timing_cfg_2 | * | 473af36 board/freescale: Update MAINTAINERS files | * | 6ffc490 armv8: ls1043a: enable pxe commands | * | 37eac3f armv8: ls1012a: Update Refresh cycle for DDR | * | 9c3fca2 armv8: ls1012a: Enable DDR row-bank-column decoding | * | 3b4dbd3 board: ls1012aqds: Update LBMAP_MASK and RST_CTL_RESET | * | 7fe1d6a crypto/fsl: Update blob cmd to accept 64bit addresses | * | 04e5c6d driver: spi: fsl-qspi: remove compile Warnings | * | f3dbf1f powerpc/mpc85xx: Update erratum workaround for A006379 * | | 7351bf2 Merge branch 'master' of git://www.denx.de/git/u-boot-microblaze |\ \ \ | * | | 28559d4 ARM64: zynqmp: Do not enable DM_MMC by default | * | | 8fbf678 ARM64: zynqmp: Fix stack pointer initialization | * | | 0cfd0a9 ARM64: zynqmp: Define config USB_STORAGE through defconfig | * | | 3c70349 xilinx: Sync defconfigs with the latest Kconfig layout | * | | 33986e2 ARM64: zynqmp: Wire up PSCI reset | * | | a9022b0 ARM64: zynqmp: Add u-boot,dm-pre-reloc to clk nodes | |/ / * | | dbc3969 MAINTAINERS, git-mailrc: Update the mmc maintainer * | | 6de80f2 Drop references to MAKEALL in the documentation * | | c8a3777 Drop the MAKEALL tool * | | c8d7393 buildman: Add a quick-start note * | | c8785c5 buildman: Avoid overwriting existing toolchain entries * | | 7e92e46 buildman: Drop the toolchain error when downloading toolchains * | | 2289b27 buildman: Fix a typo in TestSettingsHasPath() * | | 713bea3 buildman: Improve the toolchain progress/error output * | | 80e6a48 buildman: Allow the toolchain error to be suppressed * | | bd6f5d9 buildman: Fix the 'help' test to use the correct path * | | 8e605a5 buildman: Automatically create a config file if needed * | | 8ea4210 buildman: Tidy up the README a little * | | e2f88df libfdt: Introduce new ARCH_FIXUP_FDT option |/ / * | 26fb8db Merge git://git.denx.de/u-boot-rockchip |\ \ | * | dd63fbc rockchip: add support for rk3288 PopMetal board | * | d7ca67b rockchip: add basic support for fennec-rk3288 board | * | cba6bb1 rockchip: rk3288: move evb board to rockchip folder | * | f75711a rockchip: rk3288: revise CONFIG_FASTBOOT_BUF_ADDR | * | 77337c1 rockchip: remove the duplicated macro config | * | 1743d0b rockchip: rk3288: disable fastboot in SPL stage | * | 5051a77 Revert "rockchip: Move the MMC setup check earlier" | * | 194a241 cosmetic: rockchip: rk3288: pinctrl: fix config symbol naming | * | 8a632ac rockchip: add a dummy byte for the sdram-channel property | * | 2b51784 rockchip: rk3288: Fix pinctrl for GPIO bank 0 | * | 633fdab rk3399: Reserve space for ARM Trust Firmware | * | b357a7f rockchip: rk3036: update MAINTAINER file | * | 22948e1 configs: rockchip: remove no use MACRO | * | 46683f3 mmc-uclass: correct the device number * | | fcada3b sunxi: Re-enable h3 emac support * | | 4069437 net: sun8i_emac: Fix DMA alignment issues with the rx / tx buffers * | | 3f8ea3b sunxi: On newer SoCs use words 1-3 instead of just word 3 from the SID * | | 97322c3 sunxi: Ensure that the NIC specific bytes of the mac are not all 0 * | | 3e5e274 sunxi: Hummingbird_A31_defconfig: Drop MACPWR option * | | 4694dc5 sunxi: gpio: Add .xlate function for gpio phandle resolution |/ / * | 5c928d0 m68k: code reformatting for all start.S files * | 08887ed ARM: am57xx_evm: Enable QSPI support * | 9af6ce4 ARM: dts: am57xx-idk-common: Enable support for QSPI * | 2ae9422 configs: am43xx_evm_defconfig: Enable CONFIG_SPI_FLASH_BAR * | 70ebdd7 ARM: dts: dra7xx: Update spi-max-frequency for QSPI * | b9612bb configs: dra7xx: Update QSPI speed to 76.8MHz * | a6f56ad spi: ti_qspi: dra7xx: Add support to use 76.8MHz clock * | 4d79078 ARM: dra7xx: Change DPLL_PER_HS13 divider value * | b302669 sf: sf_params: Add AT25DF321 flash support * | fee3b6a spi: ti_qspi: Remove delay in read path for dra7xx * | c595a28 spi: ti_qspi: Fix compiler warning when DEBUG macro is set * | 69eeefa spi: ti_qspi: Fix failure on multiple READ_ID cmd * | 6bde34f spi: Add support for N25Q016A * | 4711e7f Merge branch 'master' of git://www.denx.de/git/u-boot-imx |\ \ | * | 77cbd3a MAINTAINERS: i.MX: Add board/freescale/*mx* path | * | 4c97077 mx7dsabresd: MAINTAINERS: Add mx7dsabresd_secure_defconfig | * | 7626ba4 mx7_common: initialize generic timer on all CPU's | * | ec1935a mx6ul_14x14_evk: Remove unused define | * | 63326e6 cgtqmx6eval: Remove uneeded PHYS_SDRAM_SIZE | * | 10ced52 novena: Remove uneeded PHYS_SDRAM_SIZE | * | c6a51ba bx50v3: Use imx_ddr_size() for calculating the DDR size | * | 84c5168 aristainetos: Use imx_ddr_size() for calculating the DDR size | * | a13d375 warp: Use imx_ddr_size() for calculating the DDR size | * | 71813dc warp7: Move some USB configuration options to defconfig | * | ae440ab colibri_imx7: add Colibri iMX7S/iMX7D module support | * | 68c2760 cgtqmx6eval: Replace is_mx6q() for macro | * | 4a2f901 mx6cuboxi: Replace is_mx6q() for macro | * | 98b040c wandboard: Replace is_cpu_type() for macro | * | a5bfb4f imx: ventana: add dt fixup for watchdog external reset | * | 966fe02 imx: ventana: refactor board-specific dt fixups (no functional change) | * | 5911c09 imx: ventana: make hwconfig initialize based on board configuration | * | e86b7ad imx: ventana: add extra DIO's for GW5520 | * | 1800ffa imx: ventana: make number of digital I/O's dynamic | * | e49621b imx: ventana: make RS232 enable board specific | * | 6eab98a imx: ventana: re-enable late board info display | * | f441657 imx: ventana: default pci to disabled | * | ec21aee pci: allow disabling of pci init/enum via env | * | 5c34c2a imx: ventana: add dt fixup for eth1 mac-address | * | 5a08ad6 imx: ventana: add dt fixup for GW16082 irq mapping | * | 5c39201 mx7dsabresd_secure_defconfig: Use CONFIG_ARMV7_BOOT_SEC_DEFAULT | * | d2c4c6b pico-imx6ul: drop warning due to redefined | * | a5ad8ec mx6: wandboard: fix warning due to missing prototype | * | 64992b7 Fix build for mx7dsabresd (secure config) | * | 68b09b8 Revert "imx_common: Return MMCSD_MODE_FS in spl_boot_mode() also for EXTFS" | * | 5d219d4 serial_mxc: Remove unconditional DCE setting | * | 8f2e2f1 mx6: clock: Fix the logic for reading axi_alt_sel | * | 95cee94 Revert "arch-mx6: fix MX6_PAD_DECLARE macro to work with MX6 duallite" | * | 8b248c8 imx_watchdog: add weak attribute to reset_cpu function | * | be1a17f mx7_common: use Kconfig for ARMv7 non-secure mode | * | 47855a5 mx7_common: Put display board info config into board file | * | ec7fde3 mx7: set soc environment according to exact SoC type | * | c448309 usb: ehci-mx6: introduce config for high active power pin | * | 9a88180 usb: ehci-mx6: configure power polarity in usb_power_config | * | 2deebe2 usb: move CONFIG_USB_EHCI_MX7 to Kconfig | * | 83fd908 dm: imx: serial: Support DTE mode when using driver model | * | 4beba06 warp7: Remove CONFIG_BOOTDELAY variable | * | 63a9309 ARM: configs: cm_fx6: add mtd support | * | 62d6bac ARM: board: cm_fx6: fixup mtd partitions in the fdt | * | f4ae23a fdt_support: define stub for fdt_fixup_mtdparts | * | f0f6724 ARM: configs: cm_fx6: improve default environment | * | 88e4774 pico-imx6ul: Add PMIC support | * | 67ff9e1 wandboard: move environment partition farther from u-boot.img | * | a02ab5e usbarmory: Add board_run_command() function | * | 9a45ec3 usbarmory: switch to using kernel zImage | * | 1f17562 imx6: clock: typo fix | * | 225126d arch-mx6: fix MX6_PAD_DECLARE macro to work with MX6 duallite | * | ca103e0 pico-imx6ul: Add USB Host support | * | d0daec6 pico-imx6ul: Add NFS boot support | * | dab1493 pico-imx6ul: Add a README file | * | af07d15 pico-imx6ul: Add DFU support | * | 6d7aa51 pico-imx6ul: Add Ethernet support | * | 618a853 mx7dsabresd: Fix the boot of a NXP kernel | * | 3039774 mx7: Place MX7_SEC option in Kconfig | * | d6b0c46 mx6sxsabresd: Avoid hardcoded RAM size | * | 432a8a5 mx6sxsabreauto: Avoid hardcoded RAM size | * | 8259e9c mx6slevk: Avoid hardcoded RAM size | * | e355eec wandboard: enable SATA with imx6q | * | 369012e mx6qsabreauto: Avoid hardcoded RAM size | * | 876a25d mx6: Add Phytec PCM058 i.MX6 Quad | * | 8be4f40 mx6: add support for el6x board | * | 0750701 driver/net/fec: support fixed speed connection | * | a32b4a0 pcie_imx: increment timeout for link up | * | c133c50 ARM: board: cm-fx6: fix mmc for old revisions of utilite | * | c1ebf54 imx_common: Return MMCSD_MODE_FS in spl_boot_mode() also for EXTFS * | | fe34b6a Merge git://git.denx.de/u-boot-dm |\ \ \ | * | | 02ebd42 mmc: dw_mmc: reduce timeout detection cycle | * | | 61f5ddc Add a power domain framework/uclass | * | | 1e2b3ef dm: spl: mmc: Support raw partitions with CONFIG_BLK | * | | c9f3c5f dm: usb: Use blk_dread/write() instead of direct calls | * | | f1a485a dm: socfpga: mmc: Support CONFIG_BLK | * | | 329a449 dm: mmc: zynq: Convert zynq to use driver model for MMC | * | | dec49e8 dm: zynq: usb: Convert to CONFIG_DM_USB | * | | 04e3890 zynq: Increase the early malloc() size | * | | fbfa1ab net: phy: marvell: Add a missing errno.h header | * | | 7f7ddf2 arm: Show early-malloc() usage in bdinfo | * | | 9119548 dm: Use dm_scan_fdt_dev() directly where possible | * | | 2e3f1ff dm: Convert users from dm_scan_fdt_node() to dm_scan_fdt_dev() | * | | cc7f66f dm: core: Add a function to bind child devices | * | | 5628347 dm: mmc: dwmmc: use the callback functions as static | * | | dec0242 dm: mmc: dwmmc: fix the wrong explanation for clock values * | | | c6f086d Merge branch 'master' of git://git.denx.de/u-boot-video |\ \ \ \ | |/ / / |/| | | | * | | b6de2cd splash: Introduce default_splash_locations | * | | d7b60fb splash: Accommodate DM_USB in splash_init_usb() | * | | adde435 video: allow version string to be optional when using LOGO | |/ / * | | 0b6699a Merge branch 'master' of http://git.denx.de/u-boot-sunxi |\ \ \ | * | | 2eb1ff3 sunxi: Disable sun8i emac driver | * | | a85ba87 net: sun8i_emac: Drop redundant and incorrect setting of syscon register | * | | 6872844 net: sun8i_emac: Do not configure AHB2 clock | * | | 6d7b22a sunxi: Add EMAC ethernet0 alias for H3 dtsi | * | | 2a5adc5 sunxi: Add defconfig and dts file for the Orange Pi PC Plus SBC * | | | 4fd92db ARM: uniphier: move CONFIG_I2C_EEPROM to defconfig * | | | 499a950 Merge git://git.denx.de/u-boot-mpc86xx |\ \ \ \ | * | | | b60038c powerpc/86xx: Pass -mcpu=7400 to GCC * | | | | 9c7a0a6 Merge git://git.denx.de/u-boot-fsl-qoriq |\ \ \ \ \ | * | | | | 8401c71 armv8: ls1043aqds: add IFC fixup in case QSPI is enabled | * | | | | dbe18f1 armv8/ls1043a: Add MTD partition scheme | * | | | | 716d667 ARMv8/ls1046a: Cleanup the environment variables | * | | | | ed7a394 armv8: fsl-layerscape: mmu: Fix enabling MMU | * | | | | 3288628 ARMv7: PSCI: ls102xa: move secure text section into OCRAM | * | | | | aeb901f ARMv7: PSCI: ls102xa: add more PSCI v1.0 functions implemention | * | | | | 7e742c2 ARMv7: PSCI: ls102xa: check target CPU ID before further operations | * | | | | 116339d ARMv7: PSCI: add PSCI v1.0 functions skeleton | * | | | | 9d3b8bd drivers: net/fm: Add Fman support for LS1046A | * | | | | b528b93 armv8: fsl_lsch2: Add LS1046A SoC support | * | | | | da4d620 armv8: fsl_lsch2: Add SerDes 2 support | * | | | | 86336e6 armv8: fsl-layerscape: Consolidate the LSCH2 common defines | * | | | | 79119a4 armv8: fsl-layerscape: Add A72 core detection | * | | | | dbb9d04 armv8: ls1043aqds: Update MAINTAINERS | * | | | | 0c14c4d armv8: ls2080aqds: Update MAINTAINERS | * | | | | e7e720c arm: ls1021atwr: Add SD secure boot target | * | | | | 69d4b48 SECURE_BOOT: Enable SD as a source for bootscript | * | | | | 028ac8c SECURE_BOOT: Enable chain of trust in SPL framework | * | | | | 7f0a0e4 DM: crypto/fsl: Enable rsa DM driver usage before relocation | * | | | | 9729dc9 include: usb: Rename USB controller base address mapping | * | | | | 27059c3 i2c: fsl: Fix driver initialization | |/ / / / * | | | | c3c9fd3 Merge branch 'master' of git://git.denx.de/u-boot-i2c |\ \ \ \ \ | * | | | | 6e677ca i2c: mvtwsi: Add documentation | * | | | | c68c624 i2c: mvtwsi: Make delay times frequency-dependent | * | | | | 24f9c6b i2c: mvtwsi: Handle zero-length offsets properly | * | | | | 14a6ff2 i2c: mvtwsi: Add compatibility to DM | * | | | | f8a10ed i2c: mvtwsi: Make address length variable | * | | | | 3c4db63 i2c: mvtwsi: Factor out adap parameter | * | | | | 61bc02b i2c: mvtwsi: Add compatibility functions | * | | | | e075828 i2c: mvtwsi: Use 'uint' instead of 'unsigned int' | * | | | | 059fce9 i2c: mvtwsi: Get rid of status parameter | * | | | | 670514f i2c: mvtwsi: Eliminate flags parameter | * | | | | 49c801b i2c: mvtwsi: Improve and fix comments | * | | | | dfc3958 i2c: mvtwsi: Streamline code and add documentation | * | | | | 9ec43b0 i2c: mvtwsi: Fix style violations | * | | | | c9433a4 defconfig: am57xx_hs_evm: enable i2c driver model | * | | | | 9aa5874 defconfig: am57xx_evm: enable i2c driver model | * | | | | efe7898 defconfig: dra7xx_hs_evm: enable i2c driver model | * | | | | 70ad98c defconfig: dra7xx_evm: enable i2c driver model | * | | | | dc6b17a defconfig: am43xx_hs_evm: enable i2c driver model | * | | | | 081fbea defconfig: am43xx_evm: enable i2c driver model | * | | | | c438d01 defconfig: am335x_evm: enable i2c driver model | * | | | | c50f261 defconfig: am335x_boneblack_vboot: enable i2c driver model | * | | | | daa69ff drivers: i2c: omap24xx_i2c: adopt omap_i2c driver to driver model | * | | | | be243e4 drivers: i2c: omap24xx_i2c: prepare driver for DM conversion | * | | | | eff6b77 ti_armv7_common: i2c: do not define DM_I2C for spl | * | | | | 5142ac7 drivers: i2c: uclass: parse dt parameters only when CONFIG_OF_CONTROL is enable | * | | | | 7fb825f omap5/dra7: i2c: correct register offset for sync register | * | | | | 3465f80 omap4: i2c: correct register offset for sync register | * | | | | 81c878d tools: env: Fix format warnings in debug | | |/ / / | |/| | | * | | | | c482c60 rockchip: sdram: Fix register layout for Linux * | | | | 79c8306 mmc: rockchip: add SDHCI driver support for rockchip soc * | | | | d26f375 ARM64: evb-rk3399: add a README for this board setup * | | | | 7e24349 config: add config file for evb-rk3399 * | | | | a381bcf ARM64: rockchip: add support for rk3399 SoC based evb * | | | | 777c834 dts: add support for Rockchip rk3399 soc * | | | | a16e2e0 rockchip: update fastboot usage * | | | | 9191090 mkimage: rockchip: add suport for rk33 serial * | | | | c3aad6f rockchip: Use rockchip_get_clk() to obtain the SoC clock * | | | | a617c5d rockchip: Add a way to obtain the main clock device * | | | | c57f806 dm: core: Add a way to find a device by its driver * | | | | c3f03ff rockchip: rk3288: fix FREF_MIN_HZ constant * | | | | b339b5d cosmetic: rockchip: rk3288: rename rkclk_configure_cpu * | | | | 041cdb5 cosmetic: rockchip: sort socs according to numbers * | | | | 23c3042 cosmetic: rockchip: rk3036: pinctrl: fix config symbol naming * | | | | 9f862ec cosmetic: rockchip: rk3288: pinctrl: fix config symbol naming * | | | | 266c8fa rockchip: rk3288: add fastboot support * | | | | 9424f14 usb: dwc2 : invalidate dcache before starting DMA * | | | | 4711788 usb: dwc2-otg: adjust fifo size via platform data * | | | | fab3357 usb: rockchip-phy: implement USB2.0 phy control * | | | | ad8fe6b rockchip: Exclude rk_timer for ARM64 * | | | | 5f30bf7 mkimage: rockchip: add suport for rk33 serial * | | | | e0f5dbc rockchip: Clean up CPU selection * | | | | c418add board: move all the rockchip board in one folder * | | | | 744368d rockchip: add basic support for evb-rk3288 board * | | | | b47ea79 rockchip: add option to change method of loading u-boot |/ / / / * | | | 4579720 Prepare v2016.09-rc1 * | | | 6a056c4 sandbox: Migrate CONFIG_I2C_EEPROM * | | | fd42e1b Merge git://git.denx.de/u-boot-nand-flash |\ \ \ \ | * | | | 59441ac mtd: fix compiler warnings | * | | | ebb7feb mtd: nand: fix bug writing 1 byte less than page size | * | | | c1aa7d6 sunxi: Enable NAND controller on the CHIP | * | | | a0dfa88 sunxi: nand: Increase CONFIG_SYS_NAND_MAX_ECCPOS value | * | | | c1fe6b5 mtd: nand: Increase the max OOB size | * | | | cd7f5e1 mtd: nand: Add a full-id entry for the H27QCG8T2E5R‐BCF NAND | * | | | 32b1843 sun5i: Add NAND controller to the sun5i DTSI | * | | | 4ccae81 mtd: nand: Add the sunxi NAND controller driver | * | | | 42bd19c mtd: nand: add common DT init code | * | | | 8df375b sunxi: Add missing macros to configure the NAND controller clk | * | | | 2dc3c483 cmd, nand: add an option to disable the verification when writing in raw mode | |/ / / * | | | e312e74 arm64: thunderx_88xx_defconfig: remove unneeded CONFIG_SYS_EXTRA_OPTIONS * | | | d6a3391 dtoc: Correct the type widening code in fdt_fallback * | | | c55d02b hashtable: Fix compiler warning on 32-bit sandbox * | | | 5afb8d1 part_efi: Fix compiler warning on 32-bit sandbox * | | | 1bb718c lzmadec: Use the same type as the lzma call * | | | 5923c84 sandbox: Add instructions about building on 32-bit machines * | | | 713fb2d tools, rsa: Further minor cleanups on top of c236ebd and 2b9ec7 * | | | 335b4e5 ARM: am33xx: Always inhibit init/refresh during DDR phy init * | | | 3325b06 ARM: am33xx: Fix DDR init delay placement * | | | 4927166 efi_loader: Make exposed image loader path absolute * | | | e8fb435 common: fit: Allow U-Boot images to be booted * | | | bcdc1c8 keystone: k2h/e/l: Fix DMA coherency for QM PDSP * | | | c497463 cmd: misc: Add support for fractions in sleep |/ / / * | | 29d63a5 ARM: uniphier: add clock/reset settings for xHCI of ProXstream2 * | | be44a46 ARM: uniphier: add PH1-LD21 board data * | | a74c28a ARM: uniphier: introduce flags to uniphier_board_data structure * | | 4bab70a ARM: uniphier: rename outer-cache register macros * | | ebab100 ARM: uniphier: clear notification flag before L2 operation * | | 4e3d840 ARM: uniphier: use (devm_)ioremap() instead of map_sysmem() * | | 72a6434 ARM: uniphier: fix doubled tftpboot commands * | | b7c4d25 ARM: uniphier: select CONFIG_ARMV8_SPIN_TABLE * | | fe8dc1f ARM: dts: uniphier: renumber serial aliases for Gentil/Vodka boards * | | 04a4786 test/py: vboot can be run only at Sandbox * | | 38d592f arm: omap5: fix build dependency for secure devices * | | 8b76d23 arm: am4x: fix build dependency for secure devices * | | 90211f7 fixing typo error in README file. CPU15 -> CP15 * | | 3cc1f38 spl: fit: Fix the number of bytes read in raw mode * | | 2b9ec76 rsa: Fix return value and masked error * | | c236ebd tools: Fix return code of fit_image_process_sig() * | | c9ba60c test/py: use absolute dts path in vboot test * | | b8cb51d armv8: spl: Call board_init_r from crt0_64 in SPL * | | c933ed9 efi_loader: Add debug output for efi_add_memory_map() * | | c5c41c4 tools/env: reuse fw_getenv in fw_printenv function * | | 1b7427c tools/env: move envmatch further up in file to avoid forward declarations * | | fd4e328 tools/env: kernel-doc for fw_printenv, fw_getenv and fw_parse_script * | | 473c0ab gdsys: Drop print_fpga_state function * | | f4742ca tools/env: allow negative offsets * | | 14fb5b2 tools/env: complete environment device config early * | | 28f0014 iso: Fix part info command * | | fe9f628 igep00x0: Falcon mode * | | a5debaa igep00x0: generate default mtdparts according NAND chip used * | | 4b9dc7c igep00x0: UBIize * | | 97ee706 igep00x0: runtime flash detection * | | c2d47fa igep00x0: remove unused empty function omap_rev_string() * | | cccdb19 igep00x0: remove useless setup_net_chip declaration * | | b0c4763 igep00x0: reorder lan9221 code to remove ifdefs * | | b7e042d igep00x0: move sysinfo into C file * | | af32443 cmd: mtdparts: support runtime generated mtdparts * | | f8f744a cmd: mtdparts: use defaults by default * | | 1c2a262 cmd: mtdparts: consolidate mtdparts reading from env * | | 06a040a cmd: mtdparts: fix null pointer dereference in parse_mtdparts * | | c0ac333 cmd: mtdparts: fix mtdparts variable presence confusion in mtdparts_init * | | 5248692 mtd: OneNAND: initialize mtd->writebufsize to let UBI work * | | 77b93e5 mtd: OneNAND: allow board init function fail * | | d9098ee mtd: OneNAND: add timeout to wait ready loops * | | 9a9d394 armv7: simplify identify_nand_chip * | | 22d6ac4 armv7: armv7: introduce set_gpmc_cs0 * | | 0568dd0 armv7: make gpmc_cfg const * | | b1509e3 armv7: add reset timeout to identify_nand_chip * | | 431889d spl: zImage support in Falcon mode * | | bf55cd4 spl: support loading from UBI volumes * | | 6f4e7d3 spl: Lightweight UBI and UBI fastmap support * | | 735717d onenand_spl_simple: Add a simple OneNAND read function * | | e1a89e9 nand_spl_simple: Add a simple NAND read function * | | 05fc5ef mtd: Sort subsystem directories aplhabeticaly in Makefile * | | d7e2891 i2c_eeprom: Add reading support * | | 9f03247 Merge branch 'master' of git://www.denx.de/git/u-boot-microblaze |\ \ \ | * | | 766d260 zynq: defconfig: Remove unnecessary board specific config files | * | | 05f4cc3 zynq: config: Enable CONFIG_SYS_NO_FLASH through defconfig | * | | 4d25507 Kconfig: Move option CONFIG_SYS_NO_FLASH to Kconfig | * | | 2ae9fbe usb: zynq: Define config USB_STORAGE through defconfig | * | | 2cdc778 usb: Kconfig: Add Kconfigs entry USB_EHCI_ZYNQ | * | | 3bac830 ARM64: zynqmp: Enable AHCI on EP platform | * | | 91afeb3 microblaze: Remove empty ifdef around caches | * | | 9e0758b dm: clk: Remove simple version of clk_get_by_index/name() | * | | 23ffd36 ARM64: zynqmp: Remove get_uart_clk() | * | | 59da82e serial: zynq: Read information about clock from DT | * | | f3d1cc2 ARM64: zynqmp: Enable SPL for all zynqmp boards | * | | 1f29738 ARM64: zynqmp: Enable CLK and SPL_CLK by default | * | | 1eefe14 spl: Fix compilation warnings for arm64 | * | | 1d405e2 mmc: sdhci: Disable internal clock enable bit | * | | 2118157 api: Disable api_net when DM is used | * | | 72d8d5d ARM: zynq/zynqmp: Use the default CONFIG_BOOTDELAY=2 * | | | 89ca873 Merge git://git.denx.de/u-boot-mpc85xx |\ \ \ \ | * | | | b24a4f6 powerpc/85xx: Increase fdt address | * | | | ebfc066 doc: SPL: Add README for secure boot support | * | | | aa36c84 powerpc/mpc85xx: T104x: Add nand secure boot target | * | | | 8f01397 powerpc/mpc85xx: SECURE BOOT- Enable chain of trust in SPL | * | | | 6386527 mpc83xx: make it bootable with the latest kernel | * | | | 16c8c17 mpc83xx: fix the corruption of u-boot when saveenv | * | | | 7f25fdc powerpc: MPC8544DS: revert typo in I2C offset value * | | | | 9f84da8 Merge branch 'master' of git://git.denx.de/u-boot-tegra |\ \ \ \ \ | |_|/ / / |/| | | | | * | | | 2a5f7f2 ARM: tegra: pick up actual memory size | * | | | 0e2b535 ARM: Add save_boot_params for ARMv8 | * | | | efbb3d4 ARM: tegra: p2371-2180: A03 board PMIC config update | * | | | 49626ea ARM: tegra: add IVC protocol implementation | * | | | d0f4500 ARM: tegra: unify Tegra186 Makefile a bit | * | | | 1f60f07 ARM: tegra: split p2771-0000 build | * | | | 0388634 ARM: tegra: fix Tegra186 DT GPIO binding header * | | | | 95d5273 Revert "stm32: Change USART port to USART6 for stm32f746 discovery board" |/ / / / * | | | ff87b08 image: fix IH_ARCH_... values for uImage compatibility * | | | 45031f1 Merge branch 'master' of git://git.denx.de/u-boot-sh |\ \ \ \ | |/ / / |/| | | | * | | 747431b serial_sh: Add standrad SCI (w/o FIFO) support | * | | 359787c serial_sh: Device Tree support | | |/ | |/| * | | 55edb9d mtd: cfi_flash: fix polling for bit XSR.7 on Intel chips * | | 66669fc Merge git://git.denx.de/u-boot-fsl-qoriq |\ \ \ | * | | 0e68a36 ARMv8/ls1043ardb: Integrate FSL PPA | * | | 45684ae ARMv8/PSCI: Fixup the device tree for PSCI | * | | 032d5bb ARMv8/Layerscape: switch SMP method accordingly | * | | f1dd4ca ARMv8/layerscape: Add FSL PPA support | * | | b45db3b ARMv8: add the secure monitor firmware framework | * | | 85cdf38 armv8: fsl-layerscape: add i/d-cache enable function to enable_caches | * | | 5ad5823 armv8: layerscape: Convert to use common MMU framework | * | | cd4b0c5 armv8: mmu: Add support of non-identical mapping | * | | f733d46 armv8: mmu: split block if necessary | * | | 252cdb4 armv8: mmu: house cleaning | * | | 50e93b9 armv8: Add tlb_allocated to arch global data | * | | e61a753 armv8: Move secure_ram variable out of generic global data * | | | f60d060 test: Adjust the of-platdata test run condition * | | | 62a3b7d Various, unrelated tree-wide typo fixes. * | | | fc5d54b configs: Add more CONFIG_ARMV7_PSCI_NR_CPUS entries * | | | 1f9ef0d Merge branch 'master' of http://git.denx.de/u-boot-sunxi |\ \ \ \ | * | | | b707396 ARM: PSCI: Make psci_get_cpu_stack_top local to armv7/psci.S | * | | | 6e6622d ARM: PSCI: Switch to per-CPU target PC storage in secure data section | * | | | 45c334e ARM: PSCI: Add helper functions to access per-CPU target PC storage | * | | | a5aa7ff ARM: Add secure section for initialized data | * | | | afc1f65 ARM: Move __secure definition to common asm/secure.h | * | | | 9c4f52b sunxi: Define CONFIG_ARMV7_SECURE_MAX_SIZE for sun6i/sun7i | * | | | 3eff681 ARM: Add CONFIG_ARMV7_SECURE_MAX_SIZE and check size of secure section | * | | | 28f9035 ARM: PSCI: Remove unused psci_text_end symbol | * | | | 8c0ef7f ARM: PSCI: Allocate PSCI stack in secure stack section | * | | | 980d6a5 ARM: Add an empty secure stack section | * | | | dbf38aa ARM: PSCI: Add missing CONFIG_ARMV7_PSCI_NR_CPUS for PSCI enabled platforms | * | | | a1274cc ARM: Page align secure section only when it is executed in situ | * | | | 1e77ce0 sunxi: Add missing CONFIG_ARMV7_PSCI_NR_CPUS for sun7i | * | | | 94a389b sunxi: Move remaining PSCI assembly code to C | * | | | b528132 ARM: PSCI: Split out common stack setup code from psci_arch_init | * | | | 66ab528 sunxi: Add defconfig and dts file for the Orange Pi Lite SBC | * | | | fa8a485 sunxi: Sync sun8i-h3-orangepi-plus.dts with upstream | * | | | 74fcc92 sunxi: orangepi_pc: Add support for eMMC found on the Orange Pi PC Plus | * | | | ef36d9a sunxi: Use BROM stored boot_media value to determine our boot-source | * | | | 4a8c7c1 sunxi: Remove some unnecessary #ifdefs | * | | | f221961 sunxi: Add support for multiple ethadrr-esses | * | | | a29710c net: Add EMAC driver for H3/A83T/A64 SoCs. | * | | | 26c0c15 sunxi: mmc: increase status register polling rate for data transfers | * | | | 320e057 sunxi: FEL - Add the ability to recognize and auto-import uEnv-style data | * | | | 19e99fb sunxi: Support booting from SPI flash | |/ / / * | | | 926fbcc Merge branch 'master' of git://git.denx.de/u-boot-samsung |\ \ \ \ | * | | | 3537ee8 mmc: exynos_dw_mmc: support the Driver mode for Exynos | * | | | 70f6d39 mmc: exynos_dw_mmc: use the 4bit bus-width by default | * | | | d956a67 mmc: exynos_dw_mmc: clean the unused and unnecessary codes | * | | | ce757b1 mmc: exynos_dw_mmc: add the error control for checking index | * | | | f565ea5 mmc: exynos_dw_mmc: remove #ifdef for OF_CONTROL | * | | | fb6706c mmc: exynos_dw_mmc: remove the unused function | * | | | 836efb3 ARM: exynos4: dts: add the prefix '/' for aliases nodes | | |_|/ | |/| | * | | | ebe621d Merge git://git.denx.de/u-boot-dm |\ \ \ \ | * | | | 1269625 dm: Update the of-platdata README for the new features | * | | | b979d3d dm: Add a test for of-platdata | * | | | a811779 test/py: Start sandbox SPL when enabled | * | | | ebec58f test/py: Provide a way to get early console output | * | | | c7f636f test/py: Note which console produced unexpected output | * | | | 2fedbaa test/py: Handle testing with the sandbox_spl board | * | | | 97feca3 rockchip: Use of-platdata for firefly-rk3288 | * | | | 086ec0e rockchip: sdram: Update the driver to support of-platdata | * | | | fb4baf5 rockchip: sdram: Move all DT decoding to ofdata_to_platdata() | * | | | 5ce4bb2 rockchip: syscon: Update to work with of-platdata | * | | | 6afc466 rockchip: Don't use spl_boot_device() with of-platdata | * | | | 6efeeea rockchip: Move the MMC setup check earlier | * | | | d95b14f rockchip: pinctrl: Update the rk3288 driver to support of-platdata | * | | | 2d143bd rockchip: clk: Update the rk3288 driver to support of-platdata | * | | | 08fd82c rockchip: clk: Move all DT decoding to ofdata_to_platdata() | * | | | bfeb443 rockchip: mmc: Update the driver to support of-platdata | * | | | 6809b04 rockchip: mmc: Move all DT decoding to ofdata_to_platdata() | * | | | 9ca7e67 rockchip: Update the sdram-channel property to support of-platdata | * | | | 2fc24d5 rockchip: serial: Add an of-platdata driver for rockchip | * | | | b2927fb dm: serial: ns16550: Update to support of-platdata | * | | | 1e6ca1a dm: core: Add an implementation of regmap_init_mem_platdata() | * | | | a951431 dm: core: Move regmap allocation into a separate function | * | | | 3949a41 dm: sandbox: Enable of-platdata for sandbox_spl | * | | | 2c9dfb5 sandbox: Don't bring in the eeprom emulator in SPL | * | | | 9fa2819 dm: core: Expand platdata for of-platdata devices | * | | | d22199b dm: Don't attach the device tree to SPL with of-platdata | * | | | efefe12 dtoc: Ignore the u-boot, dm-pre-reloc property | * | | | fd1c2d9 dm: core: Rename DM_NAME_ALLOCED to DM_FLAG_NAME_ALLOCED | * | | | 7d23b9c dm: spl: Bind in all devices in SPL with of-platdata | * | | | e240913 tiny-printf: Support assert() | * | | | 162a7a4 Only build the libfdt python module if 'swig' is available | * | | | 76bce10 dm: Add a more efficient libfdt library | * | | | dbbe2e6 dm: Makefile: Build of-platdata files when the feature is enabled | * | | | 69f2ed7 dm: Add a tool to generate C code from a device tree | * | | | ec564b4 dm: Add a library to provide simple device-tree access | * | | | 39782af dm: Add a README for of-platdata | * | | | 2789ddb dm: Add an option to enable the of-platdata feature | * | | | 7a53a54 dm: Don't include fdtdec functions when of-platdata is enabled | * | | | b484b0d dm: serial: Add support for of-platdata | * | | | 7423daa dm: clk: Add support for of-platdata | * | | | f24770d dm: Add a header that provides access to the of-platdata structs | * | | | bab8233 dm: sandbox: Add a simple driver to test of-platdata | * | | | 04ecf36 dm: syscon: Add support for of-platdata | * | | | 3b2a29e dm: regmap: Add a dummy implementation for of-platdata | * | | | 29629eb dm: core: Don't use device tree with of-platdata | * | | | 054b3a1 dm: Makefile: Build of-platdata before SPL | * | | | d223e0a dm: spl: Don't set up device tree with of-platdata | * | | | a091a8f sandbox: Add a test device that uses of-platdata | * | | | 8797b2c sandbox: Add a new sandbox_spl board | * | | | 0110f50 sandbox: serial: Don't sync video in SPL | * | | | 1c12bce sandbox: Don't use IDE and iotrace in SPL | * | | | e961a66 sandbox: Add basic SPL implementation | * | | | d0d0746 sandbox: Don't include the main loop in SPL | * | | | a7d9cae sandbox: Don't use PCI in SPL | * | | | f4289cb sandbox: Add some missing headers in cpu.c | * | | | 6e20650 sandbox: Correct header file order in cpu.c | * | | | 4cfc416 sandbox: Support building an SPL image | * | | | d4e33f5 sandbox: Allow chaining from SPL to U-Boot proper | * | | | 72a7e07 Makefile: Allow the SPL final link rule to be overridden | * | | | 12c550d spl: Drop include of i2c.h | * | | | 3928532 README: Remove CONFIG_SYS_MALLOC_F_LEN comment | * | | | 7fcdac0 sandbox: Don't print a warning for CONFIG_I2C_COMPAT | | |/ / | |/| | * | | | 36b898b rtc: Tidy up the code style * | | | bcc53bf arm: Show cache warnings in U-Boot proper only * | | | 9828682 Add warn_non_spl() to show a message in U-Boot proper * | | | 5e7f743 Add comments for debug() and pr_fmt * | | | 6b42461 arm: Don't invalidate unaligned cache regions * | | | 397b569 arm: Move check_cache_range() into a common place * | | | ba169d9 board_f: prevent misleading "Watchdog enabled" output * | | | 46d7a3b board_f: init designware watchdog if CONFIG_DESIGNWARE_WATCHDOG=y * | | | 0ec807b configs: da850evm: enable bootz command * | | | 663f6fc ARM: OMAP5+: Enable errata i727 * | | | b6fefa7 mkimage: fix missing break for -p switch * | | | 19e8649 bootm: fixup silent Linux out of BOOTM_STATE_LOADOS state * | | | 4b2fd72 stm32: Change USART port to USART6 for stm32f746 discovery board * | | | 25c1b13 stm32: Add SDRAM support for stm32f746 discovery board * | | | ba0a3c1 stm32: clk: Add 200MHz clock configuration for stm32f746 discovery board * | | | a3e2efc dragonboard410c: adding missing default addr for script and pxe boot * | | | 5a6f576 dragonboard410c: prefer sdcard boot over emmc * | | | 8729d58 test: Convert the vboot test to test/py * | | | 1152a05 tools: Correct error handling in fit_image_process_hash() * | | | 655cc69 tools: Add an error code when fit_handle_file() fails * | | | 73a9054 test/py: Add a helper to run a list of U-Boot commands * | | | 9e17b03 test/py: Provide a way to check that a command fails * | | | 8b304a3 test/py: Add an option to execute a string containing a command * | | | f3d3e95 test/py: Return output from run_and_log() * | | | 86845bf test/py: Provide output from exceptions with RunAndLog() * | | | 3b8d9d9 test/py: Allow RunAndLog() to return the output * | | | 0671960 test/py: Allow tests to control the sandbox device-tree file * | | | b9c771b sandbox: Don't exit when bootm completes * | | | 07f4ead test: Add a simple script to run tests on sandbox * | | | f6349c3 test: Add a README * | | | 022885c tools: Allow building with debug enabled * | | | 51f03e6 mkimage: Show item lists for all categories * | | | f24e105 mkimage: Use generic code for showing an 'image type' error * | | | 3066422 mkimage: Allow display of a list of any image header category * | | | 1426220 image: Add functions to obtain category information * | | | 30495bf image: Add a name for invalid types * | | | 56d7ab7 image: Create a table of information for each category * | | | 555f45d image: Convert the IH_... values to enums * | | | 3a45f38 image: Correct auto-fit architecture property name * | | | 58b2247 mkimage: Drop blank line before main() * | | | 63ef31b mkimage: Drop premature setting of params.fit_image_type * | | | e324a92 mkimage: Require a data file when auto-fit is used * | | | 3c23c0f mkimage: Explain the auto-fit imagefile special case * | | | 20deadd mkimage: Honour the default image type with auto-fit * | | | 9a38712 linux/io.h: add generic ioremap()/iounmap() defines * | | | c74b8fc arm, nds32, sh: remove useless ioremap()/iounmap() defines * | | | 95ebc25 types.h: move and redefine resource_size_t * | | | 8662bea doc: Update info on using secure devices from TI * | | | e29878f arm: am4x: add U-Boot FIT signing and SPL image post-processing * | | | 17c2987 arm: omap5: add U-Boot FIT signing and SPL image post-processing * | | | da74d1f spl: fit: add support for post-processing of images * | | | bf9ec86 arm: omap-common: Update to generate secure U-Boot FIT blob * | | | 1bb0a21 arm: omap-common: secure ROM signature verify API * | | | d86f7af arm: omap-common: add secure rom call API for secure devices * | | | 51d0638 arm: omap-common: add secure smc entry * | | | ec6f610 arm: cache: add missing dummy functions for when dcache disabled * | | | 6b6024e arm64: add better and more generic spin-table support |/ / / * | | 3a592a1 Revert "armv8: Enable CPUECTLR.SMPEN for coherency" * | | b8e5997 Merge branch 'master' of git://git.denx.de/u-boot-x86 |\ \ \ | * | | 9532fe3 x86: link: Correct a failure in DRAM init | * | | 215099a x86: Add Advantech SOM-DB5800/SOM-6867 support | * | | 3ff11aa x86: baytrail: acpi: Hide internal UART per GNVS setting | * | | 79c2c25 x86: acpi: Pack global NVS into ACPI table | * | | cf7108b x86: quark: Introduce ACPI global NVS | * | | 2047390 x86: baytrail: Introduce ACPI global NVS | * | | f2a751b x86: conga-qeval20-qa3: Add support for internal UART | * | | d9703a0 x86: fsp: Wrap setup_internal_uart() call with CONFIG_INTERNAL_UART | * | | 377656b x86: baytrail: Introduce a Kconfig option for the internal UART | * | | f698baa pci: Add board_ prefix to should_load_oprom() and make it weak | * | | c0aea6b pci: Make load_oprom and run_oprom independent | * | | b45dd66 pci: Remove CONFIG_ALWAYS_LOAD_OPROM | |/ / * | | bff97dd Merge branch 'master' of git://git.denx.de/u-boot-spi |\ \ \ | * | | 96907c0 dm: spi: Read default speed and mode values from DT | * | | e835a74 ARM: dts: dra7x: Support QSPI MODE-0 operation at 64MHz | * | | 988fb5c defconfig: k2g_evm_defconfig: Enable Cadence QSPI controller | * | | b60774f ARM: dts: K2G: Add support for QSPI controller | * | | 2372e14 spi: cadence_quadspi: Enable QUAD mode based on DT data | * | | dac3bf2 spi: cadence_qspi_apb: Support 32 bit AHB address | * | | fdf02a3 defconfig: k2g_evm_defconfig: enable SPI driver model | * | | c8e7504 ARM: dts: k2g: add support for Davinci SPI controller | * | | c48f879 defconfig: k2l_evm_defconfig: enable SPI driver model | * | | 1881794 ARM: dts: k2l: Enable Davinci SPI controller | * | | cf4f0a9 defconfig: k2e_evm_defconfig: enable SPI driver model | * | | 2655f16 ARM: dts: k2e: Enable Davinci SPI controller | * | | 376c533 defconfig: k2hk_evm_defconfig: enable SPI driver model | * | | 96368e6 ARM: dts: k2hk: Enable Davinci SPI controller | * | | e5fcf03 ARM: dts: keystone2: add SPI aliases for davinci SPI nodes | * | | 3983224 keystone2: spi: do not define DM_SPI and DM_SPI_FLASH for SPL build | * | | 192bb75 spi: davinci_spi: Convert to driver to adapt to DM | * | | 7c61686 dm: core: implement dev_map_physmem() | * | | c8864d7 spi: spi-uclass: fix typo in debug output * | | | 94fbd3e tools: patman: Handle missing 'END' in non-last commit of a series * | | | 57b6b19 tools: patman: Handle missing blank line for 'Series-changes' * | | | 0d57718 tools: patman: Generate cover letter correctly when 'END' is missing * | | | 13b98d9 tools: patman: Handle tag sections without an 'END' * | | | e7df218 tools: patman: Use cover_match for 'Cover-letter' * | | | 6f0e7a3 dm: Sort the uclass id in alphabetical order * | | | 920c696 sandbox: Find keyboard driver using driver model * | | | 39ea0ee fdt: x86: Tidy up a few COMPAT string definitions * | | | 01a227d fdt: Add a note to avoid adding new compatible strings * | | | da9e0a9 fdt: Drop unused exynos compatible strings * | | | 6cd2602 x86: fdt: Drop the unused compatible strings in fdtdec * | | | ec3cde1 common: block: fix compiler error with CONFIG_FASTBOOT_FLASH_MMC_DEV * | | | 4b689f0 dm: gpio: MPC85XX GPIO platform data support * | | | 797d1b9 dm: dfu: mmc: Support CONFIG_BLK in DFU for MMC * | | | 87bce4e dm: spl: mmc: Support CONFIG_BLK in SPL MMC * | | | 4b00bdb dm: mmc: msmsdhic: Drop old MMC code * | | | 91cbc3f dm: mmc: Move dragonboard410c to use CONFIG_BLK and CONFIG_DM_MMC_OPS * | | | 12293f6 dm: mmc: msm_sdhci: Support CONFIG_BLK and CONFIG_DM_MMC_OPS * | | | ef1e4ed dm: mmc: sdhci: Support CONFIG_BLK and CONFIG_DM_MMC_OPS * | | | 2a80909 dm: mmc: sdhci: Refactor configuration setup to support DM * | | | 9a46bd3 dm: sandbox: Convert to use CONFIG_CMD_MMC_OPS * | | | 3649a0f rockchip: Add MAINTAINER files for kylin_rk3036, evb_rk3036 * | | | 42b37d8 dm: mmc: rockchip: Enable CONFIG_DM_MMC_OPS for all boards * | | | 691272f dm: mmc: dwmmc: Support CONFIG_DM_MMC_OPS * | | | 8ca51e5 dm: mmc: Add a way to use driver model for MMC operations * | | | 7d1c8d9 rockchip: Disable CONFIG_SDHCI * | | | c0c76eb mmc: Move tracing code into separate functions * | | | 6775e01 dm: mmc: rockchip: Support only CONFIG_BLK * | | | c40704f mmc: Move MMC boot code into its own file * | | | 5aed4cb dm: mmc: Move non-CONFIG_BLK code into mmc_legacy.c * | | | eede897 dm: mmc: Move CONFIG_BLK code into the mmc uclass * | | | 7dba0b9 mmc: Add function declarations for mmc_bread() and mmc_switch_part() * | | | aa15038 rockchip: Use 'select' instead of defaults in Kconfig * | | | e7a773a dm: mmc: dwmmc: Add comments to the dwmmc setup functions | |/ / |/| | * | | 19ce924 Prepare v2016.07 * | | a868598 doc: ARMv8: add README.pine64 * | | 969cd1f mkimage -l is broken for images after gpimage * | | 5fb0001 git-mailrc: add rockchip alias * | | d73718f armv8: Enable CPUECTLR.SMPEN for coherency * | | d56dd0b test/py: support 'memstart =' in u_boot_utils.find_ram_base() * | | 085e64d test/py: strip VT100 codes from match buffer * | | 0de02de arm: Fix setjmp (again) | |/ |/| * | 59d07ee SPL: tiny-printf: avoid any BSS usage * | a82642f test/py: fix CONFIG_ tests * | eb9d3ca mmc: msm_sdhci: Set mmc->dev pointer in msm_sdc_probe() * | abbaa23 Merge branch 'master' of git://git.denx.de/u-boot-usb |\ \ | * | eb364c3 powerpc: mpc85xx: kmp204x: Fix compiling error for usb errata | * | 12c67d7 powerpc: mpc85xx: Do not build errata command in SPL | * | e6e188f usb: dm: Make "usb info" use usb_for_each_root_dev() | * | 2138fd6 usb: dm: Add a usb_for_each_root_dev() helper function | |/ * | 99b8275 Merge branch 'master' of git://git.denx.de/u-boot-tegra |\ \ | * | 703aaf7 fdt: Drop some unused compatible strings | * | 8d37483 tegra: video: Always use write-through cache on LCD | * | ec55077 video: tegra: Move to using simple-panel and pwm-backlight | * | ce02a71 tegra: dts: Sync tegra20 device tree files with Linux | * | 862887d errno: Allow errno_str() to be used without CONFIG_ERRNO_STR | * | 00e9e6d errno: Add copyright header and header guard | * | f39a6a3 pci: tegra: actually program REFCLK_CFG* on recent SoCs | * | 3cfc6be pci: tegra: correctly program PADS_REFCLK registers | |/ * | 246fa47 Merge branch 'master' of git://git.denx.de/u-boot-net |\ \ | * | 4c64c4d net: rtl8169: Fix return value for rtl_send_common | * | e4ead4a net: Fix incorrect RPC packets on 64-bit systems | * | 19c9dda driver: net: phylib: add support for aquantia AQR106/107 PHY | * | 66d027e net: designware: Make driver independent from DM_GPIO again | * | 2307ea4 common: Always include errno.h in common.h | |/ * | 70c440e rockchip: video: Lower hpd wait time |/ * e8009be Merge git://git.denx.de/u-boot-arc |\ | * c7dea6e arc: make global_data.h usable in assembly files | * 7a54f51 arc: Use "-mcpu=archs" instead of deprecated "-marchs" for ARC HS * | 8d24176 Merge branch 'master' of http://git.denx.de/u-boot-sunxi |\ \ | * | d2a6af0 sunxi: Add defconfig and DTS file for Allwinner R16 EVB (Parrot) | * | 9acebe8 sunxi: Add missing boot_media fields in the SPL header | * | cd8b35d sunxi: spl: Fix DRAM info printing | |/ * | 68f7289 Merge branch 'master' of git://git.denx.de/u-boot-usb |\ \ | * | 57de41e ehci: mx7: fix otg id detection | * | 429ff44 ehci: mx7: fix usbnc_regs | * | 217d169 usb: fsl: Fix NULL terminating issue for usb controller name string * | | 2f6b470 Merge branch 'master' of git://git.denx.de/u-boot-socfpga |\ \ \ | |_|/ |/| | | * | 61520ac arm: socfpga: Fix "improve raw MMC SPL boot" | |/ * | 0e1e587 Prepare v2016.07-rc3 * | 20a4104 Merge branch 'master' of git://git.denx.de/u-boot-uniphier |\ \ | * | e64a6b1 ARM: uniphier: add external IRQ setup code | * | 1013aef ARM: dts: uniphier: add AIDET nodes | * | fc9da85 pinctrl: uniphier: add Ethernet pin-mux settings | * | 64c1cc4 pinctrl: uniphier: avoid building unneeded pin-mux tables for SPL | * | 5e25b9d pinctrl: uniphier: support pin configuration for dedicated pins | * | 3379987 pinctrl: uniphier: split pinctrl driver for PH1-LD11 and PH1-LD20 | * | 186c133 pinctrl: uniphier: allow to have pinctrl node under syscon node | * | c4adc50 ARM: dts: uniphier: sync Device Trees with upstream Linux | * | aac641b pinctrl: uniphier: remove unneeded pin group nand_cs1 | * | 69da34c pinctrl: uniphier: fix NAND pin-mux setting for PH1-LD11/LD20 | * | 4d1065c pinctrl: uniphier: remove wrong pin-mux functions for ProXstream2 | * | 4cb9399 ARM: uniphier: fix typo "talbe" * | | d90bb43 mmc: increase MMC SDHCI read status timeout * | | df6b506 ti_omap5_common: Find right dtb file for DRA72-RevC Evm * | | 4632739 autoboot: move bootdelay >= 0 check to abortboot() * | | 09b9d9e autoboot: move CONFIG_SILENT_CONSOLE handling * | | d8da829 autoboot: rename abortboot_{keyed, normal} to __abortboot * | | 2fbb846 autoboot: remove CONFIG_ZERO_BOOTDELAY_CHECK * | | 9060970 doc: bootdelay: drop explanation about CONFIG_BOOTDELAY from README * | | ea72ee7 ARM: socfpga: move CONFIG_BOOTDELAY to Kconfig for IS1 board * | | 4aae64c ARM: AM437x: Align HS device variant defconfig filename * | | 8dfd6e2 driver: qspi: correct QSPI disable CS reset value |/ / * | ff6e156 x86: coreboot: Remove the dummy pch driver * | 44faff2 Merge git://git.denx.de/u-boot-fsl-qoriq |\ \ | * | dee01e4 armv8: dts: fsl: Remove cpu nodes from Layerscape DTSIs | * | 49cdce1 armv8: fsl-layerscape: Append "A" in SoC name for ARM based SoCs | * | 1483151 mmc: fsl: introduce wp_enable | * | 84ecdf6 fsl_esdhc: Update clock enable bits for USDHC | * | f53225c mmc: fsl: reset to normal boot mode when eMMC fast boot | * | 68aaa98 armv8: ls1043aqds: print FPGA info early for QSPI boot | * | 581ff00 armv8: ls1043aqds: use configurable clock | * | a2fd238 armv8: ls1043aqds: fix to get boot device info from FPGA | * | f3acaf4 armv8/fsl_lsch2: Correct the cores frequency initialization | |/ * | 6f0aea3 configs: Re-sync after boot menu changes * | faaef73 common: add new boot media kconfig entry * | d14739f Kconfig: make NOR_BOOT a common option * | 4a9a329 maintainers: new email address * | 0abd63b fastboot: sparse: improve CHUNK_TYPE_FILL write performance * | 2c72404 fastboot: sparse: implement reserve() * | 9bc3479 fastboot: sparse: resync common/image-sparse.c (part 2) * | cc0f08c fastboot: sparse: resync common/image-sparse.c (part 1) * | 64ece84 fastboot: sparse: remove session-id logic * | ac6e5fe Merge branch 'master' of git://git.denx.de/u-boot-samsung |\ \ | * | ca2ec9a mmc: dw_mmc: fix the wrong AND operation * | | 8e6e822 arm: at91: taurus/axm: add DM and DTS support * | | 13ee789 arm: at91: smartweb: add DM and DTS support * | | ae21e96 arm: at91: dts: Bring in dts files for AT91SAM9G20 and SAM9260 * | | 289f979 corvus DTS / DM support * | | ce9844c arm: at91: add CONFIG_AT91SAM9M10G45 * | | 968ebdf ARM: at91: Don't invoke spl_boot_device() twice * | | 2b1cdaf common: Pass the boot device into spl_boot_mode() |/ / * | 4141e85 kbuild: avoid race between dtbs and dt/dt.dtb targets * | fba5f93 efi_loader: Fix typo in distro script * | a4d7999 board/BuR: rename kwb board to brxre1 * | 2290fe0 board/BuR: rename tseries board to brppt1 * | 8ada4e0 arm: bcm235xx: update clock framework * | 77a1a67 arm: bcm235xx: fix kps ccu * | 9d7f416 arm: bcm235xx: implement the boot0 hook code * | 202b84a arm: bcm235xx: choose 8-bit phy bus width * | df8b0a0 clk: sandbox: don't check clk ID against 0 * | bd62e24 common: Fix support for environment file in EXT4 * | ec04836 ARM: armv7: refactor Makefile slightly * | f1f9d4f hush: complete renaming CONFIG_SYS_HUSH_PARSER to CONFIG_HUSH_PARSER * | b88d6f7 Move CONFIG_SYS_HUSH_PARSER to Kconfig for last 4 boards * | 62f8183 mtd: nand: Drop a blank line in nand_wait() * | 6441e3d ARM: move #ifdef to match the error handling code * | afedf54 arm64: optimize smp_kick_all_cpus * | a2cfc8d lib/lzo: bugfix when input data is not compressed * | 9604474 env: avoid build error for boards without CONFIG_SYS_{CPU, BOARD} * | 5847084 Respect SOURCE_DATE_EPOCH when building FIT images. * | 42ffa51 Use C locale when setting CC_VERSION_STRING and LD_VERSION_STRING. * | 1e23737 board: amlogic: Rename folder for Amlogic boards * | 4b3ab59 configs: gxbb: Introduce a common config header file * | 4f1318b common: image: minimal android image iminfo support * | f8f9107 mkimage: fit: spl: Add an optional static offset for external data * | 92dfd92 cmd: bootefi: cosmetic * | 85a2f77 omap3: bugfix in timer on rollover |/ * b66a5c0 Merge branch 'master' of git://git.denx.de/u-boot-uniphier |\ | * fc2661e tools: moveconfig: show suspicious boards with possible misconversion | * 96dccd9 tools: moveconfig: simplify show_failed_boards() and show more info | * f432c33 tools: moveconfig: simplify source tree switching | * 5cc42a5 tools: moveconfig: change class WorkDir to class ReferenceSource | * 5030159 tools: moveconfig: fix needless move for config with default 1 * | 69fd0d4 NFS: Add error message when U-Boot NFS version (V2) is not supported by NFS server * | 08e64ce net: phy: marvell: Do not reset 88e1310 after autoneg * | 7988774 net: phy: micrel: add support for KSZ886x switches in MIIM mode * | dad7b74 net: rtl8169: fix switching between adapters |/ * 9f82361 Kconfig: Add a new DISTRO_DEFAULTS Kconfig option * 4257f5f sunxi: Add PSCI implementation in C * 3424c3f sunxi: Add base address for GIC * 7579a3e sunxi: Add CPUCFG debug lock and sun7i cpu power controls * 20e3d05 sunxi: Group cpu core related controls together * 57c2a25 sunxi: Add missing linux/types.h header for cpucfg_sun6i.h * d7d4e5c sunxi: Add packed attribute to struct sunxi_prcm_reg * 0f3b894 sunxi: Make CPUCFG_BASE macro names the same across families * b56e06d ARM: allocate extra space for PSCI stack in secure section during link phase * cbeeb2a ARM: PSCI: export common PSCI function declarations for C code * 778dc5f ARM: PSCI: save and restore clobbered registers in v7_flush_dcache_all * dae08d2 ARM: PSCI: use only r0 and r3 in psci_get_cpu_stack_top() * 3da9536 sunxi: Revert "sunxi: make SoC variant choice mandatory" * 3551b24 sunxi: Add defconfig and dts file for inet86dz board * cd38e3d sunxi: Add defconfig and dts file for Polaroid MID2407PXE03 tablet * 8c7d229 sunxi: Select USE_TINY_PRINTF * da70b4d tinyprintf: Add vprintf implementation * 46fd625 Prepare v2016.07-rc2 * 41598c8 autoboot: add CONFIG_AUTOBOOT to allow to not compile autoboot.c * 2313d48 Merge git://git.denx.de/u-boot-nand-flash |\ | * 30780f9 mtd: nand: Patch remaining places where nand_to_mtd() should be used | * caad0d0 nand: doc: fix example ecc scheme calculation | * 1866be7 nand: extend nand torture | * e1c2908 nand: nand torture: follow sync with linux v4.6 | * 6171757 common: fb_nand: won't compile | * 7748b41 spl: nand: sunxi: add support for NAND config auto-detection | * 4e7d1b3 spl: nand: sunxi: split 'load page' and 'read page' logic | * bb9783b spl: nand: sunxi: rework status polling loop | * fa30115 spl: nand: sunxi: stop guessing the redundant u-boot offset | * 80ef700 spl: nand: support redundant u-boot image | * 494e108 spl: nand: rework SYS_NAND_U_BOOT_OFFS Kconfig option dependency | * c4adf9d spl: nand: sunxi: remove support for so-called 'syndrome' mode * | 1a3619c mmc: add MMC_VERSION_5_1 * | 333463d dragonboard410c: Increase default environment size. * | 09849f4 Merge git://git.denx.de/u-boot-dm |\ \ | * | 135aa95 clk: convert API to match reset/mailbox style | * | 4581b71 reset: implement a reset test | * | 89c1e2d Add a reset driver framework/uclass | * | 0f67e23 mailbox: add Tegra186 HSP driver | * | 769d52e mailbox: rename headers | * | 21047b3 sandbox: gpio: doc: Fix parameter documentation | * | 6feed2a lib/libfdt/: General aesthetic/style fixes. | * | fc76b69 gpio: pca953x: Fix register reading past 8th GPIO | * | 5aeedeb dm: add manual relocation for devices * | | 7c8ef0f ARM: uniphier: use the default CONFIG_BOOTDELAY=2 * | | 51ea5a0 ARM: uniphier: reserve memory for DRAM PHY training on PH1-LD20 * | | 18c1198 ARM: uniphier: move CONFIG_ARMV8_MULTIENTRY to Kconfig * | | 48efc8a ARM: uniphier: introduce CONFIG_ARM_UNIPHIER_{32, 64}BIT * | | 50862a5 ARM: uniphier: change CPU_RELEASE_ADDR to the head of DRAM space |/ / * | 9ab165d SPL ext: cosmetic: correct error message in spl_load_image_ext() * | 7a77e90 fs: cbfs: Fix build of fs/cbfs/cbfs.c when building u-boot sandbox on x86 32-bit * | 7a8f886 test/py: fix printenv signon message disable code * | 6beacfc Merge branch 'master' of git://git.denx.de/u-boot-socfpga |\ \ | * | cf0a8da ARM: socfpga: Sort Kconfig entries | * | 35546f6 ARM: socfpga: add support for IS1 board * | | a10a31e Merge branch 'master' of git://git.denx.de/u-boot-usb |\ \ \ | * | | 1e6fb0e usb: ehci: only shutdown opened controller | * | | 7839f5f cmd: usb: check if_type before using this device | * | | ef53b8c usb: xhci: fsl: Add workaround for USB erratum A008751 | * | | 32fbd46 armv8/ls2080: Remove workaround for erratum A008751 | * | | 9262367 fsl: usb: make errata function common for PPC and ARM | * | | bf65577 usb: xhci: fsl: code cleanup for device tree fixup for fsl usb controllers | * | | 6fb522d arm64: fsl-layerscape: add get_svr and IS_SVR_REV helper | * | | 1653cd1 arm: bcm281xx: choose 8-bit phy bus width | * | | f221db0 usb: dwc2_udc_otg: support 8-bit interface * | | | 2372b00 Merge branch 'master' of git://www.denx.de/git/u-boot-imx |\ \ \ \ | * | | | 67ef2c1 warp7: Fix DFU support | * | | | 72a868f warp7: Add README file | * | | | 0a35cc9 warp7: Fix watchdog reset | * | | | 0d7cdc2 imx: mx6ulevk: change QSPI PAD DSE to 120ohm | * | | | 2886832 imx6ulevk: fix LCD_nPWREN setting | * | | | 8580157 imx6ulevk: fix 74LV OE usage | * | | | 0fcb85c mx7dsabresd: Fix LCD_PWR_EN output setting | * | | | 6c51a36 mx6sabresd: Allow LVDS backlight to be functional after a kernel reboot | * | | | dc557e9 Merge branch 'master' of git://git.denx.de/u-boot | |\ \ \ \ | | |/ / / * | | | | e677724 arm: Fix setjmp * | | | | 7142343 arm, am335x: siemens: enable DM/DTS support * | | | | e7b35eb arm, am335x: siemens: update etamin defconfig * | | | | ae094f8 ARM: AM57xx: Enable FIT for HS Devices * | | | | f51c8a9 OMAP3: fix twister board * | | | | 1e2a1fb Orphan dbau1x00 boards * | | | | 58c95d5 SPL: ext: remove redundant ifdef statement * | | | | e17adbb common: image-fit: Cleanup spelling mistakes * | | | | 030cada ARM: AM437x: Enable FIT for hs platforms * | | | | 8311b3b ARM: AM437x: Sync defconfig between GP and HS EVM * | | | | 7802ce9 configs: Re-sync BOOTDELAY changes * | | | | 5e4e874 common/Kconfig: Change the default BOOTDELAY to 2 * | | | | 232d77e Merge branch 'master' of git://git.denx.de/u-boot-ubi |\ \ \ \ \ | * | | | | 1cb075c splash_source: add support for ubifs formatted nand * | | | | | 1736121 board: am437x-hs: spl: Select right dtb from fit * | | | | | cc5cdaa ti_omap5_common: Add right dtb file for AM572x-IDK * | | | | | 332dddc ARM: dts: AM572x-IDK Initial Support * | | | | | 5e8f29a ARM: AM57xx: Enable FIT * | | | | | 7a0ea58 board: am57xx: fit: add support for selecting dtb dynamically * | | | | | 165bd7a board: am57xx: Rename TARGET_BEAGLE_X15 as TARGET_AM57XX_EVM * | | | | | 9702ec0 armv8: s32v234: Introduce basic support for s32v234evb * | | | | | 1f68dbc serial: Introduce linflex uart support * | | | | | 43486e4 board: arm:: Add support for Broadcom BCM23550 * | | | | | 1e03124 Merge branch 'master' of git://git.denx.de/u-boot-arc |\ \ \ \ \ \ | * | | | | | fc1e8fb axs103: Bump CPU frequency from 50MHz to 100MHz | * | | | | | 5bea2be arc: Update data accessors with use of memory barriers | * | | | | | c7d8db6 board: axs10x: Flush entire cache after programming reset vector | * | | | | | a4a43fc arc/cache: Flush & invalidate all caches right before enabling IOC | * | | | | | bd91508 arc/cache: really do invalidate_dcache_all() even if IOC exists | | |_|/ / / | |/| | | | * | | | | | f4abfed Merge branch 'master' of git://git.denx.de/u-boot-ubi |\ \ \ \ \ \ | | |/ / / / | |/| | | | | * | | | | c1f51e0 common: env_ubi: Clear environment buffer before reading | |/ / / / * | | | | fd9102d Merge branch 'master' of git://git.denx.de/u-boot-atmel |\ \ \ \ \ | * | | | | c1631c8 serial: atmel_usart: Add device tree support | * | | | | d3b6662 ARM: at91: Fix PMC bit definitions | * | | | | 1c24f13 ARM: at91: sama5: Extend boot device autodetection | * | | | | 885fc03 arm: at91: Add support for gurnard | * | | | | 04b9dd1 fdt: Correct return value in fdtdec_decode_display_timing() | * | | | | 9dc89a0 at91: video: Support driver-model for the LCD driver | * | | | | d63ec26 at91: video: Prepare for driver-model conversion | * | | | | 88a7fff linux/compat.h: add dev_warn() | * | | | | b3ab0fc at91: Add driver-model GPIO devices for AT91SAM9G45 | * | | | | 65319f1 at91: nand: Set up the ECC strength correctly | * | | | | 5a9ae33 at91: Correct NAND ECC register access | * | | | | 01648f3 arm: at91: Add a header file for the real-time clock | * | | | | 6f96785 arm: at91: dts: Bring in device tree file for AT91SAM9G45 | * | | | | f1dcc19 net: macb: Convert to driver model | * | | | | f589f8c net: macb: Flush correct cache portion when sending | * | | | | d5555b7 net: macb: Prepare for driver-model conversion | * | | | | 166c409 net: Handle an empty bootp extension section | * | | | | b4d956f bootm: Align cache flush end address correctly | * | | | | b5bd098 arm: Allow skipping of low-level init with I-cache on | * | | | | 9095846 at91: Add support for the AT91 slow clock controller | * | | | | 152ac5f gpio: at91: Fix pullup/pulldown configuration on PIO3 | |/ / / / * | | | | a521428 Merge branch 'master' of git://git.denx.de/u-boot-uniphier |\ \ \ \ \ | * | | | | 3865b9e autoboot: follow-up cleanup after CONFIG_BOOTDELAY moves | * | | | | 2c15534 ARM: stm32: remove unused CONFIG_AUTOBOOT | * | | | | cd51878 tools: fix define2mk.sed to not add quotes around negative integers | * | | | | 6b96c1a tools: moveconfig: Add a new --git-ref option | * | | | | 06cc1d3 tools: moveconfig: New color used for changed defconfig | * | | | | f2dae75 tools: moveconfig: Fix another typo | * | | | | e307fa9 tools: moveconfig: make Slot.poll() more readable with helper methods | * | | | | 6a9f79f tools: moveconfig: allow to run without any CONFIG specified | * | | | | 8513dc0 tools: moveconfig: add --force-sync option | * | | | | c8e1b10 tools: moveconfig: report when defconfig is updated | * | | | | 5da4f85 tools: moveconfig: report when CONFIGs are removed by savedefconfig | * | | | | c1c4d0f tools: moveconfig: display log when savedefconfig occurs | * | | | | 7fb0bac tools: moveconfig: skip savedefconfig if .config was not updated | * | | | | 4efef99 tools: moveconfig: refactor code to go back to idle state | * | | | | 1d08556 tools: moveconfig: display log atomically in more readable format | * | | | | 522e8dc tools: moveconfig: move log output code out of Kconfig Parser class | * | | | | 1f16992 tools: moveconfig: compute file paths just once | * | | | | b6ef393 tools: moveconfig: allow to give CONFIG names as argument directly | * | | | | b134bc1 tools: moveconfig: drop code for handling type and default value | * | | | | cc00829 tools: moveconfig: do not rely on type and default value given by users | * | | | | c5e60fd tools: moveconfig: increment number of processed files monotonically | * | | | | bd63e5b tools: moveconfig: exit with error message for not clean directory | * | | | | 90ed6cb tools: moveconfig: check compilers before starting defconfig walk | * | | | | 4b430c9 tools: moveconfig: check directory location before compilers | * | | | | ff8725b tools: moveconfig: remove redundant else: after sys.exit() | * | | | | 6ff36d2 tools: moveconfig: rename update_defconfig() to update_dotconfig() | * | | | | e423d17 tools: moveconfig: fix --dry-run option | |/ / / / * | | | | 51c14cd verified-boot: Minimal support for booting U-Boot proper from SPL * | | | | 7147a7e ti_armv7_common: env: Remove no longer needed mem_reserve * | | | | 666362356 cmd: gpt: add - partition size parsing * | | | | 1428d83 arm: dra7xx: Assign omap_vcores based on board type * | | | | 672a45e Merge branch 'master' of http://git.denx.de/u-boot-sunxi |\ \ \ \ \ | * | | | | 1a83fb4 sunxi: Move the SPL stack top to 0x1A000 on Allwinner A64/A80 | * | | | | 5bc88cc sunxi: Downclock AHB1 to 100MHz on Allwinner A64 | * | | | | bca4c3c sunxi: musb: Properly turn of musb controller before booting | * | | | | fd2aa39 sunxi: Add INITIAL_USB_SCAN_DELAY to Mele_A1000G_quad_defconfig | * | | | | 1903bb9 sunxi: Enable ALDO3 and ALDO4 in Wobo_i5_defconfig | |/ / / / * | | | | b103350 Merge branch 'master' of git://git.denx.de/u-boot-mips |\ \ \ \ \ | * | | | | e19b900 spi: pic32_spi: add SPI master driver for PIC32 SoC. | * | | | | 4b7b0a0 MIPS: Make CONFIG_SYS_DCACHE_LINE_SIZE int, not hex | * | | | | a95800e MIPS: Fix invalidate_dcache_range to operate on L1 Dcache | |/ / / / * | | | | 3fc304b Merge branch 'master' of git://www.denx.de/git/u-boot-imx |\ \ \ \ \ | | |/ / / | |/| | | | * | | | d2ba7a6 arm: mxs: Remove misleading comments | * | | | f6825e4 board: ge: bx50v3: add missing partnum variable | * | | | f124911 board: ge: bx50v3: disable unused features to improve size and boot speed | * | | | aacc10c board: ge: bx50v3: make SATA optional and disabled by default | * | | | c26ffd9 board: ge: bx50v3: make network support optional and disabled by default | * | | | fc44902 board: ge: bx50v3: make USB support optional and disabled by default | * | | | 07aa030 board: ge: bx50v3: make CONFIG_VIDEO optional and disabled by default | * | | | 0c344e6 board: ge: bx50v3: don't configure the backlight when there's no display | * | | | 9f8fa18 imx: mx7: implement reset_misc | * | | | cb82c38 cosmetic: mx6slevk: Minor coding-style fix | * | | | 73f366b imx: mx6qsabreauto: drop duplicated net phy configuration | * | | | 34b080b imx: ventana: add fdt fixup to enable UHS-I support on selected boards | * | | | 385575b imx: ventana: add GW553x support | * | | | fe63fcb imx: ventana: remove several EEPROM config bit dependence | * | | | 5c55572 imx: ventana: remove dependence on EECONFIG_SATA eeprom feature bit | * | | | f17a9af imx: ventana: enable pwm device-tree property based on hwconfig | * | | | 83e00f1 imx: ventana: fix invalid dio configuration for pwm mode | * | | | 7853262 imx: ventana: export backlight gpio after gpio driver is available | * | | | ca628b7 imx: ventana: gsc: show board temp on boot | * | | | 82a17e7 imx: ventana: gsc: fix negative temperature readings | * | | | efa7ed7 imx: ventana: gsc: add gsc sleep command | * | | | 6052b1c imx: ventana: SPL: added support for 32bit IMX6DQ 8Gb density DRAM config | * | | | 1b99103 imx: ventana: SPL: only disable boot watchdog if Falcon mode | * | | | 899f589 imx: ventana: config: add PREBOOT support | * | | | 5098709 imx: ventana: config: use explicit addr in loadscript | * | | | 543a4ab imx: ventana: config: use fs env var for block dev filesystem type | * | | | 1b74000 imx: ventana: config: use bootdir env var for directory of fdt files | * | | | 4df0bff imx: ventana: config: add fixfdt script to apply manual fdt fixups | * | | | 7698cdf imx: ventana: config: add env vars for disk and part | * | | | e96b6ee ts4800: add CONFIG_SYS_FSL_ERRATUM_ESDHC_A001 | * | | | e453794 ts4800: update environment to boot with device tree | * | | | a0eb8c9 imx: ventana: remove SPL_EXT_SUPPORT | * | | | 3c0fd17 imx: ventana: use EEPROM register for falcon boot mode | * | | | a419352 imx: ventana: gsc: remove dependence on env | * | | | 3061a57 imx: ventana: config: remove redundant config | * | | | 83e1394 board: mx6sabresd/auto: use simpler runtime cpu dection macros | * | | | 3fd9eb6 block: dwc_ahsata: support i.MX6DQPlus | * | | | 87f9989 net: fec_mxc: use simpler runtime cpu dection macros | * | | | bff7550 ocotp: mxc: use simpler runtime cpu dection macros | * | | | 9aa550d mtd: nand: mxs: use simpler runtime cpu dection macros | * | | | 492d60a imx-common: timer: support i.MX6DQPlus | * | | | aff3756 imx-common: sata: return failure if not i.MX6DQPlus | * | | | b5437a8 imx-common: hab: support i.MX6DQPlus | * | | | 04cb3c0 imx: mx6: correct get_cpu_speed_grade_hz for i.MX6DQP | * | | | e4d79dc imx: mx6: ddr: support i.MX6D/QPlus | * | | | 27cd0da imx-common: use simpler runtime cpu dection macros | * | | | 003f0c7 imx-common: hab: support i.MX6SOLO | * | | | b949fd2 imx: mx6: use simpler runtime cpu dection macros | * | | | dea5723 imx: mx6: support i.MX6SOLO when enable/disable_ldb_di_clock_sources | * | | | 32ff58b imx-common: introduce simpler macros for runtime dection | * | | | 08ca213 Merge branch 'master' of git://git.denx.de/u-boot | |\ \ \ \ | * | | | | d15a244 imx: correct speed grading info for i.MX6UL * | | | | | b57129d Merge branch 'master' of git://git.denx.de/u-boot-x86 |\ \ \ \ \ \ | * | | | | | 9769e05 x86: broadwell: gpio: Remove the codes to set up pin control | * | | | | | d8906c1 x86: Probe pinctrl driver in cpu_init_r() | * | | | | | 2f29c83 x86: Enable regmap and syscon for coreboot and qemu-x86 | * | | | | | 2600ba6 x86: Update x86-pinctrl driver device-tree-bindings doc | * | | | | | f7a01e4 x86: baytrail: Configure card detect pin of the SD controller | * | | | | | 58d1fed x86: baytrail: Change fsp, emmc-boot-mode to "auto" | * | | | | | e264e3c x86: baytrail: Add 'reg' property in the pinctrl node | * | | | | | 8142340 x86: ich6_gpio: Output return value of syscon_get_by_driver_data() | * | | | | | 8a1a759 x86: acpi: Fix madt lapic generation | | |_|/ / / | |/| | | | * | | | | | a646f66 armv8: ls2080aqds: Enable QSPI boot support * | | | | | 01de830 configs: ls2080aqds_nand_defconfig: Enable QSPI * | | | | | 74cac00 configs: ls2080a: Increase load image len in NAND boot * | | | | | 453418f armv8: ls2080aqds: Config QSPI pin mux via FPGA in NAND boot * | | | | | 95ab851 dts: ls2080aqds: Add QSPI dts node * | | | | | b718d37 configs: ls2080aqds: Enable QSPI flash support * | | | | | 8c77ef8 armv8: ls2080aqds: disable IFC NOR & QIXIS when QSPI enable * | | | | | 82d1334 configs: ls2080a_common: Remove duplicate NOR configs * | | | | | 916d9f0 armv8: ls2080aqds: Select QSPI CLK div via SCFG * | | | | | 9d10c2d drivers: i2c: mxc: Add early init * | | | | | 30677de board: ls2080a: Add "mcinitcmd" env for MC & DPL deployment * | | | | | a758177 armv8/ls2080a: configure PMU's PCTBENR to enable WDT |/ / / / / * | | | | 6b3943f siemens,am33x: add draco etamin board * | | | | 9ae63f4 dfu, nand, ubi: fix erasing after write finish * | | | | 02b11f1 am335x, dxr2: get ECC sType from I2C eeprom * | | | | 3a504d9 mtd: nand: omap: allow to switch to BCH16 * | | | | 5d29e27 nand: add nand mtd concat support * | | | | cddfc97 ubi: add new ubi command "ubi detach" * | | | | 3c5d51f siemens,am33x: add ubi fastmap support * | | | | d8ccbe9 am335x, shc: add support for the am335x based bosch shc board * | | | | 3e584b9 doc, spl, am335x: update am335x-network * | | | | a4475af armv7: omap-common: make SPL board_mmc_init() weak * | | | | 3d4f628 mmc: omap_hsmmc: enable 8bit interface for eMMC for AM33xx * | | | | a5e27b4 mmc: revert mmc: Handle switch error status bit in MMC card status * | | | | 496c548 bootstage: call show_boot_progress also in SPL * | | | | 694607b arm, am335x: Enable Spread Spectrum for the MPU * | | | | c01bc75 am335x: add some missing CM_CLKMODE_DPLL_SSC macros * | | | | 9c410f7 arm, am335x: add some missing GPIO register definitions * | | | | 640ff60 power, tps65217: add some defines * | | | | da37f00 tests: py: disable main_signon check for printenv cmd * | | | | bb597c0 common: bootdelay: move CONFIG_BOOTDELAY into a Kconfig option * | | | | 3191d84 tiny-printf: Correct the snprintf() implementation * | | | | 9c2f9b2 ARM: uniphier: insert dsb barrier to ensure visibility of store * | | | | f7e9402 ARM: uniphier: do not erase when updating U-Boot image in eMMC device * | | | | 4565a74 ARM: uniphier: do not overwrite fdt_file environment * | | | | 80630da ARM: uniphier: check return code of setenv() * | | | | 7760b49 ARM: uniphier: fix boot mode for PH1-LD11 * | | | | adb3928 ARM: uniphier: support eMMC boot for PH1-LD11 and PH1-LD20 | |_|/ / |/| | | * | | | b104b3d Prepare v2016.07-rc1 * | | | d77fa2f Merge http://git.denx.de/u-boot-samsung |\ \ \ \ | * | | | 086e13c ARM: exynos: Disable serial support in SPL | * | | | c06bbab ARM: exynos: Fix build error if SERIAL is disabled in SPL | * | | | f4f2fce exynos: video: Drop old unused code | * | | | bb5930d exynos: video: Convert several boards to driver model for video | * | | | 8b449a6 exynos: video: Rename variables for driver model | * | | | 21f8f9b exynos: video: Rename edp_device_info to exynos_dp_priv | * | | | f948f5d exynos: dts: Add display-related device tree fragments | * | | | 7eb860d exynos: Simplify calling of exynos_dp_phy_ctrl() | * | | | af5b5ea exynos: Allow PWM0 pinmux to be set up | * | | | 7b0789e dts: Add clock and regulator binding files for max77802 | * | | | ea743e6 exynos: Disable LCD display for boards we can't convert | * | | | 531a4a6 exynos: Allow CONFIG_MISC_COMMON to be build without an LCD | * | | | c309365 exynos: Allow tizen to be built without an LCD | * | | | 141c743 exynos: dts: Add pwm device tree node | * | | | 21c561b video: Add an enum for active low/high | * | | | 5c2dd4c exynos: pwm: Add a driver for the exynos5 PWM | * | | | 0c84358 exynos: video: Combine LCD driver into one file | * | | | 37ea446 exynos: video: Move mipi_lcd_device_dt into a function | * | | | 652d15c exynos: video: Move struct exynos_platform_mipi_dsim into vidinfo | * | | | b04135c exynos: video: Move dsim_config_dt into a function | * | | | 8c9b8dc exynos: video: Drop static variables in exynos_dp_lowlevel.c | * | | | 9c4d440 exynos: video: Drop static variables in exynos_fb.c | * | | | 162fa53 exynos: video: Drop static variables in exynos_fimd.c | * | | | 40d5002 exynos: video: Drop the static lcd_base_addr variable | * | | | aaca5b1 exynos: video: Remove use of vidinfo_t typedef | * | | | b6feb26 exynos: video: Drop dead code | * | | | 08a7aa1 exynos: video: Move driver files into their own directory | * | | | 6c15a2a board: samsung: add initial Espresso7420 board support | * | | | e39448e arm: exynos: add support for Exynos7420 SoC | * | | | 36aa893 arm: exynos: realign the code to allow support for newer 64-bit platforms | * | | | cf75cdf serial: s5p: use clock api to get clock rate | * | | | 5ab6c4d serial: s5p: get the port id number from the alias of the device node | * | | | 166097e clk: exynos: add clock driver for Exynos7420 Soc | * | | | 16ca80a pinctrl: Add pinctrl driver support for Exynos7420 SoC | * | | | ac98527 pinctrl: add the DM_UC_FLAG_SEQ_ALIAS flag for numbering the devices * | | | | 65eac4c ti_armv7_common: env: Fix hard coded mmc device for uuid * | | | | cdaa633 arm/arm64: implement a boot header capability * | | | | be86492 lib: make strmhz available in SPL * | | | | 25bab53 Remove unneeded remnants of bcopy(). * | | | | 5c2728f configs: k2*_evm: Update fdt file names * | | | | ca5599c ARM: DRA7xx: Enable FIT for hs platforms * | | | | e22455f armv7: fix order of OMAP die ID printing * | | | | a812241 efi_loader: Add DM_VIDEO support * | | | | 74c16ac efi_loader: Don't allocate from memory holes * | | | | edcef3b efi_loader: Move to normal debug infrastructure * | | | | a86aeaf efi_loader: Add exit support * | | | | 97d44b1 arm: Introduce setjmp/longjmp * | | | | 145510c strider: Support cpu-dp flavor * | | | | 1d2541b strider: Support con-dp flavor * | | | | df3223f gdsys: osd: Allow osdsize on valid screens only * | | | | 52b13f2 ioep-fpga: Support intempo compression * | | | | c165994 Fix to davinci_nand.h to place CEnCFG registers at correct * | | | | 69c125f dm: scsi: if_typename should be scsi * | | | | ffd8599 Merge branch 'master' of git://git.denx.de/u-boot-usb |\ \ \ \ \ | * | | | | 10db750 usb: move CONFIG_USB_XHCI_DWC3 to Kconfig | * | | | | 0a8cc1a usb: move CONFIG_USB_XHCI to Kconfig with renaming | * | | | | 0ff27eb configs: blackfin: move CONFIG_USB to defconfig | * | | | | 4835c73 usb: dwc3: Correct datatype of base to unsigned long * | | | | | 1cb9cb3 Merge branch 'master' of git://www.denx.de/git/u-boot-microblaze |\ \ \ \ \ \ | * | | | | | 59e8805 ARM64: zynqmp: Extend malloc space before relocation | * | | | | | b72894f ARM64: zynqmp: Add support for standard distro boot commands | * | | | | | a8b6a15 ARM64: zynqmp: Remove CONFIG_BOOTP_SERVERIP | * | | | | | 0d169b8 ARM64: zynqmp: Enable AHCI when CONFIG_SATA_CEVA is defined | * | | | | | 0c1b02a ARM64: zynqmp: Enable support for SPL FIT images | * | | | | | 340b0e3 env: Setup GD_FLG_ENV_DEFAULT flag when default environment are used | * | | | | | 1a6a6e9 ARM64: zynq: Fix boot.bin generation for Zynq and ZynqMP | * | | | | | 9c152ed ARM64: zynqmp: Extend page_table_size | * | | | | | 08ac386 ARM64: zynqmp: Add support for zc1751-dc4 | * | | | | | ead66ab ARM64: zynqmp: Add debug uart for zc1751-dc2 | * | | | | | a1a6af8 ARM64: zynqmp: Enable Vitesse and RealTek ethernet phys | * | | | | | ac551e3 microblaze: Move MSR instruction selection to Kconfig | * | | | | | 4ad1096 microblaze: Add option to pass cpu version number | * | | | | | 91eeb80 microblaze: Select compilation flags via Kconfig | * | | | | | 1630d55 ARM64: zynqmp: Enable CMD_NAND via Kconfig | * | | | | | 7530ae0 mtd: nand: arasan_nfc: Correct nand ecc initialization | |/ / / / / * | | | | | 756e76f arm: lib: Fix fix push/pop-section directives * | | | | | cc74952 Merge branch 'master' of git://git.denx.de/u-boot-mpc85xx |\ \ \ \ \ \ | * | | | | | 23d4e5b freescale: Tweak various Makefiles to remove redundancy, fix aesthetics | * | | | | | 743268f dm: test: Add GPIO open drain tests | * | | | | | 5178178 dm: gpio: Implement open drain for MPC85XX GPIO | * | | | | | 53ecdfb dm: gpio: Add methods for open drain setting | * | | | | | 07d31f8 dm: gpio: Add driver for MPC85XX GPIO controller | * | | | | | b7707b0 arch/powerpc: Simplify some calculations using ARRAY_SIZE() macro. | * | | | | | 5349928 board/freescale: Use unified setup_ddr_tlbs for spl boot and non-spl boot | * | | | | | ed4708a powerpc/board: SPL: Enable malloc flag in global data. * | | | | | | 8aa57a9 spl: fit: Fix non-matching DT names console output * | | | | | | 715b3a9 Merge git://git.denx.de/u-boot-nand-flash |\ \ \ \ \ \ \ | | |_|_|_|_|/ | |/| | | | | | * | | | | | 667067f nand: fix nand torture to use changed mtd api | * | | | | | ceee07b mtd: nand: Sync with Linux v4.6 | * | | | | | 81c7725 mtd: nand: Add page argument to write_page() etc. | * | | | | | 17cb4b8 mtd: nand: Add+use mtd_to/from_nand and nand_get/set_controller_data | * | | | | | b616d9b nand: Embed mtd_info in struct nand_chip | * | | | | | 151c06e mtd: nand: Remove nand_info_t typedef | * | | | | | ea7d1ee mtd: nand: Remove docg4 driver and palmtreo680 flashing tool | * | | | | | 5d74e3a mtd: nand: Remove jz4740 driver | * | | | | | a39d144 mtd: nand: arasan_nfc: Correct nand ecc initialization | | |/ / / / | |/| | | | * | | | | | c41c649 Merge branch 'master' of git://git.denx.de/u-boot-fsl-qoriq |\ \ \ \ \ \ | * | | | | | ff78aa2 armv8: ls1012a: Add support of ls1012afrdm board | * | | | | | 3b6e389 armv8: ls1012a: Add support of ls1012ardb board | * | | | | | 9d044fc armv8: ls1012a: Add support of ls1012aqds board | * | | | | | 16dacb2 board: freescale: common: Add flag for LBMAP brdcfg reg offset | * | | | | | 3faaa24 board: freescale: common: Conditionally compile IFC QXIS func | * | | | | | b7f2bbf armv8: fsl-layerscape: Add support of QorIQ LS1012A SoC | * | | | | | ddd8a08 armv8: fsl-layerscape: Organize SoC overview at common location | * | | | | | d9d9c97 armv8: fsl-layerscape: fix compile warning "rcw_tmp" | * | | | | | d074c06 driver: mtd: spi: Adding support for QSPI flash | * | | | | | 22a44d0 armv8: fsl-layerscape: Avoid LS1043A specifc defines | * | | | | | 1e49a23 armv8: fsl-layerscape: Put SMMU config code in SMMU_BASE | * | | | | | 3e06ba8 armv8: ls1043aqds: fix usb PWRFAULT setting | * | | | | | d367404 driver/ddr/fsl: Check condition for erratum A-009803 | * | | | | | b06f6f2 drivers/ddr/fsl: Disabling data init if ECC is not enabled | * | | | | | 931e875 board: ls2080ardb: qds: Fix compiling issue when FSL_MC_ENET not defined | * | | | | | 3378727 pcie/layerscape: fix bug in bus number computation when setting msi-map | * | | | | | 5605dc6 drivers/ddr/fsl: Fix timing_cfg_2 register | * | | | | | c4f97b1 board: ls102xa: Fix ICID setup | * | | | | | cc634e2 mmc: fsl_esdhc: fix check_and_invalidate_dcache_range function | * | | | | | e04f9d0 board/freescale: Update ddr clk_adjust | * | | | | | d8e5163 drivers/ddr/fsl: Update clk_adjust of sdram_clk_cntl | | |/ / / / | |/| | | | * | | | | | f15715a Merge branch 'master' of git://git.denx.de/u-boot-tegra |\ \ \ \ \ \ | |_|/ / / / |/| | | | | | * | | | | 10a0338 ARM: tegra: add p2771-0000 board support | * | | | | c7ba99c ARM: tegra: add core Tegra186 support | * | | | | 39f6333 mmc: tegra: add basic Tegra186 support | * | | | | 074a1fd gpio: add Tegra186 GPIO driver | * | | | | 601800b ARM: tegra: convert CONFIG_TEGRA_GPIO to Kconfig | * | | | | e6bf0ca ARM: tegra: fix naming in GPIO DT binding header | * | | | | 01a97a1 ARM: tegra: use DT bindings for GPIO naming * | | | | | b2f1858 arm: lib: fix push/pop-section directives * | | | | | edb697c Merge branch 'master' of git://git.denx.de/u-boot-socfpga |\ \ \ \ \ \ | * | | | | | d31e9c5 arm: socfpga: improve raw MMC SPL boot | * | | | | | 77cd536 arm: socfpga: Add missing ',' in CONFIG_BOOTARGS | * | | | | | 5bb4050 arm: socfpga: Enable tiny printf and simple malloc in SPL | * | | | | | 1254667 spl: Remove bogus GD_FLG_SPL_INIT check | * | | | | | 569a191 arm: socfpga: Add samtec VIN|ING board | | |/ / / / | |/| | | | * | | | | | e2924e5 ARM: k2g: Configure reset mux to device reset * | | | | | eafd464 arm: am57xx: Fix alignment where necessary * | | | | | d60198d arm: am57xx: Fix omap_vcores assignment for am572x-idk * | | | | | 61462cd arm: omap: Introduce vcores_init function * | | | | | 88730f1 ARM: DRA7: Add macros for voltage values for all OPPs * | | | | | e42523f ARM: DRA7: Consolidate voltage macros across different SoCs * | | | | | 27c9596 ARM: DRA7: Define common macros for efuse register offsets * | | | | | 3608022 ARM: DRA7: Update/Correct MPU and CORE OPP_NOM voltage values * | | | | | 68a775a usb: phy: omap_usb_phy: Fix USB3_PHY DPLL configuration * | | | | | 3599774 dra7xx: Enable USB_PHY3 32KHz clock * | | | | | 55efadd ARM: AM57xx: AM43xx: Fix USB host * | | | | | 383f4a0 ARM: OMAP5+: Provide enable/disable_usb_clocks() for CONFIG_USB_XHCI_OMAP * | | | | | 91b86e2 lib: Enable private libgcc by default * | | | | | 13b0a91 arm: lib: Split asm symbols into different .text subsections * | | | | | 806f86b arm: lib: Import Thumb1 functions * | | | | | 0bf65c6 arm: lib: import muldi3.S from Linux * | | | | | 40d67c7 arm: lib: Repair Warning: conditional infixes are deprecated in unified syntax * | | | | | 7b9f9c5 arm: lib: Import __do_div64 from Linux * | | | | | e64d759 arm: lib: Fix uldivmod.S build on Thumb2 * | | | | | c5a543e arm: lib: Sync libgcc 32b division/modulo operations * | | | | | 06b36cb arm: lib: Sync libgcc shift operations * | | | | | 11b1a9b arm: lib: Drop underscore from private libgcc filenames * | | | | | c0db6f8 arm: include: Import unified.h from Linux kernel * | | | | | 66020a6 arm: config: Introduce CONFIG_SYS_ARM_ARCH * | | | | | e68df99 ARM: omap: Enable tiny printf on omap3_logic * | | | | | abeb272 tiny-printf: Support sprintf() * | | | | | b4ba169 arm: Select CONFIG_ARM64 for Cavium ThunderX * | | | | | 35016e3 mips: wdr4300: Move the CONFIG_USE_PRIVATE_LIBGCC to Kconfig * | | | | | 94b9e22 spl: Allow settings malloc_f base address * | | | | | 03c6f17 serial: 16550: Drop OMAP1510 support * | | | | | fa4ce72 serial: 16550: Make serial_io/out_shift available to debug mode * | | | | | 307c0b5 gpio: mxs: Remove netdev.h * | | | | | 626f6e4 arm: Treat arm946es as v5te |/ / / / / * | | | | 8b52870 spl: fit: Fix load address of fit header |/ / / / * | | | da6e2fa Merge branch 'master' of git://git.denx.de/u-boot-mips |\ \ \ \ | * | | | f1b65c9 mips: ath79: ap143: Reset ethernet on boot | * | | | ca09e66 mips: ath79: Use AR933X_PLL_SWITCH_CLOCK_CONTROL_REG macro define | * | | | cdeb68e mips: ath79: Add support for ungating USB and ethernet on qca953x | * | | | ad5b48a mips: ath79: Use 8MB flash profile for mtd partition by default | * | | | 04583c6 mips: ath79: ap121: Enable ethernet | * | | | 3752391 mips: ath79: Rename get_bootstrap into ath79_get_bootstrap | * | | | d58de31 MIPS: malta: add defconfigs for MIPS64 | * | | | fb64cda MIPS: Abstract cache op loops with a macro | * | | | 3722862 MIPS: Split I & D cache line size config | * | | | ace3be4 MIPS: Move cache sizes to Kconfig | * | | | 83b0fac MIPS: remove dead code from asm/u-boot-mips.h | * | | | e40095f net: Add ag7xxx driver for Atheros MIPS | * | | | 5f9cc36 MIPS: add tune for MIPS 34kc | * | | | 07f5b96 MIPS: provide a default u-boot-spl.lds | * | | | 0f832b9 malta: Allow MIPS64 builds | * | | | bed1ca3 net: pcnet: Fix init on big endian 64 bit | * | | | 442d2e0 net: pcnet: Make 64 bit safe | * | | | 4677d66 net: pcnet: Stop converting kseg1->kseg0 addresses | * | | | 2e4cc1c MIPS: Use CPHYSADDR to implement mips32 virt_to_phys * | | | | 653bb0d Merge git://www.denx.de/git/u-boot-marvell |\ \ \ \ \ | * | | | | e084fd9 arm: spear: x600: Remove EFI support to reduce image size | * | | | | f7c32e8 arm: spear: x600: Add support for Micrel KSZ9031 PHY | * | | | | 452b381 clearfog: add HUSH parser | |/ / / / * | | | | 14070e6 tools/env: allow to pass NULL for environment options * | | | | 6f41751 Revert "image.h: Tighten up content using handy CONFIG_IS_ENABLED() macro." * | | | | f3c264f Merge branch 'master' of git://git.denx.de/u-boot-x86 |\ \ \ \ \ | |/ / / / |/| | | | | * | | | d3d6647 x86: baytrail: acpi: Fix I/O APIC ID in the MADT table | * | | | e6ddb6b x86: galileo: Enable ACPI table generation | * | | | 7ee3710 x86: quark: Generate ACPI FADT/MADT tables | * | | | 48cf8b8 x86: quark: Add platform ASL files | * | | | ec37913 x86: quark: Prepare device.h for inclusion by ASL | * | | | 6683584 acpi: Pass -D__ASSEMBLY__ when compiling ASL files | * | | | 3498cc9 x86: acpi: Make irqroute.asl common | * | | | 0d71511 x86: acpi: Create a common irqlinks ASL file * | | | | e4a94ce Merge git://git.denx.de/u-boot-dm |\ \ \ \ \ | * | | | | 3c27b6a dm: rockchip: Enable CONFIG_BLK | * | | | | e6c2807 dm: mmc: Use cfg directly in mmc_bind() | * | | | | e419a3e dm: mmc: Fix up mmc_bread/bwrite() prototypes for SPL | * | | | | f6e41d1 dm: rockchip: mmc: Allow use of CONFIG_BLK | * | | | | 5e6ff81 dm: mmc: dwmmc: Support CONFIG_BLK | * | | | | ef5609c dm: mmc: spl: Add support for CONFIG_BLK | * | | | | 487d756 dm: efi: Update for CONFIG_BLK | * | | | | 19d2e34 dm: mmc: Convert sdhci to support CONFIG_BLK | * | | | | 5461acb dm: env: mmc: Convert env_mmc to support CONFIG_BLK | * | | | | 3c2d752 rockchip: Drop SPL GPIO support for rk3288 | * | | | | b55e04a rockchip: video: Flush the cache when the display is updated | * | | | | 56d6977 rockchip: Drop unnecessary SPL properties | * | | | | 9217d93 rockchip: Check image name for the rksd image | * | | | | 61fe076 mmc: Use byte array for multipliers | * | | | | 9cf7b1a mmc: Drop dead mmc code for non-generic MMC | * | | | | e98dd20 mmc: Drop mmc_register() | * | | | | 5c08621 reset: Drop the reset failure message | * | | | | 5c411d8 tiny-printf: Support snprintf() | * | | | | 1fb6760 tiny-printf: Tidy up a few nits | * | | | | d0375f3 arm: rpi: Define CONFIG_TFTP_TSIZE to show tftp size info | * | | | | 8961b52 mailbox: implement a sandbox test | * | | | | 6238935 Add a mailbox driver framework/uclass | * | | | | 1163625 Rename reset to sysreset | * | | | | 6f82fac sunxi: gpio: convert bind() to use driver data | * | | | | daac3bf dm: allow setting driver_data before/during bind | |/ / / / * | | | | 378f913 Merge git://git.denx.de/u-boot-rockchip |\ \ \ \ \ | * | | | | 2ed6dc8 rockchip: rock2: dts: use status = "okay" not ok | * | | | | 1c09a7f rockchip: rk3288-firefly: Add gmac definition | * | | | | 2f39200 rockchip: rk3288: grf: Define GRF_SOC_CON1 and GRF_SOC_CON3 | * | | | | 0aefc0b rockchip: rk3288: Add clock support for the gmac ethernet interface | * | | | | 70f7a2c rockchip: rk3288: pinctrl: support more pins | * | | | | 90b7fc9 net: designware: support phy reset device-tree bindings | |/ / / / * | | | | 9b77b19 ARM: OMAP4+: Fix DPLL programming sequence * | | | | 87c2f76 tools: Add entry for generated tools/bin2header to tools/.gitignore * | | | | d339df5 tools/genboardscfg.py: remove bogus import subprocess * | | | | 56adbb3 image.h: Tighten up content using handy CONFIG_IS_ENABLED() macro. * | | | | ba9eb6c arm64: rename __asm_flush_dcache_level to __asm_dcache_level * | | | | 1a02123 arm64: fix comment "flush & invalidate" * | | | | 2582858 arm64: optimize __asm_{flush, invalidate}_dcache_all * | | | | 3d16389 board: am335x: Allow to choose serial device dynamically * | | | | 73ec696 ARM: dts: AM335x-ICEv2: Add minimal dts support * | | | | 426af38 config: env: Set AM335x-ICEv2 board specific env * | | | | 97f3a17 board: AM335x-ICEv2: Add cpsw support * | | | | 3164f3c ARM: AM33xx: Add support for Clock Synthesizer * | | | | d8ff4fd board: AM335x-ICEv2: Add DDR data * | | | | 866b178 board: AM335x-ICEv2: Add pinmux support * | | | | a964332 board: AM335x-ICEv2: Add epprom support * | | | | 61bb825 configs: am335x_evm: Switch to env on FAT SD by default * | | | | da9d959 ARM: dts: AM335x-BBG: Add initial support * | | | | 3819ea7 ARM: dts: AM335x-evmsk: Add initial support * | | | | 2c6485b ARM: dts: am335x: fix cd-gpios definition as per hardware design and dt binding docs * | | | | 80b24fc ARM: AM335x: Enable FIT * | | | | a1b4885 ARM: dts: am335x-bone: Enable uart and timer * | | | | 505ea6e board: am33xx: fit: add support for selecting dtb dynamically * | | | | 3c58359 ARM: AM43xx: configs: Update usb host boot defconfig * | | | | 54a92e1 ARM: dts: AM437x-IDK Initial Support * | | | | 7dd1283 ARM: dts: AM43x-EPOS Initial Support * | | | | 4c4e3b3 ARM: AM43xx: Enable FIT * | | | | 5a3775a board: AM43xx: fit: add support for selecting dtb dynamically * | | | | cfd921f ARM: DRA7: configs: Remove obsolete configs * | | | | bd72458 ARM: DRA7: Enable FIT * | | | | 09da87d board: dra7: fit: add support for selecting dtb dynamically * | | | | e35eb03 Remove unused BOOTFLAG definitions * | | | | fa71519 spl: Add an option to load a FIT containing U-Boot from UART * | | | | cfe32a4 spl: fit: Do not print selected dtb during fit load * | | | | 8bd8877 spl: Support loading a FIT from NAND * | | | | 0985294 mtd: nand: am335x: spl: Fix copying of image * | | | | 00d5595 spl: Support loading a FIT from SPI * | | | | 97ca364 spl: Support loading a FIT from FAT FS * | | | | eafd541 spl: Allow to load a FIT containing U-Boot from FS * | | | | 4d9d34a spl: fit: Fix the number of bytes read when reading fdt from fit * | | | | 53d150b defconfig: ti: Add configs for OMAP5-class secure parts * | | | | 62a09f0 ARM: omap5: add ft_board_setup for dra7xx/am57xx * | | | | 1aad38f ARM: omap5: add hooks for cpu/SoC fdt fixups * | | | | 47c331e ARM: omap-common: Add device type to CPU string * | | | | 410f525 spl: build: ti: add support for secure boot images * | | | | b9b8403 ti_omap5_common: Update SPL start address on secure parts * | | | | df277e6 defconfig: Add a config for AM43xx secure part * | | | | a5051b7 ti: AM43xx: board: Detect AM43xx HS EVM * | | | | 9aac7d0 ti: AM43xx: Use CONFIG options from SOC Kconfig * | | | | 883dfd1 ti: AM43xx: config.mk: Add support for generating secure boot images * | | | | 0a0c534 ti: omap-common: Add commands for generating secure SPL images * | | | | a774e08 ti: omap-common: Add Kconfig file for secure device support * | | | | 6384726 arm: Kconfig: Add support for AM43xx SoC specific Kconfig * | | | | ce31ac7 arm: am33xx: Kconfig: Add secure device definitions * | | | | 98350f7 doc: Add info on using secure devices from TI * | | | | 7ffe3cd Delete tests of CONFIG_OF_LIBFDT when testing CONFIG_OF_BOARD_SETUP * | | | | 87861c1 test/py: Support setting up specific timeout * | | | | c9cfac5 efi_loader: gop: Don't expose fb address * | | | | ae87440 efi_loader: Clean up system table on exit * | | | | 81974f4 tools/env: no global variable sharing between application and library * | | | | 367d789 MARVELL: Delete now-superfluous board/Marvell/{common, include} dirs. * | | | | 2507854 Drop HAVE_GENERIC_BOARD and SYS_GENERIC_BOARD options * | | | | 4c79452 Drop references to CONFIG_SYS_GENERIC_BOARD in config files * | | | | 9be2e79 Drop use of CONFIG_SYS_GENERIC_BOARD in U-Boot * | | | | 14c67eb powerpc: Drop unused code related to generic board * | | | | 3e085c9 mips: Drop unused code in u-boot.h * | | | | b977fef m68k: Drop unused code in u-boot.h * | | | | 1c29a38 avr32: Drop unused code in u-boot.h * | | | | b61e90e sh: Drop the arch-specific board init * | | | | f41e608 sh: Fix build errors for generic board * | | | | b0b3595 board_f: Don't require CONFIG_SYS_MONITOR_BASE * | | | | 89b199c Remove/update old generic-board documentation and warning * | | | | feee28f openrisc: Drop the arch-specific board init * | | | | 3ac8d1e usb: dwc3: Makefile: Don't build gadget code if USB_GADGET is disabled * | | | | bc6fc28 net: Optionally use pxe client arch from variable * | | | | 6a6187e efi_loader: Select bounce buffers for known-bad boards * | | | | 51735ae efi_loader: Add bounce buffer support * | | | | 851bda8 cosmetic: debug: Replace #ifdef DEBUG with debug() macro * | | | | c7757d4 arm: meson: implement calls to secure monitor * | | | | bfcef28 arm: add initial support for Amlogic Meson and ODROID-C2 * | | | | 0e1a3e3 net: designware: fix descriptor layout and warnings on 64-bit archs * | | | | 5a07abb arm: implement generic PSCI reset call for armv8 * | | | | 20898ea distro: Add efi pxe boot code * | | | | 210be5c net: Move CONFIG_SPL_NET_VCI_STRING into Kconfig * | | | | fa96f37 net: Fix client identifiers for ARM * | | | | 0dac6b4 net: Move the VCI and client arch values to Kconfig * | | | | 4570a99 bootp: Move vendor class identifier set to function * | | | | 0efe1bc efi_loader: Add network access support * | | | | 7e6621a test/py: fix NameError exception if bdi cmd is not supported * | | | | dafd648 cmd: replace the cast of the memory access to a fixed bit type in itest * | | | | a565386 disk: part_efi: fix check of the max partition size * | | | | 04681cb cmd: disk: Fix unused variable warning * | | | | 90a7417 SPL: FIT: Align loading address for header * | | | | 71db327 dm: gpio: pca953x: Support PCA953X with 40 GPIOs * | | | | f71cee4 tools/env: compute size of usable area only once * | | | | cedb341 tools/env: fw_printenv pass value_only as argument * | | | | c3a23e8 tools/env: remove 'extern' from function prototype in fw_env.h * | | | | dcdc1f6 tools/env: pass key as argument to env_aes_cbc_crypt |/ / / / * | | | 6523dbf Merge branch 'master' of git://git.denx.de/u-boot-mips |\ \ \ \ | * | | | 4349b55 mips: ath79: ar933x: Avoid warning with gcc5 | * | | | 42a3f3e mips: ath79: ar933x: Fix ethernet PHY mismatch | * | | | 1ad3a6f mips: Drop JZ4740 remnants | * | | | ecc9d26 mips: Allow overriding start.S in SPL | * | | | ec35e12 MIPS: Move CONFIG_SYS_TEXT_BASE to Kconfig | * | | | 6242aa1 malta: Use device model & tree for UART | * | | | 2e7eb12 malta: Tidy up UART address selection | * | | | df8ec55 dm: ns16550: Don't map_physmem for I/O ports | * | | | 49717b1 fdt: Document the rest of struct of_bus | * | | | 0a222d5 fdt: Support for ISA busses | |/ / / * | | | f9a90ac arm64: fix arm64 Linux boot image header field sizes * | | | 82f2a14 Merge branch 'master' of http://git.denx.de/u-boot-sunxi |\ \ \ \ | * | | | 0e6e34a sunxi: Olimex A20 boards: Enable LDO3 and LDO4 regulators | * | | | 0878a8a sunxi: Enable a bunch of commands by default on sunxi | * | | | c1fd244 arm64: Pine64: update FDT files | * | | | 671f9ad arm64: sunxi: adjust default load addresses | * | | | 0875049 Revert "sunxi: Reserve ATF memory space on A64" | * | | | 28d6804 sunxi: Properly announce BOOT_DEVICE_BOARD as "FEL" | * | | | b19236f sunxi: Increase SPL header size to 64 bytes to avoid code corruption | * | | | 795857d sunxi: power: add AXP809 support | * | | | 5119926 sunxi: Implement poweroff support for axp818 pmic | * | | | 9850e20 sunxi: Enable AXP818 SW for Sinovoip BPI M3 | * | | | 15278cc sunxi: power: axp818: Add support for switch SW | * | | | a696253 power: axp818: Fix typo for fldo2 Kconfig description | * | | | aa23f53 power: axp221: Remove switch case to simplify axp_set_eldo | * | | | 5af116b sunxi: Disable VIDEO for SoCs without display support | * | | | acdab17 sunxi: Add default MMC0 card detect pin for A83T, H3 and A64 SoCs | * | | | a81b799 sunxi: Sort SoC variants by family (sunXi) first, chip name second | * | | | 1a5f0de sunxi: make SoC variant choice mandatory | |/ / / * | | | 1b80e79 Merge branch 'master' of git://git.denx.de/u-boot-uniphier |\ \ \ \ | * | | | d7e103c ARM: uniphier: add EHCI nodes for PH1-LD11 | * | | | ae932cf clk: uniphier: add Media I/O clock driver support for PH1-LD11 | * | | | 667dbcd ARM: uniphier: add PH1-LD11 SoC support | * | | | 7381db8 ARM: uniphier: rename UMC register macros of PH1-LD20 | * | | | 0586e22 ARM: uniphier: rename umc-ld20-regs.h to umc64-regs.h | * | | | 6a555b2 ARM: uniphier: clean up boot mode tables | * | | | 0bd2020 ARM: uniphier: disable cache in SPL of PH1-LD20 | |/ / / * | | | 826d06d Merge branch 'master' of git://git.denx.de/u-boot-mpc85xx |\ \ \ \ | |/ / / |/| | | | * | | 8ef548d powerpc:t4240: MAC9 and MAC10 should not be identified as 1G interface in some case | * | | d1fc8ed powerpc:t4240rdb: Disable the non-existent ethernet ports on T4240RDB | * | | 82eda68 powerpc/mpc85xx: set L2PE in L2CSR0 before enabling L2 cache | * | | 46caebc powerpc/t2080qds: Enable qixis commands to reboot from NAND and SD | * | | 9272611 powerpc/t208xrdb: Update MAINTAINERS file | * | | a4d3074 powerpc/t208xqds: Update MAINTAINERS file | * | | cb1629f powerpc: Disable flush or invalidate dcache by range for some SoCs * | | | fc15b9b Merge branch 'master' of git://git.denx.de/u-boot-fsl-qoriq |\ \ \ \ | * | | | bc323b3 armv8: ls1043ardb: enable scsi command and pcie to sata converter | * | | | 019a147 driver/ddr/fsl: Add workaround for erratum A-010165 | * | | | 397b0d9 arm: ls1021a: Enable CONFIG_OF_LIBFDT and CONFIG_FIT in defconfig | * | | | 7942550 armv8: ls1043ardb: invert irq pin polarity for AQR105 PHY | * | | | 76394c9 crypto/fsl: add support for multiple SEC engines initialization | * | | | 404bf45 arch/arm, arch/powerpc: add # of SEC engines on the SOC | * | | | e99d719 arch/arm: add SEC JR0 offset | * | | | 56747bf armv7: ls102xa: spl: fix the macro name of MMC mode | * | | | f504227 armv8: fsl-layerscape: spl: fix the macro name of MMC mode | * | | | 1f49dc3 armv8: fsl-layerscape: spl: remove duplicate init_early_memctl_regs() | * | | | 9718650 armv8: ls1043ardb: fix types of variables | * | | | ec93abe armv8: ls1043a: remove redundant code in board files | * | | | 1297cdb armv8: ls1043a: copy kernel from QSPI when booting with QSPI enabled | * | | | 869bf86 armv8/ls1043ardb: fix the limitation of using 'cpld reset' | * | | | 12cbf20 arm: uniform usage of u32 in ls102x caam config | * | | | 15b96ad arm: Fix SCFG ICID reg addresses | * | | | acb8f5e armv8: fsl-layerscape: Remove unnecessary flushing dcache | * | | | 7ad9cc9 armv8: ls2080a: update eth prime | * | | | bcb55f6 armv8: ls2080: enable sec_init in U-Boot | * | | | 87e566d armv8/ls1043a: update the node for QSPI support | * | | | 80c1bfd sf: Disable 4-KB erase command for SPANSION S25FS-S family | * | | | febffe8 spi: fsl_qspi: Enable Spansion S25FS-S family flashes | * | | | 4e14741 spi: fsl_qspi: Assign AMBA mem according CS num in dts | * | | | bf9bffa spi: fsl_qspi: Fix issues on arm64 | * | | | f13c99c armv8/fdt: add fixup_crypto_node | * | | | 6f3819f armv8: ls2080a: Update MAINTAINERS file | * | | | aa7a222 armv8/ls2080ardb: Update DDR timing to support more UDIMMs | * | | | 5fc62fe driver/ddr/fsl: Add workaround for erratum A-009801 | * | | | 4a68489 drivers/ddr/fsl: update workaround for erratum A-008511 | * | | | 074596c armv8/ls1043: Add workaround for DDR erratum A-008850 | |/ / / * | | | 2ee490a Merge branch 'master' of git://git.denx.de/u-boot-net |\ \ \ \ | * | | | 0a71cd7 net: phy: dp83867: Add SGMII helper for configuration | * | | | 3c221af net: phy: Add phy_interface_is_sgmii to phy.h | * | | | 3ab72fe net: phy: Move is_rgmii helper to phy.h | * | | | 085445c net: phy: ti: Allow the driver to be more configurable | * | | | c7ba7bd net: phy: dp83867: Add device tree bindings and documentation | * | | | 20671a9 net: zynq_gem: Add the passing of the phy-handle node | * | | | cb38622 drivers: net: cpsw: Add reading of DT phy-handle node | * | | | 641b936 defconfig: dra74_evm: enable eth driver model | * | | | bc705ea defconfig: am437x_sk_evm: enable eth driver model | * | | | 54e3ba9 defconfig: am437x_gp_evm: enable eth driver model | * | | | 844f814 arm: dts: dra7: fix ethernet name with proper device address | * | | | d7dc888 arm: dts: dra7: add syscon node to cpsw to read mac address | * | | | dcda79e arm: dts: am4372: add syscon node to cpsw to read mac address | * | | | e431056 drivers: net: cpsw: add support for reading mac address from efuse | * | | | 66e740c drivers: net: cpsw: fix get mdio base and gmii_sel reg from DT | * | | | 70c5b7b ARM: omap5: add platform specific ethernet phy modes configurations | * | | | b2003c5 drivers: net: cpsw: fix cpsw dp parse when num slaves as 1 | * | | | 3d12e80 ti_omap5_common: eth: do not define DM_ETH for spl | * | | | 73443b9 drivers: core: device: add support to check dt compatible for a device/machine | * | | | 24ae396 net: phy: Add PHY driver for mv88e61xx switches | * | | | 83c0551 net: Remove unused mv88e61xx switch driver | | |_|/ | |/| | * | | | ec8fb48 Merge branch 'master' of git://www.denx.de/git/u-boot-microblaze |\ \ \ \ | * | | | ad5b580 ARM: zynq: Simplify zynq configuration | * | | | 1b008fd phy: marvell: Do not reset phy after negotiation | * | | | 7a673f0 phy: Wire return value from phy_config() | * | | | 62afc60 image: Add boot_get_fpga() to load fpga with bootm | * | | | b733c27 net: phy: Handle phy_startup() error codes properly | * | | | ef5e821 phy: Return correct error code when timeout happens | * | | | 55259e7 net: xilinx: Handle error value from phy_startup() | * | | | ed0cea7 mkimage: Report information about fpga | * | | | 905bca6 fpga: Fix typo in function comment | * | | | 293271c ARM64: zynqmp: Enable CLK framework | * | | | e6a9ed0 ARM64: zynqmp: Add SPL support support | * | | | c9811e1 ARM64: zynqmp: Add missing u-boot,dm-pre-reloc to DTSI | * | | | 0a8c4f6 ARM64: zynqmp: Align gic ranges for 64k in device tree | * | | | d9b58b3 tools: zynqmpimage: Add Xilinx ZynqMP boot header generation | * | | | 8d16e1d SPL: FIT: Enable SPL_FIT_LOAD in RAM based boot mode | * | | | f44e603 ARM: zynq: Call ps7_post_config() for SPL | * | | | 27640fd ARM64: zynqmp: Enable option to overwrite default variables | * | | | 3a3b914 spl: Introduce new function spl_board_prepare_for_boot | * | | | bd48378 ARM64: zynqmp: Add debug uart for zc1751-dc1 | * | | | 71eb243 ARM64: zynqmp: Enable SPI_FLASH and FLASH_BAR for ep108 | * | | | 013642c ARM64: zynqmp: Remove CONFIG_PREBOOT | * | | | 9a23f45 ARM: zynq: Add support for SPL_LOAD_FIT | * | | | 73dc3fa ARM64: zynqmp: Wire up debug_uart setup | * | | | 926782c ARM64: zynqmp: Enable eMMC boot partitions commands | * | | | 6919b4b ARM64: zynqmp: Add support for reading MAC from eeprom | * | | | a1207de ARM64: zynqmp: Enable missing distro default options | * | | | af3b4cd ARM64: zynqmp: Enable HUSH parser for all zynqmp targets | * | | | 621a93e ARM: dts: zynq: describe SLCR as simple-mfd rather than simple-bus | * | | | a6b9587 gpio: zynq: Add support for reading gpio pin state | * | | | 7f307d9 ARM: zynq: load u-boot.img whether CONFIG_OF_SEPARATE is defined or not | |/ / / * | | | c98dc5a Merge branch 'master' of git://git.denx.de/u-boot-atmel |\ \ \ \ | * | | | bb0c63a ARM: sama5d2: Implement boot device autodetection | * | | | 12328f2 ARM: atmel: Enable FIT image support for SAMA5Dx | * | | | c043d8d board: sama5d2_xplained: change SDHCI GCK's clock source to UPLL | * | | | 7a91e1a ARM: at91: clock: complete the GCK's clock sources | * | | | 4adf6a7 ARM: at91: clock: fix the GCK's clock source | * | | | a9c89bf board: atmel: sama5d2_xplained: fix the missing pin config of SDMMC0 | * | | | 9989c15 board: atmel: add SAMA5D2 PTC Engineering board | * | | | cc434ad ARM: at91: sama5d2: add macro & field definitions | |/ / / * | | | 6d54868 Merge branch 'master' of git://git.denx.de/u-boot-x86 |\ \ \ \ | |/ / / |/| | | | * | | 8216b11 x86: galileo: Override SMBIOS product name | * | | 4cdce9f x86: Switch to use SMBIOS Kconfig options when writing SMBIOS tables | * | | 5ce378c x86: kconfig: Add two options for SMBIOS manufacturer and product name | * | | 84c2999 x86: galileo: Enable MP table generation | * | | b813ea9 x86: broadwell: Correct I/O APIC ID | * | | 911d6f6 x86: quark: Assign a unique I/O APIC ID | * | | e212671 x86: Call lapic_setup() in interrupt_init() | * | | aaaa557 x86: Remove SMP limitation in lapic_setup() | * | | 3299be2 x86: Don't touch IA32_APIC_BASE MSR on Intel Quark | * | | 0ac8d5e x86: galileo: Enable CPU driver | * | | bab4b96 x86: Use latest microcode for all BayTrail boards | * | | c88f508 x86: baytrail: Update to latest microcode | * | | 5c60a3a x86: Add some notes for MRC cache with Intel FSP | * | | 2baf3a5 x86: crownbay: Disable boot stage support | * | | 0fbdaa0 acpi: Clean IASL generated intermediate files | * | | efd4be4 x86: doc: Add porting hints for ACPI with Windows | * | | 7bfe0da x86: baytrail: Add GPIO ASL description | * | | fa42743 x86: baytrail: Add internal UART ASL description | * | | bb68dd5 acpi: Quieten IASL output when 'make -s' is used | * | | 206a3a4 x86: doc: Mention Ubuntu/Windows installation and boot support | * | | da94439 x86: baytrail: Enable SeaBIOS on all boards | * | | 5a6a2c7 x86: doc: Update information about IGD with SeaBIOS | * | | 10fcabe x86: acpi: Remove header length check when writing tables | * | | 17b63c8 x86: acpi: Remove the unnecessary checksum calculation of DSDT | * | | 6aef68d x86: acpi: Switch to ACPI mode by ourselves instead of requested by OSPM | * | | 644a767 x86: Use high_table_malloc() for tables passing to SeaBIOS | * | | d19c907 x86: Reserve configuration tables in high memory | * | | 0c2b7ee x86: Unify reserve_arch() for all x86 boards | * | | 789b6dc x86: Prepare configuration tables in dedicated high memory region | * | | 5483449 x86: Compile coreboot_table.c only for SeaBIOS | * | | 10d569e x86: Fix up PIRQ routing table checksum earlier | * | | 1e2f7b9 x86: Call board_final_cleanup() in last_stage_init() | * | | 91fc5bf x86: minnowmax: Adjust U-Boot environment address in SPI flash | * | | f7e20f6 config: sandbox: enable qfw and cmd_qfw for testing | * | | 494ec0d x86: qemu: rename qemu/acpi_table.c | * | | eece493 cmd: qfw: bring ACPI generation code into qfw core | * | | d6ccb14 cmd: qfw: do not depend on x86 | * | | 86e30e6 cmd: qfw: do not require default macros when building qfw command | * | | 1868659 cmd: qfw: rename qemu_fw_cfg.[c|h] to qfw.[c|h] | * | | 331ba7d x86: qemu: add comment about qfw register endianness | * | | 2e82e74 x86: qemu: move x86 specific operations out of qfw core | * | | fcf5c04 x86: qemu: split qfw command interface and qfw core | * | | d3ad062 cmd: qfw: make fwcfg_present and fwcfg_dma_present public | * | | 05dd6f1 cmd: qfw: remove qemu_fwcfg_free_files() | * | | 099b219 cmd: qfw: add API to iterate firmware list | * | | 34865a6 x86: qemu: fix ACPI Kconfig options | * | | dd6f3ab x86: qemu: Move qfw command over to cmd and add Kconfig entry | * | | 49d929b x86: doc: Document ACPI support | * | | eda995a x86: doc: Minor update for accuracy | * | | 030b9e3 x86: Remove acpi=off boot parameter when ACPI is on | * | | 7a47a08 x86: baytrail: Add .gitignore for ACPI enabled boards | * | | ad3098f x86: baytrail: Enable ACPI table generation for all boards | * | | 4470f2d x86: baytrail: Generate ACPI FADT/MADT tables | * | | 42f8ebf x86: baytrail: Add platform ASL files | * | | fc4f5cc x86: acpi: Return table length in acpi_create_madt_lapics() | * | | 9e70a11 x86: acpi: Add some generic ASL libraries | * | | 7e6343e x86: acpi: Clean up table header revisions | * | | 25e133e x86: acpi: Align FACS table to a 64 byte boundary | * | | 7e79a6b x86: acpi: Use u32 in table write routines | * | | ab5efd5 x86: acpi: Adjust order in acpi_table.c | * | | dfbb18b x86: acpi: Change fill_header() | * | | cea9131 x86: acpi: Remove acpi_create_ssdt_generator() | * | | 728c4af x86: acpi: Reorder code in acpi_table.h | * | | 8a8c035 x86: acpi: Various changes to acpi_table.h | * | | f444662 x86: acpi: Remove unused codes | * | | 5dafcb8 acpi: Output all errors/warnings/remarks when compiling ASL | * | | 8c4cc21 acpi: Specify U-Boot include path for ASL files | * | | 3a2a3d0 acpi: Explicitly spell out dsdt.c in the make rule | * | | 68af8d8 acpi: Change build log for ASL files | * | | ce8dd77 x86: dts: Update to include ACTL register details | * | | d4e61f5 x86: irq: Enable SCI on IRQ9 | * | | 07ac84e x86: irq: Reserve IRQ9 for ACPI in PIC mode | * | | dca4d1a x86: acpi: Fix compiler warnings in write_acpi_tables() | * | | 5cb0f0d x86: Fix build warning in tables.c when CONFIG_SEABIOS | * | | b652447 x86: Drop asm/acpi.h * | | | d7d0003 Merge branch 'master' of git://git.denx.de/u-boot-mips |\ \ \ \ | * | | | 40ba13c malta: Support MIPS32r6 configurations | * | | | 4685d4e malta: Remove ".set mips32" directive | * | | | c52ebea MIPS: Support for targetting MIPSr6 | * | | | 20286cd MIPS: Simplify CONFIG_SYS_CPU values | * | | | 9f8ac82 MIPS: Use unchecked immediate addition/subtraction | * | | | 400df30 mips: ath79: Add support for TPLink WDR4300 | * | | | e08539b mips: ath79: Add AR934x support | * | | | 4771bbe mips: ath79: Add support for ungating ethernet on ar933x and ar934x | * | | | 2986a9d mips: ath79: dts: Add ethernet MAC nodes for ar933x | * | | | 6b69974 mips: ath79: Add support for ungating USB on ar933x and ar934x | * | | | c315587 mips: ath79: dts: Add generic-ehci node | * | | | 43a092f mips: ath79: Fix compiler warning on const assignment | * | | | 0a6767e mips: ath79: Fix ar71xx_regs.h indent | * | | | 0a0a958 mips: Add MIPS 74Kc tune | * | | | 5760fc7 mips: Fix compiler warning in cpu.c | * | | | 59e4080 ath79: add readonly attribute for ath79_soc_desc | * | | | 5691d10 ath79: ar933x: use BIT macro for bit shift operation | * | | | 773f3b2 ar933x: serial: Remove the explicit pinctrl setting | * | | | 5fabf2e ath79: spi: Remove the explicit pinctrl setting | * | | | 8cf7a41 mips: Report reloc information in bdinfo | * | | | 5c99045 drivers: mtd: add Microchip PIC32 internal non-CFI flash driver. | * | | | 30fd42c flash: add device ID for Microchip PIC32 internal flash. | * | | | a2277cc mips: ath79: add AP143 reference board | * | | | 6a7b52b mips: ath79: add AP121 reference board | * | | | b85dc46 drivers: spi: add spi support for QCA/Atheros ath79 SOCs | * | | | 60b4976 drivers: serial: add serial driver for ar933x SOC | * | | | c102453 drivers: pinctrl: Add simple pinctrl driver for Qualcomm/Atheros qca953x. | * | | | a79d064 drivers: pinctrl: Add simple pinctrl driver for Qualcomm/Atheros ar933x. | * | | | 9b03f80 mips: ath79: add support for QCA953x SOCs | * | | | ee7bb5b mips: ath79: add support for AR933x SOCs | * | | | 1d3d0f1 mips: add base support for QCA/Atheros ath79 SOCs | * | | | 4a48cfc Add support for 64-bit MIPS to examples/standalone | * | | | 78757d5 Fix FreeBSD loader API so that it works on both 32-bit and 64-bit targets. | * | | | 713a9e1 Use CONFIG_IDE_SWAP_IO when running on big-endian MIPS (32 or 64-bit) in QEMU so that IDE transfers work properly | * | | | d92ea98 Properly calculate ATA_SECTORWORDS, using a fixed-size integer, so it works for both 32-bit and 64-bit targets | |/ / / * | | | d38fca4 ARM: fix ifdef in ARMv8 lowlevel_init() again * | | | d550e82 SPL: fat: Fix spl_parse_image_header() return value handling * | | | 5f89a15 omap3: Fix SPI registers on am33xx and am43xx * | | | c1420f8 kbuild: fixdep: Check fstat(2) return value * | | | c409bd0 spl: Setup default value for OF_LIST * | | | 5adfa26 spl: fit: Print error message when FDT is not present * | | | bd6e142 mkimage: Add a quiet mode * | | | 8df81e1 image-fit: Don't display an error in fit_set_timestamp() * | | | 034eda8 malloc: improve memalign fragmentation fix * | | | 83b6a43 pico-imx6ul: Select CONFIG_HUSH_PARSER option * | | | 3dc9be8 eeprom: merge cmdline parsing of eeprom commands * | | | e7c2729 eeprom: use eeprom_execute_command for all eeprom functions * | | | c40f037 eeprom: refactor i2c bus and devaddr parsing * | | | 2d9a76b arm: cm-t43: add support for eeprom layout comands * | | | bcb447e arm: cm-t35: add support for eeprom layout comands * | | | 19a90ed arm: cm-t3517: add support for eeprom layout comands * | | | 66b7e42 arm: cm-t54: add support for eeprom layout comands * | | | 0e656b8 arm: cm-t335: add support for eeprom layout comands * | | | 1261653 arm: cm-fx6: add support for eeprom layout comands * | | | 8af5734 compulab: add support for layout aware eeprom commands * | | | aa9e604 cmd: eeprom: add support for layout aware commands * | | | 2636ac6 cmd: eeprom: add bus switching support for all i2c drivers * | | | fbaf427 arm: mvebu: theadorable: Enable CONFIG_ZERO_BOOTDELAY_CHECK * | | | 29b5935 arm: mvebu: a38x: Weed out floating point use |/ / / * | | 4b6e1fd Merge git://git.denx.de/u-boot-dm |\ \ \ | * | | 341392d dm: mmc: test: Add tests for MMC | * | | afa2c31 dm: sandbox: mmc: Enable building MMC code for sandbox | * | | f376a3c dm: mmc: sandbox: Add an SD-card emulation | * | | 33fb211 dm: mmc: Add support for driver-model block devices | * | | ad27dd5 dm: mmc: Add a way to bind MMC devices with driver model | * | | 8ef761e dm: mmc: Implement the MMC functions for block devices | * | | f8b7752 dm: sandbox: Only enable the sandbox MMC driver when valid | * | | fdbb139 dm: mmc: Adjust mmc_switch_part() to use a struct mmc | * | | 1598dfc dm: blk: Use the correct error code for blk_get_device_by_str() | * | | c40fdca dm: mmc: Move the device list into a separate file | * | | cffe5d8 dm: mmc: Set up the device pointer when using the MMC uclass | * | | b6694a3 dm: blk: Add a comment as to why the bdev member is needed | * | | 6dd9faf dm: part: Drop the block_drvr table | * | | 1fde473 dm: part: Use the legacy block driver for hardware partition support | * | | cd0fb55 dm: blk: Add functions to select a hardware partition | * | | 69f45cd dm: mmc: Use the new select_hwpart() API | * | | 0776167e dm: mmc: spl: Use the legacy block interface in SPL | * | | cb5ec33 dm: mmc: Add a function to obtain the block device | * | | e17d114 dm: mmc: Implement the select_hwpart() method | * | | ff3882a dm: mmc: Move mmc_switch_part() above its callers | * | | d077352 dm: blk: Free the block device name when unbound | * | | a2040fa dm: core: Allow device names to be freed automatically | * | | 72a85c0 dm: blk: Fix allocation of block-device numbering | * | | cd995a8 dm: sandbox: Enable systemace | * | | 4560ee4 dm: systemace: Add driver-mode block-device support | * | | a0ff24c dm: systemace: Reorder function to avoid forward declarataions | * | | 9107c97 dm: blk: Add a easier way to create a named block device | * | | 52138fd dm: blk: Allow blk_create_device() to allocate the device number | * | | 199a120 dm: sandbox: Enable SATA | * | | f5a14af dm: sata: Add support for driver-model block devices | * | | e8c0a25 dm: sandbox: Enable SCSI | * | | 535556b dm: scsi: Add support for driver-model block devices | * | | 74c6dc1 dm: sandbox: Enable IDE | * | | 145df84 dm: ide: Add support for driver-model block devices | * | | 38bd29b dm: part: Drop the get_dev() method | * | | f1d86fd dm: sandbox: Drop the host_get_dev() function | * | | ae9ffcc dm: blk: Drop the systemace.h header | * | | f6d000e dm: systemace: Drop the get_dev() function | * | | 4e7189d dm: sata: Drop the get_dev() function | * | | edd82ab dm: scsi: Drop the get_dev() function | * | | 3c457f4 dm: mmc: Drop the get_dev() function | * | | 74001a2 dm: ide: Drop the get_dev() function | * | | 57ebf67 dm: usb: Drop the get_dev() function | * | | a6331fa dm: disk: Use legacy block driver info for block device access | * | | d97dc8a dm: sata: Separate the non-command code into its own file | * | | e9be1ee dm: ide: Separate the non-command code into its own file | * | | 11f610e dm: scsi: Separate the non-command code into its own file | * | | d508c82 dm: mmc: Add an implementation of the 'devnum' functions | * | | 663acab dm: mmc: Add a legacy block interface for MMC | * | | c0543bf dm: usb: Add a legacy block interface for USB storage | * | | 0cc65a7 dm: sandbox: Add a legacy host block interface | * | | 3ef85e3 dm: systemace: Add a legacy block interface | * | | 6eef6ea dm: blk: Add a legacy block interface | * | | c649e3c dm: scsi: Rename CONFIG_CMD_SCSI to CONFIG_SCSI | * | | 2765c4d dm: sata: Fix code style problems in cmd/sata.c | * | | ed73508 dm: ide: Remove the forward declarations | * | | 53dbcdd dm: ide: Correct various code style problems | * | | f1d4d93 dm: scsi: Fix up code style | * | | 73a9cfd dm: scsi: Remove the forward declarations | * | | a31e2c9 sandbox: Add dummy SATA functions | * | | 84d39cb sandbox: Add dummy SCSI functions | * | | e54094f sandbox: Add string and 16-bit I/O functions | * | | 709e98b Allow iotrace byte access to use an address of any size | * | | a219639 dm: Rename disk uclass to ahci | * | | cf63084 pci: Drop CONFIG_SYS_SCSI_SCAN_BUS_REVERSE | * | | f960ca0 dm: sandbox: Add a board for sandbox without CONFIG_BLK | * | | e161356 Revert "dm: sandbox: Drop the pre-DM host implementation" | * | | f835303 gpio: exynos(s5p): remove gpio_xlate routine | * | | 6c3dd3c gpio: rk: remove gpio_xlate routine | * | | 5206e7b gpio: pic32: remove gpio_xlate routine | * | | 86222f6 gpio: omap: remove gpio_xlate routine | * | | 8376aad gpio: intel_broadwell: remove gpio_xlate routine | * | | 6c880b7 dm: gpio: add a default gpio xlate routine | * | | c0c62d9 drivers: usb: common: add common code for usb drivers to use | * | | 9300f71 dm: gpio: introduce 74x164 driver | * | | 7a3eff4 dm: spi: introduce dm api | * | | 102412c dm: spi: soft_spi: switch to use linux compatible string | * | | b6d54d5 dm: spi: soft_spi bug fix | * | | 3573209 fdt: fix dev_get_addr_name node offset | * | | 54693cb video: tegra: refuse to bind to disabled dcs | * | | 9fdfadf dm: core: allow drivers to refuse to bind | * | | f79f1e0 buildman: allow more incremental building | * | | e27802a m68k: add DM model serial driver | * | | 5044c9c m68k: add malloc memory for early malloc | * | | 0377343 dm: gpio: pca953x: introduce driver model support for pca953x | |/ / * | | 27bec5c Merge branch 'master' of git://www.denx.de/git/u-boot-imx |\ \ \ | | |/ | |/| | * | 2910008 ARM: mx6: Enable MMC and SATA extfs boot support | * | e072751 SPL: Add CONFIG_SPL_ABORT_ON_RAW_IMAGE | * | 7e0f226 SPL: Let spl_parse_image_header() return value | * | 249092f imx: imx-common: print i.MX 7 SoC names consistently | * | f716bf1 imx: imx7d: fix ahb clock mux 1 | * | 1fb5133 imx: iomux-v3: fix UART input selects | * | fdb396a ARM: mx6: Enable STDIO deregistering on Novena | * | 9f62332 imx: mx6: mx6sl_pins: add GPIO variant for SD1_DAT5 | * | 0782a88 imx: tools: imximage: fix CLR bit command | * | 52b1eaf Merge branch 'master' of git://git.denx.de/u-boot | |\ \ | | |/ | * | aaeadd3 mx6ul_evk: Remove CONFIG_SUPPORT_EMMC_BOOT | * | c510f2e video: ipu_common: fix build error | / * | d6b7757 i2c: mvtwsi: Eliminate twsi_control_flags * | 3a37052 i2c: Select SYS_I2C_DW_ENABLE_STATUS_UNSUPPORTED for SPEAr * | 4d5e9b3 i2c: config: Move SYS_I2C_DW to Kconfig * | e32d0db i2c: Add entry for Designware I2C driver in Kconfig * | dbc82ce dm: fsl_i2c: Enable DM for FSL I2C * | ecf591e dm: fsl_i2c: Factor out adap parameter * | ad7e657 dm: fsl_i2c: Prepare compatibility functions * | 00b6155 dm: fsl_i2c: Rename methods for reading/writing data * | 16579ec dm: fsl_i2c: Rename probe method * | 03a112a dm: fsl_i2c: Remove unnecessary variable * | 386b276 dm: fsl_i2c: Reword and clarify comment * | 2b21e96 dm: fsl_i2c: Use clearer parameter names * | ec2c81c dm: fsl_i2c: Rename I2C register structure * | b6a77b0 i2c: designware_i2c: Optionally check enable status register * | d79ac32 i2c: muxes: Add support for TI PCA954X mux * | ad72e76 i2c: cdns: Support different bus speeds * | 6150be9 i2c: cdns: Moving speed setup from probe to set_bus_speed function * | a13767b i2c: cdns: Read address from DT in ofdata_to_platdata |/ * aeaec0e Prepare v2016.05 * f0a711e sunxi: Enable USB host in CHIP defconfig * 4cf4600 test, tools: update tbot documentation * b8218a9 tests: py: fix NameError exception if bdi cmd is not supported * 1ea4fac arm/arm64: Move barrier instructions into separate header * 4baca92 arm: socfpga: Update iomux and pll for c5 socdk RevE * e8bd2a0 warp7: Fix boot by selecting CONFIG_OF_LIBFDT * 15e8cb7 Merge branch 'master' of git://git.denx.de/u-boot-socfpga |\ | * 5289c5f socfpga: fix broken build if CONFIG_ETH_DESIGNWARE disabled | * 5a824c4 mtd: cqspi: Simplify indirect read code | * 26da635 mtd: cqspi: Simplify indirect write code | * 8b1a074 arm: socfpga: socrates: Add 'time' command | * 268da81 ARM: socfpga: Disable USB OC protection on SoCrates * | 7b4f17b Merge branch 'master' of git://git.denx.de/u-boot-usb |\ \ | * | 12ff19d usb: gadget: dfu: discard dead code | * | 5d8fae7 dfu: avoid memory leak | * | 2bf352f usb: dwc2: Add delay to fix the USB detection problem on SoCFPGA | * | d81db48 usb: hub: Don't continue on get_port_status failure | * | ef71290 usb: Assure Get Descriptor request is in separate microframe | * | f647bf0 usb: Wait after sending Set Configuration request | * | 2f1b430 usb: Don't init pointer to zero, but NULL | * | 79d867c usb: ehci-mx6: allow board_ehci_hcd_init to fail | |/ * | ad7af5d imx6: cache: disable L2 before touching Auxiliary Control Register * | daa69f5 test/py: dfu: wait for USB device to go away at boot * | b67d6b0 ARM: am33xx: Fix DDR initialization delays * | 1166119 ARM: fix ifdefs in ARMv8 lowlevel_init() * | 1cc0a9f Fix various typos, scattered over the code. * | b955e42 mmc: Fix error in RPMB code * | 4bf11dc omap4: duovero: Disable EFI booting * | ea94859 omap4: load files for legacy boot |/ * bbca710 ARM: tegra: import latest Jetson TK1 spreadsheet * f5c6db8 pci: tegra: fix DM conversion issues on Tegra20 * d9b6f58 ARM: tegra: enable GPU node by compatible value * b38eaec include/configs: Numerous typo fixes: "controler" -> "controller". * 700877a net: increase maximum frame size to accomediate VLAN packets * 0299cee net: fix vlan validation * 31a48cf drivers: net: ldpaa: Memset pools_params as "0" before use * a434fd1 fdt: fix setting MAC addresses for multiple interfaces * e96e064 usb: dwc2: Init desc_before_addr * b4fbd08 usb: dwc2: Make OC protection configurable * 618da56 usb: dwc2: Pull Ext VBUS macro from dwc_otg_core_init() * 5590198 usb: dwc2: Pass private data into dwc_otg_core_init() * e7fbcbc igep00x0: Use the SRAM available for SPL. * 8edeac8 mkimage: fix generation of FIT image * a6e7b77 i2c/eeprom: Always define I2C_RXTX_LEN * 58abb98 mx6ul_evk: Remove CONFIG_SUPPORT_EMMC_BOOT * fd2d1e0 kbuild: Do not append dtb for OF_EMBED case * 4c1dc1a fit_image: Fix a double close() on the error path * 925c97c tools: env: fix config file loading in env library * f9f9d2d config: am335x_evm: detect BoneGreen using BBG1 * eae4b2b Fix spelling of "occurred". * 09c2b8f Change my mailaddress * 7a439ca mkimage: fix argument parsing on BSD systems * f1ab00f arch/arm/imx-common/Makefile: Update u-boot.uim MKIMAGEFLAGS * 37f2388 fs: ext4: fix symlink read function * b525556 Revert "rockchip: rk3288: correct sdram setting" * 9a1f4ba Merge branch 'master' of git://git.denx.de/u-boot-uniphier |\ | * bef4b02 ARM: uniphier: move pin-mux code into pin_init function | * 5eb4150 ARM: uniphier: allow to use System Bus for ROM boot mode of PH1-LD20 | * 1dce5eb ARM: uniphier: enable Peripherl clock to use UART in SPL | * 6834096 ARM: uniphier: fix boot mode table of PH1-LD20 * | 821c89d Revert "omap3: Use raw SPL by default for mmc1" * | f188357 Revert "ti_armv7_common.h: Fix U-Boot location on eMMC" |/ * fccdb28 Merge branch 'master' of git://git.denx.de/u-boot-video |\ | * 3d47b2d drivers/video/am335x-fb: Properly point framebuffer behind palette | * 7d04517 drivers/video/am335x-fb: Add support for 16bpp format * 87ef765 Merge branch 'master' of http://git.denx.de/u-boot-sunxi |\ | * ad14166 sunxi: Enable LDO3 at 3.3V on A13-OLinuXino board | * bfb33f0 sunxi: mctl_mem_matches: Add missing memory barrier * 2489a7e omap3: Reduce logic/overo SPL max image size ------------------------------------------------------------------------------- commit 12ea569df9688e82f9f954b2cb6ccadacc437143 Author: Jonas Höglund <jonas.hoglund@embeddednation.com> Date: 2016-09-13 14:45:01 +0200 Fix compile error on openwrt_master Base directory -> / include/configs/ex300.h | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) ------------------------------------------------------------------------------- commit 582947bb123476a6336a0ec0f2f6dd7890eb0e78 Author: Kenneth Johansson <kenneth@southpole.se> Date: 2016-09-09 18:10:39 +0200 Only print boot reason. Base directory -> / board/inteno/ex300/board.c | 36 ++++-------------------------------- 1 file changed, 4 insertions(+), 32 deletions(-) ------------------------------------------------------------------------------- commit d5f212a3e0ed3be39ae1f4eb08222a75202be859 Author: Kenneth Johansson <kenneth@southpole.se> Date: 2016-09-09 18:05:22 +0200 make ubi silent. Base directory -> / include/configs/ex300.h | 1 + 1 file changed, 1 insertion(+) ------------------------------------------------------------------------------- commit 9c4fe5cc3101ab3e251c1f0c098465f5b0ab2e9e Author: Kenneth Johansson <kenneth@southpole.se> Date: 2016-09-09 17:52:37 +0200 Merge branch 'mediatek' into ex300 Conflicts: drivers/mtd/nand/Makefile drivers/mtd/nand/nand_bbt.c tools/env/fw_env.c conflicts fixed. Base directory -> / .gitignore | 1 + Makefile | 36 +- arch/mips/Kconfig | 10 + arch/mips/cpu/start.S | 5 + arch/mips/include/asm/atomic.h | 818 ++++++ arch/mips/include/asm/mipsmtregs.h | 395 +++ arch/mips/include/asm/war.h | 244 ++ board/inteno/ex300/Kconfig | 11 + board/inteno/ex300/Makefile | 10 + board/inteno/ex300/board.c | 228 ++ board/inteno/ex300/jtag/ex300.cmm | 99 + board/inteno/ex300/jtag/go | 11 + board/inteno/ex300/jtag/mt7621_ref_nand.cmm | 75 + board/inteno/ex300/lowlevel_init.S | 12 + board/inteno/ex300/rt_mmap.h | 844 +++++++ common/board_r.c | 6 +- configs/ex300_defconfig | 511 ++++ configs/mt7621_defconfig | 13 + drivers/mtd/nand/Kconfig | 3 + drivers/mtd/nand/Makefile | 1 + drivers/mtd/nand/bmt.c | 753 ++++++ drivers/mtd/nand/bmt.h | 82 + drivers/mtd/nand/dev-nand.c | 63 + drivers/mtd/nand/mt6575_typedefs.h | 340 +++ drivers/mtd/nand/mtk_nand.c | 2123 ++++++++++++++++ drivers/mtd/nand/mtk_nand.h | 452 ++++ drivers/mtd/nand/nand_base.c | 6 +- drivers/mtd/nand/nand_bbt.c | 20 + drivers/mtd/nand/nand_def.h | 123 + drivers/mtd/nand/nand_device_list.h | 55 + drivers/mtd/nand/partition.h | 115 + drivers/net/Kconfig | 6 + drivers/net/Makefile | 1 + drivers/net/mii_mgr.c | 957 +++++++ drivers/net/rt2880_eth.c | 3646 +++++++++++++++++++++++++++ include/configs/ex300.h | 201 ++ include/launch.h | 71 + include/linux/compat.h | 1 + include/mipsmtregs.h | 395 +++ include/rt_mmap.h | 844 +++++++ include/sysdefs.h | 467 ++++ mt7621_ddr.sh | 34 + mt7621_ddr_param.txt | 32 + mt7621_stage_L2.bin | Bin 0 -> 19896 bytes mt7621_stage_sram.bin | Bin 0 -> 20768 bytes tools/.gitignore | 2 +- tools/Makefile | 3 + tools/crc.c | 150 ++ tools/env/fw_env.c | 252 +- tools/env/fw_env.config | 8 + tools/mediatek.h | 65 + tools/mediatek_image.h | 269 ++ tools/mkimage_mediatek.c | 1017 ++++++++ 53 files changed, 15874 insertions(+), 12 deletions(-) ------------------------------------------------------------------------------- commit d8780739cf01f5ffa89f1fd13ccf164313aeaae9 Author: Kenneth Johansson <kenneth@southpole.se> Date: 2016-09-09 13:57:17 +0200 Fix reset. Base directory -> / board/inteno/ex300/board.c | 14 ++++++++++++++ include/configs/ex300.h | 1 - 2 files changed, 14 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 01c5075506afcb7a74e0db8600af8979f45881b5 Author: Lokesh Vutla <lokeshvutla@ti.com> Date: 2016-09-06 09:10:37 +0530 board: ks2: README: Update to add K2G support Update the README to add support for K2G EVM. Also - Add steps on how to use MMC boot - Fix load address when using CCS - Update build target to u-boot.bin from u-boot-dtb.bin as all ks2 platforms uses DT. Reviewed-by: Tom Rini <trini@konsulko.com> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> Base directory -> / board/ti/ks2_evm/README | 40 ++++++++++++++++++++++++++++++---------- 1 file changed, 30 insertions(+), 10 deletions(-) ------------------------------------------------------------------------------- commit 4c02c11de89388db29ac413b09d1ab5ae63f3ecb Author: Mian Yousaf Kaukab <yousaf.kaukab@gmail.com> Date: 2016-09-05 23:59:22 +0200 efi_loader: provide efi_mem_desc version Provide version of struct efi_mem_desc in efi_get_memory_map(). EFI_BOOT_SERVICES.GetMemoryMap() in UEFI specification v2.6 defines memory descriptor version to 1. Linux kernel also expects descriptor version to be 1 and prints following warning during boot if its not: Unexpected EFI_MEMORY_DESCRIPTOR version 0 Signed-off-by: Mian Yousaf Kaukab <yousaf.kaukab@gmail.com> Base directory -> / include/efi.h | 2 ++ lib/efi_loader/efi_memory.c | 3 +++ 2 files changed, 5 insertions(+) ------------------------------------------------------------------------------- commit bac17b78daceeba1af2e1d8cd204ee460c71c93a Author: Jonathan Gray <jsg@jsg.id.au> Date: 2016-09-03 08:30:14 +1000 image-fit: switch ENOLINK to ENOENT ENOLINK is not required by POSIX and does not exist on OpenBSD and likely other systems. Signed-off-by: Jonathan Gray <jsg@jsg.id.au> Base directory -> / common/image-fit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 3715a540c49335532fb0f75f5b18bc9e269f4471 Author: Jonathan Gray <jsg@jsg.id.au> Date: 2016-09-03 08:26:55 +1000 compiler.h: use system endian macros on OpenBSD The u-boot endian macros map directly to system endian macros on OpenBSD. Signed-off-by: Jonathan Gray <jsg@jsg.id.au> Base directory -> / include/compiler.h | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit c989166037941f80e0d46f1fa4e37c9f4f876b80 Author: Nishanth Menon <nm@ti.com> Date: 2016-09-02 13:51:33 -0500 board: am57xx: Fix missing check for beagle_x15 When beagleboard-X15 is booted, we see the following log: Unidentified board claims BBRDX15_ in eeprom header This is because of the missing check for x15 (the default) and reports an error for a valid board configuration. Fix the same. Signed-off-by: Nishanth Menon <nm@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com> Base directory -> / board/ti/am57xx/board.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit c0b1d80a1027a035dc2d72d18cbd936b07000e78 Author: Nishanth Menon <nm@ti.com> Date: 2016-09-02 02:51:45 -0500 board: am57xx: MAINTAINERS: Update for current maintainer Felipe Balbi has move on from TI and the current email ID is no longer valid. So, replacing with Lokesh. While at it, update missing config file which was untracked. Signed-off-by: Nishanth Menon <nm@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / board/ti/am57xx/MAINTAINERS | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 2adbc17b9ed8849288ae7be50dd060e4a5092cee Author: Robert P. J. Day <rpjday@crashcourse.ca> Date: 2016-09-01 12:54:32 -0400 global_data.h: Standardize tabs and alignment for comments Line up comments for readibility. Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Base directory -> / include/asm-generic/global_data.h | 35 +++++++++++++++++------------------ 1 file changed, 17 insertions(+), 18 deletions(-) ------------------------------------------------------------------------------- commit fce78503b26c47f3f063c41f4154e5c2bfad9a46 Author: Wenbin Song <wenbin.song@nxp.com> Date: 2016-09-01 16:28:22 +0800 pxe: Modify README to add the description about FIT image Use environment variable "kernel_addr_r" to indicate the location in RAM where FIT image will be stored. Use label command "kernel" to indicate which <path> the FIT image at. Signed-off-by: Wenbin Song <wenbin.song@nxp.com> Base directory -> / doc/README.pxe | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) ------------------------------------------------------------------------------- commit f63963f048fd34735a2862936dbd0615d7342f8b Author: York Sun <york.sun@nxp.com> Date: 2016-09-01 16:28:21 +0800 pxe: Fix pxe boot with FIT image When FIT image is used, a single image provides kernel, device tree and optionally ramdisk. Argc and argv need to be adjusted to support this. Test cases: 1. Booting with legacy images 2. Booting with legacy images without initrd 3. Booting with FIT image Test commands: 1. pxe get && pxe boot 2. sysboot Signed-off-by: York Sun <york.sun@nxp.com> Signed-off-by: Wenbin Song <wenbin.song@nxp.com> Base directory -> / cmd/pxe.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) ------------------------------------------------------------------------------- commit 57247d9cbf1f0b55c3922e89c6516336d51a355b Author: Robert P. J. Day <rpjday@crashcourse.ca> Date: 2016-08-31 12:49:13 -0400 common/Kconfig: Fix various innocuous typos. Correct a small number of spelling mistakes. Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Base directory -> / common/Kconfig | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) ------------------------------------------------------------------------------- commit db18a24f0b978eb0a6641ceb1573279916b50006 Author: Vagrant Cascadian <vagrant@debian.org> Date: 2016-08-30 13:16:32 -0700 omap3_pandora: Only set bootargs if distro_bootcmd failed to load. As bootargs is hard-coded for the default behavior on the omap3_pandora, only set the bootargs if distro_bootcmd fails to load. This leaves distro_bootcmd free to use alternate boot arguments. Signed-off-by: Vagrant Cascadian <vagrant@debian.org> Base directory -> / include/configs/omap3_pandora.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 40abfeecf107d79493bfdb6fb5bed3648a97f669 Author: Vagrant Cascadian <vagrant@debian.org> Date: 2016-08-30 13:16:31 -0700 omap3_pandora: Switch to use config_distro_bootcmd. Add support for using distro_bootcmd to the omap3_pandora target, falling back to prior behavior. Signed-off-by: Vagrant Cascadian <vagrant@debian.org> Base directory -> / include/configs/omap3_pandora.h | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) ------------------------------------------------------------------------------- commit 174245b90910438efe31153dd409d53163ea066d Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-08-30 18:51:40 +0900 ARM: am335x: select DM_GPIO We are supposed to not add config entries with only "default y" in board/SoC Kconfig files. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Acked-by: Enric Balletbo i Serra <enric.balletbo@collabora.com> Base directory -> / arch/arm/Kconfig | 1 + board/tcl/sl50/Kconfig | 6 ------ 2 files changed, 1 insertion(+), 6 deletions(-) ------------------------------------------------------------------------------- commit 90c08d9e08c7a108ab904f3bbdeb558081757892 Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-08-30 18:50:36 +0900 Increase default of CONFIG_SYS_MALLOC_F_LEN for SPL_OF_CONTROL If both SPL_DM and SPL_OF_CONTROL are enabled, SPL needs to bind several devices, but CONFIG_SYS_MALLOC_F_LEN=0x400 is apparently not enough. Increase the default to 0x2000 for the case. This will be helpful for shorter defconfigs. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Stefan Roese <sr@denx.de> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / Kconfig | 1 + configs/clearfog_defconfig | 1 - configs/db-88f6720_defconfig | 1 - configs/db-88f6820-gp_defconfig | 1 - configs/db-mv784mp-gp_defconfig | 1 - configs/ds414_defconfig | 1 - configs/maxbcm_defconfig | 1 - configs/sandbox_spl_defconfig | 1 - configs/socfpga_arria5_defconfig | 1 - configs/socfpga_cyclone5_defconfig | 1 - configs/socfpga_de0_nano_soc_defconfig | 1 - configs/socfpga_is1_defconfig | 1 - configs/socfpga_mcvevk_defconfig | 1 - configs/socfpga_sockit_defconfig | 1 - configs/socfpga_socrates_defconfig | 1 - configs/socfpga_sr1500_defconfig | 1 - configs/socfpga_vining_fpga_defconfig | 1 - configs/theadorable_debug_defconfig | 1 - configs/theadorable_defconfig | 1 - configs/uniphier_ld11_defconfig | 1 - configs/uniphier_ld20_defconfig | 1 - configs/uniphier_ld4_sld8_defconfig | 1 - configs/uniphier_pro4_defconfig | 1 - configs/uniphier_pxs2_ld6b_defconfig | 1 - configs/uniphier_sld3_defconfig | 1 - 25 files changed, 1 insertion(+), 24 deletions(-) ------------------------------------------------------------------------------- commit 1544698816a32284947322d0f0fe1478a9b65ad3 Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-08-30 16:22:23 +0900 ARM: armv7: move ARMV7_PSCI_NR_CPUS to Kconfig Move this option to Kconfig and set its default value to 4; this increases the number of supported CPUs for some boards. It consumes 1KB memory per CPU for PSCI stack, but it should not be a big deal, given the amount of memory used for the modern OSes. Reviewed-by: Alexander Graf <agraf@suse.de> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Base directory -> / arch/arm/cpu/armv7/Kconfig | 9 +++++++++ include/configs/arndale.h | 1 - include/configs/bcm_ep_board.h | 1 - include/configs/jetson-tk1.h | 1 - include/configs/ls1021aqds.h | 1 - include/configs/ls1021atwr.h | 1 - include/configs/mx7_common.h | 1 - include/configs/sun6i.h | 1 - include/configs/sun7i.h | 1 - include/configs/sun8i.h | 12 ------------ include/configs/uniphier.h | 1 - include/configs/vexpress_ca15_tc2.h | 1 - 12 files changed, 9 insertions(+), 22 deletions(-) ------------------------------------------------------------------------------- commit 217f92bb79ea43df4d0fe47e31c28c01c721ad87 Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-08-30 16:22:22 +0900 ARM: armv7: move CONFIG_ARMV7_PSCI to Kconfig Add ARCH_SUPPORT_PSCI as a non-configurable option that platforms can select. Then, move CONFIG_ARMV7_PSCI, which is automatically enabled if both ARMV7_NONSEC and ARCH_SUPPORT_PSCI are enabled. Reviewed-by: Alexander Graf <agraf@suse.de> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Base directory -> / arch/arm/Kconfig | 3 +++ arch/arm/cpu/armv7/Kconfig | 10 ++++++++++ arch/arm/cpu/armv7/mx7/Kconfig | 1 + arch/arm/mach-tegra/tegra124/Kconfig | 1 + arch/arm/mach-uniphier/Kconfig | 1 + board/sunxi/Kconfig | 5 +++++ include/configs/jetson-tk1.h | 1 - include/configs/ls1021aqds.h | 1 - include/configs/ls1021atwr.h | 1 - include/configs/mx7_common.h | 1 - include/configs/sun6i.h | 1 - include/configs/sun7i.h | 1 - include/configs/sun8i.h | 1 - include/configs/uniphier.h | 1 - 14 files changed, 21 insertions(+), 8 deletions(-) ------------------------------------------------------------------------------- commit 5a3aae68c74e029ed29d22999ab6f22687382f2d Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-08-30 16:22:21 +0900 ARM: armv7: guard memory reserve for PSCI with #ifdef CONFIG_ARMV7_PSCI If CONFIG_ARMV7_NONSEC is enabled, the linker script requires CONFIG_ARMV7_PSCI_NR_CPUS regardless of CONFIG_ARMV7_PSCI. Reviewed-by: Alexander Graf <agraf@suse.de> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Base directory -> / arch/arm/cpu/u-boot.lds | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit 55a65e61870970818f677a6ec287363283da2c1d Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-08-30 16:22:20 +0900 ARM: tegra: remove wrong dependency on SPL_BUILD SPL_BUILD is not a CONFIG in Kconfig, so !SPL_BUILD is always true. Reviewed-by: Alexander Graf <agraf@suse.de> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Base directory -> / arch/arm/mach-tegra/tegra124/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit 4667c83365fd2426c08c2a55fe4b6682ae0bd6b3 Author: Vagrant Cascadian <vagrant@debian.org> Date: 2016-08-29 00:56:06 -0700 omap3_pandora: Switch to using "load" command to load the autoboot script. CONFIG_CMD_FS_GENERIC is enabled; use it to load the autoboot script, rather than first attempting with fatload and falling back to ext2load. Signed-off-by: Vagrant Cascadian <vagrant@debian.org> Acked-by: Grazvydas Ignotas <notasas@gmail.com> Base directory -> / include/configs/omap3_pandora.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) ------------------------------------------------------------------------------- commit f6eb836e8411daecfa68d410d69832f54f31a985 Author: Vagrant Cascadian <vagrant@debian.org> Date: 2016-08-29 00:56:05 -0700 omap3_pandora: Fix mmc loading of autoboot script to use correct syntax. fatload/ext2load both require that the device and partition be specified after specifying the device type. Specify the first partition on mmc device 0, which is the only mmc device currently configured on the pandora. Signed-off-by: Vagrant Cascadian <vagrant@debian.org> Acked-by: Grazvydas Ignotas <notasas@gmail.com> Base directory -> / include/configs/omap3_pandora.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit fa2f81b06f666710c756d25297d7a9ca48c65935 Author: Tom Rini <trini@konsulko.com> Date: 2016-08-26 13:30:43 -0400 TI: Rework SRAM definitions and maximums On all TI platforms the ROM defines a "downloaded image" area at or near the start of SRAM which is followed by a reserved area. As it is at best bad form and at worst possibly harmful in corner cases to write in this reserved area, we stop doing that by adding in the define NON_SECURE_SRAM_IMG_END to say where the end of the downloaded image area is and make SRAM_SCRATCH_SPACE_ADDR be one kilobyte before this. At current we define the end of scratch space at 0x228 bytes past the start of scratch space this this gives us a lot of room to grow. As these scratch uses are non-optional today, all targets are modified to respect this boundary. Tested on OMAP4 Pandaboard, OMAP3 Beagle xM Cc: Albert Aribaud <albert.u.boot@aribaud.net> Cc: Nagendra T S <nagendra@mistralsolutions.com> Cc: Vaibhav Hiremath <hvaibhav@ti.com> Cc: Lokesh Vutla <lokeshvutla@ti.com> Cc: Felipe Balbi <balbi@ti.com> Cc: Igor Grinberg <grinberg@compulab.co.il> Cc: Nikita Kiryanov <nikita@compulab.co.il> Cc: Paul Kocialkowski <contact@paulk.fr> Cc: Enric Balletbo i Serra <eballetbo@gmail.com> Cc: Adam Ford <aford173@gmail.com> Cc: Steve Sakoman <sakoman@gmail.com> Cc: Stefan Roese <sr@denx.de> Cc: Thomas Weber <weber@corscience.de> Cc: Hannes Schmelzer <oe5hpm@oevsv.at> Cc: Thomas Chou <thomas@wytron.com.tw> Cc: Masahiro Yamada <yamada.masahiro@socionext.com> Cc: Simon Glass <sjg@chromium.org> Cc: Joe Hershberger <joe.hershberger@ni.com> Cc: Sam Protsenko <semen.protsenko@linaro.org> Cc: Heiko Schocher <hs@denx.de> Cc: Samuel Egli <samuel.egli@siemens.com> Cc: Michal Simek <michal.simek@xilinx.com> Cc: Wolfgang Denk <wd@denx.de> Cc: Mateusz Kulikowski <mateusz.kulikowski@gmail.com> Cc: Ben Whitten <ben.whitten@gmail.com> Cc: Stefano Babic <sbabic@denx.de> Cc: Bin Meng <bmeng.cn@gmail.com> Cc: Sekhar Nori <nsekhar@ti.com> Cc: Mugunthan V N <mugunthanvnm@ti.com> Cc: "B, Ravi" <ravibabu@ti.com> Cc: "Matwey V. Kornilov" <matwey.kornilov@gmail.com> Cc: Ladislav Michl <ladis@linux-mips.org> Cc: Ash Charles <ashcharles@gmail.com> Cc: "Kipisz, Steven" <s-kipisz2@ti.com> Cc: Daniel Allred <d-allred@ti.com> Signed-off-by: Tom Rini <trini@konsulko.com> Tested-by: Lokesh Vutla <lokeshvutla@ti.com> Acked-by: Lokesh Vutla <lokeshvutla@ti.com> Tested-by: Ladislav Michl <ladis@linux-mips.org> Base directory -> / arch/arm/include/asm/arch-am33xx/omap.h | 13 ++++++------- arch/arm/include/asm/arch-omap3/omap.h | 5 ++++- arch/arm/include/asm/arch-omap4/omap.h | 5 ++++- arch/arm/include/asm/arch-omap5/omap.h | 6 +++++- include/configs/am3517_crane.h | 3 ++- include/configs/am3517_evm.h | 3 ++- include/configs/am43xx_evm.h | 3 --- include/configs/am57xx_evm.h | 2 -- include/configs/bur_am335x_common.h | 6 ++++-- include/configs/cm_t35.h | 3 ++- include/configs/cm_t43.h | 1 - include/configs/dra7xx_evm.h | 2 -- include/configs/kc1.h | 3 ++- include/configs/omap3_evm.h | 3 ++- include/configs/omap3_igep00x0.h | 8 ++++---- include/configs/omap3_logic.h | 10 ++++++---- include/configs/omap3_overo.h | 8 +++++--- include/configs/siemens-am33x-common.h | 3 ++- include/configs/sniper.h | 3 ++- include/configs/tam3517-common.h | 3 ++- include/configs/tao3530.h | 3 ++- include/configs/ti814x_evm.h | 3 ++- include/configs/ti816x_evm.h | 3 ++- include/configs/ti_am335x_common.h | 1 - include/configs/ti_armv7_common.h | 21 +++++++++++++-------- include/configs/ti_omap3_common.h | 1 - include/configs/ti_omap4_common.h | 1 - include/configs/ti_omap5_common.h | 7 ------- include/configs/tricorder.h | 3 ++- 29 files changed, 75 insertions(+), 61 deletions(-) ------------------------------------------------------------------------------- commit 31c98cbb31dc8c7ccb0e9c07ff340c22f5e407ba Author: Adam Ford <aford173@gmail.com> Date: 2016-08-26 07:53:53 -0500 omap3logic: Fix PBIAS Bug The PBIAS fixing is done in the MMC driver, and doing it in the the board file conflicts with the driver causing intermittent hangs on reboot. Remove this from the board file and let the driver do it. Signed-off-by: Adam Ford <aford173@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / board/logicpd/omap3som/omap3logic.c | 12 ------------ 1 file changed, 12 deletions(-) ------------------------------------------------------------------------------- commit 740f7e5c1dfe032ec207ea211770df32773bfaca Author: Xu Ziyuan <xzy.xu@rock-chips.com> Date: 2016-08-26 19:54:49 +0800 README: add cmd directory description All of the command files have moved to cmd directory, add description to Directory Hierarchy. Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / README | 1 + 1 file changed, 1 insertion(+) ------------------------------------------------------------------------------- commit 15db77d7fe501d8d191e2824decf1c367903352d Author: Hannes Schmelzer <oe5hpm@oevsv.at> Date: 2016-08-25 09:18:56 +0200 board/BuR/common: increase NET_RETRY_COUNT to 10 Sometimes boards may need more time to become stable network connection due to several reasons: - phy speed - link-partner (switch) Therefore we increase the retry-count to 10 for making sure that network connection works always. Signed-off-by: Hannes Schmelzer <oe5hpm@oevsv.at> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / include/configs/bur_cfg_common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 903f864302c2dbb6b479919d5029855befe50eda Author: Madan Srinivas <madans@ti.com> Date: 2016-08-24 16:41:22 -0400 configs: am4xhs: Modify SPL load address to fix UART boot issue An issue in the TI secure image generation tool causes the ROM to load the SPL at a different load address than what is specified by CONFIG_ISW_ENTRY_ADDR while doing a peripheral boot on HS devices. This causes the SPL to fail on secure devices during peripheral boot. The TI secure image generation tool has been fixed so that the SPL will always be loaded at 0x403018E0 by the ROM code for both peripheral and memory boot modes. Signed-off-by: Madan Srinivas <madans@ti.com> Reviewed-by: Nishanth Menon <nm@ti.com> Acked-by: Lokesh Vutla <lokeshvutla@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / configs/am43xx_hs_evm_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit eb817fc85a462590a632427cb2aa29ec1862d2f2 Author: Andreas Dannenberg <dannenberg@ti.com> Date: 2016-08-24 14:32:18 -0500 ARM: AM57xx: Enable post-processing of FIT artifacts loaded by U-Boot Enable the platform-specific post-processing of FIT-extracted blobs such as Kernel, DTB, and initramfs on TI AM57xx high-security (HS) devices which will ultimately invoke a ROM-based API call that performs secure processing such as blob authentication. Signed-off-by: Andreas Dannenberg <dannenberg@ti.com> Signed-off-by: Andrew F. Davis <afd@ti.com> Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / configs/am57xx_hs_evm_defconfig | 1 + 1 file changed, 1 insertion(+) ------------------------------------------------------------------------------- commit 005337e89f8c136ba252889e4c1475907d70a609 Author: Andreas Dannenberg <dannenberg@ti.com> Date: 2016-08-24 14:32:17 -0500 ARM: DRA7xx: Enable post-processing of FIT artifacts loaded by U-Boot Enable the platform-specific post-processing of FIT-extracted blobs such as Kernel, DTB, and initramfs on TI DRA7xx high-security (HS) devices which will ultimately invoke a ROM-based API call that performs secure processing such as blob authentication. Signed-off-by: Andreas Dannenberg <dannenberg@ti.com> Signed-off-by: Andrew F. Davis <afd@ti.com> Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / configs/dra7xx_hs_evm_defconfig | 1 + 1 file changed, 1 insertion(+) ------------------------------------------------------------------------------- commit dfaeea7abdaf973c15744ec10d7d3f68ed528fd4 Author: Andreas Dannenberg <dannenberg@ti.com> Date: 2016-08-24 14:32:16 -0500 ARM: AM43xx: Enable post-processing of FIT artifacts loaded by U-Boot Enable the platform-specific post-processing of FIT-extracted blobs such as Kernel, DTB, and initramfs on TI AM43xx high-security (HS) devices which will ultimately invoke a ROM-based API call that performs secure processing such as blob authentication. Signed-off-by: Andreas Dannenberg <dannenberg@ti.com> Signed-off-by: Andrew F. Davis <afd@ti.com> Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / configs/am43xx_hs_evm_defconfig | 1 + 1 file changed, 1 insertion(+) ------------------------------------------------------------------------------- commit 85a3772973a3cab5322f2c385a5c827260c3bc8b Author: Paul Kocialkowski <contact@paulk.fr> Date: 2016-08-24 20:04:42 +0200 spl: Rework image header parse to allow abort on raw image and os boot This reworks spl_set_header_raw_uboot to allow having both os boot (which comes with a valid header) and aborting when no valid header is found (thus excluding raw u-boot.bin images). Signed-off-by: Paul Kocialkowski <contact@paulk.fr> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / common/spl/spl.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) ------------------------------------------------------------------------------- commit 7302fbb31d1ba8b208ae5e400028c692167c7072 Author: John Keeping <john@metanate.com> Date: 2016-08-22 15:10:09 +0100 regulator: fixed: obey startup delay When enabling a fixed regulator, it may take some time to rise to the correct voltage. If we do not delay here then subsequent operations will fail. Signed-off-by: John Keeping <john@metanate.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / doc/device-tree-bindings/regulator/fixed.txt | 1 + drivers/power/regulator/fixed.c | 10 ++++++++++ 2 files changed, 11 insertions(+) ------------------------------------------------------------------------------- commit 07913d1e42c1db77acd653fb4aa671b664c59db2 Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-08-22 22:18:22 +0900 tools: moveconfig: add --spl option to move options for SPL build Prior to this commit, the tool could not move options guarded by CONFIG_SPL_BUILD ifdef conditionals because they do not show up in include/autoconf.mk. This new option, if given, makes the tool parse spl/include/autoconf.mk instead of include/autoconf.mk, which is probably preferred behavior when moving options for SPL. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / tools/moveconfig.py | 33 ++++++++++++++++++++++++++++++--- 1 file changed, 30 insertions(+), 3 deletions(-) ------------------------------------------------------------------------------- commit 916224c38d2e5a582bba472b9e4b133c12862efa Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-08-22 22:18:21 +0900 tools: moveconfig: warn loudly if moved option has no entry in Kconfig Currently, the tool gives up moving an option quietly if its entry was not found in Kconfig. If the option is not defined in the config header in the first place, it is no problem (as the Kconfig entry may have been hidden by reasonable "depends on"). However, if the option is defined in the config header, the missing Kconfig entry is a sign of possible behavior change. It is highly recommended to manually check if the option has been moved as expected. In this case, let's add "suspicious" in the log and change the log color (if --color option is given) to make it stand out. This was suggested by Tom in [1]. [1] http://lists.denx.de/pipermail/u-boot/2016-July/261988.html Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Suggested-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / tools/moveconfig.py | 45 +++++++++++++++++++++++++++++++-------------- 1 file changed, 31 insertions(+), 14 deletions(-) ------------------------------------------------------------------------------- commit 09c6c06688d0042872a2eba3b19862d74d2f4a8a Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-08-22 22:18:20 +0900 tools: moveconfig: use sets instead of lists for failed/suspicious boards The sets feature is handier for adding unique elements. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com> Base directory -> / tools/moveconfig.py | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) ------------------------------------------------------------------------------- commit e1a996267f3603e2d079ec8423682398a0d915c0 Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-08-22 22:18:19 +0900 tools: moveconfig: remove document about deprecated error message Since commit cc008299f852 ("tools: moveconfig: do not rely on type and default value given by users"), we do not have this error case. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com> Base directory -> / tools/moveconfig.py | 4 ---- 1 file changed, 4 deletions(-) ------------------------------------------------------------------------------- commit cfe255611ce183187a3de5ef6fed246bdea7b044 Author: Beniamino Galvani <b.galvani@gmail.com> Date: 2016-08-16 11:49:50 +0200 meson: odroid-c2: enable Ethernet support through the device tree Remove the device definition from board file, update the driver with the new compatible property and update config with necessary options. Signed-off-by: Beniamino Galvani <b.galvani@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/arm/include/asm/arch-meson/gxbb.h | 3 --- board/amlogic/odroid-c2/odroid-c2.c | 13 ------------- configs/odroid-c2_defconfig | 3 +++ drivers/net/designware.c | 1 + 4 files changed, 4 insertions(+), 16 deletions(-) ------------------------------------------------------------------------------- commit 677b53580d5d86ca65737497829d581544ae71bf Author: Beniamino Galvani <b.galvani@gmail.com> Date: 2016-08-16 11:49:49 +0200 pinctrl: add driver for meson-gxbb pin controller Add a pin controller driver for Meson GXBB adapted from Linux kernel. Signed-off-by: Beniamino Galvani <b.galvani@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/pinctrl/Kconfig | 1 + drivers/pinctrl/Makefile | 1 + drivers/pinctrl/meson/Kconfig | 11 + drivers/pinctrl/meson/Makefile | 6 + drivers/pinctrl/meson/pinctrl-meson-gxbb.c | 432 +++++++++++++++++++++++++++++ drivers/pinctrl/meson/pinctrl-meson.c | 179 ++++++++++++ drivers/pinctrl/meson/pinctrl-meson.h | 74 +++++ 7 files changed, 704 insertions(+) ------------------------------------------------------------------------------- commit dd83840e5efc297b184196f2603f537a167f85e4 Author: Beniamino Galvani <b.galvani@gmail.com> Date: 2016-08-16 11:49:48 +0200 arm: dts: update DTS files for meson-gxbb and odroid-c2 Import DTS files and dt-bindings includes from Linux 4.8-rc1. Signed-off-by: Beniamino Galvani <b.galvani@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/arm/dts/meson-gxbb-odroidc2.dts | 19 ++ arch/arm/dts/meson-gxbb.dtsi | 170 ++++++++++++++++- include/dt-bindings/gpio/meson-gxbb-gpio.h | 154 +++++++++++++++ .../dt-bindings/reset/amlogic,meson-gxbb-reset.h | 210 +++++++++++++++++++++ 4 files changed, 552 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 2c936374c81a24a461cf71725a1e9ce439e048ed Author: Beniamino Galvani <b.galvani@gmail.com> Date: 2016-08-16 11:49:47 +0200 pinctrl: generic: scan for "pins" and "groups" properties in sub-nodes In cases where the pins and groups definitions are in a sub-node, as: uart_a { mux { groups = "uart_tx_a", "uart_rx_a"; function = "uart_a"; }; }; pinctrl_generic_set_state_subnode() returns an error for the top-level node and pinctrl_generic_set_state() fails. Instead, return success so that the child nodes are tried. Signed-off-by: Beniamino Galvani <b.galvani@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Masahiro Yamada <yamada.masahiro@socionext.com> Base directory -> / drivers/pinctrl/pinctrl-generic.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit 950fe26de9d6e7355b96c6f5dcc8455398216b9f Author: Andreas Bießmann <andreas@biessmann.org> Date: 2016-08-14 20:31:24 +0200 image-fit: fix fit_image_load() OS check Commit 62afc601883e788f3f22291202d5b2a23c1a8b06 introduced fpga image load via bootm but broke the OS check in fit_image_load(). This commit removes following compiler warning: ---8<--- In file included from tools/common/image-fit.c:1: /Volumes/devel/u-boot/tools/../common/image-fit.c:1715:39: warning: use of logical '||' with constant operand [-Wconstant-logical-operand] os_ok = image_type == IH_TYPE_FLATDT || IH_TYPE_FPGA || ^ ~~~~~~~~~~~~ /Volumes/devel/u-boot/tools/../common/image-fit.c:1715:39: note: use '|' for a bitwise operation os_ok = image_type == IH_TYPE_FLATDT || IH_TYPE_FPGA || ^~ | 1 warning generated. --->8--- Signed-off-by: Andreas Bießmann <andreas@biessmann.org> Cc: Michal Simek <michal.simek@xilinx.com> Acked-by: Michal Simek <michal.simek@xilinx.com> Base directory -> / common/image-fit.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 601147b06a708900c5352dc3dcc5d64271bf0d62 Author: Alexander Graf <agraf@suse.de> Date: 2016-08-15 17:48:51 +0200 serial: bcm283x_mu: Detect disabled serial device On the raspberry pi, you can disable the serial port to gain dynamic frequency scaling which can get handy at times. However, in such a configuration the serial controller gets its rx queue filled up with zero bytes which then happily get transmitted on to whoever calls getc() today. This patch adds detection logic for that case by checking whether the RX pin is mapped to GPIO15 and disables the mini uart if it is not mapped properly. That way we can leave the driver enabled in the tree and can determine during runtime whether serial is usable or not, having a single binary that allows for uart and non-uart operation. Signed-off-by: Alexander Graf <agraf@suse.de> Acked-by: Stephen Warren <swarren@wwwdotorg.org> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / board/raspberrypi/rpi/rpi.c | 34 +++++++++++++++++++++++++++- configs/rpi_3_32b_defconfig | 2 ++ configs/rpi_3_defconfig | 2 ++ drivers/gpio/bcm2835_gpio.c | 1 + drivers/serial/serial_bcm283x_mu.c | 3 +++ include/configs/rpi.h | 1 + include/dm/platform_data/serial_bcm283x_mu.h | 1 + 7 files changed, 43 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 04a993fe116604b8c81fb116857dbc78e2500133 Author: Alexander Graf <agraf@suse.de> Date: 2016-08-11 13:38:31 +0200 bcm2835_gpio: Implement GPIOF_FUNC So far we could only tell the gpio framework that a GPIO was mapped as input or output, not as alternative function. This patch adds support for determining whether a function is mapped as alternative. Signed-off-by: Alexander Graf <agraf@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org> Acked-by: Stephen Warren <swarren@wwwdotorg.org> Base directory -> / arch/arm/mach-bcm283x/include/mach/gpio.h | 2 ++ drivers/gpio/bcm2835_gpio.c | 30 +++++++++++++++++------------- 2 files changed, 19 insertions(+), 13 deletions(-) ------------------------------------------------------------------------------- commit c0afcb588979e554fd28adeefa6810abb04cf108 Author: Tom Rini <trini@konsulko.com> Date: 2016-09-06 11:28:42 -0400 Merge branch 'master' of http://git.denx.de/u-boot-sunxi Base directory -> / arch/arm/dts/Makefile | 5 +- arch/arm/dts/sun8i-a33-inet-d978-rev2.dts | 88 ++++++++++++ arch/arm/dts/sun8i-a33-olinuxino.dts | 226 ++++++++++++++++++++++++++++++ arch/arm/dts/sun8i-h3-orangepi-2.dts | 11 ++ arch/arm/dts/sun8i-h3-orangepi-pc.dts | 1 + arch/arm/dts/sun8i-h3-orangepi-plus.dts | 72 ++++------ arch/arm/dts/sun8i-h3-orangepi-plus2e.dts | 83 +++++++++++ arch/arm/dts/sun8i-h3.dtsi | 5 +- board/sunxi/Kconfig | 2 +- board/sunxi/MAINTAINERS | 11 ++ board/sunxi/board.c | 2 +- configs/A33-OLinuXino_defconfig | 43 ++++++ configs/iNet_D978_rev2_defconfig | 26 ++++ configs/orangepi_2_defconfig | 1 + configs/orangepi_plus2e_defconfig | 19 +++ configs/orangepi_plus_defconfig | 3 +- include/configs/sunxi-common.h | 5 +- 17 files changed, 547 insertions(+), 56 deletions(-) ------------------------------------------------------------------------------- commit 57288e3d9591b95287b92b9ba25aa6355daeb3c3 Author: Tom Rini <trini@konsulko.com> Date: 2016-09-06 11:28:37 -0400 Merge git://git.denx.de/u-boot-nand-flash Base directory -> / cmd/nand.c | 8 ++++---- drivers/dfu/dfu_nand.c | 4 ++-- drivers/mtd/nand/omap_gpmc.c | 2 +- drivers/mtd/nand/pxa3xx_nand.c | 1 + 4 files changed, 8 insertions(+), 7 deletions(-) ------------------------------------------------------------------------------- commit 0068dd687d38e41eafa51135bc10e0f04a928601 Author: Mugunthan V N <mugunthanvnm@ti.com> Date: 2016-08-31 17:22:19 +0530 ARM: dts: dra72-evm: fix broken ethernet With commit ceec08f50b6, phy is connected to slave 0, but changing the phy node was missed, fix it by populating the phy node to proper cpsw slave node. Fixes: ceec08f50b6 ("ARM: dts: dra72-evm: Add mode-gpios entry for mac node") Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com> Cc: Vignesh R <vigneshr@ti.com> Tested-by: Tom Rini <trini@konsulko.com> Base directory -> / arch/arm/dts/dra72-evm.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 5a74a3912970d4fa5625237f0117ca08c2878f29 Author: Andre Przywara <andre.przywara@arm.com> Date: 2016-09-05 01:32:41 +0100 sunxi: fix 64-bit compiler warning for SPL header parsing Casting "int"s to pointers is only valid for 32-bit systems. Add the appropriate pointer type cast to avoid a compiler warning when compiling for AArch64. Signed-off-by: Andre Przywara <andre.przywara@arm.com> Reviewed-by: Siarhei Siamashka <siarhei.siamashka@gmail.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Base directory -> / board/sunxi/board.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit fa855d3d557a33c3c59f260302a94a8e8a0051b1 Author: Andre Przywara <andre.przywara@arm.com> Date: 2016-09-05 01:32:40 +0100 sunxi: Kconfig: rename non-existent SUN50I_A64 config symbol There is no "CONFIG_MACH_SUN50I_A64" in upstream U-Boot, so fix the name to prevent the option to be enabled. Signed-off-by: Andre Przywara <andre.przywara@arm.com> Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Base directory -> / board/sunxi/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit eb504fa13fbb9a40f7748cda5093d78a817051b3 Author: Andre Przywara <andre.przywara@arm.com> Date: 2016-09-05 01:32:38 +0100 Revert "sunxi: Move the SPL stack top to 0x1A000 on Allwinner A64/A80" This commit moved the SPL stack into SRAM C, which worked when the SPL set the AHB1 clock down to 100 MHz to cope with the flaky SRAM C access from the CPU. However booting with boot0 (and thus not using SPL at all) we still run with a 200 MHz AHB1, so any access to SRAM C is prone to fail. Since this commit does _not_ only affect the SPL code, but also the U-Boot proper, we fail when booting with boot0. As the introduction of tiny-printf reduced the size of the SPL, we can afford to have the SPL stack in SRAM A1. This reverts commit 1a83fb4a17d959d7b037999ab7ed7e62429abe34 and fixes booting the Pine64 when using boot0. Signed-off-by: Andre Przywara <andre.przywara@arm.com> Reviewed-by: Siarhei Siamashka <siarhei.siamashka@gmail.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Base directory -> / include/configs/sunxi-common.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit de300ea5db009d58fbafa0736d37457feaab770b Author: Hans de Goede <hdegoede@redhat.com> Date: 2016-09-03 11:42:31 +0200 sunxi: Add defconfig and dts file for the Orange Pi Plus2E SBC The Orange Pi Plus2E is an extended version of the Orange Pi Pc Plus, with 2G RAM and an external gbit ethernet phy. The dts file is identical to the one submitted to the upstream kernel, except that it has the pending patch to enable the ethernet controller squashed in, as u-boot already has sun8i-emac support. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Base directory -> / arch/arm/dts/Makefile | 3 +- arch/arm/dts/sun8i-h3-orangepi-plus2e.dts | 83 +++++++++++++++++++++++++++++++ board/sunxi/MAINTAINERS | 1 + configs/orangepi_plus2e_defconfig | 19 +++++++ 4 files changed, 105 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 1c145c39dcf8a2a885e7a6bfd8fd5a5f95fc630a Author: Hans de Goede <hdegoede@redhat.com> Date: 2016-09-03 10:29:58 +0200 sunxi: Enable emac on H3 orangepi boards The Orange Pi 2 and Orange Pi Plus also come with ethernet, enable support for this. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Base directory -> / configs/orangepi_2_defconfig | 1 + configs/orangepi_plus_defconfig | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 019731a88f40d45bd15505402772e00d85689dd6 Author: Hans de Goede <hdegoede@redhat.com> Date: 2016-09-03 10:21:35 +0200 sunxi: Sync h3-orangepi dts files with kernel This adds an emac node to the orangepi-2 dts (not yet merged upstream, but in u-boot we already have emac support); fixes the alphetically sorting of nodes in sun8i-h3-orangepi-plus.dts and disables some usb controllers in sun8i-h3-orangepi-plus.dts which are only used on the plus2e, as upstream has decided to do a separate dts files for the plus2e. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Base directory -> / arch/arm/dts/sun8i-h3-orangepi-2.dts | 11 +++++ arch/arm/dts/sun8i-h3-orangepi-pc.dts | 1 + arch/arm/dts/sun8i-h3-orangepi-plus.dts | 72 ++++++++++++--------------------- 3 files changed, 37 insertions(+), 47 deletions(-) ------------------------------------------------------------------------------- commit 68871efe1daede5771b0b97de889e81eb969faa8 Author: Chen-Yu Tsai <wens@csie.org> Date: 2016-09-02 16:29:05 +0800 sunxi: Fix H3 EMAC syscon register address The sun8i-emac driver follows an old version of the proposed DT bindings, where the EMAC clock and EPHY control register range is listed directly, rather than through a syscon phandle. Add back the syscon register range to avoid an invalid data access. We should fix the driver once the Linux kernel bindings have been finalized. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Base directory -> / arch/arm/dts/sun8i-h3.dtsi | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) ------------------------------------------------------------------------------- commit ca5c37026be4ce984537569d7159f488a836afc8 Author: Stefan Mavrodiev <stefan.mavrodiev@gmail.com> Date: 2016-09-02 15:21:37 +0300 sunxi: Add support for A33-OLinuXino board A33-OLinuXino is A33 development board designed by Olimex LTD. It has AXP223 PMU, 1GB DRAM, a micro SD card, one USB-OTG connector, headphone and mic jacks, connector for LiPo battery and optional 4GB NAND Flash. It has two 40-pin headers. One for LCD panel, and one for additional modules. Also there is CSI/DSI connector. The dts files are identical to the ones submitted to the upstream kernel. Signed-off-by: Stefan Mavrodiev <stefan.mavrodiev@gmail.com> Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Base directory -> / arch/arm/dts/Makefile | 1 + arch/arm/dts/sun8i-a33-olinuxino.dts | 226 +++++++++++++++++++++++++++++++++++ board/sunxi/MAINTAINERS | 5 + configs/A33-OLinuXino_defconfig | 43 +++++++ 4 files changed, 275 insertions(+) ------------------------------------------------------------------------------- commit 6d973ad9d2329ec43334304ecd2cb044e173d4c4 Author: Icenowy Zheng <icenowy@aosc.xyz> Date: 2016-08-27 22:16:13 +0800 sunxi: Add iNet D978 rev2 defconfig The iNet D978 rev2 is a tablet board designed by iNet, which is intended to use on 10" tablets with a appearance like Apple iPad. It has A33 SoC, 1GB RAM, 8GB/16GB NAND, SDIO Wi-Fi, a MicroUSB port and a MicroSD slot. Signed-off-by: Icenowy Zheng <icenowy@aosc.xyz> Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Base directory -> / board/sunxi/MAINTAINERS | 5 +++++ configs/iNet_D978_rev2_defconfig | 26 ++++++++++++++++++++++++++ 2 files changed, 31 insertions(+) ------------------------------------------------------------------------------- commit 8e71a7ebdc02f8a5812b608b3014a4839ebd2aed Author: Icenowy Zheng <icenowy@aosc.xyz> Date: 2016-08-27 22:16:12 +0800 sunxi: add proper device tree for iNet D978 rev2 boards Add a proper dts for the iNet D978 rev2 based A33 tablets. Signed-off-by: Icenowy Zheng <icenowy@aosc.xyz> Acked-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Base directory -> / arch/arm/dts/Makefile | 1 + arch/arm/dts/sun8i-a33-inet-d978-rev2.dts | 88 +++++++++++++++++++++++++++++++ 2 files changed, 89 insertions(+) ------------------------------------------------------------------------------- commit 8b7d51249eca113c4965a7c417f33d7eb569434b Author: Scott Wood <oss@buserror.net> Date: 2016-09-01 17:31:31 -0500 nand: Fix some more NULL name tests Now that nand_info[] is an array of pointers we need to test the pointer itself rather than using name as a proxy for NULLness. Fixes: b616d9b0a708eb9 ("nand: Embed mtd_info in struct nand_chip") Signed-off-by: Scott Wood <oss@buserror.net> Cc: Lukasz Majewski <l.majewski@samsung.com> Cc: Tony Lindgren <tony@atomide.com> Acked-by: Tony Lindgren <tony@atomide.com> Base directory -> / cmd/nand.c | 2 +- drivers/dfu/dfu_nand.c | 4 ++-- drivers/mtd/nand/omap_gpmc.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) ------------------------------------------------------------------------------- commit 4004a81828c72311f9c310c38d903b3f6638465d Author: Tony Lindgren <tony@atomide.com> Date: 2016-08-29 09:11:43 -0700 nand: Fix nand info for no device Looks like we have few more places where we're testing for nand_info[i]->name. We can now use just test for nand_info[i] instead. This fixes a data abort on devices with no NAND when doing nand info. Signed-off-by: Tony Lindgren <tony@atomide.com> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / cmd/nand.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) ------------------------------------------------------------------------------- commit 91395b5d4ebb07bf6488058f0ba37256856816f6 Author: Chris Packham <judge.packham@gmail.com> Date: 2016-08-29 15:20:52 +1200 mtd: nand: pxa3xx: use nand_set_controller_data In commit 17cb4b8f327e ("mtd: nand: Add+use mtd_to/from_nand and nand_get/set_controller_data") the assignment of mtd->priv was removed but was not replaced. This adds the required nand_set_controller_data() call. Signed-off-by: Chris Packham <judge.packham@gmail.com> Base directory -> / drivers/mtd/nand/pxa3xx_nand.c | 1 + 1 file changed, 1 insertion(+) ------------------------------------------------------------------------------- commit b615267633996a9410a88b54a55965d8b021f6f8 Author: Peter Chubb <Peter.Chubb@data61.csiro.au> Date: 2016-08-30 22:54:46 +0000 ARM: tegra: Add support for TK1-SOM board from Colorado Engineering The Colorado TK1 SOM is a small form factor board similar to the Jetson TK1. The main differences lie in the pinmux, and in that the PCIe controller is set to use in 4lanes+1lane, rather than 2+2. The pinmux header here was generated from a spreadsheet provided by Colorado Engineering using the tegra-pinmux scripts. The spreadsheet was converted from v09 to v11 by me. Signed-off-by: Peter Chubb <peter.chubb@data61.csiro.au> Acked-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Tom Warren <twarren@nvidia.com> Base directory -> / arch/arm/dts/Makefile | 1 + arch/arm/dts/tegra124-cei-tk1-som.dts | 477 ++++++++++++++++++++++ arch/arm/mach-tegra/tegra124/Kconfig | 12 + board/cei/cei-tk1-som/Kconfig | 12 + board/cei/cei-tk1-som/MAINTAINERS | 6 + board/cei/cei-tk1-som/Makefile | 9 + board/cei/cei-tk1-som/cei-tk1-som.c | 65 +++ board/cei/cei-tk1-som/pinmux-config-cei-tk1-som.h | 301 ++++++++++++++ board/nvidia/venice2/as3722_init.h | 8 +- configs/cei-tk1-som_defconfig | 47 +++ include/configs/cei-tk1-som.h | 73 ++++ 11 files changed, 1007 insertions(+), 4 deletions(-) ------------------------------------------------------------------------------- commit 875607ef9a808a669a854a8edc294b2ec5a08c5d Author: Kenneth Johansson <kenneth@southpole.se> Date: 2016-09-01 16:38:17 +0200 Add support for lauterbash trace32 jtag. we need the ram image that setup dram when using the jtag to start uboot. Base directory -> / Makefile | 24 ++++--- board/inteno/ex300/jtag/ex300.cmm | 99 ++++++++++++++++++++++++++++ board/inteno/ex300/jtag/go | 11 ++++ board/inteno/ex300/jtag/mt7621_ref_nand.cmm | 75 +++++++++++++++++++++ mt7621_stage_sram.bin | Bin 0 -> 20768 bytes 5 files changed, 201 insertions(+), 8 deletions(-) ------------------------------------------------------------------------------- commit 7932d3e4a7d23c8b9b9ecd50f1869eaf3e46ed49 Author: Stephen Warren <swarren@nvidia.com> Date: 2016-08-30 10:22:07 -0600 ARM: tegra: use numeric versioning for p2771-0000 The board ID EEPROM and board ID stickers on p2771-0000 will use a numeric versioning scheme, with version numbers such as 000/100/200/300/400/500. Within NVIDIA, these versions are also known as A00/A01/A02/A03/A04/B00. However, that numbering scheme is not easily visible outside of NVIDIA, and so does not make much sense to use. Convert U-Boot to use the readily visible numeric scheme. Also, it turns out that the current A02 DT actually applies to board versions 000/100/200 (A00..A02). Consequently rename this to 000 not 200 so that all U-Boot builds are named after the first version of the HW they support. Signed-off-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Tom Warren <twarren@nvidia.com> Base directory -> / arch/arm/dts/Makefile | 4 ++-- arch/arm/dts/tegra186-p2771-0000-000.dts | 32 +++++++++++++++++++++++++++ arch/arm/dts/tegra186-p2771-0000-500.dts | 32 +++++++++++++++++++++++++++ arch/arm/dts/tegra186-p2771-0000-a02.dts | 32 --------------------------- arch/arm/dts/tegra186-p2771-0000-b00.dts | 32 --------------------------- configs/p2771-0000-000_defconfig | 37 ++++++++++++++++++++++++++++++++ configs/p2771-0000-500_defconfig | 37 ++++++++++++++++++++++++++++++++ configs/p2771-0000-a02_defconfig | 37 -------------------------------- configs/p2771-0000-b00_defconfig | 37 -------------------------------- 9 files changed, 140 insertions(+), 140 deletions(-) ------------------------------------------------------------------------------- commit cb1cbdd96962931de2ac948a184874e2672f3f96 Author: Bin Meng <bmeng.cn@gmail.com> Date: 2016-08-25 01:47:19 -0700 x86: qemu: efi: Add two boards for EFI 32-bit and 64-bit payload This introduces two board defconfig files for generating EFI 32-bit and 64-bit payloads, to run on QEMU x86 target. With these in place, hopefully buildman will catch any build error with EFI payload support on x86. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / board/emulation/qemu-x86/MAINTAINERS | 2 ++ configs/qemu-x86_efi_payload32_defconfig | 48 +++++++++++++++++++++++++++++++ configs/qemu-x86_efi_payload64_defconfig | 49 ++++++++++++++++++++++++++++++++ 3 files changed, 99 insertions(+) ------------------------------------------------------------------------------- commit 3e6cc35f4e8fb5010421e606cfab0e00d0adacc0 Author: Bin Meng <bmeng.cn@gmail.com> Date: 2016-08-25 01:47:18 -0700 x86: efi: Fix EFI 64-bit payload build warnings There are lots of warnings when building EFI 64-bit payload. include/asm-generic/bitops/__fls.h:17:2: warning: left shift count >= width of type if (!(word & (~0ul << 32))) { ^ In fact, U-Boot itself as EFI payload is running in 32-bit mode. So BITS_PER_LONG needs to still be 32, but EFI status codes are 64-bit when booting from 64-bit EFI. Introduce EFI_BITS_PER_LONG to bridge those status codes with U-Boot's BITS_PER_LONG. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/x86/include/asm/types.h | 4 ---- include/efi.h | 32 ++++++++++++++++++++------------ 2 files changed, 20 insertions(+), 16 deletions(-) ------------------------------------------------------------------------------- commit 3dc51ab0e15180fa761c8072120c591b4693b3c8 Author: Bin Meng <bmeng.cn@gmail.com> Date: 2016-08-25 01:47:17 -0700 x86: efi: payload: Make EFI payload build again Since commit 73c5c39 "Makefile: Drop unnecessary -dtb suffixes", EFI payload does not build anymore. This fixes the build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / include/efi.h | 2 +- lib/efi/efi_stub.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) ------------------------------------------------------------------------------- commit 4cc00f0611c4b491f6dd1f6a5582d24a41f12769 Author: Simon Glass <sjg@chromium.org> Date: 2016-07-25 18:58:59 -0600 x86: Add debugging when cpu_common_init() fails Add a debug() at this point to help figure out what is wrong. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Base directory -> / arch/x86/cpu/ivybridge/cpu.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit e6294e0579897a682a823aefc99fe416c78aaf6e Author: Simon Glass <sjg@chromium.org> Date: 2016-07-25 18:58:58 -0600 x86: ivybridge: Allow microcode to be collated Generally the microcode is combined into a single block only (and removed from the device tree) when there are multiple blocks. But this is not a requirement. Adjust the ivybridge code to avoid assuming this. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Base directory -> / arch/x86/cpu/intel_common/microcode.c | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit fda4fa8195bab36879272e92973a7ef39e759795 Author: Simon Glass <sjg@chromium.org> Date: 2016-07-25 18:58:57 -0600 x86: Add debugging when a microcode update fails Add a debug() at this point to help figure out what is wrong. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher<hs@denx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Base directory -> / arch/x86/cpu/intel_common/cpu.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit ff62bdfbd5dd67d37901002a35b541f2c65ad78d Author: Tom Rini <trini@konsulko.com> Date: 2016-08-28 10:36:20 -0400 Merge branch 'master' of git://git.denx.de/u-boot-uniphier Base directory -> / arch/arm/dts/uniphier-ph1-sld3-ref.dts | 8 ++ arch/arm/dts/uniphier-ph1-sld3.dtsi | 1 + arch/arm/mach-uniphier/arm32/psci.c | 5 + arch/arm/mach-uniphier/micro-support-card.c | 11 ++- arch/arm/mach-uniphier/reset.c | 14 ++- configs/uniphier_ld11_defconfig | 2 +- configs/uniphier_ld20_defconfig | 2 +- configs/uniphier_ld4_sld8_defconfig | 2 +- configs/uniphier_pro4_defconfig | 2 +- configs/uniphier_pxs2_ld6b_defconfig | 2 +- configs/uniphier_sld3_defconfig | 3 +- drivers/mmc/Kconfig | 1 + drivers/mmc/uniphier-sd.c | 148 +++++++++++++++------------- drivers/serial/Kconfig | 1 + include/configs/uniphier.h | 1 + 15 files changed, 123 insertions(+), 80 deletions(-) ------------------------------------------------------------------------------- commit 8d11f804130d27a8f5ed6954f3a8a7f62a10ac45 Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-08-28 12:44:41 +0900 ARM: uniphier: enable CONFIG_CMD_CACHE This will be useful, for example, to load firmware to DRAM and make it visible to other agents. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Base directory -> / configs/uniphier_ld11_defconfig | 1 + configs/uniphier_ld20_defconfig | 1 + configs/uniphier_ld4_sld8_defconfig | 1 + configs/uniphier_pro4_defconfig | 1 + configs/uniphier_pxs2_ld6b_defconfig | 1 + configs/uniphier_sld3_defconfig | 1 + 6 files changed, 6 insertions(+) ------------------------------------------------------------------------------- commit 85dc2fe119657b1e02ff88345dced4f37e4bd174 Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-08-25 19:00:37 +0900 ARM: uniphier: change UNIPHIER_SERIAL to default y option This is very likely to be necessary for normal use cases. Set its default to 'y' for shorter defconfig files. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Base directory -> / configs/uniphier_ld11_defconfig | 1 - configs/uniphier_ld20_defconfig | 1 - configs/uniphier_ld4_sld8_defconfig | 1 - configs/uniphier_pro4_defconfig | 1 - configs/uniphier_pxs2_ld6b_defconfig | 1 - configs/uniphier_sld3_defconfig | 1 - drivers/serial/Kconfig | 1 + 7 files changed, 1 insertion(+), 6 deletions(-) ------------------------------------------------------------------------------- commit f0633533d55a0b488d14a08d6625785fe09f42c1 Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-08-25 17:02:33 +0900 ARM: dts: uniphier: add u-boot, dm-pre-reloc to use eMMC boot on sLD3 The eMMC on sLD3 is assigned with dedicated pins (only multiplexed with GPIO), so it shouldn't hurt to enable eMMC on SPL all the time. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Base directory -> / arch/arm/dts/uniphier-ph1-sld3-ref.dts | 8 ++++++++ arch/arm/dts/uniphier-ph1-sld3.dtsi | 1 + 2 files changed, 9 insertions(+) ------------------------------------------------------------------------------- commit e8811fc06c5191a8c54eb0d3a4e6abaa2f0f122b Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-08-25 17:02:32 +0900 ARM: uniphier: increase CONFIG_SYS_MALLOC_F_LEN for sLD3 Commit 76c52ce29fd7 ("ARM: uniphier: increase CONFIG_SYS_MALLOC_F_LEN to bind all nodes") missed to increase this config for sLD3. This change is needed to add "u-boot,dm-pre-reloc" to some nodes; more devices are bound, more malloc memory is needed. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Base directory -> / configs/uniphier_sld3_defconfig | 1 + 1 file changed, 1 insertion(+) ------------------------------------------------------------------------------- commit 499c8679be13383c44a1f277d5b0d7c63b6b2008 Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-08-25 17:02:31 +0900 ARM: uniphier: display revision of Micro Support Card 3.6.x kindly The revision of the original support card (rev 3.5, rev 3.6) fits in the 8 bit width revision register. When it was extended in a weird way, it was versioned in the format of "3.6.x" (where it should have been "3.7", of course). What is worse, only the sub-level version "6.x" was recorded in the 8 bit width register, completely ignoring the compatibility of the revision register format. This patch saves madly-versioned support cards by assuming the major version "3" when the MSB 4 bit of the register is read as "6". With this, the support card revision that were displayed as "6.10" is now corrected to "3.6.10". Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Base directory -> / arch/arm/mach-uniphier/micro-support-card.c | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit 928f3248b3e81a9fdaa818cf3aa02e5daef7015d Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-08-25 21:03:41 +0900 ARM: uniphier: support system reset functionality for PSCI This supports the system reset via PSCI for ARMv7 SoCs. Because the system reset is not supported on PSCI 0.1, let's define CONFIG_ARMV7_PSCI_1_0. (it is supported since PSCI 0.2, but there is no CONFIG to enable it in U-Boot for now.) Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Base directory -> / arch/arm/mach-uniphier/arm32/psci.c | 5 +++++ arch/arm/mach-uniphier/reset.c | 14 ++++++++++++-- include/configs/uniphier.h | 1 + 3 files changed, 18 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit 4a89a24e26670921614a83098e5c0692de2be86e Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-08-25 14:52:38 +0900 mmc: uniphier-sd: just return if already set to desired clock rate With this, we can save unnecessary udelay(). Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Base directory -> / drivers/mmc/uniphier-sd.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit 8be12e28394efce2844e0a08e8c6e38e60f36d31 Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-08-25 14:52:37 +0900 mmc: uniphier-sd: return error code if unsupported width is given With the CONFIG_DM_MMC_OPS migration, the .set_ios callback can return an integer now. Return an appropriate error value rather than sudden death by BUG(). Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Base directory -> / drivers/mmc/uniphier-sd.c | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) ------------------------------------------------------------------------------- commit 4eb008460cf4b9da316d97874a32680209324107 Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-08-25 14:52:36 +0900 mmc: uniphier-sd: move uniphier_sd_init() below No more reason to define this function above the ops structure. Move it near the caller. Also, change its return type to void because it never fails. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Base directory -> / drivers/mmc/uniphier-sd.c | 40 +++++++++++++++++++--------------------- 1 file changed, 19 insertions(+), 21 deletions(-) ------------------------------------------------------------------------------- commit 3937404f8b80eb482661a182ebb774e96356c607 Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-08-25 14:52:35 +0900 mmc: uniphier-sd: migrate to CONFIG_DM_MMC_OPS Catch up with the DM migration. As struct dm_mmc_ops does not have .init callback, call the init function directly from the probe function. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Base directory -> / drivers/mmc/Kconfig | 1 + drivers/mmc/uniphier-sd.c | 97 ++++++++++++++++++++++++----------------------- 2 files changed, 51 insertions(+), 47 deletions(-) ------------------------------------------------------------------------------- commit 4a70d2622377fd04cd72d1da568acf71d23e02b6 Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-08-12 19:19:03 +0900 mmc: uniphier-sd: add static qualifiers to probe and remove callbacks They are both only referenced in this file. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Base directory -> / drivers/mmc/uniphier-sd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit b89dfcfd926b8224edd24608065eb9bb601c0d3b Author: Tom Rini <trini@konsulko.com> Date: 2016-08-27 15:22:30 -0400 Merge git://git.denx.de/u-boot-rockchip Base directory -> / board/rockchip/evb_rk3399/MAINTAINERS | 6 ++++++ 1 file changed, 6 insertions(+) ------------------------------------------------------------------------------- commit bc2f8a5406350def670bb2dbfd1111fd83e4b495 Author: Kever Yang <kever.yang@rock-chips.com> Date: 2016-08-09 15:29:47 +0800 rockchip: rk3399: update MAINTAINER file This patch add maintainer information for rk3399 evb. Signed-off-by: Kever Yang <kever.yang@rock-chips.com> Acked-by: Simon Glass <sjg@chromium.org> Reviewed-by: Andreas Färber <afaerber@suse.de> Base directory -> / board/rockchip/evb_rk3399/MAINTAINERS | 6 ++++++ 1 file changed, 6 insertions(+) ------------------------------------------------------------------------------- commit c6b968da78ce3fa7224c0ddf15fe170c7c05b27e Author: Tom Rini <trini@konsulko.com> Date: 2016-08-26 14:58:52 -0400 Merge branch 'master' of http://git.denx.de/u-boot-sunxi Base directory -> / arch/arm/dts/Makefile | 5 + arch/arm/dts/axp209.dtsi | 1 + arch/arm/dts/axp809.dtsi | 53 ++ arch/arm/dts/sun4i-a10-a1000.dts | 28 +- arch/arm/dts/sun4i-a10-hackberry.dts | 1 + arch/arm/dts/sun4i-a10-hyundai-a7hd.dts | 34 ++ arch/arm/dts/sun4i-a10-jesurun-q5.dts | 1 + arch/arm/dts/sun4i-a10.dtsi | 286 ++++++++--- arch/arm/dts/sun5i-a10s-mk802.dts | 32 ++ arch/arm/dts/sun5i-a10s-olinuxino-micro.dts | 7 + arch/arm/dts/sun5i-a10s-wobo-i5.dts | 10 +- arch/arm/dts/sun5i-a10s.dtsi | 31 +- arch/arm/dts/sun5i-a13-difrnce-dit4350.dts | 178 +------ arch/arm/dts/sun5i-a13-empire-electronix-m712.dts | 51 ++ arch/arm/dts/sun5i-a13-olinuxino-micro.dts | 41 ++ arch/arm/dts/sun5i-a13-olinuxino.dts | 15 - arch/arm/dts/sun5i-a13-q8-tablet.dts | 40 +- arch/arm/dts/sun5i-a13-utoo-p66.dts | 180 +------ arch/arm/dts/sun5i-a13.dtsi | 188 ++++++- arch/arm/dts/sun5i-r8-chip.dts | 29 +- arch/arm/dts/sun5i-r8.dtsi | 32 +- arch/arm/dts/sun5i-reference-design-tablet.dtsi | 210 ++++++++ arch/arm/dts/sun5i.dtsi | 92 ++-- arch/arm/dts/sun6i-a31-m9.dts | 96 +++- arch/arm/dts/sun6i-a31-mele-a1000g-quad.dts | 96 +++- arch/arm/dts/sun6i-a31.dtsi | 12 +- arch/arm/dts/sun6i-a31s-colorfly-e708-q1.dts | 138 +----- arch/arm/dts/sun6i-a31s-inet-q972.dts | 100 ++++ arch/arm/dts/sun6i-a31s-primo81.dts | 10 - .../arm/dts/sun6i-a31s-yones-toptech-bs1078-v2.dts | 2 - arch/arm/dts/sun6i-reference-design-tablet.dtsi | 193 ++++++++ arch/arm/dts/sun7i-a20-bananapi-m1-plus.dts | 229 +++++++++ arch/arm/dts/sun7i-a20-cubietruck.dts | 24 + arch/arm/dts/sun7i-a20-itead-ibox.dts | 24 + arch/arm/dts/sun7i-a20-lamobo-r1.dts | 80 ++- arch/arm/dts/sun7i-a20-olinuxino-lime2-emmc.dts | 82 ++++ arch/arm/dts/sun7i-a20.dtsi | 546 +++++++++++++++------ arch/arm/dts/sun8i-a23-a33.dtsi | 9 +- arch/arm/dts/sun8i-a23-gt90h-v4.dts | 194 +------- arch/arm/dts/sun8i-a23-inet86dz.dts | 238 +-------- arch/arm/dts/sun8i-a23-polaroid-mid2407pxe03.dts | 243 ++------- arch/arm/dts/sun8i-a23-polaroid-mid2809pxe04.dts | 201 ++------ arch/arm/dts/sun8i-a23-q8-tablet.dts | 15 - arch/arm/dts/sun8i-a33-ga10h-v1.1.dts | 80 +-- arch/arm/dts/sun8i-a33-q8-tablet.dts | 15 - arch/arm/dts/sun8i-h3-bananapi-m2-plus.dts | 195 ++++++++ arch/arm/dts/sun8i-h3-orangepi-2.dts | 23 +- arch/arm/dts/sun8i-h3-orangepi-lite.dts | 2 +- arch/arm/dts/sun8i-h3-orangepi-pc-plus.dts | 3 +- arch/arm/dts/sun8i-h3-orangepi-pc.dts | 30 +- arch/arm/dts/sun8i-h3-orangepi-plus.dts | 34 ++ arch/arm/dts/sun8i-h3.dtsi | 366 ++++---------- arch/arm/dts/sun8i-q8-common.dtsi | 157 ++---- arch/arm/dts/sun8i-r16-parrot.dts | 5 +- arch/arm/dts/sun8i-reference-design-tablet.dtsi | 244 +++++++++ arch/arm/dts/sun9i-a80-cubieboard4.dts | 164 ++++++- arch/arm/dts/sun9i-a80-optimus.dts | 195 ++++++-- arch/arm/dts/sunxi-reference-design-tablet.dtsi | 83 ++++ arch/arm/include/asm/arch-sunxi/clock_sun6i.h | 9 +- arch/arm/include/asm/arch-sunxi/cpu_sun4i.h | 7 + arch/arm/include/asm/arch-sunxi/gpio.h | 3 + arch/arm/include/asm/arch-sunxi/pwm.h | 34 ++ arch/arm/mach-sunxi/clock_sun6i.c | 6 + board/sunxi/MAINTAINERS | 2 + configs/Empire_electronix_m712_defconfig | 22 + configs/MSI_Primo81_defconfig | 1 + configs/inet_q972_defconfig | 23 + drivers/video/sunxi_display.c | 11 + include/dt-bindings/clock/sun8i-h3-ccu.h | 145 ++++++ include/dt-bindings/reset/sun8i-h3-ccu.h | 103 ++++ 70 files changed, 3846 insertions(+), 2193 deletions(-) ------------------------------------------------------------------------------- commit 1cfce74fe5a2301ee9b384d9395ba95db930c9d6 Author: Tony Lindgren <tony@atomide.com> Date: 2016-08-24 09:46:32 -0700 nand: Fix set_dev checks for no device If we do nand device 0 command in u-boot on a device that has NAND support enabled but no NAND chip, we can get data abort at least on omaps. Fix the issue by replacing the check with nand_info[dev] as suggested by Scott Wood. The check for name existed before because before the array-to-pointer conversion there was no way to directly test nand_info[dev] for emptiness. Signed-off-by: Tony Lindgren <tony@atomide.com> Base directory -> / cmd/nand.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) ------------------------------------------------------------------------------- commit c21fc7e223ebad72735b9d02bcbd8878ae026fef Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-08-21 16:12:36 +0900 treewide: fix "followings" to "following" Most of them are my mistakes. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Base directory -> / arch/arm/mach-uniphier/dram/cmd_ddrmphy.c | 2 +- arch/arm/mach-uniphier/dram/cmd_ddrphy.c | 2 +- board/freescale/ls2080aqds/README | 2 +- doc/README.kconfig | 2 +- tools/moveconfig.py | 4 ++-- 5 files changed, 6 insertions(+), 6 deletions(-) ------------------------------------------------------------------------------- commit 88e1346e354f9a0588eddf2227cc46c933818864 Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-08-21 16:03:08 +0900 tools: moveconfig: add Xtensa GCC prefix to CROSS_COMPILE list This is needed to move CONFIG options for the recently-added xtfpga_defconfig. The tarball of the pre-built toolchain can be downloaded from: https://www.kernel.org/pub/tools/crosstool/files/bin/x86_64/4.9.0/ Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Base directory -> / tools/moveconfig.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 8f894a4d38adff26733225fb170f2a2d3e2b3054 Author: Stefan Agner <stefan.agner@toradex.com> Date: 2016-08-14 21:33:01 -0700 arm: cache: always flush cache line size for page table The page table is maintained by the CPU, hence it is safe to always align cache flush to a whole cache line size. This allows to use mmu_page_table_flush for a single page table, e.g. when configure only small regions through mmu_set_region_dcache_behaviour. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Tested-by: Fabio Estevam <fabio.estevam@nxp.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de> Base directory -> / arch/arm/lib/cache-cp15.c | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit c5b3cabf4a2f78b126a7da92c20b781a52d5307f Author: Stefan Agner <stefan.agner@toradex.com> Date: 2016-08-14 21:33:00 -0700 arm: cache: add support for LPAE for region D$ behavior Add LPAE support for mmu_set_region_dcache_behaviour. The function is in use in some LPAE capable board such TI DRA7xx or NXP i.MX 7. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Base directory -> / arch/arm/lib/cache-cp15.c | 4 ++++ 1 file changed, 4 insertions(+) ------------------------------------------------------------------------------- commit e009bfa4f980c3a94a00b3a379f3b4e377b1c880 Author: Tom Rini <trini@konsulko.com> Date: 2016-08-22 08:22:18 -0400 arch/arm/Kconfig: Whitespace correction Use a tab not 8 spaces. Signed-off-by: Tom Rini <trini@konsulko.com> Base directory -> / arch/arm/Kconfig | 56 ++++++++++++++++++++++++++++---------------------------- 1 file changed, 28 insertions(+), 28 deletions(-) ------------------------------------------------------------------------------- commit 067716bac59716b07f1ee70d9bf6e5528289bb45 Author: Tom Rini <trini@konsulko.com> Date: 2016-08-22 08:22:17 -0400 ARM: Move SYS_CACHELINE_SIZE over to Kconfig This series moves the CONFIG_SYS_CACHELINE_SIZE. First, in nearly all cases we are mirroring the values used by the Linux Kernel here. Also, so long as (and in this case, it is true) we implement flushes in hunks that are no larger than the smallest implementation (and given that we mirror the Linux Kernel, again we are fine) it is OK to align higher. The biggest changes here are that we always use 64 bytes for CPU_V7 even if for example the underlying core is only 32 bytes (this mirrors Linux). Second, we say ARM64 uses 64 bytes not 128 (as found in the Linux Kernel) as we do not need multi-platform support (to this degree) and only the Cavium ThunderX 88xx series has a use for such large alignment. Cc: Albert Aribaud <albert.u.boot@aribaud.net> Cc: Marek Vasut <marex@denx.de> Cc: Stefano Babic <sbabic@denx.de> Cc: Prafulla Wadaskar <prafulla@marvell.com> Cc: Luka Perkov <luka.perkov@sartura.hr> Cc: Stefan Roese <sr@denx.de> Cc: Nagendra T S <nagendra@mistralsolutions.com> Cc: Vaibhav Hiremath <hvaibhav@ti.com> Acked-by: Lokesh Vutla <lokeshvutla@ti.com> Cc: Steve Rae <steve.rae@raedomain.com> Cc: Igor Grinberg <grinberg@compulab.co.il> Cc: Nikita Kiryanov <nikita@compulab.co.il> Cc: Stefan Agner <stefan.agner@toradex.com> Acked-by: Heiko Schocher <hs@denx.de> Cc: Mateusz Kulikowski <mateusz.kulikowski@gmail.com> Cc: Peter Griffin <peter.griffin@linaro.org> Acked-by: Paul Kocialkowski <contact@paulk.fr> Cc: Anatolij Gustschin <agust@denx.de> Acked-by: "Pali Rohár" <pali.rohar@gmail.com> Cc: Adam Ford <aford173@gmail.com> Cc: Steve Sakoman <sakoman@gmail.com> Cc: Grazvydas Ignotas <notasas@gmail.com> Cc: Nishanth Menon <nm@ti.com> Cc: Stephen Warren <swarren@wwwdotorg.org> Cc: Robert Baldyga <r.baldyga@samsung.com> Cc: Minkyu Kang <mk7.kang@samsung.com> Cc: Thomas Weber <weber@corscience.de> Cc: Masahiro Yamada <yamada.masahiro@socionext.com> Cc: David Feng <fenghua@phytium.com.cn> Cc: Alison Wang <b18965@freescale.com> Cc: Michal Simek <michal.simek@xilinx.com> Cc: Simon Glass <sjg@chromium.org> Cc: York Sun <york.sun@nxp.com> Cc: Shengzhou Liu <Shengzhou.Liu@nxp.com> Cc: Mingkai Hu <mingkai.hu@nxp.com> Cc: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com> Cc: Aneesh Bansal <aneesh.bansal@freescale.com> Cc: Saksham Jain <saksham.jain@nxp.com> Cc: Qianyu Gong <qianyu.gong@nxp.com> Cc: Wang Dongsheng <dongsheng.wang@nxp.com> Cc: Alex Porosanu <alexandru.porosanu@freescale.com> Cc: Hongbo Zhang <hongbo.zhang@nxp.com> Cc: tang yuantian <Yuantian.Tang@freescale.com> Cc: Rajesh Bhagat <rajesh.bhagat@nxp.com> Cc: Josh Wu <josh.wu@atmel.com> Cc: Bo Shen <voice.shen@atmel.com> Cc: Viresh Kumar <viresh.kumar@linaro.org> Cc: Hannes Schmelzer <oe5hpm@oevsv.at> Cc: Thomas Chou <thomas@wytron.com.tw> Cc: Joe Hershberger <joe.hershberger@ni.com> Cc: Sam Protsenko <semen.protsenko@linaro.org> Cc: Bin Meng <bmeng.cn@gmail.com> Cc: Christophe Ricard <christophe-h.ricard@st.com> Cc: Anand Moon <linux.amoon@gmail.com> Cc: Beniamino Galvani <b.galvani@gmail.com> Cc: Carlo Caione <carlo@endlessm.com> Cc: huang lin <hl@rock-chips.com> Cc: Sjoerd Simons <sjoerd.simons@collabora.co.uk> Cc: Xu Ziyuan <xzy.xu@rock-chips.com> Cc: "jk.kernel@gmail.com" <jk.kernel@gmail.com> Cc: "Ariel D'Alessandro" <ariel@vanguardiasur.com.ar> Cc: Kever Yang <kever.yang@rock-chips.com> Cc: Samuel Egli <samuel.egli@siemens.com> Cc: Chin Liang See <clsee@altera.com> Cc: Dinh Nguyen <dinguyen@opensource.altera.com> Cc: Hans de Goede <hdegoede@redhat.com> Cc: Ian Campbell <ijc@hellion.org.uk> Cc: Siarhei Siamashka <siarhei.siamashka@gmail.com> Cc: Boris Brezillon <boris.brezillon@free-electrons.com> Cc: Andre Przywara <andre.przywara@arm.com> Cc: Bernhard Nortmann <bernhard.nortmann@web.de> Cc: Wolfgang Denk <wd@denx.de> Cc: Ben Whitten <ben.whitten@gmail.com> Cc: Tom Warren <twarren@nvidia.com> Cc: Alexander Graf <agraf@suse.de> Cc: Sekhar Nori <nsekhar@ti.com> Cc: Vitaly Andrianov <vitalya@ti.com> Cc: "Andrew F. Davis" <afd@ti.com> Cc: Murali Karicheri <m-karicheri2@ti.com> Cc: Carlos Hernandez <ceh@ti.com> Cc: Ladislav Michl <ladis@linux-mips.org> Cc: Ash Charles <ashcharles@gmail.com> Cc: Mugunthan V N <mugunthanvnm@ti.com> Cc: Daniel Allred <d-allred@ti.com> Cc: Gong Qianyu <Qianyu.Gong@freescale.com> Signed-off-by: Tom Rini <trini@konsulko.com> Acked-by: Masahiro Yamada <yamada.masahiro@socionext.com> Acked-by: Chin Liang See <clsee@altera.com> Tested-by: Stephen Warren <swarren@nvidia.com> Acked-by: Paul Kocialkowski <contact@paulk.fr> Base directory -> / arch/arm/Kconfig | 27 +++++++++++++++++++++++ arch/arm/cpu/arm11/cpu.c | 5 ----- arch/arm/cpu/arm926ejs/cache.c | 5 ----- arch/arm/cpu/pxa/cache.c | 5 ----- arch/arm/include/asm/arch-armada100/config.h | 2 -- arch/arm/include/asm/arch-fsl-layerscape/config.h | 2 -- arch/arm/include/asm/arch-ls102xa/config.h | 2 -- arch/arm/include/asm/arch-mx5/imx-regs.h | 2 -- arch/arm/include/asm/arch-mx6/imx-regs.h | 6 ----- arch/arm/include/asm/arch-mx7/imx-regs.h | 2 -- arch/arm/include/asm/cache.h | 11 ++++----- arch/arm/lib/cache.c | 4 ---- arch/arm/mach-kirkwood/include/mach/config.h | 2 -- arch/arm/mach-mvebu/include/mach/config.h | 2 -- arch/arm/mach-uniphier/Kconfig | 1 + include/configs/am3517_crane.h | 2 -- include/configs/am3517_evm.h | 2 -- include/configs/am43xx_evm.h | 2 -- include/configs/at91-sama5_common.h | 2 -- include/configs/bcm23550_w1d.h | 1 - include/configs/bcm28155_ap.h | 1 - include/configs/bcm_ep_board.h | 2 -- include/configs/bur_am335x_common.h | 1 - include/configs/cm_t3517.h | 3 --- include/configs/cm_t43.h | 1 - include/configs/colibri_vf.h | 4 ---- include/configs/corvus.h | 1 - include/configs/dragonboard410c.h | 2 -- include/configs/exynos4-common.h | 1 - include/configs/exynos5-common.h | 1 - include/configs/flea3.h | 1 - include/configs/hikey.h | 3 --- include/configs/kc1.h | 1 - include/configs/kzm9g.h | 2 -- include/configs/mcx.h | 2 -- include/configs/meson-gxbb-common.h | 1 - include/configs/nokia_rx51.h | 2 -- include/configs/omap3_beagle.h | 2 -- include/configs/omap3_cairo.h | 2 -- include/configs/omap3_evm.h | 2 -- include/configs/omap3_logic.h | 1 - include/configs/omap3_overo.h | 1 - include/configs/omap3_pandora.h | 2 -- include/configs/omap3_zoom1.h | 2 -- include/configs/pcm052.h | 2 -- include/configs/rcar-gen2-common.h | 2 -- include/configs/rk3036_common.h | 2 -- include/configs/rk3288_common.h | 2 -- include/configs/rk3399_common.h | 2 -- include/configs/rpi.h | 6 ----- include/configs/s5p_goni.h | 4 ---- include/configs/siemens-am33x-common.h | 2 -- include/configs/smartweb.h | 2 -- include/configs/smdkc100.h | 2 -- include/configs/sniper.h | 2 -- include/configs/socfpga_common.h | 1 - include/configs/sunxi-common.h | 1 - include/configs/tam3517-common.h | 2 -- include/configs/tao3530.h | 2 -- include/configs/taurus.h | 2 -- include/configs/tegra114-common.h | 3 --- include/configs/tegra124-common.h | 3 --- include/configs/tegra186-common.h | 3 --- include/configs/tegra20-common.h | 3 --- include/configs/tegra210-common.h | 3 --- include/configs/tegra30-common.h | 3 --- include/configs/ti814x_evm.h | 2 -- include/configs/ti816x_evm.h | 2 -- include/configs/ti_am335x_common.h | 1 - include/configs/ti_armv7_keystone2.h | 1 - include/configs/ti_omap3_common.h | 2 -- include/configs/ti_omap4_common.h | 1 - include/configs/ti_omap5_common.h | 2 -- include/configs/tricorder.h | 2 -- include/configs/uniphier.h | 6 ----- include/configs/vexpress_aemv8a.h | 3 --- include/configs/vexpress_common.h | 2 -- include/configs/vf610twr.h | 2 -- include/configs/woodburn_common.h | 1 - include/configs/xilinx_zynqmp.h | 3 --- include/configs/zynq-common.h | 2 -- 81 files changed, 32 insertions(+), 182 deletions(-) ------------------------------------------------------------------------------- commit d5ac6eef91965b519d8f15f17febfa0ea2ee0adc Author: Jens Kuske <jenskuske@gmail.com> Date: 2016-08-19 13:40:46 +0200 sunxi: Tune H3 DRAM PLL to improve lock time The H3 PLL5 used for DRAM barely manages to lock to the required frequency before DRAM controller starts, sometimes leading to wrong delay-line calibration results. This patch changes the PLL tuning parameters to the same values as boot0 used, which speeds up the locking and fixes the problem. Signed-off-by: Jens Kuske <jenskuske@gmail.com> Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Base directory -> / arch/arm/include/asm/arch-sunxi/clock_sun6i.h | 9 ++++++++- arch/arm/mach-sunxi/clock_sun6i.c | 6 ++++++ 2 files changed, 14 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 421c98d7d2ebf929debf907e75ec04419cf07dbe Author: Hans de Goede <hdegoede@redhat.com> Date: 2016-08-19 15:25:41 +0200 sunxi: display: Use PWM to drive backlight where applicable When the backlight's pwm input is connected to a pwm output of the SoC, actually use pwm to drive the backlight. The mean reason for doing this is to fix the backlight turning off for aprox. 1 second while the kernel is booting. This is caused by the kernel actually using pwm to drive the backlight, so that it can dim the backlight. First the pwm driver loads and switches the pinmux for the pin driving the backlight's pwm input to the pwm controller. Then about 1s later the actual backlight driver loads and tells the pwm driver to actually update the pwm settings, which have a power-on-reset value of "off". An additional advantage is that this allows us to initatiate the backlight at 80%, which is the kernel default, avoiding a brightness change while the kernel loads. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Reviewed by: Peter Korsgaard <peter@korsgaard.com> Base directory -> / arch/arm/include/asm/arch-sunxi/cpu_sun4i.h | 7 ++++++ arch/arm/include/asm/arch-sunxi/gpio.h | 3 +++ arch/arm/include/asm/arch-sunxi/pwm.h | 34 +++++++++++++++++++++++++++++ drivers/video/sunxi_display.c | 11 ++++++++++ 4 files changed, 55 insertions(+) ------------------------------------------------------------------------------- commit 8d463c5a32f7d404ee1a0cd68d4746e2ebab9e22 Author: Hans de Goede <hdegoede@redhat.com> Date: 2016-08-19 12:21:49 +0200 sun5i: Add defconfig and dts file for the Empire Electronix M712 tablet Add a defconfig and dts file for the Empire Electronix M712 tablet, this is a 7" A13 tablet, with micro-usb (otg), headphone and micro-sd slots on the outside. It uses a Goodix gt811 touchscreen controller, a RTL8188CTV wifi chip and a DMART06 (1238a4) accelerometer. The dts file is identical to the one submitted to the upstream kernel. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Base directory -> / arch/arm/dts/Makefile | 1 + arch/arm/dts/sun5i-a13-empire-electronix-m712.dts | 51 +++++++++++++++++++++++ board/sunxi/MAINTAINERS | 1 + configs/Empire_electronix_m712_defconfig | 22 ++++++++++ 4 files changed, 75 insertions(+) ------------------------------------------------------------------------------- commit 860fbdd41f010348757926ca8f9c65dd00616d1e Author: Hans de Goede <hdegoede@redhat.com> Date: 2016-08-18 20:51:12 +0200 sunxi: Sync dts files with upstream kernel Sync dts files with the current (Aug 18th 2016) state of Maxime's linux/sunxi/for-next repo. Note this commit also updates configs/MSI_Primo81_defconfig, adding: "# CONFIG_REQUIRE_SERIAL_CONSOLE is not set", this is necessary because the tablet does not have a reachable uart so the dts sync drops its serial0 alias. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Ian Campbell <ijc@hellion.org.uk> Base directory -> / arch/arm/dts/Makefile | 3 + arch/arm/dts/axp209.dtsi | 1 + arch/arm/dts/axp809.dtsi | 53 ++ arch/arm/dts/sun4i-a10-a1000.dts | 28 +- arch/arm/dts/sun4i-a10-hackberry.dts | 1 + arch/arm/dts/sun4i-a10-hyundai-a7hd.dts | 34 ++ arch/arm/dts/sun4i-a10-jesurun-q5.dts | 1 + arch/arm/dts/sun4i-a10.dtsi | 286 ++++++++--- arch/arm/dts/sun5i-a10s-mk802.dts | 32 ++ arch/arm/dts/sun5i-a10s-olinuxino-micro.dts | 7 + arch/arm/dts/sun5i-a10s-wobo-i5.dts | 10 +- arch/arm/dts/sun5i-a10s.dtsi | 31 +- arch/arm/dts/sun5i-a13-difrnce-dit4350.dts | 178 +------ arch/arm/dts/sun5i-a13-olinuxino-micro.dts | 41 ++ arch/arm/dts/sun5i-a13-olinuxino.dts | 15 - arch/arm/dts/sun5i-a13-q8-tablet.dts | 40 +- arch/arm/dts/sun5i-a13-utoo-p66.dts | 180 +------ arch/arm/dts/sun5i-a13.dtsi | 188 ++++++- arch/arm/dts/sun5i-r8-chip.dts | 29 +- arch/arm/dts/sun5i-r8.dtsi | 32 +- arch/arm/dts/sun5i-reference-design-tablet.dtsi | 210 ++++++++ arch/arm/dts/sun5i.dtsi | 92 ++-- arch/arm/dts/sun6i-a31-m9.dts | 96 +++- arch/arm/dts/sun6i-a31-mele-a1000g-quad.dts | 96 +++- arch/arm/dts/sun6i-a31.dtsi | 12 +- arch/arm/dts/sun6i-a31s-colorfly-e708-q1.dts | 138 +----- arch/arm/dts/sun6i-a31s-primo81.dts | 10 - .../arm/dts/sun6i-a31s-yones-toptech-bs1078-v2.dts | 2 - arch/arm/dts/sun7i-a20-bananapi-m1-plus.dts | 229 +++++++++ arch/arm/dts/sun7i-a20-cubietruck.dts | 24 + arch/arm/dts/sun7i-a20-itead-ibox.dts | 24 + arch/arm/dts/sun7i-a20-lamobo-r1.dts | 80 ++- arch/arm/dts/sun7i-a20-olinuxino-lime2-emmc.dts | 82 ++++ arch/arm/dts/sun7i-a20.dtsi | 546 +++++++++++++++------ arch/arm/dts/sun8i-a23-a33.dtsi | 9 +- arch/arm/dts/sun8i-a23-gt90h-v4.dts | 194 +------- arch/arm/dts/sun8i-a23-inet86dz.dts | 238 +-------- arch/arm/dts/sun8i-a23-polaroid-mid2407pxe03.dts | 243 ++------- arch/arm/dts/sun8i-a23-polaroid-mid2809pxe04.dts | 201 ++------ arch/arm/dts/sun8i-a23-q8-tablet.dts | 15 - arch/arm/dts/sun8i-a33-ga10h-v1.1.dts | 80 +-- arch/arm/dts/sun8i-a33-q8-tablet.dts | 15 - arch/arm/dts/sun8i-h3-bananapi-m2-plus.dts | 195 ++++++++ arch/arm/dts/sun8i-h3-orangepi-2.dts | 23 +- arch/arm/dts/sun8i-h3-orangepi-lite.dts | 2 +- arch/arm/dts/sun8i-h3-orangepi-pc-plus.dts | 3 +- arch/arm/dts/sun8i-h3-orangepi-pc.dts | 30 +- arch/arm/dts/sun8i-h3-orangepi-plus.dts | 34 ++ arch/arm/dts/sun8i-h3.dtsi | 366 ++++---------- arch/arm/dts/sun8i-q8-common.dtsi | 157 ++---- arch/arm/dts/sun8i-r16-parrot.dts | 5 +- arch/arm/dts/sun8i-reference-design-tablet.dtsi | 244 +++++++++ arch/arm/dts/sun9i-a80-cubieboard4.dts | 164 ++++++- arch/arm/dts/sun9i-a80-optimus.dts | 195 ++++++-- arch/arm/dts/sunxi-reference-design-tablet.dtsi | 83 ++++ configs/MSI_Primo81_defconfig | 1 + include/dt-bindings/clock/sun8i-h3-ccu.h | 145 ++++++ include/dt-bindings/reset/sun8i-h3-ccu.h | 103 ++++ 58 files changed, 3384 insertions(+), 2192 deletions(-) ------------------------------------------------------------------------------- commit a1243f78519f91ec4da7dd70daccfdfae9100cd0 Author: Hans de Goede <hdegoede@redhat.com> Date: 2016-08-18 19:50:42 +0200 sun6i: Add defconfig and dts file for tablets using the inet-q972 PCB Add a defconfig and dts file for tablets using the generic inet-q972 PCB. Tablets with this PCB feature a mini-hdmi output, micro-usb usb-host, micro-usb usb-otg, 3.5mm headphone jack, a micro sd slot, (mini) power-barrel and an usb wifi module. This has been tested on a 9.7" 1024x768 qware qw tb9718-qhd tablet. The dts files are identical to the ones submitted to the upstream kernel. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Ian Campbell <ijc@hellion.org.uk> Base directory -> / arch/arm/dts/Makefile | 1 + arch/arm/dts/sun6i-a31s-inet-q972.dts | 100 ++++++++++++ arch/arm/dts/sun6i-reference-design-tablet.dtsi | 193 ++++++++++++++++++++++++ board/sunxi/MAINTAINERS | 1 + configs/inet_q972_defconfig | 23 +++ 5 files changed, 318 insertions(+) ------------------------------------------------------------------------------- commit da968c7bfa4cc1203a4f9f61a97f55c85dfbb3b6 Author: Tom Rini <trini@konsulko.com> Date: 2016-08-26 07:42:06 -0400 Merge branch 'master' of git://git.denx.de/u-boot-i2c Base directory -> / drivers/i2c/mvtwsi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit c733c18e35c161fefdd4141bdce7a69b1bcfd302 Author: Tom Rini <trini@konsulko.com> Date: 2016-08-26 07:41:54 -0400 Merge branch 'master' of git://www.denx.de/git/u-boot-marvell Base directory -> / arch/arm/mach-mvebu/cpu.c | 9 ++++- arch/arm/mach-mvebu/include/mach/soc.h | 2 ++ arch/arm/mach-mvebu/serdes/a38x/ctrl_pex.c | 2 +- .../mach-mvebu/serdes/a38x/high_speed_env_spec.c | 39 +++++++++++----------- include/configs/clearfog.h | 2 -- include/configs/db-88f6720.h | 2 -- include/configs/db-88f6820-gp.h | 2 -- include/configs/db-mv784mp-gp.h | 2 -- include/configs/ds414.h | 2 -- include/configs/maxbcm.h | 2 -- include/configs/theadorable.h | 2 -- tools/kwboot.c | 16 ++++----- 12 files changed, 39 insertions(+), 43 deletions(-) ------------------------------------------------------------------------------- commit bdf58c73ca406e31be49ad875969b2f9aacb9b65 Author: Simon Baatz <gmbnomis@gmail.com> Date: 2016-08-10 10:15:42 +0200 tools: kwboot: patch destaddr only for SoCs with header version 1 Commit f4db6c976cf ("arm: mvebu: Add runtime detection of UART (xmodem) boot-mode") added a change to hdr->destaddr when dynamically patching an image for UART boot mode. With this change, kwboot ceases to work on Kirkwood. Thus, let's change hdr->destaddr only when we are patching an image with header version 1 (Orion and Kirkwood use header version 0). Signed-off-by: Simon Baatz <gmbnomis@gmail.com> Fixes: f4db6c976cf ("arm: mvebu: Add runtime detection of UART (xmodem) boot-mode") Cc: Stefan Roese <sr@denx.de> Cc: Luka Perkov <luka.perkov@sartura.hr> Cc: Kevin Smith <kevin.smith@elecsyscorp.com> Signed-off-by: Stefan Roese <sr@denx.de> Base directory -> / tools/kwboot.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) ------------------------------------------------------------------------------- commit c90d7ab6b01e58cb3689ff6dac70982bd215d9b0 Author: Chris Packham <judge.packham@gmail.com> Date: 2016-08-23 12:07:39 +1200 arm: mvebu: a38x: typo fix cpabilities -> capbilities Signed-off-by: Chris Packham <judge.packham@gmail.com> Signed-off-by: Stefan Roese <sr@denx.de> Base directory -> / arch/arm/mach-mvebu/serdes/a38x/ctrl_pex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 014a357bbae82fd243fa11aca6df0bf438445cf0 Author: Chris Packham <judge.packham@gmail.com> Date: 2016-08-22 20:52:49 +1200 arm: mvebu: a38x: update serdes error handling Ensure appropriate error messages are generated. Previously all errors indicated that the serdes was already in use. Now appropriate error messages are given. Signed-off-by: Chris Packham <judge.packham@gmail.com> Signed-off-by: Stefan Roese <sr@denx.de> Base directory -> / .../mach-mvebu/serdes/a38x/high_speed_env_spec.c | 39 +++++++++++----------- 1 file changed, 20 insertions(+), 19 deletions(-) ------------------------------------------------------------------------------- commit 148f00e7a7f6bf28cf38c61a25056e1f2c465166 Author: Chris Packham <judge.packham@gmail.com> Date: 2016-08-22 17:17:29 +1200 spl: Remove unused CONFIG_SPL_SPI_* definitions As of commit 88e34e5 ("spl: replace CONFIG_SPL_SPI_* with CONFIG_SF_DEFAULT_*") these defines are not used. Remove them to avoid confusion. Signed-off-by: Chris Packham <judge.packham@gmail.com> Signed-off-by: Stefan Roese <sr@denx.de> Base directory -> / include/configs/clearfog.h | 2 -- include/configs/db-88f6720.h | 2 -- include/configs/db-88f6820-gp.h | 2 -- include/configs/db-mv784mp-gp.h | 2 -- include/configs/ds414.h | 2 -- include/configs/maxbcm.h | 2 -- include/configs/theadorable.h | 2 -- 7 files changed, 14 deletions(-) ------------------------------------------------------------------------------- commit d7b4731efd4d4d90224917fca1a09ccf99cd1baa Author: Chris Packham <chris.packham@alliedtelesis.co.nz> Date: 2016-08-22 12:38:39 +1200 arm: mvebu: Add support for NAND interface on A-38x The NAND interface on the Armada-38x series is similar to that on the Armada-XP. The key difference is that the NAND ECC clock ratio is provided via the DFX Server registers instead of the Core Clock. Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz> Cc: Luka Perkov <luka.perkov@sartura.hr> Cc: Dirk Eibach <eibach@gdsys.de> Signed-off-by: Stefan Roese <sr@denx.de> Base directory -> / arch/arm/mach-mvebu/cpu.c | 9 ++++++++- arch/arm/mach-mvebu/include/mach/soc.h | 2 ++ 2 files changed, 10 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 03d6cd972efb7289ef208ba4bad72d1e7acccf1d Author: Stefan Roese <sr@denx.de> Date: 2016-08-25 15:20:01 +0200 i2c: mvtwsi: Fix order of address bytes (high to low) Patch f8a10ed1 [i2c: mvtwsi: Make address length variable] accidentally inverted the sequence of address bytes sent to the I2C device. This patch corrects this by sending the highest byte first and the lowest byte last again. Tested on theadorable Armada-XP board. Signed-off-by: Stefan Roese <sr@denx.de> Cc: Mario Six <mario.six@gdsys.cc> Cc: Heiko Schocher <hs@denx.de> Base directory -> / drivers/i2c/mvtwsi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit 4832c7f5f79feebf8549f33c7257dec47c336470 Author: Stephen Warren <swarren@nvidia.com> Date: 2016-08-18 10:53:33 -0600 spi: tegra: fix hang in set_mode() In tegra20_slink.c, the set_mode() function may be executed before the SPI bus is claimed the first time, and hence the clocks to the SPI controller may not be running. If so, any register read/write at this time will hang the CPU. Fix this by ensuring the clock is running as soon as the driver is probed. This is observed on the Tegra30 Beaver board. Apply the same clock initialization fix to all other Tegra SPI drivers so that if set_mode() is ever implemented there, the same bug will not appear. Note that tegra114_spi.c already operates in this fashion. The clock manipulation code is copied from claim_bus() to probe() rather than moved. This ensures that any calls to set_speed() take effect; the clock can't be set once during probe and left unchanged. Fixes: 5cb1b7b395c0 ("spi: tegra20: Add support for mode selection") Cc: Mirza Krak <mirza.krak@hostmobility.com> Signed-off-by: Stephen Warren <swarren@nvidia.com> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Warren <twarren@nvidia.com> Base directory -> / drivers/spi/tegra20_sflash.c | 4 ++++ drivers/spi/tegra20_slink.c | 4 ++++ drivers/spi/tegra210_qspi.c | 3 +++ 3 files changed, 11 insertions(+) ------------------------------------------------------------------------------- commit 6002c75c59249aacb0a4a105d2b6ef1b3236e37f Author: Stephen Warren <swarren@nvidia.com> Date: 2016-08-22 16:46:55 -0600 ARM: tegra: remove stale nvidia, bpmp I2C DT property The nvidia,bpmp property is left over from an old BPMP I2C binding, and shouldn't be present. Remove it from the SoC DT file, and update the I2C driver not to parse it; the value wasn't used for anything any more anyway. Signed-off-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Tom Warren <twarren@nvidia.com> Base directory -> / arch/arm/dts/tegra186.dtsi | 1 - drivers/i2c/tegra186_bpmp_i2c.c | 10 ---------- 2 files changed, 11 deletions(-) ------------------------------------------------------------------------------- commit eb3f68afbc8b8b2bdb491f61c342aabb776c8321 Author: Stephen Warren <swarren@nvidia.com> Date: 2016-08-18 11:08:44 -0600 ARM: tegra: fix Tegra186 SDHCI clock/reset names The Tegra SDHCI binding dictates that the reseet name for the Tegra SDHCI clock be "sdhci" not "sdmmc", and that the clock is accessed by index rather than by name. Fix the Tegra186 DT and MMC driver to honor this. Signed-off-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Tom Warren <twarren@nvidia.com> Base directory -> / arch/arm/dts/tegra186.dtsi | 6 ++---- drivers/mmc/tegra_mmc.c | 6 +++--- 2 files changed, 5 insertions(+), 7 deletions(-) ------------------------------------------------------------------------------- commit b4ee081e5a4f8d7a2712ddbd075dde203d559c15 Author: Stephen Warren <swarren@nvidia.com> Date: 2016-08-18 11:08:43 -0600 ARM: tegra: fix Tegra186 I2C clock name The Tegra I2C binding dictates that the clock name for the Tegra I2C clock be "div-clk" not "i2c". Fix the Tegra186 DT and I2C driver to honor this. Signed-off-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Tom Warren <twarren@nvidia.com> Base directory -> / arch/arm/dts/tegra186.dtsi | 16 ++++++++-------- drivers/i2c/tegra_i2c.c | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) ------------------------------------------------------------------------------- commit 46fe9eb08812cc27a0d5cd97d97373c14d578fe9 Author: Tom Rini <trini@konsulko.com> Date: 2016-08-23 07:20:36 -0400 Merge branch 'master' of git://git.denx.de/u-boot-net Base directory -> / common/miiphyutil.c | 18 ++- drivers/net/davinci_emac.c | 53 ++----- drivers/net/fm/fm.c | 3 - net/net.c | 10 +- net/nfs.c | 368 +++++++++++++++++++++++++++++++-------------- net/nfs.h | 15 +- 6 files changed, 293 insertions(+), 174 deletions(-) ------------------------------------------------------------------------------- commit 1d3bcb66ee90ff3ceff9da9b6501d08a915ea671 Author: Tom Rini <trini@konsulko.com> Date: 2016-08-22 20:30:42 -0400 Prepare v2016.09-rc2 Signed-off-by: Tom Rini <trini@konsulko.com> Base directory -> / Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 10ba92f69ef6cb15da5e2bc35c67975a7a9ba0ef Author: Tom Rini <trini@konsulko.com> Date: 2016-08-22 19:37:56 -0400 fs-test.sh: Correct check_md5() test with newlines The fs-test.sh script expected there to be a \n\r style newline at the end of the output. This is no longer the case, so use 'tr' to remove the \r that we get. Fixes: (c5917b4b054d "dm: serial-uclass: Move a carriage return before a line feed") Signed-off-by: Tom Rini <trini@konsulko.com> Base directory -> / test/fs/fs-test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 8c83c0303c0eaa5f5323d08ffe1f786759e509be Author: Dongpo Li <lidongpo@hisilicon.com> Date: 2016-08-22 21:03:29 +0800 net: mii: check phy advertising register when geting link status When phy autoneg on, the link speed and duplex should be determined by phy advertising register and phy link partner ability register. Check phy advertising register when geting phy link speed and duplex if autoneg on. Signed-off-by: Dongpo Li <lidongpo@hisilicon.com> Cc: Joe Hershberger <joe.hershberger@ni.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com> Base directory -> / common/miiphyutil.c | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) ------------------------------------------------------------------------------- commit 05237f735e5f325e03db8ff153cb5266e337a2fe Author: karl beldan <karl.beldan@gmail.com> Date: 2016-08-20 08:56:53 +0000 net: davinci_emac: Restore the internal MDIO accessors return values The spatch series converting legacy drivers from miiphy_register to mdio_register changed the return convention of the davinci_emac internal MDIO accessors, making the internal code relying on it misbehaving: no mdiodev get registered and U-Boot crashes when using net cmds in the context of the old legacy net API. ATM davinci_emac_initialize and cpu_eth_init don't return a proper value in that case but fixing them would not avoid the crash. This change is just a follow-up to the spatch pass, the MDIO accessors of the mdiodev introduced by the spatch pass retain their proper values. Signed-off-by: Karl Beldan <karl.beldan+oss@gmail.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com> Base directory -> / drivers/net/davinci_emac.c | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) ------------------------------------------------------------------------------- commit c23c7d461fc52f03f784dee9792f8547d14e731d Author: Hou Zhiqiang <Zhiqiang.Hou@nxp.com> Date: 2016-08-19 11:35:35 +0800 net/fm: Remove unused code of FMan QMI The QMan is not used in FMan IM mode, so no QMI enqueue or QMI dequeue are performed. Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com> Base directory -> / drivers/net/fm/fm.c | 3 --- 1 file changed, 3 deletions(-) ------------------------------------------------------------------------------- commit a51897b6c1e517ea2ce95da59784e84c5992dd00 Author: karl beldan <karl.beldan@gmail.com> Date: 2016-08-15 17:23:01 +0000 net: davinci_emac: Invalidate only the received portion of a buffer ATM when receiving a packet the whole buffer is invalidated, this change optimizes this behaviour. Signed-off-by: Karl Beldan <karl.beldan+oss@gmail.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Mugunthan V N <mugunthanvnm@ti.com> Base directory -> / drivers/net/davinci_emac.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) ------------------------------------------------------------------------------- commit 6202b8f28c10977a9533ba4c49574b136a64ce82 Author: karl beldan <karl.beldan@gmail.com> Date: 2016-08-15 17:23:00 +0000 net: davinci_emac: Round up top tx buffer boundaries for dcache ops check_cache_range() warns that the top boundaries are not properly aligned when flushing or invalidating the buffers and make these operations fail. This gets rid of the remaining warnings: CACHE: Misaligned operation at range Signed-off-by: Karl Beldan <karl.beldan+oss@gmail.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Mugunthan V N <mugunthanvnm@ti.com> Base directory -> / drivers/net/davinci_emac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit a02c232336c626b96e8473f67471d2b82fc0f9d4 Author: karl beldan <karl.beldan@gmail.com> Date: 2016-08-14 15:03:15 +0000 net: davinci_emac: Remove useless dcache ops on descriptors ATM the rx and tx descriptors are handled as cached memory while they lie in a dedicated RAM of the SoCs, which is an uncached area. Removing the said dcache ops, while optimizing the logic and clarifying the code, also gets rid of most of the check_cache_range() incurred warnings: CACHE: Misaligned operation at range Signed-off-by: Karl Beldan <karl.beldan+oss@gmail.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com> Base directory -> / drivers/net/davinci_emac.c | 28 ---------------------------- 1 file changed, 28 deletions(-) ------------------------------------------------------------------------------- commit 1ff65d440d3976f86d4e9ee2539ebdc1083e8e86 Author: Joe Hershberger <joe.hershberger@ni.com> Date: 2016-08-15 15:03:27 -0500 net: nfs: Simplify rpc_add_credentials() We use an empty hostname, so remove all the "processing" of the known-to-be-empty hostname and just write 0's where needed. Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Base directory -> / net/nfs.c | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) ------------------------------------------------------------------------------- commit 998372b4798fd7ebb666f571950df925b8d80f69 Author: Joe Hershberger <joe.hershberger@ni.com> Date: 2016-08-15 15:03:26 -0500 net: nfs: Use the tx buffer to construct rpc msgs Instead of always allocating a huge temporary buffer on the stack and then memcpy()ing the result into the transmit buffer, simply figure out where in the transmit buffer the bytes will belong and write them there directly as each message is built. Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Base directory -> / net/nfs.c | 88 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 45 insertions(+), 43 deletions(-) ------------------------------------------------------------------------------- commit d89ff2df33991b971b1388bc623d616e12b5e5fb Author: Joe Hershberger <joe.hershberger@ni.com> Date: 2016-08-15 15:03:25 -0500 net: nfs: Move some prints to debug statements Much of the information is verbose and derived directly from the environment. Only output in debug mode. This also saves about 300 bytes from the code size. Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Base directory -> / net/nfs.c | 43 ++++++++++++++++++++++--------------------- 1 file changed, 22 insertions(+), 21 deletions(-) ------------------------------------------------------------------------------- commit 0517cc45e502cd7858beb37b8fab754a2fa52830 Author: Joe Hershberger <joe.hershberger@ni.com> Date: 2016-08-15 15:03:24 -0500 net: nfs: Use consistent names for the rpc_pkt Use the same name throughout the nfs code and use the same member of the union to avoid casts. Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Base directory -> / net/nfs.c | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) ------------------------------------------------------------------------------- commit c629c45f30661c1d794cd7c5496cc4ee83483e63 Author: Joe Hershberger <joe.hershberger@ni.com> Date: 2016-08-15 15:03:23 -0500 net: nfs: Correct a comment The buffer is of 32-bit elements, not bytes. Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Base directory -> / net/nfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 051ed9af8c2dedf0938fac6baad8f7926f12b38f Author: Joe Hershberger <joe.hershberger@ni.com> Date: 2016-08-15 15:03:22 -0500 net: nfs: Consolidate handling of NFSv3 attributes Instead of repeating the same large snippet for dealing with attributes it should be shared with a helper function. Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Base directory -> / net/nfs.c | 151 ++++++++++++++++++++++++-------------------------------------- 1 file changed, 59 insertions(+), 92 deletions(-) ------------------------------------------------------------------------------- commit 347a90159784b6e0a70fb151a3d24f623bdf697c Author: Joe Hershberger <joe.hershberger@ni.com> Date: 2016-08-15 15:03:21 -0500 net: nfs: Fix lines that are too long Fix complaints from checkpatch.pl. Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Base directory -> / net/nfs.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) ------------------------------------------------------------------------------- commit 6279b49e6c2fdaf8665355d1777bc90cd41fcf90 Author: Joe Hershberger <joe.hershberger@ni.com> Date: 2016-08-15 15:03:20 -0500 net: nfs: Correct the reply data buffer size The type of the buffer is uint32_t, but the parameter used to size it is referring to bytes. Divide by the size of the array elements. Strictly speaking, this shouldn't be needed at all... It could just be 1 just like the request. Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Base directory -> / net/nfs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 5280c76915f45f4479d6fe5f0b5b73984de14d04 Author: Joe Hershberger <joe.hershberger@ni.com> Date: 2016-08-15 15:03:19 -0500 net: nfs: Share the file handle buffer for v2 / v3 The v3 handles can be larger than v2, but that doesn't mean we need a separate buffer. Reuse the same (larger) buffer for both. Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Base directory -> / net/nfs.c | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) ------------------------------------------------------------------------------- commit b0baca9820485507a3ec0e5b403a6bf0a57ff2fc Author: Guillaume GARDET <guillaume.gardet@free.fr> Date: 2016-07-29 11:31:00 +0200 net: NFS: Add NFSv3 support This patch enables NFSv3 support. If NFSv2 is available use it as usual. If NFSv2 is not available, but NFSv3 is available, use NFSv3. If NFSv2 and NFSv3 are not available, print an error message since NFSv4 is not supported. Tested on iMX6 sabrelite with 4 Linux NFS servers: * NFSv2 + NFSv3 + NFSv4 server: use NFSv2 protocol * NFSv2 + NFSv3 server: use NFSv2 protocol * NFSv3 + NFSv4 server: use NFSv3 protocol * NFSv3 server: use NFSv3 protocol Signed-off-by: Guillaume GARDET <guillaume.gardet@free.fr> Cc: Tom Rini <trini@konsulko.com> Cc: joe.hershberger@ni.com Acked-by: Joe Hershberger <joe.hershberger@ni.com> Base directory -> / net/nfs.c | 274 +++++++++++++++++++++++++++++++++++++++++++++++++++----------- net/nfs.h | 15 +++- 2 files changed, 242 insertions(+), 47 deletions(-) ------------------------------------------------------------------------------- commit d23d7bd7935127bf50713ec2b4c3014ac279d2e5 Author: Joe Hershberger <joe.hershberger@ni.com> Date: 2016-08-15 14:42:17 -0500 net: nfs: Remove unused define Unreferenced, so remove the noise. Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Base directory -> / net/nfs.h | 2 -- 1 file changed, 2 deletions(-) ------------------------------------------------------------------------------- commit f8b26c7adf4e097484a4679ac6f32ae11ce100c5 Author: Joe Hershberger <joe.hershberger@ni.com> Date: 2016-08-15 14:42:16 -0500 net: nfs: Remove separate buffer for default name There is no reason to store the default filename in a separate buffer only to immediately copy it to the main name buffer. Just write it there directly and remove the other buffer. Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Base directory -> / net/nfs.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) ------------------------------------------------------------------------------- commit aa7a648747d8c704a9a81c9e493d386930724e9d Author: Joe Hershberger <joe.hershberger@ni.com> Date: 2016-08-15 14:42:15 -0500 net: Stop including NFS overhead in defragment max At least on bfin, this "specimen" is actually allocated in the BSS and wastes lots of memory in already tight memory conditions. Also, with the introduction of NFSv3 support, this waste got substantially larger. Just remove it. If a board needs a specific different defragment size, that board can override this setting. Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Base directory -> / net/net.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) ------------------------------------------------------------------------------- commit c98b171e1098f94b2ff7720c45a25a602882f876 Author: Tom Rini <trini@konsulko.com> Date: 2016-08-20 11:35:28 -0400 Merge branch 'rmobile' of git://git.denx.de/u-boot-sh [trini: Drop CMD_BOOTI as it's now on by default on ARM64] Signed-off-by: Tom Rini <trini@konsulko.com> Base directory -> / MAINTAINERS | 6 + arch/arm/Kconfig | 7 +- arch/arm/Makefile | 1 + arch/arm/cpu/armv7/rmobile/Kconfig | 90 - arch/arm/cpu/armv7/rmobile/Makefile | 19 - arch/arm/cpu/armv7/rmobile/board.c | 15 - arch/arm/cpu/armv7/rmobile/cpu_info-r8a7740.c | 32 - arch/arm/cpu/armv7/rmobile/cpu_info-rcar.c | 26 - arch/arm/cpu/armv7/rmobile/cpu_info-sh73a0.c | 44 - arch/arm/cpu/armv7/rmobile/cpu_info.c | 76 - arch/arm/cpu/armv7/rmobile/emac.c | 21 - arch/arm/cpu/armv7/rmobile/lowlevel_init.S | 72 - arch/arm/cpu/armv7/rmobile/lowlevel_init_ca15.S | 89 - arch/arm/cpu/armv7/rmobile/pfc-r8a7740.c | 2612 ----------- arch/arm/cpu/armv7/rmobile/pfc-r8a7790.c | 1814 -------- arch/arm/cpu/armv7/rmobile/pfc-r8a7790.h | 92 - arch/arm/cpu/armv7/rmobile/pfc-r8a7791.c | 1117 ----- arch/arm/cpu/armv7/rmobile/pfc-r8a7793.c | 1926 -------- arch/arm/cpu/armv7/rmobile/pfc-r8a7794.c | 1651 ------- arch/arm/cpu/armv7/rmobile/pfc-sh73a0.c | 2807 ------------ arch/arm/cpu/armv7/rmobile/timer.c | 85 - arch/arm/include/asm/arch-rmobile/ehci-rmobile.h | 147 - arch/arm/include/asm/arch-rmobile/gpio.h | 24 - arch/arm/include/asm/arch-rmobile/irqs.h | 18 - arch/arm/include/asm/arch-rmobile/mmc.h | 14 - arch/arm/include/asm/arch-rmobile/r8a7740-gpio.h | 573 --- arch/arm/include/asm/arch-rmobile/r8a7740.h | 275 -- arch/arm/include/asm/arch-rmobile/r8a7790-gpio.h | 387 -- arch/arm/include/asm/arch-rmobile/r8a7790.h | 41 - arch/arm/include/asm/arch-rmobile/r8a7791-gpio.h | 438 -- arch/arm/include/asm/arch-rmobile/r8a7791.h | 76 - arch/arm/include/asm/arch-rmobile/r8a7793-gpio.h | 438 -- arch/arm/include/asm/arch-rmobile/r8a7793.h | 82 - arch/arm/include/asm/arch-rmobile/r8a7794-gpio.h | 276 -- arch/arm/include/asm/arch-rmobile/r8a7794.h | 39 - arch/arm/include/asm/arch-rmobile/rcar-base.h | 706 --- arch/arm/include/asm/arch-rmobile/rcar-mstp.h | 109 - arch/arm/include/asm/arch-rmobile/rmobile.h | 28 - arch/arm/include/asm/arch-rmobile/sh73a0-gpio.h | 553 --- arch/arm/include/asm/arch-rmobile/sh73a0.h | 289 -- arch/arm/include/asm/arch-rmobile/sh_sdhi.h | 168 - arch/arm/include/asm/arch-rmobile/sys_proto.h | 16 - arch/arm/mach-rmobile/Kconfig | 20 + arch/arm/mach-rmobile/Kconfig.32 | 96 + arch/arm/mach-rmobile/Kconfig.64 | 28 + arch/arm/mach-rmobile/Makefile | 21 + arch/arm/mach-rmobile/board.c | 15 + arch/arm/mach-rmobile/cpu_info-r8a7740.c | 32 + arch/arm/mach-rmobile/cpu_info-rcar.c | 26 + arch/arm/mach-rmobile/cpu_info-sh73a0.c | 44 + arch/arm/mach-rmobile/cpu_info.c | 77 + arch/arm/mach-rmobile/emac.c | 21 + arch/arm/mach-rmobile/include/mach/ehci-rmobile.h | 147 + arch/arm/mach-rmobile/include/mach/gpio.h | 30 + arch/arm/mach-rmobile/include/mach/irqs.h | 18 + arch/arm/mach-rmobile/include/mach/mmc.h | 14 + arch/arm/mach-rmobile/include/mach/r8a7740-gpio.h | 573 +++ arch/arm/mach-rmobile/include/mach/r8a7740.h | 275 ++ arch/arm/mach-rmobile/include/mach/r8a7790-gpio.h | 387 ++ arch/arm/mach-rmobile/include/mach/r8a7790.h | 41 + arch/arm/mach-rmobile/include/mach/r8a7791-gpio.h | 438 ++ arch/arm/mach-rmobile/include/mach/r8a7791.h | 76 + arch/arm/mach-rmobile/include/mach/r8a7792-gpio.h | 220 + arch/arm/mach-rmobile/include/mach/r8a7792.h | 34 + arch/arm/mach-rmobile/include/mach/r8a7793-gpio.h | 438 ++ arch/arm/mach-rmobile/include/mach/r8a7793.h | 82 + arch/arm/mach-rmobile/include/mach/r8a7794-gpio.h | 276 ++ arch/arm/mach-rmobile/include/mach/r8a7794.h | 39 + arch/arm/mach-rmobile/include/mach/r8a7795-gpio.h | 988 ++++ arch/arm/mach-rmobile/include/mach/r8a7795.h | 36 + arch/arm/mach-rmobile/include/mach/rcar-base.h | 1047 +++++ .../arm/mach-rmobile/include/mach/rcar-gen3-base.h | 100 + arch/arm/mach-rmobile/include/mach/rcar-mstp.h | 109 + arch/arm/mach-rmobile/include/mach/rmobile.h | 32 + arch/arm/mach-rmobile/include/mach/sh73a0-gpio.h | 553 +++ arch/arm/mach-rmobile/include/mach/sh73a0.h | 289 ++ arch/arm/mach-rmobile/include/mach/sh_sdhi.h | 168 + arch/arm/mach-rmobile/include/mach/sys_proto.h | 16 + arch/arm/mach-rmobile/lowlevel_init.S | 72 + arch/arm/mach-rmobile/lowlevel_init_ca15.S | 89 + arch/arm/mach-rmobile/lowlevel_init_gen3.S | 76 + arch/arm/mach-rmobile/memmap-r8a7795.c | 30 + arch/arm/mach-rmobile/pfc-r8a7740.c | 2612 +++++++++++ arch/arm/mach-rmobile/pfc-r8a7790.c | 1814 ++++++++ arch/arm/mach-rmobile/pfc-r8a7790.h | 140 + arch/arm/mach-rmobile/pfc-r8a7791.c | 1117 +++++ arch/arm/mach-rmobile/pfc-r8a7792.c | 2302 ++++++++++ arch/arm/mach-rmobile/pfc-r8a7793.c | 1926 ++++++++ arch/arm/mach-rmobile/pfc-r8a7794.c | 1651 +++++++ arch/arm/mach-rmobile/pfc-r8a7795.c | 4844 ++++++++++++++++++++ arch/arm/mach-rmobile/pfc-sh73a0.c | 2807 ++++++++++++ arch/arm/mach-rmobile/timer.c | 85 + .../armadillo-800eva/armadillo-800eva.c | 2 +- board/kmc/kzm9g/kzm9g.c | 2 +- board/renesas/alt/Makefile | 2 +- board/renesas/alt/alt.c | 2 +- board/renesas/alt/qos.c | 6 +- board/renesas/blanche/Kconfig | 12 + board/renesas/blanche/Makefile | 9 + board/renesas/blanche/blanche.c | 488 ++ board/renesas/blanche/qos.c | 1366 ++++++ board/renesas/blanche/qos.h | 12 + board/renesas/gose/Makefile | 2 +- board/renesas/gose/gose.c | 2 +- board/renesas/gose/qos.c | 6 +- board/renesas/koelsch/Makefile | 2 +- board/renesas/koelsch/koelsch.c | 2 +- board/renesas/koelsch/qos.c | 6 +- board/renesas/lager/Makefile | 2 +- board/renesas/lager/lager.c | 2 +- board/renesas/lager/qos.c | 6 +- board/renesas/porter/Makefile | 2 +- board/renesas/porter/porter.c | 2 +- board/renesas/porter/qos.c | 6 +- board/renesas/rcar-common/common.c | 65 + board/renesas/rcar-gen2-common/common.c | 59 - board/renesas/salvator-x/Kconfig | 15 + board/renesas/salvator-x/MAINTAINERS | 6 + board/renesas/salvator-x/Makefile | 9 + board/renesas/salvator-x/salvator-x.c | 120 + board/renesas/silk/Makefile | 2 +- board/renesas/silk/qos.c | 6 +- board/renesas/silk/silk.c | 2 +- board/renesas/stout/Makefile | 2 +- board/renesas/stout/qos.c | 6 +- board/renesas/stout/stout.c | 2 +- configs/alt_defconfig | 20 +- configs/armadillo-800eva_defconfig | 2 +- configs/blanche_defconfig | 22 + configs/gose_defconfig | 21 +- configs/koelsch_defconfig | 20 +- configs/kzm9g_defconfig | 2 +- configs/lager_defconfig | 21 +- configs/porter_defconfig | 21 +- configs/salvator-x_defconfig | 12 + configs/silk_defconfig | 20 +- configs/stout_defconfig | 21 +- drivers/mmc/sh_mmcif.h | 2 +- drivers/mmc/sh_sdhi.c | 29 +- drivers/serial/serial_sh.h | 9 +- include/configs/alt.h | 6 +- include/configs/armadillo-800eva.h | 2 +- include/configs/blanche.h | 121 + include/configs/gose.h | 6 +- include/configs/koelsch.h | 6 +- include/configs/kzm9g.h | 2 +- include/configs/lager.h | 4 +- include/configs/porter.h | 6 +- include/configs/rcar-gen3-common.h | 98 + include/configs/salvator-x.h | 54 + include/configs/silk.h | 6 +- include/configs/stout.h | 4 +- include/sh_pfc.h | 3 + include/sh_tmu.h | 2 +- 154 files changed, 28915 insertions(+), 17532 deletions(-) ------------------------------------------------------------------------------- commit f835706c2957a4c77fc0c6fece9f38a6587b4cad Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-08-19 18:26:54 +0900 pinctrl: fix typos in comment blocks of pinconfig_post_bind() '-' is never used in function names. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Base directory -> / drivers/pinctrl/pinctrl-uclass.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit b1237c6e8afa3f112128a886faed152e65def3fd Author: Alexander Graf <agraf@suse.de> Date: 2016-08-18 23:45:18 +0200 efi_loader: Fix relocations above 64kb image size We were truncating the image offset within the target image to 16 bits which again meant that we were potentially overwriting random memory in the lower 16 bits of the image. This patch casts the offset to a more reasonable 32bits. With this applied, I can successfully see Shell.efi assert because it can't find a protocol it expects to be available. Signed-off-by: Alexander Graf <agraf@suse.de> Base directory -> / lib/efi_loader/efi_image_loader.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 68a2fd43578ca2f5a533f253df86f2f688e3b299 Author: Vignesh R <vigneshr@ti.com> Date: 2016-08-18 09:46:09 +0530 Makefile: Remove tags file on mrproper make tags creates a symbolic link called tags to ctags. Remove this file on make mrproper or make distclean. Signed-off-by: Vignesh R <vigneshr@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 4ed6f4318be9fff2df344ba7ac678736c4b6f3d6 Author: Andreas Fenkart <andreas.fenkart@digitalstrom.com> Date: 2016-08-17 23:41:54 +0200 tools/env: soften warning about erase block alignment addon 183923d3e MMC/SATA have no erase blocks, only blocks. Hence the warning about erase block alignment might be confusing in such environment. Signed-off-by: Andreas Fenkart <andreas.fenkart@digitalstrom.com> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / tools/env/fw_env.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 490365c38f869ecebda701df2c060ba3a9e628d3 Author: Andreas Fenkart <andreas.fenkart@digitalstrom.com> Date: 2016-08-17 23:41:53 +0200 tools/env: return with error if redundant environments have unequal size For double buffering to work, the target buffer must always be big enough to hold all data. This can only be ensured if buffers are of equal size, otherwise one must be smaller and we risk data loss when copying from the bigger to the smaller buffer. Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andreas Fenkart <andreas.fenkart@digitalstrom.com> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / tools/env/fw_env.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) ------------------------------------------------------------------------------- commit c359ae5e8b461113c51ebbf3e587c4c362bff2e2 Author: Lokesh Vutla <lokeshvutla@ti.com> Date: 2016-08-17 16:25:36 +0530 ARM: OMAP4+: vcores: Remove duplicated code There is no reason to duplicate code for DRA7xx platforms as there can be Rail grouping. The maximum voltage detection algorithm can still be run on other platforms with no Rail grouping and does not harm as it gives the same result. Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / arch/arm/cpu/armv7/omap-common/clocks-common.c | 62 +++++--------------------- 1 file changed, 10 insertions(+), 52 deletions(-) ------------------------------------------------------------------------------- commit 5328717cde60c81b355c456fa29ab22dad52a5db Author: Lokesh Vutla <lokeshvutla@ti.com> Date: 2016-08-17 16:25:35 +0530 ARM: OMAP5+: vcores: Drop unnecessary #ifndefs gpio_en field is introduced to detect if pmic is controlled by GPIO. Make this field 0 on all TPS659* pmics available on DRA7/OMAP5 based platforms and remove the #ifndefs. Reviewed-by: Keerthy <j-keerthy@ti.com> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / arch/arm/cpu/armv7/omap-common/clocks-common.c | 7 +------ arch/arm/cpu/armv7/omap5/hw_data.c | 2 ++ 2 files changed, 3 insertions(+), 6 deletions(-) ------------------------------------------------------------------------------- commit 4ba58bdabd0ad8356401e5221e8377ebd412362d Author: Stephen Warren <swarren@wwwdotorg.org> Date: 2016-08-16 19:58:59 -0600 test/py: match prompt only at line boundaries This prevents capture of command output from terminating early on boards that use a simple prompt (e.g. "=> ") that appears in the middle of command output (e.g. crc32's "... ==> 2fa737e0"). Reported-by: Tom Rini <trini@konsulko.com> Signed-off-by: Stephen Warren <swarren@wwwdotorg.org> Tested-by: Tom Rini <trini@konsulko.com> Reviewed-by: Heiko Schocher <hs@denx.de> Base directory -> / test/py/u_boot_console_base.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) ------------------------------------------------------------------------------- commit fc18e9b3d5507845ea8a60a101ee3a368316068e Author: James Byrne <james.byrne@origamienergy.com> Date: 2016-08-16 18:16:28 +0100 common: cli_readline: Improve command line editing This improves the cread_line() function so that it will correctly process the 'Home', 'End', 'Delete' and arrow key escape sequences produced by various terminal emulators. This makes command line editing a more pleasant experience. The previous code only supported the cursor keys and the 'Home' key, and only for certain terminal emulator configurations. This adds support for the 'End and 'Delete' keys, and recognises a wider range of escape sequences. For example, the left arrow key can be 'ESC O D' instead of 'ESC [ D', and the 'Home' key can be 'ESC [ H', 'ESC O H', 'ESC 1 ~' or 'ESC 7 ~', depending on what terminal emulator you use and how it is configured. Signed-off-by: James Byrne <james.byrne@origamienergy.com> Changes for v2 - Explicitly initialize variable to avoid spurious compiler warning. Changes for v3 - Remove unnecessary setting of 'act' to ESC_REJECT (now its default value). Base directory -> / common/cli_readline.c | 98 +++++++++++++++++++++++++++++++++++---------------- 1 file changed, 67 insertions(+), 31 deletions(-) ------------------------------------------------------------------------------- commit 2883c4edfba4082852fc71a276b040b08f171355 Author: Steve Rae <steve.rae@raedomain.com> Date: 2016-08-15 17:26:27 -0700 fastboot: move to Kconfig - move bcm23550_w1d to Kconfig - move bcm28155_ap to Kconfig Signed-off-by: Steve Rae <steve.rae@raedomain.com> Base directory -> / configs/bcm23550_w1d_defconfig | 8 ++++++++ configs/bcm28155_ap_defconfig | 8 ++++++++ include/configs/bcm23550_w1d.h | 8 -------- include/configs/bcm28155_ap.h | 8 -------- 4 files changed, 16 insertions(+), 16 deletions(-) ------------------------------------------------------------------------------- commit e016f0b2c2e1dc6287b205905ff232c32f8c9e92 Author: Steve Rae <steve.rae@raedomain.com> Date: 2016-08-15 17:26:26 -0700 fastboot: implement Kconfig implement Kconfig for the 'fastboot' feature set Signed-off-by: Steve Rae <steve.rae@raedomain.com> Base directory -> / cmd/Kconfig | 2 ++ cmd/fastboot/Kconfig | 60 ++++++++++++++++++++++++++++++++++++++++++++++ drivers/usb/gadget/Kconfig | 5 ++++ 3 files changed, 67 insertions(+) ------------------------------------------------------------------------------- commit 3c1dcef62adca0e0ff83ab925ca0b4b8c5fbc573 Author: Bin Meng <bmeng.cn@gmail.com> Date: 2016-08-13 04:02:06 -0700 cmd: efi_loader: Return CMD_RET_USAGE in case of not enough arguments When typing 'bootefi' from U-Boot shell, nothing outputs. Like other commands, return CMD_RET_USAGE so that it can print help message. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Alexander Graf <agraf@suse.de> Base directory -> / cmd/bootefi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit a391d5004ea381c3496c8dc3498031aeebdabc9a Author: Tom Rini <trini@konsulko.com> Date: 2016-08-12 08:31:17 -0400 Kconfig: DISTRO_DEFAULTS: Only enable CMD_BOOTZ for ARM The 'bootz' command is really only for ARM32 Linux Kernel 'zImage' files but has also been adapted for testing with sandbox. Given that sandbox is a test platform, don't add that logic under DISTRO_DEFAULTS. Cc: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Tom Rini <trini@konsulko.com> Base directory -> / Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 269592719860245f3b3ba3fe48c6cb6c3cabdbb6 Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-08-12 08:31:16 -0400 cmd: booti: move CONFIG_CMD_BOOTI to Kconfig This command is used to boot ARM64 Linux. I made DISTRO_DEFAULTS select this option for ARM64 to respect include/config_distro_defaults.h. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Tom Rini <trini@konsulko.com> Base directory -> / Kconfig | 1 + cmd/Kconfig | 7 +++++++ include/config_distro_defaults.h | 3 --- include/configs/uniphier.h | 1 - include/configs/vexpress_aemv8a.h | 1 - include/configs/xilinx_zynqmp.h | 1 - 6 files changed, 8 insertions(+), 6 deletions(-) ------------------------------------------------------------------------------- commit 5db28905c952560843212236963e9f711341cad5 Author: Tom Rini <trini@konsulko.com> Date: 2016-08-12 08:31:15 -0400 cmd: Split 'bootz' and 'booti' out from 'bootm' The bootz and booti commands rely on common functionality that is found in common/bootm.c and common/bootm_os.c. They do not however rely on the rest of cmd/bootm.c to be implemented so split them into their own files. Have various Makefiles include the required infrastructure for CONFIG_CMD_BOOT[IZ] as well as CONFIG_CMD_BOOTM. Move the declaration of 'images' over to common/bootm.c. Cc: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Tom Rini <trini@konsulko.com> Base directory -> / arch/arm/lib/Makefile | 3 +- arch/sandbox/lib/Makefile | 1 + cmd/Makefile | 2 + cmd/booti.c | 161 +++++++++++++++++++++++++++++ cmd/bootm.c | 250 ---------------------------------------------- cmd/bootz.c | 106 ++++++++++++++++++++ common/Makefile | 2 + common/bootm.c | 2 + 8 files changed, 276 insertions(+), 251 deletions(-) ------------------------------------------------------------------------------- commit f2a9942fbc47491cc5f5151670c42d43dc0544cb Author: Maxime Ripard <maxime.ripard@free-electrons.com> Date: 2016-07-05 10:26:46 +0200 tests: Introduce DT overlay tests This adds a bunch of unit tests for the "fdt apply" command. They've all been run successfully in the sandbox. However, as you still require an out-of-tree dtc with overlay support, this is disabled by default. Acked-by: Simon Glass <sjg@chromium.org> Acked-by: Pantelis Antoniou <pantelis.antoniou@konsulko.com> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Base directory -> / Makefile | 1 + include/test/overlay.h | 16 ++ include/test/suites.h | 1 + lib/libfdt/fdt_overlay.c | 311 ++++++++++++++++++++++++++++++++------ test/Kconfig | 1 + test/cmd_ut.c | 6 + test/overlay/Kconfig | 11 ++ test/overlay/Makefile | 15 ++ test/overlay/cmd_ut_overlay.c | 268 ++++++++++++++++++++++++++++++++ test/overlay/test-fdt-base.dts | 21 +++ test/overlay/test-fdt-overlay.dts | 96 ++++++++++++ 11 files changed, 698 insertions(+), 49 deletions(-) ------------------------------------------------------------------------------- commit e6628ad7b99b285b25147366c68a7b956e362878 Author: Maxime Ripard <maxime.ripard@free-electrons.com> Date: 2016-07-05 10:26:45 +0200 cmd: fdt: add fdt overlay application subcommand The device tree overlays are a good way to deal with user-modifyable boards or boards with some kind of an expansion mechanism where we can easily plug new board in (like the BBB or the raspberry pi). However, so far, the usual mechanism to deal with it was to have in Linux some driver detecting the expansion boards plugged in and then request these overlays using the firmware interface. That works in most cases, but in some cases, you might want to have the overlays applied before the userspace comes in. Either because the new board requires some kind of an early initialization, or because your root filesystem is accessed through that expansion board. The easiest solution in such a case is to simply have the component before Linux applying that overlay, removing all these drawbacks. Reviewed-by: Stefan Agner <stefan@agner.ch> Acked-by: Pantelis Antoniou <pantelis.antoniou@konsulko.com> Acked-by: Simon Glass <sjg@chromium.org> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Base directory -> / cmd/fdt.c | 24 ++++++++++++++++++++++++ lib/libfdt/fdt_overlay.c | 14 +++++++------- 2 files changed, 31 insertions(+), 7 deletions(-) ------------------------------------------------------------------------------- commit ddf67f71352be56d98f0e5bcf851146e54d764ad Author: Maxime Ripard <maxime.ripard@free-electrons.com> Date: 2016-07-05 10:26:44 +0200 libfdt: Add overlay application function The device tree overlays are a good way to deal with user-modifyable boards or boards with some kind of an expansion mechanism where we can easily plug new board in (like the BBB, the Raspberry Pi or the CHIP). Add a new function to merge overlays with a base device tree. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Base directory -> / include/libfdt.h | 30 ++++ lib/Kconfig | 5 + lib/libfdt/Makefile | 2 + lib/libfdt/fdt_overlay.c | 405 +++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 442 insertions(+) ------------------------------------------------------------------------------- commit ea7b1a213e8b01befd05d94620add7cf84883876 Author: Maxime Ripard <maxime.ripard@free-electrons.com> Date: 2016-07-05 10:26:43 +0200 libfdt: Add fdt_setprop_inplace_namelen_partial Add a function to modify inplace only a portion of a property.. This is especially useful when the property is an array of values, and you want to update one of them without changing the DT size. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Acked-by: Simon Glass <sjg@chromium.org> Base directory -> / include/libfdt.h | 21 +++++++++++++++++++++ lib/libfdt/fdt_wip.c | 29 +++++++++++++++++++++++++---- 2 files changed, 46 insertions(+), 4 deletions(-) ------------------------------------------------------------------------------- commit 2b941bf96dd66a5730f1dcbcb635e28930aa58fa Author: Maxime Ripard <maxime.ripard@free-electrons.com> Date: 2016-07-05 10:26:42 +0200 libfdt: Add fdt_getprop_namelen_w Add a function to retrieve a writeable property only by the first characters of its name. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Base directory -> / include/libfdt.h | 7 +++++++ 1 file changed, 7 insertions(+) ------------------------------------------------------------------------------- commit 8e9685715bf78421da48a84040aba3801f66bf47 Author: Maxime Ripard <maxime.ripard@free-electrons.com> Date: 2016-07-05 10:26:41 +0200 libfdt: Add fdt_path_offset_namelen Add a namelen variant of fdt_path_offset to retrieve the node offset using only a fixed number of characters. Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Base directory -> / include/libfdt.h | 16 +++++++++++++++- lib/libfdt/fdt_ro.c | 18 ++++++++++-------- 2 files changed, 25 insertions(+), 9 deletions(-) ------------------------------------------------------------------------------- commit 6f5f92c60b7cc86bcfbd4acd310c5efbb6b68a8f Author: Maxime Ripard <maxime.ripard@free-electrons.com> Date: 2016-07-05 10:26:40 +0200 libfdt: Fix separator spelling The function fdt_path_next_seperator had an obvious mispell. Fix it. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Base directory -> / lib/libfdt/fdt_ro.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) ------------------------------------------------------------------------------- commit 57c7809ab0452bb9dc29c383fe64b651c911e1d2 Author: Maxime Ripard <maxime.ripard@free-electrons.com> Date: 2016-07-05 10:26:39 +0200 libfdt: Add max phandle retrieval function Add a function to retrieve the highest phandle in a given device tree. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Reviewed-by: Stefan Agner <stefan@agner.ch> Acked-by: Simon Glass <sjg@chromium.org> Base directory -> / include/libfdt.h | 13 +++++++++++++ lib/libfdt/fdt_ro.c | 26 ++++++++++++++++++++++++++ 2 files changed, 39 insertions(+) ------------------------------------------------------------------------------- commit 67e610d9f0e9262cfa742f8a78c089b3cab9659a Author: Maxime Ripard <maxime.ripard@free-electrons.com> Date: 2016-07-05 10:26:38 +0200 libfdt: Add iterator over properties Implement a macro based on fdt_first_property_offset and fdt_next_property_offset that provides a convenience to iterate over all the properties of a given node. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Acked-by: Simon Glass <sjg@chromium.org> Base directory -> / include/libfdt.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) ------------------------------------------------------------------------------- commit 805ac6aacf8f9c3e912ebc8d9273e78d738c109d Author: Maxime Ripard <maxime.ripard@free-electrons.com> Date: 2016-07-05 10:26:37 +0200 libfdt: Add new headers and defines The libfdt overlay support introduces a bunch of new includes and functions. Make sure we are able to build it by adding the needed glue. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Acked-by: Simon Glass <sjg@chromium.org> Base directory -> / include/libfdt_env.h | 6 ++++++ 1 file changed, 6 insertions(+) ------------------------------------------------------------------------------- commit f272f1fcd9db5364a66652d2624b5672e2d398bd Author: Maxime Ripard <maxime.ripard@free-electrons.com> Date: 2016-07-05 10:26:36 +0200 vsprintf: Include stdarg for va_list vsprintf.h doesn't include the stdarg.h file, which means that it relies on the files that include vsprintf.h to include stdarg.h as well. Add an explicit include to avoid build errors when simply including that file. Acked-by: Simon Glass <sjg@chromium.org> Acked-by: Pantelis Antoniou <pantelis.antoniou@konsulko.com> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Base directory -> / include/vsprintf.h | 2 ++ 1 file changed, 2 insertions(+) ------------------------------------------------------------------------------- commit 716f90852650406d616be69c01a4f10b49742006 Author: Maxime Ripard <maxime.ripard@free-electrons.com> Date: 2016-07-05 10:26:35 +0200 scripts: Makefile.lib: Sanitize DTB names Having dashes as a separator in the DTB name is a quite common practice. However, the current code to generate objects from DTBs assumes the separator is an underscore, leading to a compilation error when building a device tree with dashes. Replace all the dashes in the DTB name to generate the symbols name, which should solve this issue. Acked-by: Simon Glass <sjg@chromium.org> Acked-by: Pantelis Antoniou <pantelis.antoniou@konsulko.com> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Base directory -> / scripts/Makefile.lib | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) ------------------------------------------------------------------------------- commit f0ed68e21f219c1bee52b73183660e5e88b06e0f Author: Maxime Ripard <maxime.ripard@free-electrons.com> Date: 2016-07-05 10:26:34 +0200 cmd: fdt: Narrow the check for fdt addr The current code only checks if the fdt subcommand is fdt addr by checking whether it starts with 'a'. Since this is a pretty widely used letter, narrow down that check a bit. Acked-by: Simon Glass <sjg@chromium.org> Acked-by: Pantelis Antoniou <pantelis.antoniou@konsulko.com> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Base directory -> / cmd/fdt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 798dc6be7feabce33676877f85d307f571a9ec15 Author: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> Date: 2016-08-04 14:10:26 +0900 ARM: rmobile: r8a7795: Add MMU layout This add MMU layout for R8A7795 of Renesas ARM64 SoC. Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> Base directory -> / arch/arm/mach-rmobile/Makefile | 2 +- arch/arm/mach-rmobile/memmap-r8a7795.c | 30 ++++++++++++++++++++++++++++++ 2 files changed, 31 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 544661bdbf12b2f0d23101404c89565df2ffaffb Author: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> Date: 2016-08-04 13:46:02 +0900 ARM: rmobile: salvator-x: Update defconfig This moves some config from config files. Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> Base directory -> / configs/salvator-x_defconfig | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit b1db95492ac1d51617fc34bdc44f98670dc7641a Author: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> Date: 2016-08-04 13:45:48 +0900 ARM: rmobile: Remove duplicate configs by Kconfig in rcar-gen3-common.h This commit remove dupilicate following configs from rcar-gen3-common.h. - CONFIG_CMD_BOOTZ - CONFIG_BOOTDELAY - CONFIG_CMD_EDITENV - CONFIG_CMD_SAVEENV - CONFIG_CMD_MEMORY - CONFIG_CMD_RUN - CONFIG_CMD_LOADS Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> Base directory -> / include/configs/rcar-gen3-common.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) ------------------------------------------------------------------------------- commit 0f2765e84e85f1a11b4651895d9284ba352f5eae Author: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> Date: 2016-07-22 07:15:57 +0900 ARM: rmobile: lager: Move rcar-gen2-common to rcar-common To common use of rcar-gen2-common directory in the R-Car SoCs, and change from rcar-gen2-common to rcar-common. Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> Base directory -> / board/renesas/lager/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit c5e729eaf04c8b8e4a81c268ad094acc960f2edc Author: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> Date: 2016-05-31 04:28:11 +0900 arm: rmobile: Update defconfig This updated defconfig following boards: - Alt - Gose - Koelsh - Lager - Porter - Silk - Stout - Blanche Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> Base directory -> / configs/alt_defconfig | 18 ++++-------------- configs/blanche_defconfig | 28 ++++++++++++++-------------- configs/gose_defconfig | 19 +++++-------------- configs/koelsch_defconfig | 18 ++++-------------- configs/lager_defconfig | 19 +++++-------------- configs/porter_defconfig | 19 +++++-------------- configs/silk_defconfig | 18 ++++-------------- configs/stout_defconfig | 19 +++++-------------- include/configs/blanche.h | 5 +---- 9 files changed, 47 insertions(+), 116 deletions(-) ------------------------------------------------------------------------------- commit d8fc402aa2af7653c6e8de055d748e58cf3f4771 Author: masakazu.mochizuki.wd@hitachi.com <masakazu.mochizuki.wd@hitachi.com> Date: 2016-05-17 13:53:03 +0900 arm: rmobile: Fix HDMI output for BLANCHE board This commit fixes HDMI output for BLANCHE board Signed-off-by: Masakazu Mochizuki <masakazu.mochizuki.wd@hitachi.com> Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> Base directory -> / board/renesas/blanche/blanche.c | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) ------------------------------------------------------------------------------- commit 6f107e4cf6f9c7beddad5878e83436823bff3fa8 Author: masakazu.mochizuki.wd@hitachi.com <masakazu.mochizuki.wd@hitachi.com> Date: 2016-04-12 17:11:41 +0900 arm: rmobile: Add BLANCHE board support BLANCHE is development board based on R-Car V2H SoC (R8A7792) This commit supports the following periherals: - SCIF, Ethernet, QSPI, MMC Signed-off-by: Masakazu Mochizuki <masakazu.mochizuki.wd@hitachi.com> Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> Base directory -> / arch/arm/mach-rmobile/Kconfig.32 | 10 +- arch/arm/mach-rmobile/Makefile | 1 + arch/arm/mach-rmobile/cpu_info.c | 1 + arch/arm/mach-rmobile/include/mach/gpio.h | 3 + arch/arm/mach-rmobile/include/mach/r8a7792-gpio.h | 220 ++ arch/arm/mach-rmobile/include/mach/r8a7792.h | 34 + arch/arm/mach-rmobile/include/mach/rcar-base.h | 387 +++- arch/arm/mach-rmobile/include/mach/rmobile.h | 2 + arch/arm/mach-rmobile/pfc-r8a7790.h | 48 + arch/arm/mach-rmobile/pfc-r8a7792.c | 2302 +++++++++++++++++++++ board/renesas/blanche/Kconfig | 12 + board/renesas/blanche/Makefile | 9 + board/renesas/blanche/blanche.c | 458 ++++ board/renesas/blanche/qos.c | 1366 ++++++++++++ board/renesas/blanche/qos.h | 12 + configs/blanche_defconfig | 22 + drivers/mmc/sh_sdhi.c | 32 +- drivers/serial/serial_sh.h | 10 +- include/configs/blanche.h | 124 ++ 19 files changed, 5006 insertions(+), 47 deletions(-) ------------------------------------------------------------------------------- commit 759319468505f4b6179c5fc4e3a682f2b2f44b3c Author: Yannick Gicquel <yannick.gicquel@iot.bzh> Date: 2016-04-04 11:49:59 +0200 mmc: rmobile: add a compiler barrier Building w/ GCC v5.2, the SD card access is broken due to invalid data in the response command reconstructed at the end of sh_sdhci_get_response(). Add a memory barrier between the two main steps of this function to ensure the resp[] table content is consistent before bits reordering. This fix has been tested Ok on Porter board rev1.0 using v2016.03 release. Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh> Base directory -> / drivers/mmc/sh_sdhi.c | 3 +++ 1 file changed, 3 insertions(+) ------------------------------------------------------------------------------- commit 4ebaba55a49ab403f2f771b6f76f8a5a42a93ea4 Author: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> Date: 2016-04-01 03:51:37 +0900 ARM: rmobile: rcar-common: Fix warning of type difference Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> Base directory -> / board/renesas/rcar-common/common.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit e525d34b476e2eef06376633c12a94a56d7d889b Author: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> Date: 2016-04-01 03:51:36 +0900 ARM: rmobile: Add support salvator-x board Salvator-x is an entry level development board based on R-Car H3 SoC (R8A7795). This commit supports SCIF only. Signed-off-by: Hiroyuki Yokoyama <hiroyuki.yokoyama.vx@renesas.com> Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> Base directory -> / arch/arm/mach-rmobile/Kconfig.64 | 16 +++++ board/renesas/salvator-x/Kconfig | 15 +++++ board/renesas/salvator-x/MAINTAINERS | 6 ++ board/renesas/salvator-x/Makefile | 9 +++ board/renesas/salvator-x/salvator-x.c | 120 ++++++++++++++++++++++++++++++++++ configs/salvator-x_defconfig | 4 ++ include/configs/rcar-gen3-common.h | 105 +++++++++++++++++++++++++++++ include/configs/salvator-x.h | 54 +++++++++++++++ 8 files changed, 329 insertions(+) ------------------------------------------------------------------------------- commit ee8f0cb3b03e34a75186ed9f9e3e3bf3f2f27d76 Author: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> Date: 2016-04-01 03:51:35 +0900 ARM: rmobile: Add support R8A7795 Renesas R8A7795 is CPU with Cortex-a57. This supports the basic register definition and GPIO and framework of PFC. Signed-off-by: Hiroyuki Yokoyama <hiroyuki.yokoyama.vx@renesas.com> Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> Base directory -> / arch/arm/mach-rmobile/Makefile | 1 + arch/arm/mach-rmobile/include/mach/gpio.h | 3 + arch/arm/mach-rmobile/include/mach/r8a7795-gpio.h | 988 +++++ arch/arm/mach-rmobile/include/mach/r8a7795.h | 36 + arch/arm/mach-rmobile/include/mach/rmobile.h | 2 + arch/arm/mach-rmobile/pfc-r8a7795.c | 4844 +++++++++++++++++++++ include/sh_pfc.h | 3 + 7 files changed, 5877 insertions(+) ------------------------------------------------------------------------------- commit 581183def6ec7e7695110ee75ea866b734c5e249 Author: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> Date: 2016-04-01 03:51:34 +0900 ARM: rmobile: Add support R-Car Generation 3 This adds supporting R-Car Generation 3 (Gen3) as Renesas ARM64 SoC. Signed-off-by: Hiroyuki Yokoyama <hiroyuki.yokoyama.vx@renesas.com> Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> Base directory -> / arch/arm/mach-rmobile/Kconfig | 5 ++ arch/arm/mach-rmobile/Kconfig.64 | 12 +++ .../arm/mach-rmobile/include/mach/rcar-gen3-base.h | 100 +++++++++++++++++++++ arch/arm/mach-rmobile/lowlevel_init_gen3.S | 76 ++++++++++++++++ board/renesas/rcar-common/common.c | 6 +- 5 files changed, 198 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit a7da6f8c3d6d685af9426cdc2357d2e66cff2875 Author: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> Date: 2016-04-01 03:51:33 +0900 ARM: rmobile: Move rcar-gen2-common to rcar-common To common use of rcar-gen2-common directory in the R-Car SoCs, and change from rcar-gen2-common to rcar-common. Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> Base directory -> / board/renesas/alt/Makefile | 2 +- board/renesas/gose/Makefile | 2 +- board/renesas/koelsch/Makefile | 2 +- board/renesas/porter/Makefile | 2 +- board/renesas/rcar-common/common.c | 59 +++++++++++++++++++++++++++++++++ board/renesas/rcar-gen2-common/common.c | 59 --------------------------------- board/renesas/silk/Makefile | 2 +- board/renesas/stout/Makefile | 2 +- 8 files changed, 65 insertions(+), 65 deletions(-) ------------------------------------------------------------------------------- commit 7a500a7a78002b470800794f615b8dca251816c7 Author: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> Date: 2016-06-17 13:52:13 +0900 ARM: rmobile: Create R-Car 32bit (Gen1 and Gen2) for Kconfig This creates Kconfig of R-Car 32bit for Kconfig of R-Car 64bit (Gen3). Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> Base directory -> / arch/arm/Kconfig | 1 - arch/arm/mach-rmobile/Kconfig | 87 +++----------------------------------- arch/arm/mach-rmobile/Kconfig.32 | 90 ++++++++++++++++++++++++++++++++++++++++ 3 files changed, 96 insertions(+), 82 deletions(-) ------------------------------------------------------------------------------- commit d6ee8ce51de612d68d389619dfd0471292bf9add Author: Hiroyuki Yokoyama <hiroyuki.yokoyama.vx@renesas.com> Date: 2016-04-01 03:51:31 +0900 serial: sh: Add support R8A7795 This can be used in the same way as other R-CAR serial setting. Signed-off-by: Hiroyuki Yokoyama <hiroyuki.yokoyama.vx@renesas.com> Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> Base directory -> / drivers/serial/serial_sh.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 4810c2f80fdab35ab8483344452dcb4999e38138 Author: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> Date: 2015-10-10 06:09:03 +0900 MAINTAINERS: Add maintainer entry of RMOBILE Add MAINTAINERS entry. Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> Base directory -> / MAINTAINERS | 6 ++++++ 1 file changed, 6 insertions(+) ------------------------------------------------------------------------------- commit 1cc95f6e1b38e96dfbb5ffb9aec211b1d0a88135 Author: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> Date: 2015-10-10 05:58:28 +0900 ARM: Rmobile: Rename CONFIG_RMOBILE to CONFIG_ARCH_RMOBILE Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> Base directory -> / arch/arm/Kconfig | 4 +++- arch/arm/Makefile | 2 +- arch/arm/mach-rmobile/Kconfig | 2 +- arch/arm/mach-rmobile/include/mach/rmobile.h | 4 ++-- board/atmark-techno/armadillo-800eva/armadillo-800eva.c | 2 +- board/kmc/kzm9g/kzm9g.c | 2 +- board/renesas/alt/alt.c | 2 +- board/renesas/alt/qos.c | 6 +++--- board/renesas/gose/gose.c | 2 +- board/renesas/gose/qos.c | 6 +++--- board/renesas/koelsch/koelsch.c | 2 +- board/renesas/koelsch/qos.c | 6 +++--- board/renesas/lager/lager.c | 2 +- board/renesas/lager/qos.c | 6 +++--- board/renesas/porter/porter.c | 2 +- board/renesas/porter/qos.c | 6 +++--- board/renesas/silk/qos.c | 6 +++--- board/renesas/silk/silk.c | 2 +- board/renesas/stout/qos.c | 6 +++--- board/renesas/stout/stout.c | 2 +- configs/alt_defconfig | 2 +- configs/armadillo-800eva_defconfig | 2 +- configs/gose_defconfig | 2 +- configs/koelsch_defconfig | 2 +- configs/kzm9g_defconfig | 2 +- configs/lager_defconfig | 2 +- configs/porter_defconfig | 2 +- configs/silk_defconfig | 2 +- configs/stout_defconfig | 2 +- drivers/mmc/sh_mmcif.h | 2 +- include/configs/alt.h | 6 +++--- include/configs/armadillo-800eva.h | 2 +- include/configs/gose.h | 6 +++--- include/configs/koelsch.h | 6 +++--- include/configs/kzm9g.h | 2 +- include/configs/lager.h | 4 ++-- include/configs/porter.h | 6 +++--- include/configs/silk.h | 6 +++--- include/configs/stout.h | 4 ++-- include/sh_tmu.h | 2 +- 40 files changed, 69 insertions(+), 67 deletions(-) ------------------------------------------------------------------------------- commit 7a7d246d97bc66e01bf030b0503b14f78f08629d Author: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> Date: 2015-10-10 05:42:01 +0900 ARM: rmobile: Move SoC headers to mach-rmobile/include/mach Move form arch/arm/include/asm/arch-rmobile/ to arch/arm/mach-rmobile/include/mach/. Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> Base directory -> / arch/arm/include/asm/arch-rmobile/ehci-rmobile.h | 147 ----- arch/arm/include/asm/arch-rmobile/gpio.h | 24 - arch/arm/include/asm/arch-rmobile/irqs.h | 18 - arch/arm/include/asm/arch-rmobile/mmc.h | 14 - arch/arm/include/asm/arch-rmobile/r8a7740-gpio.h | 573 ------------------ arch/arm/include/asm/arch-rmobile/r8a7740.h | 275 --------- arch/arm/include/asm/arch-rmobile/r8a7790-gpio.h | 387 ------------ arch/arm/include/asm/arch-rmobile/r8a7790.h | 41 -- arch/arm/include/asm/arch-rmobile/r8a7791-gpio.h | 438 -------------- arch/arm/include/asm/arch-rmobile/r8a7791.h | 76 --- arch/arm/include/asm/arch-rmobile/r8a7793-gpio.h | 438 -------------- arch/arm/include/asm/arch-rmobile/r8a7793.h | 82 --- arch/arm/include/asm/arch-rmobile/r8a7794-gpio.h | 276 --------- arch/arm/include/asm/arch-rmobile/r8a7794.h | 39 -- arch/arm/include/asm/arch-rmobile/rcar-base.h | 706 ---------------------- arch/arm/include/asm/arch-rmobile/rcar-mstp.h | 109 ---- arch/arm/include/asm/arch-rmobile/rmobile.h | 28 - arch/arm/include/asm/arch-rmobile/sh73a0-gpio.h | 553 ----------------- arch/arm/include/asm/arch-rmobile/sh73a0.h | 289 --------- arch/arm/include/asm/arch-rmobile/sh_sdhi.h | 168 ----- arch/arm/include/asm/arch-rmobile/sys_proto.h | 16 - arch/arm/mach-rmobile/include/mach/ehci-rmobile.h | 147 +++++ arch/arm/mach-rmobile/include/mach/gpio.h | 24 + arch/arm/mach-rmobile/include/mach/irqs.h | 18 + arch/arm/mach-rmobile/include/mach/mmc.h | 14 + arch/arm/mach-rmobile/include/mach/r8a7740-gpio.h | 573 ++++++++++++++++++ arch/arm/mach-rmobile/include/mach/r8a7740.h | 275 +++++++++ arch/arm/mach-rmobile/include/mach/r8a7790-gpio.h | 387 ++++++++++++ arch/arm/mach-rmobile/include/mach/r8a7790.h | 41 ++ arch/arm/mach-rmobile/include/mach/r8a7791-gpio.h | 438 ++++++++++++++ arch/arm/mach-rmobile/include/mach/r8a7791.h | 76 +++ arch/arm/mach-rmobile/include/mach/r8a7793-gpio.h | 438 ++++++++++++++ arch/arm/mach-rmobile/include/mach/r8a7793.h | 82 +++ arch/arm/mach-rmobile/include/mach/r8a7794-gpio.h | 276 +++++++++ arch/arm/mach-rmobile/include/mach/r8a7794.h | 39 ++ arch/arm/mach-rmobile/include/mach/rcar-base.h | 706 ++++++++++++++++++++++ arch/arm/mach-rmobile/include/mach/rcar-mstp.h | 109 ++++ arch/arm/mach-rmobile/include/mach/rmobile.h | 28 + arch/arm/mach-rmobile/include/mach/sh73a0-gpio.h | 553 +++++++++++++++++ arch/arm/mach-rmobile/include/mach/sh73a0.h | 289 +++++++++ arch/arm/mach-rmobile/include/mach/sh_sdhi.h | 168 +++++ arch/arm/mach-rmobile/include/mach/sys_proto.h | 16 + 42 files changed, 4697 insertions(+), 4697 deletions(-) ------------------------------------------------------------------------------- commit badbb63c2c29738a2956504126a30ddb14ca34c1 Author: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> Date: 2015-10-09 16:40:09 +0900 ARM: rmobile: Move SoC sources to mach-rmobile Move from arch/arm/cpu/armv7/rmobile/ to arch/arm/mach-rmobile/. Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> Base directory -> / arch/arm/Kconfig | 2 +- arch/arm/Makefile | 1 + arch/arm/cpu/armv7/rmobile/Kconfig | 90 - arch/arm/cpu/armv7/rmobile/Makefile | 19 - arch/arm/cpu/armv7/rmobile/board.c | 15 - arch/arm/cpu/armv7/rmobile/cpu_info-r8a7740.c | 32 - arch/arm/cpu/armv7/rmobile/cpu_info-rcar.c | 26 - arch/arm/cpu/armv7/rmobile/cpu_info-sh73a0.c | 44 - arch/arm/cpu/armv7/rmobile/cpu_info.c | 76 - arch/arm/cpu/armv7/rmobile/emac.c | 21 - arch/arm/cpu/armv7/rmobile/lowlevel_init.S | 72 - arch/arm/cpu/armv7/rmobile/lowlevel_init_ca15.S | 89 - arch/arm/cpu/armv7/rmobile/pfc-r8a7740.c | 2612 --------------------- arch/arm/cpu/armv7/rmobile/pfc-r8a7790.c | 1814 --------------- arch/arm/cpu/armv7/rmobile/pfc-r8a7790.h | 92 - arch/arm/cpu/armv7/rmobile/pfc-r8a7791.c | 1117 --------- arch/arm/cpu/armv7/rmobile/pfc-r8a7793.c | 1926 ---------------- arch/arm/cpu/armv7/rmobile/pfc-r8a7794.c | 1651 ------------- arch/arm/cpu/armv7/rmobile/pfc-sh73a0.c | 2807 ----------------------- arch/arm/cpu/armv7/rmobile/timer.c | 85 - arch/arm/mach-rmobile/Kconfig | 90 + arch/arm/mach-rmobile/Makefile | 19 + arch/arm/mach-rmobile/board.c | 15 + arch/arm/mach-rmobile/cpu_info-r8a7740.c | 32 + arch/arm/mach-rmobile/cpu_info-rcar.c | 26 + arch/arm/mach-rmobile/cpu_info-sh73a0.c | 44 + arch/arm/mach-rmobile/cpu_info.c | 76 + arch/arm/mach-rmobile/emac.c | 21 + arch/arm/mach-rmobile/lowlevel_init.S | 72 + arch/arm/mach-rmobile/lowlevel_init_ca15.S | 89 + arch/arm/mach-rmobile/pfc-r8a7740.c | 2612 +++++++++++++++++++++ arch/arm/mach-rmobile/pfc-r8a7790.c | 1814 +++++++++++++++ arch/arm/mach-rmobile/pfc-r8a7790.h | 92 + arch/arm/mach-rmobile/pfc-r8a7791.c | 1117 +++++++++ arch/arm/mach-rmobile/pfc-r8a7793.c | 1926 ++++++++++++++++ arch/arm/mach-rmobile/pfc-r8a7794.c | 1651 +++++++++++++ arch/arm/mach-rmobile/pfc-sh73a0.c | 2807 +++++++++++++++++++++++ arch/arm/mach-rmobile/timer.c | 85 + 38 files changed, 12590 insertions(+), 12589 deletions(-) ------------------------------------------------------------------------------- commit 793fd86f722f5c5e13290be2074816b001359b76 Author: Tom Rini <trini@konsulko.com> Date: 2016-08-16 07:58:41 -0400 Merge branch 'master' of git://git.denx.de/u-boot-x86 Base directory -> / arch/x86/Kconfig | 4 + arch/x86/cpu/baytrail/cpu.c | 48 ++++ arch/x86/dts/Makefile | 2 + arch/x86/dts/baytrail_som-db5800-som-6867.dts | 6 + arch/x86/dts/conga-qeval20-qa3-e3845.dts | 18 +- arch/x86/dts/dfi-bt700-q7x-151.dts | 22 ++ arch/x86/dts/dfi-bt700.dtsi | 308 +++++++++++++++++++++ arch/x86/dts/theadorable-x86-dfi-bt700.dts | 21 ++ arch/x86/include/asm/arch-ivybridge/pch.h | 26 -- arch/x86/include/asm/cache.h | 8 +- board/congatec/conga-qeval20-qa3-e3845/MAINTAINERS | 1 + .../conga-qeval20-qa3-e3845/conga-qeval20-qa3.c | 40 +++ board/dfi/Kconfig | 29 ++ board/dfi/dfi-bt700/Kconfig | 28 ++ board/dfi/dfi-bt700/MAINTAINERS | 10 + board/dfi/dfi-bt700/Makefile | 8 + board/dfi/dfi-bt700/acpi/mainboard.asl | 13 + board/dfi/dfi-bt700/dfi-bt700.c | 30 ++ board/dfi/dfi-bt700/dsdt.asl | 14 + board/dfi/dfi-bt700/start.S | 9 + board/intel/bayleybay/acpi/mainboard.asl | 38 +++ cmd/bdinfo.c | 18 +- ...conga-qeval20-qa3-e3845-internal-uart_defconfig | 3 + configs/conga-qeval20-qa3-e3845_defconfig | 3 + configs/dfi-bt700-q7x-151_defconfig | 63 +++++ configs/theadorable-x86-dfi-bt700_defconfig | 60 ++++ doc/README.x86 | 33 +++ doc/uImage.FIT/kernel.its | 4 + doc/uImage.FIT/x86-fit-boot.txt | 14 +- drivers/i2c/intel_i2c.c | 290 +++++++++++++++++-- drivers/misc/Kconfig | 8 + drivers/misc/Makefile | 1 + drivers/misc/nuvoton_nct6102d.c | 56 ++++ fs/cbfs/cbfs.c | 8 +- include/configs/conga-qeval20-qa3-e3845.h | 12 +- include/configs/dfi-bt700.h | 74 +++++ include/nuvoton_nct6102d.h | 34 +++ 37 files changed, 1275 insertions(+), 89 deletions(-) ------------------------------------------------------------------------------- commit 27daffe7cec26ec1462245e4e15c36d19d886221 Author: Stefan Roese <sr@denx.de> Date: 2016-08-15 13:50:59 +0200 x86: Add theadorable-x86-dfi-bt700 board support This patch adds support for the BayTrail based theadorable-x86-dfi-bt700 board which uses the DFI BT700 BayTrail Qseven SoM on a custom baseboard. The main difference to the DFI baseboard is, that it isn't equipped with a Super IO chip and uses the internal HS SIO UART (memory mapped PCI based) as the console UART. Signed-off-by: Stefan Roese <sr@denx.de> Cc: Simon Glass <sjg@chromium.org> Cc: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Base directory -> / arch/x86/dts/Makefile | 1 + arch/x86/dts/theadorable-x86-dfi-bt700.dts | 21 ++++++++++ board/dfi/dfi-bt700/MAINTAINERS | 2 + configs/theadorable-x86-dfi-bt700_defconfig | 60 +++++++++++++++++++++++++++++ 4 files changed, 84 insertions(+) ------------------------------------------------------------------------------- commit b1ad6c696631f07b5fe109378516abcb79ded1f9 Author: Stefan Roese <sr@denx.de> Date: 2016-08-15 13:50:49 +0200 x86: Add DFI BT700 BayTrail board support This patch adds support for the DFI BayTrail BT700 QSeven SoM installed on the DFI Q7X-151 baseboard. The baseboard is equipped with the Nuvoton NCT6102D Super IO chip providing the UART as console. Signed-off-by: Stefan Roese <sr@denx.de> Cc: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Base directory -> / arch/x86/Kconfig | 4 + arch/x86/dts/Makefile | 1 + arch/x86/dts/dfi-bt700-q7x-151.dts | 22 +++ arch/x86/dts/dfi-bt700.dtsi | 308 +++++++++++++++++++++++++++++++++ board/dfi/Kconfig | 29 ++++ board/dfi/dfi-bt700/Kconfig | 28 +++ board/dfi/dfi-bt700/MAINTAINERS | 8 + board/dfi/dfi-bt700/Makefile | 8 + board/dfi/dfi-bt700/acpi/mainboard.asl | 13 ++ board/dfi/dfi-bt700/dfi-bt700.c | 30 ++++ board/dfi/dfi-bt700/dsdt.asl | 14 ++ board/dfi/dfi-bt700/start.S | 9 + configs/dfi-bt700-q7x-151_defconfig | 63 +++++++ include/configs/dfi-bt700.h | 74 ++++++++ 14 files changed, 611 insertions(+) ------------------------------------------------------------------------------- commit 303dfc2e5efeaebfb7f01f2e59e5870e645376ca Author: Stefan Roese <sr@denx.de> Date: 2016-06-28 15:45:13 +0200 x86: conga-qeval20-qa3: Add SMBus support and SMSC2513 config code This patch includes the following changes: - Remove Designware I2C support from dts as its not used - Configure SMBus PADs in dts - Enable I2C commands and I2C support - Configure SMSC2513 USB hub via SMBus upon startup - Move environment location to match Minnowmax example - Enhancement of the default environment Signed-off-by: Stefan Roese <sr@denx.de> Cc: Bin Meng <bmeng.cn@gmail.com> Cc: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Base directory -> / arch/x86/dts/conga-qeval20-qa3-e3845.dts | 18 ++++++---- .../conga-qeval20-qa3-e3845/conga-qeval20-qa3.c | 40 ++++++++++++++++++++++ ...conga-qeval20-qa3-e3845-internal-uart_defconfig | 3 ++ configs/conga-qeval20-qa3-e3845_defconfig | 3 ++ include/configs/conga-qeval20-qa3-e3845.h | 12 ++++--- 5 files changed, 64 insertions(+), 12 deletions(-) ------------------------------------------------------------------------------- commit ca6c5e03f132e9042c27472650184be9e8263508 Author: Stefan Roese <sr@denx.de> Date: 2016-08-09 07:41:15 +0200 i2c: intel_i2c: SMBus driver PCI addition (e.g. BayTrail) This patch adds support for the SMBus block read/write functionality. Other protocols like the SMBus quick command need to get added if this is needed. This patch also removed the SMBus related defines from the Ivybridge pch.h header. As they are integrated in this driver and should be used from here. This change is added in this patch to avoid compile breakage to keep the source git bisectable. Tested on a congatec BayTrail board to configure the SMSC2513 USB hub. Signed-off-by: Stefan Roese <sr@denx.de> Cc: Bin Meng <bmeng.cn@gmail.com> Cc: Simon Glass <sjg@chromium.org> Cc: Heiko Schocher <hs@denx.de> Cc: George McCollister <george.mccollister@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/x86/include/asm/arch-ivybridge/pch.h | 26 --- drivers/i2c/intel_i2c.c | 290 +++++++++++++++++++++++++++--- 2 files changed, 269 insertions(+), 47 deletions(-) ------------------------------------------------------------------------------- commit cc7ed269341fb48b6453d013cc79ac15cb497f04 Author: Yaroslav K <yar444@gmail.com> Date: 2016-08-08 20:32:15 -0700 cbfs: Fix incorrect CBFS file header size being used This fixes incorrect filenames in cbfsls output. Signed-off-by: Yaroslav K. <yar444@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> [clean up checkpatch errors and warnings] Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Base directory -> / fs/cbfs/cbfs.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) ------------------------------------------------------------------------------- commit cd379a2dc892e3ea1370b313036751629395aefa Author: Simon Glass <sjg@chromium.org> Date: 2016-08-05 21:57:28 -0600 x86: bdinfo: Drop meaningless values These are not useful on x86 so do not print them. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Base directory -> / cmd/bdinfo.c | 10 ---------- 1 file changed, 10 deletions(-) ------------------------------------------------------------------------------- commit ddd917b8fa32c3ef5e2609282d7e5d8f299f1872 Author: Simon Glass <sjg@chromium.org> Date: 2016-08-05 21:57:27 -0600 bdinfo: Don't print out empty DRAM banks There is no sense in printing out DRAM banks of size 0 since this means they are empty. Skip them. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Base directory -> / cmd/bdinfo.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) ------------------------------------------------------------------------------- commit c2147e26d99652e2f9691ae852af823ec49fdbeb Author: Bin Meng <bmeng.cn@gmail.com> Date: 2016-08-01 20:53:53 -0700 x86: bayleybay: Add PS/2 keyboard and mouse to ASL file Without PS/2 keyboard and mouse in the ASL file, Windows does not see them. No problem for Linux as it probes keyboard and mouse via the legacy 8042 I/O port. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / board/intel/bayleybay/acpi/mainboard.asl | 38 ++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) ------------------------------------------------------------------------------- commit 144fdbdeb1f5cbf3ee99300f7d903da373b0a90d Author: George McCollister <george.mccollister@gmail.com> Date: 2016-07-28 09:49:37 -0500 x86: som-db5800-som-6867: fix SERIRQ on reset Explicitly enable ILB_SERIRQ function 1 in cfio_regs_pad_ilb_serirq_PCONF0. Pad configuration for SERIRQ is not set to enable the SERIRQ function after a reset though strangely, it is on initial boot. Rebooting from Linux, reset command in u-boot and even pushing the reset button on the development board all lead to the SERIRQ function being disabled (address 0xfed0c560 with value of 0x2003cc80). Signed-off-by: George McCollister <george.mccollister@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Base directory -> / arch/x86/dts/baytrail_som-db5800-som-6867.dts | 6 ++++++ 1 file changed, 6 insertions(+) ------------------------------------------------------------------------------- commit 4cf9e464f78e58117b9a57e1e4e092e609d96b59 Author: Stefan Roese <sr@denx.de> Date: 2016-07-19 07:45:46 +0200 misc: Add simple driver for some Nuvoton NCT6102D devices This simple driver provides some functions to control some of the integrated devices. The watchdog is enabled per default. This driver adds a function to disable the watchdog. Also the internal legacy UART (io address 0x3f8/0x2f8) is enabled per default. Signed-off-by: Stefan Roese <sr@denx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Cc: Simon Glass <sjg@chromium.org> Base directory -> / drivers/misc/Kconfig | 8 ++++++ drivers/misc/Makefile | 1 + drivers/misc/nuvoton_nct6102d.c | 56 +++++++++++++++++++++++++++++++++++++++++ include/nuvoton_nct6102d.h | 34 +++++++++++++++++++++++++ 4 files changed, 99 insertions(+) ------------------------------------------------------------------------------- commit d7b935bf62bafdf5fbe4734c7536754948958890 Author: Stefan Roese <sr@denx.de> Date: 2016-07-19 07:41:25 +0200 x86: baytrail: Add SIO HS-UART clock setup To support the BayTrail internal SIO HS UART, the internal UART clock needs to get configured. This patch adds support for this clock configuration which will be done, if the PCI device(s) are found. Signed-off-by: Stefan Roese <sr@denx.de> Cc: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Base directory -> / arch/x86/cpu/baytrail/cpu.c | 48 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) ------------------------------------------------------------------------------- commit bf4ea7ed210f27df35315b8089662e84ba7dfadb Author: Stefan Roese <sr@denx.de> Date: 2016-07-18 12:53:31 +0200 x86: cache.h: Add default for CONFIG_SYS_CACHELINE_SIZE Don't just define ARCH_DMA_MINALIGN but also CONFIG_SYS_CACHELINE_SIZE if it's undefined. This is needed for the xhci driver to compile. Signed-off-by: Stefan Roese <sr@denx.de> Cc: Simon Glass <sjg@chromium.org> Cc: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Base directory -> / arch/x86/include/asm/cache.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) ------------------------------------------------------------------------------- commit 37b4a9098c44f4dfc951c495bcc3439c2974b1db Author: Simon Glass <sjg@chromium.org> Date: 2016-07-17 01:23:46 -0600 x86: Mention running U-Boot in 64-bit mode in the README This feature is not supported. Document this, and add some details on how it might be implemented. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Base directory -> / doc/README.x86 | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) ------------------------------------------------------------------------------- commit 007adbc2f998258235bb1dc549becfcc22858e99 Author: Simon Glass <sjg@chromium.org> Date: 2016-07-17 01:23:45 -0600 x86: Add a reference to README.efi UEFI is commonly used on x86. Add a reference to U-Boot's support for this in the x86 README. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Base directory -> / doc/README.x86 | 11 +++++++++++ 1 file changed, 11 insertions(+) ------------------------------------------------------------------------------- commit dc396210d9f5db485336513a824c5721db9f3ff8 Author: Simon Glass <sjg@chromium.org> Date: 2016-07-17 01:22:41 -0600 x86: Mention how to boot a 64-bit kernel from U-Boot The README indicates that this is not supported, but this is no-longer true. Update the text to indicate this and describe the FIT changes required. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Base directory -> / doc/uImage.FIT/kernel.its | 4 ++++ doc/uImage.FIT/x86-fit-boot.txt | 14 +++++--------- 2 files changed, 9 insertions(+), 9 deletions(-) ------------------------------------------------------------------------------- commit 5d98c5ec8e4faeac39befce97498bb0631fa7f3a Author: Stefan Roese <sr@denx.de> Date: 2016-07-13 08:23:40 +0200 x86: doc: Add note about the debug FSP usage on BayTrail The debug FSP image is bigger in size than the normal FSP image. This patch adds a small description on how to use this FSP debug version by changing CONFIG_FSP_ADDR. Signed-off-by: Stefan Roese <sr@denx.de> Cc: Bin Meng <bmeng.cn@gmail.com> Cc: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Base directory -> / doc/README.x86 | 4 ++++ 1 file changed, 4 insertions(+) ------------------------------------------------------------------------------- commit f55137fd74e572c6a7556785f34b06471fc44251 Author: Stefan Roese <sr@denx.de> Date: 2016-08-15 13:51:15 +0200 x86: conga-qeval20-qa3: Add missing MAINTERNERS entry Add entry for the missing internal UART defconfig to the MAINTAINERS file. Signed-off-by: Stefan Roese <sr@denx.de> Cc: Bin Meng <bmeng.cn@gmail.com> CC: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Base directory -> / board/congatec/conga-qeval20-qa3-e3845/MAINTAINERS | 1 + 1 file changed, 1 insertion(+) ------------------------------------------------------------------------------- commit 177381a9f9e956353deaa56d86bec47e02995ff3 Author: Jaehoon Chung <jh80.chung@samsung.com> Date: 2016-08-12 11:39:05 +0900 mmc: mmc_legacy: fix the compiler error with disabled CONFIG_DM_MMC_OPS To prevent the compiler error, split the checking condition whether cfg->ops is NULL or not. It's more clearly, because it's not included in mmc_config structure when CONFIG_DM_MMC_OPS is disabled. drivers/mmc/mmc_legacy.c: In function ‘mmc_create’: drivers/mmc/mmc_legacy.c:118:31: error: ‘const struct mmc_config’ has no member named ‘ops’ drivers/mmc/mmc_legacy.c:118:58: error: ‘const struct mmc_config’ has no member named ‘ops’ make[1]: *** [drivers/mmc/mmc_legacy.o] Error 1 Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/mmc/mmc_legacy.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit d188b1130226d304fb3cd2c901b968eca927f39f Author: Yangbo Lu <yangbo.lu@nxp.com> Date: 2016-08-02 15:33:18 +0800 mmc: send CMD0 before CMD1 for some MMC cards When the MMC framework was added in u-boot, the mmc_go_idle was added before mmc_send_op_cond_iter in function mmc_send_op_cond annotating that some cards seemed to need this. Actually, we still need to do this in function mmc_complete_op_cond for those cards. This has been verified on Micron MTFC4GACAECN eMMC chip. Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com> Base directory -> / drivers/mmc/mmc.c | 3 +++ 1 file changed, 3 insertions(+) ------------------------------------------------------------------------------- commit ba92cd74d227b0d3f39c2452513055c1477697e9 Author: Sekhar Nori <nsekhar@ti.com> Date: 2016-08-10 19:24:06 +0530 defconfig: k2g_evm_defconfig: Enable mmc driver model K2G can benefit from driver model support in the MMC/SD driver it uses: omap_hsmmc Enable driver model MMC support for K2G. Signed-off-by: Sekhar Nori <nsekhar@ti.com> Acked-by: Mugunthan V N <mugunthanvnm@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / configs/k2g_evm_defconfig | 1 + 1 file changed, 1 insertion(+) ------------------------------------------------------------------------------- commit ce52531c5df871766bf0e19bb7c4cf3eff0d2d15 Author: Sekhar Nori <nsekhar@ti.com> Date: 2016-08-10 19:24:05 +0530 ARM: dts: k2g-evm: enable mmc/sd suppport The K2G EVM from TI has an SD card slot as well as onboard eMMC for data storage. Enable support for these. Signed-off-by: Sekhar Nori <nsekhar@ti.com> Acked-by: Mugunthan V N <mugunthanvnm@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / arch/arm/dts/k2g-evm.dts | 8 ++++++++ 1 file changed, 8 insertions(+) ------------------------------------------------------------------------------- commit 5396edc6750bfdd8d9a93b914ca993d98c29f4c0 Author: Sekhar Nori <nsekhar@ti.com> Date: 2016-08-10 19:24:04 +0530 ARM: dts: K2G: Add support for MMC controller K2G SoC from TI has two MMC/SD controllers. Add device tree data for these. Signed-off-by: Sekhar Nori <nsekhar@ti.com> Acked-by: Mugunthan V N <mugunthanvnm@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / arch/arm/dts/k2g.dtsi | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) ------------------------------------------------------------------------------- commit 4de2de5149a0361fa62e5751ed05691d497844c5 Author: Sekhar Nori <nsekhar@ti.com> Date: 2016-08-10 19:24:03 +0530 drivers: mmc: omap_hsmmc: fix build breakage structure member 'cd_inverted' of omap_hsmmc_data is available only when OMAP_HSMMC_USE_GPIO is defined. When CONFIG_DM_MMC is defined, but not CONFIG_OMAP_GPIO, this will cause build breakage in omap_hsmmc driver of the sort: CC drivers/mmc/omap_hsmmc.o ../drivers/mmc/omap_hsmmc.c: In function 'omap_hsmmc_ofdata_to_platdata': ../drivers/mmc/omap_hsmmc.c:1763:6: error: 'struct omap_hsmmc_data' has no member named 'cd_inverted' priv->cd_inverted = fdtdec_get_bool(fdt, node, "cd-inverted"); ^ Fix this by accessing cd_inverted only when OMAP_HSMMC_USE_GPIO is defined. Signed-off-by: Sekhar Nori <nsekhar@ti.com> Acked-by: Mugunthan V N <mugunthanvnm@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / drivers/mmc/omap_hsmmc.c | 2 ++ 1 file changed, 2 insertions(+) ------------------------------------------------------------------------------- commit 4cc9699be7ffc6072482240f5ba208488abe1090 Author: Tom Rini <trini@konsulko.com> Date: 2016-08-15 13:02:15 -0400 common: env_nand: Ensure that we have nand_info[0] prior to use Now that nand_info[] is an array of pointers we need to ensure that it's been populated prior to use. We may for example have ENV in NAND set in configurations that run on boards with and without NAND (where default env is fine enough, such as omap3_beagle and beagleboard (NAND) vs beagle xM (no NAND)). Fixes: b616d9b0a708 ("nand: Embed mtd_info in struct nand_chip") Cc: Scott Wood <oss@buserror.net> Signed-off-by: Tom Rini <trini@konsulko.com> Acked-by: Scott Wood <oss@buserror.net> Base directory -> / common/env_nand.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) ------------------------------------------------------------------------------- commit 183923d3e412500bdc597d1745e2fb6f7f679ec7 Author: Andreas Fenkart <andreas.fenkart@digitalstrom.com> Date: 2016-08-11 21:39:17 +0200 tools/env: ensure environment starts at erase block boundary 56086921 added support for unaligned environments access. U-boot itself does not support this: - env_nand.c fails when using an unaligned offset. It produces an error in nand_erase_opts{drivers/mtd/nand/nand_util.c} - in env_sf/env_flash the unused space at the end is preserved, but not in the beginning. block alignment is assumed - env_sata/env_mmc aligns offset/length to the block size of the underlying device. data is silently redirected to the beginning of a block There is seems no use case for unaligned environment. If there is some useful data at the beginning of the the block (e.g. end of u-boot) that would be very unsafe. If the redundant environments are hosted by the same erase block then that invalidates the idea of double buffering. It might be that unaligned access was allowed in the past, and that people with legacy u-boot are trapped. But at the time of 56086921 it wasn't supported and due to reasons above I guess it was never introduced. I prefer to remove that (unused) feature in favor of simplicity Signed-off-by: Andreas Fenkart <andreas.fenkart@digitalstrom.com> Acked-by: Stefan Agner <stefan.agner@toradex.com> Base directory -> / tools/env/fw_env.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) ------------------------------------------------------------------------------- commit 7e270ec3af02d2358f9a454ba0d0bb39f07d14b6 Author: Chris Zankel <chris@zankel.net> Date: 2016-08-10 18:36:48 +0300 xtensa: add support for the 'xtfpga' evaluation board The 'xtfpga' board is actually a set of FPGA evaluation boards that can be configured to run an Xtensa processor. - Avnet Xilinx LX60 - Avnet Xilinx LX110 - Avnet Xilinx LX200 - Xilinx ML605 - Xilinx KC705 These boards share the same components (open-ethernet, ns16550 serial, lcd display, flash, etc.). Signed-off-by: Chris Zankel <chris@zankel.net> Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / arch/xtensa/Kconfig | 3 + arch/xtensa/dts/Makefile | 2 + arch/xtensa/dts/kc705.dts | 15 ++ arch/xtensa/dts/kc705_nommu.dts | 17 +++ arch/xtensa/dts/ml605.dts | 15 ++ arch/xtensa/dts/ml605_nommu.dts | 18 +++ arch/xtensa/dts/xtfpga-flash-128m.dtsi | 28 ++++ arch/xtensa/dts/xtfpga-flash-16m.dtsi | 28 ++++ arch/xtensa/dts/xtfpga.dtsi | 137 +++++++++++++++++ board/cadence/xtfpga/Kconfig | 39 +++++ board/cadence/xtfpga/MAINTAINERS | 7 + board/cadence/xtfpga/Makefile | 7 + board/cadence/xtfpga/README | 125 +++++++++++++++ board/cadence/xtfpga/xtfpga.c | 115 ++++++++++++++ configs/xtfpga_defconfig | 22 +++ drivers/sysreset/Makefile | 1 + drivers/sysreset/sysreset_xtfpga.c | 37 +++++ include/configs/xtfpga.h | 268 +++++++++++++++++++++++++++++++++ 18 files changed, 884 insertions(+) ------------------------------------------------------------------------------- commit 28b48a0710cde7270bca423cee8ed12b0c54eb01 Author: Max Filippov <jcmvbkbc@gmail.com> Date: 2016-08-10 18:36:47 +0300 xtensa: add core information for the de212 processor DE212 is a general purpose xtensa processor without full MMU. Core information files are autogenerated from the processor description and are not meant to be edited. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / arch/xtensa/include/asm/arch-de212/core.h | 573 +++++++++++++++++++++++++++ arch/xtensa/include/asm/arch-de212/tie-asm.h | 150 +++++++ arch/xtensa/include/asm/arch-de212/tie.h | 116 ++++++ 3 files changed, 839 insertions(+) ------------------------------------------------------------------------------- commit 2d2811c230be23d4cc810e60b0582f0b13d70d63 Author: Max Filippov <jcmvbkbc@gmail.com> Date: 2016-08-10 18:36:46 +0300 xtensa: add core information for the dc233c processor DC233C is an xtensa processor with full MMUv3 capable of running Linux. Core information files are autogenerated from the processor description and are not meant to be edited. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / arch/xtensa/include/asm/arch-dc233c/core.h | 454 ++++++++++++++++++++++++++ arch/xtensa/include/asm/arch-dc233c/tie-asm.h | 173 ++++++++++ arch/xtensa/include/asm/arch-dc233c/tie.h | 130 ++++++++ 3 files changed, 757 insertions(+) ------------------------------------------------------------------------------- commit da188a0388191185d3e1b7a535180ca10cf062ae Author: Chris Zankel <chris@zankel.net> Date: 2016-08-10 18:36:45 +0300 xtensa: add core information for the dc232b processor DC232B is an xtensa processor with full MMUv2 capable of running Linux. Core information files are autogenerated from the processor description and are not meant to be edited. Signed-off-by: Chris Zankel <chris@zankel.net> Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / arch/xtensa/include/asm/arch-dc232b/core.h | 423 ++++++++++++++++++++++++++ arch/xtensa/include/asm/arch-dc232b/tie-asm.h | 121 ++++++++ arch/xtensa/include/asm/arch-dc232b/tie.h | 130 ++++++++ 3 files changed, 674 insertions(+) ------------------------------------------------------------------------------- commit c978b52410016b0ab5a213f235596340af8d45f7 Author: Chris Zankel <chris@zankel.net> Date: 2016-08-10 18:36:44 +0300 xtensa: add support for the xtensa processor architecture [2/2] The Xtensa processor architecture is a configurable, extensible, and synthesizable 32-bit RISC processor core provided by Tensilica, inc. This is the second part of the basic architecture port, adding the 'arch/xtensa' directory and a readme file. Signed-off-by: Chris Zankel <chris@zankel.net> Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / arch/Kconfig | 6 + arch/xtensa/Kconfig | 18 + arch/xtensa/Makefile | 8 + arch/xtensa/config.mk | 12 + arch/xtensa/cpu/Makefile | 9 + arch/xtensa/cpu/cpu.c | 49 +++ arch/xtensa/cpu/exceptions.c | 44 +++ arch/xtensa/cpu/start.S | 677 ++++++++++++++++++++++++++++++++++ arch/xtensa/cpu/u-boot.lds | 116 ++++++ arch/xtensa/dts/Makefile | 13 + arch/xtensa/dts/include/dt-bindings | 1 + arch/xtensa/include/asm/addrspace.h | 31 ++ arch/xtensa/include/asm/asmmacro.h | 152 ++++++++ arch/xtensa/include/asm/atomic.h | 55 +++ arch/xtensa/include/asm/bitops.h | 36 ++ arch/xtensa/include/asm/bootparam.h | 54 +++ arch/xtensa/include/asm/byteorder.h | 83 +++++ arch/xtensa/include/asm/cache.h | 25 ++ arch/xtensa/include/asm/cacheasm.h | 211 +++++++++++ arch/xtensa/include/asm/config.h | 24 ++ arch/xtensa/include/asm/errno.h | 1 + arch/xtensa/include/asm/global_data.h | 20 + arch/xtensa/include/asm/io.h | 148 ++++++++ arch/xtensa/include/asm/ldscript.h | 222 +++++++++++ arch/xtensa/include/asm/linkage.h | 4 + arch/xtensa/include/asm/misc.h | 20 + arch/xtensa/include/asm/posix_types.h | 74 ++++ arch/xtensa/include/asm/processor.h | 11 + arch/xtensa/include/asm/ptrace.h | 133 +++++++ arch/xtensa/include/asm/regs.h | 95 +++++ arch/xtensa/include/asm/relocate.h | 14 + arch/xtensa/include/asm/sections.h | 12 + arch/xtensa/include/asm/string.h | 10 + arch/xtensa/include/asm/system.h | 27 ++ arch/xtensa/include/asm/types.h | 60 +++ arch/xtensa/include/asm/u-boot.h | 41 ++ arch/xtensa/include/asm/unaligned.h | 6 + arch/xtensa/lib/Makefile | 10 + arch/xtensa/lib/bootm.c | 197 ++++++++++ arch/xtensa/lib/cache.c | 60 +++ arch/xtensa/lib/misc.S | 179 +++++++++ arch/xtensa/lib/relocate.c | 18 + arch/xtensa/lib/time.c | 121 ++++++ 43 files changed, 3107 insertions(+) ------------------------------------------------------------------------------- commit de5e5cea022ab44006ff1edf45a39f0943fb9dff Author: Chris Zankel <chris@zankel.net> Date: 2016-08-10 18:36:43 +0300 xtensa: add support for the xtensa processor architecture [1/2] The Xtensa processor architecture is a configurable, extensible, and synthesizable 32-bit RISC processor core provided by Cadence. This is the first part of the basic architecture port with changes to common files. The 'arch/xtensa' directory, and boards and additional drivers will be in separate commits. Signed-off-by: Chris Zankel <chris@zankel.net> Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / MAINTAINERS | 5 +++ Makefile | 10 ++++- cmd/bdinfo.c | 8 ++++ common/board_f.c | 12 ++++-- common/image.c | 1 + doc/README.xtensa | 97 +++++++++++++++++++++++++++++++++++++++++++++ examples/standalone/stubs.c | 47 ++++++++++++++++++++++ include/image.h | 1 + include/linux/stat.h | 4 +- 9 files changed, 179 insertions(+), 6 deletions(-) ------------------------------------------------------------------------------- commit f225d39d30935c3d27271bee676ef554fa9b0f3c Author: Jon Medhurst \(Tixy\) <tixy@linaro.org> Date: 2016-06-23 13:37:32 +0100 vexpress: Check TC2 firmware support before defaulting to nonsec booting The firmware on TC2 needs to be configured appropriately before booting in nonsec mode will work as expected, so test for this and fall back to sec mode if required. Signed-off-by: Jon Medhurst <tixy@linaro.org> Reviewed-by: Ryan Harkin <ryan.harkin@linaro.org> Tested-by: Ryan Harkin <ryan.harkin@linaro.org> Base directory -> / arch/arm/lib/bootm.c | 15 ++++++++++----- board/armltd/vexpress/Makefile | 1 + board/armltd/vexpress/vexpress_tc2.c | 33 +++++++++++++++++++++++++++++++++ 3 files changed, 44 insertions(+), 5 deletions(-) ------------------------------------------------------------------------------- commit 0fcb9f07a1d086fc6951c08d2fc1cf6048bd54e2 Author: Tom Rini <trini@konsulko.com> Date: 2016-08-15 17:31:23 -0400 Merge branch 'master' of git://git.denx.de/u-boot-atmel Base directory -> / arch/arm/dts/Makefile | 3 + arch/arm/dts/at91-sama5d2_xplained.dts | 200 +++++ arch/arm/dts/sama5d2-pinfunc.h | 880 +++++++++++++++++++++ arch/arm/dts/sama5d2.dtsi | 671 ++++++++++++++++ arch/arm/mach-at91/include/mach/at91_pmc.h | 11 +- arch/arm/mach-at91/include/mach/atmel_pio4.h | 35 + doc/device-tree-bindings/i2c/i2c-at91.txt | 26 + .../pinctrl/atmel,at91-pio4-pinctrl.txt | 66 ++ drivers/clk/Kconfig | 1 + drivers/clk/Makefile | 1 + drivers/clk/at91/Kconfig | 43 + drivers/clk/at91/Makefile | 11 + drivers/clk/at91/clk-generated.c | 162 ++++ drivers/clk/at91/clk-h32mx.c | 56 ++ drivers/clk/at91/clk-main.c | 55 ++ drivers/clk/at91/clk-master.c | 33 + drivers/clk/at91/clk-peripheral.c | 60 ++ drivers/clk/at91/clk-plla.c | 55 ++ drivers/clk/at91/clk-slow.c | 37 + drivers/clk/at91/clk-system.c | 76 ++ drivers/clk/at91/clk-utmi.c | 67 ++ drivers/clk/at91/pmc.c | 71 ++ drivers/clk/at91/pmc.h | 18 + drivers/clk/at91/sckc.c | 30 + drivers/gpio/Kconfig | 2 +- drivers/gpio/atmel_pio4.c | 201 +++-- drivers/i2c/Kconfig | 10 + drivers/i2c/Makefile | 1 + drivers/i2c/at91_i2c.c | 338 ++++++++ drivers/i2c/at91_i2c.h | 77 ++ drivers/mmc/Kconfig | 10 + drivers/mmc/atmel_sdhci.c | 123 +++ drivers/pinctrl/Kconfig | 7 + drivers/pinctrl/Makefile | 1 + drivers/pinctrl/pinctrl-at91-pio4.c | 182 +++++ drivers/tpm/Kconfig | 2 +- drivers/tpm/tpm_atmel_twi.c | 15 +- drivers/usb/host/Kconfig | 7 + drivers/usb/host/ehci-atmel.c | 116 +++ include/clk.h | 2 +- include/sdhci.h | 2 + 41 files changed, 3686 insertions(+), 78 deletions(-) ------------------------------------------------------------------------------- commit a0d0d86f5cfeefda87986f3825ed1a85efa24448 Author: Wenyou Yang <wenyou.yang@atmel.com> Date: 2016-08-10 10:51:05 +0800 mmc: atmel_sdhci: Convert to the driver model support Convert the driver to the driver model while retaining the existing legacy code. This allows the driver to support boards that have converted to driver model as well as those that have not. Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com> Reviewed-by: Heiko Schocher <hs@denx.de> Base directory -> / drivers/mmc/Kconfig | 10 ++++ drivers/mmc/atmel_sdhci.c | 123 ++++++++++++++++++++++++++++++++++++++++++++++ include/sdhci.h | 2 + 3 files changed, 135 insertions(+) ------------------------------------------------------------------------------- commit 17b68b5a583207c9842d45ca7737dd79091e2765 Author: Wenyou Yang <wenyou.yang@atmel.com> Date: 2016-08-05 08:57:35 +0800 dm: atmel: Add driver model support for the ehci driver Add driver model support while retaining the existing legacy code. This allows the driver to support boards that have converted to driver model as well as those that have not. Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com> Acked-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/usb/host/Kconfig | 7 +++ drivers/usb/host/ehci-atmel.c | 116 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 123 insertions(+) ------------------------------------------------------------------------------- commit 2c4b2dd28955075e7f8702f0192d4e8bdf80d4f6 Author: Wenyou Yang <wenyou.yang@atmel.com> Date: 2016-07-25 17:46:17 +0800 ARM: at91/dt: Add device tree for SAMA5D2 Xplained Add device tree for SAMA5D2 Xplained board. Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com> Base directory -> / arch/arm/dts/Makefile | 3 + arch/arm/dts/at91-sama5d2_xplained.dts | 200 ++++++++++ arch/arm/dts/sama5d2.dtsi | 671 +++++++++++++++++++++++++++++++++ 3 files changed, 874 insertions(+) ------------------------------------------------------------------------------- commit 256a3f2466be1e4212abff92df285fcb6cdff5eb Author: Wenyou Yang <wenyou.yang@atmel.com> Date: 2016-07-20 17:16:28 +0800 atmel: Bring in at91 pio4 device tree file and bindings Bring in required device tree file and bindings from Linux. Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com> Reviewed-by: Andreas Bießmann <andreas@biessmann.org> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/arm/dts/sama5d2-pinfunc.h | 880 +++++++++++++++++++++ .../pinctrl/atmel,at91-pio4-pinctrl.txt | 66 ++ 2 files changed, 946 insertions(+) ------------------------------------------------------------------------------- commit ac72e174f95ebce2e4a4e2165828223427b2a5f3 Author: Wenyou Yang <wenyou.yang@atmel.com> Date: 2016-07-20 17:16:27 +0800 pinctrl: at91-pio4: Add pinctrl driver AT91 PIO4 controller is a combined gpio-controller, pin-mux and pin-config module. The peripheral's pins are assigned through per-pin based muxing logic. The pin configuration is performed on specific registers which are shared along with the gpio controller. So regard the pinctrl device as a child of atmel_pio4 device. Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Andreas Bießmann <andreas@biessmann.org> Base directory -> / drivers/pinctrl/Kconfig | 7 ++ drivers/pinctrl/Makefile | 1 + drivers/pinctrl/pinctrl-at91-pio4.c | 182 ++++++++++++++++++++++++++++++++++++ 3 files changed, 190 insertions(+) ------------------------------------------------------------------------------- commit ee3311db1cf0627de91123feefc8d0938f83ab8d Author: Wenyou Yang <wenyou.yang@atmel.com> Date: 2016-07-20 17:16:26 +0800 gpio: atmel_pio4: Rework to support DM & DT Rework the driver to support driver model and device tree, and support to regard the pio4 pinctrl device as a child of atmel_pio4 device. Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/gpio/Kconfig | 2 +- drivers/gpio/atmel_pio4.c | 138 ++++++++++++++++++++++++++++++++++++++-------- 2 files changed, 117 insertions(+), 23 deletions(-) ------------------------------------------------------------------------------- commit 46ed9381b7be1ede9783970be3d3141007653c2b Author: Wenyou Yang <wenyou.yang@atmel.com> Date: 2016-07-20 17:16:25 +0800 gpio: atmel_pio4: Move PIO4 definitions to head file In order to make these PIO4 definitions shared with AT91 PIO4 pinctrl driver, move them from the existing gpio driver to the head file, and rephrase them. Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/arm/mach-at91/include/mach/atmel_pio4.h | 35 ++++++++++++++ drivers/gpio/atmel_pio4.c | 71 +++++++--------------------- 2 files changed, 53 insertions(+), 53 deletions(-) ------------------------------------------------------------------------------- commit d51e9a1d04ab77ee26da534172c0c3891dc8ac4f Author: Andreas Bießmann <andreas@biessmann.org> Date: 2016-08-15 21:04:41 +0200 clk.h: inline clk_get_by_name() Fix compile warning for non OF_CONTROL builds: ---8<--- In file included from /Volumes/devel/u-boot/drivers/gpio/atmel_pio4.c:10:0: /Volumes/devel/u-boot/include/clk.h:107:12: warning: 'clk_get_by_name' defined but not used [-Wunused-function] --->8--- Signed-off-by: Andreas Bießmann <andreas@biessmann.org> Acked-by: Stephen Warren <swarren@nvidia.com> Base directory -> / include/clk.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 2ef98d33166e5c22a61eba29c20e236b72f1e8a2 Author: Tom Rini <trini@konsulko.com> Date: 2016-08-15 16:38:39 -0400 Merge branch 'master' of git://git.denx.de/u-boot-net Base directory -> / arch/m68k/include/asm/fec.h | 9 +- arch/mips/mach-au1x00/au1x00_eth.c | 25 +- arch/powerpc/cpu/mpc8260/ether_fcc.c | 13 +- arch/powerpc/cpu/mpc85xx/ether_fcc.c | 13 +- arch/powerpc/cpu/mpc8xx/fec.c | 40 ++- arch/powerpc/cpu/ppc4xx/miiphy.c | 11 +- board/gdsys/405ep/io.c | 13 +- board/gdsys/405ep/iocon.c | 27 +- board/gdsys/405ex/io64.c | 25 +- board/gdsys/mpc8308/hrcon.c | 27 +- board/gdsys/mpc8308/strider.c | 27 +- common/miiphyutil.c | 73 ---- configs/openrisc-generic_defconfig | 2 + drivers/net/4xx_enet.c | 20 +- drivers/net/Kconfig | 5 + drivers/net/armada100_fec.c | 33 +- drivers/net/at91_emac.c | 28 +- drivers/net/bcm-sf2-eth-gmac.c | 18 +- drivers/net/bcm-sf2-eth.c | 13 +- drivers/net/bcm-sf2-eth.h | 8 +- drivers/net/bfin_mac.c | 43 ++- drivers/net/davinci_emac.c | 34 +- drivers/net/e1000.c | 6 +- drivers/net/e1000_spi.c | 59 ++-- drivers/net/eepro100.c | 34 +- drivers/net/enc28j60.c | 26 +- drivers/net/ep93xx_eth.c | 40 ++- drivers/net/ethoc.c | 526 +++++++++++++++++++++++------ drivers/net/fsl_mcdmafec.c | 13 +- drivers/net/ftmac110.c | 35 +- drivers/net/lpc32xx_eth.c | 52 ++- drivers/net/macb.c | 123 +++++-- drivers/net/mcffec.c | 13 +- drivers/net/mcfmii.c | 19 +- drivers/net/mpc512x_fec.c | 30 +- drivers/net/mpc5xxx_fec.c | 30 +- drivers/net/mvgbe.c | 33 +- drivers/net/phy/miiphybb.c | 25 +- drivers/net/sh_eth.c | 12 +- drivers/net/smc911x.c | 35 +- drivers/qe/uec.c | 32 +- drivers/usb/eth/smsc95xx.c | 4 +- include/configs/corvus.h | 1 + include/configs/openrisc-generic.h | 1 - include/configs/smartweb.h | 1 + include/configs/snapper9g45.h | 1 + include/configs/taurus.h | 1 + include/dm/platform_data/net_ethoc.h | 21 ++ include/miiphy.h | 20 +- scripts/coccinelle/net/mdio_register.cocci | 142 ++++++++ 50 files changed, 1326 insertions(+), 516 deletions(-) ------------------------------------------------------------------------------- commit cc2593128f7ad1b879e9e5bd3097f6c717cf4c9a Author: Joe Hershberger <joe.hershberger@ni.com> Date: 2016-08-08 11:28:41 -0500 net: mii: Clean up legacy glue that is not used The cleanup of the legacy mii registration API that's no longer used now that the drivers have been converted to use the (more) modern API. Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Base directory -> / common/miiphyutil.c | 73 ----------------------------------------------------- include/miiphy.h | 13 ---------- 2 files changed, 86 deletions(-) ------------------------------------------------------------------------------- commit dfcc496ed7e24d3eb9b506f000adefd916b5148f Author: Joe Hershberger <joe.hershberger@ni.com> Date: 2016-08-08 11:28:39 -0500 net: mii: Changes not made by spatch If the functions passed to the registration function are not in the same C file (extern) then spatch will not handle the dependent changes. Make those changes manually. Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> For the 4xx related files: Acked-by: Stefan Roese <sr@denx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Base directory -> / arch/m68k/include/asm/fec.h | 9 +++++---- arch/powerpc/cpu/ppc4xx/miiphy.c | 11 ++++------- drivers/net/4xx_enet.c | 7 +++---- drivers/net/bcm-sf2-eth-gmac.c | 18 +++++++----------- drivers/net/bcm-sf2-eth.c | 13 ++++++++++++- drivers/net/bcm-sf2-eth.h | 8 ++++---- drivers/net/mcfmii.c | 19 ++++++------------- drivers/net/phy/miiphybb.c | 25 ++++++++----------------- include/miiphy.h | 7 +++---- 9 files changed, 52 insertions(+), 65 deletions(-) ------------------------------------------------------------------------------- commit 875e0bc68a53653aceae33cd92cbb29a8b82471c Author: Joe Hershberger <joe.hershberger@ni.com> Date: 2016-08-08 11:28:40 -0500 net: mii: Fix changes made by spatch Some of the changes were a bit too complex. Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Base directory -> / arch/powerpc/cpu/mpc8xx/fec.c | 6 ++++-- board/gdsys/405ex/io64.c | 3 +-- drivers/net/bfin_mac.c | 21 +++++++++++++++------ drivers/net/davinci_emac.c | 11 +++++------ drivers/net/ep93xx_eth.c | 1 - drivers/net/lpc32xx_eth.c | 23 ++--------------------- drivers/net/smc911x.c | 4 ++-- drivers/qe/uec.c | 2 +- 8 files changed, 30 insertions(+), 41 deletions(-) ------------------------------------------------------------------------------- commit 5a49f17481bb9dcab1431c663d35cc1cace16825 Author: Joe Hershberger <joe.hershberger@ni.com> Date: 2016-08-08 11:28:38 -0500 net: mii: Use spatch to update miiphy_register Run scripts/coccinelle/net/mdio_register.cocci on the U-Boot code base. Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Base directory -> / arch/mips/mach-au1x00/au1x00_eth.c | 25 +++++++++++++------- arch/powerpc/cpu/mpc8260/ether_fcc.c | 13 ++++++++-- arch/powerpc/cpu/mpc85xx/ether_fcc.c | 13 ++++++++-- arch/powerpc/cpu/mpc8xx/fec.c | 34 ++++++++++++++++---------- board/gdsys/405ep/io.c | 13 ++++++++-- board/gdsys/405ep/iocon.c | 27 +++++++++++++++++---- board/gdsys/405ex/io64.c | 26 ++++++++++++++++---- board/gdsys/mpc8308/hrcon.c | 27 +++++++++++++++++---- board/gdsys/mpc8308/strider.c | 27 +++++++++++++++++---- drivers/net/4xx_enet.c | 13 ++++++++-- drivers/net/armada100_fec.c | 33 +++++++++++++++++--------- drivers/net/at91_emac.c | 28 +++++++++++++++------- drivers/net/bfin_mac.c | 22 +++++++++++++---- drivers/net/davinci_emac.c | 25 ++++++++++++++++---- drivers/net/eepro100.c | 34 ++++++++++++++++---------- drivers/net/enc28j60.c | 26 ++++++++++++++------ drivers/net/ep93xx_eth.c | 41 +++++++++++++++++++++----------- drivers/net/fsl_mcdmafec.c | 13 ++++++++-- drivers/net/ftmac110.c | 35 ++++++++++++++++++--------- drivers/net/lpc32xx_eth.c | 29 ++++++++++++++++------- drivers/net/macb.c | 46 ++++++++++++++++++++++++++---------- drivers/net/mcffec.c | 13 ++++++++-- drivers/net/mpc512x_fec.c | 30 ++++++++++++++++------- drivers/net/mpc5xxx_fec.c | 30 ++++++++++++++++------- drivers/net/mvgbe.c | 33 ++++++++++++++++++-------- drivers/net/sh_eth.c | 12 +++++++++- drivers/net/smc911x.c | 31 ++++++++++++++++++------ drivers/qe/uec.c | 32 ++++++++++++++++--------- 28 files changed, 543 insertions(+), 188 deletions(-) ------------------------------------------------------------------------------- commit 63d985985e383111e082c78398444941a0b9fadf Author: Joe Hershberger <joe.hershberger@ni.com> Date: 2016-08-08 11:28:37 -0500 scripts: Add a cocci patch for miiphy_register Many Ethernet drivers still use the legacy miiphy API to register their mdio interface for access to the mdio commands. This semantic patch will convert the drivers from the legacy adapter API to the more modern alloc/register API. Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Base directory -> / scripts/coccinelle/net/mdio_register.cocci | 142 +++++++++++++++++++++++++++++ 1 file changed, 142 insertions(+) ------------------------------------------------------------------------------- commit 9e5935c04e891abb38a92a893f3457cdf304ef4f Author: Wenyou Yang <wenyou.yang@atmel.com> Date: 2016-07-20 17:55:12 +0800 clk: at91: Add clock driver The patch is referred to at91 clock driver of Linux, to make the clock node descriptions in DT aligned with the Linux's. Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/arm/mach-at91/include/mach/at91_pmc.h | 11 +- drivers/clk/Kconfig | 1 + drivers/clk/Makefile | 1 + drivers/clk/at91/Kconfig | 43 ++++++++ drivers/clk/at91/Makefile | 11 ++ drivers/clk/at91/clk-generated.c | 162 +++++++++++++++++++++++++++++ drivers/clk/at91/clk-h32mx.c | 56 ++++++++++ drivers/clk/at91/clk-main.c | 55 ++++++++++ drivers/clk/at91/clk-master.c | 33 ++++++ drivers/clk/at91/clk-peripheral.c | 60 +++++++++++ drivers/clk/at91/clk-plla.c | 55 ++++++++++ drivers/clk/at91/clk-slow.c | 37 +++++++ drivers/clk/at91/clk-system.c | 76 ++++++++++++++ drivers/clk/at91/clk-utmi.c | 67 ++++++++++++ drivers/clk/at91/pmc.c | 71 +++++++++++++ drivers/clk/at91/pmc.h | 18 ++++ drivers/clk/at91/sckc.c | 30 ++++++ 17 files changed, 784 insertions(+), 3 deletions(-) ------------------------------------------------------------------------------- commit 03dcd410d70b7251ac82f78088123e23170591d4 Author: mario.six@gdsys.cc <mario.six@gdsys.cc> Date: 2016-07-18 13:47:45 +0200 tpm: atmel_twi: Make compatible with DM I2C busses Commit 302c5db ("dm: tpm: Add Driver Model support for tpm_atmel_twi driver") converted the Atmel TWI TPM driver itself to driver model, but kept the legacy-style i2c_write/i2c_read calls. Commit 3e7d940 ("dm: tpm: Every TPM drivers should depends on DM_TPM") then made DM_I2C a dependency of the driver, effectively forcing users to turn on CONFIG_DM_I2C_COMPAT to get it to work. This patch adds the necessary dm_i2c_write/dm_i2c_read calls to make the driver compatible with DM, but also keeps the legacy calls in ifdefs, so that the driver is now compatible with both DM and non-DM setups. Signed-off-by: Mario Six <mario.six@gdsys.cc> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Andreas Bießmann <andreas@biessmann.org> Base directory -> / drivers/tpm/Kconfig | 2 +- drivers/tpm/tpm_atmel_twi.c | 15 ++++++++++++++- 2 files changed, 15 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit e3b7599be71aea67c67edfc44fcbd529df0c0eab Author: Songjun Wu <songjun.wu@atmel.com> Date: 2016-06-20 13:22:39 +0800 i2c: atmel: DT binding for i2c driver DT binding documentation for atmel i2c driver. Signed-off-by: Songjun Wu <songjun.wu@atmel.com> Reviewed-by: Heiko Schocher <hs@denx.de> Acked-by: Heiko Schocher <hs@denx.de> Base directory -> / doc/device-tree-bindings/i2c/i2c-at91.txt | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) ------------------------------------------------------------------------------- commit 8800e0fa20c89df846559d85341c55439405cab6 Author: Songjun Wu <songjun.wu@atmel.com> Date: 2016-06-20 13:22:38 +0800 i2c: atmel: add i2c driver Add i2c driver. Signed-off-by: Songjun Wu <songjun.wu@atmel.com> Reviewed-by: Heiko Schocher <hs@denx.de> Acked-by: Heiko Schocher <hs@denx.de> Base directory -> / drivers/i2c/Kconfig | 10 ++ drivers/i2c/Makefile | 1 + drivers/i2c/at91_i2c.c | 338 +++++++++++++++++++++++++++++++++++++++++++++++++ drivers/i2c/at91_i2c.h | 77 +++++++++++ 4 files changed, 426 insertions(+) ------------------------------------------------------------------------------- commit 0d0779c14128d561b9ce26efd414b5358197e52c Author: Max Filippov <jcmvbkbc@gmail.com> Date: 2016-08-05 18:26:21 +0300 net/ethoc: implement MDIO bus and support phylib Implement MDIO bus read/write functions, initialize the bus and scan for the PHY when phylib is enabled. Limit PHY speeds to 10/100 Mbps. Cc: Michal Simek <monstr@monstr.eu> Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com> Base directory -> / drivers/net/ethoc.c | 156 ++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 150 insertions(+), 6 deletions(-) ------------------------------------------------------------------------------- commit 59b7dfa0d1dd54752427fc5f8b80e3f72e847298 Author: Max Filippov <jcmvbkbc@gmail.com> Date: 2016-08-05 18:26:20 +0300 net/ethoc: support private memory configurations The ethoc device can be configured to have a private memory region instead of having access to the main memory. In that case egress packets must be copied into that memory for transmission and pointers to that memory need to be passed to net_process_received_packet or returned from the recv callback. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com> Base directory -> / drivers/net/ethoc.c | 46 ++++++++++++++++++++++++++++++++---- include/dm/platform_data/net_ethoc.h | 1 + 2 files changed, 42 insertions(+), 5 deletions(-) ------------------------------------------------------------------------------- commit 02a888b567df92904eb0783f4f19a3f744064159 Author: Max Filippov <jcmvbkbc@gmail.com> Date: 2016-08-05 18:26:19 +0300 net/ethoc: don't mix virtual and physical addresses Addresses used in buffer descriptors and passed in platform data or device tree are physical. Addresses used by CPU to access packet data and registers are virtual. Don't mix these addresses and use virt_to_phys for translation. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com> Base directory -> / drivers/net/ethoc.c | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) ------------------------------------------------------------------------------- commit 2de18c8d77b026115dbe6b3e1a35446e31d3dbad Author: Max Filippov <jcmvbkbc@gmail.com> Date: 2016-08-05 18:26:18 +0300 net/ethoc: support device tree Add .of_match table and .ofdata_to_platdata callback to allow for ethoc device configuration from the device tree. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com> Base directory -> / drivers/net/ethoc.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) ------------------------------------------------------------------------------- commit 5d43feabf3707ae4e879b54450e5a3c3c664b2b9 Author: Max Filippov <jcmvbkbc@gmail.com> Date: 2016-08-05 18:26:17 +0300 net/ethoc: add CONFIG_DM_ETH support Extract reusable parts from ethoc_init, ethoc_set_mac_address, ethoc_send and ethoc_receive, move the rest under #ifdef CONFIG_DM_ETH. Add U_BOOT_DRIVER, eth_ops structure and implement required methods. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Acked-by: Joe Hershberger <joe.hershberger@ni.com> Base directory -> / drivers/net/ethoc.c | 221 +++++++++++++++++++++++++++-------- include/dm/platform_data/net_ethoc.h | 20 ++++ 2 files changed, 194 insertions(+), 47 deletions(-) ------------------------------------------------------------------------------- commit a84a757ae7cf844a5ec3e7c32226b48667dedac2 Author: Max Filippov <jcmvbkbc@gmail.com> Date: 2016-08-05 18:26:16 +0300 net/ethoc: use priv instead of dev internally Don't use physical base address of registers directly, ioremap it first. Save pointer in private struct ethoc and use that struct in all internal functions. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com> Base directory -> / drivers/net/ethoc.c | 111 ++++++++++++++++++++++++++-------------------------- 1 file changed, 56 insertions(+), 55 deletions(-) ------------------------------------------------------------------------------- commit f0727120a7b0cfb0f9ba6c3ed46cf970d9182c74 Author: Max Filippov <jcmvbkbc@gmail.com> Date: 2016-08-05 18:26:15 +0300 net/ethoc: add Kconfig entry for the driver Add Kconfig entry for the driver, remove #define CONFIG_ETHOC from the only board configuration that uses it and put it into that board's defconfig. Cc: Stefan Kristiansson <stefan.kristiansson@saunalahti.fi> Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com> Base directory -> / configs/openrisc-generic_defconfig | 2 ++ drivers/net/Kconfig | 5 +++++ include/configs/openrisc-generic.h | 1 - 3 files changed, 7 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit eb4e8ceb4787ffaba4c2ff3b34978138b25ec248 Author: Alban Bedel <alban.bedel@avionic-design.de> Date: 2016-08-03 11:31:03 +0200 net: e1000: Fix the build with driver model and SPI EEPROM When adding support for the driver model the SPI EEPROM feature had been ignored. Fix the build with both CONFIG_DM_ETH and CONFIG_E1000_SPI enabled. Signed-off-by: Alban Bedel <alban.bedel@avionic-design.de> Acked-by: Joe Hershberger <joe.hershberger@ni.com> Base directory -> / drivers/net/e1000.c | 6 ++++- drivers/net/e1000_spi.c | 59 +++++++++++++++++++++++++------------------------ 2 files changed, 35 insertions(+), 30 deletions(-) ------------------------------------------------------------------------------- commit 70f14636861e70276426687dc3cf6ede3e1c2b99 Author: Chris Packham <judge.packham@gmail.com> Date: 2016-07-13 09:52:36 +1200 net: smsc95xx: Use correct get_unaligned functions The __get_unaligned_le* functions may not be declared on all platforms. Instead, get_unaligned_le* should be used. On many platforms both of these are the same function. Signed-off-by: Chris Packham <judge.packham@gmail.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com> Base directory -> / drivers/usb/eth/smsc95xx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit a212b66d7c9304271a2e6f78775d7c1e328cbb8e Author: Wenyou Yang <wenyou.yang@atmel.com> Date: 2016-05-17 13:11:35 +0800 net: macb: Fix build error for CONFIG_DM_ETH enabled Use the right phy_connect() prototype for CONFIGF_DM_ETH. Support to get the phy interface from dt and set GMAC_UR. Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com> Base directory -> / drivers/net/macb.c | 77 ++++++++++++++++++++++++++++++++++++++----- include/configs/corvus.h | 1 + include/configs/smartweb.h | 1 + include/configs/snapper9g45.h | 1 + include/configs/taurus.h | 1 + 5 files changed, 73 insertions(+), 8 deletions(-) ------------------------------------------------------------------------------- commit b064c9124acddbcdc70843f62fda13a2d7d7a392 Author: Bibek Basu <bbasu@nvidia.com> Date: 2016-08-11 16:28:28 -0600 ARM: tegra: set vdd_core for Jetson TK1 Program vdd_core for Jetson TK1 to 1V, which is the max safe voltage for ultra low temperature operations. vdd_cpu and vdd_gpu are already at 1V. Signed-off-by: Bibek Basu <bbasu@nvidia.com> (swarren: fixed comments to better match the code) (swarren: moved board ifdef around data in header, made code generic) (swarren: fixed typos in commit description) Signed-off-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Tom Warren <twarren@nvidia.com> Base directory -> / board/nvidia/venice2/as3722_init.c | 13 ++++++++++++- board/nvidia/venice2/as3722_init.h | 4 +++- 2 files changed, 15 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit 027638d3cf6bf55996b50e41faccd51789a04eb0 Author: Bryan Wu <pengw@nvidia.com> Date: 2016-08-11 16:28:27 -0600 ARM: tegra: reduce CSITE clock from 204M to 136M The L4T kernel complains about a CSITE clock rate above 144MHz, presumably because the HW is only characterized for a clock less than that. Adjust the rate to 136MHz to avoid the warning and stay in spec. Signed-off-by: Bryan Wu <pengw@nvidia.com> (swarren, re-wrote commit description) Signed-off-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Tom Warren <twarren@nvidia.com> Base directory -> / arch/arm/mach-tegra/cpu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 06264a79b4ed8155e8746dba10b707d588ca6e9c Author: Stephen Warren <swarren@nvidia.com> Date: 2016-08-08 13:56:35 -0600 ARM: tegra: fix trimslice environment location Trimslice currently stores its environment at 512KiB into the SPI flash chip. The U-Boot binary has grown such that the size of the boot image (which includes the Tegra BCT, padding, and the U-Boot binary) is slightly larger than 512K now. Consequently, writing the boot image to flash corrupts the saved environment, and equally, writing to or erasing the environment will corrupt the bootloader, which in turn will cause the Tegra boot ROM to enter recovery mode during boot, making it look as if the system is non-operational. Note that tegra-uboot-flasher writes to the environment during the flashing process. Solve this by moving the environment as high as possible in flash. This will allow the U-Boot binary to roughly double in size before this problem is hit again, at which point there's nothing we can do anyway since the binary won't fit into flash. 99% of other Tegra boards store the environment in eMMC and use a negative value for CONFIG_ENV_OFFSET, which already automatically places the environment as near the end of boot flash as possible. The 1 remaining board hard-codes CONFIG_ENV_OFFSET to 2MiB, which allows for plenty more bloat. Reported-by: Stephen L Arnold <nerdboy@gentoo.org> Signed-off-by: Stephen Warren <swarren@nvidia.com> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Warren <twarren@nvidia.com> Base directory -> / include/configs/trimslice.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 9889862545a0de2e6cf0fdf6171412cafc46c218 Author: Stephen Warren <swarren@nvidia.com> Date: 2016-08-08 10:38:34 -0600 ARM: tegra: move ft_system_setup() Currently, ft_system_setup() is implemented by board*.c, which are a bit of a dumping ground for a bunch of unrelated functionality, and separate versions exist for pre-Tegra186 and Tegra186. Move the implementation into a separate file to separate functionality, and allow sharing. Signed-off-by: Stephen Warren <swarren@nvidia.com> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Warren <twarren@nvidia.com> Base directory -> / arch/arm/mach-tegra/Makefile | 1 + arch/arm/mach-tegra/board186.c | 5 ----- arch/arm/mach-tegra/board2.c | 26 -------------------------- arch/arm/mach-tegra/dt-setup.c | 34 ++++++++++++++++++++++++++++++++++ 4 files changed, 35 insertions(+), 31 deletions(-) ------------------------------------------------------------------------------- commit a6bb0084c2797b1e16403e2e812737ca1fb37669 Author: Stephen Warren <swarren@nvidia.com> Date: 2016-07-29 13:15:06 -0600 ARM: tegra: enable PCIe controller on p2771-0000 p2771-0000 has a couple of PCIe ports; one physically x4 desktop PCI connector (which may run at x2 electrically, depending on the board version and configuration) and a x1 connection to the M.2 slot (which may not be active, depending on the board version and configuration). This change enables those. Signed-off-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Tom Warren <twarren@nvidia.com> Base directory -> / arch/arm/dts/tegra186-p2771-0000-a02.dts | 19 +++++++++++++++++++ arch/arm/dts/tegra186-p2771-0000-b00.dts | 19 +++++++++++++++++++ board/nvidia/p2771-0000/p2771-0000.c | 22 ++++++++++++++++++++++ configs/p2771-0000-a02_defconfig | 5 +++++ configs/p2771-0000-b00_defconfig | 5 +++++ include/configs/p2771-0000.h | 5 +++++ 6 files changed, 75 insertions(+) ------------------------------------------------------------------------------- commit 45d85f0872ef92779ea5b51a424845a919a41462 Author: Stephen Warren <swarren@nvidia.com> Date: 2016-07-29 13:15:05 -0600 ARM: tegra: enable SD card on p2771-0000 Now that clock and reset drivers exist for Tegra186, we can enable the SD card controller. Now that a BPMP I2C driver exists for Tegra186, we can communicate with the PMIC to enable power to the SD card. Hook up the DT content and board code required to make the SD card work. Signed-off-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Tom Warren <twarren@nvidia.com> Base directory -> / arch/arm/dts/tegra186-p2771-0000-a02.dts | 5 +++++ arch/arm/dts/tegra186-p2771-0000-b00.dts | 5 +++++ arch/arm/dts/tegra186-p2771-0000.dtsi | 14 ++++++++++++++ board/nvidia/p2771-0000/p2771-0000.c | 26 ++++++++++++++++++++++++++ configs/p2771-0000-a02_defconfig | 1 + configs/p2771-0000-b00_defconfig | 1 + 6 files changed, 52 insertions(+) ------------------------------------------------------------------------------- commit ad3c144fb8db9dbf232daaba3448ee8502c59d88 Author: Bryan Wu <pengw@nvidia.com> Date: 2016-07-27 15:48:22 -0600 ARM: tegra: enable I2C buses for P2771-0000 Enable I2C devices in DT and enable building tegra_i2c.c driver. Signed-off-by: Bryan Wu <pengw@nvidia.com> (swarren, commit msg rework, fixed DT node sort order) Signed-off-by: Stephen Warren <swarren@nvidia.com> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Warren <twarren@nvidia.com> Base directory -> / arch/arm/dts/tegra186-p2771-0000.dtsi | 35 +++++++++++++++++++++++++++++++++++ include/configs/p2771-0000.h | 3 +++ 2 files changed, 38 insertions(+) ------------------------------------------------------------------------------- commit 3c27fa2193f761e93d64e3c538c6931e6172adef Author: Bryan Wu <pengw@nvidia.com> Date: 2016-08-05 16:10:35 -0600 i2c: tegra: add standardized clk/reset API support clk/reset API was tested on T186 platform and previous chip like T210/T124 will still use the old APIs. Signed-off-by: Bryan Wu <pengw@nvidia.com> (swarren, simplified some ifdefs, removed indent level inside an ifdef) (swarren, added comment about the ifdefs) Signed-off-by: Stephen Warren <swarren@nvidia.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de> Signed-off-by: Tom Warren <twarren@nvidia.com> Base directory -> / drivers/i2c/tegra_i2c.c | 89 ++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 85 insertions(+), 4 deletions(-) ------------------------------------------------------------------------------- commit bbc5b36b2519d5aaa267a2bffba4b3e44dc8f51c Author: Stephen Warren <swarren@nvidia.com> Date: 2016-08-05 16:10:34 -0600 pci: tegra: port to standard clock/reset/pwr domain APIs Tegra186 supports the new standard clock, reset, and power domain APIs. Older Tegra SoCs still use custom APIs. Enhance the Tegra PCIe driver so that it can operate with either set of APIs. On Tegra186, the BPMP handles all aspects of PCIe PHY (UPHY) programming. Consequently, this logic is disabled too. Signed-off-by: Stephen Warren <swarren@nvidia.com> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Warren <twarren@nvidia.com> Base directory -> / drivers/pci/Kconfig | 1 + drivers/pci/pci_tegra.c | 163 ++++++++++++++++++++++++++++++++++++++++++++++-- 2 files changed, 159 insertions(+), 5 deletions(-) ------------------------------------------------------------------------------- commit c04930762d433aeef94d8c910fa65461d43b9016 Author: Stephen Warren <swarren@nvidia.com> Date: 2016-08-05 16:10:33 -0600 mmc: tegra: port to standard clock/reset APIs Tegra186 supports the new standard clock and reset APIs. Older Tegra SoCs still use custom APIs. Enhance the Tegra MMC driver so that it can operate with either set of APIs. Signed-off-by: Stephen Warren <swarren@nvidia.com> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Warren <twarren@nvidia.com> Base directory -> / arch/arm/include/asm/arch-tegra/tegra_mmc.h | 8 +++- drivers/mmc/tegra_mmc.c | 64 +++++++++++++++++++++++++---- 2 files changed, 62 insertions(+), 10 deletions(-) ------------------------------------------------------------------------------- commit 34f1c9fe14172b89141254522e73ebfb6493554e Author: Stephen Warren <swarren@nvidia.com> Date: 2016-08-08 11:28:27 -0600 i2c: add Tegra186 BPMP driver On Tegra186, some I2C controllers are directly controlled by the main CPU, whereas others are controlled by the BPMP, and can only be accessed by the main CPU via IPC requests to the BPMP. This driver covers the latter case. Signed-off-by: Stephen Warren <swarren@nvidia.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de> Signed-off-by: Tom Warren <twarren@nvidia.com> Base directory -> / drivers/i2c/Kconfig | 10 ++++ drivers/i2c/Makefile | 1 + drivers/i2c/tegra186_bpmp_i2c.c | 129 ++++++++++++++++++++++++++++++++++++++++ 3 files changed, 140 insertions(+) ------------------------------------------------------------------------------- commit 24cdf1a9be484e234ebcceaf94fa551550b29ebd Author: Stephen Warren <swarren@nvidia.com> Date: 2016-08-08 11:28:26 -0600 power domain: add Tegra186 driver In Tegra186, SoC power domains are manipulated using IPC requests to the BPMP (Boot and Power Management Processor). This change implements a driver that does that. Signed-off-by: Stephen Warren <swarren@nvidia.com> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Warren <twarren@nvidia.com> Base directory -> / drivers/power/domain/Kconfig | 7 +++ drivers/power/domain/Makefile | 1 + drivers/power/domain/tegra186-power-domain.c | 92 ++++++++++++++++++++++++++++ 3 files changed, 100 insertions(+) ------------------------------------------------------------------------------- commit 4dd99d140cf061478d1ac9e0a961a3874b759f1d Author: Stephen Warren <swarren@nvidia.com> Date: 2016-08-08 11:28:25 -0600 reset: add Tegra186 reset driver In Tegra186, on-SoC reset signals are manipulated using IPC requests to the BPMP (Boot and Power Management Processor). This change implements a driver that does that. It is unconditionally selected by CONFIG_TEGRA186 since virtually any Tegra186 build of U-Boot will need the feature. Signed-off-by: Stephen Warren <swarren@nvidia.com> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Warren <twarren@nvidia.com> Base directory -> / arch/arm/mach-tegra/Kconfig | 2 ++ drivers/reset/Kconfig | 7 ++++ drivers/reset/Makefile | 1 + drivers/reset/tegra186-reset.c | 81 ++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 91 insertions(+) ------------------------------------------------------------------------------- commit d9fd7008f48ba3361133e3b901322a724fd2aced Author: Stephen Warren <swarren@nvidia.com> Date: 2016-08-08 11:28:24 -0600 clock: add Tegra186 clock driver In Tegra186, on-SoC clocks are manipulated using IPC requests to the BPMP (Boot and Power Management Processor). This change implements a driver that does that. A tegra/ sub-directory is created to follow the existing pattern. It is unconditionally selected by CONFIG_TEGRA186 since virtually any Tegra186 build of U-Boot will need the feature. Signed-off-by: Stephen Warren <swarren@nvidia.com> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Warren <twarren@nvidia.com> Base directory -> / arch/arm/mach-tegra/Kconfig | 2 + drivers/clk/Kconfig | 1 + drivers/clk/Makefile | 2 + drivers/clk/tegra/Kconfig | 6 +++ drivers/clk/tegra/Makefile | 5 ++ drivers/clk/tegra/tegra186-clk.c | 104 +++++++++++++++++++++++++++++++++++++++ 6 files changed, 120 insertions(+) ------------------------------------------------------------------------------- commit 73dd5c4cfeaff67347d8bafb25c197fc97c6a9dc Author: Stephen Warren <swarren@nvidia.com> Date: 2016-08-08 09:41:34 -0600 misc: add Tegra BPMP driver The Tegra BPMP (Boot and Power Management Processor) is a separate auxiliary CPU embedded into Tegra to perform power management work, and controls related features such as clocks, resets, power domains, PMIC I2C bus, etc. This driver provides the core low-level communication path by which feature-specific drivers (such as clock) can make requests to the BPMP. This driver is similar to an MFD driver in the Linux kernel. It is unconditionally selected by CONFIG_TEGRA186 since virtually any Tegra186 build of U-Boot will need the feature. Signed-off-by: Stephen Warren <swarren@nvidia.com> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Warren <twarren@nvidia.com> Base directory -> / arch/arm/include/asm/arch-tegra/bpmp_abi.h | 1591 ++++++++++++++++++++++++++++ arch/arm/mach-tegra/Kconfig | 2 + drivers/misc/Kconfig | 12 + drivers/misc/Makefile | 1 + drivers/misc/tegra186_bpmp.c | 257 +++++ 5 files changed, 1863 insertions(+) ------------------------------------------------------------------------------- commit f4b0df1823921ad3bc39820466e9c5201cef6210 Author: Tom Rini <trini@konsulko.com> Date: 2016-08-12 16:00:50 -0400 Merge git://git.denx.de/u-boot-dm Base directory -> / common/fdt_support.c | 21 +++++++++++---------- drivers/core/device.c | 2 +- drivers/gpio/mpc85xx_gpio.c | 2 +- drivers/i2c/fsl_i2c.c | 2 +- drivers/misc/misc-uclass.c | 11 +++++++++++ drivers/mmc/msm_sdhci.c | 3 ++- drivers/net/cpsw.c | 3 ++- drivers/power/pmic/act8846.c | 4 ++-- drivers/power/regulator/act8846.c | 4 ++-- drivers/spmi/spmi-msm.c | 5 +++-- include/fdt_support.h | 5 +++-- include/fdtdec.h | 14 +++++++++++--- include/misc.h | 35 +++++++++++++++++++++++++++++++++++ lib/fdtdec.c | 22 +++++++++++++++------- 14 files changed, 100 insertions(+), 33 deletions(-) ------------------------------------------------------------------------------- commit b647f55420310beb8f576e23f3b6a69745126f71 Author: Stephen Warren <swarren@nvidia.com> Date: 2016-08-08 09:41:33 -0600 misc: add "call" uclass op The call op requests that the callee pass a message to the underlying HW or device, wait for a response, and then pass back the response error code and message to the callee. It is useful for drivers that represent some kind of messaging or IPC channel to a remote device. Signed-off-by: Stephen Warren <swarren@nvidia.com> Acked-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/misc/misc-uclass.c | 11 +++++++++++ include/misc.h | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) ------------------------------------------------------------------------------- commit aa26776a2dfbf327d38a469e0d4e438f967350ab Author: John Keeping <john@metanate.com> Date: 2016-08-07 12:55:40 +0100 power: pmic: act8846: add missing newline to debug statements Signed-off-by: John Keeping <john@metanate.com> Acked-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/power/pmic/act8846.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit 65f89be2ef73c6605ffe08eb671c425603ec765a Author: John Keeping <john@metanate.com> Date: 2016-08-07 12:55:39 +0100 power: regulator: act8846: fix reading values The voltage and control registers need to be looked up from the value in driver_data. Adjust the get_value and get_enable functions to match the corresponding set_* functions. Signed-off-by: John Keeping <john@metanate.com> Acked-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/power/regulator/act8846.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit 6e06acb73248e32457064d8fe820cbc217c45f3f Author: Stephen Warren <swarren@nvidia.com> Date: 2016-08-05 09:47:51 -0600 fdt: allow fdtdec_get_addr_size_*() to translate addresses Some code may want to read reg values from DT, but from nodes that aren't associated with DM devices, so using dev_get_addr_index() isn't appropriate. In this case, fdtdec_get_addr_size_*() are the functions to use. However, "translation" (via the chain of ranges properties in parent nodes) may still be desirable. Add a function parameter to request that, and implement it. Update all call sites to default to the original behaviour. Signed-off-by: Stephen Warren <swarren@nvidia.com> Reviewed-by: Simon Glass <sjg@chromium.org> Squashed in build fix from Stephen: Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/core/device.c | 2 +- drivers/gpio/mpc85xx_gpio.c | 2 +- drivers/i2c/fsl_i2c.c | 2 +- drivers/mmc/msm_sdhci.c | 3 ++- drivers/net/cpsw.c | 3 ++- drivers/spmi/spmi-msm.c | 5 +++-- include/fdtdec.h | 14 +++++++++++--- lib/fdtdec.c | 22 +++++++++++++++------- 8 files changed, 36 insertions(+), 17 deletions(-) ------------------------------------------------------------------------------- commit 11e44fc6bda2248271d26a8488f5efe189b55a30 Author: Stephen Warren <swarren@nvidia.com> Date: 2016-08-05 09:47:50 -0600 fdt_support: fdt_translate_address() blob const correctness The next patch will call fdt_translate_address() from somewhere with a "const void *blob" rather than a "void *blob", so fdt_translate_address() must accept a const pointer too. Constify the minimum number of function parameters to achieve this. Signed-off-by: Stephen Warren <swarren@nvidia.com> Acked-by: Simon Glass <sjg@chromium.org> Squashed in build fix from Stephen: Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / common/fdt_support.c | 21 +++++++++++---------- include/fdt_support.h | 5 +++-- 2 files changed, 14 insertions(+), 12 deletions(-) ------------------------------------------------------------------------------- commit ab65006b08c5a2d022b1ce43581e555c82926cd4 Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-08-12 10:26:50 +0900 kconfig: use bool instead of boolean for type definition attributes Linux stopped the use of keyword 'boolean' in Kconfig. Refer to commit 6341e62b212a2541efb0160c470e90bd226d5496 ("kconfig: use bool instead of boolean for type definition attributes") in Linux Kernel. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Base directory -> / arch/arm/cpu/armv7/Kconfig | 8 ++++---- arch/arm/cpu/armv8/Kconfig | 2 +- board/sunxi/Kconfig | 16 ++++++++-------- drivers/power/Kconfig | 14 +++++++------- drivers/spmi/Kconfig | 4 ++-- 5 files changed, 22 insertions(+), 22 deletions(-) ------------------------------------------------------------------------------- commit 568d492a07c142b05d3b759ba8337698bae76e69 Author: Mugunthan V N <mugunthanvnm@ti.com> Date: 2016-08-11 14:27:04 +0530 defconfig: am43xx_evm: enable eth driver model Enable eth driver model for am43xx_evm as cpsw supports driver model. This was already added with the commit bc705ea1cf12 but with commit 4c4e3b37750f to add fit support CONFIG_DM_ETH was missed. Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com> Cc: Lokesh Vutla <lokeshvutla@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / configs/am43xx_evm_defconfig | 1 + configs/am43xx_hs_evm_defconfig | 1 + 2 files changed, 2 insertions(+) ------------------------------------------------------------------------------- commit 1f01962e0fde9d3e57318e9f6e05c45d8ef2a783 Author: Lokesh Vutla <lokeshvutla@ti.com> Date: 2016-08-11 13:00:59 +0530 drivers: net: cpsw: always flush cache of size aligned to PKTALIGN cpsw tries to flush dcache which is not in the range of PKTALIGN. Because of this the following warning comes while flushing: CACHE: Misaligned operation at range [dffecec0, dffed016] Fix it by flushing cache of size aligned to PKTALIGN. Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> Base directory -> / drivers/net/cpsw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 358133239b37cf3c936cc968d7bde9c5546ad130 Author: Mugunthan V N <mugunthanvnm@ti.com> Date: 2016-08-10 22:05:03 +0530 configs: dra7xx_evm: enable eth driver model Enable eth driver model for dra7xx_evm as cpsw supports driver model. This was already added with the commit 641b936fa5ba but with commit bd7245849f7c to add fit support CONFIG_DM_ETH was missed. Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com> Cc: Lokesh Vutla <lokeshvutla@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Acked-by: Lokesh Vutla <lokeshvutla@ti.com> Base directory -> / configs/dra7xx_evm_defconfig | 1 + 1 file changed, 1 insertion(+) ------------------------------------------------------------------------------- commit 8f521bfc92cb20ce4de3610fd255495709fd417a Author: Vignesh R <vigneshr@ti.com> Date: 2016-08-10 15:17:21 +0530 ARM: dra7xx_evm: Enable regulator DM support Enable DM based regulator framework and also fixed regulator support as some IPs like mmc use regulators for there functioning. Signed-off-by: Vignesh R <vigneshr@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / configs/dra7xx_evm_defconfig | 3 +++ configs/dra7xx_hs_evm_defconfig | 3 +++ 2 files changed, 6 insertions(+) ------------------------------------------------------------------------------- commit 257bdb3f665117a6c5b34a4fd797778f98bd5d22 Author: Vignesh R <vigneshr@ti.com> Date: 2016-08-10 15:17:20 +0530 ARM: dts: dra7xx-evm: add evm_3v3_sd regulator Add a node for evm_3v3_sd using onboard PCF GPIO expander which feeds on to mmc vdd. Update mapping for vmmc-supply and vmmc_aux-supply. evm_3v3_sd supplies to SD card vdd, and ldo1 to sdcard i/o lines. Signed-off-by: Vignesh R <vigneshr@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / arch/arm/dts/dra7-evm.dts | 12 +++++++++++- arch/arm/dts/dra72-evm.dts | 12 +++++++++++- 2 files changed, 22 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit eba3fbd6a12b1c4a75c24135535075f0d0fb8074 Author: Andreas Dannenberg <dannenberg@ti.com> Date: 2016-07-27 12:12:39 -0500 common: image: Add support for post-processing of images This commit allows injecting a board/platform/device-specific post- processing function into the FIT image data loading process, which can include modifying the size and altering the starting source address of an image data artifact. This might be desired to do things like strip headers or footers attached to the images before they were packaged into the FIT, or to perform operations such as decryption or authentication. Introduce new configuration option CONFIG_FIT_IMAGE_POST_PROCESS to allow controlling this feature. If enabled, a platform-specific post- process function must be provided. Signed-off-by: Andreas Dannenberg <dannenberg@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / Kconfig | 14 ++++++++++++++ common/image-fit.c | 26 +++++++++++++++++++++++++- 2 files changed, 39 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit b25732c22beccb5a2ce3ec4174ea084ba0e176ab Author: Max Filippov <jcmvbkbc@gmail.com> Date: 2016-08-07 08:53:00 +0300 drivers/sysreset: group sysreset drivers Create drivers/sysreset and move sysreset-uclass and all sysreset drivers there. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> Acked-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/arm/mach-rockchip/rk3036/Makefile | 1 - arch/arm/mach-rockchip/rk3036/reset_rk3036.c | 45 ------------ arch/arm/mach-rockchip/rk3288/Makefile | 1 - arch/arm/mach-rockchip/rk3288/reset_rk3288.c | 47 ------------- arch/arm/mach-rockchip/rk3399/Makefile | 1 - arch/arm/mach-rockchip/rk3399/reset_rk3399.c | 45 ------------ arch/arm/mach-snapdragon/Makefile | 1 - arch/arm/mach-snapdragon/reset.c | 40 ----------- drivers/Kconfig | 2 + drivers/Makefile | 3 +- drivers/misc/Kconfig | 9 --- drivers/misc/Makefile | 2 - drivers/misc/sysreset-uclass.c | 81 --------------------- drivers/misc/sysreset_sandbox.c | 101 --------------------------- drivers/sysreset/Kconfig | 16 +++++ drivers/sysreset/Makefile | 15 ++++ drivers/sysreset/sysreset-uclass.c | 81 +++++++++++++++++++++ drivers/sysreset/sysreset_rk3036.c | 45 ++++++++++++ drivers/sysreset/sysreset_rk3288.c | 47 +++++++++++++ drivers/sysreset/sysreset_rk3399.c | 45 ++++++++++++ drivers/sysreset/sysreset_sandbox.c | 101 +++++++++++++++++++++++++++ drivers/sysreset/sysreset_snapdragon.c | 40 +++++++++++ 22 files changed, 394 insertions(+), 375 deletions(-) ------------------------------------------------------------------------------- commit da91cfed54ec44d88f93af2adfbdeada8ab4403e Author: Stefan Agner <stefan.agner@toradex.com> Date: 2016-08-03 13:08:55 -0700 ARM: non-sec: flush code cacheline aligned Flush operations need to be cacheline aligned to take effect, make sure to flush always complete cachelines. This avoids messages such as: CACHE: Misaligned operation at range [00900000, 009004d9] Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Tested-by: Fabio Estevam <fabio.estevam@nxp.com> Base directory -> / arch/arm/cpu/armv7/virt-v7.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 2651a052d8ab13a8609c51053ba0f693f1be3295 Author: Simon Glass <sjg@chromium.org> Date: 2016-08-05 21:35:27 -0600 i2c: Drop redundant platform data setting in drivers The i2c uclass has a default setting for per_child_platdata_auto_alloc_size so drivers do not need to set it. Remove this from drivers to avoid confusion. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Base directory -> / drivers/i2c/cros_ec_ldo.c | 1 - drivers/i2c/cros_ec_tunnel.c | 1 - drivers/i2c/intel_i2c.c | 1 - drivers/i2c/muxes/i2c-mux-uclass.c | 1 - drivers/i2c/s3c24x0_i2c.c | 2 -- 5 files changed, 6 deletions(-) ------------------------------------------------------------------------------- commit 28cd88baa3f11cdb52be3b6d0610dcf32c60871a Author: Tom Rini <trini@konsulko.com> Date: 2016-08-11 10:45:53 -0400 Merge branch 'master' of git://git.denx.de/u-boot-uniphier Base directory -> / arch/arm/mach-uniphier/Kconfig | 9 + arch/arm/mach-uniphier/arm32/Makefile | 1 + arch/arm/mach-uniphier/arm32/arm-mpcore.h | 3 + arch/arm/mach-uniphier/arm32/cache-uniphier.c | 261 ++++++++++++++++------ arch/arm/mach-uniphier/arm32/cache-uniphier.h | 21 ++ arch/arm/mach-uniphier/arm32/late_lowlevel_init.S | 10 +- arch/arm/mach-uniphier/arm32/lowlevel_init.S | 61 ++--- arch/arm/mach-uniphier/arm32/psci.c | 153 +++++++++++++ arch/arm/mach-uniphier/arm32/psci_smp.S | 40 ++++ arch/arm/mach-uniphier/arm32/ssc-regs.h | 68 ------ arch/arm/mach-uniphier/debug.h | 68 ++++++ arch/arm/mach-uniphier/sbc/sbc-regs.h | 4 +- include/configs/uniphier.h | 14 +- 13 files changed, 537 insertions(+), 176 deletions(-) ------------------------------------------------------------------------------- commit 2f1eb66e2881a780e622e7fd50b3a497677fd373 Author: Tom Rini <trini@konsulko.com> Date: 2016-08-11 07:22:55 -0400 Merge branch 'master' of git://git.denx.de/u-boot-usb Base directory -> / arch/arm/dts/ls1021a.dtsi | 2 +- configs/axs103_defconfig | 1 + configs/ls1021aqds_ddr4_nor_defconfig | 1 + configs/ls1021aqds_ddr4_nor_lpuart_defconfig | 1 + configs/ls1021aqds_nor_defconfig | 1 + configs/ls1021aqds_nor_lpuart_defconfig | 1 + drivers/usb/eth/asix88179.c | 263 ++++++++++++++++++++++++--- drivers/usb/eth/r8152.c | 237 +++++++++++++++++++++--- drivers/usb/eth/r8152.h | 4 + drivers/usb/eth/r8152_fw.c | 2 + drivers/usb/host/Kconfig | 59 +++++- drivers/usb/host/ehci-fsl.c | 194 ++++++++++++++++---- drivers/usb/host/ehci-mx6.c | 144 +++++++++++++-- drivers/usb/host/xhci-fsl.c | 83 ++++++++- include/configs/am43xx_evm.h | 1 - include/configs/am57xx_evm.h | 1 - include/configs/cm_t43.h | 1 - include/configs/cm_t54.h | 1 - include/configs/dra7xx_evm.h | 1 - include/configs/duovero.h | 1 - include/configs/omap4_panda.h | 1 - include/configs/omap5_uevm.h | 1 - 22 files changed, 885 insertions(+), 116 deletions(-) ------------------------------------------------------------------------------- commit e8a9293295a1a54f6e43970bed2d3bfd124be02c Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-08-10 16:08:49 +0900 ARM: uniphier: add PSCI support for UniPhier ARMv7 SoCs Currently, only the CPU_ON function is supported. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Base directory -> / arch/arm/mach-uniphier/Kconfig | 2 + arch/arm/mach-uniphier/arm32/Makefile | 1 + arch/arm/mach-uniphier/arm32/arm-mpcore.h | 3 + arch/arm/mach-uniphier/arm32/psci.c | 153 ++++++++++++++++++++++++++++++ arch/arm/mach-uniphier/arm32/psci_smp.S | 40 ++++++++ arch/arm/mach-uniphier/debug.h | 68 +++++++++++++ arch/arm/mach-uniphier/sbc/sbc-regs.h | 4 +- include/configs/uniphier.h | 7 +- 8 files changed, 275 insertions(+), 3 deletions(-) ------------------------------------------------------------------------------- commit ee9bc77f3abe316126c2413c77dddac2401214a8 Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-08-10 16:08:48 +0900 ARM: uniphier: add uniphier_cache_set_active_ways() This outer cache allows to control active ways independently for each CPU, so this function will be useful to set up active ways for a specific CPU. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Base directory -> / arch/arm/mach-uniphier/arm32/cache-uniphier.c | 22 +++++++++++++++++++++- arch/arm/mach-uniphier/arm32/cache-uniphier.h | 1 + 2 files changed, 22 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 5941638027b62d0d8c1a5881b38d53a13ebcc5e1 Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-08-10 16:08:47 +0900 ARM: uniphier: add uniphier_cache_inv_way() to support way invalidation This invalidates entries in specified ways of the outer cache. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Base directory -> / arch/arm/mach-uniphier/arm32/cache-uniphier.c | 10 +++++++++- arch/arm/mach-uniphier/arm32/cache-uniphier.h | 1 + 2 files changed, 10 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 8fca073271706f3d856c6554c2b5400ac9c83c10 Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-08-10 16:08:46 +0900 ARM: uniphier: fix CONFIG_SYS_CACHELINE_SIZE when outer cache is on The UniPhier outer cache (L2 cache on ARMv7 SoCs) has 128 byte line length and its tags are also managed per 128 byte line. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Base directory -> / include/configs/uniphier.h | 4 ++++ 1 file changed, 4 insertions(+) ------------------------------------------------------------------------------- commit 7382d1782648e6e8e5be878e9b9a3cbfd1912001 Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-08-10 16:08:45 +0900 ARM: uniphier: move (and rename) CONFIG_UNIPHIER_L2CACHE_ON to Kconfig Move this option to Kconfig, renaming it into CONFIG_CACHE_UNIPHIER. The new option name makes sense enough, and the same as Linux has. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Base directory -> / arch/arm/mach-uniphier/Kconfig | 7 +++++++ arch/arm/mach-uniphier/arm32/cache-uniphier.c | 2 +- include/configs/uniphier.h | 3 --- 3 files changed, 8 insertions(+), 4 deletions(-) ------------------------------------------------------------------------------- commit 95646e1d756151ce469d0d1eb6144b4ff050b843 Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-08-10 16:08:44 +0900 ARM: uniphier: move outer cache register macros to .c file Now, all of these macros are only used in cache-uniphier.c, so there is no need to export them in a header file. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Base directory -> / arch/arm/mach-uniphier/arm32/cache-uniphier.c | 56 +++++++++++++++++++++- arch/arm/mach-uniphier/arm32/ssc-regs.h | 68 --------------------------- 2 files changed, 55 insertions(+), 69 deletions(-) ------------------------------------------------------------------------------- commit c21fadfe17b723a39328272bf03b080fa93a0b0c Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-08-10 16:08:43 +0900 ARM: uniphier: reuse uniphier_cache_disable() for lowlevel_init The DRAM is available at this point, so setup the temporary stack and call the C function to reduce the code duplication a bit. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Base directory -> / arch/arm/mach-uniphier/arm32/late_lowlevel_init.S | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) ------------------------------------------------------------------------------- commit 6f579db75411973200224307d6a84d82fc01bb96 Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-08-10 16:08:42 +0900 ARM: uniphier: export uniphier_cache_enable/disable functions The System Cache (outer cache) is used not only as L2 cache, but also as locked SRAM. The functions for turning on/off it is necessary whether the L2 cache is enabled or not. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Base directory -> / arch/arm/mach-uniphier/arm32/cache-uniphier.c | 34 +++++++++++++++++++-------- arch/arm/mach-uniphier/arm32/cache-uniphier.h | 2 ++ 2 files changed, 26 insertions(+), 10 deletions(-) ------------------------------------------------------------------------------- commit bcc51c1512a3deb6a9fdd37362c6dde32ad3da23 Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-08-10 16:08:41 +0900 ARM: uniphier: move lowlevel debug init code after page table switch As the sLD3 Boot ROM has a complex page table, it is difficult to set up the debug UART with enabling it. It will be much easier to initialize the UART port after switching over to the straight-mapped page table. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Base directory -> / arch/arm/mach-uniphier/arm32/lowlevel_init.S | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) ------------------------------------------------------------------------------- commit 82d075e79fa509ffb8ecd8dd2dc216929d6e8289 Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-08-10 16:08:40 +0900 ARM: uniphier: fix ROM boot mode for PH1-sLD3 Commit 4b50369fb535 ("ARM: uniphier: create early page table at run-time") broke the ROM boot mode for PH1-sLD3 SoC, because the run-time page table creation requires the outer cache register access but the page table in the sLD3 Boot ROM does not straight-map virtual/physical addresses. The idea here is to check the current page table to determine if it is a straight map table. If not, adjust the outer cache register base. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Base directory -> / arch/arm/mach-uniphier/arm32/lowlevel_init.S | 5 +++++ 1 file changed, 5 insertions(+) ------------------------------------------------------------------------------- commit 0efbbc5c613b28614eb3323145b5d3eda4a33188 Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-08-10 16:08:39 +0900 ARM: uniphier: refactor L2 zero-touching code in lowlevel_init Here, the ldr pseudo-instruction falls into the ldr + data set. The register access by [r1, #offset] produces shorter code. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Base directory -> / arch/arm/mach-uniphier/arm32/lowlevel_init.S | 48 +++++++++++++--------------- 1 file changed, 22 insertions(+), 26 deletions(-) ------------------------------------------------------------------------------- commit e731a5385d1e8b0ffaa69977899dc4246de53db4 Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-08-10 16:08:38 +0900 ARM: uniphier: do not compile v7_outer_cache_disable if L2 is disabled If CONFIG_UNIPHIER_L2CACHE_ON is undefined, the L2 cache is never enabled, so there is no need for v7_outer_cache_disable(). The weak stub avoids the compile error anyway. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Base directory -> / arch/arm/mach-uniphier/arm32/cache-uniphier.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 95a1feca2e852ade552495e3688c5ef2afae68aa Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-08-10 16:08:37 +0900 ARM: uniphier: support prefetch and touch operations for outer cache The UniPhier outer cache (L2 cache on ARMv7 SoCs) can be used as SRAM by locking ways. These functions will be used to transfer the trampoline code for SMP into the locked SRAM. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Base directory -> / arch/arm/mach-uniphier/arm32/cache-uniphier.c | 50 +++++++++++++++++++++------ arch/arm/mach-uniphier/arm32/cache-uniphier.h | 17 +++++++++ 2 files changed, 57 insertions(+), 10 deletions(-) ------------------------------------------------------------------------------- commit 3ffc7475747e455c937339ab7c935af8e5edb2d1 Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-08-10 16:08:36 +0900 ARM: uniphier: refactor outer cache code Unify the range/all operation routines into the common function, uniphier_cache_maint_common(), and sync code with Linux a bit more. This reduces the code duplication. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Base directory -> / arch/arm/mach-uniphier/arm32/cache-uniphier.c | 99 ++++++++++++++------------- 1 file changed, 52 insertions(+), 47 deletions(-) ------------------------------------------------------------------------------- commit 2e406dbdf5fa6d178c50a2f537588de9f8615d35 Author: Tom Rini <trini@konsulko.com> Date: 2016-08-09 07:16:01 -0400 Merge git://www.denx.de/git/u-boot-ppc4xx Base directory -> / arch/powerpc/cpu/ppc4xx/start.S | 66 ++++++++++++++++++++++++++++------------- 1 file changed, 45 insertions(+), 21 deletions(-) ------------------------------------------------------------------------------- commit 76b2fad775ee3cb58788b11454655ba5a244ac56 Author: Alban Bedel <alban.bedel@avionic-design.de> Date: 2016-08-09 11:10:03 +0200 eth: asix88179: Add support for the driver model Adjust this driver to support driver model for Ethernet. Signed-off-by: Alban Bedel <alban.bedel@avionic-design.de> Base directory -> / drivers/usb/eth/asix88179.c | 184 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 184 insertions(+) ------------------------------------------------------------------------------- commit 620452e7aed023205d9432e0f3476906018ad688 Author: Alban Bedel <alban.bedel@avionic-design.de> Date: 2016-08-09 11:10:02 +0200 eth: asix88179: Prepare supporting the driver model Change the prototype of a few functions to allow resuing the code for the driver model. Signed-off-by: Alban Bedel <alban.bedel@avionic-design.de> Base directory -> / drivers/usb/eth/asix88179.c | 75 ++++++++++++++++++++++++++++----------------- 1 file changed, 47 insertions(+), 28 deletions(-) ------------------------------------------------------------------------------- commit 54a0eb7a18b5120d609188e46a1b71e98d6af44b Author: Dirk Eibach <dirk.eibach@gdsys.cc> Date: 2016-08-01 16:34:49 +0200 ppc4xx: Fix platform support Commit "ecc3066 Fix board init code to respect the C runtime environment" broke platform support for ppc4xx. start.S prepares a stackframe that is later rendered unusable by appending the reserved space for global data. Instead the reserved space has to be put first. Then the stackframe can be pushed. I can only test the 405EP OCM case. At least all other ppc4xx boards still build. Signed-off-by: Dirk Eibach <dirk.eibach@gdsys.cc> Signed-off-by: Stefan Roese <sr@denx.de> Base directory -> / arch/powerpc/cpu/ppc4xx/start.S | 66 ++++++++++++++++++++++++++++------------- 1 file changed, 45 insertions(+), 21 deletions(-) ------------------------------------------------------------------------------- commit 95def3cf5d24aebbcdffe6c4fc1a39288cf00b6a Author: Vignesh R <vigneshr@ti.com> Date: 2016-07-25 16:26:45 +0530 i2c: i2c-uclass-compat: avoid any BSS usage As I2C can be used before DRAM initialization for reading EEPROM, avoid using static variables stored in BSS, since BSS is in DRAM, which may not have been initialised yet. Explicitly mark "static global" variables as belonging to the .data section. Signed-off-by: Vignesh R <vigneshr@ti.com> Acked-by: Heiko Schocher<hs@denx.de> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/i2c/i2c-uclass-compat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 0812d1a094c402db4fc25ca988113a6d6663c70f Author: Alexander Graf <agraf@suse.de> Date: 2016-08-05 14:51:47 +0200 efi_loader: disk: Sanitize exposed devices When a target device is 0 bytes long, there's no point in exposing it to the user. Let's just skip them. Also, when an offset is passed into the efi disk creation, we should remove this offset from the total number of sectors we can handle. This patch fixes both things. Signed-off-by: Alexander Graf <agraf@suse.de> Base directory -> / lib/efi_loader/efi_disk.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit f9d334bdfce2358c6eada4138a2102afc46fb124 Author: Alexander Graf <agraf@suse.de> Date: 2016-08-05 14:49:53 +0200 efi_loader: disk: Fix CONFIG_BLK breakage When using CONFIG_BLK, there were 2 issues: 1) The name we generate the device with has to match the name we set in efi_set_bootdev() 2) The device we pass into our block functions was wrong, we should not rediscover it but just use the already known pointer. This patch fixes both issues. Signed-off-by: Alexander Graf <agraf@suse.de> Base directory -> / cmd/bootefi.c | 23 ++++++++++++++++++----- lib/efi_loader/efi_disk.c | 18 +++++++++++------- 2 files changed, 29 insertions(+), 12 deletions(-) ------------------------------------------------------------------------------- commit 45313e83b842ab31464e2593ab2e39aa0287fbf7 Author: Simon Glass <sjg@chromium.org> Date: 2016-08-04 21:58:14 -0600 tiny-printf: Adjust to avoid using data section We can pass all the variables down to the functions that need them, and then everything is on the stack. This is safer than using the data section. At least on firefly-rk3288, the code size is the same and the data size is 12 bytes smaller: before: 18865 2636 40 21541 5425 b/firefly-rk3288/spl/u-boot-spl after: 18865 2624 40 21529 5419 b/firefly-rk3288/spl/u-boot-spl Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Stefan Roese <sr@denx.de> Base directory -> / lib/tiny-printf.c | 102 +++++++++++++++++++++++++++++++----------------------- 1 file changed, 58 insertions(+), 44 deletions(-) ------------------------------------------------------------------------------- commit 43caa9a8790e0235f82f15be8dce37bfe4715865 Author: Mugunthan V N <mugunthanvnm@ti.com> Date: 2016-08-02 12:01:15 +0530 configs: k2l_evm: add random eth address support There is only one ethernet mac address in e-fuse, but there are multiple slaves in keystone net, so enable random mac address support. Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / configs/k2l_evm_defconfig | 2 ++ 1 file changed, 2 insertions(+) ------------------------------------------------------------------------------- commit 868a3a6bad4709586ec3f9bef229862773560a7a Author: Mugunthan V N <mugunthanvnm@ti.com> Date: 2016-08-02 12:01:14 +0530 configs: k2e_evm: add random eth address support There is only one ethernet mac address in e-fuse, but there are multiple slaves in keystone net, so enable random mac address support. Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / configs/k2e_evm_defconfig | 2 ++ 1 file changed, 2 insertions(+) ------------------------------------------------------------------------------- commit 02c1e2ff87d44e019d6cc7af01427384a399a22a Author: Mugunthan V N <mugunthanvnm@ti.com> Date: 2016-08-02 12:01:13 +0530 configs: k2hk_evm: add random eth address support There is only one ethernet mac address in e-fuse, but there are multiple slaves in keystone net, so enable random mac address support. Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / configs/k2hk_evm_defconfig | 2 ++ 1 file changed, 2 insertions(+) ------------------------------------------------------------------------------- commit a61f6a55954c6242105f39aa74a7e3b7e42ce3a5 Author: Mugunthan V N <mugunthanvnm@ti.com> Date: 2016-08-02 12:01:12 +0530 drivers: net: keystone_net: add support for multi slave ethernet Keystone net can have multiple ethernet slaves, currently only slave 1 is supported by the driver. Register multiple slaves as individual ethernets to network framework. Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / drivers/net/keystone_net.c | 222 ++++++++++++++++++++++++++++++++++++--------- 1 file changed, 177 insertions(+), 45 deletions(-) ------------------------------------------------------------------------------- commit 1610a9212affc5cb45b121dbbd8637a07ea77142 Author: Mugunthan V N <mugunthanvnm@ti.com> Date: 2016-08-02 12:01:11 +0530 drivers: net: keystone_net: fix line termination with semi-colon Each line should be terminated by semi-colon. It was not caught earlier as there is a proper statement. Fix it by changing the comma with semi-colon. Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / drivers/net/keystone_net.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) ------------------------------------------------------------------------------- commit ceec08f50b66df0c988033842ec057a32658cfe0 Author: Vignesh R <vigneshr@ti.com> Date: 2016-08-02 10:14:28 +0530 ARM: dts: dra72-evm: Add mode-gpios entry for mac node On DRA72 EVM, cpsw slave1 is muxed with VIN2A, hence switch to cpsw slave0 for ethernet. This is controlled by pcf gpio line. Add appropriate mode-gpios DT entry so that driver can select the required slave. Signed-off-by: Vignesh R <vigneshr@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Mugunthan V N <mugunthanvnm@ti.com> Base directory -> / arch/arm/dts/dra72-evm.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 2e205ef7eb9e7793e922d0b6cd0fe4181309c058 Author: Vignesh R <vigneshr@ti.com> Date: 2016-08-02 10:14:27 +0530 net: cpsw: Add support to drive gpios for ethernet to be functional On DRA72 EVM, cpsw slaves may be muxed with other modules. This selection is controlled by a pcf gpio line. Add support for cpsw driver to acquire mode-gpios and select the appropriate slave using gpio APIs. Signed-off-by: Vignesh R <vigneshr@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com> Reviewed-by: Mugunthan V N <mugunthanvnm@ti.com> Base directory -> / drivers/net/cpsw.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) ------------------------------------------------------------------------------- commit 06974ea0e3357823d38da0e18921c5ed5fe6d510 Author: Vignesh R <vigneshr@ti.com> Date: 2016-08-02 10:14:26 +0530 ARM: dts: dra7xx: Add u-boot specific property for PCF8575 nodes PCF8575 does not have any registers hence, offset field needs to be ignored for i2c read/write. Therefore populate u-boot,i2c-offset-len with 0 in PCF8575 DT nodes. Signed-off-by: Vignesh R <vigneshr@ti.com> Reviewed-by: Mugunthan V N <mugunthanvnm@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / arch/arm/dts/dra7-evm.dts | 1 + arch/arm/dts/dra72-evm.dts | 2 ++ 2 files changed, 3 insertions(+) ------------------------------------------------------------------------------- commit 5d4dc282b40332f50e541377df39394a01e1d435 Author: Vignesh R <vigneshr@ti.com> Date: 2016-08-02 10:14:25 +0530 ARM: dra7xx_evm: Enable support for TI PCF8575 On DRA7, pcf chip present at address 0x21 on i2c1, is used to switch between cpsw slave0 and slave1. Hence, enable PCF driver for the same. Signed-off-by: Vignesh R <vigneshr@ti.com> Reviewed-by: Mugunthan V N <mugunthanvnm@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / configs/dra7xx_evm_defconfig | 1 + configs/dra7xx_hs_evm_defconfig | 1 + 2 files changed, 2 insertions(+) ------------------------------------------------------------------------------- commit 5746b0df9c09fe5e16412118d1977b5d7cb5fed5 Author: Vignesh R <vigneshr@ti.com> Date: 2016-08-02 10:14:24 +0530 gpio: Add driver for TI PCF8575 I2C GPIO expander TI's PCF8575 is a 16-bit I2C GPIO expander.The device features a 16-bit quasi-bidirectional I/O ports. Each quasi-bidirectional I/O can be used as an input or output without the use of a data-direction control signal. The I/Os should be high before being used as inputs. Read the device documentation for more details[1]. This driver is based on pcf857x driver available in Linux v4.7 kernel. It supports basic reading and writing of gpio pins. [1] http://www.ti.com/lit/ds/symlink/pcf8575.pdf Signed-off-by: Vignesh R <vigneshr@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Mugunthan V N <mugunthanvnm@ti.com> Base directory -> / doc/device-tree-bindings/gpio/gpio-pcf857x.txt | 71 ++++++++++ drivers/gpio/Kconfig | 7 + drivers/gpio/Makefile | 1 + drivers/gpio/pcf8575_gpio.c | 180 +++++++++++++++++++++++++ 4 files changed, 259 insertions(+) ------------------------------------------------------------------------------- commit 5aa79f26762d197324866a0d0c2b31601a7fc8ee Author: Mike Looijmans <mike.looijmans@topic.nl> Date: 2016-07-26 07:34:07 +0200 spl_nor.c: Support devicetree sizes different from 16k The devicetrees for various platforms already exceed 16k. Add a define CONFIG_SYS_FDT_SIZE to specify the FDT size, and set to 16k for the two boards that define this CONFIG_SYS_FDT_BASE parameter. This allows platforms with larger devicetree blobs to boot from NOR. Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl> Base directory -> / common/spl/spl_nor.c | 4 ++-- include/configs/a3m071.h | 1 + include/configs/microblaze-generic.h | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit 50f5bb25b911fd5a876d17b8f08d432c7eff5cfe Author: Alban Bedel <alban.bedel@avionic-design.de> Date: 2016-08-03 08:14:41 +0200 eth: asix88179: Fix receiving on big endian system In asix_recv() the call to convert the endianess of the receive header was applied on the wrong variable. Instead of converting rx_hdr it converted pkt_hdr which is a pointer, and not yet initialiazed at this point. Signed-off-by: Alban Bedel <alban.bedel@avionic-design.de> Base directory -> / drivers/usb/eth/asix88179.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 652b269468efe15053a989353aed9723c2484c55 Author: Alban Bedel <alban.bedel@avionic-design.de> Date: 2016-08-03 08:14:40 +0200 eth: asix88179: Add VID:DID for Cypress GX3 USB Ethernet Adapter Added support for the Cypress GX3 SuperSpeed to Gigabit Ethernet Bridge Controller (VID_04b4/PID_3610). Signed-off-by: Alban Bedel <alban.bedel@avionic-design.de> Base directory -> / drivers/usb/eth/asix88179.c | 2 ++ 1 file changed, 2 insertions(+) ------------------------------------------------------------------------------- commit 631ae2674fe992d3a532083fed86dfefbee2f18c Author: Rajesh Bhagat <rajesh.bhagat@nxp.com> Date: 2016-07-01 18:51:49 +0530 arm: ls1021a: Enable CONFIG_DM_USB in defconfigs Enables driver model flag CONFIG_DM_USB for LS1021A platform defconfigs. Signed-off-by: Rajesh Bhagat <rajesh.bhagat@nxp.com> Base directory -> / configs/ls1021aqds_ddr4_nor_defconfig | 1 + configs/ls1021aqds_ddr4_nor_lpuart_defconfig | 1 + configs/ls1021aqds_nor_defconfig | 1 + configs/ls1021aqds_nor_lpuart_defconfig | 1 + 4 files changed, 4 insertions(+) ------------------------------------------------------------------------------- commit a866c2145a20ac21c98a9c001ce9b05a11bf45b3 Author: Rajesh Bhagat <rajesh.bhagat@nxp.com> Date: 2016-07-01 18:51:48 +0530 dm: ls1021a: dts: Update USB 3.0 node to support DM USB Update USB 3.0 controller dts node in ls1021a.dtsi. Signed-off-by: Rajesh Bhagat <rajesh.bhagat@nxp.com> Base directory -> / arch/arm/dts/ls1021a.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 707c866f3def6ef91bc037c07c9f0f76592356d5 Author: Rajesh Bhagat <rajesh.bhagat@nxp.com> Date: 2016-07-01 18:51:47 +0530 usb: xhci: fsl: Add code to use CONFIG_DM_USB Adds code to use driver model for USB XHCI FSL driver Signed-off-by: Rajesh Bhagat <rajesh.bhagat@nxp.com> Base directory -> / drivers/usb/host/xhci-fsl.c | 83 ++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 82 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit ba699a5f910418e021ddd1cb8d0861a9080ae651 Author: Rajesh Bhagat <rajesh.bhagat@nxp.com> Date: 2016-07-01 18:51:46 +0530 usb: ehci: fsl: Add code to use CONFIG_DM_USB Adds code to use driver model for USB EHCI FSL driver Signed-off-by: Rajesh Bhagat <rajesh.bhagat@nxp.com> Base directory -> / drivers/usb/host/ehci-fsl.c | 131 ++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 127 insertions(+), 4 deletions(-) ------------------------------------------------------------------------------- commit 1e61ce9f7ef5fc2e551322aa990d76a918515a20 Author: Rajesh Bhagat <rajesh.bhagat@nxp.com> Date: 2016-07-01 18:51:45 +0530 drivers: usb: fsl: Make function for initialization to use in CONFIG_DM_USB Moves code from ehci_hcd_init to new function ehci_fsl_init which can be re-used in CONFIG_DM_USB. Signed-off-by: Rajesh Bhagat <rajesh.bhagat@nxp.com> Base directory -> / drivers/usb/host/ehci-fsl.c | 63 ++++++++++++++++++++++++++------------------- 1 file changed, 36 insertions(+), 27 deletions(-) ------------------------------------------------------------------------------- commit 2b58e1b76d2630f67e642a273f0975a11ead428d Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-08-01 00:16:34 +0900 usb: add (move) CONFIG_USB_HOST to Kconfig The meaning of CONFIG_USB in U-Boot is different from that in Linux. As you see in drivers/usb/Kconfig of Linux, CONFIG_USB enables the USB host controller support, while CONFIG_USB_SUPPORT is used to enable the whole of the USB sub-system. When I added CONFIG_USB into Kconfig by commit 6e7e9294d321 ("usb: add basic USB configs in Kconfig"), I planned to follow the Linux's convention, i.e. CONFIG_USB to enable/disable the USB host support. Then, commit 68f7c5db2d1e ("usb: Generic USB Kconfig option, that fits both host and gadget and comments") changed the logic of the CONFIG_USB to point to the whole of the USB sub-system. As a result, currently we do not have an option for USB host. This commit adds CONFIG_USB_HOST, which will be useful to compile in the USB host support code. CONFIG_USB_HOST is not referenced at all, but strangely some boards define it in board headers. I removed them because USB_HOST will be selected in Kconfig going forward. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Base directory -> / drivers/usb/host/Kconfig | 7 +++++++ include/configs/am43xx_evm.h | 1 - include/configs/am57xx_evm.h | 1 - include/configs/cm_t43.h | 1 - include/configs/cm_t54.h | 1 - include/configs/dra7xx_evm.h | 1 - include/configs/duovero.h | 1 - include/configs/omap4_panda.h | 1 - include/configs/omap5_uevm.h | 1 - 9 files changed, 7 insertions(+), 8 deletions(-) ------------------------------------------------------------------------------- commit 96d8284bd59ad99aae7fcd5ce3cc95e4aef782dc Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-08-01 00:16:33 +0900 usb: add CONFIG_USB_UHCI_HCD in Kconfig There is no UHCI driver entry in Kconfig for now, but we have some UHCI drivers, for example, LEON. This is a placeholder in case we want to move them to Kconfig in the future. The help message was copied from Linux. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Base directory -> / drivers/usb/host/Kconfig | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) ------------------------------------------------------------------------------- commit 93cb82477df06ab4f5fdda99a19d3f1b2b7c2eee Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-08-01 00:16:32 +0900 usb: add CONFIG_USB_OHCI_HCD in Kconfig Add this option as a common config for all OHCI controllers. Its help message was copied from Linux. Also, I moved it below EHCI to respect the order in Linux's Kconfig. Add CONFIG_USB_OHCI_HCD=y to axs103_defconfig, which is the only user of OHCI_GENERIC. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Base directory -> / configs/axs103_defconfig | 1 + drivers/usb/host/Kconfig | 35 +++++++++++++++++++++++++---------- 2 files changed, 26 insertions(+), 10 deletions(-) ------------------------------------------------------------------------------- commit 6688452a3bf80a1a131047579af8f881dd2e32c3 Author: Stefan Roese <sr@denx.de> Date: 2016-06-29 07:58:05 +0200 net: usb: r8152: Add DM support Add support for driver model, so that CONFIG_DM_ETH can be defined and used with this driver. This patch also adds the read_rom_hwaddr() callback so that the ROM MAC address will be used to the DM part of this driver. Signed-off-by: Stefan Roese <sr@denx.de> Cc: Stephen Warren <swarren@nvidia.com> Cc: Ted Chen <tedchen@realtek.com> Reviewed-by: Simon Glass <sjg@chromium.org> Cc: Joe Hershberger <joe.hershberger@ni.com> Base directory -> / drivers/usb/eth/r8152.c | 237 ++++++++++++++++++++++++++++++++++++++++----- drivers/usb/eth/r8152.h | 4 + drivers/usb/eth/r8152_fw.c | 2 + 3 files changed, 221 insertions(+), 22 deletions(-) ------------------------------------------------------------------------------- commit bb42fb4f102883dafcb14aa585cb45dd13228b4f Author: Peng Fan <van.freenix@gmail.com> Date: 2016-06-17 14:19:27 +0800 dm: ehci-mx6: support driver model Support driver model for ehci mx6 driver. Consolidate code to be shared between DM and non-DM, such as introducing ehci_mx6_common_init. For simplicity, some old fasion code are keeped for DM usage, such as board_ehci_power and board_usb_phy_mode. And 'dr-mode', usbphy and vbus handling code for DM is not added now. These will be added in future patches. Signed-off-by: Peng Fan <peng.fan@nxp.com> Cc: Marek Vasut <marex@denx.de> Cc: Mateusz Kulikowski <mateusz.kulikowski@gmail.com> Cc: Stefan Agner <stefan@agner.ch> Cc: Simon Glass <sjg@chromium.org> Base directory -> / drivers/usb/host/ehci-mx6.c | 144 +++++++++++++++++++++++++++++++++++++++----- 1 file changed, 130 insertions(+), 14 deletions(-) ------------------------------------------------------------------------------- commit 5405817a6e7a6538c4bcb1c3076ddc83fe5d03f9 Author: Chin Liang See <clsee@altera.com> Date: 2016-08-07 22:50:40 +0800 spi: cadence_qspi_apb: Ensure baudrate doesn't exceed max value Ensuring the baudrate divisor value doesn't exceed the max value in the calculation.It will be capped at max value to ensure the correct value being written into the register. Example of the existing bug is when calculated div = 16. After and with the mask, the value written to register is actually 0 (register field for baudrate divisor). With this fix, the value written is now 15 which is max value for baudrate divisor. Signed-off-by: Chin Liang See <clsee@altera.com> Cc: Marek Vasut <marex@denx.de> Cc: Jagan Teki <jteki@openedev.com> Cc: Dinh Nguyen <dinguyen@altera.com> Base directory -> / drivers/spi/cadence_qspi_apb.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit 2da375c9194ad85fc117088a8ebbca192b685207 Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-07-25 01:38:53 +0900 ARM: socfpga: use the default CONFIG_BOOTDELAY=2 This option controls how long it should be paused before entering the auto-boot mode. The default value from Kconfig should be fine except socfpga_vining_fpga_defconfig. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Base directory -> / configs/socfpga_arria5_defconfig | 1 - configs/socfpga_cyclone5_defconfig | 1 - configs/socfpga_de0_nano_soc_defconfig | 1 - configs/socfpga_is1_defconfig | 1 - configs/socfpga_mcvevk_defconfig | 1 - configs/socfpga_sockit_defconfig | 1 - configs/socfpga_socrates_defconfig | 1 - configs/socfpga_sr1500_defconfig | 1 - 8 files changed, 8 deletions(-) ------------------------------------------------------------------------------- commit 2863a9bfc29092be37f8beee230883367b057065 Author: Tom Rini <trini@konsulko.com> Date: 2016-08-06 11:38:14 -0400 Merge git://git.denx.de/u-boot-rockchip Base directory -> / arch/arm/dts/Makefile | 1 + arch/arm/dts/rk3036-sdk.dts | 2 - arch/arm/dts/rk3288-miniarm.dts | 61 ++ arch/arm/dts/rk3288-miniarm.dtsi | 533 +++++++++++++++ arch/arm/dts/rk3288-rock2-square.dts | 2 +- arch/arm/dts/rk3288-veyron.dtsi | 2 +- arch/arm/dts/rk3399-evb.dts | 4 + arch/arm/dts/rk3399.dtsi | 4 +- arch/arm/include/asm/arch-rockchip/cru_rk3399.h | 93 +++ arch/arm/mach-rockchip/rk3288/Kconfig | 14 +- arch/arm/mach-rockchip/rk3399/Makefile | 2 + arch/arm/mach-rockchip/rk3399/reset_rk3399.c | 45 ++ arch/arm/mach-rockchip/rk3399/syscon_rk3399.c | 20 + board/rockchip/evb_rk3036/evb_rk3036.c | 46 ++ board/rockchip/kylin_rk3036/kylin_rk3036.c | 46 ++ board/rockchip/miniarm_rk3288/Kconfig | 15 + board/rockchip/miniarm_rk3288/MAINTAINERS | 6 + board/rockchip/miniarm_rk3288/Makefile | 7 + board/rockchip/miniarm_rk3288/miniarm-rk3288.c | 15 + configs/evb-rk3399_defconfig | 1 + configs/miniarm-rk3288_defconfig | 65 ++ doc/README.rockchip | 9 +- drivers/clk/Makefile | 3 +- drivers/clk/clk_rk3036.c | 386 ----------- drivers/clk/clk_rk3288.c | 851 ------------------------ drivers/clk/rockchip/Makefile | 9 + drivers/clk/rockchip/clk_rk3036.c | 382 +++++++++++ drivers/clk/rockchip/clk_rk3288.c | 847 +++++++++++++++++++++++ drivers/clk/rockchip/clk_rk3399.c | 832 +++++++++++++++++++++++ include/configs/miniarm_rk3288.h | 26 + include/configs/rk3036_common.h | 21 +- include/configs/rk3288_common.h | 11 + include/configs/rk3399_common.h | 15 + 33 files changed, 3124 insertions(+), 1252 deletions(-) ------------------------------------------------------------------------------- commit f2df3b6e9935c964cd33d2ca59079b3f176697d3 Author: Tom Rini <trini@konsulko.com> Date: 2016-08-05 17:34:55 -0400 zynq_sdhci.c: Fix warning in arasan_sdhci_probe We no longer need to set 'caps' as it's not passed to sdhci_setup_cfg anymore. Fixes: 14bed52d276a ("mmc: sdhci: remove the unnecessary arguments for sdhci_setup_cfg") Signed-off-by: Tom Rini <trini@konsulko.com> Base directory -> / drivers/mmc/zynq_sdhci.c | 2 -- 1 file changed, 2 deletions(-) ------------------------------------------------------------------------------- commit 7edb17670cdca0ee5de8b8eb61753ad6b7fc33e6 Author: Tom Rini <trini@konsulko.com> Date: 2016-08-05 14:09:15 -0400 Merge branch 'master' of git://git.denx.de/u-boot-tegra Base directory -> / arch/arm/dts/tegra186.dtsi | 270 +++++- arch/arm/mach-tegra/board186.c | 7 +- .../firmware/nvidia,tegra186-bpmp.txt | 104 +++ .../i2c/nvidia,tegra186-bpmp-i2c.txt | 42 + .../mailbox/nvidia,tegra186-hsp.txt | 52 ++ drivers/mailbox/tegra-hsp.c | 47 +- include/dt-bindings/clock/tegra186-clock.h | 940 +++++++++++++++++++++ include/dt-bindings/mailbox/tegra-hsp.h | 14 - include/dt-bindings/mailbox/tegra186-hsp.h | 19 + include/dt-bindings/power/tegra186-powergate.h | 29 + include/dt-bindings/reset/tegra186-reset.h | 206 +++++ 11 files changed, 1698 insertions(+), 32 deletions(-) ------------------------------------------------------------------------------- commit a60d94b204412732409e70cb15236bd96d4da7d9 Author: Tom Rini <trini@konsulko.com> Date: 2016-08-05 09:15:55 -0400 Merge branch 'master' of git://git.denx.de/u-boot-mmc Base directory -> / drivers/mmc/arm_pl180_mmci.c | 2 +- drivers/mmc/bfin_sdh.c | 10 ++++---- drivers/mmc/davinci_mmc.c | 11 +++++---- drivers/mmc/dw_mmc.c | 12 +++++---- drivers/mmc/exynos_dw_mmc.c | 2 +- drivers/mmc/fsl_esdhc.c | 14 +++++------ drivers/mmc/ftsdc010_mci.c | 10 ++++---- drivers/mmc/gen_atmel_mci.c | 10 ++++---- drivers/mmc/mmc-uclass.c | 2 +- drivers/mmc/mmc.c | 18 +++++++------- drivers/mmc/mmc_spi.c | 11 +++++---- drivers/mmc/msm_sdhci.c | 4 +-- drivers/mmc/mvebu_mmc.c | 9 ++++--- drivers/mmc/mxcmmc.c | 6 ++--- drivers/mmc/mxsmmc.c | 18 +++++++------- drivers/mmc/omap_hsmmc.c | 18 +++++++------- drivers/mmc/rockchip_sdhci.c | 8 ++---- drivers/mmc/s3c_sdi.c | 4 +-- drivers/mmc/s5p_sdhci.c | 2 +- drivers/mmc/sdhci.c | 58 ++++++++++++++++++++++---------------------- drivers/mmc/sh_mmcif.c | 8 +++--- drivers/mmc/sh_sdhi.c | 6 ++--- drivers/mmc/sunxi_mmc.c | 6 ++--- drivers/mmc/tegra_mmc.c | 7 +++--- drivers/mmc/uniphier-sd.c | 2 +- drivers/mmc/zynq_sdhci.c | 6 ++--- include/dwmmc.h | 2 +- include/mmc.h | 6 ----- include/sdhci.h | 13 +++------- 29 files changed, 135 insertions(+), 150 deletions(-) ------------------------------------------------------------------------------- commit d03a0308599bb658598848e86aadb0d140f65e0c Author: Karl Beldan <kbeldan@baylibre.com> Date: 2016-08-02 10:36:17 +0000 configs: Fix mmc rescan misuses This follows 9fd383724cf4 ("mmc: don't allow extra cmdline arguments"), and affects omapl138_lcdk and omap3_evm_quick_mmc. Signed-off-by: Karl Beldan <kbeldan@baylibre.com> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / include/configs/omapl138_lcdk.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 1b92aed253490736d1aabc88fcec21edc8aa55d0 Author: Karl Beldan <kbeldan@baylibre.com> Date: 2016-08-02 18:57:14 +0000 mkimage: Fix argument parsing with signature comment Inform getopt that '-c' requires a parameter. Fixes: a02221f29deb ("mkimage: Convert to use getopt()") Signed-off-by: Karl Beldan <kbeldan@baylibre.com> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / tools/mkimage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit f6d34651d8a21514abbfa32f44a0ec2014ef002b Author: Simon Glass <sjg@chromium.org> Date: 2016-07-31 17:35:09 -0600 test: Adjust run_command_list() to return a list of strings Return one string for each command that was executed. This seems cleaner. Suggested-by: Teddy Reed <teddy.reed@gmail.com> Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Stephen Warren <swarren@nvidia.com> Base directory -> / test/py/tests/test_vboot.py | 2 +- test/py/u_boot_console_base.py | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) ------------------------------------------------------------------------------- commit 27c087d58ab703f15211629abfa4a47f19974b9e Author: Simon Glass <sjg@chromium.org> Date: 2016-07-31 17:35:08 -0600 test: Add a function to restart U-Boot Add a proper function for this rather than using internal functions. Use it in the single call site. Also, do a restart at the end of the vboot test to reset to the normal device tree. Signed-off-by: Simon Glass <sjg@chromium.org> Suggested-by: Stephen Warren <swarren@nvidia.com> Base directory -> / test/py/tests/test_vboot.py | 5 +++-- test/py/u_boot_console_base.py | 5 +++++ 2 files changed, 8 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit 851271a71ada94d3ae52057c5cea465f4ba9f621 Author: Simon Glass <sjg@chromium.org> Date: 2016-07-31 17:35:07 -0600 test: vboot: Put each test variant in its own section Use 'cons.log.section' feature to split up the test output. This makes it easier to read. Suggested-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / test/py/tests/test_vboot.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) ------------------------------------------------------------------------------- commit ac9a23cffc517ac5b8648f97683c66f4e55175f6 Author: Simon Glass <sjg@chromium.org> Date: 2016-07-31 17:35:06 -0600 test: Rename sha to sha_algo and pass it around Rename this argument and pass it to each function that needs it, instead of making it global. Suggested-by: Stephen Warren <swarren@nvidia.com> Suggested-by: Teddy Reed <teddy.reed@gmail.com> Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / test/py/tests/test_vboot.py | 53 ++++++++++++++++++++++++--------------------- 1 file changed, 28 insertions(+), 25 deletions(-) ------------------------------------------------------------------------------- commit ec70f8a911885a6ca798ca01f99d0d367a6e07e7 Author: Simon Glass <sjg@chromium.org> Date: 2016-07-31 17:35:05 -0600 test: Drop the cmd() function Instead of this, use the existing run_and_log() function, enhanced to support a command string as well as a list of arguments. Suggested-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / test/py/tests/test_vboot.py | 22 ++++++++++++---------- test/py/u_boot_utils.py | 19 +++++-------------- 2 files changed, 17 insertions(+), 24 deletions(-) ------------------------------------------------------------------------------- commit 72f52268942c3500b1a15db5e59ab406b58a9260 Author: Simon Glass <sjg@chromium.org> Date: 2016-07-31 17:35:04 -0600 test: Fix typos in comments Fix some typos in various files introduced with the vboot test conversion. Reported-by: Teddy Reed <teddy.reed@gmail.com> Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / test/py/tests/test_vboot.py | 12 ++++++------ test/py/u_boot_console_base.py | 4 ++-- test/py/u_boot_utils.py | 4 ++-- 3 files changed, 10 insertions(+), 10 deletions(-) ------------------------------------------------------------------------------- commit 7f64b1874c22b52259a8380de13d824e6b0ce2c8 Author: Simon Glass <sjg@chromium.org> Date: 2016-07-31 17:35:03 -0600 test: Check exit status in run_and_log_expect_exception() This check was missed. Add it and make the message more verbose. Signed-off-by: Simon Glass <sjg@chromium.org> Reported-by: Tom Rini <trini@konsulko.com> Fixes: 9e17b034 (test/py: Provide a way to check that a command fails) Base directory -> / test/py/multiplexed_log.py | 2 ++ test/py/u_boot_utils.py | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit bcbd0c8fe1bdd95f07d773d076b5101a01e48287 Author: Simon Glass <sjg@chromium.org> Date: 2016-07-31 17:35:02 -0600 test: Fix typos and tidy up Fix review comments that were missed at the time. Also explain why we need to regenerate the device tree for each test. Reported-by: Teddy Reed <teddy.reed@gmail.com> Suggested-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: f6349c3c (test: Add a README) Base directory -> / test/README | 8 ++++---- test/py/tests/test_vboot.py | 6 ++++-- 2 files changed, 8 insertions(+), 6 deletions(-) ------------------------------------------------------------------------------- commit 633cc7ae96d04c4929404f439242ff68177e85ba Author: Simon Glass <sjg@chromium.org> Date: 2016-07-31 17:35:01 -0600 Makefile: Allow 'make tests' to run tests Add this shortcut for running tests. Unfortunately 'make test' cannot be used as it is an existing directory. Signed-off-by: Simon Glass <sjg@chromium.org> Suggested-by: Teddy Reed <teddy.reed@gmail.com> Base directory -> / Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 0e1709476bd4cbff2c0808c87867b6cd5286818f Author: Alexander Graf <agraf@suse.de> Date: 2016-07-30 23:13:03 +0200 armv8: mmu: Detect page table overflow in emergency pt creation We create 2 sets of page tables: One for normal operation, one for emergency (used while modifying the former). Because the page tables grow dynamically, we have code that checks for overflow. Unfortunately we didn't adjust the available space variable while creating the emergency tables, so potentially someone might run into an overflow there (not seen in real world yet though!). Fix it by properly adjusting the size as well as the base offset in emergency page table creation. Reported-by: York Sun <york.sun@nxp.com> Signed-off-by: Alexander Graf <agraf@suse.de> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / arch/arm/cpu/armv8/cache_v8.c | 4 ++++ 1 file changed, 4 insertions(+) ------------------------------------------------------------------------------- commit c2fdd34569145ad281aeea5ef16fff83d7075830 Author: Kever Yang <kever.yang@rock-chips.com> Date: 2016-07-29 11:12:18 +0800 cmd: gpt: fix the wrong size parse for the last partition The calculation of "dev_desc->lba - 34 - 1 - offset" is not correct for size '-', because both fist_usable_lba and last_usable_lba will remain 34 sectors. We can simply use 0 for size '-' because the part_efi module will decode the size and auto extend the size to maximum available size. Signed-off-by: Kever Yang <kever.yang@rock-chips.com> Base directory -> / cmd/gpt.c | 4 ++-- disk/part_efi.c | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit 584550d76ad113a072470b806cc785141632b9f5 Author: Tom Rini <trini@konsulko.com> Date: 2016-07-27 22:29:42 -0400 omap3: Drop omap3_evm_quick_* targets These config targets were added well before the Kconfig migration began as a way to demonstrate how to make these platforms work with cut down features. At this point in time they no longer serve a good purpose so remove them. Signed-off-by: Tom Rini <trini@konsulko.com> Base directory -> / arch/arm/cpu/armv7/omap3/Kconfig | 6 - board/ti/evm/Kconfig | 26 --- board/ti/evm/MAINTAINERS | 4 - configs/omap3_evm_quick_mmc_defconfig | 30 ---- configs/omap3_evm_quick_nand_defconfig | 28 ---- include/configs/omap3_evm.h | 272 ++++++++++++++++++++++++++++++- include/configs/omap3_evm_common.h | 286 --------------------------------- include/configs/omap3_evm_quick_mmc.h | 89 ---------- include/configs/omap3_evm_quick_nand.h | 91 ----------- 9 files changed, 270 insertions(+), 562 deletions(-) ------------------------------------------------------------------------------- commit abd0128eb12232948c6b7d3ad88132bb2d4897f8 Author: Heiko Stübner <heiko@sntech.de> Date: 2016-07-22 23:51:06 +0200 rockchip: remove log2 reimplementation from clock drivers The already available ilog2 function does exactly the same in the common case than the log2 function the current clock-driver reimplement. So, simply move to that one. Signed-off-by: Heiko Stuebner <heiko@sntech.de> Acked-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/clk/rockchip/clk_rk3036.c | 10 +++------- drivers/clk/rockchip/clk_rk3288.c | 10 +++------- 2 files changed, 6 insertions(+), 14 deletions(-) ------------------------------------------------------------------------------- commit 75a52bd770bcaa3fd065237538263f8e11240fe0 Author: Kever Yang <kever.yang@rock-chips.com> Date: 2016-08-04 11:45:00 +0800 config: rk3399: enable dwmmc controller Enable the rockchip dwmmc driver for rk3399 and its evb. Signed-off-by: Kever Yang <kever.yang@rock-chips.com> Acked-by: Simon Glass <sjg@chromium.org> Base directory -> / configs/evb-rk3399_defconfig | 1 + include/configs/rk3399_common.h | 1 + 2 files changed, 2 insertions(+) ------------------------------------------------------------------------------- commit da8ff82e73f559ed22a7a0da44f670088f4154f8 Author: Kever Yang <kever.yang@rock-chips.com> Date: 2016-08-04 11:44:59 +0800 dts: rk3399: enable dwmmc for sdcard rk3399 sdcard is using dwmmc controller, enable it for sdcard. SCLK_SDMMC is the clock for controller operation clock, move it to the first place. Signed-off-by: Kever Yang <kever.yang@rock-chips.com> Acked-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/arm/dts/rk3399-evb.dts | 4 ++++ arch/arm/dts/rk3399.dtsi | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit fd4b2dc05996dad7680442ed574614d3db048f86 Author: Kever Yang <kever.yang@rock-chips.com> Date: 2016-08-04 11:44:58 +0800 clock: rk3399: add support for dwmmc 400K MMC core will use 400KHz for card initialize first and then switch to higher frequency like 50MHz, we need to support both 400KHz and about 50MHz for dwmmc controller. Signed-off-by: Kever Yang <kever.yang@rock-chips.com> Acked-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/clk/rockchip/clk_rk3399.c | 29 +++++++++++++++++++++-------- 1 file changed, 21 insertions(+), 8 deletions(-) ------------------------------------------------------------------------------- commit 583b1bc029d86d87152d7819cd06cc557de6ddf9 Author: Kever Yang <kever.yang@rock-chips.com> Date: 2016-08-04 11:40:29 +0800 configs: rk3399: add gpt and fs support To compatible with distro boot, we need to add gpt and fs support, including gpt table and vfat, ext2, ext4 support. Signed-off-by: Kever Yang <kever.yang@rock-chips.com> Reviewed-by: Simon Glass <sjg@chromium.org> Acked-by: Simon Glass <sjg@chromium.org> Base directory -> / include/configs/rk3399_common.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) ------------------------------------------------------------------------------- commit b9f9339b7e69b7f81b3b57dcf7f1b51a0bf4a7e2 Author: Xu Ziyuan <xzy.xu@rock-chips.com> Date: 2016-08-03 11:55:06 +0800 rockchip: add usb mass storage feature support for rk3288 Enable ums feature for rk3288 boards, so that we can mount the mmc device to PC. Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com> Acked-by: Simon Glass <sjg@chromium.org> Base directory -> / include/configs/rk3288_common.h | 4 ++++ 1 file changed, 4 insertions(+) ------------------------------------------------------------------------------- commit 6ead8bd7c338f31788402f2dd82bc68c38cd8b42 Author: Xu Ziyuan <xzy.xu@rock-chips.com> Date: 2016-08-03 11:55:05 +0800 rockchip: add basic partitions support for rk3288 For compatibility with distro boot, fastboot, and mount the mmc deivce to PC via usb mass storage feature, GPT partitions are essential. You should write the partitions to mmc device prior to use above feature. => gpt write mmc 1 $partitions GPT successfully written to block device! success! Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com> Acked-by: Simon Glass <sjg@chromium.org> Base directory -> / include/configs/rk3288_common.h | 7 +++++++ 1 file changed, 7 insertions(+) ------------------------------------------------------------------------------- commit 1c62d999528da1f052cb4b07cbb540b148c52537 Author: Xu Ziyuan <xzy.xu@rock-chips.com> Date: 2016-08-01 08:46:19 +0800 rockchip: add support for rk3288 miniarm board Miniarm is a rockchip rk3288 based development board, which has lots of interface such as HDMI, USB, micro-SD card, Audio etc. Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com> Acked-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/arm/dts/Makefile | 1 + arch/arm/dts/rk3288-miniarm.dts | 61 +++ arch/arm/dts/rk3288-miniarm.dtsi | 533 +++++++++++++++++++++++++ arch/arm/mach-rockchip/rk3288/Kconfig | 14 +- board/rockchip/miniarm_rk3288/Kconfig | 15 + board/rockchip/miniarm_rk3288/MAINTAINERS | 6 + board/rockchip/miniarm_rk3288/Makefile | 7 + board/rockchip/miniarm_rk3288/miniarm-rk3288.c | 15 + configs/miniarm-rk3288_defconfig | 65 +++ doc/README.rockchip | 9 +- include/configs/miniarm_rk3288.h | 26 ++ 11 files changed, 746 insertions(+), 6 deletions(-) ------------------------------------------------------------------------------- commit aff8795c01c39318eb07b4bf0cd7f170ff67d591 Author: Heiko Stübner <heiko@sntech.de> Date: 2016-07-29 14:47:21 +0200 move: rockchip: move clock drivers into a subdirectory With the number of Rockchip clock drivers increasing, don't clutter up the core drivers/clk directory with them and instead move them out of the way into a separate subdirectory. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Heiko Stuebner <heiko@sntech.de> Acked-by: Simon Glass <sjg@chromium.org> Updated for rk3399: Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/clk/Makefile | 4 +- drivers/clk/clk_rk3036.c | 386 ----------------- drivers/clk/clk_rk3288.c | 851 -------------------------------------- drivers/clk/clk_rk3399.c | 819 ------------------------------------ drivers/clk/rockchip/Makefile | 9 + drivers/clk/rockchip/clk_rk3036.c | 386 +++++++++++++++++ drivers/clk/rockchip/clk_rk3288.c | 851 ++++++++++++++++++++++++++++++++++++++ drivers/clk/rockchip/clk_rk3399.c | 819 ++++++++++++++++++++++++++++++++++++ 8 files changed, 2066 insertions(+), 2059 deletions(-) ------------------------------------------------------------------------------- commit b0b3c86521e0fe4cca3676adfc0b937d77456f9e Author: Kever Yang <kever.yang@rock-chips.com> Date: 2016-07-29 10:35:25 +0800 rk3399: add basic soc driver This patch add driver for: - clock driver including set_rate for cpu, mmc, vop, I2C. - sysreset driver - grf syscon driver Signed-off-by: Kever Yang <kever.yang@rock-chips.com> Acked-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/arm/include/asm/arch-rockchip/cru_rk3399.h | 93 +++ arch/arm/mach-rockchip/rk3399/Makefile | 2 + arch/arm/mach-rockchip/rk3399/reset_rk3399.c | 45 ++ arch/arm/mach-rockchip/rk3399/syscon_rk3399.c | 20 + drivers/clk/Makefile | 1 + drivers/clk/clk_rk3399.c | 819 ++++++++++++++++++++++++ 6 files changed, 980 insertions(+) ------------------------------------------------------------------------------- commit 2918d96728379b544fd8ba397cdeb47170dc38f8 Author: Sandy Patterson <apatterson@sightlogix.com> Date: 2016-07-28 09:49:01 -0400 rockchip: rockchip, sdram-channel 0xff fix remaining dts Add an extra byte so that this data is not byteswapped. Signed-off-by: Sandy Patterson <apatterson@sightlogix.com> Acked-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/arm/dts/rk3288-rock2-square.dts | 2 +- arch/arm/dts/rk3288-veyron.dtsi | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit d2d763fa837e7f1d769fd00bb730c3abc6650667 Author: Xu Ziyuan <xzy.xu@rock-chips.com> Date: 2016-07-28 11:42:34 +0800 rockchip: add fastboot support for rk3036 board Enable fastboot feature on rk3036, please refer to doc/README.rockchip for more detailed usage. Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/arm/dts/rk3036-sdk.dts | 2 -- board/rockchip/evb_rk3036/evb_rk3036.c | 46 ++++++++++++++++++++++++++++++ board/rockchip/kylin_rk3036/kylin_rk3036.c | 46 ++++++++++++++++++++++++++++++ include/configs/rk3036_common.h | 21 +++++++++++++- 4 files changed, 112 insertions(+), 3 deletions(-) ------------------------------------------------------------------------------- commit 89f69e51734f5d704ef84503d24907bfde2f5577 Author: Jaehoon Chung <jh80.chung@samsung.com> Date: 2016-08-05 14:13:36 +0900 mmc: sdhci: fix the compiler warning when disable CONFIG_MMC_SDMA When disabled CONFIG_MMC_SDMA, variable caps didn't use. This patch fixes the compiler error for -Wunused-but-set-variable Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com> Base directory -> / drivers/mmc/sdhci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 7d106242d3fc095d1065ef65a31661c3b8d77a78 Author: Tom Rini <trini@konsulko.com> Date: 2016-07-27 22:29:41 -0400 omap3, omap4: Enable USE_TINY_PRINTF for all In the case of omap3 we have a number of platforms that are close to exceeding SRAM limits, depending on compiler. Move to USE_TINY_PRINTF to give them more room. OMAP4 will soon enough be in a similar place, so enable that now. Signed-off-by: Tom Rini <trini@konsulko.com> Base directory -> / arch/arm/Kconfig | 2 ++ 1 file changed, 2 insertions(+) ------------------------------------------------------------------------------- commit a2ea62e8264f8ab5bf55ad3c2249c640ac48c803 Author: Tom Rini <trini@konsulko.com> Date: 2016-07-27 22:29:40 -0400 omap3: Move to select SUPPORT_SPL for all In reality all omap3 platforms support SPL so move the select for this up a level. Signed-off-by: Tom Rini <trini@konsulko.com> Base directory -> / arch/arm/Kconfig | 1 + arch/arm/cpu/armv7/omap3/Kconfig | 19 ------------------- 2 files changed, 1 insertion(+), 19 deletions(-) ------------------------------------------------------------------------------- commit e3795084358020e0559427168cac472af1207c78 Author: Max Filippov <jcmvbkbc@gmail.com> Date: 2016-07-28 03:57:24 +0300 cmd/bdinfo: extract print_std_bdinfo print_std_bdinfo outputs typical set of board information entries: boot params location, memory and flash addresses and sizes, network interfaces information and configured serial baud rate. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / cmd/bdinfo.c | 32 ++++++++++++-------------------- 1 file changed, 12 insertions(+), 20 deletions(-) ------------------------------------------------------------------------------- commit 4e3fa7d8a117c8b089d86a10e64ae66b1aac82ef Author: Max Filippov <jcmvbkbc@gmail.com> Date: 2016-07-28 03:57:23 +0300 cmd/bdinfo: extract print_baudrate print_baudrate outputs serial baud rate. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / cmd/bdinfo.c | 39 +++++++++++++++++++++++++-------------- 1 file changed, 25 insertions(+), 14 deletions(-) ------------------------------------------------------------------------------- commit 8752e260c46d50748ff45be8e0c0e6973737763f Author: Max Filippov <jcmvbkbc@gmail.com> Date: 2016-07-28 03:57:22 +0300 cmd/bdinfo: extract print_eth_ip_addr print_eth_ip_addr outputs eth configurations for up to 6 interfaces and configured IP address. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> Acked-by: Joe Hershberger <joe.hershberger@ni.com> Base directory -> / cmd/bdinfo.c | 113 +++++++++++++++++++---------------------------------------- 1 file changed, 36 insertions(+), 77 deletions(-) ------------------------------------------------------------------------------- commit f80e5359801b5edb705bd86b29bf3d9aff13990a Author: Max Filippov <jcmvbkbc@gmail.com> Date: 2016-07-28 03:57:21 +0300 cmd/bdinfo: extract print_bi_flash print_bi_flash outputs flashstart, flashsize and flashoffset lines. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / cmd/bdinfo.c | 54 +++++++++++++++++++++++++++--------------------------- 1 file changed, 27 insertions(+), 27 deletions(-) ------------------------------------------------------------------------------- commit fd60e99f5562a2c8e9a8850aa9214f0867876da4 Author: Max Filippov <jcmvbkbc@gmail.com> Date: 2016-07-28 03:57:20 +0300 cmd/bdinfo: extract print_bi_dram print_bi_dram outputs start address and size for each DRAM bank. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / cmd/bdinfo.c | 60 +++++++++++++++++++----------------------------------------- 1 file changed, 19 insertions(+), 41 deletions(-) ------------------------------------------------------------------------------- commit 12feb3647e38e6e0fb03e91fc0defae6b066f4c9 Author: Max Filippov <jcmvbkbc@gmail.com> Date: 2016-07-28 03:57:19 +0300 cmd/bdinfo: extract print_bi_mem print_bi_mem outputs memstart and memsize lines. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / cmd/bdinfo.c | 42 ++++++++++++++++++++++++++---------------- 1 file changed, 26 insertions(+), 16 deletions(-) ------------------------------------------------------------------------------- commit 171e53968c638fa7415f02e643332f7c7a6c409d Author: Max Filippov <jcmvbkbc@gmail.com> Date: 2016-07-28 03:57:18 +0300 cmd/bdinfo: extract print_bi_boot_params print_bi_boot_params outputs boot parameters structure location. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / cmd/bdinfo.c | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) ------------------------------------------------------------------------------- commit bb6b142fc16713bb83e471912e614ac01eec4584 Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-07-25 19:56:03 +0900 treewide: move CONFIG_PHYS_64BIT to Kconfig We need to ensure that CONFIG_PHYS_64BIT is configured via Kconfig so that it is always available to the build system. Otherwise we can run into cases where we have inconsistent sizes of certain attributes. Ravi Babu reported offset mismatch of struct dwc3 across files since commit 95ebc253e6d4 ("types.h: move and redefine resource_size_t"). Since the commit, resource_addr_t points to phys_addr_t, whose size is dependent on CONFIG_PHYS_64BIT for ARM architecture. I tried my best to use "select" where possible (for example, ARMv8 architecture) because I think this kind of option is generally user- unconfigurable. However, I see some of PowerPC boards have 36BIT defconfigs as well as 32BIT ones. I moved CONFIG_PHYS_64BIT to the defconfigs for such boards. CONFIG_36BIT is no longer referenced, so all of the defines were removed from CONFIG_SYS_EXTRA_OPTIONS. Fixes: 95ebc253e6d4 ("types.h: move and redefine resource_size_t") Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reported-by: Ravi Babu <ravibabu@ti.com> Acked-by: Stefan Roese <sr@denx.de> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / Kconfig | 8 ++++++++ arch/arm/Kconfig | 1 + arch/arm/cpu/armv7/omap5/Kconfig | 1 + arch/arm/include/asm/config.h | 1 - arch/powerpc/cpu/mpc85xx/Kconfig | 18 ++++++++++++++++++ arch/powerpc/cpu/ppc4xx/Kconfig | 1 + configs/C29XPCIE_NAND_defconfig | 2 +- configs/C29XPCIE_NOR_SECBOOT_defconfig | 2 +- configs/C29XPCIE_SPIFLASH_SECBOOT_defconfig | 2 +- configs/C29XPCIE_SPIFLASH_defconfig | 2 +- configs/C29XPCIE_defconfig | 2 +- configs/MPC8536DS_36BIT_defconfig | 2 +- configs/MPC8548CDS_36BIT_defconfig | 2 +- configs/MPC8572DS_36BIT_defconfig | 2 +- configs/MPC8641HPCN_36BIT_defconfig | 2 +- configs/P1010RDB-PA_36BIT_NAND_SECBOOT_defconfig | 5 +++-- configs/P1010RDB-PA_36BIT_NAND_defconfig | 3 ++- configs/P1010RDB-PA_36BIT_NOR_SECBOOT_defconfig | 5 +++-- configs/P1010RDB-PA_36BIT_NOR_defconfig | 3 ++- configs/P1010RDB-PA_36BIT_SDCARD_defconfig | 3 ++- configs/P1010RDB-PA_36BIT_SPIFLASH_SECBOOT_defconfig | 5 +++-- configs/P1010RDB-PA_36BIT_SPIFLASH_defconfig | 3 ++- configs/P1010RDB-PB_36BIT_NAND_SECBOOT_defconfig | 5 +++-- configs/P1010RDB-PB_36BIT_NAND_defconfig | 3 ++- configs/P1010RDB-PB_36BIT_NOR_SECBOOT_defconfig | 5 +++-- configs/P1010RDB-PB_36BIT_NOR_defconfig | 3 ++- configs/P1010RDB-PB_36BIT_SDCARD_defconfig | 3 ++- configs/P1010RDB-PB_36BIT_SPIFLASH_SECBOOT_defconfig | 5 +++-- configs/P1010RDB-PB_36BIT_SPIFLASH_defconfig | 3 ++- configs/P1020MBG-PC_36BIT_SDCARD_defconfig | 3 ++- configs/P1020MBG-PC_36BIT_defconfig | 3 ++- configs/P1020RDB-PC_36BIT_NAND_defconfig | 3 ++- configs/P1020RDB-PC_36BIT_SDCARD_defconfig | 3 ++- configs/P1020RDB-PC_36BIT_SPIFLASH_defconfig | 3 ++- configs/P1020RDB-PC_36BIT_defconfig | 3 ++- configs/P1020UTM-PC_36BIT_SDCARD_defconfig | 3 ++- configs/P1020UTM-PC_36BIT_defconfig | 3 ++- configs/P1021RDB-PC_36BIT_NAND_defconfig | 3 ++- configs/P1021RDB-PC_36BIT_SDCARD_defconfig | 3 ++- configs/P1021RDB-PC_36BIT_SPIFLASH_defconfig | 3 ++- configs/P1021RDB-PC_36BIT_defconfig | 3 ++- configs/P1022DS_36BIT_NAND_defconfig | 3 ++- configs/P1022DS_36BIT_SDCARD_defconfig | 3 ++- configs/P1022DS_36BIT_SPIFLASH_defconfig | 3 ++- configs/P1022DS_36BIT_defconfig | 2 +- configs/P1024RDB_36BIT_defconfig | 3 ++- configs/P1025RDB_36BIT_defconfig | 3 ++- configs/P2020RDB-PC_36BIT_NAND_defconfig | 3 ++- configs/P2020RDB-PC_36BIT_SDCARD_defconfig | 3 ++- configs/P2020RDB-PC_36BIT_SPIFLASH_defconfig | 3 ++- configs/P2020RDB-PC_36BIT_defconfig | 3 ++- configs/controlcenterd_36BIT_SDCARD_DEVELOP_defconfig | 3 ++- configs/controlcenterd_36BIT_SDCARD_defconfig | 3 ++- include/configs/B4860QDS.h | 1 - include/configs/C29XPCIE.h | 1 - include/configs/MPC8536DS.h | 4 ---- include/configs/MPC8548CDS.h | 4 ---- include/configs/MPC8572DS.h | 4 ---- include/configs/MPC8641HPCN.h | 1 - include/configs/P1010RDB.h | 3 --- include/configs/P1022DS.h | 4 ---- include/configs/P2041RDB.h | 1 - include/configs/P3041DS.h | 1 - include/configs/P4080DS.h | 1 - include/configs/P5020DS.h | 1 - include/configs/P5040DS.h | 1 - include/configs/T102xQDS.h | 1 - include/configs/T102xRDB.h | 1 - include/configs/T1040QDS.h | 1 - include/configs/T104xRDB.h | 1 - include/configs/T208xQDS.h | 1 - include/configs/T208xRDB.h | 1 - include/configs/T4240QDS.h | 1 - include/configs/T4240RDB.h | 1 - include/configs/controlcenterd.h | 4 ---- include/configs/cyrus.h | 2 -- include/configs/dra7xx_evm.h | 1 - include/configs/katmai.h | 1 - include/configs/km/kmp204x-common.h | 1 - include/configs/p1_p2_rdb_pc.h | 4 ---- include/configs/qemu-ppce500.h | 2 -- 81 files changed, 119 insertions(+), 104 deletions(-) ------------------------------------------------------------------------------- commit 9ab0296a828c0c6c7c252828954951ddf346ceb5 Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-07-25 19:15:29 +0900 tools: moveconfig: support CONFIG_SYS_EXTRA_OPTIONS cleaning We mostly move config options from board header files to Kconfig, but sometimes config defines come from CONFIG_SYS_EXTRA_OPTIONS. Historically, CONFIG_SYS_EXTRA_OPTIONS originates in boards.cfg, which was used as a central database of configuration prior to the Kconfig conversion. Now, we want to migrate to primary entries in Kconfig rather than option list in CONFIG_SYS_EXTRA_OPTIONS, so it should be helpful to have the tool to cleanup CONFIG_SYS_EXTRA_OPTIONS automatically. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / tools/moveconfig.py | 74 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 74 insertions(+) ------------------------------------------------------------------------------- commit 684c306ec4252797c3085defd63eb6d3177fca36 Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-07-25 19:15:28 +0900 tools: moveconfig: make getting all defconfigs into helper function I want to reuse this routine in the next commit. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / tools/moveconfig.py | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) ------------------------------------------------------------------------------- commit a3a779f7f7b5e48672b4e049beadc0112ff1c342 Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-07-25 19:15:27 +0900 tools: moveconfig: fix cleanup of defines across multiple lines Correct the clean-up of such defines that continue across multiple lines, like follows: #define CONFIG_FOO "this continues to the next line " \ "this line should be removed too" \ "this line should be removed as well" Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / tools/moveconfig.py | 3 +++ 1 file changed, 3 insertions(+) ------------------------------------------------------------------------------- commit e9ea122159ae9b17355f7891f09530ed79940441 Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-07-25 19:15:26 +0900 tools: moveconfig: show diffs of cleaned headers in color Show code diff in color if --color option is given. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / tools/moveconfig.py | 26 ++++++++++++++++---------- 1 file changed, 16 insertions(+), 10 deletions(-) ------------------------------------------------------------------------------- commit f2f6981a149572675ec7e59a33fb414440364739 Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-07-25 19:15:25 +0900 tools: moveconfig: show result of header cleaning in unified diff The header cleanup feature of this tool now removes empty ifdef's, successive blank lines as well as moved option defines. So, we want to see a little more context to check which lines were deleted. It is true that we can see it by "git diff", but it would not work in the --dry-run mode. So, here, this commit. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Base directory -> / tools/moveconfig.py | 30 +++++++++++++++++++++++++----- 1 file changed, 25 insertions(+), 5 deletions(-) ------------------------------------------------------------------------------- commit 8ba1f5de4571566be12efaffdad404a506b978e3 Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-07-25 19:15:24 +0900 tools: moveconfig: trim garbage lines after header cleanups The tools/moveconfig.py has a feature to cleanup #define/#undef's of moved config options, but I want this tool to do a better job. For example, when we are moving CONFIG_FOO and its define is surrounded by #ifdef ... #endif, like follows: #ifdef CONFIG_BAR # define CONFIG_FOO #endif The header cleanup will leave empty #ifdef ... #endif: #ifdef CONFIG_BAR #endif Likewise, if a define line between two blank lines <blank line> #define CONFIG_FOO <blank lines. ... is deleted, the result of the clean-up will be successive empty lines, which is a coding-style violation. It is tedious to remove left-over garbage lines manually, so I want the tool to take care of this. The tool's job is still not perfect, so we should check the output of the tool, but I hope our life will be much easier with this patch. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Base directory -> / tools/moveconfig.py | 85 ++++++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 81 insertions(+), 4 deletions(-) ------------------------------------------------------------------------------- commit f7536f798d99e77b543c7913dc45edbb77848078 Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-07-25 19:15:23 +0900 tools: moveconfig: do not check clean tree and compilers for -H option The clean tree (make mrproper) and compilers are required when moving config options, but not needed when we only cleanup headers. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / tools/moveconfig.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) ------------------------------------------------------------------------------- commit dc6de50bd6873deccea3c27f407bad8f987383e7 Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-07-25 19:15:22 +0900 tools: moveconfig: do not cleanup headers in include/generated The files in include/generated are generated during build and removed by "make mrproper", so it has no point to touch them by this tool. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / tools/moveconfig.py | 2 ++ 1 file changed, 2 insertions(+) ------------------------------------------------------------------------------- commit 6f94ab6656ceffb3f2a972c8de4c554502b6f2b7 Author: Tom Rini <trini@konsulko.com> Date: 2016-07-22 17:59:11 -0400 ext4: Refuse to mount filesystems with 64bit feature set With e2fsprogs after 1.43 the 64bit and metadata_csum features are enabled by default. The metadata_csum feature changes how ext4_group_desc->bg_checksum is calculated, which would break write support. The 64bit feature however introduces changes such that it cannot be read by implementations that do not support it. Since we do not support this, we must not mount it. Cc: Stephen Warren <swarren@nvidia.com> Cc: Simon Glass <sjg@chromium.org> Cc: Lukasz Majewski <l.majewski@samsung.com> Cc: Stefan Roese <sr@denx.de> Reported-by: Andrew Bradford <andrew.bradford@kodakalaris.com> Signed-off-by: Tom Rini <trini@konsulko.com> Base directory -> / fs/ext4/ext4_common.c | 10 ++++++++++ include/ext4fs.h | 1 + 2 files changed, 11 insertions(+) ------------------------------------------------------------------------------- commit a78cd8613204188991c192b8dae2de0aae3b1722 Author: Tom Rini <trini@konsulko.com> Date: 2016-08-01 18:54:53 -0400 ARM: Rework and correct barrier definitions As part of testing booting Linux kernels on Rockchip devices, it was discovered by Ziyuan Xu and Sandy Patterson that we had multiple and for some cases incomplete isb definitions. This was causing a failure to boot of the Linux kernel. In order to solve this problem as well as cover any corner cases that we may also have had a number of changes are made in order to consolidate things. First, <asm/barriers.h> now becomes the source of isb/dsb/dmb definitions. This however introduces another complexity. Due to needing to build SPL for 32bit tegra with -march=armv4 we need to borrow the __LINUX_ARM_ARCH__ logic from the Linux Kernel in a more complete form. Move this from arch/arm/lib/Makefile to arch/arm/Makefile and add a comment about it. Now that we can always know what the target CPU is capable off we can get always do the correct thing for the barrier. The final part of this is that need to be consistent everywhere and call isb()/dsb()/dmb() and NOT call ISB/DSB/DMB in some cases and the function names in others. Reviewed-by: Stephen Warren <swarren@nvidia.com> Tested-by: Stephen Warren <swarren@nvidia.com> Acked-by: Ziyuan Xu <xzy.xu@rock-chips.com> Acked-by: Sandy Patterson <apatterson@sightlogix.com> Reported-by: Ziyuan Xu <xzy.xu@rock-chips.com> Reported-by: Sandy Patterson <apatterson@sightlogix.com> Signed-off-by: Tom Rini <trini@konsulko.com> Base directory -> / arch/arm/Makefile | 8 ++++++++ arch/arm/cpu/armv7/cache_v7.c | 10 +++++----- arch/arm/cpu/armv7/psci-common.c | 2 +- arch/arm/cpu/armv7/sunxi/psci.c | 12 ++++++------ arch/arm/include/asm/barriers.h | 11 +++++++++-- arch/arm/include/asm/io.h | 4 ++-- arch/arm/include/asm/system.h | 8 +------- arch/arm/lib/Makefile | 5 ----- arch/arm/mach-exynos/include/mach/system.h | 10 ---------- arch/arm/mach-sunxi/dram_helpers.c | 2 +- arch/arm/mach-tegra/tegra20/Makefile | 3 ++- 11 files changed, 35 insertions(+), 40 deletions(-) ------------------------------------------------------------------------------- commit 65fcba1251dcb1fc2c48966406145a69fee3a817 Author: Alexey Brodkin <abrodkin@synopsys.com> Date: 2016-08-04 15:00:35 +0300 arc: Rename AXS101 board to more generic AXS10x As of now we have 2 flavors of ARC SDP boards: 1) AXS101 - with ARC770 in ASIC 2) AXS103 - with ARC HS38 in FPGA Both options share exactly the same base-board and only differ with CPU-tiles in use. That means all peripherals are the same (they are implemented in FPGA on the base-board) and so generic board could be used for both. While at it: * Recreated defconfigs with savedefconfig * In include/configs/axs10x.h numerical sizes replaced with defines from linux/sizes.h for better readability. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / arch/arc/Kconfig | 8 +- arch/arc/dts/Makefile | 2 +- board/synopsys/axs101/Kconfig | 12 -- board/synopsys/axs101/MAINTAINERS | 7 -- board/synopsys/axs101/Makefile | 8 -- board/synopsys/axs101/axs101.c | 76 ------------ board/synopsys/axs101/axs10x.h | 16 --- board/synopsys/axs101/nand.c | 243 -------------------------------------- board/synopsys/axs10x/Kconfig | 12 ++ board/synopsys/axs10x/MAINTAINERS | 7 ++ board/synopsys/axs10x/Makefile | 8 ++ board/synopsys/axs10x/axs10x.c | 76 ++++++++++++ board/synopsys/axs10x/axs10x.h | 16 +++ board/synopsys/axs10x/nand.c | 243 ++++++++++++++++++++++++++++++++++++++ configs/axs101_defconfig | 2 +- configs/axs103_defconfig | 2 +- include/configs/axs101.h | 140 ---------------------- include/configs/axs10x.h | 141 ++++++++++++++++++++++ 18 files changed, 510 insertions(+), 509 deletions(-) ------------------------------------------------------------------------------- commit cc8be222d1cf37c4299c019b95d7d932f2a4bbcc Author: Alexey Brodkin <abrodkin@synopsys.com> Date: 2016-08-04 14:35:01 +0300 arc: Rename ARCangel4 board to nSIM ARCangel was one of the main development boards back in the day but now it's gone and replaced by other boards like ARC SDP. But we also used to have simulation platform very similar to ARCangel4 in terms of CPU settings as well as basic IO like UART. Even though ARCangel4 is long gone now we have a replacement for simulation which is a plain or stand-alone nSIM and Free nSIM. Note Free nSIM is available for download here: https://www.synopsys.com/cgi-bin/dwarcnsim/req1.cgi And while at it: * Finally switch hex numerical values in nsim.h to defines from include/linux/sizes.h * Add defconfigs with ARC HS38 cores * Recreated all defconfigs with savedefconfig Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Base directory -> / arch/arc/Kconfig | 4 +-- arch/arc/dts/Makefile | 2 +- arch/arc/dts/arcangel4.dts | 24 -------------- arch/arc/dts/nsim.dts | 24 ++++++++++++++ board/synopsys/Kconfig | 4 +-- board/synopsys/MAINTAINERS | 8 +++-- configs/arcangel4-be_defconfig | 15 --------- configs/arcangel4_defconfig | 15 --------- configs/nsim_700_defconfig | 15 +++++++++ configs/nsim_700be_defconfig | 16 ++++++++++ configs/nsim_hs38_defconfig | 16 ++++++++++ configs/nsim_hs38be_defconfig | 17 ++++++++++ include/configs/arcangel4.h | 70 ---------------------------------------- include/configs/nsim.h | 72 ++++++++++++++++++++++++++++++++++++++++++ 14 files changed, 170 insertions(+), 132 deletions(-) ------------------------------------------------------------------------------- commit 9bef24d0dea30447951e1cd0074be502ca408fc0 Author: Alexey Brodkin <abrodkin@synopsys.com> Date: 2016-08-03 20:44:39 +0300 arc: No need in sections defined in sources with newer tools Starting from arc-2016.03 GNU tools linker properly works with symbols defined in linker script and so external declarations are no longer required, dump them. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Base directory -> / arch/arc/cpu/u-boot.lds | 51 +++++++++++------------------------------ arch/arc/include/asm/sections.h | 2 -- arch/arc/lib/Makefile | 1 - arch/arc/lib/relocate.c | 5 +++- arch/arc/lib/sections.c | 23 ------------------- 5 files changed, 18 insertions(+), 64 deletions(-) ------------------------------------------------------------------------------- commit 699c4e592b32f43d4ba2cc0d53848118a77d590a Author: Alexey Brodkin <abrodkin@synopsys.com> Date: 2016-08-04 09:21:50 +0300 arc: Update exception & interrupt handling for ARCv2 Initially IVT for ARCv2 was simply copypasted from ARCompact with some selected fixes so basic stuff works. Now we update it with more ARCv2 specific vectors like * Software Interrupt * Division by zero * Data cache consistency error * Misaligned access Also normal interrupts are now implemented properly and extened to all possible 240 items. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Base directory -> / arch/arc/cpu/arcv2/ivt.S | 31 ++++++++++++++++++------------- arch/arc/lib/interrupts.c | 26 ++++++++++++++++++++++++++ arch/arc/lib/ints_low.S | 28 ++++++++++++++++++++++++++++ 3 files changed, 72 insertions(+), 13 deletions(-) ------------------------------------------------------------------------------- commit ffffcd15948d9d1081afd6f1215a9850bd9f4bd5 Author: Alexey Brodkin <abrodkin@synopsys.com> Date: 2016-08-03 20:45:22 +0300 arc: Add debug messages during relocation fixups This might be useful to make sure relocation fixups really happen. And since this info gets printed only in DEBUG build it doesn't really hurt normal execution. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Base directory -> / arch/arc/lib/relocate.c | 7 +++++++ 1 file changed, 7 insertions(+) ------------------------------------------------------------------------------- commit 4587f53a582c9ab0bd908cff590755bfc03fced4 Author: Jaehoon Chung <jh80.chung@samsung.com> Date: 2016-07-28 14:26:24 +0900 mmc: dw_mmc: fix the wrong Mask bit boundary for fifo_count bit According to DesignWare TRM, FIFO_COUNT is bit[29:17]. If get the correct fifo_count value, it has to use the FIFO_MASK as 0x1FFF, not 0x1FF. Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com> Reviewed-by: Ziyuan Xu <xzy.xu@rock-chips.com> Base directory -> / include/dwmmc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 720724d09852858a3938f7bfcbbb3d1a0fdd6b4c Author: Xu Ziyuan <xzy.xu@rock-chips.com> Date: 2016-07-28 10:25:48 +0800 mmc: dw_mmc: fix data starvation by host timeout under FIFO mode This patch fixes data starvation by host timeout(HTO) error interrupt which occurred under FIFO mode transfer on rk3036 board. The former implement, the actual bytes were transmitted may be less than should be. The size will still subtract value of len in case of there is no receive/transmit FIFO data request interrupt. Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com> Acked-by: Jaehoon Chung <jh80.chung@samsung.com> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com> Base directory -> / drivers/mmc/dw_mmc.c | 1 + 1 file changed, 1 insertion(+) ------------------------------------------------------------------------------- commit 2990e07a33159b1c23325c2c789cdb3f9ab4d89c Author: Xu Ziyuan <xzy.xu@rock-chips.com> Date: 2016-07-28 10:25:47 +0800 mmc: dw_mmc: transfer proper bytes to FIFO The former implement, dw_mmc will push and pop the redundant data to FIFO, we should transfer it according to the real size. Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com> Acked-by: Jaehoon Chung <jh80.chung@samsung.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Shawn Lin <shawn.lin@rock-chips.com> Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com> Base directory -> / drivers/mmc/dw_mmc.c | 2 ++ 1 file changed, 2 insertions(+) ------------------------------------------------------------------------------- commit 14bed52d276afd36b9674ee7aa2c2ad9d2f4e59e Author: Jaehoon Chung <jh80.chung@samsung.com> Date: 2016-07-26 19:06:24 +0900 mmc: sdhci: remove the unnecessary arguments for sdhci_setup_cfg Some arguments don't need to pass to sdhci_setup_cfg. Generic variable can be used in sdhci_setup_cfg, and some arguments are already included in sdhci_host struct. It's enough that just pass the board specific things to sdhci_setup_cfg(). After removing the unnecessary arguments, it's more simpler than before. It doesn't consider "Version" and "Capabilities" anymore in each SoC driver. Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/mmc/msm_sdhci.c | 4 +--- drivers/mmc/rockchip_sdhci.c | 8 ++------ drivers/mmc/sdhci.c | 26 ++++++++++++++------------ drivers/mmc/zynq_sdhci.c | 6 ++---- include/sdhci.h | 12 +++--------- 5 files changed, 22 insertions(+), 34 deletions(-) ------------------------------------------------------------------------------- commit 6a879ec8e7ac9905ad10b98e9cd585622c64b17c Author: Jaehoon Chung <jh80.chung@samsung.com> Date: 2016-07-26 19:06:23 +0900 mmc: sdhci: remove the unused argument for sdhci_setup_cfg buswidth isn't used anywhere in sdhci_setup_cfg. Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com> Reviewed-by: Minkyu Kang <mk7.kang@samsung.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/mmc/msm_sdhci.c | 4 ++-- drivers/mmc/sdhci.c | 4 ++-- drivers/mmc/zynq_sdhci.c | 2 +- include/sdhci.h | 3 +-- 4 files changed, 6 insertions(+), 7 deletions(-) ------------------------------------------------------------------------------- commit e1ea7c44d67dde263c13e1aef300cab408236994 Author: Jaehoon Chung <jh80.chung@samsung.com> Date: 2016-07-26 19:03:49 +0900 mmc: sdhci: revert "mmc: sdhci: Claer high speed if not supported" This "commit 429790026021d522d51617217d4b86218cca5750" is wrong. SDHCI_QUIRK_NO_HISPD_BIT is for skipping to set CTRL_HISPD bit. For example, Exynos didn't have CTRL_HISPD. But Highspeed mode is supported. (This quirks doesn't mean that driver didn't support the Highseepd mode.) Note: If driver didn't support the Highspeed Mode, use or add the other quirks. After applied this patch, all Exynos SoCs are just running with 25MHz. Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com> Base directory -> / drivers/mmc/sdhci.c | 3 --- 1 file changed, 3 deletions(-) ------------------------------------------------------------------------------- commit 1bd4f92cdbc5f120c962611dfaf11ed01829d7cb Author: Xu Ziyuan <xzy.xu@rock-chips.com> Date: 2016-07-23 11:11:22 +0800 mmc: display mmc list information like mmc_legacy type It's nicer to see this: => mmc list dwmmc@ff0c0000: 0 dwmmc@ff0f0000: 1 (eMMC) than this: => mmc list dwmmc@ff0c0000: 0dwmmc@ff0f0000: 1 (eMMC) With the former, it's much clearer which mmc devices are on. Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com> Acked-by: Simon Glass <sjg@chromium.org> Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com> Tested-by: Jaehoon Chung <jh80.chung@samsung.com> Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com> Base directory -> / drivers/mmc/mmc-uclass.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 915ffa5213756568f6185d05cda2cb2f6050f974 Author: Jaehoon Chung <jh80.chung@samsung.com> Date: 2016-07-19 16:33:36 +0900 mmc: use the generic error number Use the generic error number instead of specific error number. If use the generic error number, it can debug more easier. Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Minkyu Kang <mk7.kang@samsung.com> Base directory -> / drivers/mmc/arm_pl180_mmci.c | 2 +- drivers/mmc/bfin_sdh.c | 10 +++++----- drivers/mmc/davinci_mmc.c | 11 ++++++----- drivers/mmc/dw_mmc.c | 8 ++++---- drivers/mmc/fsl_esdhc.c | 13 +++++++------ drivers/mmc/ftsdc010_mci.c | 10 +++++----- drivers/mmc/gen_atmel_mci.c | 10 +++++----- drivers/mmc/mmc.c | 18 +++++++++--------- drivers/mmc/mmc_spi.c | 11 ++++++----- drivers/mmc/mvebu_mmc.c | 9 +++++---- drivers/mmc/mxcmmc.c | 6 +++--- drivers/mmc/mxsmmc.c | 18 +++++++++--------- drivers/mmc/omap_hsmmc.c | 18 +++++++++--------- drivers/mmc/s3c_sdi.c | 4 ++-- drivers/mmc/sdhci.c | 8 ++++---- drivers/mmc/sh_mmcif.c | 8 ++++---- drivers/mmc/sh_sdhi.c | 6 +++--- drivers/mmc/sunxi_mmc.c | 6 +++--- drivers/mmc/tegra_mmc.c | 7 ++++--- drivers/mmc/uniphier-sd.c | 2 +- include/mmc.h | 6 ------ 21 files changed, 95 insertions(+), 96 deletions(-) ------------------------------------------------------------------------------- commit 70f862808e8ae4b97fe736ec9d9d496881ad84b2 Author: Jaehoon Chung <jh80.chung@samsung.com> Date: 2016-07-19 16:33:35 +0900 mmc: fsl_esdhc: remove the duplicated header file "mmc.h" is already included. It's duplicated. Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/mmc/fsl_esdhc.c | 1 - 1 file changed, 1 deletion(-) ------------------------------------------------------------------------------- commit ccd60a8524aa364e6f3c06e4526f2ddd61f1cf25 Author: Jaehoon Chung <jh80.chung@samsung.com> Date: 2016-07-19 16:33:34 +0900 mmc: dw_mmc: remove the duplicated header file <asm-generic/errno.h> is already included in <errno.h>. It can use <errno.h> instead of <asm-generic/errno.h> Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/mmc/dw_mmc.c | 1 - drivers/mmc/exynos_dw_mmc.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) ------------------------------------------------------------------------------- commit a034ec06ff1d558bbe11d5ee05edbb4de3ee2215 Author: Jaehoon Chung <jh80.chung@samsung.com> Date: 2016-07-12 21:18:47 +0900 mmc: s5p_sdhci: unset the SDHCI_QUIRK_BROKEN_R1B Unset the SDHCI_QUIRK_BROKEN_R1B for exynos SoC. (Tested on Exynos4 Boards.) Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com> Acked-by: Lukasz Majewski <l.majewski@samsung.com> Tested-by: Lukasz Majewski <l.majewski@samsung.com> Base directory -> / drivers/mmc/s5p_sdhci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 17ea3c862865c0d704646f67dbf8412f9ff54f59 Author: Jaehoon Chung <jh80.chung@samsung.com> Date: 2016-07-12 21:18:46 +0900 mmc: sdhci: set to INT_DATA_END when there are data There is no data, it doesn't needs to wait for completing data transfer. (It seems that it can be removed.) Almost all timeout error is occured from stop command without data. After applied this patch, I hope that we don't need to increase timeout value anymore. Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com> Acked-by: Lukasz Majewski <l.majewski@samsung.com> Tested-by: Lukasz Majewski <l.majewski@samsung.com> Acked-by: Minkyu Kang <mk7.kang@samsung.com> Base directory -> / drivers/mmc/sdhci.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit bae4a1fdf59cddf02acd0070d1da7303fe5ffd0e Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-07-10 00:40:22 +0900 mmc: sdhci: clean up timeout detection The current timeout detection logic is not very nice; it calls get_timer(start) in the while() loop, and then calls it again after the loop to check if a timeout error happened. Because of the time difference between the two calls of get_timer(), the timeout detected after the loop may not be true. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Acked-by: Jaehoon Chung <jh80.chung@samsung.com> Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com> Base directory -> / drivers/mmc/sdhci.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) ------------------------------------------------------------------------------- commit cb0ff4ccc039435bef627883ade3e3911805cec5 Author: Stephen Warren <swarren@nvidia.com> Date: 2016-07-27 15:24:57 -0600 ARM: tegra: call tegra_board_init on Tegra186 Introduce tegra_board_init() and call it from board_init(). Tegra wil use tegra_board_init() for board-specific initialization, and board_init() for SoC-specific initialization. Signed-off-by: Stephen Warren <swarren@nvidia.com> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Warren <twarren@nvidia.com> Base directory -> / arch/arm/mach-tegra/board186.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 9e613de0e1a88a61a4e3ea82d0759e1044d77073 Author: Bryan Wu <pengw@nvidia.com> Date: 2016-07-27 15:48:21 -0600 ARM: tegra: add I2C controllers to Tegra186 DT Tegra186 has 8 I2C controllers including BPMP I2C. This patch adds the other 7 generic controllers to Tegra186's DT. Signed-off-by: Bryan Wu <pengw@nvidia.com> (swarren, fixed DT node sort order, tweak patch description) Signed-off-by: Stephen Warren <swarren@nvidia.com> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Warren <twarren@nvidia.com> Base directory -> / arch/arm/dts/tegra186.dtsi | 104 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 104 insertions(+) ------------------------------------------------------------------------------- commit 20bbde0628b30e5ac720e097cb00c36287ca4e38 Author: Stephen Warren <swarren@nvidia.com> Date: 2016-07-27 15:48:19 -0600 ARM: tegra: add PCIe controller to Tegra186 SoC DT The Tegra186 PCIe DT content is almost identical to previous chips, except that the: - There are 3 ports instead of 2. - Some physical addresses have moved. - PHY programming is handled by firmware, so CCPLEX DTs don't need to reference any PHY. - The power domain is explicitly represented in DT. This change is mandatory for Tegra186 since standard power domain APIs are used, and should be made to the DT for older SoCs, although we get away without doing so since U-Boot currently uses custom APIs that hard-code power domain IDs. Signed-off-by: Stephen Warren <swarren@nvidia.com> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Warren <twarren@nvidia.com> Base directory -> / arch/arm/dts/tegra186.dtsi | 92 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 92 insertions(+) ------------------------------------------------------------------------------- commit 23ab5bda7eb45b82bdaff60d380c78f8948dde0a Author: Stephen Warren <swarren@nvidia.com> Date: 2016-07-29 13:15:04 -0600 ARM: tegra: add BPMP I2C to Tegra186 device tree This allows the BPMP I2C device to be instantiated, which makes it available to other drivers and the user. Signed-off-by: Stephen Warren <swarren@nvidia.com> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Warren <twarren@nvidia.com> Base directory -> / arch/arm/dts/tegra186.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) ------------------------------------------------------------------------------- commit 19014203c4b54c499fc490c7d4c53c5aea7704c5 Author: Stephen Warren <swarren@nvidia.com> Date: 2016-07-27 15:24:51 -0600 ARM: tegra: add BPMP and dependencies to Tegra186 DT This adds the DT content that's needed to allow board DTs to enable use of BPMP, clocks, resets, GPIOs, eMMC, and SD cards. Signed-off-by: Stephen Warren <swarren@nvidia.com> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Warren <twarren@nvidia.com> Base directory -> / arch/arm/dts/tegra186.dtsi | 55 ++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 53 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit 6e7a11e64e7a97b309e792af5410d47976b6ecec Author: Stephen Warren <swarren@nvidia.com> Date: 2016-07-29 13:15:02 -0600 dt-bindings: add Tegra186 BPMP I2C binding In Tegra186, the BPMP (Boot and Power Management Processor) owns certain HW devices, such as the I2C controller for the power management I2C bus. Software running on other CPUs must perform IPC to the BPMP in order to execute transactions on that I2C bus. This binding describes an I2C bus that is accessed in such a fashion. Signed-off-by: Stephen Warren <swarren@nvidia.com> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Warren <twarren@nvidia.com> Base directory -> / .../i2c/nvidia,tegra186-bpmp-i2c.txt | 42 ++++++++++++++++++++++ 1 file changed, 42 insertions(+) ------------------------------------------------------------------------------- commit 390ae57c762b65d40d39355858960f13f06cfcd4 Author: Stephen Warren <swarren@nvidia.com> Date: 2016-07-29 13:15:00 -0600 dt-bindings: allow child nodes inside the Tegra BPMP The BPMP implements some services which must be represented by separate nodes. For example, it can provide access to certain I2C controllers, and the I2C bindings represent each I2C controller as a device tree node. Update the binding to describe how the BPMP supports this. Signed-off-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Tom Warren <twarren@nvidia.com> Base directory -> / .../firmware/nvidia,tegra186-bpmp.txt | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) ------------------------------------------------------------------------------- commit 7b9cb4940575f3b2d368d56ca06d3c0330af4c4b Author: Stephen Warren <swarren@nvidia.com> Date: 2016-07-27 15:24:50 -0600 ARM: tegra: add BPMP DT bindings The Tegra BPMP (Boot and Power Management Processor) is a separate auxiliary CPU embedded into Tegra to perform power management work, and controls related features such as clocks, resets, power domains, PMIC I2C bus, etc. These bindings dictate how to represent the BPMP in device tree. Signed-off-by: Stephen Warren <swarren@nvidia.com> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Warren <twarren@nvidia.com> Base directory -> / .../firmware/nvidia,tegra186-bpmp.txt | 81 ++ include/dt-bindings/clock/tegra186-clock.h | 940 +++++++++++++++++++++ include/dt-bindings/power/tegra186-powergate.h | 29 + include/dt-bindings/reset/tegra186-reset.h | 206 +++++ 4 files changed, 1256 insertions(+) ------------------------------------------------------------------------------- commit 729c2db7a977c59ea35bbc56fb1633c17342b3c5 Author: Stephen Warren <swarren@nvidia.com> Date: 2016-07-27 15:24:49 -0600 ARM: tegra: adapt to latest HSP DT binding The DT binding for the Tegra186 HSP module apparently wasn't quite final when I posted initial U-Boot support for it. Add the final DT binding doc and adapt all code and DT files to match it. Signed-off-by: Stephen Warren <swarren@nvidia.com> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Warren <twarren@nvidia.com> Base directory -> / arch/arm/dts/tegra186.dtsi | 10 ++--- .../mailbox/nvidia,tegra186-hsp.txt | 52 ++++++++++++++++++++++ drivers/mailbox/tegra-hsp.c | 47 +++++++++++++++---- include/dt-bindings/mailbox/tegra-hsp.h | 14 ------ include/dt-bindings/mailbox/tegra186-hsp.h | 19 ++++++++ 5 files changed, 113 insertions(+), 29 deletions(-) ------------------------------------------------------------------------------- commit e1efe43c710bec8d951c25f163cc8b0c5eb92294 Author: Scott Wood <oss@buserror.net> Date: 2016-07-19 17:51:55 -0500 powerpc/86xx: Increase boot map size to 256 MiB This is what Linux maps on classic PPC during boot, and modern kernel images don't fit within the current 8 MiB uncompressed limit. Adjust image load addresses to be above this limit to avoid conflicts. Signed-off-by: Scott Wood <oss@buserror.net> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / include/configs/MPC8610HPCD.h | 13 +++++++------ include/configs/MPC8641HPCN.h | 9 +++++---- 2 files changed, 12 insertions(+), 10 deletions(-) ------------------------------------------------------------------------------- commit ad6a303c578b0087749510d20c1c46ae13f20367 Author: Tom Rini <trini@konsulko.com> Date: 2016-08-02 20:45:24 -0400 Merge git://git.denx.de/u-boot-fsl-qoriq Base directory -> / arch/arm/cpu/armv8/fsl-layerscape/ppa.c | 2 +- arch/arm/include/asm/psci.h | 3 ++ arch/arm/lib/psci-dt.c | 80 +++++++++++++++------------------ arch/powerpc/include/asm/immap_85xx.h | 2 +- board/freescale/b4860qds/MAINTAINERS | 2 +- board/freescale/bsc9132qds/MAINTAINERS | 2 +- board/freescale/corenet_ds/MAINTAINERS | 2 +- board/freescale/ls1021atwr/MAINTAINERS | 4 ++ board/freescale/ls1043ardb/MAINTAINERS | 2 +- board/freescale/t1040qds/MAINTAINERS | 2 +- board/freescale/t104xrdb/MAINTAINERS | 6 ++- board/freescale/t208xqds/MAINTAINERS | 2 +- board/freescale/t208xrdb/MAINTAINERS | 2 +- board/freescale/t4qds/MAINTAINERS | 2 +- cmd/blob.c | 2 +- drivers/crypto/fsl/fsl_blob.c | 13 ++++-- drivers/ddr/fsl/ctrl_regs.c | 2 +- drivers/spi/fsl_qspi.c | 4 +- include/configs/ls1012aqds.h | 4 +- include/configs/ls1043a_common.h | 2 + include/configs/ls1043ardb.h | 4 +- include/fsl_mmdc.h | 4 +- 22 files changed, 82 insertions(+), 66 deletions(-) ------------------------------------------------------------------------------- commit ab01ef5fa617444fd95543ee04ea53ccda273269 Author: Hou Zhiqiang <Zhiqiang.Hou@nxp.com> Date: 2016-07-29 19:26:34 +0800 ARMv8/fsl-ppa: Consolidate PPA image stored-media flag for XIP The PPA binary may be stored on QSPI flash instead of NOR. So, deprecated CONFIG_SYS_LS_PPA_FW_IN_NOR in favour of CONFIG_SYS_LS_PPA_FW_IN_XIP to prevent fragmentation of code by addition of a new QSPI specific flag. Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com> Signed-off-by: Abhimanyu Saini <abhimanyu.saini@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / arch/arm/cpu/armv8/fsl-layerscape/ppa.c | 2 +- include/configs/ls1043ardb.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) ------------------------------------------------------------------------------- commit bded21895d4e58e7770579fc5d7905ec34cc06a9 Author: Hou Zhiqiang <Zhiqiang.Hou@nxp.com> Date: 2016-07-29 18:26:37 +0800 arm/PSCI: Add support for creating ARMv7 PSCI version 1.0 DT node Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / arch/arm/lib/psci-dt.c | 2 ++ 1 file changed, 2 insertions(+) ------------------------------------------------------------------------------- commit 2c774165449ebb180060b8596764140cfb00a1e1 Author: Hou Zhiqiang <Zhiqiang.Hou@nxp.com> Date: 2016-07-29 18:26:36 +0800 arm/PSCI: Fixed the backward compatiblity issue Appended the compatible strings of old version PSCI to the latest version supported. And there are some psci functions' property must be added to DT only for psci version 0.1, including cpu_on, cpu_off, cpu_suspend, migrate. Note, ARMv8 Secure Firmware Framework doesn't support PSCI ver 0.1. Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / arch/arm/include/asm/psci.h | 3 +++ arch/arm/lib/psci-dt.c | 61 ++++++++++++++++++++++++++------------------- 2 files changed, 38 insertions(+), 26 deletions(-) ------------------------------------------------------------------------------- commit 388aabc85d4c6a0e603e45421e7e2edadd9f24ac Author: Hou Zhiqiang <Zhiqiang.Hou@nxp.com> Date: 2016-07-29 18:26:35 +0800 arm/PSCI: Removed unused code Identify the PSCI node only by its name, so removed the code finding it by compatible string. Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / arch/arm/lib/psci-dt.c | 17 ----------------- 1 file changed, 17 deletions(-) ------------------------------------------------------------------------------- commit 8936691ba69bc322201c62e977e2803cfe67fc40 Author: York Sun <york.sun@nxp.com> Date: 2016-07-29 09:02:29 -0700 driver/ddr/fsl: Fix timing_cfg_2 Commit 5605dc6 tried to fix wr_lat bit in timing_cfg_2, but the change was wrong. wr_lat has 5 bits with MSB at [13] and lower 4 bits at [9:12], in big-endian convention. Signed-off-by: York Sun <york.sun@nxp.com> Reported-by: Thomas Schaefer <Thomas.Schaefer@kontron.com> Base directory -> / drivers/ddr/fsl/ctrl_regs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 473af36a889d3a7e6faad1ec95b926a21c834bf8 Author: York Sun <york.sun@nxp.com> Date: 2016-07-29 08:46:49 -0700 board/freescale: Update MAINTAINERS files Update maintainers for secure boot targets. Signed-off-by: York Sun <york.sun@nxp.com> Base directory -> / board/freescale/b4860qds/MAINTAINERS | 2 +- board/freescale/bsc9132qds/MAINTAINERS | 2 +- board/freescale/corenet_ds/MAINTAINERS | 2 +- board/freescale/ls1021atwr/MAINTAINERS | 4 ++++ board/freescale/ls1043ardb/MAINTAINERS | 2 +- board/freescale/t1040qds/MAINTAINERS | 2 +- board/freescale/t104xrdb/MAINTAINERS | 6 +++++- board/freescale/t208xqds/MAINTAINERS | 2 +- board/freescale/t208xrdb/MAINTAINERS | 2 +- board/freescale/t4qds/MAINTAINERS | 2 +- 10 files changed, 17 insertions(+), 9 deletions(-) ------------------------------------------------------------------------------- commit 6ffc490541cd464ac3340742fa278c13ac7b9d13 Author: Wenbin Song <wenbin.song@nxp.com> Date: 2016-07-15 17:17:46 +0800 armv8: ls1043a: enable pxe commands Enable pxe command for ls1043ardb and ls1043aqds. Signed-off-by: Wenbin Song <wenbin.song@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / include/configs/ls1043a_common.h | 2 ++ 1 file changed, 2 insertions(+) ------------------------------------------------------------------------------- commit 37eac3f4609c4a6b7c8c3a2f4046fbc5deb07299 Author: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com> Date: 2016-07-19 15:54:33 +0530 armv8: ls1012a: Update Refresh cycle for DDR Refresh cycle value must be selected based on the frequency of DDR. tREFI = 7.8 us as per JEDEC. The value for MDREF[REF_CNT] should be based on round up (tREFI/tCK) formula. For 500MHz, mdref value should be 0x0f3c8000. Signed-off-by: Calvin Johnson <calvin.johnson@nxp.com> Signed-off-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / include/fsl_mmdc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 9c3fca2a79be3d9d67d7766bbd85efc941bcb237 Author: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com> Date: 2016-07-19 15:54:22 +0530 armv8: ls1012a: Enable DDR row-bank-column decoding Enable DDR row-bank-column decoding to decode DDR address as row-bank-column instead of bank-row-column for improving performance of serial data transfers. Signed-off-by: Calvin Johnson <calvin.johnson@nxp.com> Signed-off-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / include/fsl_mmdc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 3b4dbd37dcd0b851f39dda1ff212d6ef902d4db7 Author: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com> Date: 2016-07-19 14:05:47 +0530 board: ls1012aqds: Update LBMAP_MASK and RST_CTL_RESET qixis_reset altbank usagge ~QIXIS_LBMAP_MASK in code. So define inverse value QIXIS_LBMAP_MASK. Also, update QIXIS_RST_CTL_RESET value to keep RST_CTL[REQ_MOD] as 0b11 i.e. PORESET during qixis_reset Signed-off-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / include/configs/ls1012aqds.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit 7fe1d6a41092da00e0a1b94ae0e996cf89e81e28 Author: Sumit Garg <sumit.garg@nxp.com> Date: 2016-07-14 13:27:50 -0400 crypto/fsl: Update blob cmd to accept 64bit addresses Update blob cmd to accept 64bit source, key modifier and destination addresses. Also correct output result print format for fsl specific implementation of blob cmd. Signed-off-by: Sumit Garg <sumit.garg@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / cmd/blob.c | 2 +- drivers/crypto/fsl/fsl_blob.c | 13 ++++++++++--- 2 files changed, 11 insertions(+), 4 deletions(-) ------------------------------------------------------------------------------- commit 04e5c6d9cca668845f9f4b702f587c4dcc0ea4bd Author: Yunhui Cui <yunhui.cui@nxp.com> Date: 2016-07-13 10:46:27 +0800 driver: spi: fsl-qspi: remove compile Warnings Warnins log: drivers/spi/fsl_qspi.c: In function ‘qspi_ahb_read’: drivers/spi/fsl_qspi.c:400:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] memcpy(rxbuf, (u8 *)(priv->cur_amba_base + priv->sf_addr), len); Signed-off-by: Yunhui Cui <yunhui.cui@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / drivers/spi/fsl_qspi.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit f3dbf1f0c9101bf303cb5f52bca6ba02aebc1e45 Author: York Sun <york.sun@nxp.com> Date: 2016-08-01 09:00:13 -0700 powerpc/mpc85xx: Update erratum workaround for A006379 Update erratum workaround for A006379 to set register CPCHDBCR0 with value 0x001e0000, replacing the old value 0x003c0000. Signed-off-by: York Sun <york.sun@nxp.com> Reported-by: Dave Liu <dave.liu@nxp.com> Base directory -> / arch/powerpc/include/asm/immap_85xx.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 7351bf2b5b35819104d7c84ba8fd7d72eea544ee Author: Tom Rini <trini@konsulko.com> Date: 2016-08-02 07:32:30 -0400 Merge branch 'master' of git://www.denx.de/git/u-boot-microblaze Base directory -> / arch/arm/Kconfig | 3 --- arch/arm/dts/zynqmp-clk.dtsi | 1 + arch/arm/dts/zynqmp-ep108-clk.dtsi | 1 + board/xilinx/zynqmp/zynqmp.c | 5 +++++ configs/microblaze-generic_defconfig | 4 ++-- configs/xilinx_zynqmp_ep_defconfig | 11 +++++++---- configs/xilinx_zynqmp_zc1751_xm015_dc1_defconfig | 11 +++++++---- configs/xilinx_zynqmp_zc1751_xm016_dc2_defconfig | 11 +++++++---- configs/xilinx_zynqmp_zc1751_xm018_dc4_defconfig | 8 +++++--- configs/xilinx_zynqmp_zc1751_xm019_dc5_defconfig | 8 +++++--- configs/xilinx_zynqmp_zcu102_defconfig | 9 ++++++--- configs/xilinx_zynqmp_zcu102_revB_defconfig | 9 ++++++--- configs/zynq_microzed_defconfig | 6 ++---- configs/zynq_picozed_defconfig | 6 ++---- configs/zynq_zc702_defconfig | 5 ++--- configs/zynq_zc706_defconfig | 5 ++--- configs/zynq_zc770_xm010_defconfig | 3 +-- configs/zynq_zc770_xm011_defconfig | 3 +-- configs/zynq_zc770_xm012_defconfig | 1 - configs/zynq_zc770_xm013_defconfig | 3 +-- configs/zynq_zed_defconfig | 6 ++---- configs/zynq_zybo_defconfig | 5 ++--- include/configs/xilinx_zynqmp.h | 4 ++-- 23 files changed, 69 insertions(+), 59 deletions(-) ------------------------------------------------------------------------------- commit dbc39699d0f70c88da8d19c506e73d6709143bed Author: Jaehoon Chung <jh80.chung@samsung.com> Date: 2016-08-01 12:35:20 +0900 MAINTAINERS, git-mailrc: Update the mmc maintainer Update the mmc maintainer from Pantelis to me. Acked-by: Pantelis Antoniou <pantelis.antoniou@konsulko.com> Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com> Base directory -> / MAINTAINERS | 2 +- doc/git-mailrc | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) ------------------------------------------------------------------------------- commit 28559d4c93de5039f851eea6d1404305d3ad0825 Author: Michal Simek <michal.simek@xilinx.com> Date: 2016-08-01 08:49:12 +0200 ARM64: zynqmp: Do not enable DM_MMC by default The patch: "dm: mmc: zynq: Convert zynq to use driver model for MMC" (sha1: 329a449f2c289b4de8f892fca1d9379ce5fd81b8) added dependency on enabling some MMC options by default. There are minimal ZynqMP configurations which require only minimal configurations to be enabled to keep u-boot size as lower as possible. Move options to defconfig instead. Signed-off-by: Michal Simek <michal.simek@xilinx.com> Base directory -> / arch/arm/Kconfig | 3 --- configs/xilinx_zynqmp_ep_defconfig | 2 ++ configs/xilinx_zynqmp_zc1751_xm015_dc1_defconfig | 2 ++ configs/xilinx_zynqmp_zc1751_xm016_dc2_defconfig | 2 ++ configs/xilinx_zynqmp_zc1751_xm018_dc4_defconfig | 2 ++ configs/xilinx_zynqmp_zc1751_xm019_dc5_defconfig | 2 ++ configs/xilinx_zynqmp_zcu102_defconfig | 2 ++ configs/xilinx_zynqmp_zcu102_revB_defconfig | 2 ++ 8 files changed, 14 insertions(+), 3 deletions(-) ------------------------------------------------------------------------------- commit 8fbf678ba028e2e1d346190e3101d1a475f11b63 Author: Soren Brinkmann <soren.brinkmann@xilinx.com> Date: 2016-07-27 14:12:03 -0700 ARM64: zynqmp: Fix stack pointer initialization This partly reverts commit: "ARM64: zynqmp: Add SPL support support" (sha1: e6a9ed04e78cf87ec97e306fa4e7a1669ef98df6) Stack can rewrite ATF code. Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com> Base directory -> / include/configs/xilinx_zynqmp.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 0cfd0a976f0393afb0a3581fce776bf7d83324fb Author: Michal Simek <michal.simek@xilinx.com> Date: 2016-07-27 14:56:49 +0200 ARM64: zynqmp: Define config USB_STORAGE through defconfig Define config USB_STORAGE through defconfig for all Xilinx ZynqMP boards. Signed-off-by: Michal Simek <michal.simek@xilinx.com> Base directory -> / configs/xilinx_zynqmp_ep_defconfig | 1 + configs/xilinx_zynqmp_zc1751_xm015_dc1_defconfig | 1 + configs/xilinx_zynqmp_zc1751_xm016_dc2_defconfig | 1 + configs/xilinx_zynqmp_zcu102_defconfig | 1 + configs/xilinx_zynqmp_zcu102_revB_defconfig | 1 + include/configs/xilinx_zynqmp.h | 1 - 6 files changed, 5 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 3c70349f8e7dd1a2b000ccd27d2906960b827823 Author: Michal Simek <michal.simek@xilinx.com> Date: 2016-07-27 15:08:03 +0200 xilinx: Sync defconfigs with the latest Kconfig layout Update Microblaze, Zynq and ZynqMP defconfigs to reflect latest Kconfig changes. Signed-off-by: Michal Simek <michal.simek@xilinx.com> Base directory -> / configs/microblaze-generic_defconfig | 4 ++-- configs/xilinx_zynqmp_ep_defconfig | 8 ++++---- configs/xilinx_zynqmp_zc1751_xm015_dc1_defconfig | 8 ++++---- configs/xilinx_zynqmp_zc1751_xm016_dc2_defconfig | 8 ++++---- configs/xilinx_zynqmp_zc1751_xm018_dc4_defconfig | 6 +++--- configs/xilinx_zynqmp_zc1751_xm019_dc5_defconfig | 6 +++--- configs/xilinx_zynqmp_zcu102_defconfig | 6 +++--- configs/xilinx_zynqmp_zcu102_revB_defconfig | 6 +++--- configs/zynq_microzed_defconfig | 6 ++---- configs/zynq_picozed_defconfig | 6 ++---- configs/zynq_zc702_defconfig | 5 ++--- configs/zynq_zc706_defconfig | 5 ++--- configs/zynq_zc770_xm010_defconfig | 3 +-- configs/zynq_zc770_xm011_defconfig | 3 +-- configs/zynq_zc770_xm012_defconfig | 1 - configs/zynq_zc770_xm013_defconfig | 3 +-- configs/zynq_zed_defconfig | 6 ++---- configs/zynq_zybo_defconfig | 5 ++--- 18 files changed, 41 insertions(+), 54 deletions(-) ------------------------------------------------------------------------------- commit 33986e2c318d5bf33aa43f53441d29c9dcd33a18 Author: Michal Simek <michal.simek@xilinx.com> Date: 2016-07-27 13:40:19 +0200 ARM64: zynqmp: Wire up PSCI reset Using PSCI to reset the system. Signed-off-by: Michal Simek <michal.simek@xilinx.com> Base directory -> / board/xilinx/zynqmp/zynqmp.c | 5 +++++ 1 file changed, 5 insertions(+) ------------------------------------------------------------------------------- commit a9022b017a904013529b7bad934e739049daa93c Author: Michal Simek <michal.simek@xilinx.com> Date: 2016-07-29 13:03:29 +0200 ARM64: zynqmp: Add u-boot,dm-pre-reloc to clk nodes Serial driver is getting clk information via DT that's why also clk node needs to have this flag. Different behavior was introduced by: "dm: Use dm_scan_fdt_dev() directly where possible" (sha1: 911954859d6dece49c3e4835faea004cfe392506) where simple-bus driver starts to call dm_scan_fdt_dev() which has additional logic around pre_reloc_only parameter which exclude clk nodes. Signed-off-by: Michal Simek <michal.simek@xilinx.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/arm/dts/zynqmp-clk.dtsi | 1 + arch/arm/dts/zynqmp-ep108-clk.dtsi | 1 + 2 files changed, 2 insertions(+) ------------------------------------------------------------------------------- commit 6de80f2196cb7b7a2c550a636404c54cf532fc17 Author: Simon Glass <sjg@chromium.org> Date: 2016-07-27 20:33:08 -0600 Drop references to MAKEALL in the documentation It is confusing to mention MAKEALL when it is not the normal way of building U-Boot anymore. Update the documentation to suit. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / README | 35 ++++++----------------------------- board/Barix/ipam390/README.ipam390 | 12 ++++++------ doc/README.sha1 | 5 +++-- 3 files changed, 15 insertions(+), 37 deletions(-) ------------------------------------------------------------------------------- commit c8a3777c51b9e375d88e3a0dfa0141f1ac89df3a Author: Simon Glass <sjg@chromium.org> Date: 2016-07-27 20:33:07 -0600 Drop the MAKEALL tool Buildman has been around for 3 years now. It has had a lot of use and testing. Perhaps it is time to remove MAKEALL. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / MAKEALL | 850 ---------------------------------------------------------------- 1 file changed, 850 deletions(-) ------------------------------------------------------------------------------- commit c8d7393b73b8d13ba3eb66dada1fc0ce979c8021 Author: Simon Glass <sjg@chromium.org> Date: 2016-07-27 20:33:06 -0600 buildman: Add a quick-start note For those who just want to build a board, it is useful to see a quick hint right at the start of the documentation. Add a few commands showing how to download toolchains and build a board. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / tools/buildman/README | 14 ++++++++++++++ 1 file changed, 14 insertions(+) ------------------------------------------------------------------------------- commit c8785c5b494466066e0a08f9740a6655941ec0c0 Author: Simon Glass <sjg@chromium.org> Date: 2016-07-27 20:33:05 -0600 buildman: Avoid overwriting existing toolchain entries The current code for setting up the toolchain config always writes the new paths to an item called 'toolchain'. This means that it will overwrite any existing toolchain item with the same name. In practice, this means that: buildman --fetch-arch all will fetch all toolchains, but only the path of the final one will be added to the config. This normally works out OK, since most toolchains are the same version (e.g. gcc 4.9) and will be found on the same path. But it is not correct and toolchains for archs which don't use the same version will not function as expected. Adjust the code to use a complete glob of the toolchain path. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / tools/buildman/toolchain.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) ------------------------------------------------------------------------------- commit 7e92e46e630cd7ee60e045e806356fa26567c064 Author: Simon Glass <sjg@chromium.org> Date: 2016-07-27 20:33:04 -0600 buildman: Drop the toolchain error when downloading toolchains It doesn't make sense to complain about missing toolchains when the --fetch-arch option is being used. The user is presumably aware that there is a toolchain problem and is actively correcting it by running with this option. Refactor the code to avoid printing this confusing message. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / tools/buildman/control.py | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) ------------------------------------------------------------------------------- commit 2289b2763ce88fe5393108e2d270a05e90b52775 Author: Simon Glass <sjg@chromium.org> Date: 2016-07-27 20:33:03 -0600 buildman: Fix a typo in TestSettingsHasPath() The function comment should say 'buildman'. Fix it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / tools/buildman/toolchain.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 713bea38dde23794aa7ff6a276829b54a7ffbd99 Author: Simon Glass <sjg@chromium.org> Date: 2016-07-27 20:33:02 -0600 buildman: Improve the toolchain progress/error output Use colour to make it easier to see what is going on. Also print a message before downloading a new toolchain. Mention --fetch-arch in the message that is shown when there are no available toolchains, since this is the quickest way to resolve the problem. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / tools/buildman/control.py | 9 ++++++--- tools/buildman/toolchain.py | 24 +++++++++++++++--------- 2 files changed, 21 insertions(+), 12 deletions(-) ------------------------------------------------------------------------------- commit 80e6a487505c44bffbf5bf97cfa5ce2176e0cd9b Author: Simon Glass <sjg@chromium.org> Date: 2016-07-27 20:33:01 -0600 buildman: Allow the toolchain error to be suppressed When there are no toolchains a warning is printed. But in some cases this is confusing, such as when the user is fetching new toolchains. Adjust the function to supress the warning in this case. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / tools/buildman/toolchain.py | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) ------------------------------------------------------------------------------- commit bd6f5d98de58723702f01a660a16269c54e2992e Author: Simon Glass <sjg@chromium.org> Date: 2016-07-27 20:33:00 -0600 buildman: Fix the 'help' test to use the correct path When buildman is run via a symlink, this test fails. Fix it to work the same way as buildman itself. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / tools/buildman/func_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 8e605a5e3e41861c4b1c55bc3b911abde2323939 Author: Simon Glass <sjg@chromium.org> Date: 2016-07-27 20:32:59 -0600 buildman: Automatically create a config file if needed If there is no ~/.buildman file, buildman currently complains and exists. To make things a little more friendly, create an empty one automatically. This will not allow things to be built, but --fetch-arch can be used to handle that. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / tools/buildman/bsettings.py | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) ------------------------------------------------------------------------------- commit 8ea42101d2e97bb3c357baaf815ea575eb5464c1 Author: Simon Glass <sjg@chromium.org> Date: 2016-07-27 20:32:58 -0600 buildman: Tidy up the README a little Tidy up some problems found by a recent review. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / tools/buildman/README | 53 +++++++++++++++++++++++++++++---------------------- 1 file changed, 30 insertions(+), 23 deletions(-) ------------------------------------------------------------------------------- commit e2f88dfd2d9671945877daf5a8c9223b864c34d1 Author: Michal Simek <michal.simek@xilinx.com> Date: 2016-07-28 09:06:41 +0200 libfdt: Introduce new ARCH_FIXUP_FDT option Add new Kconfig option to disable arch_fixup_fdt() calls for cases where U-Boot shouldn't update memory setup in DTB file. One example of usage of this option is to boot OS with different memory setup than U-Boot use. Signed-off-by: Michal Simek <michal.simek@xilinx.com> Acked-by: Simon Glass <sjg@chromium.org> Base directory -> / Kconfig | 9 +++++++++ arch/arm/lib/bootm-fdt.c | 2 ++ arch/arm/lib/bootm.c | 2 ++ arch/mips/lib/bootm.c | 2 ++ common/image-fdt.c | 7 ++----- 5 files changed, 17 insertions(+), 5 deletions(-) ------------------------------------------------------------------------------- commit 26fb8db0f4d1e7c118b5e8f3a8849f359b91c166 Author: Tom Rini <trini@konsulko.com> Date: 2016-07-31 20:31:13 -0400 Merge git://git.denx.de/u-boot-rockchip Base directory -> / arch/arm/dts/Makefile | 2 + arch/arm/dts/rk3288-evb.dts | 3 +- arch/arm/dts/rk3288-fennec.dts | 60 +++ arch/arm/dts/rk3288-fennec.dtsi | 421 ++++++++++++++++++ arch/arm/dts/rk3288-popmetal.dts | 61 +++ arch/arm/dts/rk3288-popmetal.dtsi | 520 ++++++++++++++++++++++ arch/arm/mach-rockchip/rk3036/Kconfig | 3 - arch/arm/mach-rockchip/rk3288-board-spl.c | 27 +- arch/arm/mach-rockchip/rk3288/Kconfig | 23 +- board/chipspark/popmetal_rk3288/Kconfig | 15 + board/chipspark/popmetal_rk3288/MAINTAINERS | 6 + board/chipspark/popmetal_rk3288/Makefile | 7 + board/chipspark/popmetal_rk3288/popmetal-rk3288.c | 15 + board/evb-rk3288/evb-rk3288/Kconfig | 15 - board/evb-rk3288/evb-rk3288/MAINTAINERS | 6 - board/evb-rk3288/evb-rk3288/Makefile | 7 - board/evb-rk3288/evb-rk3288/evb-rk3288.c | 15 - board/rockchip/evb_rk3036/MAINTAINERS | 4 +- board/rockchip/evb_rk3288/Kconfig | 15 + board/rockchip/evb_rk3288/MAINTAINERS | 6 + board/rockchip/evb_rk3288/Makefile | 7 + board/rockchip/evb_rk3288/evb-rk3288.c | 15 + board/rockchip/evb_rk3399/evb-rk3399.c | 3 +- board/rockchip/fennec_rk3288/Kconfig | 15 + board/rockchip/fennec_rk3288/MAINTAINERS | 6 + board/rockchip/fennec_rk3288/Makefile | 7 + board/rockchip/fennec_rk3288/fennec-rk3288.c | 15 + board/rockchip/kylin_rk3036/MAINTAINERS | 4 +- configs/evb-rk3288_defconfig | 2 +- configs/fennec-rk3288_defconfig | 66 +++ configs/popmetal-rk3288_defconfig | 65 +++ doc/README.rockchip | 4 +- drivers/mmc/mmc-uclass.c | 6 +- drivers/pinctrl/rockchip/pinctrl_rk3288.c | 21 +- include/configs/evb-rk3288.h | 26 -- include/configs/evb_rk3288.h | 26 ++ include/configs/fennec_rk3288.h | 26 ++ include/configs/kylin_rk3036.h | 1 - include/configs/popmetal_rk3288.h | 26 ++ include/configs/rk3036_common.h | 3 - include/configs/rk3288_common.h | 11 +- include/mmc.h | 6 + 42 files changed, 1479 insertions(+), 113 deletions(-) ------------------------------------------------------------------------------- commit fcada3b05e56c9b22bf5f92ba94fa80449452e76 Author: Hans de Goede <hdegoede@redhat.com> Date: 2016-07-27 18:06:35 +0200 sunxi: Re-enable h3 emac support With the recent bug fixes for the sun8i_emac driver all known issues are resolved, so we can re-enable the driver. While at it, also enable the emac on the Orange Pi One. Cc: Chen-Yu Tsai <wens@csie.org> Cc: Corentin LABBE <clabbe.montjoie@gmail.com> Cc: Amit Singh Tomar <amittomer25@gmail.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Ian Campbell <ijc@hellion.org.uk> Acked-by: Jagan Teki <jteki@openedev.com> Base directory -> / arch/arm/dts/sun8i-h3-orangepi-one.dts | 11 +++++++++++ configs/orangepi_one_defconfig | 1 + configs/orangepi_pc_defconfig | 1 + configs/orangepi_pc_plus_defconfig | 1 + configs/pine64_plus_defconfig | 1 + 5 files changed, 15 insertions(+) ------------------------------------------------------------------------------- commit 4069437dfbb2f70b92a84af7ce2d5cfba27247b9 Author: Hans de Goede <hdegoede@redhat.com> Date: 2016-07-27 17:31:17 +0200 net: sun8i_emac: Fix DMA alignment issues with the rx / tx buffers This fixes the following CACHE warnings when using sun8i_emac: => dhcp BOOTP broadcast 1 BOOTP broadcast 2 CACHE: Misaligned operation at range [7bf594a8, 7bf59628] BOOTP broadcast 3 CACHE: Misaligned operation at range [7bf59c90, 7bf59e10] CACHE: Misaligned operation at range [7bf5a478, 7bf5a5f8] DHCP client bound to address 10.42.43.80 (1009 ms) Note this commit also changes the max rx size from 2024 to 2044, matching what the kernel driver uses. Cc: Chen-Yu Tsai <wens@csie.org> Cc: Corentin LABBE <clabbe.montjoie@gmail.com> Cc: Amit Singh Tomar <amittomer25@gmail.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Ian Campbell <ijc@hellion.org.uk> Base directory -> / drivers/net/sun8i_emac.c | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) ------------------------------------------------------------------------------- commit 3f8ea3b06eaf7c9e2456058bcbde32461e73aeb7 Author: Hans de Goede <hdegoede@redhat.com> Date: 2016-07-29 11:47:03 +0200 sunxi: On newer SoCs use words 1-3 instead of just word 3 from the SID It seems that bytes 13-14 of the SID / bytes 1-2 from word 3 of the SID are always 0 on H3 making it a poor candidate to use as source for the serialnr / mac-address, and the other non constant words (1 and 2) also have quite a few bits which are the same for some boards, This commits switches to using the crc32 of words 1 - 3 to get a more unique value for the mac-address / serialnr. Cc: Chen-Yu Tsai <wens@csie.org> Cc: Corentin LABBE <clabbe.montjoie@gmail.com> Cc: Amit Singh Tomar <amittomer25@gmail.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Ian Campbell <ijc@hellion.org.uk> Base directory -> / board/sunxi/board.c | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 97322c3e074d49b1e2c6d98c7e69e5da3093636f Author: Hans de Goede <hdegoede@redhat.com> Date: 2016-07-27 17:58:06 +0200 sunxi: Ensure that the NIC specific bytes of the mac are not all 0 On 2 of my H3 boards bytes 13-15 of the SID are all 0 leading to the NIC specific bytes of the mac all being 0, which leads to the boards not getting an ipv6 address from the dhcp server. This commits adds a check to ensure this does not happen. Cc: Chen-Yu Tsai <wens@csie.org> Cc: Corentin LABBE <clabbe.montjoie@gmail.com> Cc: Amit Singh Tomar <amittomer25@gmail.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Ian Campbell <ijc@hellion.org.uk> Base directory -> / board/sunxi/board.c | 4 ++++ 1 file changed, 4 insertions(+) ------------------------------------------------------------------------------- commit 3e5e274aed347cfcbf7cb7772fcd51d513f59402 Author: Chen-Yu Tsai <wens@csie.org> Date: 2016-07-22 16:13:00 +0800 sunxi: Hummingbird_A31_defconfig: Drop MACPWR option MACPWR was used to bring the Ethernet PHY out of reset. The designware driver now supports the phy reset gpio binding, so this is no longer needed. In fact in requesting the same GPIO, it makes the designware driver fail to probe. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Base directory -> / configs/Hummingbird_A31_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 4694dc56e974eac94d6a4aa07c3d4071bf64e28c Author: Chen-Yu Tsai <wens@csie.org> Date: 2016-07-22 16:12:59 +0800 sunxi: gpio: Add .xlate function for gpio phandle resolution sunxi uses a 2 cell phandle for gpio bindings. Also there are no seperate nodes for each pin bank. Add a custom .xlate function to map gpio phandles to the correct pin bank device. This fixes gpio_request_by_name usage. Fixes: 7aa974858422 ("dm: sunxi: Modify the GPIO driver to support driver model") Signed-off-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Base directory -> / drivers/gpio/sunxi_gpio.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) ------------------------------------------------------------------------------- commit dd63fbc70a5fa59677c86695ebad341834fec172 Author: jk.kernel@gmail.com <jk.kernel@gmail.com> Date: 2016-07-26 18:28:30 +0800 rockchip: add support for rk3288 PopMetal board PopMetal is a rockchip rk3288 based board made by ChipSpark, which has many interface such as HDMI, VGA, USB, micro-SD card, WiFi, Audio and Gigabit Ethernet. Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com> Acked-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/arm/dts/Makefile | 1 + arch/arm/dts/rk3288-popmetal.dts | 61 +++ arch/arm/dts/rk3288-popmetal.dtsi | 520 ++++++++++++++++++++++ arch/arm/mach-rockchip/rk3288/Kconfig | 11 + board/chipspark/popmetal_rk3288/Kconfig | 15 + board/chipspark/popmetal_rk3288/MAINTAINERS | 6 + board/chipspark/popmetal_rk3288/Makefile | 7 + board/chipspark/popmetal_rk3288/popmetal-rk3288.c | 15 + configs/popmetal-rk3288_defconfig | 65 +++ doc/README.rockchip | 3 +- include/configs/popmetal_rk3288.h | 26 ++ 11 files changed, 729 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit d7ca67b7cdd67f79637a8a0097277a68294fa3d8 Author: jk.kernel@gmail.com <jk.kernel@gmail.com> Date: 2016-07-26 18:28:29 +0800 rockchip: add basic support for fennec-rk3288 board Fennec is a RK3288-based development board with 2 USB ports, HDMI, micro-SD card, audio and WiFi and Gigabit Ethernet. It also includes on-board 8GB eMMC and 2GB of SDRAM. Expansion connectors provides access to display pins, I2C, SPI, UART and GPIOs. Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com> Acked-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/arm/dts/Makefile | 1 + arch/arm/dts/rk3288-fennec.dts | 60 ++++ arch/arm/dts/rk3288-fennec.dtsi | 421 +++++++++++++++++++++++++++ arch/arm/mach-rockchip/rk3288-board-spl.c | 3 +- arch/arm/mach-rockchip/rk3288/Kconfig | 10 + board/rockchip/fennec_rk3288/Kconfig | 15 + board/rockchip/fennec_rk3288/MAINTAINERS | 6 + board/rockchip/fennec_rk3288/Makefile | 7 + board/rockchip/fennec_rk3288/fennec-rk3288.c | 15 + configs/fennec-rk3288_defconfig | 66 +++++ doc/README.rockchip | 3 +- include/configs/fennec_rk3288.h | 26 ++ 12 files changed, 630 insertions(+), 3 deletions(-) ------------------------------------------------------------------------------- commit cba6bb1b74133060207192fba55e650d5744ed39 Author: jk.kernel@gmail.com <jk.kernel@gmail.com> Date: 2016-07-26 18:28:27 +0800 rockchip: rk3288: move evb board to rockchip folder The 'evb-rk3288' is not a vendor name, change it to 'rockchip' which is the real vendor name. Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com> Acked-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/arm/mach-rockchip/rk3288/Kconfig | 2 +- board/evb-rk3288/evb-rk3288/Kconfig | 15 --------------- board/evb-rk3288/evb-rk3288/MAINTAINERS | 6 ------ board/evb-rk3288/evb-rk3288/Makefile | 7 ------- board/evb-rk3288/evb-rk3288/evb-rk3288.c | 15 --------------- board/rockchip/evb_rk3288/Kconfig | 15 +++++++++++++++ board/rockchip/evb_rk3288/MAINTAINERS | 6 ++++++ board/rockchip/evb_rk3288/Makefile | 7 +++++++ board/rockchip/evb_rk3288/evb-rk3288.c | 15 +++++++++++++++ include/configs/evb-rk3288.h | 26 -------------------------- include/configs/evb_rk3288.h | 26 ++++++++++++++++++++++++++ 11 files changed, 70 insertions(+), 70 deletions(-) ------------------------------------------------------------------------------- commit f75711aae72e6331fc5bb6c6b094869182fb200c Author: jk.kernel@gmail.com <jk.kernel@gmail.com> Date: 2016-07-26 18:28:26 +0800 rockchip: rk3288: revise CONFIG_FASTBOOT_BUF_ADDR CONFIG_SYS_LOAD_ADDR is absolutely safe to store image for fastboot. Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com> Acked-by: Simon Glass <sjg@chromium.org> Base directory -> / include/configs/rk3288_common.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) ------------------------------------------------------------------------------- commit 77337c1c7a0d5e2bc15db4c6d237550c8af26942 Author: jk.kernel@gmail.com <jk.kernel@gmail.com> Date: 2016-07-26 18:28:25 +0800 rockchip: remove the duplicated macro config CONFIG_DOS_PARTITION and CONFIG_EFI_PARTITION are already included in config_distro_defaults.h, and we don't need them in SPL stage. Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com> Acked-by: Simon Glass <sjg@chromium.org> Base directory -> / include/configs/kylin_rk3036.h | 1 - include/configs/rk3036_common.h | 1 - include/configs/rk3288_common.h | 2 -- 3 files changed, 4 deletions(-) ------------------------------------------------------------------------------- commit 1743d0bafc5ffc36ba8993badf0ba687e126e189 Author: jk.kernel@gmail.com <jk.kernel@gmail.com> Date: 2016-07-26 18:28:24 +0800 rockchip: rk3288: disable fastboot in SPL stage Reduce compilation time for SPL. Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com> Acked-by: Simon Glass <sjg@chromium.org> Base directory -> / include/configs/rk3288_common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 5051a77b2dc2c8dc1f7454ed900b94d228ad4bd5 Author: jk.kernel@gmail.com <jk.kernel@gmail.com> Date: 2016-07-26 18:28:23 +0800 Revert "rockchip: Move the MMC setup check earlier" Boot Rom wouldn't initialize sdmmc while booting from eMMC. We need to setup sdmmc gpio, otherwise we will hit an error below: =>mmc info blk_get_device: if_type=6, devnum=0: dwmmc@ff0c0000.blk, 6, 0 uclass_find_device_by_seq: 0 -1 uclass_find_device_by_seq: 0 0 - -1 -1 - -1 0 - found uclass_find_device_by_seq: 0 1 - -1 -1 - -1 0 - not found fdtdec_get_int_array: interrupts get_prop_check_min_len: interrupts Buswidth = 1, clock: 0 Buswidth = 1, clock: 400000 Sending CMD0 dwmci_send_cmd: Timeout on data busy dwmci_send_cmd: Timeout on data busy dwmci_send_cmd: Timeout on data busy dwmci_send_cmd: Timeout on data busy This reverts commit 6efeeea79c880d3dd262e0dca9da2687f0ab68c9. Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com> Acked-by: Simon Glass <sjg@chromium.org> Tested-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/arm/mach-rockchip/rk3288-board-spl.c | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) ------------------------------------------------------------------------------- commit 194a241a6ed873ec8de6848e850ff29b4b789e74 Author: jk.kernel@gmail.com <jk.kernel@gmail.com> Date: 2016-07-26 18:28:22 +0800 cosmetic: rockchip: rk3288: pinctrl: fix config symbol naming Revise config to CONFIG_ROCKCHIP_RK3288_PINCTRL. Signed-off-by: Ziyuan Xu <jk.kernel@gmail.com> Acked-by: Simon Glass <sjg@chromium.org> Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com> Base directory -> / configs/evb-rk3288_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 8a632ac135fbdc89c70de86137a3bc0632b7032b Author: jk.kernel@gmail.com <jk.kernel@gmail.com> Date: 2016-07-26 18:28:21 +0800 rockchip: add a dummy byte for the sdram-channel property Add an extra byte so that this data is not byteswapped. Signed-off-by: Ziyuan Xu <jk.kernel@gmail.com> Acked-by: Simon Glass <sjg@chromium.org> Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com> Base directory -> / arch/arm/dts/rk3288-evb.dts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 2b51784aef46523ed70916b09de125bc5fbefa25 Author: John Keeping <john@metanate.com> Date: 2016-07-25 10:02:05 +0100 rockchip: rk3288: Fix pinctrl for GPIO bank 0 Bank 0 is the "PMU GPIO" bank which is controlled by the PMU registers rather than the GRF registers. In the GRF the top half of the register is used as a mask so that some bits can be updated without affecting the others, but in the PMU this feature is not provided and the top half of the register is reserved. Take the same approach as the Linux driver to update the value via read-modify-write but setting the mask for only the bits that have changed. The PMU registers ignore the top 16 bits so this works for both GRF and PMU iomux registers. Signed-off-by: John Keeping <john@metanate.com> Reviewed-by: Kever Yang <kever.yang@rock-chips.com> Base directory -> / drivers/pinctrl/rockchip/pinctrl_rk3288.c | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit 633fdab0cb95a274a17108cd14ceafab1d4b7430 Author: Kever Yang <kever.yang@rock-chips.com> Date: 2016-07-25 11:45:54 +0800 rk3399: Reserve space for ARM Trust Firmware RK3399 needs reserve 0x200000 at the beginning of DRAM, for ATF bl31. Signed-off-by: Kever Yang <kever.yang@rock-chips.com> Acked-by: Simon Glass <sjg@chromium.org> Base directory -> / board/rockchip/evb_rk3399/evb-rk3399.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit b357a7f7525160daa36b1814760ff57be9bb720d Author: Xu Ziyuan <xzy.xu@rock-chips.com> Date: 2016-07-23 15:09:28 +0800 rockchip: rk3036: update MAINTAINER file Update MAINTAINER files for kylin_rk3036, evb_rk3036. Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com> Acked-by: Simon Glass <sjg@chromium.org> Base directory -> / board/rockchip/evb_rk3036/MAINTAINERS | 4 ++-- board/rockchip/kylin_rk3036/MAINTAINERS | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) ------------------------------------------------------------------------------- commit 22948e1015140913b47b2886cfb08322b2538849 Author: Kever Yang <kever.yang@rock-chips.com> Date: 2016-07-22 17:41:37 +0800 configs: rockchip: remove no use MACRO The CONFIG_ROCKCHIP_COMMON and CONFIG_SPL_ROCKCHIP_COMMON are no use now, remove them. Signed-off-by: Kever Yang <kever.yang@rock-chips.com> Acked-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/arm/mach-rockchip/rk3036/Kconfig | 3 --- include/configs/rk3036_common.h | 2 -- include/configs/rk3288_common.h | 3 --- 3 files changed, 8 deletions(-) ------------------------------------------------------------------------------- commit 46683f3da191a4c2156d5473c23b9923c461912c Author: Kever Yang <kever.yang@rock-chips.com> Date: 2016-07-22 17:22:50 +0800 mmc-uclass: correct the device number Not like the mmc-legacy which the devnum starts from 1, it starts from 0 in mmc-uclass, so the device number should be (devnum + 1) in get_mmc_num(). Signed-off-by: Kever Yang <kever.yang@rock-chips.com> Acked-by: Simon Glass <sjg@chromium.org> Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com> Base directory -> / drivers/mmc/mmc-uclass.c | 6 +++--- include/mmc.h | 6 ++++++ 2 files changed, 9 insertions(+), 3 deletions(-) ------------------------------------------------------------------------------- commit 5c928d02044345b843202f23540c3765468c1d6f Author: Angelo Dureghello <angelo@sysam.it> Date: 2016-05-22 00:14:29 +0200 m68k: code reformatting for all start.S files This patch is style-related only, to reformat all the start.S code, actually not following a coherent style inside single files and between different cpu start.S files. Linux format has been respected, as - max line width at 80 columns - one 8 cols tab between asm instructions and operands - inline comments, where any, fixed at col 41 Signed-off-by: Angelo Dureghello <angelo@sysam.it> Base directory -> / arch/m68k/cpu/mcf5227x/start.S | 153 +++++++++++++++----------------- arch/m68k/cpu/mcf523x/start.S | 130 ++++++++++++--------------- arch/m68k/cpu/mcf52x2/start.S | 163 +++++++++++++++++----------------- arch/m68k/cpu/mcf530x/start.S | 73 +++++++-------- arch/m68k/cpu/mcf532x/start.S | 118 +++++++++++-------------- arch/m68k/cpu/mcf5445x/start.S | 185 ++++++++++++++++++--------------------- arch/m68k/cpu/mcf547x_8x/start.S | 128 ++++++++++++--------------- 7 files changed, 449 insertions(+), 501 deletions(-) ------------------------------------------------------------------------------- commit 08887ed4505ec14ee94ab32c482dc4dec5ddc1e4 Author: Vignesh R <vigneshr@ti.com> Date: 2016-07-29 14:22:30 +0530 ARM: am57xx_evm: Enable QSPI support AM571x IDK and AM572x IDK EVMs have spansion s25fl256s QSPI flash on the board connected to TI QSPI IP over CS0. Therefore enable QSPI support. Signed-off-by: Vignesh R <vigneshr@ti.com> Reviewed-by: Mugunthan V N <mugunthanvnm@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Jagan Teki <jteki@openedev.com> Base directory -> / configs/am57xx_evm_defconfig | 5 +++++ configs/am57xx_evm_nodt_defconfig | 5 +++++ configs/am57xx_hs_evm_defconfig | 5 +++++ include/configs/am57xx_evm.h | 36 ++++++++++++++++++++++++++++++++++++ 4 files changed, 51 insertions(+) ------------------------------------------------------------------------------- commit 9af6ce42484ec4a1be4898ca7423ff93ac2ce2c5 Author: Vignesh R <vigneshr@ti.com> Date: 2016-07-29 14:22:31 +0530 ARM: dts: am57xx-idk-common: Enable support for QSPI AM571x and AM572x IDK have a spansion s25fl256s QSPI flash on the board connected to TI QSPI over CS0. Hence, add QSPI and flash slave DT nodes. Signed-off-by: Vignesh R <vigneshr@ti.com> Reviewed-by: Mugunthan V N <mugunthanvnm@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Jagan Teki <jteki@openedev.com> Base directory -> / arch/arm/dts/am57xx-idk-common.dtsi | 49 +++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) ------------------------------------------------------------------------------- commit 2ae94221458fc70ae3ccac291450511d4bb7074a Author: Vignesh R <vigneshr@ti.com> Date: 2016-07-28 17:27:57 +0530 configs: am43xx_evm_defconfig: Enable CONFIG_SPI_FLASH_BAR AM437x SK and AM437x IDK EVMs have 64MB flash, therefore enable CONFIG_SPI_FLASH_BAR to access flash regions above 16MB. Signed-off-by: Vignesh R <vigneshr@ti.com> Reviewed-by: Mugunthan V N <mugunthanvnm@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Jagan Teki <jteki@openedev.com> Base directory -> / configs/am43xx_evm_defconfig | 1 + 1 file changed, 1 insertion(+) ------------------------------------------------------------------------------- commit 70ebdd775b35d8711a80cee27a6ade697afb25d5 Author: Vignesh R <vigneshr@ti.com> Date: 2016-07-25 15:45:47 +0530 ARM: dts: dra7xx: Update spi-max-frequency for QSPI According to AM572x DM SPRS953A, QSPI max bus speed is 76.8MHz. Therefore update the spi-max-frequency value of QSPI node for DRA74 and DRA72 evm. This increase flash read speed by ~2MB/s. Signed-off-by: Vignesh R <vigneshr@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Jagan Teki <jteki@openedev.com> Reviewed-by: Mugunthan V N <mugunthanvnm@ti.com> Base directory -> / arch/arm/dts/dra7-evm.dts | 2 +- arch/arm/dts/dra72-evm.dts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit b9612bb2dee788c71ee0411bf776e7e1f9f9ddbc Author: Vignesh R <vigneshr@ti.com> Date: 2016-07-25 15:45:46 +0530 configs: dra7xx: Update QSPI speed to 76.8MHz Now that QSPI driver can support 76.8MHz, update the CONFIG_SF_DEFAULT_SPEED to the same value. Signed-off-by: Vignesh R <vigneshr@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Jagan Teki <jteki@openedev.com> Reviewed-by: Mugunthan V N <mugunthanvnm@ti.com> Base directory -> / include/configs/dra7xx_evm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit a6f56ad1eee1fe7ae1a46e022427a001eda4ce16 Author: Vignesh R <vigneshr@ti.com> Date: 2016-07-25 15:45:45 +0530 spi: ti_qspi: dra7xx: Add support to use 76.8MHz clock According to AM572x DM SPRS953A, QSPI bus speed can be 76.8MHz, update the driver to use the same. Signed-off-by: Vignesh R <vigneshr@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Jagan Teki <jteki@openedev.com> Reviewed-by: Mugunthan V N <mugunthanvnm@ti.com> Base directory -> / drivers/spi/ti_qspi.c | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) ------------------------------------------------------------------------------- commit 4d790788ce009909842290e85d3e57db36935ad4 Author: Lokesh Vutla <lokeshvutla@ti.com> Date: 2016-07-25 15:45:44 +0530 ARM: dra7xx: Change DPLL_PER_HS13 divider value According to AM572x DM SPRS953A, QSPI bus speed can be 76.8MHz, hence update QSPI input clock divider value (DPLL_PER_HS13) to provide 76.8MHz clock, so that driver can use the same. Signed-off-by: Vignesh R <vigneshr@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Mugunthan V N <mugunthanvnm@ti.com> Reviewed-by: Jagan Teki <jteki@openedev.com> Base directory -> / arch/arm/cpu/armv7/omap5/hw_data.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit b302669f46ebfd7cbc8ee1cdf48d87a68b1cc720 Author: Wenyou Yang <wenyou.yang@atmel.com> Date: 2016-07-05 13:17:12 +0800 sf: sf_params: Add AT25DF321 flash support Add AT25DF321 flash support. Fix AT25DF321A device name. Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com> Reviewed-by: Jagan Teki <jteki@openedev.com> Base directory -> / drivers/mtd/spi/sf_params.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit fee3b6af903c0e24b662694427b62658f40c7d4b Author: Vignesh R <vigneshr@ti.com> Date: 2016-07-22 10:55:50 +0530 spi: ti_qspi: Remove delay in read path for dra7xx As per commit b545a98f5dc563 ("spi: ti_qspi: Add delay for successful bulk erase) says its added to meet bulk erase timing constraints. But bulk erase is a cmd to flash and delay in read path does not make sense. Morever, testing on DRA74/DRA72 evm has shown that this delay is no longer required. Signed-off-by: Vignesh R <vigneshr@ti.com> Reviewed-by: Jagan Teki <jteki@openedev.com> Reviewed-by: Mugunthan V N <mugunthanvnm@ti.com> Base directory -> / drivers/spi/ti_qspi.c | 3 --- 1 file changed, 3 deletions(-) ------------------------------------------------------------------------------- commit c595a2853099657ac97ccc7154a03e4d759fb909 Author: Vignesh R <vigneshr@ti.com> Date: 2016-07-22 10:55:49 +0530 spi: ti_qspi: Fix compiler warning when DEBUG macro is set clk_div is uninitialized at the beginning of ti_spi_set_speed(), move debug() print after clk_div calculation to avoid compiler warning and to have proper value of clk_div printed during debugging. Signed-off-by: Vignesh R <vigneshr@ti.com> Reviewed-by: Jagan Teki <jteki@openedev.com> Reviewed-by: Mugunthan V N <mugunthanvnm@ti.com> Base directory -> / drivers/spi/ti_qspi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit 69eeefaa060a848cd6acd8c94d1c43c9022adf53 Author: Vignesh R <vigneshr@ti.com> Date: 2016-07-22 10:55:48 +0530 spi: ti_qspi: Fix failure on multiple READ_ID cmd Populating QSPI_RD_SNGL bit(0x1) in priv->cmd means that value QSPI_INVAL (0x4) is not written to CMD field of QSPI_SPI_CMD_REG in ti_qspi_cs_deactivate(). Therefore CS is never deactivated between successive READ ID which results in sf probe to fail. Fix this by not populating priv->cmd with QSPI_RD_SNGL and OR it wih priv->cmd as required (similar to the convention followed in the driver). Signed-off-by: Vignesh R <vigneshr@ti.com> Reviewed-by: Jagan Teki <jteki@openedev.com> Reviewed-by: Mugunthan V N <mugunthanvnm@ti.com> Base directory -> / drivers/spi/ti_qspi.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) ------------------------------------------------------------------------------- commit 6bde34f1ae2a3fd253b0bc9b51686e30649ba7d8 Author: Moritz Fischer <moritz.fischer@ettus.com> Date: 2016-07-14 16:22:39 -0700 spi: Add support for N25Q016A This commit adds support in the spi-nor driver for the N25Q016A, a 16Mbit SPI NOR flash from Micron. Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com> Reviewed-by: Jagan Teki <jteki@openedev.com> Base directory -> / drivers/mtd/spi/sf_params.c | 1 + 1 file changed, 1 insertion(+) ------------------------------------------------------------------------------- commit 4711e7f7af839b41a6d78490257a9e7975494dd3 Author: Tom Rini <trini@konsulko.com> Date: 2016-07-28 08:45:00 -0400 Merge branch 'master' of git://www.denx.de/git/u-boot-imx Base directory -> / MAINTAINERS | 1 + arch/arm/cpu/armv7/mx6/Kconfig | 18 + arch/arm/cpu/armv7/mx6/clock.c | 6 +- arch/arm/cpu/armv7/mx7/Kconfig | 9 + arch/arm/cpu/armv7/mx7/soc.c | 14 + board/aristainetos/aristainetos.c | 2 +- board/compulab/cm_fx6/cm_fx6.c | 20 +- board/congatec/cgtqmx6eval/cgtqmx6eval.c | 14 +- board/el/el6x/Kconfig | 25 + board/el/el6x/MAINTAINERS | 8 + board/el/el6x/Makefile | 7 + board/el/el6x/el6x.c | 640 ++++++++++++++++++++++ board/freescale/mx6qsabreauto/mx6qsabreauto.c | 2 +- board/freescale/mx6slevk/mx6slevk.c | 2 +- board/freescale/mx6sxsabreauto/mx6sxsabreauto.c | 2 +- board/freescale/mx6sxsabresd/mx6sxsabresd.c | 2 +- board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c | 3 - board/freescale/mx7dsabresd/MAINTAINERS | 1 + board/gateworks/gw_ventana/common.c | 469 ++++++++-------- board/gateworks/gw_ventana/common.h | 10 +- board/gateworks/gw_ventana/gw_ventana.c | 473 +++++++++++++--- board/ge/bx50v3/bx50v3.c | 2 +- board/inversepath/usbarmory/usbarmory.c | 31 ++ board/phytec/pcm058/Kconfig | 12 + board/phytec/pcm058/MAINTAINERS | 6 + board/phytec/pcm058/Makefile | 9 + board/phytec/pcm058/README | 35 ++ board/phytec/pcm058/pcm058.c | 582 ++++++++++++++++++++ board/solidrun/mx6cuboxi/mx6cuboxi.c | 12 +- board/technexion/pico-imx6ul/README | 57 ++ board/technexion/pico-imx6ul/pico-imx6ul.c | 178 +++++- board/toradex/colibri_imx7/Kconfig | 20 + board/toradex/colibri_imx7/MAINTAINERS | 6 + board/toradex/colibri_imx7/Makefile | 6 + board/toradex/colibri_imx7/colibri_imx7.c | 420 ++++++++++++++ board/toradex/colibri_imx7/imximage.cfg | 150 +++++ board/wandboard/wandboard.c | 11 +- board/warp/warp.c | 2 +- configs/colibri_imx7_defconfig | 40 ++ configs/mx7dsabresd_defconfig | 3 + configs/mx7dsabresd_secure_defconfig | 41 ++ configs/pcm058_defconfig | 34 ++ configs/pico-imx6ul_defconfig | 8 + configs/warp7_defconfig | 11 +- configs/zc5202_defconfig | 22 + configs/zc5601_defconfig | 22 + doc/README.fec_mxc | 5 + drivers/net/fec_mxc.c | 4 + drivers/pci/pci.c | 4 + drivers/pci/pcie_imx.c | 2 +- drivers/serial/serial_mxc.c | 8 +- drivers/usb/host/Kconfig | 16 + drivers/usb/host/ehci-mx6.c | 14 +- drivers/watchdog/imx_watchdog.c | 2 +- include/configs/aristainetos-common.h | 1 - include/configs/cgtqmx6eval.h | 1 - include/configs/cm_fx6.h | 31 +- include/configs/colibri_imx7.h | 247 +++++++++ include/configs/el6x_common.h | 139 +++++ include/configs/ge_bx50v3.h | 2 - include/configs/gw_ventana.h | 8 +- include/configs/mx6qsabreauto.h | 1 - include/configs/mx6slevk.h | 1 - include/configs/mx6sxsabreauto.h | 1 - include/configs/mx6sxsabresd.h | 1 - include/configs/mx7_common.h | 11 +- include/configs/mx7dsabresd.h | 4 +- include/configs/novena.h | 1 - include/configs/pcm058.h | 140 +++++ include/configs/pico-imx6ul.h | 68 ++- include/configs/usbarmory.h | 19 +- include/configs/wandboard.h | 14 +- include/configs/warp.h | 1 - include/configs/warp7.h | 13 +- include/configs/zc5202.h | 37 ++ include/configs/zc5601.h | 33 ++ include/dm/platform_data/serial_mxc.h | 1 + include/fdt_support.h | 6 + 78 files changed, 3882 insertions(+), 402 deletions(-) ------------------------------------------------------------------------------- commit 77cbd3a14184c61d55d7fcddd88fa4e96efc9901 Author: Fabio Estevam <fabio.estevam@nxp.com> Date: 2016-07-26 21:27:49 -0300 MAINTAINERS: i.MX: Add board/freescale/*mx* path Pass the board/freescale/*mx*/ path as files maintained by Stefano Babic. While this is not ideal and does not cover all the i.MX board cases, it gives at least a better hint for the /scripts/get_maintainer.pl tool. Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com> Base directory -> / MAINTAINERS | 1 + 1 file changed, 1 insertion(+) ------------------------------------------------------------------------------- commit 4c97077ce781d192ac20853d36d1df60dd271699 Author: Fabio Estevam <fabio.estevam@nxp.com> Date: 2016-07-26 21:08:58 -0300 mx7dsabresd: MAINTAINERS: Add mx7dsabresd_secure_defconfig Add an entry for the mx7dsabresd_secure_defconfig target. Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com> Base directory -> / board/freescale/mx7dsabresd/MAINTAINERS | 1 + 1 file changed, 1 insertion(+) ------------------------------------------------------------------------------- commit 7626ba488ed4d465902d97da9b163e0e4e054b75 Author: Stefan Agner <stefan.agner@toradex.com> Date: 2016-07-25 22:57:47 -0700 mx7_common: initialize generic timer on all CPU's Use CONFIG_TIMER_CLK_FREQ to let the non-secure init code initialize the generic timer on all CPU's. This allows to make use of the timer freuquency register also on other CPU than the start CPU which is important for KVM. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Base directory -> / include/configs/mx7_common.h | 1 + 1 file changed, 1 insertion(+) ------------------------------------------------------------------------------- commit ec1935a243fcb4368fd8b537872d01d6b967b90f Author: Diego Dorta <diego.dorta@nxp.com> Date: 2016-07-25 13:45:30 -0300 mx6ul_14x14_evk: Remove unused define Remove unused define constant. Signed-off-by: Diego Dorta <diego.dorta@nxp.com> Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com> Base directory -> / board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c | 3 --- 1 file changed, 3 deletions(-) ------------------------------------------------------------------------------- commit 63326e6f0b48616ec708faec5fab55887fa8bf51 Author: Fabio Estevam <fabio.estevam@nxp.com> Date: 2016-07-23 13:23:42 -0300 cgtqmx6eval: Remove uneeded PHYS_SDRAM_SIZE cgtqmx6eval uses the imx_ddr_size() function to calculate the DDR size in runtime, so there is no need to define PHYS_SDRAM_SIZE. Remove the unneeded definition. Cc: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com> Acked-by: Otavio Salvador <otavio@ossystems.com.br> Base directory -> / include/configs/cgtqmx6eval.h | 1 - 1 file changed, 1 deletion(-) ------------------------------------------------------------------------------- commit 10ced52242e26c5a1b7e4d86c8273dfd89304841 Author: Fabio Estevam <fabio.estevam@nxp.com> Date: 2016-07-23 13:23:41 -0300 novena: Remove uneeded PHYS_SDRAM_SIZE novena uses the imx_ddr_size() function to calculate the DDR size in runtime, so there is no need to define PHYS_SDRAM_SIZE. Remove the unneeded definition. Cc: Marek Vasut <marex@denx.de> Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com> Acked-by: Marek Vasut <marex@denx.de> Base directory -> / include/configs/novena.h | 1 - 1 file changed, 1 deletion(-) ------------------------------------------------------------------------------- commit c6a51bab174ecb4c6bebfada951ac556ffc13fcd Author: Fabio Estevam <fabio.estevam@nxp.com> Date: 2016-07-23 13:23:40 -0300 bx50v3: Use imx_ddr_size() for calculating the DDR size imx_ddr_size() can be used to calculate the DDR size in runtime. By using this function we no longer need to define PHYS_SDRAM_SIZE. Cc: Martin Donnelly <martin.donnelly@ge.com> Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com> Base directory -> / board/ge/bx50v3/bx50v3.c | 2 +- include/configs/ge_bx50v3.h | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) ------------------------------------------------------------------------------- commit 84c51687a79c4bac514c43c0c3a0118015e6b13c Author: Fabio Estevam <fabio.estevam@nxp.com> Date: 2016-07-23 13:23:39 -0300 aristainetos: Use imx_ddr_size() for calculating the DDR size imx_ddr_size() can be used to calculate the DDR size in runtime. By using this function we no longer need to define PHYS_SDRAM_SIZE. Cc: Heiko Schocher <hs@denx.de> Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com> Acked-by: Heiko Schocher <hs@denx.de> Base directory -> / board/aristainetos/aristainetos.c | 2 +- include/configs/aristainetos-common.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) ------------------------------------------------------------------------------- commit a13d3757f7df25d0f017e85551b899d598ad1bdb Author: Fabio Estevam <fabio.estevam@nxp.com> Date: 2016-07-23 13:23:38 -0300 warp: Use imx_ddr_size() for calculating the DDR size imx_ddr_size() can be used to calculate the DDR size in runtime. By using this function we no longer need to define PHYS_SDRAM_SIZE. Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com> Base directory -> / board/warp/warp.c | 2 +- include/configs/warp.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) ------------------------------------------------------------------------------- commit 71813dcb56737707d12b697d5158ee96b48d7091 Author: Breno Lima <breno.lima@nxp.com> Date: 2016-07-22 15:29:30 -0300 warp7: Move some USB configuration options to defconfig Currently it's recommended to move some configuration options to the defconfig file. Move some USB related options to the defconfig file. Signed-off-by: Breno Lima <breno.lima@nxp.com> Base directory -> / configs/warp7_defconfig | 6 ++++++ include/configs/warp7.h | 9 --------- 2 files changed, 6 insertions(+), 9 deletions(-) ------------------------------------------------------------------------------- commit ae440ab02d31179a5a4b23e7411fe1baf052e816 Author: Stefan Agner <stefan.agner@toradex.com> Date: 2016-07-20 21:27:49 -0700 colibri_imx7: add Colibri iMX7S/iMX7D module support This commit adds support for the Toradex Computer on Modules Colibri iMX7S/iMX7D. The two modules/SoC's are very similar hence can be easily supported by one board. The board code detects RAM size at runtime which is one of the differences between the two boards. The board also uses the UART's in DTE mode, hence making use of the new DTE support via serial DM. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Base directory -> / arch/arm/cpu/armv7/mx7/Kconfig | 7 + board/toradex/colibri_imx7/Kconfig | 20 ++ board/toradex/colibri_imx7/MAINTAINERS | 6 + board/toradex/colibri_imx7/Makefile | 6 + board/toradex/colibri_imx7/colibri_imx7.c | 420 ++++++++++++++++++++++++++++++ board/toradex/colibri_imx7/imximage.cfg | 150 +++++++++++ configs/colibri_imx7_defconfig | 40 +++ include/configs/colibri_imx7.h | 247 ++++++++++++++++++ 8 files changed, 896 insertions(+) ------------------------------------------------------------------------------- commit 68c276019a6ede6dbb099af7e3e2756579e3b23e Author: Breno Lima <breno.lima@nxp.com> Date: 2016-07-22 09:12:12 -0300 cgtqmx6eval: Replace is_mx6q() for macro It's not necessary to implement the is_mx6q function, there is a macro in sys_proto.h already implemented. Signed-off-by: Breno Lima <breno.lima@nxp.com> Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com> Base directory -> / board/congatec/cgtqmx6eval/cgtqmx6eval.c | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) ------------------------------------------------------------------------------- commit 4a2f9014e82e73caeb09b39e4bf02f1460279882 Author: Breno Lima <breno.lima@nxp.com> Date: 2016-07-22 09:11:30 -0300 mx6cuboxi: Replace is_mx6q() for macro It's not necessary to implement the is_mx6q function, there is a macro in sys_proto.h already implemented. Signed-off-by: Breno Lima <breno.lima@nxp.com> Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com> Base directory -> / board/solidrun/mx6cuboxi/mx6cuboxi.c | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) ------------------------------------------------------------------------------- commit 98b040c9889bc23a7a0007853d52ebb07e28de76 Author: Breno Lima <breno.lima@nxp.com> Date: 2016-07-22 09:11:02 -0300 wandboard: Replace is_cpu_type() for macro It's not necessary to use the is_cpu_type function, there is a macro in sys_proto.h already implemented. Signed-off-by: Breno Lima <breno.lima@nxp.com> Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com> Base directory -> / board/wandboard/wandboard.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit a5bfb4ff9ee5f97adf91af8fba148b3fae48acde Author: Tim Harvey <tharvey@gateworks.com> Date: 2016-07-15 07:16:29 -0700 imx: ventana: add dt fixup for watchdog external reset Added removal of the fsl,ext-reset-output property in the wdog node for board revisions that pre-date the addition of the external watchdog reset signal. This property is a recent addition to mainline linux kernel in order to specify that the IMX watchdog external reset should be used instead of the internal chip-level reset. Signed-off-by: Tim Harvey <tharvey@gateworks.com> Base directory -> / board/gateworks/gw_ventana/gw_ventana.c | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) ------------------------------------------------------------------------------- commit 966fe02ee64106721c7301641e86e5784a5f47b2 Author: Tim Harvey <tharvey@gateworks.com> Date: 2016-07-15 07:16:28 -0700 imx: ventana: refactor board-specific dt fixups (no functional change) Re-factor the board-specific dt fixups so that they are easier to follow and extend in the future: - use defines for DT paths - use switch/case per board - order models numerically There is no functional change in the code Signed-off-by: Tim Harvey <tharvey@gateworks.com> Base directory -> / board/gateworks/gw_ventana/gw_ventana.c | 166 ++++++++++++++++++-------------- 1 file changed, 93 insertions(+), 73 deletions(-) ------------------------------------------------------------------------------- commit 5911c0924f403561d8f1f2f437fd9a6efc5ad82a Author: Tim Harvey <tharvey@gateworks.com> Date: 2016-07-15 07:14:25 -0700 imx: ventana: make hwconfig initialize based on board configuration The hwconfig env var allows user to control hardware specific configuration of board specific features but not all Ventana boards have the same features. We will use the magic default value of "_UNKNOWN_" to signify that the bootloader should create this based on detected board model. Signed-off-by: Tim Harvey <tharvey@gateworks.com> Base directory -> / board/gateworks/gw_ventana/gw_ventana.c | 16 +++++++++++++++- include/configs/gw_ventana.h | 5 +---- 2 files changed, 16 insertions(+), 5 deletions(-) ------------------------------------------------------------------------------- commit e86b7adfa3cfe8d87ecb67bc0f02789c51293f51 Author: Tim Harvey <tharvey@gateworks.com> Date: 2016-07-15 07:14:24 -0700 imx: ventana: add extra DIO's for GW5520 The GW5520 has 10 DIO's instead of the typical 4 found on the Ventana product family. Signed-off-by: Tim Harvey <tharvey@gateworks.com> Base directory -> / board/gateworks/gw_ventana/common.c | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) ------------------------------------------------------------------------------- commit 1800ffa83e3fe4a3178606a2254d902503b7c80d Author: Tim Harvey <tharvey@gateworks.com> Date: 2016-07-15 07:14:23 -0700 imx: ventana: make number of digital I/O's dynamic Replace the static list of board-specific digital I/O's with a dynamic list. Signed-off-by: Tim Harvey <tharvey@gateworks.com> Base directory -> / board/gateworks/gw_ventana/common.c | 399 ++++++++++++++++---------------- board/gateworks/gw_ventana/common.h | 8 +- board/gateworks/gw_ventana/gw_ventana.c | 2 +- 3 files changed, 199 insertions(+), 210 deletions(-) ------------------------------------------------------------------------------- commit e49621b357b1ea86170eacd3de8f03af422743e6 Author: Tim Harvey <tharvey@gateworks.com> Date: 2016-07-15 07:14:22 -0700 imx: ventana: make RS232 enable board specific Not all Ventana boards have an RS232 transceiver, make it board specific. Signed-off-by: Tim Harvey <tharvey@gateworks.com> Base directory -> / board/gateworks/gw_ventana/common.c | 34 +++++++++++++++++++++++++--------- board/gateworks/gw_ventana/common.h | 2 ++ 2 files changed, 27 insertions(+), 9 deletions(-) ------------------------------------------------------------------------------- commit 6eab98a02eae688a3d37a2a1806e92e858d08327 Author: Tim Harvey <tharvey@gateworks.com> Date: 2016-06-29 08:58:00 -0700 imx: ventana: re-enable late board info display 3b1f681131149b5f62602f582a7e60b0185a2a49 caused a regression that removes board info dispaly for Gateworks Ventana boards because it made the invalid assumption that CONFIG_DISPLAY_BOARDINFO_LATE was the same thing as CONFIG_DISPLAY_BOARDINFO. Ventana needs to call show_board_info in late init because we need to have the i2c eeprom based model info. Re-define CONFIG_DISPLAY_BOARDINFO_LATE to allow that to happen. Cc: Peter Robinson <pbrobinson@gmail.com> Signed-off-by: Tim Harvey <tharvey@gateworks.com> Base directory -> / include/configs/gw_ventana.h | 2 ++ 1 file changed, 2 insertions(+) ------------------------------------------------------------------------------- commit f4416579d31d884305e383f7370ee2262c0f8a7d Author: Tim Harvey <tharvey@gateworks.com> Date: 2016-06-17 06:20:26 -0700 imx: ventana: default pci to disabled The IMX6 PCIe host controller does not have a proper reset and as such there are several issues that can arise if PCI is enabled in the bootloader follwed by Linux trying to re-configure LTSSM and/or toggling PERST# to the devices. For now, the best approach seems to default to disabling PCI by defaulting pciedisable=1. This can be overridden by the user if they need PCI in the bootloader, for example: - GW552x needing ethernet access in bootloader - GW16082 expansion board needing a device-tree fixup for irq mapping Signed-off-by: Tim Harvey <tharvey@gateworks.com> Base directory -> / include/configs/gw_ventana.h | 1 + 1 file changed, 1 insertion(+) ------------------------------------------------------------------------------- commit ec21aee653a32a72909450c2e66b26668d5f3242 Author: Tim Harvey <tharvey@gateworks.com> Date: 2016-06-17 06:20:25 -0700 pci: allow disabling of pci init/enum via env Signed-off-by: Tim Harvey <tharvey@gateworks.com> Base directory -> / drivers/pci/pci.c | 4 ++++ 1 file changed, 4 insertions(+) ------------------------------------------------------------------------------- commit 5c34c2abb86a8e74234390300e4c852603b11621 Author: Tim Harvey <tharvey@gateworks.com> Date: 2016-06-17 06:10:42 -0700 imx: ventana: add dt fixup for eth1 mac-address Ventana boards with a PCI Marvell Sky2 GigE MAC require the MAC address to be placed in a DT node in order for the mainline linux driver to obtain it. Signed-off-by: Tim Harvey <tharvey@gateworks.com> Base directory -> / board/gateworks/gw_ventana/gw_ventana.c | 35 +++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) ------------------------------------------------------------------------------- commit 5a08ad6fdc43cc756ef1ebe046bbfd4290204fbe Author: Tim Harvey <tharvey@gateworks.com> Date: 2016-06-17 06:10:41 -0700 imx: ventana: add dt fixup for GW16082 irq mapping The GW16082 mini-PCI expansion mezzanine uses a TI XIO2001 PCIe-to-PCI bridge with legacy INTA/B/C/D interrupts. These interrupts are assigned in the reverse order according to the PCI spec. If the TI bridge is found on the Ventana PCI bus, add device-tree nodes according to bus enumeration explicitly defining the interrupt mapping to override the default PCI mapping in the Linux kernel. This allows the GW16082 to work with upstream kernels that support device-tree irq parsing. Signed-off-by: Tim Harvey <tharvey@gateworks.com> Base directory -> / board/gateworks/gw_ventana/gw_ventana.c | 228 ++++++++++++++++++++++++++++++++ 1 file changed, 228 insertions(+) ------------------------------------------------------------------------------- commit 5c392017f5d9ff52bd822880abd81ca2843ffdca Author: Fabio Estevam <fabio.estevam@nxp.com> Date: 2016-07-22 15:21:12 -0300 mx7dsabresd_secure_defconfig: Use CONFIG_ARMV7_BOOT_SEC_DEFAULT There is no need for introducing MX7_SEC, as there is the CONFIG_ARMV7_BOOT_SEC_DEFAULT option for this purpose. Switch to CONFIG_ARMV7_BOOT_SEC_DEFAULT and get rid of MX7_SEC. Tested by booting a 4.1.15 NXP kernel with mx7dsabresd_secure_defconfig target. Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com> Acked-by: Stefan Agner <stefan.agner@toradex.com> Base directory -> / arch/arm/imx-common/Kconfig | 9 --------- configs/mx7dsabresd_secure_defconfig | 2 +- 2 files changed, 1 insertion(+), 10 deletions(-) ------------------------------------------------------------------------------- commit d2c4c6bcfa5c9e36a6e00b1c7b997cd06eb09a6c Author: Stefano Babic <sbabic@denx.de> Date: 2016-07-20 17:54:07 +0200 pico-imx6ul: drop warning due to redefined USB gadget configuration is set in defconfig and must be removed from pico-imx6ul.h. Signed-off-by: Stefano Babic <sbabic@denx.de> CC: Fabio Estevam <fabio.estevam@nxp.com> Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com> Base directory -> / include/configs/pico-imx6ul.h | 12 ------------ 1 file changed, 12 deletions(-) ------------------------------------------------------------------------------- commit a5ad8ec9207cd30a6e1ddb5f4e334a295fc0d2e8 Author: Stefano Babic <sbabic@denx.de> Date: 2016-07-20 17:53:56 +0200 mx6: wandboard: fix warning due to missing prototype Signed-off-by: Stefano Babic <sbabic@denx.de> CC: Fabio Estevam <fabio.estevam@nxp.com> Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com> Base directory -> / board/wandboard/wandboard.c | 1 + 1 file changed, 1 insertion(+) ------------------------------------------------------------------------------- commit 64992b782b95d05f205a987d2c2d8d44b1995796 Author: Stefano Babic <sbabic@denx.de> Date: 2016-07-20 17:52:53 +0200 Fix build for mx7dsabresd (secure config) After moving CONFIG_USB_EHCI_MX7 to Kconfig, the flag must be set in defconfig for mx7dsabresd. It is already for the not secure config, it is missing in the secure configuration. Signed-off-by: Stefano Babic <sbabic@denx.de> CC: Fabio Estevam <fabio.estevam@nxp.com> Tested-by: Fabio Estevam <fabio.estevam@nxp.com> Base directory -> / configs/mx7dsabresd_secure_defconfig | 3 +++ 1 file changed, 3 insertions(+) ------------------------------------------------------------------------------- commit fe34b6a4845476208ca7d19a35179e56bebf3877 Author: Tom Rini <trini@konsulko.com> Date: 2016-07-27 22:30:20 -0400 Merge git://git.denx.de/u-boot-dm Base directory -> / Makefile | 1 + arch/arm/Kconfig | 7 ++ arch/arm/cpu/armv8/zynqmp/Kconfig | 4 + arch/arm/mach-zynq/Kconfig | 3 + arch/sandbox/dts/test.dts | 10 ++ arch/sandbox/include/asm/power-domain.h | 21 ++++ arch/x86/lib/lpc-uclass.c | 15 +-- cmd/bdinfo.c | 5 + cmd/usb_mass_storage.c | 4 +- common/spl/spl_mmc.c | 2 +- common/usb_hub.c | 9 +- configs/sandbox_defconfig | 2 + drivers/core/root.c | 9 ++ drivers/core/simple-bus.c | 3 +- drivers/i2c/i2c-uclass.c | 15 +-- drivers/i2c/sandbox_i2c.c | 4 +- drivers/misc/cros_ec.c | 9 +- drivers/mmc/dw_mmc.c | 6 +- drivers/mmc/socfpga_dw_mmc.c | 32 +++++- drivers/mmc/zynq_sdhci.c | 39 +++++++- drivers/net/phy/marvell.c | 1 + drivers/pch/pch-uclass.c | 15 +-- drivers/pci/pci-uclass.c | 24 +---- drivers/pci/pci_sandbox.c | 11 +-- drivers/pinctrl/pinctrl_pic32.c | 9 +- drivers/pinctrl/rockchip/pinctrl_rk3036.c | 9 +- drivers/pinctrl/rockchip/pinctrl_rk3288.c | 15 +-- drivers/power/Kconfig | 2 + drivers/power/domain/Kconfig | 20 ++++ drivers/power/domain/Makefile | 7 ++ drivers/power/domain/power-domain-uclass.c | 112 +++++++++++++++++++++ drivers/power/domain/sandbox-power-domain-test.c | 55 +++++++++++ drivers/power/domain/sandbox-power-domain.c | 104 ++++++++++++++++++++ drivers/power/pmic/pm8916.c | 9 +- drivers/power/regulator/Kconfig | 2 +- drivers/spi/spi-uclass.c | 9 +- drivers/spmi/spmi-uclass.c | 8 +- drivers/usb/emul/usb-emul-uclass.c | 9 +- drivers/usb/host/ehci-zynq.c | 103 ++++++++++--------- drivers/usb/host/usb-uclass.c | 9 +- include/dm/device.h | 16 +++ include/dm/uclass-id.h | 1 + include/dwmmc.h | 11 +-- include/power-domain-uclass.h | 82 ++++++++++++++++ include/power-domain.h | 120 +++++++++++++++++++++++ include/power/regulator.h | 2 +- test/dm/Makefile | 1 + test/dm/bus.c | 3 +- test/dm/i2c.c | 4 +- test/dm/power-domain.c | 46 +++++++++ test/dm/spi.c | 4 +- 51 files changed, 785 insertions(+), 238 deletions(-) ------------------------------------------------------------------------------- commit 02ebd42cf19e523593d8e4e8f3d02083299fcdbb Author: Xu Ziyuan <xzy.xu@rock-chips.com> Date: 2016-07-19 09:38:22 +0800 mmc: dw_mmc: reduce timeout detection cycle It's no need to speed 10 seconds to wait the mmc device out from busy status. 500 milliseconds enough. Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com> Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com> Tested-by: Jaehoon Chung <jh80.chung@samsung.com> Base directory -> / drivers/mmc/dw_mmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 61f5ddcb7a997f7b7bca3680cd6f67e60e616841 Author: Stephen Warren <swarren@nvidia.com> Date: 2016-07-13 13:45:31 -0600 Add a power domain framework/uclass Many SoCs allow power to be applied to or removed from portions of the SoC (power domains). This may be used to save power. This API provides the means to control such power management hardware. Signed-off-by: Stephen Warren <swarren@nvidia.com> Acked-by: Simon Glass <sjg@chromium.org> Base directory -> / Makefile | 1 + arch/sandbox/dts/test.dts | 10 ++ arch/sandbox/include/asm/power-domain.h | 21 ++++ configs/sandbox_defconfig | 2 + drivers/power/Kconfig | 2 + drivers/power/domain/Kconfig | 20 ++++ drivers/power/domain/Makefile | 7 ++ drivers/power/domain/power-domain-uclass.c | 112 +++++++++++++++++++++ drivers/power/domain/sandbox-power-domain-test.c | 55 +++++++++++ drivers/power/domain/sandbox-power-domain.c | 104 ++++++++++++++++++++ include/dm/uclass-id.h | 1 + include/power-domain-uclass.h | 82 ++++++++++++++++ include/power-domain.h | 120 +++++++++++++++++++++++ test/dm/Makefile | 1 + test/dm/power-domain.c | 46 +++++++++ 15 files changed, 584 insertions(+) ------------------------------------------------------------------------------- commit 1e2b3ef8653417f296ee23f32c28abfc086529dd Author: Simon Glass <sjg@chromium.org> Date: 2016-07-05 17:10:18 -0600 dm: spl: mmc: Support raw partitions with CONFIG_BLK Fix up the call in mmc_load_image_raw_partition() to use the correct function to obtain the MMC device, so that this code can support driver model. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / common/spl/spl_mmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit c9f3c5f9c36127c4221bec7d790d44503d4da5a3 Author: Simon Glass <sjg@chromium.org> Date: 2016-07-05 17:10:17 -0600 dm: usb: Use blk_dread/write() instead of direct calls Update the USB mass storage code to allow it to work with driver model. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / cmd/usb_mass_storage.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit f1a485aa404bf4483ecc5eae4423fb334ca68bd3 Author: Simon Glass <sjg@chromium.org> Date: 2016-07-05 17:10:16 -0600 dm: socfpga: mmc: Support CONFIG_BLK Update the driver to support using driver model for block devices. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/mmc/socfpga_dw_mmc.c | 32 +++++++++++++++++++++++++++++++- 1 file changed, 31 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 329a449f2c289b4de8f892fca1d9379ce5fd81b8 Author: Simon Glass <sjg@chromium.org> Date: 2016-07-05 17:10:15 -0600 dm: mmc: zynq: Convert zynq to use driver model for MMC Move zynq to the latest driver model support by enabling CONFIG_DM_MMC, CONFIG_DM_MMC_OPS and CONFIG_BLK. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/arm/Kconfig | 5 +++++ drivers/mmc/zynq_sdhci.c | 39 ++++++++++++++++++++++++++++++++++----- 2 files changed, 39 insertions(+), 5 deletions(-) ------------------------------------------------------------------------------- commit dec49e862ef9e74654fad3595fda5be99d33711a Author: Simon Glass <sjg@chromium.org> Date: 2016-07-05 17:10:14 -0600 dm: zynq: usb: Convert to CONFIG_DM_USB Convert zynq USB to driver model. Note this is tested on zynq-zybo only. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/arm/Kconfig | 2 + drivers/usb/host/ehci-zynq.c | 103 +++++++++++++++++++++---------------------- 2 files changed, 53 insertions(+), 52 deletions(-) ------------------------------------------------------------------------------- commit 04e38905d72e4b35fade1be4b83100a257d465a5 Author: Simon Glass <sjg@chromium.org> Date: 2016-07-05 17:10:13 -0600 zynq: Increase the early malloc() size This is needed to support driver-model conversion of USB and block devices. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/arm/cpu/armv8/zynqmp/Kconfig | 4 ++++ arch/arm/mach-zynq/Kconfig | 3 +++ 2 files changed, 7 insertions(+) ------------------------------------------------------------------------------- commit fbfa1aba9181161fe5b38a180f20440a0511c051 Author: Simon Glass <sjg@chromium.org> Date: 2016-07-05 17:10:12 -0600 net: phy: marvell: Add a missing errno.h header This corrects a build error on zynqmp. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/net/phy/marvell.c | 1 + 1 file changed, 1 insertion(+) ------------------------------------------------------------------------------- commit 7f7ddf2a882c13e9a64eae80d1539cc05632a402 Author: Simon Glass <sjg@chromium.org> Date: 2016-07-05 17:10:11 -0600 arm: Show early-malloc() usage in bdinfo This is useful information to show how close we are to the limit. At present it is only available by enabling DEBUG in board_r.c. Make it available with the 'bdinfo' command also. Note that this affects ARM only. The bdinfo command is different for each architecture. Rather than duplicating the code it would be better to refactor it (as was done with global_data). Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / cmd/bdinfo.c | 5 +++++ 1 file changed, 5 insertions(+) ------------------------------------------------------------------------------- commit 911954859d6dece49c3e4835faea004cfe392506 Author: Simon Glass <sjg@chromium.org> Date: 2016-07-05 17:10:10 -0600 dm: Use dm_scan_fdt_dev() directly where possible Quite a few places have a bind() method which just calls dm_scan_fdt_dev(). We may as well call dm_scan_fdt_dev() directly. Update the code to do this. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/x86/lib/lpc-uclass.c | 13 +------------ common/usb_hub.c | 8 +------- drivers/i2c/i2c-uclass.c | 14 +++----------- drivers/misc/cros_ec.c | 8 +------- drivers/pch/pch-uclass.c | 13 +------------ drivers/pci/pci-uclass.c | 15 +-------------- drivers/pci/pci_sandbox.c | 10 +++------- drivers/pinctrl/pinctrl_pic32.c | 8 +------- drivers/pinctrl/rockchip/pinctrl_rk3036.c | 8 +------- drivers/pinctrl/rockchip/pinctrl_rk3288.c | 13 +++---------- drivers/power/pmic/pm8916.c | 8 +------- drivers/spi/spi-uclass.c | 8 +------- drivers/spmi/spmi-uclass.c | 7 +------ drivers/usb/emul/usb-emul-uclass.c | 8 +------- drivers/usb/host/usb-uclass.c | 7 +------ test/dm/i2c.c | 4 ++-- test/dm/spi.c | 4 ++-- 17 files changed, 25 insertions(+), 131 deletions(-) ------------------------------------------------------------------------------- commit 2e3f1ff63f50f36e74d46f939823241856ebf1bd Author: Simon Glass <sjg@chromium.org> Date: 2016-07-05 17:10:09 -0600 dm: Convert users from dm_scan_fdt_node() to dm_scan_fdt_dev() This new function is more convenient for callers, and handles pre-relocation situations automatically. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/x86/lib/lpc-uclass.c | 4 +--- common/usb_hub.c | 3 +-- drivers/core/simple-bus.c | 3 +-- drivers/i2c/i2c-uclass.c | 3 +-- drivers/i2c/sandbox_i2c.c | 4 +--- drivers/misc/cros_ec.c | 3 +-- drivers/pch/pch-uclass.c | 4 +--- drivers/pci/pci-uclass.c | 11 +---------- drivers/pci/pci_sandbox.c | 3 +-- drivers/pinctrl/pinctrl_pic32.c | 3 +-- drivers/pinctrl/rockchip/pinctrl_rk3036.c | 3 +-- drivers/pinctrl/rockchip/pinctrl_rk3288.c | 4 +--- drivers/power/pmic/pm8916.c | 3 +-- drivers/power/regulator/Kconfig | 2 +- drivers/spi/spi-uclass.c | 3 +-- drivers/spmi/spmi-uclass.c | 3 +-- drivers/usb/emul/usb-emul-uclass.c | 3 +-- drivers/usb/host/usb-uclass.c | 4 +--- include/power/regulator.h | 2 +- test/dm/bus.c | 3 +-- 20 files changed, 20 insertions(+), 51 deletions(-) ------------------------------------------------------------------------------- commit cc7f66f70cc2c59fe8ebf9011658447815278894 Author: Simon Glass <sjg@chromium.org> Date: 2016-07-05 17:10:08 -0600 dm: core: Add a function to bind child devices We currently use dm_scan_fdt_node() to bind devices. It is an internal function and it requires the caller to know whether we are pre- or post- relocation. This requirement has become quite common in drivers, so the current function is not ideal. Add a new function with fewer arguments, that does not require internal headers. This can be used directly as a post_bind() method if needed. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/core/root.c | 9 +++++++++ include/dm/device.h | 16 ++++++++++++++++ 2 files changed, 25 insertions(+) ------------------------------------------------------------------------------- commit 5628347f59e1672f381b8113e85e47529770ab47 Author: Jaehoon Chung <jh80.chung@samsung.com> Date: 2016-06-28 15:52:21 +0900 dm: mmc: dwmmc: use the callback functions as static There are no places to call these functions. It should be used the callback function. Then it can be used as static functions. Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/mmc/dw_mmc.c | 4 ++-- include/dwmmc.h | 3 --- 2 files changed, 2 insertions(+), 5 deletions(-) ------------------------------------------------------------------------------- commit dec0242be7b5544c3c4f9a7ead46fa5eeadd6222 Author: Jaehoon Chung <jh80.chung@samsung.com> Date: 2016-06-28 15:52:20 +0900 dm: mmc: dwmmc: fix the wrong explanation for clock values This e,g is wrong. Maximum/minimum e.g values are swapped each other. Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / include/dwmmc.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) ------------------------------------------------------------------------------- commit c6f086ddcbfb47918b82f6a135c61f432540da42 Author: Tom Rini <trini@konsulko.com> Date: 2016-07-27 15:22:21 -0400 Merge branch 'master' of git://git.denx.de/u-boot-video Base directory -> / README | 3 +++ common/splash.c | 30 +++++++++++++++++++++++++++++- common/splash_source.c | 6 +++++- drivers/video/cfb_console.c | 4 +++- include/splash.h | 9 +++++++++ 5 files changed, 49 insertions(+), 3 deletions(-) ------------------------------------------------------------------------------- commit 0b6699ad8ea95803d7ce40d1dc1caea902a6d22c Author: Tom Rini <trini@konsulko.com> Date: 2016-07-26 18:33:04 -0400 Merge branch 'master' of http://git.denx.de/u-boot-sunxi Base directory -> / arch/arm/dts/Makefile | 1 + arch/arm/dts/sun8i-h3-orangepi-pc-plus.dts | 87 ++++++++++++++++++++++++++++++ arch/arm/dts/sun8i-h3.dtsi | 4 ++ board/sunxi/MAINTAINERS | 1 + configs/orangepi_pc_defconfig | 2 - configs/orangepi_pc_plus_defconfig | 17 ++++++ configs/pine64_plus_defconfig | 1 - drivers/net/sun8i_emac.c | 13 +---- 8 files changed, 111 insertions(+), 15 deletions(-) ------------------------------------------------------------------------------- commit 2eb1ff3b5b61352dcf43ca48f2b6470ec312b8d7 Author: Hans de Goede <hdegoede@redhat.com> Date: 2016-07-26 22:26:39 +0200 sunxi: Disable sun8i emac driver Disable the sun8i emac driver for now, there are 2 issues with it: 1) It is causing issues with network connectivity under the kernel driver, when booting the kernel with v2 of Corentin's sun8i-h3 emac driver, I get the connection status bouncing between connected at 100mbps full-duplex and being down every second. The second issue is that when trying to use it from u-boot I get a number of unaligned cache flush errors: => dhcp BOOTP broadcast 1 BOOTP broadcast 2 CACHE: Misaligned operation at range [7bf594a8, 7bf59628] BOOTP broadcast 3 CACHE: Misaligned operation at range [7bf59c90, 7bf59e10] CACHE: Misaligned operation at range [7bf5a478, 7bf5a5f8] DHCP client bound to address 10.42.43.80 (1009 ms) Cc: Chen-Yu Tsai <wens@csie.org> Cc: Corentin LABBE <clabbe.montjoie@gmail.com> Cc: Amit Singh Tomar <amittomer25@gmail.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Base directory -> / configs/orangepi_pc_defconfig | 1 - configs/pine64_plus_defconfig | 1 - 2 files changed, 2 deletions(-) ------------------------------------------------------------------------------- commit 4fd92db8dbf6d9275a921e8e9f2b6aeeba7e5002 Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-07-27 03:47:58 +0900 ARM: uniphier: move CONFIG_I2C_EEPROM to defconfig We already have the entry for this option in Kconfig, so let's migrate to it. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Base directory -> / configs/uniphier_ld11_defconfig | 2 ++ configs/uniphier_ld20_defconfig | 2 ++ configs/uniphier_ld4_sld8_defconfig | 2 ++ configs/uniphier_pro4_defconfig | 2 ++ configs/uniphier_pxs2_ld6b_defconfig | 2 ++ configs/uniphier_sld3_defconfig | 2 ++ include/configs/uniphier.h | 1 - 7 files changed, 12 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 499a950d41879020a186627874cf7aa856112ca5 Author: Tom Rini <trini@konsulko.com> Date: 2016-07-26 17:34:51 -0400 Merge git://git.denx.de/u-boot-mpc86xx Base directory -> / arch/powerpc/cpu/mpc86xx/config.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 9c7a0a600bfc8741e2941ce9bb965f2e77d6bbea Author: Tom Rini <trini@konsulko.com> Date: 2016-07-26 17:34:28 -0400 Merge git://git.denx.de/u-boot-fsl-qoriq Base directory -> / arch/arm/cpu/armv7/ls102xa/psci.S | 138 ++++++++++++++++++++- arch/arm/cpu/armv7/psci.S | 78 ++++++++++++ arch/arm/cpu/armv8/fsl-layerscape/Makefile | 4 + arch/arm/cpu/armv8/fsl-layerscape/cpu.c | 8 +- arch/arm/cpu/armv8/fsl-layerscape/doc/README.soc | 42 +++++++ .../cpu/armv8/fsl-layerscape/fsl_lsch2_serdes.c | 19 +++ .../arm/cpu/armv8/fsl-layerscape/fsl_lsch2_speed.c | 25 +++- arch/arm/cpu/armv8/fsl-layerscape/ls1046a_serdes.c | 99 +++++++++++++++ arch/arm/include/asm/arch-fsl-layerscape/config.h | 82 ++++++------ arch/arm/include/asm/arch-fsl-layerscape/cpu.h | 2 + .../include/asm/arch-fsl-layerscape/fsl_serdes.h | 3 +- .../include/asm/arch-fsl-layerscape/immap_lsch2.h | 9 +- .../include/asm/arch-fsl-layerscape/immap_lsch3.h | 5 +- arch/arm/include/asm/arch-fsl-layerscape/soc.h | 2 + arch/arm/include/asm/arch-ls102xa/config.h | 9 +- arch/arm/include/asm/fsl_secure_boot.h | 68 +++++++--- arch/arm/include/asm/psci.h | 21 ++++ arch/powerpc/include/asm/fsl_secure_boot.h | 4 +- board/freescale/common/fsl_chain_of_trust.c | 34 ++++- board/freescale/ls1021aqds/Makefile | 1 + board/freescale/ls1021aqds/psci.S | 33 +++++ board/freescale/ls1021atwr/Makefile | 1 + board/freescale/ls1021atwr/ls1021atwr.c | 7 ++ board/freescale/ls1021atwr/psci.S | 25 ++++ board/freescale/ls1043aqds/MAINTAINERS | 1 + board/freescale/ls1043aqds/ls1043aqds.c | 10 ++ board/freescale/ls2080aqds/MAINTAINERS | 1 + .../ls1021atwr_sdcard_ifc_SECURE_BOOT_defconfig | 31 +++++ drivers/crypto/fsl/fsl_rsa.c | 1 + drivers/i2c/fsl_i2c.c | 9 +- drivers/net/fm/Makefile | 1 + drivers/net/fm/ls1046.c | 123 ++++++++++++++++++ include/config_fsl_chain_trust.h | 18 +-- include/configs/ls1021aqds.h | 5 + include/configs/ls1021atwr.h | 25 ++++ include/configs/ls1043a_common.h | 25 +++- include/linux/usb/xhci-fsl.h | 20 ++- include/usb/ehci-ci.h | 2 +- 38 files changed, 887 insertions(+), 104 deletions(-) ------------------------------------------------------------------------------- commit a85ba87dbe24816f2119e7475e255cc08b30934b Author: Chen-Yu Tsai <wens@csie.org> Date: 2016-07-22 18:16:10 +0800 net: sun8i_emac: Drop redundant and incorrect setting of syscon register In sun8i_emac_board_setup, the driver partially configures the syscon register for H3 EPHY. However, the settings are incomplete, and completely unusable. The correct settings are later set in sun8i_emac_set_syscon, but the incorrect CLK_SEL setting persists. It is incorrect to use CLK_SEL to select 25 MHz, as the SoC does not have a 25 MHz clock the EPHY can use. This patch removes the setting of the syscon register in board_setup, and also moves set_syscon above mdio_init. While mdio_init does not access the PHY, it is better to have the PHY parameters setup before the MDIO bus is registered. Fixes: a29710c525ff ("net: Add EMAC driver for H3/A83T/A64 SoCs.") Signed-off-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Base directory -> / drivers/net/sun8i_emac.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) ------------------------------------------------------------------------------- commit 687284483c15b569da25f4727b3449e1e1d0dc17 Author: Chen-Yu Tsai <wens@csie.org> Date: 2016-07-22 18:16:09 +0800 net: sun8i_emac: Do not configure AHB2 clock The sun8i_emac driver erroneously configures the AHB2 clock when it assumes it is configuring the AXI gates, which is not even documented or ever appeared in either the WiP kernel driver or Allwinner's original driver. As a result, AHB2 clock mux is set to an invalid setting, making the EPHY unusable. Fixes: a29710c525ff ("net: Add EMAC driver for H3/A83T/A64 SoCs.") Signed-off-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Base directory -> / drivers/net/sun8i_emac.c | 3 --- 1 file changed, 3 deletions(-) ------------------------------------------------------------------------------- commit 6d7b22a5d83ca5ea507d9a644c368771463aa070 Author: Chen-Yu Tsai <wens@csie.org> Date: 2016-07-22 18:16:08 +0800 sunxi: Add EMAC ethernet0 alias for H3 dtsi The sunxi ethernet address generation code looks for ethernet[0-3] aliases to find ethernet controllers to generate MAC addresses for. Without a valid address, the driver fails to register. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Base directory -> / arch/arm/dts/sun8i-h3.dtsi | 4 ++++ 1 file changed, 4 insertions(+) ------------------------------------------------------------------------------- commit 2a5adc5b3c1f532dc9ec6638e6696316c078b619 Author: Hans de Goede <hdegoede@redhat.com> Date: 2016-07-26 17:47:16 +0200 sunxi: Add defconfig and dts file for the Orange Pi PC Plus SBC There is a new Orange Pi PC *Plus* version available now, this is an extended version of the regular Orange Pi PC with sdio wifi and an eMMC. The upstream kernel devs have decided that they want a separate dts for the PC Plus rather then sharing a single dts between the regular PC and the PC Plus. So add a new orangepi_pc_plus_defconfig to match. The added dts file matches the one submitted to the upstream kernel. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Base directory -> / arch/arm/dts/Makefile | 1 + arch/arm/dts/sun8i-h3-orangepi-pc-plus.dts | 87 ++++++++++++++++++++++++++++++ board/sunxi/MAINTAINERS | 1 + configs/orangepi_pc_defconfig | 1 - configs/orangepi_pc_plus_defconfig | 17 ++++++ 5 files changed, 106 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 8401c7103d73b4010df95bf8bc79a60f378f1e50 Author: Qianyu Gong <qianyu.gong@nxp.com> Date: 2016-07-21 12:39:27 +0800 armv8: ls1043aqds: add IFC fixup in case QSPI is enabled QSPI and IFC are pin-multiplexed on LS1043AQDS board. If QSPI is enabled, IFC would not be initialized correctly. So disable the IFC node for Linux. Signed-off-by: Gong Qianyu <Qianyu.Gong@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / board/freescale/ls1043aqds/ls1043aqds.c | 10 ++++++++++ 1 file changed, 10 insertions(+) ------------------------------------------------------------------------------- commit dbe18f16d852216a45f632f0d3cf41f12b55d1ec Author: Wenbin Song <wenbin.song@nxp.com> Date: 2016-07-21 18:55:16 +0800 armv8/ls1043a: Add MTD partition scheme Add and share the the MTD partition scheme with kernel by default bootargs. And add the "mtdparts" env. Signed-off-by: Wenbin Song <wenbin.song@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / include/configs/ls1043a_common.h | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit 716d6677cbe96fa21438da6e6d2580a7093c99d9 Author: Wenbin Song <wenbin.song@nxp.com> Date: 2016-07-21 18:31:23 +0800 ARMv8/ls1046a: Cleanup the environment variables Cleanup the variables: "kernel_addr","ramdisk_addr", "ramdisk_size","console". Signed-off-by: Wenbin Song <wenbin.song@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / include/configs/ls1043a_common.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) ------------------------------------------------------------------------------- commit ed7a3943d580f4cf72e5ef8a20c43fa93e889d14 Author: York Sun <york.sun@nxp.com> Date: 2016-07-22 10:52:23 -0700 armv8: fsl-layerscape: mmu: Fix enabling MMU MMU bit in SCTLR needs to be set explicitly after tables are created. It isn't an issue for EL3 becuase this bit is already set by early MMU setup. But for other exception levels this bit was not set. Signed-off-by: York Sun <york.sun@nxp.com> Base directory -> / arch/arm/cpu/armv8/fsl-layerscape/cpu.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 3288628a8d23681c865e91e65a341d48eb5fed73 Author: Hongbo Zhang <hongbo.zhang@nxp.com> Date: 2016-07-21 18:09:39 +0800 ARMv7: PSCI: ls102xa: move secure text section into OCRAM LS1021 offers two secure OCRAM blocks for trustzone. This patch moves all the secure text sections into the OCRAM. Signed-off-by: Wang Dongsheng <dongsheng.wang@nxp.com> Signed-off-by: Hongbo Zhang <hongbo.zhang@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / arch/arm/include/asm/arch-ls102xa/config.h | 2 +- include/configs/ls1021aqds.h | 2 ++ include/configs/ls1021atwr.h | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit aeb901f2a6c19e399354345ad1acd67420401a10 Author: Hongbo Zhang <hongbo.zhang@nxp.com> Date: 2016-07-21 18:09:38 +0800 ARMv7: PSCI: ls102xa: add more PSCI v1.0 functions implemention This patch implements PSCI functions for ls102xa SoC following PSCI v1.0, they are as the list: psci_version, psci_features, psci_cpu_suspend, psci_affinity_info, psci_system_reset, psci_system_off. Tested on LS1021aQDS, LS1021aTWR. Signed-off-by: Wang Dongsheng <dongsheng.wang@nxp.com> Signed-off-by: Hongbo Zhang <hongbo.zhang@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / arch/arm/cpu/armv7/ls102xa/psci.S | 103 ++++++++++++++++++++++++++++- arch/arm/include/asm/arch-ls102xa/config.h | 1 + board/freescale/ls1021aqds/Makefile | 1 + board/freescale/ls1021aqds/psci.S | 33 +++++++++ board/freescale/ls1021atwr/Makefile | 1 + board/freescale/ls1021atwr/psci.S | 25 +++++++ include/configs/ls1021aqds.h | 3 + include/configs/ls1021atwr.h | 1 + 8 files changed, 166 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit 7e742c276dea455d9439caa3f6bc3f4e9a1b5796 Author: Hongbo Zhang <hongbo.zhang@nxp.com> Date: 2016-07-21 18:09:37 +0800 ARMv7: PSCI: ls102xa: check target CPU ID before further operations The input parameter CPU ID needs to be validated before furher oprations such as CPU_ON, this patch introduces the function to do this. Signed-off-by: Wang Dongsheng <dongsheng.wang@nxp.com> Signed-off-by: Hongbo Zhang <hongbo.zhang@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / arch/arm/cpu/armv7/ls102xa/psci.S | 35 ++++++++++++++++++++++++++++++++++- arch/arm/include/asm/psci.h | 5 +++++ 2 files changed, 39 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 116339d460f79911d1b87fa65753d966aaf8b7b9 Author: Hongbo Zhang <hongbo.zhang@nxp.com> Date: 2016-07-21 18:09:36 +0800 ARMv7: PSCI: add PSCI v1.0 functions skeleton This patch adds all the PSCI v1.0 functions in to the common framework, with all the functions returning "not implemented" by default, as a common framework all the dummy functions are added here, it is up to every platform developer to decide which version of PSCI and which functions to implement. Signed-off-by: Hongbo Zhang <hongbo.zhang@nxp.com> Signed-off-by: Wang Dongsheng <dongsheng.wang@nxp.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / arch/arm/cpu/armv7/psci.S | 78 +++++++++++++++++++++++++++++++++++++++++++++ arch/arm/include/asm/psci.h | 16 ++++++++++ 2 files changed, 94 insertions(+) ------------------------------------------------------------------------------- commit 9d3b8bd166e6c23ab83d0dcd49d81c6f0bf39e17 Author: Mingkai Hu <mingkai.hu@nxp.com> Date: 2016-07-05 16:01:56 +0800 drivers: net/fm: Add Fman support for LS1046A The Fman module on LS1046A is similiar with that on LS1043A but LS1046A has one more XFI (10GbE) interface. Signed-off-by: Shaohui Xie <Shaohui.Xie@nxp.com> Signed-off-by: Mingkai Hu <mingkai.hu@nxp.com> Signed-off-by: Gong Qianyu <Qianyu.Gong@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / drivers/net/fm/Makefile | 1 + drivers/net/fm/ls1046.c | 123 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 124 insertions(+) ------------------------------------------------------------------------------- commit b528b9377df0e738c6904a639a1e78810936f825 Author: Mingkai Hu <mingkai.hu@nxp.com> Date: 2016-07-05 16:01:55 +0800 armv8: fsl_lsch2: Add LS1046A SoC support The LS1046A processor is built on the QorIQ LS series architecture combining four ARM A72 processor cores with DPAA 1.0 support. Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com> Signed-off-by: Mihai Bantea <mihai.bantea@freescale.com> Signed-off-by: Mingkai Hu <mingkai.hu@nxp.com> Signed-off-by: Gong Qianyu <Qianyu.Gong@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / arch/arm/cpu/armv8/fsl-layerscape/Makefile | 4 + arch/arm/cpu/armv8/fsl-layerscape/doc/README.soc | 42 +++++++++ .../arm/cpu/armv8/fsl-layerscape/fsl_lsch2_speed.c | 25 +++++- arch/arm/cpu/armv8/fsl-layerscape/ls1046a_serdes.c | 99 ++++++++++++++++++++++ arch/arm/include/asm/arch-fsl-layerscape/config.h | 27 ++++++ arch/arm/include/asm/arch-fsl-layerscape/cpu.h | 2 + .../include/asm/arch-fsl-layerscape/fsl_serdes.h | 2 +- arch/arm/include/asm/arch-fsl-layerscape/soc.h | 2 + 8 files changed, 200 insertions(+), 3 deletions(-) ------------------------------------------------------------------------------- commit da4d620c90eb6dd9466a89837ab8667048d856e3 Author: Qianyu Gong <qianyu.gong@nxp.com> Date: 2016-07-05 16:01:54 +0800 armv8: fsl_lsch2: Add SerDes 2 support New SoC LS1046A belongs to Freescale Chassis Generation 2 and has two SerDes so we need to add this support in fsl_lsch2. The SoC related SerDes 2 support will be added in SoC patch. Signed-off-by: Gong Qianyu <Qianyu.Gong@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / arch/arm/cpu/armv8/fsl-layerscape/fsl_lsch2_serdes.c | 19 +++++++++++++++++++ arch/arm/include/asm/arch-fsl-layerscape/fsl_serdes.h | 1 + .../arm/include/asm/arch-fsl-layerscape/immap_lsch2.h | 2 ++ 3 files changed, 22 insertions(+) ------------------------------------------------------------------------------- commit 86336e60c5bb23e4ec52584827ce743845bc519f Author: Qianyu Gong <qianyu.gong@nxp.com> Date: 2016-07-05 16:01:53 +0800 armv8: fsl-layerscape: Consolidate the LSCH2 common defines Both LS1012A and LS1043A belong to FSL_LSCH2 and share some common configurations. So put the common define under FSL_LSCH2 to increase readability. Signed-off-by: Gong Qianyu <Qianyu.Gong@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / arch/arm/include/asm/arch-fsl-layerscape/config.h | 59 ++++++++--------------- 1 file changed, 20 insertions(+), 39 deletions(-) ------------------------------------------------------------------------------- commit 79119a4d1930468c47da5d000c41751a92bcaa62 Author: Alison Wang <b18965@freescale.com> Date: 2016-07-05 16:01:52 +0800 armv8: fsl-layerscape: Add A72 core detection Add support to detect Cortex-A72 core for printing it out. The Initiator Version of A72 core should be 0x4. Signed-off-by: Alison Wang <alison.wang@nxp.com> Signed-off-by: Mingkai Hu <mingkai.hu@nxp.com> Signed-off-by: Gong Qianyu <Qianyu.Gong@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / arch/arm/cpu/armv8/fsl-layerscape/cpu.c | 3 ++- arch/arm/include/asm/arch-fsl-layerscape/immap_lsch2.h | 1 + arch/arm/include/asm/arch-fsl-layerscape/immap_lsch3.h | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit dbb9d04fbd4c65243ddff1b1ccd0b50274ad777b Author: York Sun <york.sun@nxp.com> Date: 2016-07-01 07:40:40 -0700 armv8: ls1043aqds: Update MAINTAINERS Add ls1043aqds_lpuart_defconfig to file list. Signed-off-by: York Sun <york.sun@nxp.com> Base directory -> / board/freescale/ls1043aqds/MAINTAINERS | 1 + 1 file changed, 1 insertion(+) ------------------------------------------------------------------------------- commit 0c14c4d65b1af8216d704644c730d208c371ddc6 Author: York Sun <york.sun@nxp.com> Date: 2016-07-01 07:40:39 -0700 armv8: ls2080aqds: Update MAINTAINERS Add ls2080aqds_qspi_defconfig to file list. Signed-off-by: York Sun <york.sun@nxp.com> Base directory -> / board/freescale/ls2080aqds/MAINTAINERS | 1 + 1 file changed, 1 insertion(+) ------------------------------------------------------------------------------- commit e7e720c2cef046f67f23db0a54bd65f8b662531e Author: Sumit Garg <sumit.garg@nxp.com> Date: 2016-06-14 13:52:40 -0400 arm: ls1021atwr: Add SD secure boot target Add SD secure boot target for ls1021atwr. Implement board specific spl_board_init() to setup CAAM stream ID and corresponding stream ID in SMMU. Change the u-boot size defined by a macro for copying the main U-Boot by SPL to also include the u-boot Secure Boot header size as header is appended to u-boot image. So header will also be copied from SD to DDR. Reviewed-by: Aneesh Bansal <aneesh.bansal@nxp.com> Signed-off-by: Sumit Garg <sumit.garg@nxp.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / board/freescale/ls1021atwr/ls1021atwr.c | 7 +++++ .../ls1021atwr_sdcard_ifc_SECURE_BOOT_defconfig | 31 ++++++++++++++++++++++ include/configs/ls1021atwr.h | 22 +++++++++++++++ 3 files changed, 60 insertions(+) ------------------------------------------------------------------------------- commit 69d4b48c84b9c2b762066c5a68406a53e49ea2f3 Author: Sumit Garg <sumit.garg@nxp.com> Date: 2016-06-14 13:52:39 -0400 SECURE_BOOT: Enable SD as a source for bootscript Add support for reading bootscript and bootscript header from SD. Also renamed macros *_FLASH to *_DEVICE to represent SD alongwith NAND and NOR flash. Reviewed-by: Aneesh Bansal <aneesh.bansal@nxp.com> Signed-off-by: Sumit Garg <sumit.garg@nxp.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / arch/arm/include/asm/fsl_secure_boot.h | 43 ++++++++++++++++++++---------- arch/powerpc/include/asm/fsl_secure_boot.h | 4 +-- include/config_fsl_chain_trust.h | 18 ++++++++----- 3 files changed, 42 insertions(+), 23 deletions(-) ------------------------------------------------------------------------------- commit 028ac8c73355ab1340ed7ce179f08cbbae841034 Author: Sumit Garg <sumit.garg@nxp.com> Date: 2016-06-14 13:52:38 -0400 SECURE_BOOT: Enable chain of trust in SPL framework Override jump_to_image_no_args function to include validation of u-boot image using spl_validate_uboot before jumping to u-boot image. Also define macros in SPL framework to enable crypto operations. Reviewed-by: Aneesh Bansal <aneesh.bansal@nxp.com> Signed-off-by: Sumit Garg <sumit.garg@nxp.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / arch/arm/include/asm/fsl_secure_boot.h | 25 +++++++++++++++++++-- board/freescale/common/fsl_chain_of_trust.c | 34 ++++++++++++++++++++++++++++- 2 files changed, 56 insertions(+), 3 deletions(-) ------------------------------------------------------------------------------- commit 7f0a0e4c58e9099016eda6f1f24507c2e6173c8a Author: Sumit Garg <sumit.garg@nxp.com> Date: 2016-06-14 13:52:37 -0400 DM: crypto/fsl: Enable rsa DM driver usage before relocation Enable rsa signature verification in SPL framework before relocation for verification of main u-boot. Reviewed-by: Aneesh Bansal <aneesh.bansal@nxp.com> Signed-off-by: Sumit Garg <sumit.garg@nxp.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / drivers/crypto/fsl/fsl_rsa.c | 1 + 1 file changed, 1 insertion(+) ------------------------------------------------------------------------------- commit 9729dc9565c9c1812efbb630e1db4d54f580363c Author: Rajesh Bhagat <rajesh.bhagat@nxp.com> Date: 2016-06-07 18:59:34 +0530 include: usb: Rename USB controller base address mapping Remove Soc specific defines and use generic chasis specific defines for USB controller base address mapping. Signed-off-by: Rajesh Bhagat <rajesh.bhagat@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / .../include/asm/arch-fsl-layerscape/immap_lsch2.h | 6 +++--- .../include/asm/arch-fsl-layerscape/immap_lsch3.h | 4 ++-- arch/arm/include/asm/arch-ls102xa/config.h | 6 ++---- include/linux/usb/xhci-fsl.h | 20 ++++++++------------ include/usb/ehci-ci.h | 2 +- 5 files changed, 16 insertions(+), 22 deletions(-) ------------------------------------------------------------------------------- commit 27059c3e4d99c134d050be62601afe43171173b3 Author: mario.six@gdsys.cc <mario.six@gdsys.cc> Date: 2016-05-23 10:12:11 +0200 i2c: fsl: Fix driver initialization Due to a oversight in testing, the initialization of the recently introduced Freescale I2C DM driver works only for 36 bit mode of e.g. the MPC85XX SoCs (specifically, if the physical addresses are 64 bit wide and the DT addresses 32 bit wide). This patch corrects the initialization so that it will work in a more general setting. Signed-off-by: Mario Six <mario.six@gdsys.cc> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / drivers/i2c/fsl_i2c.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) ------------------------------------------------------------------------------- commit c3c9fd31bad80ead1682de917e27fa6073eae02b Author: Tom Rini <trini@konsulko.com> Date: 2016-07-26 08:29:30 -0400 Merge branch 'master' of git://git.denx.de/u-boot-i2c Base directory -> / arch/arm/include/asm/arch-omap4/i2c.h | 6 +- arch/arm/include/asm/arch-omap5/i2c.h | 6 +- configs/am335x_boneblack_vboot_defconfig | 1 + configs/am335x_evm_defconfig | 1 + configs/am43xx_evm_defconfig | 1 + configs/am43xx_hs_evm_defconfig | 1 + configs/am57xx_evm_defconfig | 1 + configs/am57xx_hs_evm_defconfig | 1 + configs/dra7xx_evm_defconfig | 1 + configs/dra7xx_hs_evm_defconfig | 1 + drivers/i2c/Kconfig | 7 + drivers/i2c/i2c-uclass.c | 14 + drivers/i2c/mvtwsi.c | 777 ++++++++++++++++++++++--------- drivers/i2c/omap24xx_i2c.c | 407 ++++++++++------ include/configs/ti_armv7_common.h | 16 + tools/env/fw_env.c | 17 +- 16 files changed, 898 insertions(+), 360 deletions(-) ------------------------------------------------------------------------------- commit 6e677caf8cf0cc1a2310f2e4e9f27b81c674bc95 Author: mario.six@gdsys.cc <mario.six@gdsys.cc> Date: 2016-07-21 11:57:13 +0200 i2c: mvtwsi: Add documentation Add full documentation to all driver functions. Signed-off-by: Mario Six <mario.six@gdsys.cc> Reviewed-by: Stefan Roese <sr@denx.de> Base directory -> / drivers/i2c/mvtwsi.c | 163 +++++++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 144 insertions(+), 19 deletions(-) ------------------------------------------------------------------------------- commit c68c624320e315ec79e78fef1d7baaaa3c64b790 Author: mario.six@gdsys.cc <mario.six@gdsys.cc> Date: 2016-07-21 11:57:12 +0200 i2c: mvtwsi: Make delay times frequency-dependent Some devices using the MVTWSI driver have the option to run at speeds faster than Standard Mode (100kHZ). On the Armada 38x controllers, this is actually necessary, since due to erratum FE-8471889, a timing violation concerning repeated starts prevents the controller from working correctly in Standard Mode. One of the workarounds recommended in the erratum is to set the bus to Fast Mode (400kHZ) operation and ensure all connected devices are set to Fast Mode. In the current version of the driver, however, the delay times are hard-coded to 10ms, corresponding to Standard Mode operation. To take full advantage of the faster modes, we would need to either keep the currently configured I2C speed in a globally accessible variable, or pass it to the necessary functions as a parameter. For DM, the first option is not a problem, and we can simply keep the speed in the private data of the driver. For the legacy interface, however, we would need to introduce a static variable, which would cause problems with boots from NOR flashes; see commit d6b7757 "i2c: mvtwsi: Eliminate twsi_control_flags." As to not clutter the interface with yet another parameter, we therefore keep the default 10ms delays for the legacy functions. In DM mode, we make the delay time dependant on the frequency to allow taking full advantage of faster modes of operation (tested with up to 1MHZ frequency on Armada MV88F6820). Signed-off-by: Mario Six <mario.six@gdsys.cc> Reviewed-by: Stefan Roese <sr@denx.de> Base directory -> / drivers/i2c/mvtwsi.c | 127 ++++++++++++++++++++++++++++++++++----------------- 1 file changed, 85 insertions(+), 42 deletions(-) ------------------------------------------------------------------------------- commit 24f9c6bbc7d5e5e276dea32a81ade71f0e6b56ae Author: mario.six@gdsys.cc <mario.six@gdsys.cc> Date: 2016-07-21 11:57:11 +0200 i2c: mvtwsi: Handle zero-length offsets properly Zero-length offsets are not properly handled by the driver. When a read operation with a zero-length offset is started, a START condition is asserted, and since no offset bytes are transferred, a repeated START is issued immediately after, which confuses the controller. To fix this, we send the first START only if any address bytes need to be sent, and keep track of the expected start status accordingly. Signed-off-by: Mario Six <mario.six@gdsys.cc> Reviewed-by: Stefan Roese <sr@denx.de> Base directory -> / drivers/i2c/mvtwsi.c | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) ------------------------------------------------------------------------------- commit 14a6ff2c4f22010e5d67f25508f09e3b53a1f1c4 Author: mario.six@gdsys.cc <mario.six@gdsys.cc> Date: 2016-07-21 11:57:10 +0200 i2c: mvtwsi: Add compatibility to DM This patch adds the necessary functions and Kconfig entry to make the MVTWSI I2C driver compatible with the driver model. A possible device tree entry might look like this: i2c@11100 { compatible = "marvell,mv64xxx-i2c"; reg = <0x11000 0x20>; clock-frequency = <100000>; u-boot,i2c-slave-addr = <0x0>; }; Signed-off-by: Mario Six <mario.six@gdsys.cc> Reviewed-by: Stefan Roese <sr@denx.de> Base directory -> / drivers/i2c/Kconfig | 7 ++++ drivers/i2c/mvtwsi.c | 111 ++++++++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 117 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit f8a10ed1fd9986362a39f2b18d89429dfdb078cb Author: mario.six@gdsys.cc <mario.six@gdsys.cc> Date: 2016-07-21 11:57:09 +0200 i2c: mvtwsi: Make address length variable The length of the address parameter of the __twsi_i2c_read and __twsi_i2c_write functions is fixed to four bytes. As a final step in the preparation of the DM conversion, we make the length of this parameter variable by turning it into an array of bytes, and convert the 32 bit value that's passed to the legacy functions into a four-byte-array on the fly. Signed-off-by: Mario Six <mario.six@gdsys.cc> Reviewed-by: Stefan Roese <sr@denx.de> Base directory -> / drivers/i2c/mvtwsi.c | 30 +++++++++++++++++++++--------- 1 file changed, 21 insertions(+), 9 deletions(-) ------------------------------------------------------------------------------- commit 3c4db636ac918a35c4c6671e8d060e3a72ba7c94 Author: mario.six@gdsys.cc <mario.six@gdsys.cc> Date: 2016-07-21 11:57:08 +0200 i2c: mvtwsi: Factor out adap parameter To be able to use the compatibility layer from the DM functions, we factor the adap parameter out of all functions, and pass the actual register base instead. Signed-off-by: Mario Six <mario.six@gdsys.cc> Reviewed-by: Stefan Roese <sr@denx.de> Base directory -> / drivers/i2c/mvtwsi.c | 97 +++++++++++++++++++++++++--------------------------- 1 file changed, 46 insertions(+), 51 deletions(-) ------------------------------------------------------------------------------- commit 61bc02b2608722204c1f16a74cd8851db5ee311d Author: mario.six@gdsys.cc <mario.six@gdsys.cc> Date: 2016-07-21 11:57:07 +0200 i2c: mvtwsi: Add compatibility functions To prepare for the DM conversion, we add a layer of compatibility functions to be used by both the legacy and the DM functions. Signed-off-by: Mario Six <mario.six@gdsys.cc> Reviewed-by: Stefan Roese <sr@denx.de> Base directory -> / drivers/i2c/mvtwsi.c | 47 ++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 38 insertions(+), 9 deletions(-) ------------------------------------------------------------------------------- commit e075828128d961d873484bb02ac8101bc733a1d7 Author: mario.six@gdsys.cc <mario.six@gdsys.cc> Date: 2016-07-21 11:57:06 +0200 i2c: mvtwsi: Use 'uint' instead of 'unsigned int' Since some additional parameters will be added in the course of this patch series (especially with the addition of DM support), we replace the longer "unsigned int" declarations with "uint" declarations to keep the parameter lists more readable. Signed-off-by: Mario Six <mario.six@gdsys.cc> Reviewed-by: Stefan Roese <sr@denx.de> Base directory -> / drivers/i2c/mvtwsi.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) ------------------------------------------------------------------------------- commit 059fce9f61fd81ab67555b9ba87e12cc4b8db8f6 Author: mario.six@gdsys.cc <mario.six@gdsys.cc> Date: 2016-07-21 11:57:05 +0200 i2c: mvtwsi: Get rid of status parameter The twsi_stop function contains a parameter "status," which is used to pass in the current exit status of the function calling twsi_stop, and either return this status unchanged if it indicates an error, or return twsi_stop's exit status if it does not indicate an error. While not massively complicated, this adds another purpose to the twsi_stop function, which should have the sole purpose of asserting a STOP condition on the bus (and not manage the exit status of its caller). Therefore, we move the exit status management into the caller functions by introducing a "stop_status" variable and returning either the status before the twsi_stop call (kept in the "status" variable), or the status from the twsi_stop call, depending on which indicates an error. Signed-off-by: Mario Six <mario.six@gdsys.cc> Reviewed-by: Stefan Roese <sr@denx.de> Base directory -> / drivers/i2c/mvtwsi.c | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) ------------------------------------------------------------------------------- commit 670514f52479cd1e0ae7952f45fef5779719aef2 Author: mario.six@gdsys.cc <mario.six@gdsys.cc> Date: 2016-07-21 11:57:04 +0200 i2c: mvtwsi: Eliminate flags parameter Due to breaking boots from NOR flashes, commit d6b7757 ("i2c: mvtwsi: Eliminate twsi_control_flags") removed the static global twsi_control_flags variable, which kept a set of default flags that were always or'd to the control register when writing. It was replaced with a flags parameter, which was passed around between the functions that needed it. Since the twsi_control_flags variable was used just for the purposes of a) setting the MVTWSI_CONTROL_TWSIEN on every control register write, and b) setting the MVTWSI_CONTROL_ACK from twsi_i2c_read if needed, anyway, the added overhead of another variable being passed around is no longer justified, and we are better off implementing this flag setting logic locally in the functions that actually write to the control register. Therefore, this patch sets MVTWSI_CONTROL_TWSIEN on every control register write, replaces the twsi_i2c_read's flags parameter with a ack_flag parameter, which tells the function whether to acknowledge the read or not, and removes every other instance of the flags variable. This has the added benefit that now every notion of "global default flags" is gone, and it's much easier to see which control flags are actually set at which point in time. Signed-off-by: Mario Six <mario.six@gdsys.cc> Reviewed-by: Stefan Roese <sr@denx.de> Base directory -> / drivers/i2c/mvtwsi.c | 83 ++++++++++++++++++++++++++-------------------------- 1 file changed, 41 insertions(+), 42 deletions(-) ------------------------------------------------------------------------------- commit 49c801bf352933b6285873d3d3ca6b315c60710f Author: mario.six@gdsys.cc <mario.six@gdsys.cc> Date: 2016-07-21 11:57:03 +0200 i2c: mvtwsi: Improve and fix comments This patch fixes only comments/documentation: Streamline capitalization and improve grammar/punctuation. Signed-off-by: Mario Six <mario.six@gdsys.cc> Reviewed-by: Stefan Roese <sr@denx.de> Base directory -> / drivers/i2c/mvtwsi.c | 129 +++++++++++++++++++++++++-------------------------- 1 file changed, 62 insertions(+), 67 deletions(-) ------------------------------------------------------------------------------- commit dfc3958cd3cce33e16cefec36f670d6202e50e4f Author: mario.six@gdsys.cc <mario.six@gdsys.cc> Date: 2016-07-21 11:57:02 +0200 i2c: mvtwsi: Streamline code and add documentation Convert groups of logically connected preprocessor defines into proper enums, one macro into an inline function, and add documentation to/extend existing documentation of these items. Signed-off-by: Mario Six <mario.six@gdsys.cc> Reviewed-by: Stefan Roese <sr@denx.de> Base directory -> / drivers/i2c/mvtwsi.c | 113 ++++++++++++++++++++++++++++++++++----------------- 1 file changed, 75 insertions(+), 38 deletions(-) ------------------------------------------------------------------------------- commit 9ec43b0c3fb0ee65772001b84db9ada2af7e104d Author: mario.six@gdsys.cc <mario.six@gdsys.cc> Date: 2016-07-21 11:57:01 +0200 i2c: mvtwsi: Fix style violations This patch fixes seven style violations: Six superfluous spaces after casts, and one logical continuation violation. Signed-off-by: Mario Six <mario.six@gdsys.cc> Reviewed-by: Stefan Roese <sr@denx.de> Base directory -> / drivers/i2c/mvtwsi.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) ------------------------------------------------------------------------------- commit b6de2cd7ee5af536ae67ab5522b69e5c4925f5f2 Author: Alexey Brodkin <Alexey.Brodkin@synopsys.com> Date: 2016-07-01 22:48:16 +0300 splash: Introduce default_splash_locations This change introduces default_splash_locations which simplifies splash recovery from the first partition of USB/MMC/SATA drive. Given usual mapping of the first partition of external media for basic boot stuff like uImage/zImage, .dtb etc it looks quite obvious option to put there splash.bmp as well. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Cc: Nikita Kiryanov <nikita@compulab.co.il> Cc: Simon Glass <sjg@chromium.org> Cc: Jeroen Hofstee <jeroen@myspectrum.nl> Signed-off-by: Anatolij Gustschin <agust@denx.de> Base directory -> / common/splash.c | 30 +++++++++++++++++++++++++++++- include/splash.h | 9 +++++++++ 2 files changed, 38 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit c9433a48145e57622c077b026886644eef7a9baf Author: Mugunthan V N <mugunthanvnm@ti.com> Date: 2016-07-18 15:11:09 +0530 defconfig: am57xx_hs_evm: enable i2c driver model Enable i2c driver model for am57xx_hs_evm as omap i2c supports driver model. Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com> Base directory -> / configs/am57xx_hs_evm_defconfig | 1 + 1 file changed, 1 insertion(+) ------------------------------------------------------------------------------- commit 9aa5874a7698cbcbbb07143121dd1ffed51ba6ed Author: Mugunthan V N <mugunthanvnm@ti.com> Date: 2016-07-18 15:11:08 +0530 defconfig: am57xx_evm: enable i2c driver model Enable i2c driver model for am57xx_evm as omap i2c supports driver model. Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / configs/am57xx_evm_defconfig | 1 + 1 file changed, 1 insertion(+) ------------------------------------------------------------------------------- commit efe7898bffa04f4c56f12078849f46ed8b13fb5f Author: Mugunthan V N <mugunthanvnm@ti.com> Date: 2016-07-18 15:11:07 +0530 defconfig: dra7xx_hs_evm: enable i2c driver model Enable i2c driver model for dra7xx_hs_evm as omap i2c supports driver model. Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / configs/dra7xx_hs_evm_defconfig | 1 + 1 file changed, 1 insertion(+) ------------------------------------------------------------------------------- commit 70ad98c085f591f1439f51b39a6413d4b5de5193 Author: Mugunthan V N <mugunthanvnm@ti.com> Date: 2016-07-18 15:11:06 +0530 defconfig: dra7xx_evm: enable i2c driver model Enable i2c driver model for dra7xx_evm as omap i2c supports driver model. Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / configs/dra7xx_evm_defconfig | 1 + 1 file changed, 1 insertion(+) ------------------------------------------------------------------------------- commit dc6b17a04e58aaa21443d211ce0cb2e13632f051 Author: Mugunthan V N <mugunthanvnm@ti.com> Date: 2016-07-18 15:11:05 +0530 defconfig: am43xx_hs_evm: enable i2c driver model Enable i2c driver model for am43xx_hs_evm as omap i2c supports driver model. Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / configs/am43xx_hs_evm_defconfig | 1 + 1 file changed, 1 insertion(+) ------------------------------------------------------------------------------- commit 081fbeaa9d8f3b003d32e95bd837fe9ed2274ff4 Author: Mugunthan V N <mugunthanvnm@ti.com> Date: 2016-07-18 15:11:04 +0530 defconfig: am43xx_evm: enable i2c driver model Enable i2c driver model for am43xx_evm as omap i2c supports driver model. Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / configs/am43xx_evm_defconfig | 1 + 1 file changed, 1 insertion(+) ------------------------------------------------------------------------------- commit c438d0117632bd207e9c04a73cd95ae6b229871b Author: Mugunthan V N <mugunthanvnm@ti.com> Date: 2016-07-18 15:11:03 +0530 defconfig: am335x_evm: enable i2c driver model Enable i2c driver model for am335x_evm as omap i2c supports driver model. Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / configs/am335x_evm_defconfig | 1 + 1 file changed, 1 insertion(+) ------------------------------------------------------------------------------- commit c50f2610b5cc672cd2ff6e160e5c9e99f1052c32 Author: Mugunthan V N <mugunthanvnm@ti.com> Date: 2016-07-18 15:11:02 +0530 defconfig: am335x_boneblack_vboot: enable i2c driver model Enable i2c driver model for am335x_boneblack_vboot as omap i2c supports driver model. Also enable CONFIG_DM_I2C_COMPAT for legacy drivers of i2c devices. Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / configs/am335x_boneblack_vboot_defconfig | 1 + include/configs/ti_armv7_common.h | 8 ++++++++ 2 files changed, 9 insertions(+) ------------------------------------------------------------------------------- commit daa69ffe3d4d603ccb7dfca92c33f19d9e1c2313 Author: Mugunthan V N <mugunthanvnm@ti.com> Date: 2016-07-18 15:11:01 +0530 drivers: i2c: omap24xx_i2c: adopt omap_i2c driver to driver model Convert omap i2c driver to adopt i2c driver model Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/i2c/omap24xx_i2c.c | 99 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 99 insertions(+) ------------------------------------------------------------------------------- commit be243e4113b6c3c302ee03050726358714f40ffe Author: Mugunthan V N <mugunthanvnm@ti.com> Date: 2016-07-18 15:11:00 +0530 drivers: i2c: omap24xx_i2c: prepare driver for DM conversion Prepare the driver for DM conversion. Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/i2c/omap24xx_i2c.c | 308 +++++++++++++++++++++++++-------------------- 1 file changed, 175 insertions(+), 133 deletions(-) ------------------------------------------------------------------------------- commit eff6b7731b03f3a387d83a2a5b7b78a3037e74b0 Author: Mugunthan V N <mugunthanvnm@ti.com> Date: 2016-07-18 15:10:59 +0530 ti_armv7_common: i2c: do not define DM_I2C for spl Since omap's spl doesn't support DM currently, do not define DM_I2C for spl build. Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / include/configs/ti_armv7_common.h | 8 ++++++++ 1 file changed, 8 insertions(+) ------------------------------------------------------------------------------- commit 5142ac791608a5e166f3f1b76b19adcd01aceabc Author: Mugunthan V N <mugunthanvnm@ti.com> Date: 2016-07-18 15:10:58 +0530 drivers: i2c: uclass: parse dt parameters only when CONFIG_OF_CONTROL is enable parse dt parameter of i2c devices only when CONFIG_OF_CONTROL is enabled. Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/i2c/i2c-uclass.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) ------------------------------------------------------------------------------- commit 7fb825f5b112713f572917fa7e89aac2b5b9c7b4 Author: Mugunthan V N <mugunthanvnm@ti.com> Date: 2016-07-18 15:10:57 +0530 omap5/dra7: i2c: correct register offset for sync register The register offset of i2c_sysc offset is not correct as per omap5[1]/dra7[2] TRM, correct the offsets as per the documentation. [1] - http://www.ti.com/lit/pdf/swpu249 [2] - http://www.ti.com/lit/pdf/spruhz6 Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / arch/arm/include/asm/arch-omap5/i2c.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) ------------------------------------------------------------------------------- commit 3465f807d4b90378d86b3904ce2db196462ddd4e Author: Mugunthan V N <mugunthanvnm@ti.com> Date: 2016-07-18 15:10:56 +0530 omap4: i2c: correct register offset for sync register The register offset of i2c_sysc offset is not correct as per omap4 TRM [1], correct the offsets as per the documentation. [1] - http://www.ti.com/lit/ug/swpu235ab/swpu235ab.pdf Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / arch/arm/include/asm/arch-omap4/i2c.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) ------------------------------------------------------------------------------- commit 81c878dd3c75c9056e4755ece89f45d056735d75 Author: Marcin Niestroj <m.niestroj@grinn-global.com> Date: 2016-05-06 14:58:29 +0200 tools: env: Fix format warnings in debug Format warnings (-Wformat) were shown in printf() calls after defining DEBUG macro. Update format string and explicitly cast variables to suppress all warnings. Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com> Base directory -> / tools/env/fw_env.c | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) ------------------------------------------------------------------------------- commit c482c60a14e5fa44a62e13bab4d07c52c37915dc Author: John Keeping <john@metanate.com> Date: 2016-07-15 17:33:23 +0100 rockchip: sdram: Fix register layout for Linux The ChromeOS kernel reads the RAM settings from PMU_SYS_REG2 and expects the bootloader to store the necessary information there. We're using the same register to pass the same information between the SPL and U-Boot but in a slightly different format. Change this to use the format expected by the Linux DMC driver so that the system doesn't hang in Linux by misconfiguring the RAM. This is almost the same as commit b5788dc ("rockchip: rk3288: correct sdram setting") which was reverted in commit b525556 ("Revert "rockchip: rk3288: correct sdram setting"") but parenthese have been added to apply the mask correctly when reading the "bw" setting and a couple of minor style issues have been fixed to keep check_patch.pl happy. Signed-off-by: John Keeping <john@metanate.com> Reviewed-by: Tom Rini <trini@konsulko.com> Acked-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/arm/mach-rockchip/rk3288/sdram_rk3288.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) ------------------------------------------------------------------------------- commit 79c830653bab23bb0b6ce34793659b459cbacaa0 Author: Kever Yang <kever.yang@rock-chips.com> Date: 2016-07-18 17:00:58 +0800 mmc: rockchip: add SDHCI driver support for rockchip soc Rockchip rk3399 using arasan sdhci-5.1 controller. This patch add the controller support to enable mmc device with full driver-model support, tested on rk3399 evb board. According to my test result, this driver should be OK, the command "part list mmc 0" can result in a right output, but all the mmc command failed like this: => mmc info No MMC device available Command failed, result=1 The result of get_mmc_num in cmd/mmc.c is always 0? Signed-off-by: Kever Yang <kever.yang@rock-chips.com> Acked-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/mmc/Kconfig | 6 +++ drivers/mmc/Makefile | 1 + drivers/mmc/rockchip_sdhci.c | 93 ++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 100 insertions(+) ------------------------------------------------------------------------------- commit d26f375ae467ec633ac4f8ab31ad6337893c0fd3 Author: Kever Yang <kever.yang@rock-chips.com> Date: 2016-07-19 21:17:01 +0800 ARM64: evb-rk3399: add a README for this board setup Add a README to guide people flash the ATF and U-Boot with Rockchip tools to bring up to board. Signed-off-by: Kever Yang <kever.yang@rock-chips.com> Acked-by: Simon Glass <sjg@chromium.org> Base directory -> / board/rockchip/evb_rk3399/README | 73 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 73 insertions(+) ------------------------------------------------------------------------------- commit 7e243496985d6c69e6cc875a72d6509cbd7820de Author: Kever Yang <kever.yang@rock-chips.com> Date: 2016-07-19 21:17:00 +0800 config: add config file for evb-rk3399 This patch add basic config option for evb-rk3399 board. Signed-off-by: Kever Yang <kever.yang@rock-chips.com> Acked-by: Simon Glass <sjg@chromium.org> Base directory -> / configs/evb-rk3399_defconfig | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) ------------------------------------------------------------------------------- commit a381bcf529ff8c33867500cc9a68a100cfe6d22e Author: Kever Yang <kever.yang@rock-chips.com> Date: 2016-07-19 21:16:59 +0800 ARM64: rockchip: add support for rk3399 SoC based evb RK3399 is a SoC from Rockchip with dual-core Cortex-A72 and quad-core Cortex-A53 CPU. It supports two USB3.0 type-C ports and two USB2.0 EHCI ports. Other interfaces are very much like RK3288, the DRAM are 32bit width address and support address from 0 to 4GB-128MB range. Signed-off-by: Kever Yang <kever.yang@rock-chips.com> Acked-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/arm/Kconfig | 6 +-- arch/arm/mach-rockchip/Kconfig | 16 ++++++++ arch/arm/mach-rockchip/Makefile | 1 + arch/arm/mach-rockchip/rk3399/Kconfig | 23 +++++++++++ arch/arm/mach-rockchip/rk3399/Makefile | 7 ++++ arch/arm/mach-rockchip/rk3399/rk3399.c | 30 ++++++++++++++ board/rockchip/evb_rk3399/Kconfig | 15 +++++++ board/rockchip/evb_rk3399/MAINTAINERS | 0 board/rockchip/evb_rk3399/Makefile | 7 ++++ board/rockchip/evb_rk3399/evb-rk3399.c | 26 ++++++++++++ include/configs/evb_rk3399.h | 26 ++++++++++++ include/configs/rk3399_common.h | 73 ++++++++++++++++++++++++++++++++++ 12 files changed, 226 insertions(+), 4 deletions(-) ------------------------------------------------------------------------------- commit 777c834fd476af37340a1e4b15597669e8a0ca31 Author: Kever Yang <kever.yang@rock-chips.com> Date: 2016-07-19 21:16:58 +0800 dts: add support for Rockchip rk3399 soc These files are from kernel upstream: "649a371 Add linux-next specific files for 20160616" with some modification need by U-Boot: - chosen with stdout-path to uart2. - add clock-frequency for uart2 Signed-off-by: Kever Yang <kever.yang@rock-chips.com> Acked-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/arm/dts/Makefile | 3 +- arch/arm/dts/rk3399-evb.dts | 104 ++++ arch/arm/dts/rk3399.dtsi | 1028 ++++++++++++++++++++++++++++++++ include/dt-bindings/clock/rk3399-cru.h | 746 +++++++++++++++++++++++ 4 files changed, 1880 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit a16e2e06809ad23afeda69edcc1a99182fa9d8fd Author: Xu Ziyuan <xzy.xu@rock-chips.com> Date: 2016-07-18 09:56:46 +0800 rockchip: update fastboot usage Introduce how to use fastboot feature on rk3288. Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com> Acked-by: Simon Glass <sjg@chromium.org> Base directory -> / doc/README.rockchip | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) ------------------------------------------------------------------------------- commit 9191090e34d036ef103931beaa05fa6401390beb Author: Kever Yang <kever.yang@rock-chips.com> Date: 2016-07-18 09:35:26 +0800 mkimage: rockchip: add suport for rk33 serial Add support for rockchip rk33 series Soc like rk3368 and rk3399 Signed-off-by: Kever Yang <kever.yang@rock-chips.com> Acked-by: Simon Glass <sjg@chromium.org> Base directory -> / tools/rkcommon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit c3aad6f65b3fb574e1a73c686d8793dee00c5819 Author: Simon Glass <sjg@chromium.org> Date: 2016-07-17 15:23:17 -0600 rockchip: Use rockchip_get_clk() to obtain the SoC clock The current code picks the first available clock. In U-Boot proper this is the oscillator device, not the SoC clock device. As a result the HDMI display does not work. Fix this by calling rockchip_get_clk() instead. Fixes: 135aa950 (clk: convert API to match reset/mailbox style) Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Anatolij Gustschin <agust@denx.de> Base directory -> / arch/arm/mach-rockchip/board.c | 2 +- arch/arm/mach-rockchip/rk3288-board-spl.c | 2 +- arch/arm/mach-rockchip/rk3288/sdram_rk3288.c | 2 +- drivers/clk/clk_rk3288.c | 2 +- drivers/video/rockchip/rk_vop.c | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) ------------------------------------------------------------------------------- commit a617c5d3e2c22355ee9abc455bbb0b36e124a00a Author: Simon Glass <sjg@chromium.org> Date: 2016-07-17 15:23:16 -0600 rockchip: Add a way to obtain the main clock device On Rockchip SoCs we typically have a main clock device that uses the Soc clock driver. There is also a fixed clock for the oscillator. Add a function to obtain the core clock. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/arm/include/asm/arch-rockchip/clock.h | 2 ++ arch/arm/mach-rockchip/rk3288/Makefile | 1 + arch/arm/mach-rockchip/rk3288/clk_rk3288.c | 17 +++++++++++++++++ 3 files changed, 20 insertions(+) ------------------------------------------------------------------------------- commit c57f806bf2e745c4273dc33c9827781cff46427c Author: Simon Glass <sjg@chromium.org> Date: 2016-07-17 15:23:15 -0600 dm: core: Add a way to find a device by its driver Some SoCs have a single clock device. Provide a way to find it given its driver name. This is handled by the linker so will fail if the name is not found, avoiding strange errors when names change and do not match. It is also faster than a string comparison. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/core/uclass.c | 20 ++++++++++++++++++++ include/dm/device.h | 4 ++++ include/dm/uclass.h | 18 ++++++++++++++++++ 3 files changed, 42 insertions(+) ------------------------------------------------------------------------------- commit c3f03ffbe31ae886f0eb670edf47fc208d667c19 Author: Heiko Stübner <heiko@sntech.de> Date: 2016-07-16 00:17:17 +0200 rockchip: rk3288: fix FREF_MIN_HZ constant According to the TRM the minimum FREF frequency is 269kHz not MHz. Adapt the constant accordingly. Signed-off-by: Heiko Stuebner <heiko@sntech.de> Acked-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/clk/clk_rk3288.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit b339b5dbca4c776a4c138b852082fad2df826410 Author: Heiko Stübner <heiko@sntech.de> Date: 2016-07-16 00:17:16 +0200 cosmetic: rockchip: rk3288: rename rkclk_configure_cpu The function is very specific to the rk3288 in its arguments referencing the rk3288 cru and grf and every other rockchip soc has differing cru and grf registers. So make that function naming explicit. Signed-off-by: Heiko Stuebner <heiko@sntech.de> Acked-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/arm/include/asm/arch-rockchip/clock.h | 2 +- arch/arm/mach-rockchip/rk3288/sdram_rk3288.c | 2 +- drivers/clk/clk_rk3288.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) ------------------------------------------------------------------------------- commit 041cdb5f3d0fe778546bcf5b8b69e6b774db1d9e Author: Heiko Stübner <heiko@sntech.de> Date: 2016-07-16 00:17:15 +0200 cosmetic: rockchip: sort socs according to numbers Having some sort of ordering proofed helpful in a lot of other places already. So for a larger number of rockchip socs it might be helpful as well instead of an ever increasing unsorted list. Signed-off-by: Heiko Stuebner <heiko@sntech.de> Reviewed-by: Andreas Färber <afaerber@suse.de> Acked-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/arm/mach-rockchip/Kconfig | 20 ++++++++++---------- arch/arm/mach-rockchip/Makefile | 4 ++-- drivers/pinctrl/Kconfig | 16 ++++++++-------- drivers/pinctrl/rockchip/Makefile | 2 +- 4 files changed, 21 insertions(+), 21 deletions(-) ------------------------------------------------------------------------------- commit 23c3042b106f6f5f92f4b5ec11b3d07eaf35bc06 Author: Heiko Stübner <heiko@sntech.de> Date: 2016-07-16 00:17:14 +0200 cosmetic: rockchip: rk3036: pinctrl: fix config symbol naming Rockchip socs are always named rkxxxx in all places, as also shown by the naming of the rk3036 pinctrl file itself. Therefore also name the config symbol according to this scheme. Signed-off-by: Heiko Stuebner <heiko@sntech.de> Acked-by: Simon Glass <sjg@chromium.org> Base directory -> / configs/evb-rk3036_defconfig | 2 +- configs/kylin-rk3036_defconfig | 2 +- configs/sandbox_defconfig | 2 +- configs/sandbox_noblk_defconfig | 2 +- drivers/pinctrl/Kconfig | 2 +- drivers/pinctrl/rockchip/Makefile | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) ------------------------------------------------------------------------------- commit 9f862ec717dd1087c8ccc282d231a3b3bcd608e2 Author: Heiko Stübner <heiko@sntech.de> Date: 2016-07-16 00:17:13 +0200 cosmetic: rockchip: rk3288: pinctrl: fix config symbol naming The rk3288 pinctrl is very specific to this soc, so should not hog the generic rockchip naming. Signed-off-by: Heiko Stuebner <heiko@sntech.de> Acked-by: Simon Glass <sjg@chromium.org> Base directory -> / configs/chromebook_jerry_defconfig | 2 +- configs/firefly-rk3288_defconfig | 2 +- configs/rock2_defconfig | 2 +- configs/sandbox_defconfig | 2 +- configs/sandbox_noblk_defconfig | 2 +- drivers/pinctrl/Kconfig | 6 +++--- drivers/pinctrl/rockchip/Makefile | 2 +- 7 files changed, 9 insertions(+), 9 deletions(-) ------------------------------------------------------------------------------- commit 266c8fad51c20c8c8a641696ac1d8d8dea58d700 Author: Xu Ziyuan <xzy.xu@rock-chips.com> Date: 2016-07-15 00:26:59 +0800 rockchip: rk3288: add fastboot support Enable fastboot feature on rk3288. This path doesn't support the fastboot flash function command entirely. We will hit "cannot find partition" assertion without specified partition environment. Define gpt partition layout in specified board such as firefly-rk3288, then enjoy it! Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com> Acked-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/arm/dts/rk3288.dtsi | 1 + arch/arm/mach-rockchip/board.c | 72 +++++++++++++++++++++++++++++++++++++++++ include/configs/rk3288_common.h | 26 +++++++++++++++ 3 files changed, 99 insertions(+) ------------------------------------------------------------------------------- commit 9424f1418377bfb0c95ed36a8854e7fe53436229 Author: Xu Ziyuan <xzy.xu@rock-chips.com> Date: 2016-07-14 14:52:35 +0800 usb: dwc2 : invalidate dcache before starting DMA Invalidate dcache before starting the DMA to ensure coherency. In case there are any dirty lines from the DMA buffer in the cache, subsequent cache-line replacements may corrupt the buffer in memory while the DMA is still going on. Cache-line replacement can happen if the CPU tries to bring some other memory locations into the cache while the DMA is going on. Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com> Acked-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/usb/gadget/dwc2_udc_otg_xfer_dma.c | 3 +++ 1 file changed, 3 insertions(+) ------------------------------------------------------------------------------- commit 47117882671fbfb5ffa20cd25ec29da5b7143009 Author: Xu Ziyuan <xzy.xu@rock-chips.com> Date: 2016-07-14 14:52:33 +0800 usb: dwc2-otg: adjust fifo size via platform data The total FIFO size of some SoCs may be different from the existen, this patch supports fifo size setting from platform data. Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com> Acked-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/usb/gadget/dwc2_udc_otg.c | 22 ++++++++++++++++------ drivers/usb/gadget/dwc2_udc_otg_regs.h | 6 +++--- include/usb/dwc2_udc.h | 3 +++ 3 files changed, 22 insertions(+), 9 deletions(-) ------------------------------------------------------------------------------- commit fab3357916096d4c61a5e2fe5d28f5aeb78c6957 Author: Xu Ziyuan <xzy.xu@rock-chips.com> Date: 2016-07-14 14:52:32 +0800 usb: rockchip-phy: implement USB2.0 phy control So far, Rockchip SoCs have two kinds of USB2.0 phy, such as Synopsys and Innosilicon. This patch applys dwc2 usb driver framework to implement phy_init() and phy_off() methods for Synopsys phy on Rockchip platform. Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com> Acked-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/usb/phy/Makefile | 1 + drivers/usb/phy/rockchip_usb2_phy.c | 107 ++++++++++++++++++++++++++++++++++++ include/usb/dwc2_udc.h | 2 + 3 files changed, 110 insertions(+) ------------------------------------------------------------------------------- commit ad8fe6b96432d17aca224167338c68dc2f0cf2ae Author: Andreas Färber <afaerber@suse.de> Date: 2016-07-14 06:22:09 +0200 rockchip: Exclude rk_timer for ARM64 It conflicts with the generic_timer. Cc: Kever Yang <kever.yang@rock-chips.com> Signed-off-by: Andreas Färber <afaerber@suse.de> Acked-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/arm/mach-rockchip/Makefile | 2 ++ 1 file changed, 2 insertions(+) ------------------------------------------------------------------------------- commit 5f30bf764ba496ca9921d4242715dfd8d761f4cf Author: Kever Yang <kever.yang@rock-chips.com> Date: 2016-07-14 11:51:05 +0800 mkimage: rockchip: add suport for rk33 serial Add support for rockchip rk33 series Soc like rk3368 and rk3399 Signed-off-by: Kever Yang <kever.yang@rock-chips.com> Acked-by: Simon Glass <sjg@chromium.org> Base directory -> / tools/rkcommon.c | 1 + 1 file changed, 1 insertion(+) ------------------------------------------------------------------------------- commit e0f5dbcb4b8cfe277d06acc0cdc0ba22c0d3d3d0 Author: Andreas Färber <afaerber@suse.de> Date: 2016-07-14 05:09:26 +0200 rockchip: Clean up CPU selection In preparation for RK3368 and RK3399, which need to select ARM64, don't select CPU_V7 at the ARCH_ROCKCHIP level but at the SoC level instead. Cc: Kever Yang <kever.yang@rock-chips.com> Signed-off-by: Andreas Färber <afaerber@suse.de> Acked-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/arm/Kconfig | 1 - arch/arm/mach-rockchip/Kconfig | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit c418addfa9e758b05531eb37498c6fa0317d2c64 Author: Kever Yang <kever.yang@rock-chips.com> Date: 2016-07-08 11:30:58 +0800 board: move all the rockchip board in one folder The 'evb_rk3036' and 'kylin' is not a vendor name, let's replace them to 'rockchip' which is a real _vendor_ name, and meet the architecure 'board/<vendor>/<board-name>/'. More boards from rockchip like evb_rk3288, evb_rk3399 will comes later. Signed-off-by: Kever Yang <kever.yang@rock-chips.com> Reviewed-by: Eddie Cai <eddie.cai.kernel@gmail.com> Base directory -> / arch/arm/mach-rockchip/rk3036/Kconfig | 4 +- board/evb_rk3036/evb_rk3036/Kconfig | 15 ------ board/evb_rk3036/evb_rk3036/MAINTAINERS | 6 --- board/evb_rk3036/evb_rk3036/Makefile | 7 --- board/evb_rk3036/evb_rk3036/evb_rk3036.c | 49 ------------------ board/kylin/kylin_rk3036/Kconfig | 15 ------ board/kylin/kylin_rk3036/MAINTAINERS | 6 --- board/kylin/kylin_rk3036/Makefile | 7 --- board/kylin/kylin_rk3036/kylin_rk3036.c | 81 ------------------------------ board/rockchip/evb_rk3036/Kconfig | 15 ++++++ board/rockchip/evb_rk3036/MAINTAINERS | 6 +++ board/rockchip/evb_rk3036/Makefile | 7 +++ board/rockchip/evb_rk3036/evb_rk3036.c | 49 ++++++++++++++++++ board/rockchip/kylin_rk3036/Kconfig | 15 ++++++ board/rockchip/kylin_rk3036/MAINTAINERS | 6 +++ board/rockchip/kylin_rk3036/Makefile | 7 +++ board/rockchip/kylin_rk3036/kylin_rk3036.c | 81 ++++++++++++++++++++++++++++++ 17 files changed, 188 insertions(+), 188 deletions(-) ------------------------------------------------------------------------------- commit 744368d6ae3ea5cf73407c24d8e44b2a83b7f659 Author: Xu Ziyuan <xzy.xu@rock-chips.com> Date: 2016-07-05 18:06:30 +0800 rockchip: add basic support for evb-rk3288 board evb-3288 board RK3288-based development board with 2 USB ports, HDMI, VGA, micro-SD card, audio, WiFi and Gigabit Ethernet. It also includes on-board 8G eMMC and 2GB of SDRAM. Expansion connector provide access to display pins, I2C, SPI, UART and GPIOs. This add some basic files required to allow the board to output serial messaged and can run command(mmc info etc). evb-rk3288 also supports booting from eMMC or SD card, the default is eMMC. Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/arm/dts/Makefile | 1 + arch/arm/dts/rk3288-evb.dts | 59 +++++ arch/arm/dts/rk3288-evb.dtsi | 379 ++++++++++++++++++++++++++++++ arch/arm/mach-rockchip/rk3288-board-spl.c | 3 +- arch/arm/mach-rockchip/rk3288/Kconfig | 10 + board/evb-rk3288/evb-rk3288/Kconfig | 15 ++ board/evb-rk3288/evb-rk3288/MAINTAINERS | 6 + board/evb-rk3288/evb-rk3288/Makefile | 7 + board/evb-rk3288/evb-rk3288/evb-rk3288.c | 15 ++ configs/evb-rk3288_defconfig | 67 ++++++ doc/README.rockchip | 3 +- include/configs/evb-rk3288.h | 26 ++ 12 files changed, 589 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit b47ea79219f1de43fa21456c6c60c8390b8755d2 Author: Xu Ziyuan <xzy.xu@rock-chips.com> Date: 2016-07-12 19:09:49 +0800 rockchip: add option to change method of loading u-boot If we would like to boot from SD card, we have to implement mmc driver in SPL stage, and get a slightly large SPL binary. Rockchip SoC's bootrom code has the ability to load spl and u-boot, then boot. If CONFIG_ROCKCHIP_SPL_BACK_TO_BROM is enabled, the spl will return to bootrom in board_init_f(), then bootrom loads u-boot binary. Loading sequence after rework: bootrom ==> spl ==> bootrom ==> u-boot Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com> Acked-by: Simon Glass <sjg@chromium.org> Fixed up spelling of U-Boot, boorom, opinion->option, Rochchip: Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/arm/mach-rockchip/Kconfig | 8 ++++++ arch/arm/mach-rockchip/Makefile | 1 + arch/arm/mach-rockchip/board.c | 33 +++++++++++++++++++++++++ arch/arm/mach-rockchip/rk3036/Makefile | 1 - arch/arm/mach-rockchip/rk3036/save_boot_param.S | 32 ------------------------ arch/arm/mach-rockchip/rk3288-board-spl.c | 5 +++- arch/arm/mach-rockchip/save_boot_param.S | 32 ++++++++++++++++++++++++ doc/README.rockchip | 14 +++++++++++ include/configs/rk3288_common.h | 5 ++++ 9 files changed, 97 insertions(+), 34 deletions(-) ------------------------------------------------------------------------------- commit 4579720412744dd13266a3505bb38ce2da819b4f Author: Tom Rini <trini@konsulko.com> Date: 2016-07-25 22:25:52 -0400 Prepare v2016.09-rc1 Signed-off-by: Tom Rini <trini@konsulko.com> Base directory -> / Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit 6a056c442f74bca70d6964612912f4a811177957 Author: Tom Rini <trini@konsulko.com> Date: 2016-07-25 18:18:15 -0400 sandbox: Migrate CONFIG_I2C_EEPROM Most users of CONFIG_I2C_EEPROM were migrated to defconfig a while ago, but sandbox was skipped. Leave it off for sandbox_spl where it does not build, but does not need to be either. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Base directory -> / configs/sandbox_defconfig | 1 + include/configs/sandbox.h | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit d7b60fbfa63431eedccac17674311f0055f323fe Author: Alexey Brodkin <Alexey.Brodkin@synopsys.com> Date: 2016-07-01 22:47:36 +0300 splash: Accommodate DM_USB in splash_init_usb() Current implementation of splash_init_usb() requires usb_stor_scan() which doesn't exist in case of DM_USB simply because real probing happens right in usb_init(). So disable usage of usb_stor_scan() in case of DM_USB. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Cc: Nikita Kiryanov <nikita@compulab.co.il> Cc: Simon Glass <sjg@chromium.org> Cc: Jeroen Hofstee <jeroen@myspectrum.nl> Cc: Anatolij Gustschin <agust@denx.de> Cc: Robert Winkler <robert.winkler@boundarydevices.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / common/splash_source.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit b60038ccabff484172bd39098afc7f7af3b9b3c0 Author: Scott Wood <oss@buserror.net> Date: 2016-07-19 16:26:21 -0500 powerpc/86xx: Pass -mcpu=7400 to GCC Without this, GCC uses the toolchain default, which may be incompatible with -maltivec. Signed-off-by: Scott Wood <oss@buserror.net> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / arch/powerpc/cpu/mpc86xx/config.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit fd42e1b589b5ae7e89dc327a70e5852999a23aeb Author: Tom Rini <trini@konsulko.com> Date: 2016-07-25 14:49:54 -0400 Merge git://git.denx.de/u-boot-nand-flash Base directory -> / arch/arm/dts/sun5i-a10s.dtsi | 14 + arch/arm/dts/sun5i-a13-olinuxino.dts | 15 + arch/arm/dts/sun5i-r8-chip.dts | 15 + arch/arm/dts/sun5i.dtsi | 49 + arch/arm/include/asm/arch-sunxi/clock_sun4i.h | 5 + board/sunxi/board.c | 5 +- cmd/mtdparts.c | 4 +- cmd/nand.c | 15 +- drivers/mtd/nand/Kconfig | 8 +- drivers/mtd/nand/Makefile | 1 + drivers/mtd/nand/nand_base.c | 72 +- drivers/mtd/nand/nand_ids.c | 4 + drivers/mtd/nand/sunxi_nand.c | 1845 +++++++++++++++++++++++++ include/configs/sunxi-common.h | 3 + include/fdtdec.h | 1 + include/linux/mtd/mtd.h | 5 + include/linux/mtd/nand.h | 5 +- include/nand.h | 3 + lib/fdtdec.c | 1 + 19 files changed, 2057 insertions(+), 13 deletions(-) ------------------------------------------------------------------------------- commit e312e745db7bcde95c759986d218e8ab5259f64f Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-07-25 22:06:08 +0900 arm64: thunderx_88xx_defconfig: remove unneeded CONFIG_SYS_EXTRA_OPTIONS ARM64 is correctly select'ed in arch/arm/Kconfig, so this line in the defconfig is unneeded. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / configs/thunderx_88xx_defconfig | 1 - 1 file changed, 1 deletion(-) ------------------------------------------------------------------------------- commit d6a33918fb50fe2f3917b400cb84220b1d7e4392 Author: Simon Glass <sjg@chromium.org> Date: 2016-07-22 09:22:49 -0600 dtoc: Correct the type widening code in fdt_fallback This code does not match the fdt version in fdt.py. When dtoc is unable to use the Python libfdt library, it uses the fallback version, which does not widen arrays correctly. Fix this to avoid a warning 'excess elements in array initialize' in dt-platdata.c which happens on some platforms. Reported-by: Tom Rini <trini@konsulko.com> Signed-off-by: Simon Glass <sjg@chromium.org> Tested-by: Tom Rini <trini@konsulko.com> Base directory -> / tools/dtoc/fdt_fallback.py | 6 ++++++ 1 file changed, 6 insertions(+) ------------------------------------------------------------------------------- commit c55d02b2aca9b477dcf4c81062cc8e301d8c89d8 Author: Simon Glass <sjg@chromium.org> Date: 2016-07-22 09:22:48 -0600 hashtable: Fix compiler warning on 32-bit sandbox This fixes a mismatch between the %zu format and the type used on sandbox. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / lib/hashtable.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) ------------------------------------------------------------------------------- commit 5afb8d151f5249914152dfdc7919a3a46b6b6a76 Author: Simon Glass <sjg@chromium.org> Date: 2016-07-22 09:22:47 -0600 part_efi: Fix compiler warning on 32-bit sandbox This fixes a mismatch between the %zu format and the type used on sandbox. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / disk/part_efi.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) ------------------------------------------------------------------------------- commit 1bb718cdabc0f581e2b3ca1134883ee57d3a910d Author: Simon Glass <sjg@chromium.org> Date: 2016-07-22 09:22:46 -0600 lzmadec: Use the same type as the lzma call With sandbox on 32-bit the size_t type can be a little inconsistent. Use the same type as the caller expects to avoid a compiler warning. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / cmd/lzmadec.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit 5923c843ba0e06a90e0c0c5cc6894ac8641377e1 Author: Simon Glass <sjg@chromium.org> Date: 2016-07-22 09:22:45 -0600 sandbox: Add instructions about building on 32-bit machines Sandbox is built with 64-bit ints by default. This doesn't work properly on 32-bit machines. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / board/sandbox/README.sandbox | 3 +++ include/configs/sandbox.h | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 713fb2dcb24537073171fc84528044a3ba081817 Author: mario.six@gdsys.cc <mario.six@gdsys.cc> Date: 2016-07-22 08:58:40 +0200 tools, rsa: Further minor cleanups on top of c236ebd and 2b9ec7 [NOTE: I took v1 of these patches in, and then v2 came out, this commit is squashing the minor deltas from v1 -> v2 of updates to c236ebd and 2b9ec76 into this commit - trini] - Added an additional NULL check, as suggested by Simon Glass to fit_image_process_sig - Re-formatted the comment blocks Signed-off-by: Mario Six <mario.six@gdsys.cc> Reviewed-by: Simon Glass <sjg@chromium.org> [For merging the chnages from v2 back onto v1] Signed-off-by: Tom Rini <trini@konsulko.com> Base directory -> / lib/rsa/rsa-sign.c | 6 ++++-- tools/image-host.c | 11 ++++++++--- 2 files changed, 12 insertions(+), 5 deletions(-) ------------------------------------------------------------------------------- commit 335b4e53c9c5310c36f5178d2f66a13c4b1c8592 Author: Russ Dill <Russ.Dill@ti.com> Date: 2016-07-21 04:28:32 -0700 ARM: am33xx: Always inhibit init/refresh during DDR phy init A couple of commits have modified the am33xx/am437x ddr2/ddr3 initialization path to fix certain issues, but have had the side effect of causing L3 noc errors during initialization. The two commits are: 69b918 "am33xx,ddr3: fix ddr3 sdram configuration" fc46ba "arm: am437x: Enable hardware leveling for EMIF" The EMIF_REG_INITREF_DIS_MASK bit still needs to be set for all platforms. This delays initialization and refresh until a later stage. The 500us timer can be programmed for platforms that require it and for platforms that don't require it. It is currently hardcoded for 400MHz systems. For systems with a higher memory frequency this needs to be a larger value, and for systems with a lower memory frequency this can be a lower value. This can be considered a separate issue and corrected in a later commit. Signed-off-by: Russ Dill <Russ.Dill@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / arch/arm/cpu/armv7/am33xx/ddr.c | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) ------------------------------------------------------------------------------- commit 3325b06556b78a2afdaaa781765b505f7d1f8ae4 Author: Russ Dill <Russ.Dill@ti.com> Date: 2016-07-21 04:28:31 -0700 ARM: am33xx: Fix DDR init delay placement The delay needs to be before the write to ref_ctrl register which initiates refreshes. An improper initialization sequence generates an L3 noc error. Signed-off-by: Russ Dill <Russ.Dill@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / arch/arm/cpu/armv7/am33xx/ddr.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 492716662fbdc08e254dda2c209b320e2bf6c837 Author: Alexander Graf <agraf@suse.de> Date: 2016-07-21 01:44:46 +0200 efi_loader: Make exposed image loader path absolute When loading an efi image, we pass it the location it was loaded from. On file system backends, there are no relative paths, so we should always pass in absolute ones. For network paths, we may be relative. This fixes distro booting with grub2 for me when it fetches the grub2 config file from the loader partition. Reported-by: york sun <york.sun@nxp.com> Signed-off-by: Alexander Graf <agraf@suse.de> Base directory -> / cmd/bootefi.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit e8fb4358c2ea3b5629f004f7d0d5624c860d7e70 Author: mario.six@gdsys.cc <mario.six@gdsys.cc> Date: 2016-07-20 08:32:50 +0200 common: fit: Allow U-Boot images to be booted In certain circumstances it comes in handy to be able to boot into a second U-Boot. But as of now it is not possible to boot a U-Boot binary that is inside a FIT image, which is problematic for projects that e.g. need to guarantee a unbroken chain of trust from SOC all the way into the OS, since the FIT signing mechanism cannot be used. This patch adds the capability to load such FIT images. An example .its snippet (utilizing signature verification) might look like the following: images { firmware@1 { description = "2nd stage U-Boot image"; data = /incbin/("u-boot-dtb.img.gz"); type = "firmware"; arch = "arm"; os = "u-boot"; compression = "gzip"; load = <0x8FFFC0>; entry = <0x900000>; signature@1 { algo = "sha256,rsa4096"; key-name-hint = "key"; }; }; }; Signed-off-by: Mario Six <mario.six@gdsys.cc> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / common/image-fit.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) ------------------------------------------------------------------------------- commit bcdc1c8376c55fcc8b8fdd7f27f117eff0bf715d Author: Karicheri, Muralidharan <m-karicheri2@ti.com> Date: 2016-07-19 14:39:14 -0400 keystone: k2h/e/l: Fix DMA coherency for QM PDSP commit 1f807a9f32aa ("ARM: keystone2: Refactor MSMC macros to avoid left under a macro KS2_MSMC_SEGMENT_QM_PDSP which is no longer valid. This, in effect disabled DMA coherency for QM PDSP. Given that msmc_k2hkle_common_setup is valid for all K2H/K/L/E SoCs, the #ifdef should been removed in the first place. Do the same. Fixes: 1f807a9f32aa ("ARM: keystone2: Refactor MSMC macros to avoid #ifdeffery") Signed-off-by: Murali Karicheri <m-karicheri2@ti.com> Acked-by: Nishanth Menon <nm@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / arch/arm/mach-keystone/init.c | 2 -- 1 file changed, 2 deletions(-) ------------------------------------------------------------------------------- commit c4974632e2af6765f8d9590f1cba1afd0c6ffedf Author: mario.six@gdsys.cc <mario.six@gdsys.cc> Date: 2016-07-19 16:20:13 +0200 cmd: misc: Add support for fractions in sleep A feasible way to communicate certain errors for devices that have no other way of signalling besides LEDs is to flash these LEDs. For errors in U-Boot, a script that utilizes the led and sleep commands would be a practicable way, but currently the sleep command can only delay for an integral amount of seconds, which is too slow to create an easily noticeable pattern for flashing LEDs. Therefore, this patch adds support for fractions (down to .001 seconds) to the sleep command. The parsing is kept minimal, simplistic and as robust as possible: After converting the passed string using simple_strtoul and multiplying it with 1000, we search for the first dot, convert the three characters after that into a number (if they are not numbers, we ignore the fractional part and just use the delay we got from simple_strtoul), and add this number to the delay. Signed-off-by: Mario Six <mario.six@gdsys.cc> Base directory -> / cmd/misc.c | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 59441ac3c135c412c679bdd1c82c8f2a9b805bbc Author: Steve Rae <steve.rae@raedomain.com> Date: 2016-06-29 13:50:59 -0700 mtd: fix compiler warnings - add missing declaration - update debug output format specifiers Signed-off-by: Steve Rae <steve.rae@raedomain.com> Base directory -> / cmd/mtdparts.c | 4 ++-- include/linux/mtd/mtd.h | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit ebb7febc92fc628d1f37b96616a1bb21b646d072 Author: Hector Palacios <hector.palacios@digi.com> Date: 2016-07-18 09:37:41 +0200 mtd: nand: fix bug writing 1 byte less than page size nand_do_write_ops() determines if it is writing a partial page with the formula: part_pagewr = (column || writelen < (mtd->writesize - 1)) When 'writelen' is exactly 1 byte less than the NAND page size the formula equates to zero, so the code doesn't process it as a partial write, although it should. As a consequence the function remains in the while(1) loop with 'writelen' becoming 0xffffffff and iterating until the watchdog timeout triggers. To reproduce the issue on a NAND with 2K page (0x800): => nand erase.part <partition> => nand write $loadaddr <partition> 7ff Signed-off-by: Hector Palacios <hector.palacios@digi.com> Base directory -> / drivers/mtd/nand/nand_base.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit c1aa7d629eb9f0ed7836061170461abb04d34111 Author: Boris Brezillon <boris.brezillon@free-electrons.com> Date: 2016-06-15 21:09:28 +0200 sunxi: Enable NAND controller on the CHIP Enable the NAND controller in the sun5i-r8-chip.dts. Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com> Acked-by: Hans de Goede <hdegoede@redhat.com> Base directory -> / arch/arm/dts/sun5i-a10s.dtsi | 14 ++++++++++++++ arch/arm/dts/sun5i-a13-olinuxino.dts | 15 +++++++++++++++ arch/arm/dts/sun5i-r8-chip.dts | 15 +++++++++++++++ 3 files changed, 44 insertions(+) ------------------------------------------------------------------------------- commit a0dfa88b4e12c00414a4058823e0eec8c216f1d7 Author: Boris Brezillon <boris.brezillon@free-electrons.com> Date: 2016-06-15 21:09:27 +0200 sunxi: nand: Increase CONFIG_SYS_NAND_MAX_ECCPOS value On some sunxi boards we have NANDs exposing 1664 OOB bytes per page. Define the CONFIG_SYS_NAND_MAX_ECCPOS value accordingly. Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com> Base directory -> / include/configs/sunxi-common.h | 1 + 1 file changed, 1 insertion(+) ------------------------------------------------------------------------------- commit c1fe6b5b5e540e8c94a1be4e1119ee17ad5af5e7 Author: Boris Brezillon <boris.brezillon@free-electrons.com> Date: 2016-06-15 21:09:26 +0200 mtd: nand: Increase the max OOB size Some NANDs are now exposing 1664 OOB bytes per page. Adjust the NAND_MAX_OOBSIZE value accordingly. Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com> Base directory -> / include/linux/mtd/nand.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit cd7f5e1cdfae1d4cd73cfc16ae6bcddfeb752727 Author: Boris Brezillon <boris.brezillon@free-electrons.com> Date: 2016-06-15 21:09:25 +0200 mtd: nand: Add a full-id entry for the H27QCG8T2E5R‐BCF NAND Add a full-id entry for the H27QCG8T2E5R‐BCF NAND. Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com> Acked-by: Hans de Goede <hdegoede@redhat.com> Base directory -> / drivers/mtd/nand/nand_ids.c | 4 ++++ 1 file changed, 4 insertions(+) ------------------------------------------------------------------------------- commit 32b18435dec8a5d1fbf1eae74b09e28e9dd92b72 Author: Maxime Ripard <maxime.ripard@free-electrons.com> Date: 2016-06-15 21:09:24 +0200 sun5i: Add NAND controller to the sun5i DTSI Add the NAND controller definition to sun5i.dtsi. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com> Base directory -> / arch/arm/dts/sun5i.dtsi | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) ------------------------------------------------------------------------------- commit 4ccae81cdadce39e925f3e8c96567fd911568000 Author: Boris Brezillon <boris.brezillon@free-electrons.com> Date: 2016-06-15 21:09:23 +0200 mtd: nand: Add the sunxi NAND controller driver We already have an SPL driver for the sunxi NAND controller, now add the normal/standard one. The source has been copied from Linux 4.6 with a few changes to make it work in u-boot. Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com> Acked-by: Hans de Goede <hdegoede@redhat.com> Base directory -> / board/sunxi/board.c | 5 +- drivers/mtd/nand/Kconfig | 8 +- drivers/mtd/nand/Makefile | 1 + drivers/mtd/nand/sunxi_nand.c | 1845 ++++++++++++++++++++++++++++++++++++++++ include/configs/sunxi-common.h | 2 + include/fdtdec.h | 1 + include/nand.h | 3 + lib/fdtdec.c | 1 + 8 files changed, 1862 insertions(+), 4 deletions(-) ------------------------------------------------------------------------------- commit 42bd19ce6c7bffef402ad6dd639c33686f485d29 Author: Brian Norris <computersforpeace@gmail.com> Date: 2016-06-15 21:09:22 +0200 mtd: nand: add common DT init code These are already-documented common bindings for NAND chips. Let's handle them in nand_base. If NAND controller drivers need to act on this data before bringing up the NAND chip (e.g., fill out ECC callback functions, change HW modes, etc.), then they can do so between calling nand_scan_ident() and nand_scan_tail(). The original commit has been slightly reworked to use the fdtdec_xxx() helpers (instead of the of_xxxx() ones). Signed-off-by: Brian Norris <computersforpeace@gmail.com> Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com> Acked-by: Hans de Goede <hdegoede@redhat.com> Base directory -> / drivers/mtd/nand/nand_base.c | 70 ++++++++++++++++++++++++++++++++++++++++++++ include/linux/mtd/nand.h | 3 ++ 2 files changed, 73 insertions(+) ------------------------------------------------------------------------------- commit 8df375b445c506f61722e20379ce645ce133e5de Author: Boris Brezillon <boris.brezillon@free-electrons.com> Date: 2016-06-15 21:09:21 +0200 sunxi: Add missing macros to configure the NAND controller clk We need some macros to manipulate the NAND controller clock. Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com> Acked-by: Hans de Goede <hdegoede@redhat.com> Base directory -> / arch/arm/include/asm/arch-sunxi/clock_sun4i.h | 5 +++++ 1 file changed, 5 insertions(+) ------------------------------------------------------------------------------- commit 2dc3c483a9f7c8215b4523183dc74e8692253404 Author: Boris Brezillon <boris.brezillon@free-electrons.com> Date: 2016-06-15 10:42:18 +0200 cmd, nand: add an option to disable the verification when writing in raw mode Modern NANDs do not guarantee that data written in raw mode will not contain bitflips just after writing them. This is fine since the number of bitflips should be rather low and thus fixable by the ECC engine, but since we are reading data in raw mode to verify if they match the input data we cannot prevent failures if some bits are flipped. The option of using standard mode to verify the data is not acceptable either, since one of the usage of raw mode is to allow flashing images that do not respect the standard NAND page layout or the default ECC config (this is the case on Allwinner platforms, where the ROM code tests several hardcoded configs, which are not necessarily matching the NAND characteristics). Add an extension to the nand write.raw command allowing one to disable the verification step. Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / cmd/nand.c | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) ------------------------------------------------------------------------------- commit 29d63a59eaf1c9f3b37e249cda2a97e5e4f183f8 Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-07-22 20:20:11 +0900 ARM: uniphier: add clock/reset settings for xHCI of ProXstream2 Deassert resets and enable clock signals of xHCI blocks if the corresponding CONFIG is enabled. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Base directory -> / arch/arm/mach-uniphier/clk/clk-pxs2.c | 7 ++++++- arch/arm/mach-uniphier/sc-regs.h | 8 +++++++- 2 files changed, 13 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit be44a4679feed5a416cdce9b06514473ff82ce95 Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-07-22 13:38:33 +0900 ARM: uniphier: add PH1-LD21 board data This has the same silicon die as PH1-LD20, but includes DRAM chips in its package. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Base directory -> / arch/arm/mach-uniphier/boards.c | 17 +++++++++++++++++ arch/arm/mach-uniphier/init.h | 2 ++ 2 files changed, 19 insertions(+) ------------------------------------------------------------------------------- commit a74c28a0f2a6bfdc75d0547b804dc578844e49b1 Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-07-22 13:38:32 +0900 ARM: uniphier: introduce flags to uniphier_board_data structure I need to add more board attributes, so the "flags" member will be handier than separate boolean ones. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Base directory -> / arch/arm/mach-uniphier/boards.c | 7 ++++--- arch/arm/mach-uniphier/dram/umc-ld4.c | 6 ++++-- arch/arm/mach-uniphier/dram/umc-pro4.c | 6 ++++-- arch/arm/mach-uniphier/dram/umc-sld8.c | 6 ++++-- arch/arm/mach-uniphier/init.h | 6 ++++-- 5 files changed, 20 insertions(+), 11 deletions(-) ------------------------------------------------------------------------------- commit 4bab70a77d062582db89946b3e3a75f6e27a92ee Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-07-22 13:38:31 +0900 ARM: uniphier: rename outer-cache register macros Sync register macros with Linux code. This will be helpful to develop the counterpart of Linux. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Base directory -> / arch/arm/mach-uniphier/arm32/Makefile | 2 +- arch/arm/mach-uniphier/arm32/cache-uniphier.c | 165 ++++++++++++++++++++++ arch/arm/mach-uniphier/arm32/cache_uniphier.c | 156 -------------------- arch/arm/mach-uniphier/arm32/late_lowlevel_init.S | 4 +- arch/arm/mach-uniphier/arm32/lowlevel_init.S | 18 +-- arch/arm/mach-uniphier/arm32/ssc-regs.h | 101 ++++++------- 6 files changed, 230 insertions(+), 216 deletions(-) ------------------------------------------------------------------------------- commit ebab100a988e62a27ccde0372487daeeb8cb3050 Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-07-22 13:38:30 +0900 ARM: uniphier: clear notification flag before L2 operation Clear the flag immediately before cache operation to not depend on the previous state. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Base directory -> / arch/arm/mach-uniphier/arm32/cache_uniphier.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) ------------------------------------------------------------------------------- commit 4e3d84066e09c9ab6cee2102db7a2c51090962a4 Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-07-19 21:56:13 +0900 ARM: uniphier: use (devm_)ioremap() instead of map_sysmem() This does not have much impact on behavior, but makes code look more more like Linux. The use of devm_ioremap() often helps to delete .remove callbacks entirely. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Base directory -> / arch/arm/mach-uniphier/arm64/arm-cci500.c | 9 ++++----- arch/arm/mach-uniphier/arm64/smp_kick_cpus.c | 9 ++++----- arch/arm/mach-uniphier/arm64/timer.c | 9 ++++----- arch/arm/mach-uniphier/dram/cmd_ddrphy.c | 13 +++++++------ drivers/clk/uniphier/clk-uniphier-core.c | 15 +++------------ drivers/clk/uniphier/clk-uniphier-mio.c | 4 ++-- drivers/clk/uniphier/clk-uniphier.h | 4 ++-- drivers/gpio/gpio-uniphier.c | 16 +++------------- drivers/i2c/i2c-uniphier-f.c | 17 ++++------------- drivers/i2c/i2c-uniphier.c | 17 ++++------------- drivers/mmc/uniphier-sd.c | 7 +++---- drivers/pinctrl/uniphier/pinctrl-uniphier-core.c | 16 +++------------- drivers/pinctrl/uniphier/pinctrl-uniphier-ld11.c | 1 - drivers/pinctrl/uniphier/pinctrl-uniphier-ld20.c | 1 - drivers/pinctrl/uniphier/pinctrl-uniphier-ld4.c | 4 ++-- drivers/pinctrl/uniphier/pinctrl-uniphier-ld6b.c | 4 ++-- drivers/pinctrl/uniphier/pinctrl-uniphier-pro4.c | 4 ++-- drivers/pinctrl/uniphier/pinctrl-uniphier-pro5.c | 4 ++-- drivers/pinctrl/uniphier/pinctrl-uniphier-pxs2.c | 4 ++-- drivers/pinctrl/uniphier/pinctrl-uniphier-sld8.c | 4 ++-- drivers/pinctrl/uniphier/pinctrl-uniphier.h | 5 ++--- drivers/serial/serial_uniphier.c | 15 ++++----------- 22 files changed, 61 insertions(+), 121 deletions(-) ------------------------------------------------------------------------------- commit 72a64348ef937daaca0553e9d8d75b5774555e57 Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-07-19 11:36:53 +0900 ARM: uniphier: fix doubled tftpboot commands This downloads the same file twice for nothing. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Base directory -> / include/configs/uniphier.h | 1 - 1 file changed, 1 deletion(-) ------------------------------------------------------------------------------- commit b7c4d25d26ed021f8c167e0f2ef08d6ab5798f32 Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-07-17 01:38:21 +0900 ARM: uniphier: select CONFIG_ARMV8_SPIN_TABLE This is needed when booting Linux without ARM Trusted Firmware. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Base directory -> / arch/arm/mach-uniphier/Kconfig | 1 + 1 file changed, 1 insertion(+) ------------------------------------------------------------------------------- commit fe8dc1fac70ce9a5672923957c116686c0929433 Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-07-06 19:24:09 +0900 ARM: dts: uniphier: renumber serial aliases for Gentil/Vodka boards On these two boards, the serial0 is used for inter-chip connection, so cannot be used for login console. The serial2 is used instead for them, but it is tedious to use because upper level deployment projects must switch login console per board. [ Linux commit: 2a4a2aadbaad9dffdb564a2895348f3d8e825416 ] Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Olof Johansson <olof@lixom.net> Base directory -> / arch/arm/dts/uniphier-proxstream2-gentil.dts | 8 ++++---- arch/arm/dts/uniphier-proxstream2-vodka.dts | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) ------------------------------------------------------------------------------- commit 04a4786c7c3907a8e0cf271c02a437858a3ea96d Author: Michal Simek <michal.simek@xilinx.com> Date: 2016-07-18 08:49:08 +0200 test/py: vboot can be run only at Sandbox Getting this error: Zynq> sb load hostfs - 100 /home/monstr/data/disk/u-boot/build-zynq_zc706/test.fit Unknown command 'sb' - try 'help' because sb command is present only for Sandbox obj-$(CONFIG_SANDBOX) += host.o that's why mark this test to be run only at Sandbox Signed-off-by: Michal Simek <michal.simek@xilinx.com> Acked-by: Simon Glass <sjg@chromium.org> Base directory -> / test/py/tests/test_vboot.py | 1 + 1 file changed, 1 insertion(+) ------------------------------------------------------------------------------- commit 38d592fc33803892298df2d7c60aaab52a55d8fa Author: Andreas Dannenberg <dannenberg@ti.com> Date: 2016-07-20 13:55:59 -0500 arm: omap5: fix build dependency for secure devices Commit 17c2987 introduces an undesired dependency on CONFIG_SPL_LOAD_FIT when building U-Boot for AM57xx and DRA7xx high-security (HS) devices that causes the build to break when that option is not active. Fix this issue by only building the u-boot_HS.img target when building U-Boot into an actual FIT image. Signed-off-by: Andreas Dannenberg <dannenberg@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / arch/arm/cpu/armv7/omap5/config.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 8b76d23ebdc915faf155aafcb2a221b4923ba18a Author: Andreas Dannenberg <dannenberg@ti.com> Date: 2016-07-20 13:55:58 -0500 arm: am4x: fix build dependency for secure devices Commit e29878f introduces an undesired dependency on CONFIG_SPL_LOAD_FIT when building U-Boot for AM43xx high-security (HS) devices that causes the build to break when that option is not active. Fix this issue by only building the u-boot_HS.img target when building U-Boot into an actual FIT image. Signed-off-by: Andreas Dannenberg <dannenberg@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / arch/arm/cpu/armv7/am33xx/config.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 90211f772b674d463f6622fb9982329cf4d6ec37 Author: yeongjun Kim <iam.yeongjunkim@gmail.com> Date: 2016-07-20 22:56:12 +0900 fixing typo error in README file. CPU15 -> CP15 It looks typo error. Not CPU15, CP15(CoProcessor15) Signed-off-by: yeongjun Kim <iam.yeongjunkim@gmail.com> Base directory -> / README | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 3cc1f380e518999e68fa64d200d19063f31cb023 Author: Lokesh Vutla <lokeshvutla@ti.com> Date: 2016-07-19 14:56:14 +0530 spl: fit: Fix the number of bytes read in raw mode In raw mode a full sector is to be read even if image covers part of a sector. Number of sectors are calculated as ROUND_UP(size)/sec_size by FIT framework. This calculation assumes that image is at the 0th offset of a sector, which is not true always in FIT case. So, include the image offset while calculating number of sectors. Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / common/spl/spl_fit.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 2b9ec762c4fb5c0f933f5b3380ef9f5c353d0eef Author: mario.six@gdsys.cc <mario.six@gdsys.cc> Date: 2016-07-19 11:07:07 +0200 rsa: Fix return value and masked error When signing images, we repeatedly call fit_add_file_data() with successively increasing size values to include the keys in the DTB. Unfortunately, if large keys are used (such as 4096 bit RSA keys), this process fails sometimes, and mkimage needs to be called repeatedly to integrate the keys into the DTB. This is because fit_add_file_data actually returns the wrong error code, and the loop terminates prematurely, instead of trying again with a larger size value. This patch corrects the return value by fixing the return value of fdt_add_bignum, fixes a case where an error is masked by a unconditional setting of a return value variable, and also removes a error message, which is misleading, since we actually allow the function to fail. A (hopefully helpful) comment is also added to explain the lack of error message. This is probably related to 1152a05 ("tools: Correct error handling in fit_image_process_hash()") and the corresponding error reported here: https://www.mail-archive.com/u-boot@lists.denx.de/msg217417.html Signed-off-by: Mario Six <mario.six@gdsys.cc> Base directory -> / lib/rsa/rsa-sign.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) ------------------------------------------------------------------------------- commit c236ebd2fa04e872bb248c363e558961e1d138f0 Author: mario.six@gdsys.cc <mario.six@gdsys.cc> Date: 2016-07-19 11:07:06 +0200 tools: Fix return code of fit_image_process_sig() When signing images, we repeatedly call fit_add_file_data() with successively increasing size values to include the keys in the DTB. Unfortunately, if large keys are used (such as 4096 bit RSA keys), this process fails sometimes, and mkimage needs to be called repeatedly to integrate the keys into the DTB. This is because fit_add_file_data actually returns the wrong error code, and the loop terminates prematurely, instead of trying again with a larger size value. This patch corrects the return value and also removes a error message, which is misleading, since we actually allow the function to fail. A (hopefully helpful) comment is also added to explain the lack of error message. This is probably related to 1152a05 ("tools: Correct error handling in fit_image_process_hash()") and the corresponding error reported here: https://www.mail-archive.com/u-boot@lists.denx.de/msg217417.html Signed-off-by: Mario Six <mario.six@gdsys.cc> Base directory -> / tools/image-host.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) ------------------------------------------------------------------------------- commit c9ba60c4385bfbc10dc452a8f79c6db04bf18161 Author: Stephen Warren <swarren@nvidia.com> Date: 2016-07-18 10:07:25 -0600 test/py: use absolute dts path in vboot test Without this, the test fails if the test is run with a cwd other than the root of the U-Boot source tree. Fixes: 8729d582595d ("test: Convert the vboot test to test/py") Signed-off-by: Stephen Warren <swarren@nvidia.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / test/py/tests/test_vboot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit b8cb51d0de9457c270e63e876712213c5cbbf5dc Author: Jeremy Hunt <Jeremy.Hunt@DEShawResearch.com> Date: 2016-07-18 12:01:02 -0400 armv8: spl: Call board_init_r from crt0_64 in SPL As part of the startup process for boards using the SPL, the meaning of board_init_f changed such that it should return normally rather than calling board_init_r directly. (see db910353a126d84fe8dff7a694ea792f50fcfb6a ) This was fixed in 32-bit arm, but broke when SPL was added to 64 bit arm. This fixes crt0_64 so that it calls board_init_r during the SPL and removes the direct call from board_init_f from the arm SPL example. Signed-off-by: Jeremy Hunt <Jeremy.Hunt@DEShawResearch.com> Acked-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/arm/lib/crt0_64.S | 3 +-- arch/arm/lib/spl.c | 24 +++++++++++------------- 2 files changed, 12 insertions(+), 15 deletions(-) ------------------------------------------------------------------------------- commit c933ed94bc866606f2edae8b4a914880e7e1f501 Author: Andreas Färber <afaerber@suse.de> Date: 2016-07-17 06:57:11 +0200 efi_loader: Add debug output for efi_add_memory_map() Tracing the arguments has been helpful for pinpointing overflows. Cc: Alexander Graf <agraf@suse.de> Signed-off-by: Andreas Färber <afaerber@suse.de> Reviewed-by: Alexander Graf <agraf@suse.de> Base directory -> / lib/efi_loader/efi_memory.c | 3 +++ 1 file changed, 3 insertions(+) ------------------------------------------------------------------------------- commit c5c41c45b1025aa951c794bb8add9c7c806496ee Author: Andreas Fenkart <andreas.fenkart@digitalstrom.com> Date: 2016-07-16 17:06:15 +0200 tools/env: reuse fw_getenv in fw_printenv function Try to avoid adhoc iteration of the environment. Reuse fw_getenv to find the variables that should be printed. Only use open-coded iteration when printing all variables. For backwards compatibility, keep emitting a newline when printing with value_only. Signed-off-by: Andreas Fenkart <andreas.fenkart@digitalstrom.com> Base directory -> / tools/env/fw_env.c | 44 +++++++++++++++++--------------------------- 1 file changed, 17 insertions(+), 27 deletions(-) ------------------------------------------------------------------------------- commit 1b7427cd2ab6aae150559ee2edc8965fda113fdf Author: Andreas Fenkart <andreas.fenkart@digitalstrom.com> Date: 2016-07-16 17:06:14 +0200 tools/env: move envmatch further up in file to avoid forward declarations forward declaration not needed when re-ordered Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andreas Fenkart <andreas.fenkart@digitalstrom.com> Base directory -> / tools/env/fw_env.c | 38 ++++++++++++++++++-------------------- 1 file changed, 18 insertions(+), 20 deletions(-) ------------------------------------------------------------------------------- commit fd4e3280e50983aa4d646f2c8fc93b38cc1dddf9 Author: Andreas Fenkart <andreas.fenkart@digitalstrom.com> Date: 2016-07-16 17:06:13 +0200 tools/env: kernel-doc for fw_printenv, fw_getenv and fw_parse_script there are two groups of functions: - application ready tools: fw_setenv/fw_getenv/fw_parse_script these are used, when creating a single binary containing multiple tools (busybox like) - file access like: open/read/write/close above functions are implemented on top of these. applications can use those to modify several variables without creating a temporary batch script file tested with "./scripts/kernel-doc -html -v tools/env/fw_env.h" Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andreas Fenkart <andreas.fenkart@digitalstrom.com> Base directory -> / tools/env/fw_env.c | 2 +- tools/env/fw_env.h | 115 ++++++++++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 115 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit 473c0abe6290aaf1471ce8129a67e3c2fbfc2597 Author: Tom Rini <trini@konsulko.com> Date: 2016-07-15 15:51:40 -0400 gdsys: Drop print_fpga_state function On most platforms the print_fpga_state function is never called. Only on dlvision-10g do we, so in that case inline it. Drop it from everywhere else to avoid extra strings. Signed-off-by: Tom Rini <trini@konsulko.com> Acked-by: Reinhard Pfau <reinhard.pfau@gdsys.cc> Acked-by: Dirk Eibach <dirk.eibach@gdsys.cc> Base directory -> / board/gdsys/405ep/405ep.c | 8 -------- board/gdsys/405ep/dlvision-10g.c | 5 ++++- board/gdsys/405ex/405ex.c | 8 -------- board/gdsys/mpc8308/mpc8308.c | 8 -------- include/gdsys_fpga.h | 1 - 5 files changed, 4 insertions(+), 26 deletions(-) ------------------------------------------------------------------------------- commit f4742ca0fb94e531b8dcddd1ac0799ee4c9c2605 Author: Stefan Agner <stefan.agner@toradex.com> Date: 2016-07-13 17:14:38 -0700 tools/env: allow negative offsets A negative value for the offset is treated as a backwards offset for from the end of the device/partition for block devices. This aligns the behavior of the config file with the syntax of CONFIG_ENV_OFFSET where the functionality has been introduced with commit 5c088ee841f9 ("env_mmc: allow negative CONFIG_ENV_OFFSET"). Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Base directory -> / tools/env/fw_env.c | 39 ++++++++++++++++++++++++++++++--------- tools/env/fw_env.config | 5 +++++ 2 files changed, 35 insertions(+), 9 deletions(-) ------------------------------------------------------------------------------- commit 14fb5b252ac21c81e24fa734c3f66e9d6c3a0932 Author: Stefan Agner <stefan.agner@toradex.com> Date: 2016-07-13 17:14:37 -0700 tools/env: complete environment device config early Currently flash_read completes a crucial part of the environment device configuration, the device type (mtd_type). This is rather confusing as flash_io calls flash_read conditionally, and one might think flash_write, which also makes use of mtd_type, gets called before flash_read. But since flash_io is always called with O_RDONLY first, this is not actually the case in reality. However, it is much cleaner to complete and verify the config early in parse_config. This also prepares the code for further extension. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Reviewed-by: Andreas Fenkart Base directory -> / tools/env/fw_env.c | 110 +++++++++++++++++++++++++++++------------------------ 1 file changed, 60 insertions(+), 50 deletions(-) ------------------------------------------------------------------------------- commit 28f0014bde9993354223ed250df22ba97d381565 Author: Alexander Graf <agraf@suse.de> Date: 2016-07-21 01:31:56 +0200 iso: Fix part info command Partitions on the iso el torito partition table interpreter only start from partition 1. So when printing out the tables, let's also start counting at 1. Signed-off-by: Alexander Graf <agraf@suse.de> Base directory -> / disk/part_iso.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit fe9f6289e1a50d691ad591fa4224b8a3aa250848 Author: Ladislav Michl <ladis@linux-mips.org> Date: 2016-07-12 20:28:34 +0200 igep00x0: Falcon mode Implement spl_start_uboot to let Falcon mode work. Signed-off-by: Ladislav Michl <ladis@linux-mips.org> Reviewed-by: Heiko Schocher <hs@denx.de> Acked-by: Enric Balletbo i Serra <enric.balletbo@collabora.com> Base directory -> / board/isee/igep00x0/igep00x0.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) ------------------------------------------------------------------------------- commit a5debaa3920ca1f50896a2cfc25597f4aaca7bf6 Author: Ladislav Michl <ladis@linux-mips.org> Date: 2016-07-12 20:28:33 +0200 igep00x0: generate default mtdparts according NAND chip used Signed-off-by: Ladislav Michl <ladis@linux-mips.org> Base directory -> / board/isee/igep00x0/igep00x0.c | 18 ++++++++++++++++++ include/configs/omap3_igep00x0.h | 1 + 2 files changed, 19 insertions(+) ------------------------------------------------------------------------------- commit 4b9dc7c26b5a7e20c9be697f1ba3bb4ba995c643 Author: Ladislav Michl <ladis@linux-mips.org> Date: 2016-07-12 20:28:32 +0200 igep00x0: UBIize Convert IGEP board to use UBI volumes for U-Boot, its environment and kernel. With exception of first four sectors read by SoC boot ROM whole (One)NAND is UBI managed. Also merge NAND and OneNAND defconfigs as now one binary can serve both flashes. As code is too big now, drop CONFIG_SPL_EXT_SUPPORT to make it fit. Signed-off-by: Ladislav Michl <ladis@linux-mips.org> Reviewed-by: Heiko Schocher <hs@denx.de> Base directory -> / configs/igep0020_defconfig | 4 +- configs/igep0020_nand_defconfig | 27 ------------- include/configs/omap3_igep00x0.h | 85 ++++++++++++++++++---------------------- 3 files changed, 41 insertions(+), 75 deletions(-) ------------------------------------------------------------------------------- commit 97ee70606cae6cc7cc300b20ffb5da3c4b547374 Author: Ladislav Michl <ladis@linux-mips.org> Date: 2016-07-12 20:28:31 +0200 igep00x0: runtime flash detection Signed-off-by: Ladislav Michl <ladis@linux-mips.org> Base directory -> / board/isee/igep00x0/igep00x0.c | 71 +++++++++++++++++++++++++++++++----------- 1 file changed, 53 insertions(+), 18 deletions(-) ------------------------------------------------------------------------------- commit c2d47fa6661c8e51acfd0619603194585fcb5689 Author: Ladislav Michl <ladis@linux-mips.org> Date: 2016-07-12 20:28:30 +0200 igep00x0: remove unused empty function omap_rev_string() Signed-off-by: Ladislav Michl <ladis@linux-mips.org> Base directory -> / board/isee/igep00x0/igep00x0.c | 8 -------- 1 file changed, 8 deletions(-) ------------------------------------------------------------------------------- commit cccdb1965b80c1068fff7d2978f668caa76119df Author: Ladislav Michl <ladis@linux-mips.org> Date: 2016-07-12 20:28:29 +0200 igep00x0: remove useless setup_net_chip declaration Signed-off-by: Ladislav Michl <ladis@linux-mips.org> Base directory -> / board/isee/igep00x0/igep00x0.h | 2 -- 1 file changed, 2 deletions(-) ------------------------------------------------------------------------------- commit b0c47633cc550f2ded597aa80240a2d09619f827 Author: Ladislav Michl <ladis@linux-mips.org> Date: 2016-07-12 20:28:28 +0200 igep00x0: reorder lan9221 code to remove ifdefs Signed-off-by: Ladislav Michl <ladis@linux-mips.org> Base directory -> / board/isee/igep00x0/igep00x0.c | 41 +++++++++++++++++------------------------ 1 file changed, 17 insertions(+), 24 deletions(-) ------------------------------------------------------------------------------- commit b7e042d6af8263d03a8770cda999eed308192def Author: Ladislav Michl <ladis@linux-mips.org> Date: 2016-07-12 20:28:27 +0200 igep00x0: move sysinfo into C file Signed-off-by: Ladislav Michl <ladis@linux-mips.org> Base directory -> / board/isee/igep00x0/igep00x0.c | 18 ++++++++++++++++++ board/isee/igep00x0/igep00x0.h | 18 ------------------ 2 files changed, 18 insertions(+), 18 deletions(-) ------------------------------------------------------------------------------- commit af32443656b64a9cbe5a2cdd9389225773b8e4d9 Author: Ladislav Michl <ladis@linux-mips.org> Date: 2016-07-12 20:28:26 +0200 cmd: mtdparts: support runtime generated mtdparts Some CPUs contains boot ROM code capable reading first few blocks (where SPL resides) of NAND flash and executing it. It is wise to create separate partition here for SPL. As block size depends on NAND chip used, we could either use worst case (biggest) partition size or base its size on actual block size. This patch adds support for the latter option. Signed-off-by: Ladislav Michl <ladis@linux-mips.org> Base directory -> / cmd/mtdparts.c | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) ------------------------------------------------------------------------------- commit f8f744a3e8515cae50adefd861e34dab59f9ae6f Author: Ladislav Michl <ladis@linux-mips.org> Date: 2016-07-12 20:28:25 +0200 cmd: mtdparts: use defaults by default Boards which are defining default mtdparts often need them early in boot process (to load environment from UBI volume, for example). This is currently solved by adding mtdparts and mtdids variable definitions also to default environment. With this change, default partitions are used by default unless explicitely deleted or redefined. Signed-off-by: Ladislav Michl <ladis@linux-mips.org> Base directory -> / cmd/mtdparts.c | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) ------------------------------------------------------------------------------- commit 1c2a262a9d6132e52108a1b6bd36499ee1f06377 Author: Ladislav Michl <ladis@linux-mips.org> Date: 2016-07-12 20:28:24 +0200 cmd: mtdparts: consolidate mtdparts reading from env Signed-off-by: Ladislav Michl <ladis@linux-mips.org> Base directory -> / cmd/mtdparts.c | 42 ++++++++++++++++++++---------------------- 1 file changed, 20 insertions(+), 22 deletions(-) ------------------------------------------------------------------------------- commit 06a040a31bcfc2673ab0670ee95fb9b078c4fdda Author: Ladislav Michl <ladis@linux-mips.org> Date: 2016-07-12 20:28:23 +0200 cmd: mtdparts: fix null pointer dereference in parse_mtdparts In case there is no mtdparts variable in relocated environment, NULL is assigned to p, which is later fed to strncpy. Also function parameter mtdparts is completely ignored, so use it in case mtdparts variable is not found in environment. This parameter is checked not to be NULL in caller. Signed-off-by: Ladislav Michl <ladis@linux-mips.org> Base directory -> / cmd/mtdparts.c | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) ------------------------------------------------------------------------------- commit c0ac3339475d3b6afc0cd901f20dd21d5fade17d Author: Ladislav Michl <ladis@linux-mips.org> Date: 2016-07-12 20:28:22 +0200 cmd: mtdparts: fix mtdparts variable presence confusion in mtdparts_init A private buffer is used to read mtdparts variable from non-relocated environment. A pointer to that buffer is returned unconditionally, confusing later test for variable presence in the environment. Fix it by returning NULL when getenv_f fails. Signed-off-by: Ladislav Michl <ladis@linux-mips.org> Base directory -> / cmd/mtdparts.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) ------------------------------------------------------------------------------- commit 52486927e7f0c9ea2c5af32cc21496c908cae661 Author: Ladislav Michl <ladis@linux-mips.org> Date: 2016-07-12 20:28:21 +0200 mtd: OneNAND: initialize mtd->writebufsize to let UBI work io_init checks this value and fails with "bad write buffer size 0 for 2048 min. I/O unit" Signed-off-by: Ladislav Michl <ladis@linux-mips.org> Base directory -> / drivers/mtd/onenand/onenand_base.c | 1 + 1 file changed, 1 insertion(+) ------------------------------------------------------------------------------- commit 77b93e5e9b28328f76556e0c0b94889df47077d7 Author: Ladislav Michl <ladis@linux-mips.org> Date: 2016-07-12 20:28:20 +0200 mtd: OneNAND: allow board init function fail Signed-off-by: Ladislav Michl <ladis@linux-mips.org> Base directory -> / board/micronas/vct/ebi_onenand.c | 4 +++- board/samsung/goni/onenand.c | 4 +++- board/samsung/smdkc100/onenand.c | 4 +++- board/samsung/universal_c210/onenand.c | 4 +++- drivers/mtd/onenand/onenand_uboot.c | 30 +++++++++++++++--------------- include/onenand_uboot.h | 2 +- 6 files changed, 28 insertions(+), 20 deletions(-) ------------------------------------------------------------------------------- commit d9098ee55f6cf6f51e2fbed0336957e2b7156225 Author: Ladislav Michl <ladis@linux-mips.org> Date: 2016-07-12 20:28:19 +0200 mtd: OneNAND: add timeout to wait ready loops Add timeout to onenand_wait ready loop as it hangs here indefinitely when chip not present. Once there, do the same for onenand_bbt_wait as well (note: recent Linux driver code does the same) Signed-off-by: Ladislav Michl <ladis@linux-mips.org> Base directory -> / drivers/mtd/onenand/onenand_base.c | 30 +++++++++++++++++++----------- 1 file changed, 19 insertions(+), 11 deletions(-) ------------------------------------------------------------------------------- commit 9a9d3946399e91e0ff6de7e4678a3b242b66af74 Author: Ladislav Michl <ladis@linux-mips.org> Date: 2016-07-12 20:28:18 +0200 armv7: simplify identify_nand_chip Use newly introduced function Signed-off-by: Ladislav Michl <ladis@linux-mips.org> Base directory -> / arch/arm/cpu/armv7/omap3/spl_id_nand.c | 35 +++++++++++----------------------- 1 file changed, 11 insertions(+), 24 deletions(-) ------------------------------------------------------------------------------- commit 22d6ac490e7509cea6d2293ff9741a990364120b Author: Ladislav Michl <ladis@linux-mips.org> Date: 2016-07-12 20:28:17 +0200 armv7: armv7: introduce set_gpmc_cs0 Allow boards to runtime detect flash type. Signed-off-by: Ladislav Michl <ladis@linux-mips.org> Base directory -> / arch/arm/cpu/armv7/omap-common/mem-common.c | 148 +++++++++++++++++----------- arch/arm/include/asm/arch-omap3/sys_proto.h | 1 + include/linux/mtd/omap_gpmc.h | 1 + 3 files changed, 92 insertions(+), 58 deletions(-) ------------------------------------------------------------------------------- commit 0568dd0663429b00fb77c452e27434c2f4faa14b Author: Ladislav Michl <ladis@linux-mips.org> Date: 2016-07-12 20:28:16 +0200 armv7: make gpmc_cfg const Signed-off-by: Ladislav Michl <ladis@linux-mips.org> [trini: Adapt am33xx, duovero, omap_zoom1] Signed-off-by: Tom Rini <trini@konsulko.com> Signed-off-by: Tom Rini <trini@konsulko.com> Base directory -> / arch/arm/cpu/armv7/omap-common/mem-common.c | 8 +++----- arch/arm/include/asm/arch-am33xx/sys_proto.h | 3 +-- arch/arm/include/asm/arch-omap3/sys_proto.h | 4 ++-- board/gumstix/duovero/duovero.c | 2 +- board/logicpd/zoom1/zoom1.c | 9 +++++---- drivers/mtd/nand/omap_gpmc.c | 3 ++- include/linux/mtd/omap_gpmc.h | 2 +- 7 files changed, 15 insertions(+), 16 deletions(-) ------------------------------------------------------------------------------- commit b1509e3a4aa55b003e814386dd83972858544e55 Author: Ladislav Michl <ladis@linux-mips.org> Date: 2016-07-12 20:28:15 +0200 armv7: add reset timeout to identify_nand_chip identify_nand_chip hangs forever in loop when NAND is not present. As IGEPv2 comes either with NAND or OneNAND flash, add reset timeout to let function fail gracefully allowing caller to know NAND is not present. On NAND equipped board, reset succeeds on first read, so 1000 loops seems to be safe timeout. Signed-off-by: Ladislav Michl <ladis@linux-mips.org> Base directory -> / arch/arm/cpu/armv7/omap3/spl_id_nand.c | 32 +++++++++++++---------------- arch/arm/include/asm/arch-omap3/sys_proto.h | 2 +- 2 files changed, 15 insertions(+), 19 deletions(-) ------------------------------------------------------------------------------- commit 431889d6ad9a39846636716478d504aa7ff976fc Author: Ladislav Michl <ladis@linux-mips.org> Date: 2016-07-12 20:28:14 +0200 spl: zImage support in Falcon mode Other payload than uImage is currently considered to be raw U-Boot image. Check also for zImage in Falcon mode. Signed-off-by: Ladislav Michl <ladis@linux-mips.org> Reviewed-by: Heiko Schocher <hs@denx.de> Base directory -> / arch/arm/lib/Makefile | 2 ++ arch/arm/lib/bootm.c | 32 -------------------------------- arch/arm/lib/zimage.c | 40 ++++++++++++++++++++++++++++++++++++++++ common/spl/spl.c | 23 +++++++++++++++++++++++ 4 files changed, 65 insertions(+), 32 deletions(-) ------------------------------------------------------------------------------- commit bf55cd4f3e3bc0ebf92c81bde1921f983e999451 Author: Ladislav Michl <ladis@linux-mips.org> Date: 2016-07-12 20:28:13 +0200 spl: support loading from UBI volumes Add support for loading from UBI volumes on the top of NAND and OneNAND. Signed-off-by: Ladislav Michl <ladis@linux-mips.org> Reviewed-by: Heiko Schocher <hs@denx.de> Base directory -> / common/spl/Makefile | 3 ++ common/spl/spl.c | 6 ++++ common/spl/spl_ubi.c | 78 ++++++++++++++++++++++++++++++++++++++++++++++++++++ include/spl.h | 4 +++ 4 files changed, 91 insertions(+) ------------------------------------------------------------------------------- commit 6f4e7d3c75a81decc20de0218729e9770448ffc0 Author: Thomas Gleixner <tglx@linutronix.de> Date: 2016-07-12 20:28:12 +0200 spl: Lightweight UBI and UBI fastmap support Booting a payload out of NAND FLASH from the SPL is a crux today, as it requires hard partioned FLASH. Not a brilliant idea with the reliability of todays NAND FLASH chips. The upstream UBI + UBI fastmap implementation which is about to brought to u-boot is too heavy weight for SPLs as it provides way more functionality than needed for a SPL and does not even fit into the restricted SPL areas which are loaded from the SoC boot ROM. So this provides a fast and lightweight implementation of UBI scanning and UBI fastmap attach. The scan and logical to physical block mapping code is developed from scratch, while the fastmap implementation is lifted from the linux kernel source and stripped down to fit the SPL needs. The text foot print on the board which I used for development is: 6854 0 0 6854 1abd drivers/mtd/ubispl/built-in.o Attaching a NAND chip with 4096 physical eraseblocks (4 blocks are reserved for the SPL) takes: In full scan mode: 1172ms In fastmap mode: 95ms The code requires quite some storage. The largest and unknown part of it is the number of fastmap blocks to read. Therefor the data structure is not put into the BSS. The code requires a pointer to free memory handed in which is initialized by the UBI attach code itself. See doc/README.ubispl for further information on how to use it. This shares the ubi-media.h and crc32 implementation of drivers/mtd/ubi There is no way to share the fastmap code, as UBISPL only utilizes the slightly modified functions ubi_attach_fastmap() and ubi_scan_fastmap() from the original kernel ubi fastmap implementation. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Ladislav Michl <ladis@linux-mips.org> Acked-by: Heiko Schocher <hs@denx.de> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / README | 4 + doc/README.ubispl | 141 ++++++ drivers/Makefile | 1 + drivers/mtd/ubispl/Makefile | 1 + drivers/mtd/ubispl/ubi-wrapper.h | 106 +++++ drivers/mtd/ubispl/ubispl.c | 926 +++++++++++++++++++++++++++++++++++++++ drivers/mtd/ubispl/ubispl.h | 136 ++++++ include/ubispl.h | 90 ++++ 8 files changed, 1405 insertions(+) ------------------------------------------------------------------------------- commit 735717d18a012a6f34c74dd98cec8f46bac5c51c Author: Ladislav Michl <ladis@linux-mips.org> Date: 2016-07-12 20:28:11 +0200 onenand_spl_simple: Add a simple OneNAND read function Signed-off-by: Ladislav Michl <ladis@linux-mips.org> Base directory -> / drivers/mtd/onenand/onenand_spl.c | 48 +++++++++++++++++++++++++++++++++++++++ include/onenand_uboot.h | 1 + 2 files changed, 49 insertions(+) ------------------------------------------------------------------------------- commit e1a89e9358b8cedd98ad346cccd08e1bca669072 Author: Thomas Gleixner <tglx@linutronix.de> Date: 2016-07-12 20:28:10 +0200 nand_spl_simple: Add a simple NAND read function To support UBI in SPL we need a simple NAND read function. Add one to nand_spl_simple and keep it as simple as it goes. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Ladislav Michl <ladis@linux-mips.org> Acked-by: Scott Wood <oss@buserror.net> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Heiko Schocher <hs@denx.de> Base directory -> / drivers/mtd/nand/nand_spl_simple.c | 62 ++++++++++++++++++++++++++++++++++++++ include/nand.h | 1 + 2 files changed, 63 insertions(+) ------------------------------------------------------------------------------- commit 05fc5ef161779ed1b0b479e8d085026d6994731a Author: Ladislav Michl <ladis@linux-mips.org> Date: 2016-07-12 20:28:09 +0200 mtd: Sort subsystem directories aplhabeticaly in Makefile Signed-off-by: Ladislav Michl <ladis@linux-mips.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Heiko Schocher <hs@denx.de> Base directory -> / drivers/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit d7e28918aa3f4bafc15b16c546826d43fbcbe9f6 Author: mario.six@gdsys.cc <mario.six@gdsys.cc> Date: 2016-06-22 15:14:16 +0200 i2c_eeprom: Add reading support This patch implements the reading functionality for the generic I2C EEPROM driver, which was just a non-functional stub until now. Since the page size will be of importance for the writing support, we add suitable members to the private data structure to keep track of it. Compatibility strings for a range of at24c* chips are added. Signed-off-by: Mario Six <mario.six@gdsys.cc> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de> Base directory -> / drivers/misc/Kconfig | 5 +++++ drivers/misc/i2c_eeprom.c | 39 +++++++++++++++++++++++++++++++-------- include/i2c_eeprom.h | 4 ++++ 3 files changed, 40 insertions(+), 8 deletions(-) ------------------------------------------------------------------------------- commit 9f03247edc7761b608db31104821b4518a70e691 Author: Tom Rini <trini@konsulko.com> Date: 2016-07-22 09:22:26 -0400 Merge branch 'master' of git://www.denx.de/git/u-boot-microblaze Base directory -> / api/api_net.c | 2 +- arch/arm/Kconfig | 2 ++ arch/arm/cpu/armv8/zynqmp/clk.c | 16 -------------- arch/arm/include/asm/arch-zynqmp/clk.h | 1 - arch/arm/lib/spl.c | 2 +- common/Kconfig | 6 +++++ common/spl/spl_fat.c | 3 ++- configs/xilinx_zynqmp_ep_defconfig | 8 ++++--- configs/xilinx_zynqmp_zc1751_xm015_dc1_defconfig | 8 ++++--- configs/xilinx_zynqmp_zc1751_xm016_dc2_defconfig | 8 ++++--- configs/xilinx_zynqmp_zc1751_xm018_dc4_defconfig | 8 ++++--- configs/xilinx_zynqmp_zc1751_xm019_dc5_defconfig | 8 ++++--- configs/xilinx_zynqmp_zcu102_defconfig | 8 ++++--- configs/xilinx_zynqmp_zcu102_revB_defconfig | 8 ++++--- configs/zynq_microzed_defconfig | 7 ++++-- configs/zynq_picozed_defconfig | 7 ++++-- configs/zynq_zc702_defconfig | 5 ++++- configs/zynq_zc706_defconfig | 5 ++++- configs/zynq_zc770_xm010_defconfig | 4 ++-- configs/zynq_zc770_xm011_defconfig | 4 ++-- configs/zynq_zc770_xm012_defconfig | 3 +-- configs/zynq_zc770_xm013_defconfig | 4 ++-- configs/zynq_zed_defconfig | 7 ++++-- configs/zynq_zybo_defconfig | 5 ++++- drivers/clk/clk-uclass.c | 28 +----------------------- drivers/mmc/sdhci.c | 2 +- drivers/serial/serial_zynq.c | 28 +++++++++++++++++++++++- drivers/usb/host/Kconfig | 7 ++++++ include/configs/microblaze-generic.h | 4 ---- include/configs/xilinx_zynqmp_ep.h | 1 + include/configs/zynq-common.h | 5 +---- include/configs/zynq_microzed.h | 19 ---------------- include/configs/zynq_picozed.h | 19 ---------------- include/configs/zynq_zc70x.h | 3 --- include/configs/zynq_zc770.h | 22 ------------------- include/configs/zynq_zed.h | 19 ---------------- include/configs/zynq_zybo.h | 3 --- 37 files changed, 119 insertions(+), 180 deletions(-) ------------------------------------------------------------------------------- commit 766d2609dd7fbad0faa89c7dff26edc108afa890 Author: Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com> Date: 2016-07-19 10:43:43 +0530 zynq: defconfig: Remove unnecessary board specific config files Remove unnecessary board specifc config files for zynq boards(microzed, picozed, ZC770(all), zed) and point to zynq common config file. Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com> Base directory -> / configs/zynq_microzed_defconfig | 2 +- configs/zynq_picozed_defconfig | 2 +- configs/zynq_zc770_xm010_defconfig | 2 +- configs/zynq_zc770_xm011_defconfig | 2 +- configs/zynq_zc770_xm012_defconfig | 2 +- configs/zynq_zc770_xm013_defconfig | 2 +- configs/zynq_zed_defconfig | 2 +- include/configs/zynq_microzed.h | 15 --------------- include/configs/zynq_picozed.h | 15 --------------- include/configs/zynq_zc770.h | 15 --------------- include/configs/zynq_zed.h | 15 --------------- 11 files changed, 7 insertions(+), 67 deletions(-) ------------------------------------------------------------------------------- commit 05f4cc344f6f2eed6f13094a6687e60ce5e881b2 Author: Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com> Date: 2016-07-19 10:43:42 +0530 zynq: config: Enable CONFIG_SYS_NO_FLASH through defconfig Enable config CONFIG_SYS_NO_FLASH through defconfig for all zynq boards. Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com> Base directory -> / configs/zynq_microzed_defconfig | 1 + configs/zynq_picozed_defconfig | 1 + configs/zynq_zc702_defconfig | 1 + configs/zynq_zc706_defconfig | 1 + configs/zynq_zc770_xm010_defconfig | 1 + configs/zynq_zc770_xm011_defconfig | 1 + configs/zynq_zc770_xm013_defconfig | 1 + configs/zynq_zed_defconfig | 1 + configs/zynq_zybo_defconfig | 1 + include/configs/zynq_microzed.h | 2 -- include/configs/zynq_picozed.h | 2 -- include/configs/zynq_zc70x.h | 2 -- include/configs/zynq_zc770.h | 7 ------- include/configs/zynq_zed.h | 2 -- include/configs/zynq_zybo.h | 2 -- 15 files changed, 9 insertions(+), 17 deletions(-) ------------------------------------------------------------------------------- commit 4d25507f3df9b7c06e04b40b6d42f895493c5435 Author: Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com> Date: 2016-07-19 10:42:22 +0530 Kconfig: Move option CONFIG_SYS_NO_FLASH to Kconfig Move config option CONFIG_SYS_NO_FLASH as Kconfig option. All the boards which needs to enable this option can be done through defconfigs Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com> Base directory -> / common/Kconfig | 6 ++++++ 1 file changed, 6 insertions(+) ------------------------------------------------------------------------------- commit 2ae9fbe00f71b8e48a04a13a71a9f6b42b70f158 Author: Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com> Date: 2016-07-22 15:00:26 +0530 usb: zynq: Define config USB_STORAGE through defconfig Define config USB_STORAGE through defconfig for all respective zynq boards Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com> Base directory -> / configs/zynq_microzed_defconfig | 1 + configs/zynq_picozed_defconfig | 1 + configs/zynq_zc702_defconfig | 1 + configs/zynq_zc706_defconfig | 1 + configs/zynq_zed_defconfig | 1 + configs/zynq_zybo_defconfig | 1 + include/configs/zynq-common.h | 1 - 7 files changed, 6 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 2cdc778b62e46439dff84560a2def3032099f129 Author: Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com> Date: 2016-07-22 14:51:51 +0530 usb: Kconfig: Add Kconfigs entry USB_EHCI_ZYNQ Add Kconfig entry config option for USB_EHCI_ZYNQ and update the same to enable for all zynq boards which supports USB Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com> Base directory -> / configs/zynq_microzed_defconfig | 2 ++ configs/zynq_picozed_defconfig | 2 ++ configs/zynq_zc702_defconfig | 2 ++ configs/zynq_zc706_defconfig | 2 ++ configs/zynq_zed_defconfig | 2 ++ configs/zynq_zybo_defconfig | 2 ++ drivers/usb/host/Kconfig | 7 +++++++ include/configs/zynq-common.h | 4 +--- include/configs/zynq_microzed.h | 2 -- include/configs/zynq_picozed.h | 2 -- include/configs/zynq_zc70x.h | 1 - include/configs/zynq_zed.h | 2 -- include/configs/zynq_zybo.h | 1 - 13 files changed, 20 insertions(+), 11 deletions(-) ------------------------------------------------------------------------------- commit 3bac8303e4840f6902a51f9665696ff3939596f4 Author: Alexander Graf <agraf@suse.de> Date: 2016-07-21 01:34:00 +0200 ARM64: zynqmp: Enable AHCI on EP platform The EP platform also has working AHCI emulation, so I see little reason not to implement the plumbing for it that enables us to boot from AHCI. Signed-off-by: Alexander Graf <agraf@suse.de> Signed-off-by: Michal Simek <michal.simek@xilinx.com> Base directory -> / include/configs/xilinx_zynqmp_ep.h | 1 + 1 file changed, 1 insertion(+) ------------------------------------------------------------------------------- commit 91afeb30103aeae3a4c32cc48d07c40a215cbe90 Author: Michal Simek <michal.simek@xilinx.com> Date: 2016-07-21 13:47:52 +0200 microblaze: Remove empty ifdef around caches Code around was removed because of move to Kconfig. Signed-off-by: Michal Simek <michal.simek@xilinx.com> Base directory -> / include/configs/microblaze-generic.h | 4 ---- 1 file changed, 4 deletions(-) ------------------------------------------------------------------------------- commit 9e0758b7ff399d39cc62f24ab1c790485030834f Author: Michal Simek <michal.simek@xilinx.com> Date: 2016-07-14 13:11:37 +0200 dm: clk: Remove simple version of clk_get_by_index/name() Simple version of clk_get_by_index() added by: "dm: clk: Add a simple version of clk_get_by_index()" (sha1: a4b10c088c4f6ef2e2bba33e8cfea369bcbbce44) is only working for #clock-cells=<1> but not for any other values. Fixed clocks is using #clock-cells=<0> which requires full implementation. Remove simplified versions of clk_get_by_index() and use full version. Also remove empty clk_get_by_name() which is failing when it is called which is useless. Signed-off-by: Michal Simek <michal.simek@xilinx.com> Acked-by: Stephen Warren <swarren@nvidia.com> Base directory -> / drivers/clk/clk-uclass.c | 28 +--------------------------- 1 file changed, 1 insertion(+), 27 deletions(-) ------------------------------------------------------------------------------- commit 23ffd36a5295354af2dee22c00b08addd9c8a2ed Author: Michal Simek <michal.simek@xilinx.com> Date: 2016-07-14 14:41:28 +0200 ARM64: zynqmp: Remove get_uart_clk() ZynqMP will use reading clock freq directly from DT. Signed-off-by: Michal Simek <michal.simek@xilinx.com> Base directory -> / arch/arm/cpu/armv8/zynqmp/clk.c | 16 ---------------- arch/arm/include/asm/arch-zynqmp/clk.h | 1 - 2 files changed, 17 deletions(-) ------------------------------------------------------------------------------- commit 59da82ef824ec8ef94c362bef79954f02f3345e1 Author: Michal Simek <michal.simek@xilinx.com> Date: 2016-07-14 14:40:03 +0200 serial: zynq: Read information about clock from DT Read information about clock frequency from DT. Signed-off-by: Michal Simek <michal.simek@xilinx.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Moritz Fischer <moritz.fischer@ettus.com> Base directory -> / drivers/serial/serial_zynq.c | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit f3d1cc2ff387ffe22ccd1bdcb2a998ec46149c6d Author: Michal Simek <michal.simek@xilinx.com> Date: 2016-07-15 08:41:46 +0200 ARM64: zynqmp: Enable SPL for all zynqmp boards Compile SPL for all boards even psu_init.c/h files are not in the tree yet. But this change enables covering SPL issues in mainline. Signed-off-by: Michal Simek <michal.simek@xilinx.com> Base directory -> / configs/xilinx_zynqmp_ep_defconfig | 5 +++++ configs/xilinx_zynqmp_zc1751_xm015_dc1_defconfig | 5 +++++ configs/xilinx_zynqmp_zc1751_xm016_dc2_defconfig | 5 +++++ configs/xilinx_zynqmp_zc1751_xm018_dc4_defconfig | 5 +++++ configs/xilinx_zynqmp_zc1751_xm019_dc5_defconfig | 5 +++++ configs/xilinx_zynqmp_zcu102_defconfig | 5 +++++ configs/xilinx_zynqmp_zcu102_revB_defconfig | 5 +++++ 7 files changed, 35 insertions(+) ------------------------------------------------------------------------------- commit 1f29738ad13ad178185490db0bb17ad71343e251 Author: Michal Simek <michal.simek@xilinx.com> Date: 2016-07-14 15:07:54 +0200 ARM64: zynqmp: Enable CLK and SPL_CLK by default Serial driver starts to use clk framework that's why enable it by default. Signed-off-by: Michal Simek <michal.simek@xilinx.com> Base directory -> / arch/arm/Kconfig | 2 ++ configs/xilinx_zynqmp_ep_defconfig | 2 -- configs/xilinx_zynqmp_zc1751_xm015_dc1_defconfig | 2 -- configs/xilinx_zynqmp_zc1751_xm016_dc2_defconfig | 2 -- configs/xilinx_zynqmp_zc1751_xm018_dc4_defconfig | 2 -- configs/xilinx_zynqmp_zc1751_xm019_dc5_defconfig | 2 -- configs/xilinx_zynqmp_zcu102_defconfig | 2 -- configs/xilinx_zynqmp_zcu102_revB_defconfig | 2 -- 8 files changed, 2 insertions(+), 14 deletions(-) ------------------------------------------------------------------------------- commit 1eefe14f66c982bf7145e9d3b57fafd1f17fe12f Author: Michal Simek <michal.simek@xilinx.com> Date: 2016-04-27 16:07:20 +0200 spl: Fix compilation warnings for arm64 Make code 64bit aware. Warnings: +../arch/arm/lib/spl.c: In function ‘jump_to_image_linux’: +../arch/arm/lib/spl.c:63:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] +../common/spl/spl_fat.c: In function ‘spl_load_image_fat’: +../common/spl/spl_fat.c:91:33: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] Signed-off-by: Michal Simek <michal.simek@xilinx.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/arm/lib/spl.c | 2 +- common/spl/spl_fat.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit 1d405e207bb176c937d44f9a5f87e268022c2416 Author: Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com> Date: 2016-02-25 12:51:50 +0530 mmc: sdhci: Disable internal clock enable bit Disable internal clock by clearing the internal clock enable bit. This bit needs to be cleared too when we stop the SDCLK for changing the frequency divisor. This bit should be set to zero when the device is not using the Host controller. Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com> Base directory -> / drivers/mmc/sdhci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 211815784c0e35a274e13054a7966b21098f8a14 Author: Michal Simek <michal.simek@xilinx.com> Date: 2016-06-06 10:58:40 +0200 api: Disable api_net when DM is used When CONFIG_API is selected with DM_ETH this error is present: api/api_net.c: In function 'dev_enum_net': api/api_net.c:61:35: warning: initialization from incompatible pointer type struct eth_device *eth_current = eth_get_dev(); ^ api/api_net.c:68:39: error: dereferencing pointer to incomplete type memcpy(di->di_net.hwaddr, eth_current->enetaddr, 6); ^ Disable api_net functions when ETH_DM is selected. Signed-off-by: Chris Johns <chrisj@rtems.org> Signed-off-by: Michal Simek <michal.simek@xilinx.com> Base directory -> / api/api_net.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 72d8d5d773b1882508e0db0fa6d516ced170c923 Author: Michal Simek <michal.simek@xilinx.com> Date: 2016-06-21 14:39:11 +0200 ARM: zynq/zynqmp: Use the default CONFIG_BOOTDELAY=2 Based on: "ARM: uniphier: use the default CONFIG_BOOTDELAY=2" (sha1: 7c8ef0feb97586d35b0296b48903daef8c06ab21) "I do not insist on CONFIG_BOOTDELAY=3. The default value in Kconfig, CONFIG_BOOTDELAY=2, is just fine for these boards." Reported-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com> Base directory -> / configs/xilinx_zynqmp_ep_defconfig | 1 - configs/xilinx_zynqmp_zc1751_xm015_dc1_defconfig | 1 - configs/xilinx_zynqmp_zc1751_xm016_dc2_defconfig | 1 - configs/xilinx_zynqmp_zc1751_xm018_dc4_defconfig | 1 - configs/xilinx_zynqmp_zc1751_xm019_dc5_defconfig | 1 - configs/xilinx_zynqmp_zcu102_defconfig | 1 - configs/xilinx_zynqmp_zcu102_revB_defconfig | 1 - configs/zynq_microzed_defconfig | 1 - configs/zynq_picozed_defconfig | 1 - configs/zynq_zc702_defconfig | 1 - configs/zynq_zc706_defconfig | 1 - configs/zynq_zc770_xm010_defconfig | 1 - configs/zynq_zc770_xm011_defconfig | 1 - configs/zynq_zc770_xm012_defconfig | 1 - configs/zynq_zc770_xm013_defconfig | 1 - configs/zynq_zed_defconfig | 1 - configs/zynq_zybo_defconfig | 1 - 17 files changed, 17 deletions(-) ------------------------------------------------------------------------------- commit 89ca873e2ddea859526f25f678fa53dda055e90f Author: Tom Rini <trini@konsulko.com> Date: 2016-07-21 20:20:00 -0400 Merge git://git.denx.de/u-boot-mpc85xx Base directory -> / arch/powerpc/cpu/mpc85xx/cpu_init.c | 4 +- arch/powerpc/cpu/mpc85xx/start.S | 12 ++++-- arch/powerpc/cpu/mpc8xxx/fsl_pamu.c | 8 ++++ arch/powerpc/cpu/mpc8xxx/pamu_table.c | 8 ++++ arch/powerpc/include/asm/fsl_secure_boot.h | 41 ++++++++++++++++++- board/freescale/common/fsl_chain_of_trust.c | 56 ++++++++++++++++++++++++++ board/freescale/t104xrdb/t104x_pbi_sb.cfg | 38 +++++++++++++++++ board/freescale/t104xrdb/tlb.c | 15 ++++++- configs/T1042RDB_PI_NAND_SECURE_BOOT_defconfig | 30 ++++++++++++++ doc/SPL/README.spl-secure-boot | 18 +++++++++ drivers/crypto/fsl/jr.c | 17 ++++++++ drivers/mtd/nand/fsl_ifc_spl.c | 24 +++++++++++ include/configs/B4860QDS.h | 4 +- include/configs/BSC9131RDB.h | 2 +- include/configs/BSC9132QDS.h | 2 +- include/configs/C29XPCIE.h | 2 +- include/configs/MPC8308RDB.h | 3 +- include/configs/MPC8313ERDB.h | 5 ++- include/configs/MPC8315ERDB.h | 5 ++- include/configs/MPC8323ERDB.h | 3 +- include/configs/MPC832XEMDS.h | 3 +- include/configs/MPC8349EMDS.h | 3 +- include/configs/MPC8349ITX.h | 3 +- include/configs/MPC837XEMDS.h | 3 +- include/configs/MPC837XERDB.h | 3 +- include/configs/MPC8536DS.h | 2 +- include/configs/MPC8544DS.h | 4 +- include/configs/MPC8548CDS.h | 2 +- include/configs/MPC8572DS.h | 2 +- include/configs/P1010RDB.h | 2 +- include/configs/P1022DS.h | 2 +- include/configs/P1023RDB.h | 2 +- include/configs/P2041RDB.h | 2 +- include/configs/T102xRDB.h | 2 +- include/configs/T1040QDS.h | 2 +- include/configs/T104xRDB.h | 31 +++++++++++++- include/configs/T208xQDS.h | 2 +- include/configs/T208xRDB.h | 2 +- include/configs/T4240QDS.h | 2 +- include/configs/T4240RDB.h | 2 +- include/configs/controlcenterd.h | 2 +- include/configs/corenet_ds.h | 2 +- include/configs/cyrus.h | 2 +- include/configs/p1_p2_rdb_pc.h | 2 +- include/configs/p1_twr.h | 2 +- include/configs/sbc8548.h | 2 +- include/configs/xpedite1000.h | 2 +- include/configs/xpedite517x.h | 2 +- include/configs/xpedite520x.h | 2 +- include/configs/xpedite537x.h | 2 +- include/configs/xpedite550x.h | 2 +- include/fsl_validate.h | 7 ++++ 52 files changed, 350 insertions(+), 52 deletions(-) ------------------------------------------------------------------------------- commit 9f84da8de1873593d9b708aa4a8a24f46e67c744 Author: Tom Rini <trini@konsulko.com> Date: 2016-07-21 18:54:58 -0400 Merge branch 'master' of git://git.denx.de/u-boot-tegra Base directory -> / arch/arm/cpu/armv8/start.S | 9 + arch/arm/dts/Makefile | 3 +- arch/arm/dts/tegra186-p2771-0000-a02.dts | 8 + arch/arm/dts/tegra186-p2771-0000-b00.dts | 8 + arch/arm/dts/tegra186-p2771-0000.dts | 25 -- arch/arm/dts/tegra186-p2771-0000.dtsi | 23 ++ arch/arm/dts/tegra186.dtsi | 2 +- arch/arm/include/asm/arch-tegra/ivc.h | 179 ++++++++++ arch/arm/mach-tegra/Kconfig | 9 + arch/arm/mach-tegra/Makefile | 13 +- arch/arm/mach-tegra/board186.c | 12 - arch/arm/mach-tegra/ivc.c | 553 +++++++++++++++++++++++++++++ arch/arm/mach-tegra/tegra186/Makefile | 5 +- arch/arm/mach-tegra/tegra186/nvtboot_ll.S | 20 ++ arch/arm/mach-tegra/tegra186/nvtboot_mem.c | 88 +++++ board/nvidia/p2371-2180/p2371-2180.c | 22 ++ board/nvidia/p2571/max77620_init.h | 2 + configs/p2771-0000-a02_defconfig | 31 ++ configs/p2771-0000-b00_defconfig | 31 ++ configs/p2771-0000_defconfig | 31 -- 20 files changed, 995 insertions(+), 79 deletions(-) ------------------------------------------------------------------------------- commit 95d52733036af7438a5285d729d53844ec48c63e Author: Tom Rini <trini@konsulko.com> Date: 2016-07-21 15:38:13 -0400 Revert "stm32: Change USART port to USART6 for stm32f746 discovery board" Per Vikas' request, the problem this commit is supposed to be solving is something he doesn't see and further this introduces additional hardware requirements. This reverts commit 4b2fd720a7b2f78c42d1565edf4c67f378c65440. Signed-off-by: Tom Rini <trini@konsulko.com> Base directory -> / arch/arm/include/asm/arch-stm32f7/stm32_periph.h | 2 -- arch/arm/mach-stm32/stm32f7/clock.c | 3 --- board/st/stm32f746-disco/stm32f746-disco.c | 13 +++++++------ 3 files changed, 7 insertions(+), 11 deletions(-) ------------------------------------------------------------------------------- commit b24a4f6247d867f1301edc1c6390aca79ecbe16b Author: Scott Wood <oss@buserror.net> Date: 2016-07-19 17:52:06 -0500 powerpc/85xx: Increase fdt address Loading the fdt at 0xc00000 fails if the uncompressed kernel image is greater than 12 MiB, which is quite common with modern kernels and multiplatform defconfigs. Move fdtaddr to 0x1e00000 which is just under the ramdiskaddr on most targets. Signed-off-by: Scott Wood <oss@buserror.net> Cc: Peter Tyser <ptyser@xes-inc.com> Cc: Dirk Eibach <eibach@gdsys.de> Cc: Andy Fleming <afleming@gmail.com> Cc: Paul Gortmaker <paul.gortmaker@windriver.com> Acked-by: Paul Gortmaker <paul.gortmaker@windriver.com> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / include/configs/B4860QDS.h | 4 ++-- include/configs/BSC9131RDB.h | 2 +- include/configs/BSC9132QDS.h | 2 +- include/configs/C29XPCIE.h | 2 +- include/configs/MPC8536DS.h | 2 +- include/configs/MPC8544DS.h | 2 +- include/configs/MPC8548CDS.h | 2 +- include/configs/MPC8572DS.h | 2 +- include/configs/P1010RDB.h | 2 +- include/configs/P1022DS.h | 2 +- include/configs/P1023RDB.h | 2 +- include/configs/P2041RDB.h | 2 +- include/configs/T102xRDB.h | 2 +- include/configs/T1040QDS.h | 2 +- include/configs/T104xRDB.h | 2 +- include/configs/T208xQDS.h | 2 +- include/configs/T208xRDB.h | 2 +- include/configs/T4240QDS.h | 2 +- include/configs/T4240RDB.h | 2 +- include/configs/controlcenterd.h | 2 +- include/configs/corenet_ds.h | 2 +- include/configs/cyrus.h | 2 +- include/configs/p1_p2_rdb_pc.h | 2 +- include/configs/p1_twr.h | 2 +- include/configs/sbc8548.h | 2 +- include/configs/xpedite1000.h | 2 +- include/configs/xpedite517x.h | 2 +- include/configs/xpedite520x.h | 2 +- include/configs/xpedite537x.h | 2 +- include/configs/xpedite550x.h | 2 +- 30 files changed, 31 insertions(+), 31 deletions(-) ------------------------------------------------------------------------------- commit ebfc066e6f755da373d503608249f77ac298fb5e Author: Sumit Garg <sumit.garg@nxp.com> Date: 2016-07-14 12:27:53 -0400 doc: SPL: Add README for secure boot support Adds information regarding SPL handling validation process of main u-boot image on power/mpc85xx and arm/layerscape platforms. Signed-off-by: Sumit Garg <sumit.garg@nxp.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / doc/SPL/README.spl-secure-boot | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) ------------------------------------------------------------------------------- commit aa36c84edfcfd8c7d0348511e7b0fbb43514cd35 Author: Sumit Garg <sumit.garg@nxp.com> Date: 2016-07-14 12:27:52 -0400 powerpc/mpc85xx: T104x: Add nand secure boot target For mpc85xx SoCs, the core begins execution from address 0xFFFFFFFC. In non-secure boot scenario from NAND, this address will map to CPC configured as SRAM. But in case of secure boot, this default address always maps to IBR (Internal Boot ROM). The IBR code requires that the bootloader(U-boot) must lie in 0 to 3.5G address space i.e. 0x0 - 0xDFFFFFFF. For secure boot target from NAND, the text base for SPL is kept same as non-secure boot target i.e. 0xFFFx_xxxx but the SPL U-boot binary will be copied to CPC configured as SRAM with address in 0-3.5G(0xBFFC_0000) As a the virtual and physical address of CPC would be different. The virtual address 0xFFFx_xxxx needs to be mapped to physical address 0xBFFx_xxxx. Create a new PBI file to configure CPC as SRAM with address 0xBFFC0000 and update DCFG SCRTACH1 register with location of Header required for secure boot. The changes are similar to commit 467a40dfe35f48d830f01a72617207d03ca85b4d powerpc/mpc85xx: SECURE BOOT- NAND secure boot target for P3041 While P3041 has a 1MB CPC and does not require SPL. On T104x, CPC is only 256K and thus SPL framework is used. The changes are only applicable for SPL U-Boot running out of CPC SRAM and not the next level U-Boot loaded on DDR. Reviewed-by: Ruchika Gupta <ruchika.gupta@nxp.com> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Aneesh Bansal <aneesh.bansal@nxp.com> Signed-off-by: Sumit Garg <sumit.garg@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / arch/powerpc/cpu/mpc85xx/cpu_init.c | 4 +-- arch/powerpc/cpu/mpc85xx/start.S | 12 ++++++-- arch/powerpc/include/asm/fsl_secure_boot.h | 10 ++++++- board/freescale/t104xrdb/t104x_pbi_sb.cfg | 38 ++++++++++++++++++++++++++ board/freescale/t104xrdb/tlb.c | 15 +++++++++- configs/T1042RDB_PI_NAND_SECURE_BOOT_defconfig | 30 ++++++++++++++++++++ include/configs/T104xRDB.h | 29 +++++++++++++++++++- 7 files changed, 130 insertions(+), 8 deletions(-) ------------------------------------------------------------------------------- commit 8f01397ba76d1ee210bedbf031d807e8df34c482 Author: Sumit Garg <sumit.garg@nxp.com> Date: 2016-07-14 12:27:51 -0400 powerpc/mpc85xx: SECURE BOOT- Enable chain of trust in SPL As part of Chain of Trust for Secure boot, the SPL U-Boot will validate the next level U-boot image. Add a new function spl_validate_uboot to perform the validation. Enable hardware crypto operations in SPL using SEC block. In case of Secure Boot, PAMU is not bypassed. For allowing SEC block access to CPC configured as SRAM, configure PAMU. Reviewed-by: Ruchika Gupta <ruchika.gupta@nxp.com> Signed-off-by: Aneesh Bansal <aneesh.bansal@nxp.com> Signed-off-by: Sumit Garg <sumit.garg@nxp.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / arch/powerpc/cpu/mpc8xxx/fsl_pamu.c | 8 +++++ arch/powerpc/cpu/mpc8xxx/pamu_table.c | 8 +++++ arch/powerpc/include/asm/fsl_secure_boot.h | 31 +++++++++++++++- board/freescale/common/fsl_chain_of_trust.c | 56 +++++++++++++++++++++++++++++ drivers/crypto/fsl/jr.c | 17 +++++++++ drivers/mtd/nand/fsl_ifc_spl.c | 24 +++++++++++++ include/fsl_validate.h | 7 ++++ 7 files changed, 150 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 63865278dae47ad19527d9f9b6e0dad6cb01f401 Author: Kevin Hao <kexin.hao@windriver.com> Date: 2016-07-08 11:25:15 +0800 mpc83xx: make it bootable with the latest kernel Due to the blow up of the latest kernel size, the default gnuzip size (8M) seems too small. The yocto kernel size I built for mpc8315erdb board is 5294393, and it can't be boot by using the latest u-boot. So expand gnuzip buffer for all the mpc83xx boards to fix this issue. Robert P. J. Day also pointed that the kernel partition on the NAND flash is also too small, fix it at the same time. Reported-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: Kevin Hao <kexin.hao@windriver.com> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / include/configs/MPC8308RDB.h | 1 + include/configs/MPC8313ERDB.h | 3 ++- include/configs/MPC8315ERDB.h | 3 ++- include/configs/MPC8323ERDB.h | 1 + include/configs/MPC832XEMDS.h | 1 + include/configs/MPC8349EMDS.h | 1 + include/configs/MPC8349ITX.h | 1 + include/configs/MPC837XEMDS.h | 1 + include/configs/MPC837XERDB.h | 1 + 9 files changed, 11 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit 16c8c1709dcd5839e9099be44b149cf906a0bac7 Author: Kevin Hao <kexin.hao@windriver.com> Date: 2016-07-08 11:25:14 +0800 mpc83xx: fix the corruption of u-boot when saveenv Robert P. J. Day has pointed that the value of SYS_MONITOR_LEN in MPC8315ERDB.h is smaller than the u-boot.bin. This will cause the overlap between the code of u-boot and the environment variable. So when executing saveenv, it will corrupt the code of u-boot and causes the board not boot. Fix this for all the mpc83xx boards by reserving a 512K area. Reported-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: Kevin Hao <kexin.hao@windriver.com> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / include/configs/MPC8308RDB.h | 2 +- include/configs/MPC8313ERDB.h | 2 +- include/configs/MPC8315ERDB.h | 2 +- include/configs/MPC8323ERDB.h | 2 +- include/configs/MPC832XEMDS.h | 2 +- include/configs/MPC8349EMDS.h | 2 +- include/configs/MPC8349ITX.h | 2 +- include/configs/MPC837XEMDS.h | 2 +- include/configs/MPC837XERDB.h | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) ------------------------------------------------------------------------------- commit 2a5f7f20747637cd1f94d4accfd7caa99a7c6035 Author: Stephen Warren <swarren@nvidia.com> Date: 2016-07-18 17:01:51 -0600 ARM: tegra: pick up actual memory size On Tegra186, U-Boot is booted by the binary firmware as if it were a Linux kernel. Consequently, a DTB is passed to U-Boot. Cache the address of that DTB, and parse the /memory/reg property to determine the actual RAM regions that U-Boot and subsequent EL2/EL1 SW may actually use. Given the binary FW passes a DTB to U-Boot, I anticipate the suggestion that U-Boot use that DTB as its control DTB. I don't believe that would work well, so I do not plan to put any effort into this. By default the FW-supplied DTB is the L4T kernel's DTB, which uses non-upstreamed DT bindings. U-Boot aims to use only upstreamed DT bindings, or as close as it can get. Replacing this DTB with a DTB using upstream bindings is physically quite easy; simply replace the content of one of the GPT partitions on the eMMC. However, the binary FW at least partially relies on the existence/content of some nodes in the DTB, and that requires the DTB to be written according to downstream bindings. Equally, if U-Boot continues to use appended DTBs built from its own source tree, as it does for all other Tegra platforms, development and deployment is much easier. Signed-off-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Tom Warren <twarren@nvidia.com> Base directory -> / arch/arm/mach-tegra/board186.c | 12 ---- arch/arm/mach-tegra/tegra186/Makefile | 2 + arch/arm/mach-tegra/tegra186/nvtboot_ll.S | 20 +++++++ arch/arm/mach-tegra/tegra186/nvtboot_mem.c | 88 ++++++++++++++++++++++++++++++ 4 files changed, 110 insertions(+), 12 deletions(-) ------------------------------------------------------------------------------- commit 0e2b5350d9523c9b2dca57b98c89f031691d23e3 Author: Stephen Warren <swarren@nvidia.com> Date: 2016-07-18 17:01:50 -0600 ARM: Add save_boot_params for ARMv8 Implement a hook to allow boards to save boot-time CPU state for later use. When U-Boot is chain-loaded by another bootloader, CPU registers may contain useful information such as system configuration information. This feature mirrors the equivalent ARMv7 feature. Signed-off-by: Stephen Warren <swarren@nvidia.com> Reviewed-by: Tom Rini <trini@konsulko.com> Signed-off-by: Tom Warren <twarren@nvidia.com> Base directory -> / arch/arm/cpu/armv8/start.S | 9 +++++++++ 1 file changed, 9 insertions(+) ------------------------------------------------------------------------------- commit efbb3d491e87935421242396958fdddd87e0fde1 Author: Stephen Warren <swarren@nvidia.com> Date: 2016-07-18 13:02:11 -0600 ARM: tegra: p2371-2180: A03 board PMIC config update Rev A03 of P2180 requires some PMIC programming adjustments, yet the PMIC's own OTP has not been updated. Consequently, U-Boot must make these changes itself. NVIDIA's syseng team has confirmed that these changes can be enabled on all board revisions without issue. Signed-off-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Tom Warren <twarren@nvidia.com> Base directory -> / board/nvidia/p2371-2180/p2371-2180.c | 22 ++++++++++++++++++++++ board/nvidia/p2571/max77620_init.h | 2 ++ 2 files changed, 24 insertions(+) ------------------------------------------------------------------------------- commit 49626ea801e8bb33c9ee4cbcb69e2fea6b13c330 Author: Stephen Warren <swarren@nvidia.com> Date: 2016-07-18 12:17:11 -0600 ARM: tegra: add IVC protocol implementation IVC (Inter-VM Communication) protocol is a Tegra-specific IPC (Inter Processor Communication) framework. Within the context of U-Boot, it is typically used for communication between the main CPU and various auxiliary processors. In particular, it will be used to communicate with the BPMP (Boot and Power Management Processor) on Tegra186 in order to manipulate clocks and reset signals. Signed-off-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Tom Warren <twarren@nvidia.com> Base directory -> / arch/arm/include/asm/arch-tegra/ivc.h | 179 +++++++++++ arch/arm/mach-tegra/Kconfig | 9 + arch/arm/mach-tegra/Makefile | 1 + arch/arm/mach-tegra/ivc.c | 553 ++++++++++++++++++++++++++++++++++ 4 files changed, 742 insertions(+) ------------------------------------------------------------------------------- commit d0f45000babf0c89b75b4c779613afa0a900a608 Author: Stephen Warren <swarren@nvidia.com> Date: 2016-07-18 12:15:05 -0600 ARM: tegra: unify Tegra186 Makefile a bit Many files in arch/arm/mach-tegra are compiled conditionally based on Kconfig variables, or applicable to all platforms. We can let the main Tegra Makefile handle compiling (or not) those files to avoid each SoC- specific Makefile needing to duplicate entries for those files. This leaves the SoC-specific Makefiles to compile truly SoC-specific code. In the future, we'll hopefully add Kconfig variables for all the other files, and refactor those files, and so reduce the need for SoC-specific Makefiles and/or ifdefs in the Makefiles. Signed-off-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Tom Warren <twarren@nvidia.com> Base directory -> / arch/arm/mach-tegra/Makefile | 12 ++++++------ arch/arm/mach-tegra/tegra186/Makefile | 3 --- 2 files changed, 6 insertions(+), 9 deletions(-) ------------------------------------------------------------------------------- commit 1f60f0731db2e07eecc41afa92bee4b10e7d9f1f Author: Stephen Warren <swarren@nvidia.com> Date: 2016-07-18 12:15:04 -0600 ARM: tegra: split p2771-0000 build There are multiple versions of p2771-0000 board. There are SW visible incompatible differences between the versions, and they are relevant to U-Boot. Create separate "A02" and "B00" defconfigs (named after the first and/or only board rev the defconfig supports) so that users can select which build they want. With the minimal set of HW currently enabled in U-Boot, the differences are irrelevant, hence the DT files aren't different. However, that will change in a future patch. Signed-off-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Tom Warren <twarren@nvidia.com> Base directory -> / arch/arm/dts/Makefile | 3 ++- arch/arm/dts/tegra186-p2771-0000-a02.dts | 8 ++++++++ arch/arm/dts/tegra186-p2771-0000-b00.dts | 8 ++++++++ arch/arm/dts/tegra186-p2771-0000.dts | 25 ------------------------- arch/arm/dts/tegra186-p2771-0000.dtsi | 23 +++++++++++++++++++++++ configs/p2771-0000-a02_defconfig | 31 +++++++++++++++++++++++++++++++ configs/p2771-0000-b00_defconfig | 31 +++++++++++++++++++++++++++++++ configs/p2771-0000_defconfig | 31 ------------------------------- 8 files changed, 103 insertions(+), 57 deletions(-) ------------------------------------------------------------------------------- commit 0388634a6ce9f0167747a3abac29001e2abc3879 Author: Stephen Warren <swarren@nvidia.com> Date: 2016-07-18 12:15:03 -0600 ARM: tegra: fix Tegra186 DT GPIO binding header Tegra186 uses different GPIO port IDs compared to previous chips. Make sure the SoC DT file includes the correct GPIO binding header. Signed-off-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Tom Warren <twarren@nvidia.com> Base directory -> / arch/arm/dts/tegra186.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit ff87b0810753cfaec0e3094aa9fda8b12d6ca569 Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-07-21 15:16:00 +0900 image: fix IH_ARCH_... values for uImage compatibility Commit 555f45d8f916 ("image: Convert the IH_... values to enums") accidentally changed some IH_ARCH_... values. Prior to that commit, there existed a gap between IH_ARCH_M68K and IH_ARCH_MICROBLAZE, like follows. #define IH_ARCH_SPARC64 11 /* Sparc 64 Bit */ #define IH_ARCH_M68K 12 /* M68K */ #define IH_ARCH_MICROBLAZE 14 /* MicroBlaze */ #define IH_ARCH_NIOS2 15 /* Nios-II */ The enum conversion broke the compatibility with existing uImage files. Reverting 555f45d8f916 will cause build error unfortunately, so here is a more easy fix. I dug the git history and figured out the gap was introduced by commit 1117cbf2adac ("nios: remove nios-32 arch"). So, I revived IH_ARCH_NIOS just for filling the gap. I added comments to each enum block. Once we assign a value to IH_... it is not allowed to change it. Acked-by: Michal Simek <michal.simek@xilinx.com> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / include/image.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) ------------------------------------------------------------------------------- commit 45031f1a1e575bf2e5ceb3e6e9f5b8b09f4945a1 Author: Tom Rini <trini@konsulko.com> Date: 2016-07-21 10:40:35 -0400 Merge branch 'master' of git://git.denx.de/u-boot-sh Base directory -> / doc/device-tree-bindings/serial/sh.txt | 6 ++++++ drivers/serial/serial_sh.c | 31 +++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+) ------------------------------------------------------------------------------- commit 68b09b891323b6f44e145164dfe3e1cd3322cc36 Author: Breno Lima <breno.lima@nxp.com> Date: 2016-07-20 16:55:32 -0300 Revert "imx_common: Return MMCSD_MODE_FS in spl_boot_mode() also for EXTFS" Commit c1ebf54868359005 ("imx_common: Return MMCSD_MODE_FS in spl_boot_mode() also for EXTFS") causes SPL breakage on wandboard: ERROR: v7_dcache_inval_range - start address is not aligned - 0x1820006c ERROR: v7_dcache_inval_range - stop address is not aligned - 0x1820086c ERROR: v7_dcache_inval_range - start address is not aligned - 0x1820006c ERROR: v7_dcache_inval_range - stop address is not aligned - 0x1820086c ** First descriptor is NOT a primary desc on 0:1 ** spl: no partition table found SPL: failed to boot from all boot devices ### ERROR ### Please RESET the board ### This error is seen when SPL and u-boot.img are stored in the raw SD card partition. This reverts commit c1ebf54868359005c32944c1473668d5fcaca158. Signed-off-by: Breno Lima <breno.lima@nxp.com> Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com> Base directory -> / arch/arm/imx-common/spl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 5d219d46aa6763639eeac5f08813ed4dc6982728 Author: Breno Lima <breno.lima@nxp.com> Date: 2016-07-20 16:34:34 -0300 serial_mxc: Remove unconditional DCE setting Commit 83fd908f28c ("dm: imx: serial: Support DTE mode when using driver model") breaks the serial output for the imx boards that do not use the serial driver model. The reason for the breakage is that it's setting UFCR_DCEDTE unconditionally for the non-dm case. So keep the original behavior by removing UFCR_DCEDTE setting in the non-dm case. Tested on mx7sabresd and mx6wandboard. Signed-off-by: Breno Lima <breno.lima@nxp.com> Acked-by: Stefan Agner <stefan.agner@toradex.com> Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com> Base directory -> / drivers/serial/serial_mxc.c | 1 - 1 file changed, 1 deletion(-) ------------------------------------------------------------------------------- commit 7f25fdc7ffab4f7cf80b34ca35600091cdf79b5d Author: Benjamin Kamath <bkamath@spaceflight.com> Date: 2016-06-29 16:44:38 -0700 powerpc: MPC8544DS: revert typo in I2C offset value I2C offset was changed by commit 00f792e0 (added multibus support) from 0x3100 to 0x3000. This typo leads to error when reading SPD from DDR DIMMs. Signed-off-by: Benjamin Kamath <bkamath@spaceflight.com> Signed-off-by: York Sun <york.sun@nxp.com> Reviewed-by: Joe Hershberger <joe.hershberger@ni.com> Base directory -> / include/configs/MPC8544DS.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 8f2e2f15ffa1bb03b6e6e189312426059f3215d1 Author: Fabio Estevam <fabio.estevam@nxp.com> Date: 2016-07-18 10:19:28 -0300 mx6: clock: Fix the logic for reading axi_alt_sel According to the IMX6DQRM Reference Manual, the description of bit 7 (axi_alt_sel) of the CCM_CBCDR register is: "AXI alternative clock select 0 pll2 396MHz PFD will be selected as alternative clock for AXI root clock 1 pll3 540MHz PFD will be selected as alternative clock for AXI root clock " The current logic is inverted, so fix it to match the reference manual. Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com> Base directory -> / arch/arm/cpu/armv7/mx6/clock.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit 55edb9d4d521ff733d217ddf47ad7bf4650676be Author: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> Date: 2016-07-18 14:10:37 +0200 mtd: cfi_flash: fix polling for bit XSR.7 on Intel chips flash_full_status_check() checks bit XSR.7 on Intel chips. This should be done by only checking bit 7 and not by comparing the whole status byte or word with 0x80. This fixes the non-working block erase in the pflash emulation of Qemu when used with the MIPS Malta board. MIPS Malta uses x32 mode to access the pflash device. In x32 mode Qemu mirrors the lower 16 bits of the status word into the upper 16 bits. Thus the CFI driver gets a status word of 0x8080 in x32 mode. If flash_full_status_check() uses flash_isequal(), then it polls for XSR.7 by comparing 0x8080 with 0x80 which never becomes true. Reported-by: Alon Bar-Lev <alon.barlev@gmail.com> Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> Signed-off-by: Stefan Roese <sr@denx.de> Base directory -> / drivers/mtd/cfi_flash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 95cee94bd80c8dfbd5ac3b019782b55f4edebdeb Author: Stefano Babic <sbabic@denx.de> Date: 2016-07-19 19:39:45 +0200 Revert "arch-mx6: fix MX6_PAD_DECLARE macro to work with MX6 duallite" This reverts commit 225126da99dd9ba1478e32468e298085d1e3fb61. Signed-off-by: Stefano Babic <sbabic@denx.de> Base directory -> / arch/arm/include/asm/arch-mx6/mx6-pins.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit 66669fcf809c1e3ff644b12e04e625d3737ffd8e Author: Tom Rini <trini@konsulko.com> Date: 2016-07-19 16:38:57 -0400 Merge git://git.denx.de/u-boot-fsl-qoriq Signed-off-by: Tom Rini <trini@konsulko.com> Conflicts: arch/arm/cpu/armv8/Makefile arch/arm/lib/bootm-fdt.c Base directory -> / README | 3 +- arch/arm/cpu/armv7/virt-dt.c | 63 ---- arch/arm/cpu/armv8/Makefile | 2 + arch/arm/cpu/armv8/cache_v8.c | 112 +++---- arch/arm/cpu/armv8/cpu-dt.c | 31 ++ arch/arm/cpu/armv8/fsl-layerscape/Makefile | 1 + arch/arm/cpu/armv8/fsl-layerscape/cpu.c | 396 +++++-------------------- arch/arm/cpu/armv8/fsl-layerscape/fdt.c | 33 +++ arch/arm/cpu/armv8/fsl-layerscape/ppa.c | 48 +++ arch/arm/cpu/armv8/s32v234/cpu.c | 12 +- arch/arm/cpu/armv8/sec_firmware.c | 270 +++++++++++++++++ arch/arm/cpu/armv8/sec_firmware_asm.S | 53 ++++ arch/arm/cpu/armv8/zynqmp/cpu.c | 21 +- arch/arm/include/asm/arch-fsl-layerscape/cpu.h | 310 +++++++++++-------- arch/arm/include/asm/arch-fsl-layerscape/ppa.h | 16 + arch/arm/include/asm/armv8/mmu.h | 5 +- arch/arm/include/asm/armv8/sec_firmware.h | 22 ++ arch/arm/include/asm/global_data.h | 15 + arch/arm/include/asm/psci.h | 1 + arch/arm/lib/Makefile | 2 + arch/arm/lib/bootm-fdt.c | 2 +- arch/arm/lib/psci-dt.c | 123 ++++++++ arch/arm/mach-exynos/mmu-arm64.c | 9 +- arch/arm/mach-meson/board.c | 6 +- arch/arm/mach-snapdragon/sysmap-apq8016.c | 6 +- arch/arm/mach-sunxi/board.c | 6 +- arch/arm/mach-tegra/arm64-mmu.c | 6 +- arch/arm/mach-uniphier/arm64/mem_map.c | 6 +- board/armltd/vexpress64/vexpress64.c | 6 +- board/cavium/thunderx/thunderx.c | 9 +- board/freescale/ls1043aqds/ddr.c | 15 +- board/freescale/ls1043ardb/ddr.c | 15 +- board/freescale/ls1043ardb/ls1043ardb.c | 8 +- board/freescale/ls2080a/ddr.c | 15 +- board/freescale/ls2080aqds/ddr.c | 15 +- board/freescale/ls2080ardb/ddr.c | 15 +- board/hisilicon/hikey/hikey.c | 6 +- board/raspberrypi/rpi/rpi.c | 6 +- cmd/bdinfo.c | 4 +- common/board_f.c | 11 +- include/asm-generic/global_data.h | 14 - include/configs/ls1043ardb.h | 11 + 42 files changed, 1084 insertions(+), 646 deletions(-) ------------------------------------------------------------------------------- commit 0e68a3694d1f33c69be7d1cec5a4261aa1d3d01d Author: Hou Zhiqiang <Zhiqiang.Hou@nxp.com> Date: 2016-06-28 20:18:17 +0800 ARMv8/ls1043ardb: Integrate FSL PPA The PPA use PSCI to make secondary cores bootup. So when PPA was enabled, add the CONFIG_ARMV8_PSCI to identify the SMP boot-method between PSCI and spin-table. Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / board/freescale/ls1043ardb/ls1043ardb.c | 8 +++++++- include/configs/ls1043ardb.h | 11 +++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 45684ae37bf96b455a1d4a957b80551dc2c85959 Author: Hou Zhiqiang <Zhiqiang.Hou@nxp.com> Date: 2016-06-28 20:18:16 +0800 ARMv8/PSCI: Fixup the device tree for PSCI Set the enable-method in the cpu node to PSCI, and create device node for PSCI, when PSCI was enabled. Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / arch/arm/cpu/armv7/virt-dt.c | 63 ---------------------- arch/arm/cpu/armv8/Makefile | 1 + arch/arm/cpu/armv8/cpu-dt.c | 31 +++++++++++ arch/arm/include/asm/psci.h | 1 + arch/arm/lib/Makefile | 2 + arch/arm/lib/bootm-fdt.c | 2 +- arch/arm/lib/psci-dt.c | 123 +++++++++++++++++++++++++++++++++++++++++++ 7 files changed, 159 insertions(+), 64 deletions(-) ------------------------------------------------------------------------------- commit 032d5bb4aed40f1d0de0698501fcacee594caabc Author: Hou Zhiqiang <Zhiqiang.Hou@nxp.com> Date: 2016-06-28 20:18:15 +0800 ARMv8/Layerscape: switch SMP method accordingly If the PSCI and PPA is ready, skip the fixup for spin-table and waking secondary cores. Otherwise, change SMP method to spin-table, and the device node of PSCI will be removed. Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / arch/arm/cpu/armv8/fsl-layerscape/cpu.c | 16 +++++++++++++--- arch/arm/cpu/armv8/fsl-layerscape/fdt.c | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+), 3 deletions(-) ------------------------------------------------------------------------------- commit f1dd4cadd20c3b6b2454b7f293265caa66f27fee Author: Hou Zhiqiang <Zhiqiang.Hou@nxp.com> Date: 2016-06-28 20:18:14 +0800 ARMv8/layerscape: Add FSL PPA support The FSL Primary Protected Application (PPA) is a software component loaded during boot which runs in TrustZone and remains resident after boot. Use the secure firmware framework to integrate FSL PPA into U-Boot. Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / arch/arm/cpu/armv8/fsl-layerscape/Makefile | 1 + arch/arm/cpu/armv8/fsl-layerscape/ppa.c | 48 ++++++++++++++++++++++++++ arch/arm/include/asm/arch-fsl-layerscape/ppa.h | 16 +++++++++ arch/arm/include/asm/armv8/sec_firmware.h | 4 +++ 4 files changed, 69 insertions(+) ------------------------------------------------------------------------------- commit b45db3b59035735a0479d8df260d2349cdc3c21c Author: Hou Zhiqiang <Zhiqiang.Hou@nxp.com> Date: 2016-06-28 20:18:13 +0800 ARMv8: add the secure monitor firmware framework This framework is introduced for ARMv8 secure monitor mode firmware. The main functions of the framework are, on EL3, verify the firmware, load it to the secure memory and jump into it, and while it returned to U-Boot, do some necessary setups at the 'target exception level' that is determined by the respective secure firmware. So far, the framework support only FIT format image, and need to define the name of which config node should be used in 'configurations' and the name of property for the raw secure firmware image in that config. The FIT image should be stored in Byte accessing memory, such as NOR Flash, or else it should be copied to main memory to use this framework. Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / arch/arm/cpu/armv8/Makefile | 1 + arch/arm/cpu/armv8/sec_firmware.c | 270 ++++++++++++++++++++++++++++++ arch/arm/cpu/armv8/sec_firmware_asm.S | 53 ++++++ arch/arm/include/asm/armv8/sec_firmware.h | 18 ++ 4 files changed, 342 insertions(+) ------------------------------------------------------------------------------- commit 85cdf38e69bbf3b2bb67c8218c8e4cbf28f8759b Author: Hou Zhiqiang <Zhiqiang.Hou@nxp.com> Date: 2016-06-28 20:18:12 +0800 armv8: fsl-layerscape: add i/d-cache enable function to enable_caches This function assume that the d-cache and MMU has been enabled earlier, so it just created MMU table in main memory. But the assumption is not always correct, for example, the early setup is done in EL3, while enable_caches() is called when the PE has turned into another EL. Define the function mmu_setup() for fsl-layerscape to cover the weak one. Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / arch/arm/cpu/armv8/fsl-layerscape/cpu.c | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) ------------------------------------------------------------------------------- commit 5ad5823d0c71a45f886d0016a74d62a5216abe10 Author: York Sun <york.sun@nxp.com> Date: 2016-06-24 16:46:23 -0700 armv8: layerscape: Convert to use common MMU framework Drop platform code to create static MMU tables. Use common framework to create MMU tables on the run. Tested on LS2080ARDB with secure and non-secure ram scenarios. Signed-off-by: York Sun <york.sun@nxp.com> Base directory -> / arch/arm/cpu/armv8/fsl-layerscape/cpu.c | 360 ++++--------------------- arch/arm/include/asm/arch-fsl-layerscape/cpu.h | 310 ++++++++++++--------- 2 files changed, 238 insertions(+), 432 deletions(-) ------------------------------------------------------------------------------- commit 8b248c8cdbdfa0f6a7a28b2e4ab0450af51603b2 Author: Stefan Agner <stefan@agner.ch> Date: 2016-07-13 00:25:42 -0700 imx_watchdog: add weak attribute to reset_cpu function This allows to overwrite reset_cpu function in case a board level reset is preferred (e.g. through PMIC). Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Base directory -> / drivers/watchdog/imx_watchdog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit be1a17ff689b0289bbf900813265e4525949eef7 Author: Stefan Agner <stefan.agner@toradex.com> Date: 2016-07-13 00:25:41 -0700 mx7_common: use Kconfig for ARMv7 non-secure mode Use existing Kconfig symbols to let the user configure whether to build a U-Boot with non-secure mode support or not. This also allows to enable virtualization extension easily. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Base directory -> / arch/arm/cpu/armv7/mx7/Kconfig | 2 ++ configs/mx7dsabresd_defconfig | 1 + configs/warp7_defconfig | 1 + include/configs/mx7_common.h | 7 ------- 4 files changed, 4 insertions(+), 7 deletions(-) ------------------------------------------------------------------------------- commit 47855a5c3bf8aa2ad2bd48016d48c89bc1e2641c Author: Stefan Agner <stefan@agner.ch> Date: 2016-07-13 00:25:40 -0700 mx7_common: Put display board info config into board file CONFIG_DISPLAY_BOARDINFO should not be placed in mx7_common because some boards might need a different config such as CONFIG_DISPLAY_BOARDINFO_LATE. Move it to the board file instead. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Base directory -> / include/configs/mx7_common.h | 1 - include/configs/mx7dsabresd.h | 2 ++ include/configs/warp7.h | 2 ++ 3 files changed, 4 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit ec7fde3ebfeb1dc428206bf1afca87dbd86cc29b Author: Stefan Agner <stefan.agner@toradex.com> Date: 2016-07-13 00:25:39 -0700 mx7: set soc environment according to exact SoC type This can be useful if the same U-Boot binary is used for boards available with a i.MX 7Solo and i.MX 7Dual. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/arm/cpu/armv7/mx7/soc.c | 14 ++++++++++++++ include/configs/mx7_common.h | 2 ++ 2 files changed, 16 insertions(+) ------------------------------------------------------------------------------- commit c4483093f38f20c4122bd27456bffdda518e4d71 Author: Stefan Agner <stefan.agner@toradex.com> Date: 2016-07-13 00:25:38 -0700 usb: ehci-mx6: introduce config for high active power pin Add a new config CONFIG_MXC_USB_OTG_HACTIVE which configures the OTG Power Pin to be high active. Low active is the reset value of the affected configuration register, hence the config option is named by the non-reset configuration. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Base directory -> / configs/mx7dsabresd_defconfig | 1 + configs/warp7_defconfig | 1 + drivers/usb/host/Kconfig | 9 +++++++++ drivers/usb/host/ehci-mx6.c | 4 ++++ 4 files changed, 15 insertions(+) ------------------------------------------------------------------------------- commit 9a88180bfbb6ee7b2fba5516391ff0e611794de5 Author: Stefan Agner <stefan.agner@toradex.com> Date: 2016-07-13 00:25:37 -0700 usb: ehci-mx6: configure power polarity in usb_power_config USBNC_n_CTRL1 bit 9 actually controls the power pin polarity. Rename UCTRL_PM to align reference manual and set the bit in the appropriate callback usb_power_config. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Base directory -> / drivers/usb/host/ehci-mx6.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) ------------------------------------------------------------------------------- commit 2deebe2481c4a193c3c02e0a56b0b43039bcecb7 Author: Stefan Agner <stefan.agner@toradex.com> Date: 2016-07-13 00:25:36 -0700 usb: move CONFIG_USB_EHCI_MX7 to Kconfig Create an entry for "config USB_EHCI_MX7" in Kconfig and switch over to it for all boards. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Base directory -> / configs/mx7dsabresd_defconfig | 1 + configs/warp7_defconfig | 2 ++ drivers/usb/host/Kconfig | 7 +++++++ include/configs/mx7dsabresd.h | 2 -- include/configs/warp7.h | 2 -- 5 files changed, 10 insertions(+), 4 deletions(-) ------------------------------------------------------------------------------- commit 83fd908f28ca94baf095ba64b4b8a116dd473cb7 Author: Stefan Agner <stefan.agner@toradex.com> Date: 2016-07-13 00:25:35 -0700 dm: imx: serial: Support DTE mode when using driver model The MXC UART IP can be run in DTE or DCE mode. This depends on the board wiring and the pinmux used and hence is board specific. This extends platform data with a new field to choose wheather DTE mode shall be used. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/serial/serial_mxc.c | 9 ++++++++- include/dm/platform_data/serial_mxc.h | 1 + 2 files changed, 9 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 4beba0668890f23373863dc27230679addd20689 Author: Breno Lima <breno.lima@nxp.com> Date: 2016-07-13 16:37:01 -0300 warp7: Remove CONFIG_BOOTDELAY variable It's not necessary anymore to declare the CONFIG_BOOTDELAY variable, it's already set by default as 2 seconds. Signed-off-by: Breno Lima <breno.lima@nxp.com> Acked-by: Fabio Estevam <fabio.estevam@nxp.com> Base directory -> / configs/warp7_defconfig | 1 - 1 file changed, 1 deletion(-) ------------------------------------------------------------------------------- commit 63a930937755e97928a75fa3afe2c09f1800188e Author: Christopher Spinrath <christopher.spinrath@rwth-aachen.de> Date: 2016-07-12 23:37:37 +0200 ARM: configs: cm_fx6: add mtd support The cm-fx6 module has an on-board spi flash chip. Enable mtd support and the mtdparts command. Also define a default partitioning, add it to the default environment, and enable support to overwrite the partitioning defined in a device tree by it. Finally, probe for the chip on preboot to register the flash chip and, thus, establish the connection between the mtd environment settings and the actual device. These changes move the effective default partitioning from the device tree shipped with the vendor kernels to U-Boot which becomes the single point of definition for the partitioning for all device tree based kernels (in particular, for the upstream Linux kernel which does not have a default partitioning defined in its device tree). Signed-off-by: Christopher Spinrath <christopher.spinrath@rwth-aachen.de> Reviewed-by: Stefano Babic <sbabic@denx.de> Acked-by: Igor Grinberg <grinberg@compulab.co.il> Base directory -> / include/configs/cm_fx6.h | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 62d6bac66038163641d6ba43ac47347447fedb82 Author: Christopher Spinrath <christopher.spinrath@rwth-aachen.de> Date: 2016-07-12 23:37:36 +0200 ARM: board: cm_fx6: fixup mtd partitions in the fdt The cm-fx6 module has an on-board st,m25p compatible spi flash chip used for U-Boot (binary & environment). Overwrite the partitions in the device tree by the partition table provided in the mtdparts environment variable, if it is set. This allows to specify a kernel independent partitioning in the environment and provides a convient way for the user to adapt the partition table. Signed-off-by: Christopher Spinrath <christopher.spinrath@rwth-aachen.de> Acked-by: Igor Grinberg <grinberg@compulab.co.il> Base directory -> / board/compulab/cm_fx6/cm_fx6.c | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit f4ae23a7cd6fff3e0b9d250411b6714c6a1a2930 Author: Christopher Spinrath <christopher.spinrath@rwth-aachen.de> Date: 2016-07-12 23:37:35 +0200 fdt_support: define stub for fdt_fixup_mtdparts Define an inline stub for fdt_fixup_mtdparts in the case that CONFIG_FDT_FIXUP_PARTITIONS is not defined. This avoids the need to guard every call to this function by a proper #ifdef in board files. Signed-off-by: Christopher Spinrath <christopher.spinrath@rwth-aachen.de> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Igor Grinberg <grinberg@compulab.co.il> Base directory -> / include/fdt_support.h | 6 ++++++ 1 file changed, 6 insertions(+) ------------------------------------------------------------------------------- commit f0f6724f86b4e86c8977f33a835a1b77352be7c4 Author: Christopher Spinrath <christopher.spinrath@rwth-aachen.de> Date: 2016-07-12 23:37:34 +0200 ARM: configs: cm_fx6: improve default environment Currently, entire script segments have to be changed in the default environment to change the kernel image location or to append kernel cmdline parameters. In the later case this has to be changed for every possible boot device. Introduce new variables for kernel image locations and boot device independent kernel parameters to make it easier to change these settings. Signed-off-by: Christopher Spinrath <christopher.spinrath@rwth-aachen.de> Reviewed-by: Igor Grinberg <grinberg@compulab.co.il> Reviewed-by: Nikita Kiryanov <nikita@compulab.co.il> Base directory -> / include/configs/cm_fx6.h | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) ------------------------------------------------------------------------------- commit 88e4774efdf6ae4bf43969ad95ce67d0f228b91a Author: Vanessa Maegima <vanessa.maegima@nxp.com> Date: 2016-07-13 14:27:32 -0300 pico-imx6ul: Add PMIC support Add PMIC support. Tested by command "pmic PFUZE3000 dump". Signed-off-by: Vanessa Maegima <vanessa.maegima@nxp.com> Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com> Base directory -> / board/technexion/pico-imx6ul/pico-imx6ul.c | 70 ++++++++++++++++++++++++++++++ include/configs/pico-imx6ul.h | 12 +++++ 2 files changed, 82 insertions(+) ------------------------------------------------------------------------------- commit 67ff9e11f3971a668a0abd3efbb027ebf985b5b6 Author: Alexey Brodkin <Alexey.Brodkin@synopsys.com> Date: 2016-07-09 15:42:47 +0300 wandboard: move environment partition farther from u-boot.img Recently I started to notice that u-boot.img built for Wandboard by some toolchains becomes so large that it basically overlaps with U-Boot environment area on SD-card. According to http://wiki.wandboard.org/index.php/Boot-process#sdcard_boot_data_layout Wandboard's SD-card layout is as follows: ------------------------------>8--------------------------- Acked-by: Otavio Salvador <otavio@ossystems.com.br> Acked-by: Fabio Estevam <fabio.estevam@nxp.com> ========================================================== 1. 0x00000000 Reserved For MBR 2. 0x00000200 512 Secondary Image Table (optional) 3. 0x00000400 1024 uBoot Image (Starting From IVT) 4. 0x00060000 393216 start of uboot env (size:8k) 5. 0x00062000 end of uboot env 6. 0x00100000 1048576 Linux kernel start 7. 0x0076AC00 7777280 start of partition 1 ------------------------------>8--------------------------- So for U-Boot we have 383kB (392192 bytes). But in up to date U-Boot for Wandboard we build separately a) SPL b) u-boot.img which gives us a bit more detailed SD-card layout: ------------------------------>8--------------------------- ========================================================== 1. 0x00000000 Reserved For MBR 2. 0x00000200 512 Secondary Image Table (optional) 3. 0x00000400 1024 SPL 4. 0x00011400 70656 u-boot.img 5. 0x00060000 393216 start of uboot env (size:8k) 6. 0x00062000 end of uboot env ... ------------------------------>8--------------------------- >From that layout we may calculate amount of space reserved for u-boot.img. It's just 315kb (322560 bytes). Now if I build U-Boot with Sourcery CodeBench ARM 2014.05 produced u-boot.img is already more than we expected (323840 bytes instead of "< 322560"): ------------------------------>8--------------------------- ls -la u-boot.img -rw-rw-r-- 1 user user 323840 Jul 5 07:38 u-boot.img ------------------------------>8--------------------------- Funny enough if I rebuild U-Boot with ARM toolchain available in my Fedora 23 distro u-boot.img becomes a little bit smaller: ------------------------------>8--------------------------- ls -la u-boot.img -rw-rw-r-- 1 user user 322216 Jul 5 07:39 u-boot.img ------------------------------>8--------------------------- What's worse this problem might not affect people most of the time because what happens people would just copy u-boot.img on SD-card and live in happiness with it... well until somebody attempts to save environment in U-Boot with "saveenv" command which will simply overwrite the very end of u-boot.img. That will lead to unusable SD-card until user dd u-boot.img on SD-card again. I may foresee this issue in the future to become more visible once we add more features in U-Boot for Wandboard or just existing code base becomes bulkier and people will consistently get larger u-boot.img files produced. IMHO there's an obvious solution for all that - just move U-Boot's env to the very end of the gap between U-Boot and the first real partition on the SD-card. This patch will follow 8fb9eea5653796 ("mx6sabre_common: Fix U-Boot corruption after 'saveenv'"). So env is still not in the very end of the gap (obviously 256kb is way too much for U-Boot's env) but at least we have now the same partitioning for i.MX6 boards. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Cc: Fabio Estevam <fabio.estevam@nxp.com> Cc: Otavio Salvador <otavio@ossystems.com.br> Cc: Peter Robinson <pbrobinson@gmail.com> Cc: Tom Rini <trini@konsulko.com> Cc: Peter Korsgaard <peter@korsgaard.com> Cc: Wolfgang Denk <wd@denx.de> Base directory -> / include/configs/wandboard.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit f60d0603edca472c4458b30956f38c6c1a836d66 Author: Simon Glass <sjg@chromium.org> Date: 2016-07-16 18:36:44 -0600 test: Adjust the of-platdata test run condition This should be spl_of_platdata, since otherwise it will try to run on boards that don't support of-platdata. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / test/py/tests/test_ofplatdata.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 62a3b7dd086ef8ceba91e99cceb19704efc1b482 Author: Robert P. J. Day <rpjday@crashcourse.ca> Date: 2016-07-15 13:44:45 -0400 Various, unrelated tree-wide typo fixes. Fix a number of typos, including: * "compatble" -> "compatible" * "eanbeld" -> "enabled" * "envrionment" -> "environment" * "FTD" -> "FDT" (for "flattened device tree") * "ommitted" -> "omitted" * "overriden" -> "overridden" * "partiton" -> "partition" * "propogate" -> "propagate" * "resourse" -> "resource" * "rest in piece" -> "rest in peace" * "suport" -> "support" * "varible" -> "variable" Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Base directory -> / README | 2 +- arch/arm/cpu/armv7/Kconfig | 2 +- arch/arm/cpu/armv8/fsl-layerscape/doc/README.lsch3 | 2 +- arch/arm/cpu/armv8/zynqmp/mp.c | 2 +- arch/arm/imx-common/ddrmc-vf610.c | 2 +- arch/arm/include/asm/arch-tegra/board.h | 2 +- arch/arm/include/asm/arch-tegra/clock.h | 2 +- arch/arm/include/asm/arch-tegra124/display.h | 2 +- arch/arm/mach-tegra/clock.c | 2 +- arch/powerpc/cpu/mpc85xx/mp.c | 2 +- arch/powerpc/cpu/ppc4xx/start.S | 2 +- arch/powerpc/include/asm/status_led.h | 2 +- board/keymile/common/common.c | 2 +- board/keymile/kmp204x/ddr.c | 2 +- cmd/i2c.c | 2 +- common/env_common.c | 2 +- doc/README.gpt | 2 +- doc/README.scrapyard | 2 +- doc/feature-removal-schedule.txt | 2 +- drivers/bios_emulator/x86emu/sys.c | 2 +- drivers/crypto/fsl/desc.h | 2 +- drivers/ddr/fsl/ctrl_regs.c | 2 +- drivers/fpga/fpga.c | 2 +- drivers/mmc/Kconfig | 2 +- drivers/mtd/nand/mxs_nand.c | 2 +- drivers/mtd/nand/tegra_nand.c | 2 +- drivers/usb/musb-new/musb_dsps.c | 2 +- drivers/video/tegra.c | 2 +- include/configs/mxs.h | 2 +- include/configs/v38b.h | 2 +- include/net.h | 2 +- lib/hashtable.c | 2 +- net/eth_internal.h | 2 +- post/cpu/ppc4xx/ether.c | 2 +- tools/env/fw_env.config | 2 +- 35 files changed, 35 insertions(+), 35 deletions(-) ------------------------------------------------------------------------------- commit fc5d54b7fa3fa602e06e2f0863c0b134d6afca70 Author: Tom Rini <trini@konsulko.com> Date: 2016-07-15 15:30:33 -0400 configs: Add more CONFIG_ARMV7_PSCI_NR_CPUS entries The code had assumed 4 CPUS before and now we have this configurable. For now, set this to the previous default. Cc: Chander Kashyap <k.chander@samsung.com> Cc: Steve Rae <steve.rae@raedomain.com> Cc: Minkyu Kang <mk7.kang@samsung.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Hans de Goede <hdegoede@redhat.com> Base directory -> / include/configs/arndale.h | 1 + include/configs/bcm_ep_board.h | 1 + include/configs/vexpress_ca15_tc2.h | 1 + 3 files changed, 3 insertions(+) ------------------------------------------------------------------------------- commit cd4b0c5feaaa524b44889cde8f58d4b121df8fed Author: York Sun <york.sun@nxp.com> Date: 2016-06-24 16:46:22 -0700 armv8: mmu: Add support of non-identical mapping Introduce virtual and physical addresses in the mapping table. This change have no impact on existing boards because they all use idential mapping. Signed-off-by: York Sun <york.sun@nxp.com> Base directory -> / arch/arm/cpu/armv8/cache_v8.c | 37 +++++++++++++++++-------------- arch/arm/cpu/armv8/s32v234/cpu.c | 12 ++++++---- arch/arm/cpu/armv8/zynqmp/cpu.c | 21 ++++++++++++------ arch/arm/include/asm/armv8/mmu.h | 3 ++- arch/arm/mach-exynos/mmu-arm64.c | 9 ++++---- arch/arm/mach-meson/board.c | 6 +++-- arch/arm/mach-snapdragon/sysmap-apq8016.c | 6 +++-- arch/arm/mach-sunxi/board.c | 6 +++-- arch/arm/mach-tegra/arm64-mmu.c | 6 +++-- arch/arm/mach-uniphier/arm64/mem_map.c | 6 +++-- board/armltd/vexpress64/vexpress64.c | 6 +++-- board/cavium/thunderx/thunderx.c | 9 +++++--- board/hisilicon/hikey/hikey.c | 6 +++-- board/raspberrypi/rpi/rpi.c | 6 +++-- 14 files changed, 86 insertions(+), 53 deletions(-) ------------------------------------------------------------------------------- commit f733d46620d0efb93091f147f81a4bf9588fad3f Author: York Sun <york.sun@nxp.com> Date: 2016-06-24 16:46:21 -0700 armv8: mmu: split block if necessary When page tables are created, allow later table to be created on previous block entry. Splitting block feature is already working with current code. This patch only rearranges the code order and adds one condition to call split_block(). Signed-off-by: York Sun <york.sun@nxp.com> Base directory -> / arch/arm/cpu/armv8/cache_v8.c | 70 +++++++++++++++++++++++-------------------- 1 file changed, 38 insertions(+), 32 deletions(-) ------------------------------------------------------------------------------- commit 252cdb46ee33ff876823d0ce0a0190c3878c76ff Author: York Sun <york.sun@nxp.com> Date: 2016-06-24 16:46:20 -0700 armv8: mmu: house cleaning Make setup_pgtages() and get_tcr() available for platform code to customize MMU tables. Remove unintentional call of create_table(). Signed-off-by: York Sun <york.sun@nxp.com> Base directory -> / arch/arm/cpu/armv8/cache_v8.c | 13 ++++++++----- arch/arm/include/asm/armv8/mmu.h | 2 ++ 2 files changed, 10 insertions(+), 5 deletions(-) ------------------------------------------------------------------------------- commit 50e93b95653da44b9743357dfa3701e8482fd167 Author: York Sun <york.sun@nxp.com> Date: 2016-06-24 16:46:19 -0700 armv8: Add tlb_allocated to arch global data When secure ram is used, MMU tables have to be put into secure ram. To use common MMU code, gd->arch.tlb_addr will be used to host TLB entry pointer. To save allocated memory for later use, tlb_allocated variable is added to global data structure. Signed-off-by: York Sun <york.sun@nxp.com> Base directory -> / arch/arm/include/asm/global_data.h | 1 + common/board_f.c | 9 +++++++++ 2 files changed, 10 insertions(+) ------------------------------------------------------------------------------- commit e61a7534e33063a76e105d895e5c6317f2d0cd76 Author: York Sun <york.sun@nxp.com> Date: 2016-06-24 16:46:18 -0700 armv8: Move secure_ram variable out of generic global data Secure_ram variable was put in generic global data. But only ARMv8 uses this variable. Move it to ARM specific data structure. Signed-off-by: York Sun <york.sun@nxp.com> Base directory -> / README | 3 ++- arch/arm/cpu/armv8/fsl-layerscape/cpu.c | 20 ++++++++++---------- arch/arm/include/asm/global_data.h | 14 ++++++++++++++ board/freescale/ls1043aqds/ddr.c | 15 ++++++++------- board/freescale/ls1043ardb/ddr.c | 15 ++++++++------- board/freescale/ls2080a/ddr.c | 15 ++++++++------- board/freescale/ls2080aqds/ddr.c | 15 ++++++++------- board/freescale/ls2080ardb/ddr.c | 15 ++++++++------- cmd/bdinfo.c | 4 ++-- common/board_f.c | 2 +- include/asm-generic/global_data.h | 14 -------------- 11 files changed, 69 insertions(+), 63 deletions(-) ------------------------------------------------------------------------------- commit 1f9ef0dca0a1315f0a216808ade8946bcc54e2b4 Author: Tom Rini <trini@konsulko.com> Date: 2016-07-15 10:44:01 -0400 Merge branch 'master' of http://git.denx.de/u-boot-sunxi Base directory -> / arch/arm/config.mk | 4 +- arch/arm/cpu/armv7/Makefile | 2 +- arch/arm/cpu/armv7/ls102xa/psci.S | 26 +- arch/arm/cpu/armv7/mx7/psci-mx7.c | 2 +- arch/arm/cpu/armv7/mx7/psci.S | 31 +- arch/arm/cpu/armv7/nonsec_virt.S | 7 +- arch/arm/cpu/armv7/psci-common.c | 39 ++ arch/arm/cpu/armv7/psci.S | 55 +- arch/arm/cpu/armv7/sunxi/Makefile | 1 - arch/arm/cpu/armv7/sunxi/psci.c | 9 +- arch/arm/cpu/armv7/sunxi/psci_head.S | 66 --- arch/arm/cpu/u-boot.lds | 60 +- arch/arm/dts/Makefile | 1 + arch/arm/dts/sun50i-a64-pine64-plus.dts | 13 + arch/arm/dts/sun50i-a64.dtsi | 33 ++ arch/arm/dts/sun8i-h3-orangepi-2.dts | 13 + arch/arm/dts/sun8i-h3-orangepi-lite.dts | 178 ++++++ arch/arm/dts/sun8i-h3-orangepi-pc.dts | 12 + arch/arm/dts/sun8i-h3-orangepi-plus.dts | 127 +---- arch/arm/dts/sun8i-h3.dtsi | 35 ++ arch/arm/include/asm/arch-sunxi/clock_sun6i.h | 4 +- arch/arm/include/asm/arch-sunxi/cpu_sun4i.h | 3 +- arch/arm/include/asm/arch-sunxi/gpio.h | 3 + arch/arm/include/asm/arch-sunxi/mmc.h | 1 - arch/arm/include/asm/arch-sunxi/spl.h | 9 +- arch/arm/include/asm/armv7.h | 2 + arch/arm/include/asm/psci.h | 9 +- arch/arm/include/asm/secure.h | 3 + arch/arm/lib/sections.c | 2 + arch/arm/mach-sunxi/board.c | 29 +- arch/arm/mach-tegra/psci.S | 16 +- board/sunxi/MAINTAINERS | 1 + board/sunxi/board.c | 98 +++- common/spl/spl.c | 4 +- configs/orangepi_lite_defconfig | 15 + configs/orangepi_pc_defconfig | 3 + configs/pine64_plus_defconfig | 1 + drivers/mmc/sunxi_mmc.c | 27 +- drivers/mtd/spi/Kconfig | 12 + drivers/mtd/spi/Makefile | 1 + drivers/mtd/spi/sunxi_spi_spl.c | 283 +++++++++ drivers/net/Kconfig | 9 + drivers/net/Makefile | 1 + drivers/net/sun8i_emac.c | 789 ++++++++++++++++++++++++++ include/configs/jetson-tk1.h | 1 + include/configs/ls1021aqds.h | 1 + include/configs/ls1021atwr.h | 1 + include/configs/sun6i.h | 1 + include/configs/sun7i.h | 2 + include/configs/sunxi-common.h | 5 + 50 files changed, 1716 insertions(+), 334 deletions(-) ------------------------------------------------------------------------------- commit b7073965a343fca2bcde4195fbba664c98f309d8 Author: Chen-Yu Tsai <wens@csie.org> Date: 2016-06-19 12:38:45 +0800 ARM: PSCI: Make psci_get_cpu_stack_top local to armv7/psci.S Now that we have a secure data section for storing variables, there should be no need for platform code to get the stack address. Make psci_get_cpu_stack_top a local function, as it should only be used in armv7/psci.S and only by psci_stack_setup. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Base directory -> / arch/arm/cpu/armv7/psci.S | 2 +- arch/arm/include/asm/psci.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) ------------------------------------------------------------------------------- commit 6e6622de166f53597172687b7269b07cf48844df Author: Chen-Yu Tsai <wens@csie.org> Date: 2016-06-19 12:38:44 +0800 ARM: PSCI: Switch to per-CPU target PC storage in secure data section Now that we have a secure data section and space to store per-CPU target PC address, switch to it instead of storing the target PC on the stack. Also save clobbered r4-r7 registers on the stack and restore them on return in psci_cpu_on for Tegra, i.MX7, and LS102xA platforms. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Base directory -> / arch/arm/cpu/armv7/ls102xa/psci.S | 14 +++++++------- arch/arm/cpu/armv7/mx7/psci.S | 13 ++++++++----- arch/arm/cpu/armv7/psci.S | 3 +-- arch/arm/cpu/armv7/sunxi/psci.c | 5 ++--- arch/arm/mach-tegra/psci.S | 11 ++++++----- 5 files changed, 24 insertions(+), 22 deletions(-) ------------------------------------------------------------------------------- commit 45c334e6b22bae75ada8662b88000c4347b1361b Author: Chen-Yu Tsai <wens@csie.org> Date: 2016-07-05 21:45:07 +0800 ARM: PSCI: Add helper functions to access per-CPU target PC storage Now that we have a data section, add helper functions to save and fetch per-CPU target PC. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Base directory -> / arch/arm/cpu/armv7/Makefile | 2 +- arch/arm/cpu/armv7/psci-common.c | 39 +++++++++++++++++++++++++++++++++++++++ arch/arm/include/asm/psci.h | 4 ++++ 3 files changed, 44 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit a5aa7ff33a942ce8ea38006fd5225a800827bb2c Author: Chen-Yu Tsai <wens@csie.org> Date: 2016-07-05 21:45:06 +0800 ARM: Add secure section for initialized data The secure monitor may need to store global or static values within the secure section of memory, such as target PC or CPU power status. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Base directory -> / arch/arm/config.mk | 4 ++-- arch/arm/cpu/u-boot.lds | 9 +++++++-- arch/arm/include/asm/secure.h | 1 + 3 files changed, 10 insertions(+), 4 deletions(-) ------------------------------------------------------------------------------- commit afc1f65f504324cd5f87a8cb480bebeb0c61e4e0 Author: Chen-Yu Tsai <wens@csie.org> Date: 2016-06-19 12:38:41 +0800 ARM: Move __secure definition to common asm/secure.h sunxi and i.mx7 both define the __secure modifier to put functions in the secure section. Move this to a common place. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Base directory -> / arch/arm/cpu/armv7/mx7/psci-mx7.c | 2 +- arch/arm/cpu/armv7/sunxi/psci.c | 2 +- arch/arm/include/asm/secure.h | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit 9c4f52b855876862a7a30b63bde4a0d22605c3dc Author: Chen-Yu Tsai <wens@csie.org> Date: 2016-06-19 12:38:40 +0800 sunxi: Define CONFIG_ARMV7_SECURE_MAX_SIZE for sun6i/sun7i Both sun6i and sun7i have 64 KB of secure SRAM. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Base directory -> / include/configs/sun6i.h | 1 + include/configs/sun7i.h | 1 + 2 files changed, 2 insertions(+) ------------------------------------------------------------------------------- commit 3eff681818e2c858175a7cc4e766f75e95827920 Author: Chen-Yu Tsai <wens@csie.org> Date: 2016-06-19 12:38:39 +0800 ARM: Add CONFIG_ARMV7_SECURE_MAX_SIZE and check size of secure section As the PSCI implementation grows, we might exceed the size of the secure memory that holds the firmware. Add a configurable CONFIG_ARMV7_SECURE_MAX_SIZE so platforms can define how much secure memory is available. The linker then checks the size of the whole secure section against this. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Base directory -> / arch/arm/cpu/u-boot.lds | 11 +++++++++++ 1 file changed, 11 insertions(+) ------------------------------------------------------------------------------- commit 28f90357323bc65e7da01c458222b84dc42988bb Author: Chen-Yu Tsai <wens@csie.org> Date: 2016-06-19 12:38:38 +0800 ARM: PSCI: Remove unused psci_text_end symbol psci_text_end was used to calculate the PSCI stack address following the secure monitor text. Now that we have an explicit secure stack section, this is no longer used. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Base directory -> / arch/arm/cpu/armv7/ls102xa/psci.S | 2 -- arch/arm/cpu/armv7/mx7/psci.S | 2 -- arch/arm/cpu/armv7/sunxi/psci.c | 5 ----- arch/arm/mach-tegra/psci.S | 2 -- 4 files changed, 11 deletions(-) ------------------------------------------------------------------------------- commit 8c0ef7fad676827125ad91060361d05ab4b16f44 Author: Chen-Yu Tsai <wens@csie.org> Date: 2016-06-19 12:38:37 +0800 ARM: PSCI: Allocate PSCI stack in secure stack section Now that we have a secure stack section that guarantees usable memory, allocate the PSCI stacks in that section. Also add a diagram detailing how the stacks are placed in memory. Reserved space for the target PC remains unchanged. This should be moved to global variables within a secure data section in the future. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Base directory -> / arch/arm/cpu/armv7/psci.S | 32 +++++++++++++++++++++----------- 1 file changed, 21 insertions(+), 11 deletions(-) ------------------------------------------------------------------------------- commit 980d6a55119f757ade4abed88bf4b2b7494c68e6 Author: Chen-Yu Tsai <wens@csie.org> Date: 2016-06-19 12:38:36 +0800 ARM: Add an empty secure stack section Until now we've been using memory beyond psci_text_end as stack space for the secure monitor or PSCI implementation, even if space was not allocated for it. This was partially fixed in ("ARM: allocate extra space for PSCI stack in secure section during link phase"). However, calculating stack space from psci_text_end in one place, while allocating the space in another is error prone. This patch adds a separate empty secure stack section, with space for CONFIG_ARMV7_PSCI_NR_CPUS stacks, each 1 KB. There's also __secure_stack_start and __secure_stack_end symbols. The linker script handles calculating the correct VMAs for the stack section. For platforms that relocate/copy the secure monitor before using it, the space is not allocated in the executable, saving space. For platforms that do not define CONFIG_ARMV7_PSCI_NR_CPUS, a whole page of stack space for 4 CPUs is allocated, matching the previous behavior. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Base directory -> / arch/arm/cpu/u-boot.lds | 32 +++++++++++++++++++++++--------- arch/arm/include/asm/armv7.h | 2 ++ arch/arm/include/asm/psci.h | 4 ++++ arch/arm/lib/sections.c | 2 ++ 4 files changed, 31 insertions(+), 9 deletions(-) ------------------------------------------------------------------------------- commit dbf38aabd9f4d4fd4d9bd4eeeba88e0e47dcb27c Author: Chen-Yu Tsai <wens@csie.org> Date: 2016-07-05 21:45:05 +0800 ARM: PSCI: Add missing CONFIG_ARMV7_PSCI_NR_CPUS for PSCI enabled platforms The original PSCI implementation assumed CONFIG_ARMV7_PSCI_NR_CPUS=4. Add this to platforms that have not defined it, using CONFIG_MAX_CPUS if it is defined, or the actual number of cores for the given platform. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Base directory -> / include/configs/jetson-tk1.h | 1 + include/configs/ls1021aqds.h | 1 + include/configs/ls1021atwr.h | 1 + 3 files changed, 3 insertions(+) ------------------------------------------------------------------------------- commit a1274cc94a20a0fc6715522d021ab84969b6bf91 Author: Chen-Yu Tsai <wens@csie.org> Date: 2016-06-19 12:38:34 +0800 ARM: Page align secure section only when it is executed in situ Targets that define CONFIG_ARMV7_SECURE_BASE will copy the secure section to another address before execution. Since the secure section in the u-boot image is only storage, there's no reason to page align it and increase the binary image size. Page align the secure section only when CONFIG_ARMV7_SECURE_BASE is not defined. And instead of just aligning the __secure_start symbol, align the whole .__secure_start section. This also makes the section empty, so we need to add KEEP() to the input entry to prevent the section from being garbage collected. Also use ld constant "COMMONPAGESIZE" instead of hardcoded page size. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Base directory -> / arch/arm/cpu/u-boot.lds | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) ------------------------------------------------------------------------------- commit 1e77ce0e8b77c1e4ed516b5f8a46ef6d06921432 Author: Chen-Yu Tsai <wens@csie.org> Date: 2016-06-19 12:38:33 +0800 sunxi: Add missing CONFIG_ARMV7_PSCI_NR_CPUS for sun7i sun7i has 2 CPUs. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Base directory -> / include/configs/sun7i.h | 1 + 1 file changed, 1 insertion(+) ------------------------------------------------------------------------------- commit 94a389b257039511784b91a263913c845c8146e4 Author: Chen-Yu Tsai <wens@csie.org> Date: 2016-06-19 12:38:32 +0800 sunxi: Move remaining PSCI assembly code to C This patch finishes the rewrite of sunxi specific PSCI parts into C code. The assembly-only stack setup code has been factored out into a common function for ARMv7. The GIC setup code can be renamed as psci_arch_init. And we can use an empty stub function for psci_text_end. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Base directory -> / arch/arm/cpu/armv7/sunxi/Makefile | 1 - arch/arm/cpu/armv7/sunxi/psci.c | 7 ++++- arch/arm/cpu/armv7/sunxi/psci_head.S | 52 ------------------------------------ 3 files changed, 6 insertions(+), 54 deletions(-) ------------------------------------------------------------------------------- commit b52813239c10d857bd262dc850232ccccdbaa69e Author: Chen-Yu Tsai <wens@csie.org> Date: 2016-06-19 12:38:31 +0800 ARM: PSCI: Split out common stack setup code from psci_arch_init Every platform has the same stack setup code in assembly as part of psci_arch_init. Move this out into a common separate function, psci_stack_setup, for all platforms. This will allow us to move the remaining parts of psci_arch_init into C code, or drop it entirely. Also provide a stub no-op psci_arch_init for platforms that don't need their own specific setup code. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Base directory -> / arch/arm/cpu/armv7/ls102xa/psci.S | 10 ---------- arch/arm/cpu/armv7/mx7/psci.S | 16 ---------------- arch/arm/cpu/armv7/nonsec_virt.S | 7 ++++++- arch/arm/cpu/armv7/psci.S | 18 ++++++++++++++++++ arch/arm/cpu/armv7/sunxi/psci_head.S | 16 +--------------- arch/arm/mach-tegra/psci.S | 3 --- 6 files changed, 25 insertions(+), 45 deletions(-) ------------------------------------------------------------------------------- commit 66ab5286736e47cc4fdec9ceab4cc1b2f24ed066 Author: Hans de Goede <hdegoede@redhat.com> Date: 2016-07-09 22:20:00 +0200 sunxi: Add defconfig and dts file for the Orange Pi Lite SBC The Orange Pi Lite SBC is a small H3 based SBC, with 512MB RAM, micro-sd slot, HDMI out, 2 USB-A connectors, 1 micro-USB connector, sdio attached rtl8189ftv wifi and an ir receiver. The dts file is identical to the one submitted to the upstream kernel. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Ian Campbell <ijc@hellion.org.uk> Base directory -> / arch/arm/dts/Makefile | 1 + arch/arm/dts/sun8i-h3-orangepi-lite.dts | 178 ++++++++++++++++++++++++++++++++ board/sunxi/MAINTAINERS | 1 + configs/orangepi_lite_defconfig | 15 +++ 4 files changed, 195 insertions(+) ------------------------------------------------------------------------------- commit fa8a485d06188e38abc9c46fbd1be916fe16fb7a Author: Hans de Goede <hdegoede@redhat.com> Date: 2016-07-09 17:31:14 +0200 sunxi: Sync sun8i-h3-orangepi-plus.dts with upstream This enables extra USB controllers which enable use of the 3rd USB port on the new Orange Pi Plus 2E variant. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Ian Campbell <ijc@hellion.org.uk> Base directory -> / arch/arm/dts/sun8i-h3-orangepi-plus.dts | 127 +++++++------------------------- arch/arm/dts/sun8i-h3.dtsi | 10 +++ 2 files changed, 37 insertions(+), 100 deletions(-) ------------------------------------------------------------------------------- commit 74fcc927f65d782e4bab769a85acaa553acfe389 Author: Hans de Goede <hdegoede@redhat.com> Date: 2016-07-09 15:15:12 +0200 sunxi: orangepi_pc: Add support for eMMC found on the Orange Pi PC Plus The Plus variant of the Orange Pi PC has an eMMC, add support for this. Note we are using the same u-boot defconfig / dts for both the regular Orange Pi PC as well as the Orange Pi PC Plus. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Ian Campbell <ijc@hellion.org.uk> Base directory -> / configs/orangepi_pc_defconfig | 2 ++ 1 file changed, 2 insertions(+) ------------------------------------------------------------------------------- commit ef36d9ae1646e5aee7c1425ee507d275699a072e Author: Hans de Goede <hdegoede@redhat.com> Date: 2016-07-09 15:31:47 +0200 sunxi: Use BROM stored boot_media value to determine our boot-source Now that we know that the BROM stores a value indicating the boot-source at the beginning of SRAM, use that instead of trying to recreate the BROM's boot probing. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Ian Campbell <ijc@hellion.org.uk> Base directory -> / arch/arm/include/asm/arch-sunxi/mmc.h | 1 - arch/arm/mach-sunxi/board.c | 34 +++++++++++----------------------- board/sunxi/board.c | 3 +-- drivers/mmc/sunxi_mmc.c | 17 ----------------- 4 files changed, 12 insertions(+), 43 deletions(-) ------------------------------------------------------------------------------- commit 4a8c7c1f45a25687e08ff98ab27ba664c8fd7b74 Author: Hans de Goede <hdegoede@redhat.com> Date: 2016-07-09 09:56:56 +0200 sunxi: Remove some unnecessary #ifdefs We always define CONFIG_MISC_INIT_R on sunxi and misc_init_r is never called in the spl, so the linker will optimize it and parse_spl_header(), of which it is the only caller, away. On the tests I've done (Orange Pi PC build) the SPL actually becomes 8 bytes smaller with this patch. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Ian Campbell <ijc@hellion.org.uk> Base directory -> / board/sunxi/board.c | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) ------------------------------------------------------------------------------- commit f221961e963fcfa5ceab6455c24d6532877ca923 Author: Hans de Goede <hdegoede@redhat.com> Date: 2016-06-26 13:34:42 +0200 sunxi: Add support for multiple ethadrr-esses Currently we fill ethaddr with a fixed unique address based on the SoCs serial (from the sid) to make sure that boards which use the integrated emac / gmac get a fixed mac rather then a random one. On some boards the wifi does not come with a fixed mac either, so we need to also set eth1addr. This commit changes the ethaddr setting code to check for ethernet%d aliases (as fdt_fixup_ethernet does) and set an ethaddr variable for all present aliases. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Ian Campbell <ijc@hellion.org.uk> Base directory -> / board/sunxi/board.c | 63 +++++++++++++++++++++++++++++++++++++++-------------- 1 file changed, 47 insertions(+), 16 deletions(-) ------------------------------------------------------------------------------- commit 926fbcc08327bd0ffb9964765e6573c432957998 Author: Tom Rini <trini@konsulko.com> Date: 2016-07-15 08:06:42 -0400 Merge branch 'master' of git://git.denx.de/u-boot-samsung Base directory -> / arch/arm/dts/exynos4210-origen.dts | 2 +- arch/arm/dts/exynos4210-trats.dts | 4 +- arch/arm/dts/exynos4210-universal_c210.dts | 4 +- arch/arm/dts/exynos4412-odroid.dts | 4 +- arch/arm/dts/exynos4412-trats2.dts | 6 +- arch/arm/mach-exynos/include/mach/dwmmc.h | 1 - drivers/mmc/exynos_dw_mmc.c | 148 +++++++++++++++++------------ 7 files changed, 95 insertions(+), 74 deletions(-) ------------------------------------------------------------------------------- commit ebe621d5fb2f5c15aff50e0610372f2751fd152f Author: Tom Rini <trini@konsulko.com> Date: 2016-07-15 08:06:22 -0400 Merge git://git.denx.de/u-boot-dm Base directory -> / Makefile | 5 +- README | 3 - arch/arm/dts/rk3288-firefly.dts | 3 +- arch/arm/include/asm/arch-rockchip/sdram.h | 14 +- arch/arm/mach-rockchip/rk3288-board-spl.c | 25 +- arch/arm/mach-rockchip/rk3288/sdram_rk3288.c | 130 +++++++-- arch/arm/mach-rockchip/rk3288/syscon_rk3288.c | 38 +++ arch/sandbox/Kconfig | 7 +- arch/sandbox/config.mk | 5 + arch/sandbox/cpu/Makefile | 1 + arch/sandbox/cpu/cpu.c | 6 +- arch/sandbox/cpu/os.c | 51 ++++ arch/sandbox/cpu/spl.c | 68 +++++ arch/sandbox/cpu/start.c | 2 + arch/sandbox/cpu/u-boot-spl.lds | 24 ++ arch/sandbox/dts/sandbox.dts | 31 ++ arch/sandbox/include/asm/spl.h | 23 ++ arch/sandbox/lib/Makefile | 2 + board/sandbox/MAINTAINERS | 7 + common/spl/spl.c | 6 +- configs/firefly-rk3288_defconfig | 3 + configs/sandbox_spl_defconfig | 183 ++++++++++++ doc/driver-model/of-plat.txt | 310 ++++++++++++++++++++ drivers/clk/clk-uclass.c | 22 +- drivers/clk/clk_fixed_rate.c | 2 + drivers/clk/clk_rk3288.c | 33 ++- drivers/core/device-remove.c | 2 +- drivers/core/device.c | 47 ++- drivers/core/lists.c | 2 +- drivers/core/regmap.c | 57 +++- drivers/core/root.c | 4 +- drivers/core/syscon-uclass.c | 13 + drivers/misc/Makefile | 7 + drivers/misc/spltest_sandbox.c | 53 ++++ drivers/mmc/rockchip_dw_mmc.c | 59 ++-- drivers/pinctrl/rockchip/pinctrl_rk3288.c | 8 +- drivers/serial/Kconfig | 9 + drivers/serial/Makefile | 3 + drivers/serial/ns16550.c | 4 +- drivers/serial/sandbox.c | 2 + drivers/serial/serial-uclass.c | 8 +- drivers/serial/serial_rockchip.c | 43 +++ dts/Kconfig | 21 ++ include/clk.h | 4 + include/configs/sandbox.h | 4 + include/configs/sandbox_spl.h | 20 ++ include/dm/device.h | 6 +- include/dm/platdata.h | 5 + include/dt-structs.h | 19 ++ include/os.h | 25 ++ include/regmap.h | 16 ++ include/syscon.h | 11 + lib/Makefile | 5 +- lib/libfdt/libfdt.swig | 89 ++++++ lib/libfdt/setup.py | 38 +++ lib/libfdt/test_libfdt.py | 14 + lib/tiny-printf.c | 9 + scripts/Makefile.host | 9 +- scripts/Makefile.spl | 47 ++- test/py/conftest.py | 2 +- test/py/tests/test_ofplatdata.py | 42 +++ test/py/u_boot_console_base.py | 12 +- test/py/u_boot_console_sandbox.py | 6 +- test/py/u_boot_spawn.py | 13 + tools/Makefile | 14 + tools/dtoc/.gitignore | 1 + tools/dtoc/dtoc | 1 + tools/dtoc/dtoc.py | 394 ++++++++++++++++++++++++++ tools/dtoc/fdt.py | 180 ++++++++++++ tools/dtoc/fdt_fallback.py | 207 ++++++++++++++ tools/dtoc/fdt_util.py | 86 ++++++ 71 files changed, 2495 insertions(+), 130 deletions(-) ------------------------------------------------------------------------------- commit a29710c525ff43c3031b879e2beac306a09c6944 Author: Amit Singh Tomar <amittomer25@gmail.com> Date: 2016-07-06 17:59:44 +0530 net: Add EMAC driver for H3/A83T/A64 SoCs. This patch add EMAC driver support for H3/A83T/A64 SoCs. Tested on Pine64(A64-External PHY) and Orangepipc(H3-Internal PHY). BIG Thanks to Andre for providing some of the DT code. Signed-off-by: Amit Singh Tomar <amittomer25@gmail.com> Acked-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Base directory -> / arch/arm/dts/sun50i-a64-pine64-plus.dts | 13 + arch/arm/dts/sun50i-a64.dtsi | 33 ++ arch/arm/dts/sun8i-h3-orangepi-2.dts | 13 + arch/arm/dts/sun8i-h3-orangepi-pc.dts | 12 + arch/arm/dts/sun8i-h3.dtsi | 25 + arch/arm/include/asm/arch-sunxi/clock_sun6i.h | 4 +- arch/arm/include/asm/arch-sunxi/cpu_sun4i.h | 3 +- configs/orangepi_pc_defconfig | 1 + configs/pine64_plus_defconfig | 1 + drivers/net/Kconfig | 9 + drivers/net/Makefile | 1 + drivers/net/sun8i_emac.c | 789 ++++++++++++++++++++++++++ 12 files changed, 902 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit 26c0c15786039fb437925c08205702169462e343 Author: Tobias Doerffel <tobias.doerffel@ed-chemnitz.de> Date: 2016-07-08 12:40:14 +0200 sunxi: mmc: increase status register polling rate for data transfers With a recent bunch of SD3.0 cards in our A20-based board we experienced data transfer rates of about 250 KiB/s instead of 10 MiB/s with previous cards from the same vendor (both 4 GB/class 10). By increasing status register polling rate from 1 kHz to 1 MHz we were able to reach the original transfer rates again. With the old cards we now even reach about 16 MiB/s. Signed-off-by: Tobias Doerffel <tobias.doerffel@ed-chemnitz.de> Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Base directory -> / drivers/mmc/sunxi_mmc.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) ------------------------------------------------------------------------------- commit 320e0570e67efbd093d7750655a758c66e9d5528 Author: Bernhard Nortmann <bernhard.nortmann@web.de> Date: 2016-06-09 07:37:35 +0200 sunxi: FEL - Add the ability to recognize and auto-import uEnv-style data The patch converts one of the "reserved" fields in the sunxi SPL header to a fel_uEnv_length entry. When booting over USB ("FEL mode"), this enables the sunxi-fel utility to pass the string length of uEnv.txt compatible data; at the same time requesting that this data be imported into the U-Boot environment. If parse_spl_header() in the sunxi board.c encounters a non-zero value in this header field, it will therefore call himport_r() to merge the string (lines) passed via FEL into the default settings. Environment vars can be changed this way even before U-Boot will attempt to autoboot - specifically, this also allows overriding "bootcmd". With fel_script_addr set and a zero fel_uEnv_length, U-Boot is safe to assume that data in .scr format (a mkimage-type script) was passed at fel_script_addr, and will handle it using the existing mechanism ("bootcmd_fel"). Signed-off-by: Bernhard Nortmann <bernhard.nortmann@web.de> Acked-by: Siarhei Siamashka <siarhei.siamashka@gmail.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Base directory -> / arch/arm/include/asm/arch-sunxi/spl.h | 9 ++++++++- board/sunxi/board.c | 29 +++++++++++++++++++++-------- 2 files changed, 29 insertions(+), 9 deletions(-) ------------------------------------------------------------------------------- commit 19e99fb4ff73f648f2b316d0ddd8ee3c01496bd4 Author: Siarhei Siamashka <siarhei.siamashka@gmail.com> Date: 2016-06-07 14:28:34 +0300 sunxi: Support booting from SPI flash Allwinner devices support SPI flash as one of the possible bootable media type. The SPI flash chip needs to be connected to SPI0 pins (port C) to make this work. More information is available at: https://linux-sunxi.org/Bootable_SPI_flash This patch adds the initial support for booting from SPI flash. The existing SPI frameworks are not used in order to reduce the SPL code size. Right now the SPL size grows by ~370 bytes when CONFIG_SPL_SPI_SUNXI option is enabled. While there are no popular Allwinner devices with SPI flash at the moment, testing can be done using a SPI flash module (it can be bought for ~2$ on ebay) and jumper wires with the boards, which expose relevant pins on the expansion header. The SPI flash chips themselves are very cheap (some prices are even listed as low as 4 cents) and should not cost much if somebody decides to design a development board with an SPI flash chip soldered on the PCB. Another nice feature of the SPI flash is that it can be safely accessed in a device-independent way (since we know that the boot ROM is already probing these pins during the boot time). And if, for example, Olimex boards opted to use SPI flash instead of EEPROM, then they would have been able to have U-Boot installed in the SPI flash now and boot the rest of the system from the SATA hard drive. Hopefully we may see new interesting Allwinner based development boards in the future, now that the software support for the SPI flash is in a better shape :-) Testing can be done by enabling the CONFIG_SPL_SPI_SUNXI option in a board defconfig, then building U-Boot and finally flashing the resulting u-boot-sunxi-with-spl.bin binary over USB OTG with a help of the sunxi-fel tool: sunxi-fel spiflash-write 0 u-boot-sunxi-with-spl.bin The device needs to be switched into FEL (USB recovery) mode first. The most suitable boards for testing are Orange Pi PC and Pine64. Because these boards are cheap, have no built-in NAND/eMMC and expose SPI0 pins on the Raspberry Pi compatible expansion header. The A13-OLinuXino-Micro board also can be used. Signed-off-by: Siarhei Siamashka <siarhei.siamashka@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Base directory -> / arch/arm/include/asm/arch-sunxi/gpio.h | 3 + arch/arm/mach-sunxi/board.c | 5 + common/spl/spl.c | 4 +- drivers/mtd/spi/Kconfig | 12 ++ drivers/mtd/spi/Makefile | 1 + drivers/mtd/spi/sunxi_spi_spl.c | 283 +++++++++++++++++++++++++++++++++ include/configs/sunxi-common.h | 5 + 7 files changed, 311 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit 1269625177f120d659f66b18de4b532b16c44561 Author: Simon Glass <sjg@chromium.org> Date: 2016-07-04 11:58:42 -0600 dm: Update the of-platdata README for the new features Revise the content based on the v2 additions. This is kept as a separate patch to avoid confusing those who have already reviewed the v1 series. Signed-off-by: Simon Glass <sjg@chromium.org> Suggested-by: Tom Rini <trini@konsulko.com> Base directory -> / doc/driver-model/of-plat.txt | 110 ++++++++++++++++++++++++++++++------------- 1 file changed, 76 insertions(+), 34 deletions(-) ------------------------------------------------------------------------------- commit b979d3d4c55def30cd0eb1e2c82beefb30fc8e87 Author: Simon Glass <sjg@chromium.org> Date: 2016-07-04 11:58:41 -0600 dm: Add a test for of-platdata Add a simple test which checks that the of-platdata system is working correctly. The sequence is as follows: - SPL starts up and probes all the UCLASS_MISC drivers - There are 3 of these in sandbox.dts - Therefore there should be 3 U_BOOT_DEVICE() declarations in dt-platdata.c - These should produce 3 sandbox_spl_test devices - Each device prints out its platform data when probed - This test checks for this output and compares it against expectations Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / test/py/tests/test_ofplatdata.py | 42 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) ------------------------------------------------------------------------------- commit a811779b174f8c5c687aaa5574dfdea9f3745f98 Author: Simon Glass <sjg@chromium.org> Date: 2016-07-04 11:58:40 -0600 test/py: Start sandbox SPL when enabled When sandbox SPL is enabled we want to start that rather than U-Boot proper, since some tests may rely on running it first. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / test/py/u_boot_console_sandbox.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit ebec58fbcb6da7404b535b9d860546d9baef55c2 Author: Simon Glass <sjg@chromium.org> Date: 2016-07-04 11:58:39 -0600 test/py: Provide a way to get early console output Some tests want to check the console output from SPL or U-Boot proper. Provide a means to do this. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / test/py/u_boot_console_base.py | 10 ++++++++++ test/py/u_boot_spawn.py | 13 +++++++++++++ 2 files changed, 23 insertions(+) ------------------------------------------------------------------------------- commit c7f636f59d7d506b89d7fc52aa6509329e9ded1b Author: Simon Glass <sjg@chromium.org> Date: 2016-07-04 11:58:38 -0600 test/py: Note which console produced unexpected output At present the SPL and U-Boot consoles both present the same error message when the expected console output does not appear. Add "SPL" to the SPL error message to resolve this ambiguity. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / test/py/u_boot_console_base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 2fedbaa4aea4f781863c9b11879ae4d43149c447 Author: Simon Glass <sjg@chromium.org> Date: 2016-07-04 11:58:37 -0600 test/py: Handle testing with the sandbox_spl board This board can sometimes be used for tests. Handle it the same way as sandbox. Note: I plan to drop the sandbox_spl board at some point and merge its features into sandbox. So this commit may not be necessary. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / test/py/conftest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 97feca3325bb2065a7ef7d30e1f308b74f1fb33c Author: Simon Glass <sjg@chromium.org> Date: 2016-07-04 11:58:36 -0600 rockchip: Use of-platdata for firefly-rk3288 As an experiment, move this board over to use of-platdata. This means that its SPL configuration will come from C structures generated at build-time from the device tree, instead of coming from the device tree at run-time. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / configs/firefly-rk3288_defconfig | 3 +++ 1 file changed, 3 insertions(+) ------------------------------------------------------------------------------- commit 086ec0e26d6117f492bad138b4dbee9318ff61bd Author: Simon Glass <sjg@chromium.org> Date: 2016-07-04 11:58:35 -0600 rockchip: sdram: Update the driver to support of-platdata Add support for of-platdata with rk3288 SDRAM initr. This requires decoding the of-platdata struct and setting up the device from that. Also the driver needs to be renamed to match the string that of-platdata will search for. The platform data is copied from the of-platdata structure to the one used by the driver. This allows the same code to be used with device tree and of-platdata. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/arm/mach-rockchip/rk3288/sdram_rk3288.c | 40 +++++++++++++++++++++++++++- 1 file changed, 39 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit fb4baf5d58c212f0b78ac125ee2d7c595b6437e9 Author: Simon Glass <sjg@chromium.org> Date: 2016-07-04 11:58:34 -0600 rockchip: sdram: Move all DT decoding to ofdata_to_platdata() It is more correct to avoid touching the device tree in the probe() method. Update the driver to work this way. Note that only SPL needs to fiddle with the SDRAM registers, so decoding the platform data fully is not necessary in U-Boot proper. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/arm/include/asm/arch-rockchip/sdram.h | 8 --- arch/arm/mach-rockchip/rk3288/sdram_rk3288.c | 94 +++++++++++++++++++--------- 2 files changed, 64 insertions(+), 38 deletions(-) ------------------------------------------------------------------------------- commit 5ce4bb2709cea7bde2196ad5f3af11f8f3aa3375 Author: Simon Glass <sjg@chromium.org> Date: 2016-07-04 11:58:33 -0600 rockchip: syscon: Update to work with of-platdata The syscon devices all end up having diffent driver names with of-platdata, since the driver name comes from the first string in the compatible list. Add separate device declarations for each one, and add a bind method to set up driver_data correctly. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/arm/mach-rockchip/rk3288/syscon_rk3288.c | 38 +++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) ------------------------------------------------------------------------------- commit 6afc4661e0a2daa655096702171c420518f8c2a8 Author: Simon Glass <sjg@chromium.org> Date: 2016-07-04 11:58:32 -0600 rockchip: Don't use spl_boot_device() with of-platdata This function cannot look at the device tree when of-platdata is used. Update the code to handle this. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/arm/mach-rockchip/rk3288-board-spl.c | 2 ++ 1 file changed, 2 insertions(+) ------------------------------------------------------------------------------- commit 6efeeea79c880d3dd262e0dca9da2687f0ab68c9 Author: Simon Glass <sjg@chromium.org> Date: 2016-07-04 11:58:31 -0600 rockchip: Move the MMC setup check earlier When the boot ROM sets up MMC we don't need to do it again. Remove the MMC setup code entirely. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/arm/mach-rockchip/rk3288-board-spl.c | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) ------------------------------------------------------------------------------- commit d95b14ffab33713c3058008bac9c05a792d39a17 Author: Simon Glass <sjg@chromium.org> Date: 2016-07-04 11:58:30 -0600 rockchip: pinctrl: Update the rk3288 driver to support of-platdata Add support for of-platdata with rk3288. This requires disabling access to the device tree and renaming the driver to match the string that of-platdata will search for. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/pinctrl/rockchip/pinctrl_rk3288.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 2d143bd6199c6c7ed6513c6a066569f76b1289f4 Author: Simon Glass <sjg@chromium.org> Date: 2016-07-04 11:58:29 -0600 rockchip: clk: Update the rk3288 driver to support of-platdata Add support for of-platdata with rk3288. This requires decoding the of-platdata struct and setting up the devices from that. Also the driver needs to be renamed to match the string that of-platdata will search for. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/clk/clk_rk3288.c | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit 08fd82cf3e55c0ab7b1038d82a7c744d3193c269 Author: Simon Glass <sjg@chromium.org> Date: 2016-07-04 11:58:28 -0600 rockchip: clk: Move all DT decoding to ofdata_to_platdata() It is more correct to avoid touching the device tree in the probe() method. Update the driver to work this way. Also add an error check on grf since if that fails then we should not use it. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/clk/clk_rk3288.c | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit bfeb443e3d583a5e7bbd98a67175f3a082a5e3d2 Author: Simon Glass <sjg@chromium.org> Date: 2016-07-04 11:58:27 -0600 rockchip: mmc: Update the driver to support of-platdata Add support for of-platdata with rk3288. This requires decoding the of-platdata struct and setting up the device from that. Also the driver needs to be renamed to match the string that of-platdata will search for. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/mmc/rockchip_dw_mmc.c | 29 ++++++++++++++++++++++++++--- 1 file changed, 26 insertions(+), 3 deletions(-) ------------------------------------------------------------------------------- commit 6809b04f48fe02c26127383391d153d18134c77b Author: Simon Glass <sjg@chromium.org> Date: 2016-07-04 11:58:26 -0600 rockchip: mmc: Move all DT decoding to ofdata_to_platdata() It is more correct to avoid touching the device tree in the probe() method. Update the driver to work this way. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/mmc/rockchip_dw_mmc.c | 32 +++++++++++++++++--------------- 1 file changed, 17 insertions(+), 15 deletions(-) ------------------------------------------------------------------------------- commit 9ca7e6720e96e82be1de9ec0ba6bac9f1beeb02f Author: Simon Glass <sjg@chromium.org> Date: 2016-07-04 11:58:25 -0600 rockchip: Update the sdram-channel property to support of-platdata Add an extra byte so that this data is not byteswapped. Add a comment to the code to explain the purpose. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/arm/dts/rk3288-firefly.dts | 3 ++- arch/arm/include/asm/arch-rockchip/sdram.h | 6 ++++++ 2 files changed, 8 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 2fc24d5335a35a4880fdc04cf4d45754d29cd415 Author: Simon Glass <sjg@chromium.org> Date: 2016-07-04 11:58:24 -0600 rockchip: serial: Add an of-platdata driver for rockchip Add a driver that works with of-platdata. It sets up the platform data and calls the standard ns16550 driver. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/serial/Kconfig | 9 +++++++++ drivers/serial/Makefile | 3 +++ drivers/serial/serial_rockchip.c | 43 ++++++++++++++++++++++++++++++++++++++++ 3 files changed, 55 insertions(+) ------------------------------------------------------------------------------- commit b2927fbaa89d2c7f7ac3977bc0cab2a4b7924acd Author: Simon Glass <sjg@chromium.org> Date: 2016-07-04 11:58:23 -0600 dm: serial: ns16550: Update to support of-platdata With of-platdata this driver cannot know the format of the of-platdata struct, so we cannot use generic code for accessing the of-platdata. Each SoC that uses this driver will need to set up ns16550's platdata for it. So don't compile in the generic code. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/serial/ns16550.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 1e6ca1a6ad7285569b22465b8387db242b310553 Author: Simon Glass <sjg@chromium.org> Date: 2016-07-04 11:58:22 -0600 dm: core: Add an implementation of regmap_init_mem_platdata() Add an implementation of this function which mirrors the functions of the automatic device-tree implementation. This can be used with of-platdata to create regmaps. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/core/regmap.c | 18 ++++++++++++++++-- include/regmap.h | 15 ++++++++++++++- 2 files changed, 30 insertions(+), 3 deletions(-) ------------------------------------------------------------------------------- commit a951431e827cfd862a4c095e85e8650a6b8370f7 Author: Simon Glass <sjg@chromium.org> Date: 2016-07-04 11:58:21 -0600 dm: core: Move regmap allocation into a separate function We plan to add a new way of creating a regmap for of-platdata. Move the allocation code into a separate function so that it can be shared. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/core/regmap.c | 34 ++++++++++++++++++++++------------ 1 file changed, 22 insertions(+), 12 deletions(-) ------------------------------------------------------------------------------- commit 3949a413edb2c2be6ad930a5ba4b240bbca53d08 Author: Simon Glass <sjg@chromium.org> Date: 2016-07-04 11:58:20 -0600 dm: sandbox: Enable of-platdata for sandbox_spl Enable this feature so that we can use it for testing in sandbox_spl. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / configs/sandbox_spl_defconfig | 1 + 1 file changed, 1 insertion(+) ------------------------------------------------------------------------------- commit 2c9dfb5807bfbf97b60481586d5db3c677cba65b Author: Simon Glass <sjg@chromium.org> Date: 2016-07-04 11:58:19 -0600 sandbox: Don't bring in the eeprom emulator in SPL This driver should not be used in SPL since we do not have I2C support enabled in SPL on sandbox. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/misc/Makefile | 2 ++ 1 file changed, 2 insertions(+) ------------------------------------------------------------------------------- commit 9fa28190091e59b7c9b9ba32e5a81fa432c485b6 Author: Simon Glass <sjg@chromium.org> Date: 2016-07-04 11:58:18 -0600 dm: core: Expand platdata for of-platdata devices Devices which use of-platdata have their own platdata. However, in many cases the driver will have its own auto-alloced platdata, for use with the device tree. The ofdata_to_platdata() method converts the device tree settings to platdata. With of-platdata we would not normally allocate the platdata since it is provided by the U_BOOT_DEVICE() declaration. However this is inconvenient since the of-platdata struct is closely tied to the device tree properties. It is unlikely to exactly match the platdata needed by the driver. In fact a useful approach is to declare platdata in the driver like this: struct r3288_mmc_platdata { struct dtd_rockchip_rk3288_dw_mshc of_platdata; /* the 'normal' fields go here */ }; In this case we have dt_platadata available, but the normal fields are not present, since ofdata_to_platdata() is never called. In fact driver model doesn't allocate any space for the 'normal' fields, since it sees that there is already platform data attached to the device. To make this easier, adjust driver model to allocate the full size of the struct (i.e. platdata_auto_alloc_size from the driver) and copy in the of-platdata. This means that when the driver's bind() method is called, the of-platdata will be present, followed by zero bytes for the empty 'normal field' portion. A new DM_FLAG_OF_PLATDATA flag is available that indicates that the platdata came from of-platdata. When the allocation/copy happens, the DM_FLAG_ALLOC_PDATA flag will be set as well. The dtoc tool is updated to output the platdata_size field, since U-Boot has no other way of knowing the size of the of-platdata struct. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/core/device.c | 43 ++++++++++++++++++++++++++++++++----------- include/dm/device.h | 2 ++ include/dm/platdata.h | 5 +++++ tools/dtoc/dtoc.py | 2 ++ 4 files changed, 41 insertions(+), 11 deletions(-) ------------------------------------------------------------------------------- commit d22199b166e7064ad68cba52be390b88f2de79c9 Author: Simon Glass <sjg@chromium.org> Date: 2016-07-04 11:58:17 -0600 dm: Don't attach the device tree to SPL with of-platdata When of-platdata is used in SPL we don't use the device tree. So there is no point in attaching it. Adjust the Makefile to skip attaching the device tree when of-platdata is enabled. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / scripts/Makefile.spl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit efefe1221bd779f319b810c5415e577c331edec8 Author: Simon Glass <sjg@chromium.org> Date: 2016-07-04 11:58:16 -0600 dtoc: Ignore the u-boot, dm-pre-reloc property This property is not useful for of-platdata, so omit it. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / tools/dtoc/dtoc.py | 1 + 1 file changed, 1 insertion(+) ------------------------------------------------------------------------------- commit fd1c2d9b6a3a9b41ae070ca47361bd6cc6aaaf09 Author: Simon Glass <sjg@chromium.org> Date: 2016-07-04 11:58:15 -0600 dm: core: Rename DM_NAME_ALLOCED to DM_FLAG_NAME_ALLOCED This is a flag. Adjust the name to be consistent with the other flags. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/core/device-remove.c | 2 +- drivers/core/device.c | 2 +- include/dm/device.h | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) ------------------------------------------------------------------------------- commit 7d23b9cf2b1a5a86f7e89a443e3a2de9dac8a9ad Author: Simon Glass <sjg@chromium.org> Date: 2016-07-04 11:58:14 -0600 dm: spl: Bind in all devices in SPL with of-platdata When CONFIG_OF_PLATDATA is enabled, we cannot use the u-boot,dm-pre-reloc device tree property since the device tree is not available. However, dt-platdata.c only includes devices which would have been present in the device tree, and we can assume that all such devices are needed for SPL. If they were not needed, they would have been omitted to save space. So in this case, bind all devices regardless of the u-boot,dm-pre-reloc setting. This avoids needing to add a DM_FLAG_PRE_RELOC to every driver, thus affecting U-Boot proper also. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / common/spl/spl.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit e24091398d50961ece2fcb2924d7c37d329abc09 Author: Simon Glass <sjg@chromium.org> Date: 2016-07-04 11:58:13 -0600 tiny-printf: Support assert() At present assert() is not supported with tiny-printf, so when DEBUG is enabled a build error is generated for each assert(). Add an __assert_fail() function to correct this. It prints a message and then hangs. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / lib/tiny-printf.c | 9 +++++++++ 1 file changed, 9 insertions(+) ------------------------------------------------------------------------------- commit 162a7a421718a2d15716a78ffb7abb1d94f6b03a Author: Simon Glass <sjg@chromium.org> Date: 2016-07-04 11:58:12 -0600 Only build the libfdt python module if 'swig' is available When swig is not available, we can still build correctly. So make this optional. Add a comment about how to enable this build. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / tools/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 76bce10d2131938fcd5b1bbb0479cdb66daffa29 Author: Simon Glass <sjg@chromium.org> Date: 2016-07-04 11:58:11 -0600 dm: Add a more efficient libfdt library Add a Python version of the libfdt library which contains enough features to support the dtoc tool. This is only a very bare-bones implementation. It requires the 'swig' to build. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / lib/libfdt/libfdt.swig | 89 +++++++++++++++++++++++ lib/libfdt/setup.py | 38 ++++++++++ lib/libfdt/test_libfdt.py | 14 ++++ scripts/Makefile.host | 9 ++- tools/Makefile | 11 +++ tools/dtoc/fdt.py | 180 ++++++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 339 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit dbbe2e6401fc8539f456cab7ef1dd38f9495591d Author: Simon Glass <sjg@chromium.org> Date: 2016-07-04 11:58:10 -0600 dm: Makefile: Build of-platdata files when the feature is enabled Update the Makefile to call dtoc to create the C header and source files, then build these into the image. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / scripts/Makefile.spl | 39 ++++++++++++++++++++++++++++++++++++--- 1 file changed, 36 insertions(+), 3 deletions(-) ------------------------------------------------------------------------------- commit 69f2ed7746c8944b2865c3838c36d97908305586 Author: Simon Glass <sjg@chromium.org> Date: 2016-07-04 11:58:09 -0600 dm: Add a tool to generate C code from a device tree This tool can produce C struct definitions and C platform data tables. This is used to support the of-platdata feature. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / tools/dtoc/dtoc | 1 + tools/dtoc/dtoc.py | 391 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 392 insertions(+) ------------------------------------------------------------------------------- commit ec564b47dad46e57347cef7b3f7f5bb51a329302 Author: Simon Glass <sjg@chromium.org> Date: 2016-07-04 11:58:08 -0600 dm: Add a library to provide simple device-tree access This Python library provides a way to access the contents of the device tree. It uses fdtget, so is inefficient for larger device tree files. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / tools/dtoc/.gitignore | 1 + tools/dtoc/fdt_fallback.py | 207 +++++++++++++++++++++++++++++++++++++++++++++ tools/dtoc/fdt_util.py | 86 +++++++++++++++++++ 3 files changed, 294 insertions(+) ------------------------------------------------------------------------------- commit 39782afb1ae86c15e59b1118278513a1a545652c Author: Simon Glass <sjg@chromium.org> Date: 2016-07-04 11:58:07 -0600 dm: Add a README for of-platdata Add documentation on how this works, including the benefits and drawbacks. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / doc/driver-model/of-plat.txt | 268 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 268 insertions(+) ------------------------------------------------------------------------------- commit 2789ddb9d5bc6acd1f7a2822fed08cd7cf2a965e Author: Simon Glass <sjg@chromium.org> Date: 2016-07-04 11:58:06 -0600 dm: Add an option to enable the of-platdata feature Add a Kconfig option to enable this feature. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / dts/Kconfig | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) ------------------------------------------------------------------------------- commit 7a53a54073e663d79ea0e08818e98f14fde5685a Author: Simon Glass <sjg@chromium.org> Date: 2016-07-04 11:58:05 -0600 dm: Don't include fdtdec functions when of-platdata is enabled We cannot access the device tree in this case, so avoid compiling in the various device-tree helper functions. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / lib/Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) ------------------------------------------------------------------------------- commit b484b0daefc43bb3a6258a44040b53602060b2af Author: Simon Glass <sjg@chromium.org> Date: 2016-07-04 11:58:04 -0600 dm: serial: Add support for of-platdata When this feature is enabled, we cannot access the device tree to find out which serial device to use. Just use the first serial driver we find. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/serial/serial-uclass.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 7423daa60eb30b6613dfc19a51c55de23fd4d703 Author: Simon Glass <sjg@chromium.org> Date: 2016-07-04 11:58:03 -0600 dm: clk: Add support for of-platdata Add support for this feature in the core clock code. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/clk/clk-uclass.c | 22 ++++++++++++++++++++-- drivers/clk/clk_fixed_rate.c | 2 ++ include/clk.h | 4 ++++ 3 files changed, 26 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit f24770d8124c097b7b57ccc22b67aaf02bb6e850 Author: Simon Glass <sjg@chromium.org> Date: 2016-07-04 11:58:02 -0600 dm: Add a header that provides access to the of-platdata structs This header can be included from anywhere, but will only pull in the of-platdata struct definitions when this feature is enabled (and only in SPL). Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / include/dt-structs.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) ------------------------------------------------------------------------------- commit bab8233a1d17de222e83e0cbf8eb1d9d691adaf3 Author: Simon Glass <sjg@chromium.org> Date: 2016-07-04 11:58:01 -0600 dm: sandbox: Add a simple driver to test of-platdata Add a driver which uses of-platdata to obtain its platform data. This can be used to test the feature in sandbox. It displays the contents of its platform data. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/misc/Makefile | 5 ++++ drivers/misc/spltest_sandbox.c | 53 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 58 insertions(+) ------------------------------------------------------------------------------- commit 04ecf36ba60f41f695095226e53310b4acaebf1e Author: Simon Glass <sjg@chromium.org> Date: 2016-07-04 11:58:00 -0600 dm: syscon: Add support for of-platdata Provide a new function which can cope with obtaining information from of-platdata instead of the device tree. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/core/syscon-uclass.c | 13 +++++++++++++ include/syscon.h | 11 +++++++++++ 2 files changed, 24 insertions(+) ------------------------------------------------------------------------------- commit 3b2a29e0971397085c616c89a3a09f2609f50ca4 Author: Simon Glass <sjg@chromium.org> Date: 2016-07-04 11:57:59 -0600 dm: regmap: Add a dummy implementation for of-platdata Add a placeholder for now so that this code will compile. It currently does nothing. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/core/regmap.c | 9 +++++++++ include/regmap.h | 3 +++ 2 files changed, 12 insertions(+) ------------------------------------------------------------------------------- commit 29629eb897f8d8119b06477d0ca3c4b424726e51 Author: Simon Glass <sjg@chromium.org> Date: 2016-07-04 11:57:58 -0600 dm: core: Don't use device tree with of-platdata When CONFIG_SPL_OF_PLATDATA is enabled we should not access the device tree. Remove all references to this in the core driver-model code. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/core/device.c | 2 +- drivers/core/lists.c | 2 +- drivers/core/root.c | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) ------------------------------------------------------------------------------- commit 054b3a1e80fcbca02cb0d0728629af02f18517f5 Author: Simon Glass <sjg@chromium.org> Date: 2016-07-04 11:57:57 -0600 dm: Makefile: Build of-platdata before SPL Since SPL needs the of-platdata structures, build these before starting to build any SPL components. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit d223e0a82255b5fa6049f92556236f8ffd6b745c Author: Simon Glass <sjg@chromium.org> Date: 2016-07-04 11:57:56 -0600 dm: spl: Don't set up device tree with of-platdata When this feature is enabled, we should not access the device tree. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / common/spl/spl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit a091a8f084f731953fa77a3da3b5bec72d37ad0f Author: Simon Glass <sjg@chromium.org> Date: 2016-07-04 11:57:55 -0600 sandbox: Add a test device that uses of-platdata Start up the test devices. These print out of-platdata contents, providing a check that the of-platdata feature is working correctly. The device-tree changes are made to sandbox.dts rather than test.dts. since the former controls the of-platdata generation. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/sandbox/cpu/spl.c | 17 +++++++++++++++++ arch/sandbox/dts/sandbox.dts | 31 +++++++++++++++++++++++++++++++ include/configs/sandbox_spl.h | 2 ++ 3 files changed, 50 insertions(+) ------------------------------------------------------------------------------- commit 8797b2cae3ac5ddb005665e4b5cde4783a4f5555 Author: Simon Glass <sjg@chromium.org> Date: 2016-07-04 11:57:54 -0600 sandbox: Add a new sandbox_spl board It is useful to be able to build SPL for sandbox. It provides additional build coverage and allows SPL features to be tested in sandbox. However it does not need worthwhile to always create an SPL build. It nearly doubles the build time and the feature is (so far) seldom used. So for now, create a separate build target for sandbox SPL. This allows experimentation with this new feature without impacting existing workflows. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/sandbox/Kconfig | 7 +- arch/sandbox/cpu/u-boot-spl.lds | 24 ++++++ board/sandbox/MAINTAINERS | 7 ++ configs/sandbox_spl_defconfig | 182 ++++++++++++++++++++++++++++++++++++++++ include/configs/sandbox_spl.h | 18 ++++ 5 files changed, 237 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 0110f509c85de1e4bc7fff301a1194fdee4bdc5f Author: Simon Glass <sjg@chromium.org> Date: 2016-07-04 11:57:53 -0600 sandbox: serial: Don't sync video in SPL SPL does not support an LCD display so there is no need to sync the video when there is serial output. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/serial/sandbox.c | 2 ++ 1 file changed, 2 insertions(+) ------------------------------------------------------------------------------- commit 1c12bcee70d99fa4f4124a87ea965526ee164d3c Author: Simon Glass <sjg@chromium.org> Date: 2016-07-04 11:57:52 -0600 sandbox: Don't use IDE and iotrace in SPL These functions are not supported in SPL, so drop them. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / include/configs/sandbox.h | 4 ++++ 1 file changed, 4 insertions(+) ------------------------------------------------------------------------------- commit e961a66df91ea4cbf9b6978995f1ba6c8d67aa33 Author: Simon Glass <sjg@chromium.org> Date: 2016-07-04 11:57:51 -0600 sandbox: Add basic SPL implementation Add an sandbox implementation for the generic SPL framework. This supports locating and running U-Boot proper. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/sandbox/cpu/Makefile | 1 + arch/sandbox/cpu/spl.c | 51 ++++++++++++++++++++++++++++++++++++++++++ arch/sandbox/include/asm/spl.h | 23 +++++++++++++++++++ 3 files changed, 75 insertions(+) ------------------------------------------------------------------------------- commit d0d0746e0c7c9eeddc82106cf7d4c596eb45f6c2 Author: Simon Glass <sjg@chromium.org> Date: 2016-07-04 11:57:50 -0600 sandbox: Don't include the main loop in SPL SPL does not have a command interface so we should not include the main loop code. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/sandbox/cpu/start.c | 2 ++ 1 file changed, 2 insertions(+) ------------------------------------------------------------------------------- commit a7d9caecd770684e6e189dfa24240145ba29379e Author: Simon Glass <sjg@chromium.org> Date: 2016-07-04 11:57:49 -0600 sandbox: Don't use PCI in SPL PCI is not supported in SPL for sandbox, so avoid using it. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/sandbox/cpu/cpu.c | 2 +- arch/sandbox/lib/Makefile | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit f4289cbd8a8d607399b507cb695b46cd771d6c1b Author: Simon Glass <sjg@chromium.org> Date: 2016-07-04 11:57:48 -0600 sandbox: Add some missing headers in cpu.c These headers are needed in case they are not transitively included. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/sandbox/cpu/cpu.c | 2 ++ 1 file changed, 2 insertions(+) ------------------------------------------------------------------------------- commit 6e20650425842244603380c275e7d7701305d2a0 Author: Simon Glass <sjg@chromium.org> Date: 2016-07-04 11:57:47 -0600 sandbox: Correct header file order in cpu.c The dm/ file should go at the end. Move it. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/sandbox/cpu/cpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 4cfc416701e2fb4214dffa78ba2c3f7e2ffed3bb Author: Simon Glass <sjg@chromium.org> Date: 2016-07-04 11:57:46 -0600 sandbox: Support building an SPL image When building an SPL image, override the link flags so that it uses the system libraries. This is similar to the way the non-SPL image is built. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/sandbox/config.mk | 5 +++++ 1 file changed, 5 insertions(+) ------------------------------------------------------------------------------- commit d4e33f5a72accc891e3600cb2d2bc579004de9e1 Author: Simon Glass <sjg@chromium.org> Date: 2016-07-04 11:57:45 -0600 sandbox: Allow chaining from SPL to U-Boot proper SPL is expected to load and run U-Boot. This needs to work with sandbox also. Provide a function to locate the U-Boot image, and another to start it. This allows SPL to function on sandbox as it does on other archs. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/sandbox/cpu/os.c | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ include/os.h | 25 +++++++++++++++++++++++++ 2 files changed, 76 insertions(+) ------------------------------------------------------------------------------- commit 72a7e0760447ed46ca50174cb8798a2e84dedf85 Author: Simon Glass <sjg@chromium.org> Date: 2016-07-04 11:57:44 -0600 Makefile: Allow the SPL final link rule to be overridden Overriding the final link rule is possible with U-Boot proper. It us used to create a sandbox image links with host libraries. To build a sandbox SPL image we need the same feature for SPL. To support this, update the SPL link rule so sandbox can override it. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / scripts/Makefile.spl | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit 12c550d4fbfae272793c222c51af77613ffc5963 Author: Simon Glass <sjg@chromium.org> Date: 2016-07-04 11:57:43 -0600 spl: Drop include of i2c.h This file does not appear to use I2C, so drop this include. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / common/spl/spl.c | 1 - 1 file changed, 1 deletion(-) ------------------------------------------------------------------------------- commit 392853260d46e18963be60f97306aab6ce770652 Author: Simon Glass <sjg@chromium.org> Date: 2016-07-04 11:57:42 -0600 README: Remove CONFIG_SYS_MALLOC_F_LEN comment This option is now widely available, so remove the comment that it is only available on ARM and sandbox. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / README | 3 --- 1 file changed, 3 deletions(-) ------------------------------------------------------------------------------- commit 7fcdac0ee96fb19013056e7a083e46f74c8dad66 Author: Simon Glass <sjg@chromium.org> Date: 2016-07-04 11:57:41 -0600 sandbox: Don't print a warning for CONFIG_I2C_COMPAT Sandbox includes this code to provide build coverage. While we retain this feature we should have sandbox build it. Sandbox does not in fact use the I2C compatibility mode. Showing a warning for sandbox is just confusing, since no conversion is expected. Drop the warning for sandbox. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 36b898b6bea839de7141b65df6ec02a97615c467 Author: Simon Glass <sjg@chromium.org> Date: 2016-06-19 19:51:00 -0600 rtc: Tidy up the code style This code generates lots of checkpatch errors. Fix them. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Base directory -> / drivers/rtc/date.c | 71 ++++++++++++++++++++++++------------------------------ 1 file changed, 32 insertions(+), 39 deletions(-) ------------------------------------------------------------------------------- commit bcc53bf095893fbdae531a9a7b5d4ef4a125a7fc Author: Simon Glass <sjg@chromium.org> Date: 2016-06-19 19:43:05 -0600 arm: Show cache warnings in U-Boot proper only Avoid bloating the SPL image size. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/arm/lib/cache.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit 982868264e7c61964bd392b10b2370f6757b14dc Author: Simon Glass <sjg@chromium.org> Date: 2016-06-19 19:43:04 -0600 Add warn_non_spl() to show a message in U-Boot proper SPL tends to be more space-constrained that U-Boot proper. Some error messages are best suppressed in SPL. Add a macros to make this easy. warn_non_spl() does nothing when built in SPL code. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / include/common.h | 10 ++++++++++ 1 file changed, 10 insertions(+) ------------------------------------------------------------------------------- commit 5e7f74332465f0addc05634d351df8eeaa2015d2 Author: Simon Glass <sjg@chromium.org> Date: 2016-06-19 19:43:03 -0600 Add comments for debug() and pr_fmt Add a note to each of these so it is more obvious how they work. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / include/common.h | 2 ++ 1 file changed, 2 insertions(+) ------------------------------------------------------------------------------- commit 6b424611a8dee0444459c0c205a9d72f65f61456 Author: Simon Glass <sjg@chromium.org> Date: 2016-06-19 19:43:02 -0600 arm: Don't invalidate unaligned cache regions At present armv7 will unhappily invalidate a cache region and print an error message. Make it skip the operation instead, as it does with other cache operations. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Marek Vasut <marex@denx.de> Base directory -> / arch/arm/cpu/armv7/cache_v7.c | 23 ++--------------------- 1 file changed, 2 insertions(+), 21 deletions(-) ------------------------------------------------------------------------------- commit 397b5697ad242408979a00dda14138aa1439f52b Author: Simon Glass <sjg@chromium.org> Date: 2016-06-19 19:43:01 -0600 arm: Move check_cache_range() into a common place This code is common, so move it into a common file. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Marek Vasut <marex@denx.de> Base directory -> / arch/arm/cpu/arm11/cpu.c | 17 ----------------- arch/arm/cpu/arm926ejs/cache.c | 17 ----------------- arch/arm/cpu/armv7/cache_v7.c | 17 ----------------- arch/arm/include/asm/cache.h | 2 ++ arch/arm/lib/cache.c | 22 ++++++++++++++++++++++ 5 files changed, 24 insertions(+), 51 deletions(-) ------------------------------------------------------------------------------- commit ba169d981f80517f057bf635df7e3dab203b9cea Author: Anatolij Gustschin <agust@denx.de> Date: 2016-06-13 14:24:24 +0200 board_f: prevent misleading "Watchdog enabled" output Output the "Watchdog enabled" message only if hw_watchdog_init() call really happened. Signed-off-by: Anatolij Gustschin <agust@denx.de> Base directory -> / common/board_f.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 46d7a3b3d37aed4381765fd6985d06031d0e2a52 Author: Anatolij Gustschin <agust@denx.de> Date: 2016-06-13 14:24:23 +0200 board_f: init designware watchdog if CONFIG_DESIGNWARE_WATCHDOG=y The designware watchdog init is skipped even if CONFIG_DESIGNWARE_WATCHDOG is enabled. Fix it. Signed-off-by: Anatolij Gustschin <agust@denx.de> Base directory -> / common/board_f.c | 1 + 1 file changed, 1 insertion(+) ------------------------------------------------------------------------------- commit 0ec807b2d861ae4555bc0d5459a2e97596671b09 Author: Sekhar Nori <nsekhar@ti.com> Date: 2016-07-12 16:24:48 +0530 configs: da850evm: enable bootz command Enable bootz command on Texas Instruments DA850 EVM board. This helps it boot zImage with device-tree blob passed. Signed-off-by: Sekhar Nori <nsekhar@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Tested-by: Kevin Hilman <khilman@baylibre.com> Base directory -> / configs/da850evm_defconfig | 1 + 1 file changed, 1 insertion(+) ------------------------------------------------------------------------------- commit 663f6fcaf0eb46999e8398e8fdbb7fdec6c372b8 Author: Lokesh Vutla <lokeshvutla@ti.com> Date: 2016-07-12 14:47:41 +0530 ARM: OMAP5+: Enable errata i727 Errata i727 is applicable on all OMAP5 and DRA7 variants but enabled only on OMAP5 ES1.0. So, enable it on all platforms. Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / arch/arm/cpu/armv7/omap-common/emif-common.c | 3 ++- arch/arm/cpu/armv7/omap-common/hwinit-common.c | 3 +-- 2 files changed, 3 insertions(+), 3 deletions(-) ------------------------------------------------------------------------------- commit b6fefa76d02efb5dab47182ae4afc9a0edc4f41e Author: Teddy Reed <teddy.reed@gmail.com> Date: 2016-07-11 22:54:26 -0700 mkimage: fix missing break for -p switch Signed-off-by: Teddy Reed <teddy.reed@gmail.com> Reported-by: Coverity (CID: 150277) Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / tools/mkimage.c | 1 + 1 file changed, 1 insertion(+) ------------------------------------------------------------------------------- commit 19e8649e59f5632792ecccbf04a2401eddb03e44 Author: Hector Palacios <hector.palacios@digi.com> Date: 2016-07-11 12:34:37 +0200 bootm: fixup silent Linux out of BOOTM_STATE_LOADOS state The function fixup_silent_linux() is called in status BOOTM_STATE_LOADOS to silence Linux if variable 'silent' is set. Currently only the 'bootm' command state machine contains BOOTM_STATE_LOADOS, but others like 'booti' or 'bootz' commands do not. This means silent Linux does not work with these commands. This patch moves the fixup_silent_linux() call out of the BOOTM_STATE_LOADOS state and into BOOTM_STATE_OS_PREP, to silence Linux independently of the used command (booti, bootm or bootz). Signed-off-by: Hector Palacios <hector.palacios@digi.com> Base directory -> / common/bootm.c | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) ------------------------------------------------------------------------------- commit 4b2fd720a7b2f78c42d1565edf4c67f378c65440 Author: Toshifumi NISHINAGA <tnishinaga.dev@gmail.com> Date: 2016-07-08 01:02:26 +0900 stm32: Change USART port to USART6 for stm32f746 discovery board This change is to remove a halt at about 200KiB while sending a large(1MiB) binary to a micro controller using USART1. USART1 is connected to a PC via an on-board ST-Link debugger that also functions as a USB-Serial converter. However, it seems to loss some data occasionally. So I changed the serial port to USART6 and connected it to the PC using an FTDI USB-Serial cable, therefore the transmission was successfully completed. Signed-off-by: Toshifumi NISHINAGA <tnishinaga.dev@gmail.com> Base directory -> / arch/arm/include/asm/arch-stm32f7/stm32_periph.h | 2 ++ arch/arm/mach-stm32/stm32f7/clock.c | 3 +++ board/st/stm32f746-disco/stm32f746-disco.c | 13 ++++++------- 3 files changed, 11 insertions(+), 7 deletions(-) ------------------------------------------------------------------------------- commit 25c1b1353ce4b8188de6058f9f3b0d5d2dad8230 Author: Toshifumi NISHINAGA <tnishinaga.dev@gmail.com> Date: 2016-07-08 01:02:25 +0900 stm32: Add SDRAM support for stm32f746 discovery board This patch adds SDRAM support for stm32f746 discovery board. This patch depends on previous patch. This patch is based on STM32F4 and emcraft's[1]. [1]: https://github.com/EmcraftSystems/u-boot Signed-off-by: Toshifumi NISHINAGA <tnishinaga.dev@gmail.com> Base directory -> / arch/arm/cpu/armv7m/config.mk | 2 +- arch/arm/include/asm/arch-stm32f7/fmc.h | 75 ++++++++++ arch/arm/include/asm/armv7m.h | 11 ++ arch/arm/mach-stm32/stm32f7/soc.c | 49 +++++++ board/st/stm32f746-disco/stm32f746-disco.c | 226 +++++++++++++++++++++++++++-- include/configs/stm32f746-disco.h | 8 +- 6 files changed, 357 insertions(+), 14 deletions(-) ------------------------------------------------------------------------------- commit ba0a3c16e0c6697f0254644cc7a9849b77000eb8 Author: Toshifumi NISHINAGA <tnishinaga.dev@gmail.com> Date: 2016-07-08 01:02:24 +0900 stm32: clk: Add 200MHz clock configuration for stm32f746 discovery board This patch adds 200MHz clock configuration for stm32f746 discovery board. This patch is based on STM32F4 and emcraft's[1]. [1]: https://github.com/EmcraftSystems/u-boot Signed-off-by: Toshifumi NISHINAGA <tnishinaga.dev@gmail.com> Base directory -> / arch/arm/include/asm/arch-stm32f7/stm32.h | 46 ++++++ arch/arm/mach-stm32/stm32f7/Makefile | 2 +- arch/arm/mach-stm32/stm32f7/clock.c | 228 ++++++++++++++++++++++++++++++ arch/arm/mach-stm32/stm32f7/soc.c | 27 ++++ drivers/serial/serial_stm32x7.c | 16 ++- include/configs/stm32f746-disco.h | 3 +- 6 files changed, 319 insertions(+), 3 deletions(-) ------------------------------------------------------------------------------- commit a3e2efcb42be378659a5443346ca5c77317c30b9 Author: Ricardo Salveti de Araujo <rsalveti@rsalveti.net> Date: 2016-07-03 14:16:03 -0300 dragonboard410c: adding missing default addr for script and pxe boot Cc: Mateusz Kulikowski <mateusz.kulikowski@gmail.com> Signed-off-by: Ricardo Salveti <rsalveti@rsalveti.net> Base directory -> / include/configs/dragonboard410c.h | 2 ++ 1 file changed, 2 insertions(+) ------------------------------------------------------------------------------- commit 5a6f576663d59cb3e08a619510701b7e1dea6128 Author: Ricardo Salveti de Araujo <rsalveti@rsalveti.net> Date: 2016-07-03 13:59:01 -0300 dragonboard410c: prefer sdcard boot over emmc Make the external devices the preferred ones when booting the system (usb is already the first option). This allows users to easily boot custom distributions without requiring them to reflash/customize u-boot. Cc: Mateusz Kulikowski <mateusz.kulikowski@gmail.com> Signed-off-by: Ricardo Salveti <rsalveti@rsalveti.net> Reviewed-by: Andreas Färber <afaerber@suse.de> Tested-by: Andreas Färber <afaerber@suse.de> Acked-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com> Base directory -> / include/configs/dragonboard410c.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 8729d582595dc0a9a666310f9f6001f815684f73 Author: Simon Glass <sjg@chromium.org> Date: 2016-07-03 09:40:46 -0600 test: Convert the vboot test to test/py Now that we have a suitable test framework we should move all tests into it. The vboot test is a suitable candidate. Rewrite it in Python and move the data files into an appropriate directory. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / test/README | 1 - test/py/tests/test_vboot.py | 185 ++++++++++++++++++++++++++++ test/py/tests/vboot/sandbox-kernel.dts | 7 ++ test/py/tests/vboot/sandbox-u-boot.dts | 10 ++ test/py/tests/vboot/sign-configs-sha1.its | 45 +++++++ test/py/tests/vboot/sign-configs-sha256.its | 45 +++++++ test/py/tests/vboot/sign-images-sha1.its | 42 +++++++ test/py/tests/vboot/sign-images-sha256.its | 42 +++++++ test/vboot/.gitignore | 3 - test/vboot/sandbox-kernel.dts | 7 -- test/vboot/sandbox-u-boot.dts | 10 -- test/vboot/sign-configs-sha1.its | 45 ------- test/vboot/sign-configs-sha256.its | 45 ------- test/vboot/sign-images-sha1.its | 42 ------- test/vboot/sign-images-sha256.its | 42 ------- test/vboot/vboot_test.sh | 151 ----------------------- 16 files changed, 376 insertions(+), 346 deletions(-) ------------------------------------------------------------------------------- commit 1152a05ee6593bf3036337cd18edd355589ea3a8 Author: Simon Glass <sjg@chromium.org> Date: 2016-07-03 09:40:44 -0600 tools: Correct error handling in fit_image_process_hash() We should not be returning -1 as an error code. This can mask a situation where we run out of space adding things to the FIT. By returning the correct error in this case (-ENOSPC) it can be handled by the higher-level code. This may fix the error reported by Tom Van Deun here: https://www.mail-archive.com/u-boot@lists.denx.de/msg217417.html although I am not sure as I cannot actually repeat it. Signed-off-by: Simon Glass <sjg@chromium.org> Reported-by: Tom Van Deun <tom.vandeun@wapice.com> Reviewed-by: Teddy Reed <teddy.reed@gmail.com> Base directory -> / tools/image-host.c | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) ------------------------------------------------------------------------------- commit 655cc69655f058e0354d5db4179c92d2ac0081ba Author: Simon Glass <sjg@chromium.org> Date: 2016-07-03 09:40:43 -0600 tools: Add an error code when fit_handle_file() fails The error code may provide useful information for debugging. Add it to the error string. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Teddy Reed <teddy.reed@gmail.com> Base directory -> / tools/fit_image.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit 73a9054d0f33dc4612a13200c6f3af00d2a1fcda Author: Simon Glass <sjg@chromium.org> Date: 2016-07-03 09:40:42 -0600 test/py: Add a helper to run a list of U-Boot commands Some tests want to execute a sequence of commands. Add a helper for this. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Teddy Reed <teddy.reed@gmail.com> Base directory -> / test/py/u_boot_console_base.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) ------------------------------------------------------------------------------- commit 9e17b0345afe198490689d9f36fab3849e9ef69a Author: Simon Glass <sjg@chromium.org> Date: 2016-07-03 09:40:41 -0600 test/py: Provide a way to check that a command fails Sometimes we want to run a command and check that it fails. Add a function to handle this. It can check the return code and also make sure that the output contains a given error message. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / test/py/u_boot_utils.py | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) ------------------------------------------------------------------------------- commit 8b304a37df13477f02fca5a6f5eaa3e55d7b4bf1 Author: Simon Glass <sjg@chromium.org> Date: 2016-07-03 09:40:40 -0600 test/py: Add an option to execute a string containing a command It is sometimes inconvenient to convert a string into a list for execution with run_and_log(). Provide a helper function to do this. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Teddy Reed <teddy.reed@gmail.com> Base directory -> / test/py/u_boot_utils.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) ------------------------------------------------------------------------------- commit f3d3e95ce5d26777a6a138635f9bb12ca7ccf6fa Author: Simon Glass <sjg@chromium.org> Date: 2016-07-03 09:40:39 -0600 test/py: Return output from run_and_log() It is useful to be able to obtain the output from a command. Return it from this function. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Teddy Reed <teddy.reed@gmail.com> Base directory -> / test/py/u_boot_utils.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit 86845bf38dbba5fa7499db10ac5ee20f72d3f240 Author: Simon Glass <sjg@chromium.org> Date: 2016-07-03 09:40:38 -0600 test/py: Provide output from exceptions with RunAndLog() Tests may want to look at the output from running a command, even if it fails (e.g. with a non-zero return code). Provide a means to obtain this. Another approach would be to return a class object containing both the output and the exception, but I'm not sure if that would result in a lot of refactoring. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Teddy Reed <teddy.reed@gmail.com> Base directory -> / test/py/multiplexed_log.py | 7 +++++++ 1 file changed, 7 insertions(+) ------------------------------------------------------------------------------- commit 3b8d9d977b6dd6d04f0cfe2eb5dce25264fe40f5 Author: Simon Glass <sjg@chromium.org> Date: 2016-07-03 09:40:37 -0600 test/py: Allow RunAndLog() to return the output Tests may want to look at the output from running a command. Return it so that this is possible. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Teddy Reed <teddy.reed@gmail.com> Base directory -> / test/py/multiplexed_log.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 0671960beee89da3016f40d059df4a14f257d442 Author: Simon Glass <sjg@chromium.org> Date: 2016-07-03 09:40:36 -0600 test/py: Allow tests to control the sandbox device-tree file Normally tests will run with the test.dtb file designed for this purpose. However, the verified boot tests need to run with their own device-tree file, containing a public key. Make the device-tree file a config option so that it can be adjusted by tests. The default is to keep the current behaviour. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Teddy Reed <teddy.reed@gmail.com> Base directory -> / test/py/conftest.py | 1 + test/py/u_boot_console_sandbox.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit b9c771b04c215de981987a92d5e1f016c8dd1921 Author: Simon Glass <sjg@chromium.org> Date: 2016-07-03 09:40:35 -0600 sandbox: Don't exit when bootm completes At present sandbox exits when the 'bootm' command completes, since it is not actually able to run the OS that is loaded. Normally 'bootm' failure is considered a fatal error in U-Boot. However this is annoying for tests, which may want to examine the state after a test is complete. In any case there is a 'reset' command which can be used to exit, if required. Change the behaviour to return normally from the 'bootm' command on sandbox. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Teddy Reed <teddy.reed@gmail.com> Base directory -> / arch/sandbox/lib/bootm.c | 2 +- common/bootm_os.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 07f4eadc99b365fa92114f19c02218ff39c45ed9 Author: Simon Glass <sjg@chromium.org> Date: 2016-07-03 09:40:34 -0600 test: Add a simple script to run tests on sandbox A common check before sending patches is to run all available tests on sandbox. But everytime I do this I have to look up the README. This presents quite a barrier to actually doing this. Add a shell script to help. To run the tests, type: test/run in the U-Boot directory, which should be easy to remember. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Teddy Reed <teddy.reed@gmail.com> Base directory -> / test/README | 11 +++++++++++ test/run | 4 ++++ 2 files changed, 15 insertions(+) ------------------------------------------------------------------------------- commit f6349c3c4cd334148637c83bcfb6017b195102f5 Author: Simon Glass <sjg@chromium.org> Date: 2016-07-03 09:40:33 -0600 test: Add a README Add a few notes about how testing works in U-Boot. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Teddy Reed <teddy.reed@gmail.com> Base directory -> / test/README | 82 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 82 insertions(+) ------------------------------------------------------------------------------- commit 022885cb9ce9b22fb62225a21b4eb017a2e8dab5 Author: Simon Glass <sjg@chromium.org> Date: 2016-06-30 10:52:20 -0600 tools: Allow building with debug enabled Sometimes it is useful to build tools with debugging information included so that line-number information is available when run under gdb. Add a Kconfig option to support this. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / Kconfig | 9 +++++++++ Makefile | 3 ++- 2 files changed, 11 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 51f03e6a7596d61a9ae9b1aee030112cc6a795ff Author: Simon Glass <sjg@chromium.org> Date: 2016-06-30 10:52:19 -0600 mkimage: Show item lists for all categories Update the error-handling code for -A, -C and -O to show a list of valid options when an invalid one is provided. Signed-off-by: Simon Glass <sjg@chromium.org> Reported-by: Vinoth Eswaran <evinoth1206@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / tools/mkimage.c | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) ------------------------------------------------------------------------------- commit f24e10500ffc7ff4b9c75de0e9b1f3efdd43ef41 Author: Simon Glass <sjg@chromium.org> Date: 2016-06-30 10:52:18 -0600 mkimage: Use generic code for showing an 'image type' error The existing error code only displays image types which are claimed by a particular U_BOOT_IMAGE_TYPE() driver. But this does not seem correct. The mkimage tool should support all image types, so it makes sense to allow creation of images of any type with the tool. When an incorrect image type is provided, use generic code to display the error. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / tools/mkimage.c | 45 ++------------------------------------------- 1 file changed, 2 insertions(+), 43 deletions(-) ------------------------------------------------------------------------------- commit 306642251234f68f14fa9e86b9f5df6a88632817 Author: Simon Glass <sjg@chromium.org> Date: 2016-06-30 10:52:17 -0600 mkimage: Allow display of a list of any image header category Add a generic function which can display a list of items in any category. This will allow displaying of images for the -A, -C, -O and -T flags. At present only -T is supported. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / tools/mkimage.c | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) ------------------------------------------------------------------------------- commit 1426220b0e7b09ecc6a0da5f831287776a89a92c Author: Simon Glass <sjg@chromium.org> Date: 2016-06-30 10:52:16 -0600 image: Add functions to obtain category information Add generic functions which can look up information about a category: - the number of items in the category - the category description - an item long time - an item short time Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / common/image.c | 68 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ include/image.h | 34 +++++++++++++++++++++++++++++ 2 files changed, 102 insertions(+) ------------------------------------------------------------------------------- commit 30495bff35d5a5134bc182fa51728acf69420158 Author: Simon Glass <sjg@chromium.org> Date: 2016-06-30 10:52:15 -0600 image: Add a name for invalid types At present the name is NULL, which prevents qsort() fromp being used. Use the name "invalid" instead. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / common/image.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) ------------------------------------------------------------------------------- commit 56d7ab74767c60c4ec48061864df0c421e4799e7 Author: Simon Glass <sjg@chromium.org> Date: 2016-06-30 10:52:14 -0600 image: Create a table of information for each category Add a table that contains the category name, the number of items in each category and a pointer to the table of items. This will allow us to use generic code to deal with the categories. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / common/image.c | 13 +++++++++++++ include/image.h | 9 +++++++++ 2 files changed, 22 insertions(+) ------------------------------------------------------------------------------- commit 555f45d8f9168b09b406a241e7cee7980104d902 Author: Simon Glass <sjg@chromium.org> Date: 2016-06-30 10:52:13 -0600 image: Convert the IH_... values to enums We need to know the number of values of each category (architecture, compression, OS and image type). To make this value easier to maintain, convert all values to enums. The count is then automatic. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / include/image.h | 187 ++++++++++++++++++++++++++++++-------------------------- 1 file changed, 101 insertions(+), 86 deletions(-) ------------------------------------------------------------------------------- commit 3a45f38d418eca5f0e515c8b2077c81f4c4012f1 Author: Simon Glass <sjg@chromium.org> Date: 2016-06-30 10:52:12 -0600 image: Correct auto-fit architecture property name The fit_write_images() function incorrectly uses the long name for the architecture. This cannot be parsed with the FIT is read. Fix this by using the short name instead. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / tools/fit_image.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 58b22475424276886df9da9c3e081a8c3057ec77 Author: Simon Glass <sjg@chromium.org> Date: 2016-06-30 10:52:11 -0600 mkimage: Drop blank line before main() This is not needed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / tools/mkimage.c | 1 - 1 file changed, 1 deletion(-) ------------------------------------------------------------------------------- commit 63ef31b9efbf33071cad58a185cc616671d2af62 Author: Simon Glass <sjg@chromium.org> Date: 2016-06-30 10:52:10 -0600 mkimage: Drop premature setting of params.fit_image_type There is no need to set params.fit_image_type while parsing the arguments. It is set up later anyway. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / tools/mkimage.c | 1 - 1 file changed, 1 deletion(-) ------------------------------------------------------------------------------- commit e324a92531e1dc092949b8a00745afd2328e178e Author: Simon Glass <sjg@chromium.org> Date: 2016-06-30 10:52:09 -0600 mkimage: Require a data file when auto-fit is used When auto-fit is used, it is not valid to create a FIT without an image file. Add a check for this to avoid a very confusing error message later ("Can't open (null): Bad address"). Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / tools/mkimage.c | 2 ++ 1 file changed, 2 insertions(+) ------------------------------------------------------------------------------- commit 3c23c0feacce0f73d7852409a0c634f275cbecfe Author: Simon Glass <sjg@chromium.org> Date: 2016-06-30 10:52:08 -0600 mkimage: Explain the auto-fit imagefile special case There is a special case in the code when auto-fit is used. Add a comment to make it easier to understand why this is needed. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Joe Hershberger <joe.hershberger@ni.com> Base directory -> / tools/mkimage.c | 1 + 1 file changed, 1 insertion(+) ------------------------------------------------------------------------------- commit 20deaddd465aeab6f6939fb1b660622d763791a9 Author: Simon Glass <sjg@chromium.org> Date: 2016-06-30 10:52:07 -0600 mkimage: Honour the default image type with auto-fit The default image type is supposed to be IH_TYPE_KERNEL, as set in the 'params' variable. Honour this with auto-fit also. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / tools/mkimage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 9a387128e341debb6d7e32df8e0f72669a3a079b Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-06-28 10:48:42 +0900 linux/io.h: add generic ioremap()/iounmap() defines For most of architectures in U-Boot, virtual address is straight mapped to physical address. So, it makes sense to have generic defines of ioremap and friends in <linux/io.h>. All of them are just empty and will disappear at compile time, but they will be helpful to implement drivers which are counterparts of Linux ones. I notice MIPS already has its own implementation, so I added a Kconfig symbol CONFIG_HAVE_ARCH_IOREMAP which MIPS (and maybe Sandbox as well) can select. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> Base directory -> / arch/Kconfig | 4 ++++ include/linux/io.h | 16 ++++++++++++++++ 2 files changed, 20 insertions(+) ------------------------------------------------------------------------------- commit c74b8fcdd7193cfcaf8b3c6dab9a59c6feb8a49a Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-06-28 10:48:41 +0900 arm, nds32, sh: remove useless ioremap()/iounmap() defines These defines are valid only when iomem_valid_addr is defined, but I do not see such defines anywhere. Remove. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Base directory -> / arch/arm/include/asm/io.h | 34 ---------------------------------- arch/nds32/include/asm/io.h | 34 ---------------------------------- arch/sh/include/asm/io.h | 33 --------------------------------- 3 files changed, 101 deletions(-) ------------------------------------------------------------------------------- commit 95ebc253e6d4a3370e3dab14743bfc99fcd9cf1b Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-06-28 10:48:40 +0900 types.h: move and redefine resource_size_t Currently, this is only defined in arch/arm/include/asm/types.h, so move it to include/linux/types.h to make it available for all architectures. I defined it with phys_addr_t as Linux does. I needed to surround the define with #ifdef __KERNEL__ ... #endif to avoid build errors in tools building. (Host tools should not include <linux/types.h> in the first place, but this is already messy in U-Boot...) Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/arm/include/asm/types.h | 1 - include/linux/types.h | 4 ++++ 2 files changed, 4 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 8662bea38e2779a45275a6ac13a378f9f989930a Author: Andreas Dannenberg <dannenberg@ti.com> Date: 2016-06-27 09:19:24 -0500 doc: Update info on using secure devices from TI Adds information regarding SPL handling the loading and processing of secured u-boot images as part of the second stage boot the SPL does. Introduces the description of a new interface script in the TI SECDEV Package which handles the creation and prep of secured binary images. Signed-off-by: Daniel Allred <d-allred@ti.com> Signed-off-by: Andreas Dannenberg <dannenberg@ti.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / doc/README.ti-secure | 177 +++++++++++++++++++++++++++++++++++---------------- 1 file changed, 123 insertions(+), 54 deletions(-) ------------------------------------------------------------------------------- commit e29878fc47f19e2ad6824cd61c69f2c187c5fb8a Author: Madan Srinivas <madans@ti.com> Date: 2016-06-27 09:19:23 -0500 arm: am4x: add U-Boot FIT signing and SPL image post-processing Modify the SPL build procedure for AM437x high-security (HS) device variants to create a secure u-boot_HS.img FIT blob that contains U-Boot and DTB artifacts signed (and optionally encrypted) with a TI-specific process based on the CONFIG_TI_SECURE_DEVICE config option and the externally-provided image signing tool. Also populate the corresponding FIT image post processing call to be performed during SPL runtime. Signed-off-by: Madan Srinivas <madans@ti.com> Signed-off-by: Andreas Dannenberg <dannenberg@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / arch/arm/cpu/armv7/am33xx/config.mk | 1 + board/ti/am43xx/board.c | 8 ++++++++ configs/am43xx_hs_evm_defconfig | 1 + 3 files changed, 10 insertions(+) ------------------------------------------------------------------------------- commit 17c298733612f68ebf7702f28f32ad78c7ef115e Author: Andreas Dannenberg <dannenberg@ti.com> Date: 2016-06-27 09:19:22 -0500 arm: omap5: add U-Boot FIT signing and SPL image post-processing Modify the SPL build procedure for AM57xx and DRA7xx high-security (HS) device variants to create a secure u-boot_HS.img FIT blob that contains U-Boot and DTB artifacts signed with a TI-specific process based on the CONFIG_TI_SECURE_DEVICE config option and the externally-provided image signing tool. Also populate the corresponding FIT image post processing call to be performed during SPL runtime. Signed-off-by: Daniel Allred <d-allred@ti.com> Signed-off-by: Andreas Dannenberg <dannenberg@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / arch/arm/cpu/armv7/omap5/config.mk | 3 +++ board/ti/am57xx/board.c | 8 ++++++++ board/ti/dra7xx/evm.c | 9 +++++++++ configs/am57xx_hs_evm_defconfig | 1 + configs/dra7xx_hs_evm_defconfig | 1 + 5 files changed, 22 insertions(+) ------------------------------------------------------------------------------- commit da74d1f341e46ecc0ae893b4aa3b771ce9dba9f3 Author: Daniel Allred <d-allred@ti.com> Date: 2016-06-27 09:19:21 -0500 spl: fit: add support for post-processing of images The next stage boot loader image and the selected FDT can be post- processed by board/platform/device-specific code, which can include modifying the size and altering the starting source address before copying these binary blobs to their final destination. This might be desired to do things like strip headers or footers attached to the images before they were packaged into the FIT, or to perform operations such as decryption or authentication. Introduce new configuration option CONFIG_SPL_FIT_IMAGE_POST_PROCESS to allow controlling this feature. If enabled, a platform-specific post-process function must be provided. Signed-off-by: Daniel Allred <d-allred@ti.com> Signed-off-by: Andreas Dannenberg <dannenberg@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / Kconfig | 14 ++++++++++++++ common/spl/spl_fit.c | 21 ++++++++++++++++----- include/image.h | 17 +++++++++++++++++ 3 files changed, 47 insertions(+), 5 deletions(-) ------------------------------------------------------------------------------- commit bf9ec864f4f5f52afecfdcea1d258ee4072bdd01 Author: Andreas Dannenberg <dannenberg@ti.com> Date: 2016-06-27 09:19:20 -0500 arm: omap-common: Update to generate secure U-Boot FIT blob Adds commands so that when a secure device is in use and the SPL is built to load a FIT image (with combined U-Boot binary and various DTBs), these components that get fed into the FIT are all processed to be signed/encrypted/etc. as per the operations performed by the secure-binary-image.sh script of the TI SECDEV package. Furthermore, perform minor comments cleanup to make better use of the available space. Signed-off-by: Daniel Allred <d-allred@ti.com> Signed-off-by: Andreas Dannenberg <dannenberg@ti.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/arm/cpu/armv7/omap-common/config_secure.mk | 75 ++++++++++++++++++++----- 1 file changed, 61 insertions(+), 14 deletions(-) ------------------------------------------------------------------------------- commit 1bb0a21b465427088ad623826fe23066399cb2d9 Author: Andreas Dannenberg <dannenberg@ti.com> Date: 2016-06-27 09:19:19 -0500 arm: omap-common: secure ROM signature verify API Adds an API that verifies a signature attached to an image (binary blob). This API is basically a entry to a secure ROM service provided by the device and accessed via an SMC call, using a particular calling convention. Signed-off-by: Daniel Allred <d-allred@ti.com> Signed-off-by: Andreas Dannenberg <dannenberg@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / arch/arm/cpu/armv7/omap-common/sec-common.c | 88 +++++++++++++++++++++++++++++ arch/arm/include/asm/omap_sec_common.h | 9 +++ 2 files changed, 97 insertions(+) ------------------------------------------------------------------------------- commit d86f7afda4e2c8fc6aad3095959bee9b1f46c48b Author: Andreas Dannenberg <dannenberg@ti.com> Date: 2016-06-27 09:19:18 -0500 arm: omap-common: add secure rom call API for secure devices Adds a generic C-callable API for making secure ROM calls on OMAP and OMAP-compatible devices. This API provides the important function of flushing the ROM call arguments to memory from the cache, so that the secure world will have a coherent view of those arguments. Then is simply calls the omap_smc_sec routine. Signed-off-by: Daniel Allred <d-allred@ti.com> Signed-off-by: Andreas Dannenberg <dannenberg@ti.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / arch/arm/cpu/armv7/omap-common/Makefile | 2 ++ arch/arm/cpu/armv7/omap-common/sec-common.c | 51 +++++++++++++++++++++++++++++ arch/arm/include/asm/omap_sec_common.h | 21 ++++++++++++ 3 files changed, 74 insertions(+) ------------------------------------------------------------------------------- commit 51d0638650646e4e2d87600829fe004cd767756e Author: Daniel Allred <d-allred@ti.com> Date: 2016-06-27 09:19:17 -0500 arm: omap-common: add secure smc entry Add an interface for calling secure ROM APIs across a range of OMAP and OMAP compatible high-security (HS) device variants. While at it, also perform minor cleanup/alignment without any change in functionality. Signed-off-by: Daniel Allred <d-allred@ti.com> Signed-off-by: Andreas Dannenberg <dannenberg@ti.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / arch/arm/cpu/armv7/omap-common/lowlevel_init.S | 45 ++++++++++++++++++++------ arch/arm/include/asm/omap_common.h | 6 ++++ 2 files changed, 42 insertions(+), 9 deletions(-) ------------------------------------------------------------------------------- commit ec6f61003b6cda13b20878a990e5f9b70496d0ad Author: Daniel Allred <d-allred@ti.com> Date: 2016-06-27 09:19:16 -0500 arm: cache: add missing dummy functions for when dcache disabled Adds missing flush_dcache_range and invalidate_dcache_range dummy (empty) placeholder functions to the #else portion of the #ifndef CONFIG_SYS_DCACHE_OFF, where full implementations of these functions are defined. Signed-off-by: Daniel Allred <d-allred@ti.com> Signed-off-by: Andreas Dannenberg <dannenberg@ti.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / arch/arm/cpu/armv7/cache_v7.c | 8 ++++++++ 1 file changed, 8 insertions(+) ------------------------------------------------------------------------------- commit 6b6024eadb96bc471643bd183fe940fb657bef83 Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-06-27 19:31:05 +0900 arm64: add better and more generic spin-table support There are two enable methods supported by ARM64 Linux; psci and spin-table. The latter is simpler and helpful for quick SoC bring up. My main motivation for this patch is to improve the spin-table support, which allows us to boot an ARMv8 system without the ARM Trusted Firmware. Currently, we have multi-entry code in arch/arm/cpu/armv8/start.S and the spin-table is supported in a really ad-hoc way, and I see some problems: - We must hard-code CPU_RELEASE_ADDR so that it matches the "cpu-release-addr" property in the DT that comes from the kernel tree. - The Documentation/arm64/booting.txt in Linux requires that the release address must be zero-initialized, but it is not cared by the common code in U-Boot. We must do it in a board function. - There is no systematic way to protect the spin-table code from the kernel. We are supposed to do it in a board specific manner, but it is difficult to predict where the spin-table code will be located after the relocation. So, it also makes difficult to hard-code /memreserve/ in the DT of the kernel. So, here is a patch to solve those problems; the DT is run-time modified to reserve the spin-table code (+ cpu-release-addr). Also, the "cpu-release-addr" property is set to an appropriate address after the relocation, which means we no longer need the hard-coded CPU_RELEASE_ADDR. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Base directory -> / arch/arm/cpu/armv8/Kconfig | 18 +++++++++++ arch/arm/cpu/armv8/Makefile | 3 ++ arch/arm/cpu/armv8/spin_table.c | 63 ++++++++++++++++++++++++++++++++++++++ arch/arm/cpu/armv8/spin_table_v8.S | 23 ++++++++++++++ arch/arm/cpu/armv8/start.S | 10 +++--- arch/arm/include/asm/spin_table.h | 14 +++++++++ arch/arm/lib/bootm-fdt.c | 7 +++++ 7 files changed, 134 insertions(+), 4 deletions(-) ------------------------------------------------------------------------------- commit 3a592a1349ac3961b0f4f2db0a8d9f128225d897 Author: Tom Rini <trini@konsulko.com> Date: 2016-07-14 17:36:18 -0400 Revert "armv8: Enable CPUECTLR.SMPEN for coherency" Upon further review this breaks most other platforms as we need to check what core we're running on before touching it at all. This reverts commit d73718f3236c520a92efa401084c658e6cc067f3. Signed-off-by: Tom Rini <trini@konsulko.com> Base directory -> / arch/arm/cpu/armv8/start.S | 8 -------- 1 file changed, 8 deletions(-) ------------------------------------------------------------------------------- commit a02ab5eaff966ecf746bc4e90696c84efb4b113b Author: Andrej Rosano <andrej@inversepath.com> Date: 2016-06-20 17:21:49 +0200 usbarmory: Add board_run_command() function Define a default board_run_command() function. This function contains the commands needed to boot the board when CLI is disabled (CONFIG_CMDLINE=n). Signed-off-by: Andrej Rosano <andrej@inversepath.com> Base directory -> / board/inversepath/usbarmory/usbarmory.c | 31 +++++++++++++++++++++++++++++++ include/configs/usbarmory.h | 11 +++++++---- 2 files changed, 38 insertions(+), 4 deletions(-) ------------------------------------------------------------------------------- commit 9a45ec3ea0858026d5715f16e3bdb596057f727e Author: Andrej Rosano <andrej@inversepath.com> Date: 2016-06-20 17:21:48 +0200 usbarmory: switch to using kernel zImage Switch to using zImage instead of uImage. Signed-off-by: Andrej Rosano <andrej@inversepath.com> Base directory -> / include/configs/usbarmory.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) ------------------------------------------------------------------------------- commit 1f1756279604c3c77933ef2a7db745dc1d22a95c Author: Peng Fan <van.freenix@gmail.com> Date: 2016-06-30 21:08:00 +0800 imx6: clock: typo fix Typo fix, "PPL2 -> PLL2" Signed-off-by: Peng Fan <peng.fan@nxp.com> Cc: Stefano Babic <sbabic@denx.de> Base directory -> / arch/arm/cpu/armv7/mx6/clock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 225126da99dd9ba1478e32468e298085d1e3fb61 Author: Hannes Schmelzer <oe5hpm@oevsv.at> Date: 2016-06-22 12:07:46 +0200 arch-mx6: fix MX6_PAD_DECLARE macro to work with MX6 duallite if we build for an i.mx6 (d)ual(l)ite CONFIC_MX6DL we shall use MX6DL_PAD instead the common MX6_PAD. Signed-off-by: Hannes Schmelzer <oe5hpm@oevsv.at> Base directory -> / arch/arm/include/asm/arch-mx6/mx6-pins.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit ca103e09960cb09a0501e558bfa9c921fb61d0bc Author: Vanessa Maegima <vanessa.maegima@nxp.com> Date: 2016-06-13 13:01:38 -0300 pico-imx6ul: Add USB Host support Add USB host support. Tested by connecting a USB pen drive: => usb start starting USB... USB0: Port not available. USB1: USB EHCI 1.00 scanning bus 1 for devices... 2 USB Device(s) found scanning usb for storage devices... 1 Storage Device(s) found Signed-off-by: Vanessa Maegima <vanessa.maegima@nxp.com> Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com> Base directory -> / board/technexion/pico-imx6ul/pico-imx6ul.c | 24 +++++++++++++++++++++++- include/configs/pico-imx6ul.h | 2 +- 2 files changed, 24 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit d0daec670fc3747f99dce69bc508ef2cfc44e769 Author: Diego Dorta <diego.dorta@nxp.com> Date: 2016-06-15 13:53:41 -0300 pico-imx6ul: Add NFS boot support Add script for retrieving the kernel via TFTP and mounting the rootfs via NFS. Signed-off-by: Diego Dorta <diego.dorta@nxp.com> Acked-by: Fabio Estevam <fabio.estevam@nxp.com> Base directory -> / include/configs/pico-imx6ul.h | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit dab149345930b9b5bdc55e88d761d8494c692aa2 Author: Vanessa Maegima <vanessa.maegima@nxp.com> Date: 2016-06-15 12:48:15 -0300 pico-imx6ul: Add a README file Add a README file to help users to install U-boot binary into the eMMC. Signed-off-by: Vanessa Maegima <vanessa.maegima@nxp.com> Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com> Base directory -> / board/technexion/pico-imx6ul/README | 57 +++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) ------------------------------------------------------------------------------- commit af07d1544e3e61cb311432dc20b24053dc1318aa Author: Vanessa Maegima <vanessa.maegima@nxp.com> Date: 2016-06-15 12:48:14 -0300 pico-imx6ul: Add DFU support DFU is a convenient way to program U-boot binary into the eMMC. Add support for it. Signed-off-by: Vanessa Maegima <vanessa.maegima@nxp.com> Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com> Base directory -> / configs/pico-imx6ul_defconfig | 8 ++++++++ include/configs/pico-imx6ul.h | 8 +++++++- 2 files changed, 15 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 6d7aa51accd3ae19ad25259f46a6043ef3f02ce2 Author: Diego Dorta <diego.dorta@nxp.com> Date: 2016-06-10 12:07:29 -0300 pico-imx6ul: Add Ethernet support Pico-imx6ul has a KSZ8081 Ethernet PHY. Add support for it. Signed-off-by: Diego Dorta <diego.dorta@nxp.com> Acked-by: Fabio Estevam <fabio.estevam@nxp.com> Reviewed-by: Stefano Babic <sbabic@denx.de> Base directory -> / board/technexion/pico-imx6ul/pico-imx6ul.c | 84 ++++++++++++++++++++++++++++++ include/configs/pico-imx6ul.h | 10 ++++ 2 files changed, 94 insertions(+) ------------------------------------------------------------------------------- commit 618a85356cebe18c8933147fe913a5fe17260332 Author: Fabio Estevam <fabio.estevam@nxp.com> Date: 2016-06-10 09:46:13 -0300 mx7dsabresd: Fix the boot of a NXP kernel Booting a NXP kernel with mainline U-boot leads to the following kernel crash: caam: probe of 30900000.caam failed with error -11 Unable to handle kernel NULL pointer dereference at virtual address 00000004 pgd = 80004000 [00000004] *pgd=00000000 Internal error: Oops: 805 [#1] PREEMPT SMP ARM This happens because NXP kernel expects MX7 to boot in secure mode, so introduce mx7dsabresd_secure_defconfig that selects CONFIG_MX7_SEC and allows booting a NXP provided kernel successfully. Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com> Base directory -> / configs/mx7dsabresd_secure_defconfig | 38 ++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) ------------------------------------------------------------------------------- commit 303977430983f163c30a8937de737d1d6abe78ba Author: Fabio Estevam <fabio.estevam@nxp.com> Date: 2016-06-10 09:46:12 -0300 mx7: Place MX7_SEC option in Kconfig MX7_SEC is an existing configuration option that allows booting the kernel in secure mode. Place this option in Kconfig, so that boards can select this option in their defconfig files. Selecting this option is necessary when booting a kernel provided by NXP, such as 3.14_GA and 4.1.15_GA. Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com> Tested-by: Michael Trimarchi <michael@amarulasolutions.com> Base directory -> / arch/arm/imx-common/Kconfig | 9 +++++++++ 1 file changed, 9 insertions(+) ------------------------------------------------------------------------------- commit d6b0c468189fad76addd09e9796e87ab61c227df Author: Vanessa Maegima <vanessa.maegima@nxp.com> Date: 2016-06-09 15:28:33 -0300 mx6sxsabresd: Avoid hardcoded RAM size Instead of passing the total RAM size via PHYS_SDRAM_SIZE option, we should better use imx_ddr_size() function, which automatically determines the RAM size. Signed-off-by: Vanessa Maegima <vanessa.maegima@nxp.com> Base directory -> / board/freescale/mx6sxsabresd/mx6sxsabresd.c | 2 +- include/configs/mx6sxsabresd.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) ------------------------------------------------------------------------------- commit 432a8a55478d431e036e695c3f8b9d9e2536f744 Author: Vanessa Maegima <vanessa.maegima@nxp.com> Date: 2016-06-09 15:28:32 -0300 mx6sxsabreauto: Avoid hardcoded RAM size Instead of passing the total RAM size via PHYS_SDRAM_SIZE option, we should better use imx_ddr_size() function, which automatically determines the RAM size. Signed-off-by: Vanessa Maegima <vanessa.maegima@nxp.com> Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com> Base directory -> / board/freescale/mx6sxsabreauto/mx6sxsabreauto.c | 2 +- include/configs/mx6sxsabreauto.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) ------------------------------------------------------------------------------- commit 8259e9c9adc263a3e9619bd4713dfddea19509b8 Author: Vanessa Maegima <vanessa.maegima@nxp.com> Date: 2016-06-09 15:28:31 -0300 mx6slevk: Avoid hardcoded RAM size Instead of passing the total RAM size via PHYS_SDRAM_SIZE option, we should better use imx_ddr_size() function, which automatically determines the RAM size. Signed-off-by: Vanessa Maegima <vanessa.maegima@nxp.com> Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com> Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com> Base directory -> / board/freescale/mx6slevk/mx6slevk.c | 2 +- include/configs/mx6slevk.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) ------------------------------------------------------------------------------- commit e355eec79dd150d6f44e52357b5e805aed6ebc4a Author: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org> Date: 2016-06-09 10:33:27 +0200 wandboard: enable SATA with imx6q Signed-off-by: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org> Base directory -> / board/wandboard/wandboard.c | 6 ++++++ include/configs/wandboard.h | 12 ++++++++++++ 2 files changed, 18 insertions(+) ------------------------------------------------------------------------------- commit 369012e7e96761c1ac4ccb0cd9052c6f56468082 Author: Vanessa Maegima <vanessa.maegima@nxp.com> Date: 2016-06-08 15:17:54 -0300 mx6qsabreauto: Avoid hardcoded RAM size Instead of passing the total RAM size via PHYS_SDRAM_SIZE option, we should better use imx_ddr_size() function, which automatically determines the RAM size. Signed-off-by: Vanessa Maegima <vanessa.maegima@nxp.com> Acked-by: Fabio Estevam <fabio.estevam@nxp.com> Base directory -> / board/freescale/mx6qsabreauto/mx6qsabreauto.c | 2 +- include/configs/mx6qsabreauto.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) ------------------------------------------------------------------------------- commit 876a25d289cf9ae6b052ea0dc61b7522e1dec4e1 Author: Stefano Babic <sbabic@denx.de> Date: 2016-06-08 10:50:20 +0200 mx6: Add Phytec PCM058 i.MX6 Quad Add Phytec-i.MX6 SOM with NAND Support: - 1GB RAM - Ethernet - SPI-NOR Flash - NAND (1024 MB) - external SD - UART Signed-off-by: Stefano Babic <sbabic@denx.de> Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com> Base directory -> / arch/arm/cpu/armv7/mx6/Kconfig | 5 + board/phytec/pcm058/Kconfig | 12 + board/phytec/pcm058/MAINTAINERS | 6 + board/phytec/pcm058/Makefile | 9 + board/phytec/pcm058/README | 35 +++ board/phytec/pcm058/pcm058.c | 582 ++++++++++++++++++++++++++++++++++++++++ configs/pcm058_defconfig | 34 +++ include/configs/pcm058.h | 140 ++++++++++ 8 files changed, 823 insertions(+) ------------------------------------------------------------------------------- commit 8be4f40ecfd92257007e82a08e25044b447db18d Author: Stefano Babic <sbabic@denx.de> Date: 2016-06-06 11:19:42 +0200 mx6: add support for el6x board Custom Board based on MX6 Dual, 1GB RAM and eMMC. There are two variants of the board with and without PCIe (ZC5202 and ZC5601). Signed-off-by: Stefano Babic <sbabic@denx.de> Base directory -> / arch/arm/cpu/armv7/mx6/Kconfig | 13 + board/el/el6x/Kconfig | 25 ++ board/el/el6x/MAINTAINERS | 8 + board/el/el6x/Makefile | 7 + board/el/el6x/el6x.c | 640 +++++++++++++++++++++++++++++++++++++++++ configs/zc5202_defconfig | 22 ++ configs/zc5601_defconfig | 22 ++ include/configs/el6x_common.h | 139 +++++++++ include/configs/zc5202.h | 37 +++ include/configs/zc5601.h | 33 +++ 10 files changed, 946 insertions(+) ------------------------------------------------------------------------------- commit 0750701a3f74e831b6cb0ecc69be2f7eff94e819 Author: Hannes Schmelzer <oe5hpm@oevsv.at> Date: 2016-06-22 12:07:14 +0200 driver/net/fec: support fixed speed connection If MAC is directly connected to another MAC (like a switch for example) we don't need to probe for a phy, autoneogation and so on. We simply have to setup speed. Signed-off-by: Hannes Schmelzer <oe5hpm@oevsv.at> Acked-by: Joe Hershberger <joe.hershberger@ni.com> Base directory -> / doc/README.fec_mxc | 5 +++++ drivers/net/fec_mxc.c | 4 ++++ 2 files changed, 9 insertions(+) ------------------------------------------------------------------------------- commit a32b4a03c717e37561505297a39ed02313e654af Author: Stefano Babic <sbabic@denx.de> Date: 2016-06-06 11:14:19 +0200 pcie_imx: increment timeout for link up On some boards, the current 20ms timeout is hit. Increase it to 40mS. Signed-off-by: Stefano Babic <sbabic@denx.de> Base directory -> / drivers/pci/pcie_imx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit c133c503ac9e037ccbc1b7a37c07c4068b32d802 Author: Christopher Spinrath <christopher.spinrath@rwth-aachen.de> Date: 2016-06-16 14:02:56 +0200 ARM: board: cm-fx6: fix mmc for old revisions of utilite Old revisions of Utilite (based on cm-fx6) do not have a dedicated card detect pin. But the card is removable by the user and card detection can be realized with polling (e.g. supported by Linux). Add the broken-cd property to the mmc device tree instead of the non-removable property to make card detection possible if polling is supported. Signed-off-by: Christopher Spinrath <christopher.spinrath@rwth-aachen.de> Acked-by: Nikita Kiryanov <nikita@compulab.co.il> Base directory -> / board/compulab/cm_fx6/cm_fx6.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit c1ebf54868359005c32944c1473668d5fcaca158 Author: Petr Kulhavy <brain@jikos.cz> Date: 2016-06-12 13:18:32 +0200 imx_common: Return MMCSD_MODE_FS in spl_boot_mode() also for EXTFS spl_boot_mode() returned MMCSD_MODE_RAW on MMC if CONFIG_SPL_EXT_SUPPORT was configured. EXTFS is the default filesystem selected in imx6_spl.h and the function should return MMCSD_MODE_FS instead. Fix this and return MMCSD_MODE_FS instead in such cases. Signed-off-by: Petr Kulhavy <brain@jikos.cz> CC: Stefano Babic <sbabic@denx.de> CC: Tim Harvey <tharvey@gateworks.com> CC: Fabio Estevam <Fabio.Estevam@freescale.com> Base directory -> / arch/arm/imx-common/spl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit b8e599746cac1833328bc3a8e37eeefe346baf90 Author: Tom Rini <trini@konsulko.com> Date: 2016-07-12 08:15:17 -0400 Merge branch 'master' of git://git.denx.de/u-boot-x86 Base directory -> / arch/x86/Kconfig | 4 + arch/x86/cpu/baytrail/Kconfig | 11 + arch/x86/cpu/baytrail/acpi.c | 26 ++ arch/x86/cpu/ivybridge/sdram.c | 5 + arch/x86/cpu/quark/acpi.c | 7 + arch/x86/dts/Makefile | 3 +- arch/x86/dts/baytrail_som-db5800-som-6867.dts | 289 +++++++++++++++++++++ arch/x86/include/asm/acpi/global_nvs.h | 19 ++ arch/x86/include/asm/acpi_table.h | 4 + .../include/asm/arch-baytrail/acpi/global_nvs.asl | 15 ++ arch/x86/include/asm/arch-baytrail/acpi/lpc.asl | 19 +- .../include/asm/arch-baytrail/acpi/platform.asl | 3 + arch/x86/include/asm/arch-baytrail/global_nvs.h | 21 ++ .../x86/include/asm/arch-quark/acpi/global_nvs.asl | 14 + arch/x86/include/asm/arch-quark/acpi/platform.asl | 3 + arch/x86/include/asm/arch-quark/global_nvs.h | 20 ++ arch/x86/lib/acpi_table.c | 22 ++ arch/x86/lib/fsp/fsp_support.c | 2 +- board/advantech/Kconfig | 28 ++ board/advantech/som-db5800-som-6867/.gitignore | 3 + board/advantech/som-db5800-som-6867/Kconfig | 28 ++ board/advantech/som-db5800-som-6867/MAINTAINERS | 7 + board/advantech/som-db5800-som-6867/Makefile | 8 + .../som-db5800-som-6867/acpi/mainboard.asl | 11 + board/advantech/som-db5800-som-6867/dsdt.asl | 14 + .../som-db5800-som-6867/som-db5800-som-6867.c | 24 ++ board/advantech/som-db5800-som-6867/start.S | 9 + .../conga-qeval20-qa3-e3845/conga-qeval20-qa3.c | 2 + configs/bayleybay_defconfig | 1 + ...conga-qeval20-qa3-e3845-internal-uart_defconfig | 63 +++++ configs/minnowmax_defconfig | 1 + configs/som-db5800-som-6867_defconfig | 61 +++++ doc/README.x86 | 2 - drivers/pci/pci_rom.c | 11 +- include/configs/som-db5800-som-6867.h | 36 +++ 35 files changed, 773 insertions(+), 23 deletions(-) ------------------------------------------------------------------------------- commit 9532fe3b40ddf66ef976dee3d5cf1d8b3396bf4d Author: Simon Glass <sjg@chromium.org> Date: 2016-07-11 09:30:55 -0600 x86: link: Correct a failure in DRAM init With the change to set up pinctrl after relocation, link fails to boot. Add a special case in the link code to handle this. Fixes: d8906c1f (x86: Probe pinctrl driver in cpu_init_r()) Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Base directory -> / arch/x86/cpu/ivybridge/sdram.c | 5 +++++ 1 file changed, 5 insertions(+) ------------------------------------------------------------------------------- commit 215099a522dae18d4682964c6b850d12c45c98a0 Author: George McCollister <george.mccollister@gmail.com> Date: 2016-06-21 12:07:33 -0500 x86: Add Advantech SOM-DB5800/SOM-6867 support Add support for Advantech SOM-DB5800 with the SOM-6867 installed. This is very similar to conga-qeval20-qa3-e3845 in that there is a reference carrier board (SOM-DB5800) with a Baytrail based SoM (SOM-6867) installed. Currently supported: - 2x UART (From ITE EC on SOM-6867) routed to COM3/4 connectors on SOM-DB5800. - 4x USB 2.0 (EHCI) - Video - SATA - Ethernet - PCIe - Realtek ALC892 HD Audio Pad configuration for HDA_RSTB, HDA_SYNC, HDA_CLK, HDA_SDO HDA_SDI0 is set in DT to enable HD Audio codec. Pin defaults for codec pin complexs are not changed. Not supported: - Winbond Super I/O (Must be disabled with jumpers on SOM-DB8500) - USB 3.0 (XHCI) - TPM Signed-off-by: George McCollister <george.mccollister@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Base directory -> / arch/x86/Kconfig | 4 + arch/x86/dts/Makefile | 3 +- arch/x86/dts/baytrail_som-db5800-som-6867.dts | 289 +++++++++++++++++++++ board/advantech/Kconfig | 28 ++ board/advantech/som-db5800-som-6867/.gitignore | 3 + board/advantech/som-db5800-som-6867/Kconfig | 28 ++ board/advantech/som-db5800-som-6867/MAINTAINERS | 7 + board/advantech/som-db5800-som-6867/Makefile | 8 + .../som-db5800-som-6867/acpi/mainboard.asl | 11 + board/advantech/som-db5800-som-6867/dsdt.asl | 14 + .../som-db5800-som-6867/som-db5800-som-6867.c | 24 ++ board/advantech/som-db5800-som-6867/start.S | 9 + configs/som-db5800-som-6867_defconfig | 61 +++++ include/configs/som-db5800-som-6867.h | 36 +++ 14 files changed, 524 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 3ff11aaa507aa222e76aa2517efc9786494994ed Author: Bin Meng <bmeng.cn@gmail.com> Date: 2016-06-17 02:13:17 -0700 x86: baytrail: acpi: Hide internal UART per GNVS setting If global NVS says internal UART is not enabled, hide it in the ASL code so that OS won't see it. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: George McCollister <george.mccollister@gmail.com> Tested-by: George McCollister <george.mccollister@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/x86/include/asm/arch-baytrail/acpi/lpc.asl | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) ------------------------------------------------------------------------------- commit 79c2c257cf66da5ac90b5c53954310361e41bb0a Author: Bin Meng <bmeng.cn@gmail.com> Date: 2016-06-17 02:13:16 -0700 x86: acpi: Pack global NVS into ACPI table Now that platform-specific ACPI global NVS is added, pack it into ACPI table and get its address fixed up. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: George McCollister <george.mccollister@gmail.com> Tested-by: George McCollister <george.mccollister@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/x86/include/asm/acpi_table.h | 4 ++++ .../include/asm/arch-baytrail/acpi/platform.asl | 3 +++ arch/x86/include/asm/arch-quark/acpi/platform.asl | 3 +++ arch/x86/lib/acpi_table.c | 22 ++++++++++++++++++++++ doc/README.x86 | 2 -- 5 files changed, 32 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit cf7108b320e1851b829d6adc9bd4f4462c5f5072 Author: Bin Meng <bmeng.cn@gmail.com> Date: 2016-06-17 02:13:15 -0700 x86: quark: Introduce ACPI global NVS This introduces quark-specific ACPI global NVS structure, defined in both C header file and ASL file. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/x86/cpu/quark/acpi.c | 7 +++++++ arch/x86/include/asm/arch-quark/acpi/global_nvs.asl | 14 ++++++++++++++ arch/x86/include/asm/arch-quark/global_nvs.h | 20 ++++++++++++++++++++ 3 files changed, 41 insertions(+) ------------------------------------------------------------------------------- commit 2047390abc04b921764bd23eeffc0d3e83a2a674 Author: Bin Meng <bmeng.cn@gmail.com> Date: 2016-06-17 02:13:14 -0700 x86: baytrail: Introduce ACPI global NVS This introduces baytrail-specific ACPI global NVS structure, defined in both C header file and ASL file. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: George McCollister <george.mccollister@gmail.com> Tested-by: George McCollister <george.mccollister@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/x86/cpu/baytrail/acpi.c | 26 ++++++++++++++++++++++ arch/x86/include/asm/acpi/global_nvs.h | 19 ++++++++++++++++ .../include/asm/arch-baytrail/acpi/global_nvs.asl | 15 +++++++++++++ arch/x86/include/asm/arch-baytrail/global_nvs.h | 21 +++++++++++++++++ 4 files changed, 81 insertions(+) ------------------------------------------------------------------------------- commit f2a751bebafed498d216f8d9a49d21f0d8335fe3 Author: Stefan Roese <sr@denx.de> Date: 2016-06-15 14:15:25 +0200 x86: conga-qeval20-qa3: Add support for internal UART This patch adds support to enable and use the internal BayTrail UART instead of the one integrated in the Super IO Winbond chip. For this, a 2nd defconfig file is added. This is useful for tests done for the congatec SoM used on baseboards without such a Super IO chip. Signed-off-by: Stefan Roese <sr@denx.de> Cc: Bin Meng <bmeng.cn@gmail.com> Cc: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / .../conga-qeval20-qa3-e3845/conga-qeval20-qa3.c | 2 + ...conga-qeval20-qa3-e3845-internal-uart_defconfig | 63 ++++++++++++++++++++++ 2 files changed, 65 insertions(+) ------------------------------------------------------------------------------- commit d9703a0725707dc39d58c1de486af26ea3886e56 Author: Bin Meng <bmeng.cn@gmail.com> Date: 2016-06-14 21:33:24 -0700 x86: fsp: Wrap setup_internal_uart() call with CONFIG_INTERNAL_UART For any FSP-enabled boards that want to enable debug UART support, setup_internal_uart() will be called, but this API is only available on BayTrail platform. Change to wrap it with CONFIG_INTERNAL_UART. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Stefan Roese <sr@denx.de> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/x86/lib/fsp/fsp_support.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 377656b2cc3be3e704fc574041669a4a84ea6bb8 Author: Bin Meng <bmeng.cn@gmail.com> Date: 2016-06-14 21:33:23 -0700 x86: baytrail: Introduce a Kconfig option for the internal UART There are quite a number of BayTrail boards that uses an external SuperIO chipset to provide the legacy UART. For such cases, it's better to have a Kconfig option to enable the internal UART. So far BayleyBay and MinnowMax boards are using internal UART as the U-Boot console, enable this on these two boards. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Stefan Roese <sr@denx.de> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/x86/cpu/baytrail/Kconfig | 11 +++++++++++ configs/bayleybay_defconfig | 1 + configs/minnowmax_defconfig | 1 + 3 files changed, 13 insertions(+) ------------------------------------------------------------------------------- commit f698baa9d14be89e10f3bc3ae16fb6a084bdee54 Author: Bin Meng <bmeng.cn@gmail.com> Date: 2016-06-14 02:02:40 -0700 pci: Add board_ prefix to should_load_oprom() and make it weak For consistency with board_should_run_oprom(), do the same to should_load_oprom(). Board support codes can provide this one to override the default weak one. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/pci/pci_rom.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit c0aea6ba8b008aa3e28d85d70f7fb11885d560e0 Author: Bin Meng <bmeng.cn@gmail.com> Date: 2016-06-14 02:02:39 -0700 pci: Make load_oprom and run_oprom independent At present should_load_oprom() calls board_should_run_oprom() to determine whether oprom should be loaded. But sometimes we just want to load oprom without running. Make them independent. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/pci/pci_rom.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) ------------------------------------------------------------------------------- commit b45dd66225dfe60d692efde1e7bd36b5842434b7 Author: Bin Meng <bmeng.cn@gmail.com> Date: 2016-06-14 02:02:38 -0700 pci: Remove CONFIG_ALWAYS_LOAD_OPROM This option is defined at nowhere. Remove it. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/pci/pci_rom.c | 2 -- 1 file changed, 2 deletions(-) ------------------------------------------------------------------------------- commit 3537ee879e0428587621a2cafbad2d9982bc082b Author: Jaehoon Chung <jh80.chung@samsung.com> Date: 2016-06-30 20:57:37 +0900 mmc: exynos_dw_mmc: support the Driver mode for Exynos This patch support the driver mode for exynos dwmmc controller. To support the legacy model, maintained the existing code. Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com> Base directory -> / drivers/mmc/exynos_dw_mmc.c | 72 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) ------------------------------------------------------------------------------- commit 70f6d39433d3d597adeac3d4c84b3a58b86cd2d3 Author: Jaehoon Chung <jh80.chung@samsung.com> Date: 2016-06-29 19:46:18 +0900 mmc: exynos_dw_mmc: use the 4bit bus-width by default If there is not "samsung,bus-width" property, use the 4bit buswidth by default. Almost all Exnyos SoCs support at least 4bit buswidth. Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com> Base directory -> / drivers/mmc/exynos_dw_mmc.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) ------------------------------------------------------------------------------- commit d956a67ed14e158fd24b5c85cc414bfa14773457 Author: Jaehoon Chung <jh80.chung@samsung.com> Date: 2016-06-29 19:46:17 +0900 mmc: exynos_dw_mmc: clean the unused and unnecessary codes Clean the unused and unnecessary codse. This patch is one of them for preparing to use DM. Because it's easy to maintain and combine DM after cleaning codes. Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com> Base directory -> / drivers/mmc/exynos_dw_mmc.c | 31 +++++++++---------------------- 1 file changed, 9 insertions(+), 22 deletions(-) ------------------------------------------------------------------------------- commit ce757b18fb1ef21de2fd446031f4ad2a554dc1fb Author: Jaehoon Chung <jh80.chung@samsung.com> Date: 2016-06-29 19:46:16 +0900 mmc: exynos_dw_mmc: add the error control for checking index PERIPH_ID_SDMMC4(131) is not continous value with PERIPH_ID_SDMMC0(75). If there is no 'index' property in fdt, then dev_index should be assigned to dev_id(Peripheral ID). At this time, dev_index should be "56". It means Exynos SoC has "56" numbers of DWMMC IP. To prevent this behavior, it needs to check the maximum device index. Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com> Base directory -> / drivers/mmc/exynos_dw_mmc.c | 5 +++++ 1 file changed, 5 insertions(+) ------------------------------------------------------------------------------- commit f565ea59cbc040bae1d5b49912ba93a2f836ba11 Author: Jaehoon Chung <jh80.chung@samsung.com> Date: 2016-06-29 19:46:15 +0900 mmc: exynos_dw_mmc: remove #ifdef for OF_CONTROL Removed #ifdef for OF_CONTROL. It might use 'OF_CONTROL' by default. Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com> Base directory -> / drivers/mmc/exynos_dw_mmc.c | 2 -- 1 file changed, 2 deletions(-) ------------------------------------------------------------------------------- commit fb6706cfda976ab0500f7ce7f522d3d8fa913fd4 Author: Jaehoon Chung <jh80.chung@samsung.com> Date: 2016-06-29 19:46:14 +0900 mmc: exynos_dw_mmc: remove the unused function This function have maintained for supporting Non-FDT. Now, Almost all SoC are changed to fdt style. So there are no that this function is called anywhere. Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com> Base directory -> / arch/arm/mach-exynos/include/mach/dwmmc.h | 1 - drivers/mmc/exynos_dw_mmc.c | 36 ------------------------------- 2 files changed, 37 deletions(-) ------------------------------------------------------------------------------- commit 836efb33e31f2c2567a094073ee1572367693599 Author: Jaehoon Chung <jh80.chung@samsung.com> Date: 2016-06-28 19:47:25 +0900 ARM: exynos4: dts: add the prefix '/' for aliases nodes It's correct to use '/' as prefix for aliases nodes. Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com> Base directory -> / arch/arm/dts/exynos4210-origen.dts | 2 +- arch/arm/dts/exynos4210-trats.dts | 4 ++-- arch/arm/dts/exynos4210-universal_c210.dts | 4 ++-- arch/arm/dts/exynos4412-odroid.dts | 4 ++-- arch/arm/dts/exynos4412-trats2.dts | 6 +++--- 5 files changed, 10 insertions(+), 10 deletions(-) ------------------------------------------------------------------------------- commit bff97dde8c8cf6fd5f04bb26fca83f61eadc1741 Author: Tom Rini <trini@konsulko.com> Date: 2016-07-11 18:50:29 -0400 Merge branch 'master' of git://git.denx.de/u-boot-spi Base directory -> / arch/arm/dts/dra7-evm.dts | 6 +- arch/arm/dts/dra72-evm.dts | 6 +- arch/arm/dts/k2e-evm.dts | 3 +- arch/arm/dts/k2g-evm.dts | 69 ++++++++ arch/arm/dts/k2g.dtsi | 61 +++++++ arch/arm/dts/k2hk-evm.dts | 3 +- arch/arm/dts/k2l-evm.dts | 3 +- arch/arm/dts/keystone.dtsi | 3 + cmd/sf.c | 2 + common/env_sf.c | 8 +- configs/k2e_evm_defconfig | 2 + configs/k2g_evm_defconfig | 4 + configs/k2hk_evm_defconfig | 2 + configs/k2l_evm_defconfig | 2 + drivers/core/device.c | 11 ++ drivers/spi/cadence_qspi.c | 3 +- drivers/spi/cadence_qspi.h | 2 +- drivers/spi/cadence_qspi_apb.c | 15 +- drivers/spi/davinci_spi.c | 329 +++++++++++++++++++++++++---------- drivers/spi/spi-uclass.c | 10 +- include/configs/k2g_evm.h | 6 + include/configs/ti_armv7_keystone2.h | 4 + include/dm/device.h | 13 ++ 23 files changed, 450 insertions(+), 117 deletions(-) ------------------------------------------------------------------------------- commit adde435fa7c03c17c40e9f771eceed127fbbc251 Author: Tim Harvey <tharvey@gateworks.com> Date: 2016-05-24 14:59:59 -0700 video: allow version string to be optional when using LOGO The CONFIG_HIDE_LOGO_VERSION config can be used to disable putting the U-Boot version string on top of the logo. Signed-off-by: Tim Harvey <tharvey@gateworks.com> Base directory -> / README | 3 +++ drivers/video/cfb_console.c | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 94fbd3e37d6bdbf5490a185607ca20f862637220 Author: Bin Meng <bmeng.cn@gmail.com> Date: 2016-06-26 23:24:32 -0700 tools: patman: Handle missing 'END' in non-last commit of a series The following python error: Traceback (most recent call last): File "./tools/patman/patman", line 144, in <module> series = patchstream.FixPatches(series, args) File "./tools/patman/patchstream.py", line 477, in FixPatches commit = series.commits[count] IndexError: list index out of range is seen when: - 'END' is missing in those tags - those tags are put in the last part in a commit message - the commit is not the last commit of the series Add testing logic to see if a new commit starts. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Acked-by: Simon Glass <sjg@chromium.org> Base directory -> / tools/patman/patchstream.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit 57b6b190a8926403dca2444a45c34bed1f62992d Author: Bin Meng <bmeng.cn@gmail.com> Date: 2016-06-26 23:24:31 -0700 tools: patman: Handle missing blank line for 'Series-changes' 'Series-changes' uses blank line to indicate its end. If that is missing, series internal state variable 'in_change' may be wrong. Correct its state. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Acked-by: Simon Glass <sjg@chromium.org> Base directory -> / tools/patman/patchstream.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit 0d57718775243c2d2d7ff8c69dad83db08e1030d Author: Bin Meng <bmeng.cn@gmail.com> Date: 2016-06-26 23:24:30 -0700 tools: patman: Generate cover letter correctly when 'END' is missing If 'END' is missing in a 'Cover-letter' section, and that section happens to show up at the very end of the commit message, and the commit is the last commit of the series, patman fails to generate cover letter for us. Handle this in CloseCommit of patchstream. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Acked-by: Simon Glass <sjg@chromium.org> Base directory -> / tools/patman/patchstream.py | 8 ++++++++ 1 file changed, 8 insertions(+) ------------------------------------------------------------------------------- commit 13b98d95bab89bcac75c8a187577e7cc3754d194 Author: Bin Meng <bmeng.cn@gmail.com> Date: 2016-06-26 23:24:29 -0700 tools: patman: Handle tag sections without an 'END' 'Cover-letter', 'Series-notes' and 'Commit-notes' tags require an 'END' to be put at the end of its section. If we forget to put an 'END' in those sections, and these sections are followed by another patman tag, patman generates incorrect patches. This adds codes to handle such scenario. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Acked-by: Simon Glass <sjg@chromium.org> Base directory -> / tools/patman/patchstream.py | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) ------------------------------------------------------------------------------- commit e7df218c3b446e02c5549b79dd76b65054d6147d Author: Bin Meng <bmeng.cn@gmail.com> Date: 2016-06-26 23:24:28 -0700 tools: patman: Use cover_match for 'Cover-letter' Like other patman tags, use a new variable cover_match to indicate a match for 'Cover-letter'. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Acked-by: Simon Glass <sjg@chromium.org> Base directory -> / tools/patman/patchstream.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 6f0e7a36efbb30fb7a100f5a6f421b0310815815 Author: Bin Meng <bmeng.cn@gmail.com> Date: 2016-06-22 02:29:47 -0700 dm: Sort the uclass id in alphabetical order Some uclass ids are out of order. Per the comments, sort them in alphabetical order. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Acked-by: Simon Glass <sjg@chromium.org> Base directory -> / include/dm/uclass-id.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit 920c6965d11137fff45feccee7e1108875b196d0 Author: Simon Glass <sjg@chromium.org> Date: 2016-06-19 17:33:15 -0600 sandbox: Find keyboard driver using driver model The cros-ec keyboard is always a child of the cros-ec node. Rather than searching the device tree, looking at the children. Remove the compat string which is now unused. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/misc/cros_ec_sandbox.c | 11 ++++++++++- include/fdtdec.h | 1 - lib/fdtdec.c | 1 - 3 files changed, 10 insertions(+), 3 deletions(-) ------------------------------------------------------------------------------- commit 39ea0ee925327c329053288724b42bda875b4074 Author: Simon Glass <sjg@chromium.org> Date: 2016-06-19 17:33:14 -0600 fdt: x86: Tidy up a few COMPAT string definitions The 'COMPAT_' part should appear only once so drop the duplicate part. It is ignored anyway, but let's keep things consistent. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Base directory -> / lib/fdtdec.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) ------------------------------------------------------------------------------- commit 01a227dfc890c8e1b6412a7208fb178d9ac22691 Author: Simon Glass <sjg@chromium.org> Date: 2016-06-19 17:33:13 -0600 fdt: Add a note to avoid adding new compatible strings The list is shrinking and we should avoid adding new things. Instead, a proper driver should be created with driver model. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Base directory -> / lib/fdtdec.c | 5 +++++ 1 file changed, 5 insertions(+) ------------------------------------------------------------------------------- commit da9e0a9bab7ddcf9888a6211b76860155895169d Author: Simon Glass <sjg@chromium.org> Date: 2016-06-19 17:33:12 -0600 fdt: Drop unused exynos compatible strings A few drivers have moved to driver model, so we can drop these strings. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jaehoon Chung <jh80.chung@samsung.com> Base directory -> / include/fdtdec.h | 2 -- lib/fdtdec.c | 2 -- 2 files changed, 4 deletions(-) ------------------------------------------------------------------------------- commit 6cd2602d61fc4bc172fd99dcbe9b930428992331 Author: Simon Glass <sjg@chromium.org> Date: 2016-06-19 17:33:11 -0600 x86: fdt: Drop the unused compatible strings in fdtdec We have drivers for several more devices now, so drop the strings which are no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Base directory -> / arch/x86/cpu/ivybridge/lpc.c | 6 ------ include/fdtdec.h | 5 ----- lib/fdtdec.c | 5 ----- 3 files changed, 16 deletions(-) ------------------------------------------------------------------------------- commit ec3cde1e832067352532013988f4590c2f2f6c4f Author: Xu Ziyuan <xzy.xu@rock-chips.com> Date: 2016-06-15 16:56:18 +0800 common: block: fix compiler error with CONFIG_FASTBOOT_FLASH_MMC_DEV This fixes the following compiler error: common/fb_mmc.c: In function ‘fb_mmc_erase’: common/fb_mmc.c:209:17: error: ‘struct blk_desc’ has no member named ‘block_erase’ Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com> Acked-by: Simon Glass <sjg@chromium.org> Base directory -> / common/fb_mmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 4b689f02ffa0aebdfef204b5c5c17134e97459c3 Author: Hamish Martin <hamish.martin@alliedtelesis.co.nz> Date: 2016-06-14 10:17:05 +1200 dm: gpio: MPC85XX GPIO platform data support Define a platform data structure for the MPC85XX GPIO driver to allow use of the driver without device tree. Users should define the GPIO blocks for their platform like this: struct mpc85xx_gpio_plat gpio_blocks[] = { { .addr = 0x130000, .ngpios = 32, }, { .addr = 0x131000, .ngpios = 32, }, }; U_BOOT_DEVICES(my_platform_gpios) = { { "gpio_mpc85xx", &gpio_blocks[0] }, { "gpio_mpc85xx", &gpio_blocks[1] }, }; This is intended to build upon the recent submission of the base MPC85XX driver from Mario Six. We need to use that new driver without dts support and this patch gives us that flexibility. This has been tested on a Freescale T2080 CPU, although only the first GPIO block. Signed-off-by: Hamish Martin <hamish.martin@alliedtelesis.co.nz> Reviewed-by: Mario Six <mario.six@gdsys.cc> Tested-by: Mario Six <mario.six@gdsys.cc> Acked-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/powerpc/include/asm/arch-mpc85xx/gpio.h | 6 +++++ drivers/gpio/mpc85xx_gpio.c | 37 ++++++++++++++++++++++------ 2 files changed, 36 insertions(+), 7 deletions(-) ------------------------------------------------------------------------------- commit 797d1b9de118d4d3f6d918e7412c3ff9b7883bf0 Author: Simon Glass <sjg@chromium.org> Date: 2016-06-12 23:30:33 -0600 dm: dfu: mmc: Support CONFIG_BLK in DFU for MMC Update the method of accessing the block device so that it works with CONFIG_BLK enabled. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/dfu/dfu_mmc.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) ------------------------------------------------------------------------------- commit 87bce4e5c0b55452d70830928b2d7b98fa24d4e3 Author: Simon Glass <sjg@chromium.org> Date: 2016-06-12 23:30:32 -0600 dm: spl: mmc: Support CONFIG_BLK in SPL MMC Update the method of accessing the block device so that it works with CONFIG_BLK enabled. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / common/spl/spl_mmc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) ------------------------------------------------------------------------------- commit 4b00bdb7a471fc4414c3957726c3cf13c2ca3445 Author: Simon Glass <sjg@chromium.org> Date: 2016-06-12 23:30:31 -0600 dm: mmc: msmsdhic: Drop old MMC code Now that we have fully moved to driver model, drop the old code. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/mmc/Kconfig | 2 +- drivers/mmc/msm_sdhci.c | 15 --------------- 2 files changed, 1 insertion(+), 16 deletions(-) ------------------------------------------------------------------------------- commit 91cbc3f568a49990c5f468453e035166ad10b5d0 Author: Simon Glass <sjg@chromium.org> Date: 2016-06-12 23:30:30 -0600 dm: mmc: Move dragonboard410c to use CONFIG_BLK and CONFIG_DM_MMC_OPS Update this board to use driver model for block devices and MMC operations. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / configs/dragonboard410c_defconfig | 2 ++ 1 file changed, 2 insertions(+) ------------------------------------------------------------------------------- commit 12293f6d367e0832dfa08e3a74aad32671fcc3a3 Author: Simon Glass <sjg@chromium.org> Date: 2016-06-12 23:30:29 -0600 dm: mmc: msm_sdhci: Support CONFIG_BLK and CONFIG_DM_MMC_OPS Add support for using driver model for block devices and MMC operations in this driver. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/mmc/msm_sdhci.c | 46 ++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 44 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit ef1e4eda6b4ef2077a943b638b33f95d715062ae Author: Simon Glass <sjg@chromium.org> Date: 2016-06-12 23:30:28 -0600 dm: mmc: sdhci: Support CONFIG_BLK and CONFIG_DM_MMC_OPS Add support for using driver model for block devices and MMC operations in this driver. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/mmc/sdhci.c | 40 ++++++++++++++++++++++++++- include/sdhci.h | 80 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 119 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 2a809093f0e2b243565abb27fc37b6d881c4157f Author: Simon Glass <sjg@chromium.org> Date: 2016-06-12 23:30:27 -0600 dm: mmc: sdhci: Refactor configuration setup to support DM Move the configuration setting into a separate function which can be used by the driver-model code. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/mmc/sdhci.c | 107 +++++++++++++++++++++++++++++----------------------- 1 file changed, 59 insertions(+), 48 deletions(-) ------------------------------------------------------------------------------- commit 9a46bd3febd405e2d4b894d9ebae2e9ca88b22d6 Author: Simon Glass <sjg@chromium.org> Date: 2016-06-12 23:30:26 -0600 dm: sandbox: Convert to use CONFIG_CMD_MMC_OPS Update the sandbox MMC emulation to use driver model for MMC operations. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/Kconfig | 1 + configs/sandbox_defconfig | 4 ++-- drivers/mmc/sandbox_mmc.c | 17 ++++++----------- 3 files changed, 9 insertions(+), 13 deletions(-) ------------------------------------------------------------------------------- commit 3649a0fa76e5092821127c38d6475b5cf7fd95b3 Author: Simon Glass <sjg@chromium.org> Date: 2016-06-12 23:30:25 -0600 rockchip: Add MAINTAINER files for kylin_rk3036, evb_rk3036 These boards should have maintainer entries. Add them. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / board/evb_rk3036/evb_rk3036/MAINTAINERS | 6 ++++++ board/kylin/kylin_rk3036/MAINTAINERS | 6 ++++++ 2 files changed, 12 insertions(+) ------------------------------------------------------------------------------- commit 42b37d8d469bda1ddb1847596628eb03e1229bb4 Author: Simon Glass <sjg@chromium.org> Date: 2016-06-12 23:30:24 -0600 dm: mmc: rockchip: Enable CONFIG_DM_MMC_OPS for all boards Enable this option to move rockchip over to use driver model for MMC operations. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/arm/Kconfig | 1 + drivers/mmc/rockchip_dw_mmc.c | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 691272fe5236b1b5ac02c7c1a1fb8fe85fd78d97 Author: Simon Glass <sjg@chromium.org> Date: 2016-06-12 23:30:23 -0600 dm: mmc: dwmmc: Support CONFIG_DM_MMC_OPS Add support to dwmmc for using driver model for MMC operations. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/mmc/dw_mmc.c | 33 +++++++++++++++++++++++++++++++++ include/dwmmc.h | 9 +++++++++ 2 files changed, 42 insertions(+) ------------------------------------------------------------------------------- commit 8ca51e51c182699ebc64b10660db3e03cb43cb54 Author: Simon Glass <sjg@chromium.org> Date: 2016-06-12 23:30:22 -0600 dm: mmc: Add a way to use driver model for MMC operations The driver model conversion for MMC has moved in small steps. The first step was to have an MMC device (CONFIG_DM_MMC). The second was to use a child block device (CONFIG_BLK). The final one is to use driver model for MMC operations (CONFIG_DM_MMC_OP). Add support for this. The immediate priority is to make all boards that use DM_MMC also use those other two options. This will allow them to be removed. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/mmc/Kconfig | 9 +++++++ drivers/mmc/mmc-uclass.c | 66 ++++++++++++++++++++++++++++++++++++++++++++++++ drivers/mmc/mmc.c | 21 ++++++++++++--- include/mmc.h | 66 +++++++++++++++++++++++++++++++++++++++++++++++- 4 files changed, 158 insertions(+), 4 deletions(-) ------------------------------------------------------------------------------- commit 7d1c8d99fd12ad1e879533075b87c908462c1fd3 Author: Simon Glass <sjg@chromium.org> Date: 2016-06-12 23:30:21 -0600 rockchip: Disable CONFIG_SDHCI This option is not actually needed for rockchip boards. Drop it, since it will not support driver-model MMC operation support. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / include/configs/rk3036_common.h | 1 - include/configs/rk3288_common.h | 1 - 2 files changed, 2 deletions(-) ------------------------------------------------------------------------------- commit c0c76ebae3d088867e38fb7a61e290ed9676e516 Author: Simon Glass <sjg@chromium.org> Date: 2016-06-12 23:30:20 -0600 mmc: Move tracing code into separate functions Move this code into separate functions so that it can be used from the uclass also. Add static inline versions for when the option is disabled. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/mmc/mmc.c | 41 ++++++++++++++++++++++++++--------------- drivers/mmc/mmc_private.h | 19 +++++++++++++++++++ 2 files changed, 45 insertions(+), 15 deletions(-) ------------------------------------------------------------------------------- commit 6775e013c9b68d110e4d6f0489a8b79876081590 Author: Simon Glass <sjg@chromium.org> Date: 2016-06-12 23:30:19 -0600 dm: mmc: rockchip: Support only CONFIG_BLK Since all Rockchip boards use CONFIG_BLK, we can remove this old code. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/mmc/rockchip_dw_mmc.c | 11 ----------- 1 file changed, 11 deletions(-) ------------------------------------------------------------------------------- commit c40704f4b13a19a95aa13965c0f1f6a93b5574c0 Author: Simon Glass <sjg@chromium.org> Date: 2016-06-12 23:30:18 -0600 mmc: Move MMC boot code into its own file Rather than having an #ifdef in the main mmc.c file, control this feature from the Makefile by moving the code into its own file. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/mmc/Makefile | 3 ++ drivers/mmc/mmc.c | 126 +------------------------------------------- drivers/mmc/mmc_boot.c | 131 ++++++++++++++++++++++++++++++++++++++++++++++ drivers/mmc/mmc_private.h | 11 ++++ 4 files changed, 146 insertions(+), 125 deletions(-) ------------------------------------------------------------------------------- commit 5aed4cbba07526d1a575f07f45b4d10d8cdca11e Author: Simon Glass <sjg@chromium.org> Date: 2016-06-12 23:30:17 -0600 dm: mmc: Move non-CONFIG_BLK code into mmc_legacy.c Rather than having #ifdef in mmc.c, move this code into the legacy file. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/mmc/mmc.c | 95 ------------------------------------------------ drivers/mmc/mmc_legacy.c | 91 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 91 insertions(+), 95 deletions(-) ------------------------------------------------------------------------------- commit eede897e2782a90efc8190ff8424e216730ced7d Author: Simon Glass <sjg@chromium.org> Date: 2016-06-12 23:30:16 -0600 dm: mmc: Move CONFIG_BLK code into the mmc uclass Rather than having #ifdef in mmc.c, move this code into the uclass file. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/mmc/mmc-uclass.c | 80 +++++++++++++++++++++++++++++++++++++++++++++ drivers/mmc/mmc.c | 85 ++---------------------------------------------- 2 files changed, 83 insertions(+), 82 deletions(-) ------------------------------------------------------------------------------- commit 7dba0b93672adf94285bfd072eed543d3b68d4c9 Author: Simon Glass <sjg@chromium.org> Date: 2016-06-12 23:30:15 -0600 mmc: Add function declarations for mmc_bread() and mmc_switch_part() These private functions are used both in the driver-model implementation and in the legacy code. Add them to the header. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/mmc/mmc.c | 9 ++++----- drivers/mmc/mmc_private.h | 17 +++++++++++++++++ 2 files changed, 21 insertions(+), 5 deletions(-) ------------------------------------------------------------------------------- commit aa15038cdf4a00898bac05be8af63e6d1006aa1f Author: Simon Glass <sjg@chromium.org> Date: 2016-06-12 23:30:14 -0600 rockchip: Use 'select' instead of defaults in Kconfig Rockchip uses driver model for all subsystems. Specify this in the arm Kconfig rather than as defaults in the Rockchip Kconfig. This means that boards cannot turn these options off, which seems correct. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/arm/Kconfig | 10 ++++++++++ arch/arm/mach-rockchip/Kconfig | 27 --------------------------- 2 files changed, 10 insertions(+), 27 deletions(-) ------------------------------------------------------------------------------- commit e7a773a0bcceb130e441398d8bc97febacb0d499 Author: Simon Glass <sjg@chromium.org> Date: 2016-06-12 23:30:13 -0600 dm: mmc: dwmmc: Add comments to the dwmmc setup functions These comments were missed when the original code was written. Add them to help people port their drivers over. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / include/dwmmc.h | 64 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) ------------------------------------------------------------------------------- commit 19ce924ff914f315dc2fdf79f357825c513aed6e Author: Tom Rini <trini@konsulko.com> Date: 2016-07-11 15:01:01 -0400 Prepare v2016.07 Signed-off-by: Tom Rini <trini@konsulko.com> Base directory -> / Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit a868598a4844adf231c0e094b75219327237f262 Author: Andre Przywara <andre.przywara@arm.com> Date: 2016-07-08 15:25:23 +0100 doc: ARMv8: add README.pine64 Since we lack information about the DRAM initialization for the Allwinner A64 SoC, booting any A64 based board like the Pine64 is a bit involved at the moment. Add a README file to explain the process. Signed-off-by: Andre Przywara <andre.przywara@arm.com> Reviewed-by: Tom Rini <trini@konsulko.com> [trini: Move to board/sunxi/ from doc/] Signed-off-by: Tom Rini <trini@konsulko.com> Base directory -> / board/sunxi/README.pine64 | 98 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 98 insertions(+) ------------------------------------------------------------------------------- commit 969cd1fa6df4d13615e26afbf03864670af6c098 Author: Stefano Babic <sbabic@denx.de> Date: 2016-07-11 16:09:48 +0200 mkimage -l is broken for images after gpimage Because a gpimage cannot be detected, a false GP header is printed instead of checking for further image types. Move gpimage as last to be linked, letting check all other image types and printing a GP header just in case no image is detected. Signed-off-by: Stefano Babic <sbabic@denx.de> Base directory -> / tools/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit 5fb0001a6729d2d5132b87f7123dc3f357ac74f8 Author: jk.kernel@gmail.com <jk.kernel@gmail.com> Date: 2016-07-09 21:12:04 +0800 git-mailrc: add rockchip alias It's easier to Cc rockchip maintainers on rockchip-releated patches. Signed-off-by: jk <jk.kernel@gmail.com> Base directory -> / doc/git-mailrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 96907c0fe50a856f66f60ade68864a2d7949bf15 Author: Vignesh R <vigneshr@ti.com> Date: 2016-07-06 10:04:28 +0530 dm: spi: Read default speed and mode values from DT In case of DT boot, don't read default speed and mode for SPI from CONFIG_*, instead read from DT node. This will make sure that boards with multiple SPI/QSPI controllers can be probed at different bus frequencies and SPI modes. Signed-off-by: Vignesh R <vigneshr@ti.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Mugunthan V N <mugunthanvnm@ti.com> Reviewed-by: Jagan Teki <jteki@openedev.com> Base directory -> / cmd/sf.c | 2 ++ common/env_sf.c | 8 ++++---- drivers/spi/spi-uclass.c | 8 ++++++-- 3 files changed, 12 insertions(+), 6 deletions(-) ------------------------------------------------------------------------------- commit e835a74159798723592e3c45d06793cd6acaf7ff Author: Vignesh R <vigneshr@ti.com> Date: 2016-07-06 10:26:03 +0530 ARM: dts: dra7x: Support QSPI MODE-0 operation at 64MHz According to Data Manual(SPRS915P) of AM57x, TI QSPI controller on DRA74(rev 1.1+)/DRA72 EVM can support up to 64MHz in MODE-0, whereas MODE-3 is limited to 48MHz. Hence, switch to MODE-0 for better throughput. Signed-off-by: Vignesh R <vigneshr@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Mugunthan V N <mugunthanvnm@ti.com> Reviewed-by: Jagan Teki <jteki@openedev.com> Base directory -> / arch/arm/dts/dra7-evm.dts | 6 ++---- arch/arm/dts/dra72-evm.dts | 6 ++---- 2 files changed, 4 insertions(+), 8 deletions(-) ------------------------------------------------------------------------------- commit 988fb5ce610bbd2cc5a839cce737bba307e94db7 Author: Vignesh R <vigneshr@ti.com> Date: 2016-07-06 10:20:58 +0530 defconfig: k2g_evm_defconfig: Enable Cadence QSPI controller Enable Cadence QSPI controller support to use QSPI on K2G SoC. Also enable Spansion flash support to access s25fl512s flash present on K2G QSPI bus. Signed-off-by: Vignesh R <vigneshr@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Jagan Teki <jteki@openedev.com> Base directory -> / configs/k2g_evm_defconfig | 2 ++ include/configs/k2g_evm.h | 6 ++++++ 2 files changed, 8 insertions(+) ------------------------------------------------------------------------------- commit b60774fff1d2098c79cf1efb1e242f5f662ce317 Author: Vignesh R <vigneshr@ti.com> Date: 2016-07-06 10:20:57 +0530 ARM: dts: K2G: Add support for QSPI controller K2G SoC has a Cadence QSPI controller to communicate with NOR flash devices. Add DT nodes to support the same. Also, K2G EVM has a s25fl512s flash connect to QSPI bus at CS 0. Add nor flash slave node for the same. Signed-off-by: Vignesh R <vigneshr@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Jagan Teki <jteki@openedev.com> Base directory -> / arch/arm/dts/k2g-evm.dts | 45 +++++++++++++++++++++++++++++++++++++++++++++ arch/arm/dts/k2g.dtsi | 14 ++++++++++++++ 2 files changed, 59 insertions(+) ------------------------------------------------------------------------------- commit 2372e14f1937fceea54d698342e5a4240b58a893 Author: Vignesh R <vigneshr@ti.com> Date: 2016-07-06 10:20:56 +0530 spi: cadence_quadspi: Enable QUAD mode based on DT data Instead of relying on CONFIG_SPI_FLASH_QUAD to be defined to enable QUAD mode, make use of mode_rx field of dm_spi_slave_platdata to determine whether to enable or disable QUAD mode. This is necessary to support muliple SPI controllers where one of them may not support QUAD mode. Signed-off-by: Vignesh R <vigneshr@ti.com> Tested-by: Marek Vasut <marex@denx.de> Acked-by: Marek Vasut <marex@denx.de> Reviewed-by: Jagan Teki <jteki@openedev.com> Base directory -> / drivers/spi/cadence_qspi.c | 3 ++- drivers/spi/cadence_qspi.h | 2 +- drivers/spi/cadence_qspi_apb.c | 10 +++++----- 3 files changed, 8 insertions(+), 7 deletions(-) ------------------------------------------------------------------------------- commit dac3bf20fb2c9b03476be0d73db620f62ab3cee1 Author: Vignesh R <vigneshr@ti.com> Date: 2016-07-06 10:20:55 +0530 spi: cadence_qspi_apb: Support 32 bit AHB address AHB address can be as long as 32 bit, hence remove the CQSPI_REG_INDIRECTRDSTARTADDR mask. Since AHB address is passed from DT and read as u32 value, it anyway does not make sense to mask upper bits. Signed-off-by: Vignesh R <vigneshr@ti.com> Tested-by: Marek Vasut <marex@denx.de> Acked-by: Marek Vasut <marex@denx.de> Reviewed-by: Jagan Teki <jteki@openedev.com> Base directory -> / drivers/spi/cadence_qspi_apb.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) ------------------------------------------------------------------------------- commit fdf02a36c52cb96717b64113775c4251ecd49596 Author: Vignesh R <vigneshr@ti.com> Date: 2016-07-06 09:59:06 +0530 defconfig: k2g_evm_defconfig: enable SPI driver model Enable SPI and SPI Flash driver model as K2G SPI controller driver supports driver model. Signed-off-by: Vignesh R <vigneshr@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Jagan Teki <jteki@openedev.com> Base directory -> / configs/k2g_evm_defconfig | 2 ++ 1 file changed, 2 insertions(+) ------------------------------------------------------------------------------- commit c8e750473a8b81f38e1ece0a2a99572d36ebda53 Author: Vignesh R <vigneshr@ti.com> Date: 2016-07-06 09:59:05 +0530 ARM: dts: k2g: add support for Davinci SPI controller K2G SoC has 4 SPI instances that are compatible with davinci_spi controller(present on previous generation of Keystone2 devices). Add DT nodes for the same. K2G EVM has a N25Q128A13 SPI NOR flash connected on SPI-1. Add DT bindings for the same. Signed-off-by: Vignesh R <vigneshr@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Jagan Teki <jteki@openedev.com> Base directory -> / arch/arm/dts/k2g-evm.dts | 24 ++++++++++++++++++++++++ arch/arm/dts/k2g.dtsi | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 71 insertions(+) ------------------------------------------------------------------------------- commit c48f879c38afdfe746c2a39de6214d8c80a9ba4c Author: Vignesh R <vigneshr@ti.com> Date: 2016-07-06 09:59:04 +0530 defconfig: k2l_evm_defconfig: enable SPI driver model Enable SPI and SPI Flash driver model as K2L SPI controller driver supports driver model. Signed-off-by: Vignesh R <vigneshr@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Jagan Teki <jteki@openedev.com> Base directory -> / configs/k2l_evm_defconfig | 2 ++ 1 file changed, 2 insertions(+) ------------------------------------------------------------------------------- commit 188179481d4ce286fd7f4f59777272e4c65b789b Author: Vignesh R <vigneshr@ti.com> Date: 2016-07-06 09:59:03 +0530 ARM: dts: k2l: Enable Davinci SPI controller Now that davinci_spi driver has been converted to DM framework, enable the same in DT. Also add "spi-flash" as compatible property to n25q128a11 node as it is required for flash device to be probed in U-Boot. Signed-off-by: Vignesh R <vigneshr@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Jagan Teki <jteki@openedev.com> Base directory -> / arch/arm/dts/k2l-evm.dts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit cf4f0a9afc2ca1e6a8abb6dd777dd0e5a02cbd94 Author: Vignesh R <vigneshr@ti.com> Date: 2016-07-06 09:59:02 +0530 defconfig: k2e_evm_defconfig: enable SPI driver model Enable SPI and SPI Flash driver model as K2E SPI controller driver supports driver model. Signed-off-by: Vignesh R <vigneshr@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Jagan Teki <jteki@openedev.com> Base directory -> / configs/k2e_evm_defconfig | 2 ++ 1 file changed, 2 insertions(+) ------------------------------------------------------------------------------- commit 2655f1625a97742e1de7db947811115e112d8fb5 Author: Vignesh R <vigneshr@ti.com> Date: 2016-07-06 09:59:01 +0530 ARM: dts: k2e: Enable Davinci SPI controller Now that davinci_spi driver has been converted to DM framework, enable the same in DT. Also add "spi-flash" as compatible property to n25q128a11 node as it is required for flash device to be probed in U-Boot. Signed-off-by: Vignesh R <vigneshr@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Jagan Teki <jteki@openedev.com> Base directory -> / arch/arm/dts/k2e-evm.dts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 376c533b8997a929f6c52313ad5f480c620b0d09 Author: Vignesh R <vigneshr@ti.com> Date: 2016-07-06 09:59:00 +0530 defconfig: k2hk_evm_defconfig: enable SPI driver model Enable SPI and SPI Flash driver model as K2HK SPI controller driver supports driver model. Signed-off-by: Vignesh R <vigneshr@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Jagan Teki <jteki@openedev.com> Base directory -> / configs/k2hk_evm_defconfig | 2 ++ 1 file changed, 2 insertions(+) ------------------------------------------------------------------------------- commit 96368e6e389e6be64b9f4dfa654d5fdcf2d32653 Author: Vignesh R <vigneshr@ti.com> Date: 2016-07-06 09:58:59 +0530 ARM: dts: k2hk: Enable Davinci SPI controller Now that davinci_spi driver has been converted to DM framework, enable the same in DT. Also add "spi-flash" as compatible property to n25q128a11 node as it is required for flash device to be probed in U-Boot. Signed-off-by: Vignesh R <vigneshr@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Jagan Teki <jteki@openedev.com> Base directory -> / arch/arm/dts/k2hk-evm.dts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit e5fcf0372b4b59cc2b83da683177c5904edc4e93 Author: Vignesh R <vigneshr@ti.com> Date: 2016-07-06 09:58:58 +0530 ARM: dts: keystone2: add SPI aliases for davinci SPI nodes Add aliases for SPI nodes in order for it to be probed by the DM framework. Signed-off-by: Vignesh R <vigneshr@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Jagan Teki <jteki@openedev.com> Base directory -> / arch/arm/dts/keystone.dtsi | 3 +++ 1 file changed, 3 insertions(+) ------------------------------------------------------------------------------- commit 39832244231eab3629f412f1a679779316c6e3e8 Author: Vignesh R <vigneshr@ti.com> Date: 2016-07-06 09:58:57 +0530 keystone2: spi: do not define DM_SPI and DM_SPI_FLASH for SPL build Since Keystone2 devices do not have support DM in SPL, do not define DM_SPI and DM_SPI_FLASH for SPL build. Signed-off-by: Vignesh R <vigneshr@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Jagan Teki <jteki@openedev.com> Base directory -> / include/configs/ti_armv7_keystone2.h | 4 ++++ 1 file changed, 4 insertions(+) ------------------------------------------------------------------------------- commit 192bb756dca3d6285a685c6b645b59190b28f4b5 Author: Vignesh R <vigneshr@ti.com> Date: 2016-07-06 09:58:56 +0530 spi: davinci_spi: Convert to driver to adapt to DM Convert davinci_spi driver so that it complies with SPI DM framework. Signed-off-by: Vignesh R <vigneshr@ti.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Jagan Teki <jteki@openedev.com> Base directory -> / drivers/spi/davinci_spi.c | 329 +++++++++++++++++++++++++++++++++------------- 1 file changed, 240 insertions(+), 89 deletions(-) ------------------------------------------------------------------------------- commit 7c616862553e37c89ea5db399961018a7367ca33 Author: Vignesh R <vigneshr@ti.com> Date: 2016-07-06 09:58:55 +0530 dm: core: implement dev_map_physmem() This API helps to map physical register addresss pace of device to virtual address space easily. Its just a wrapper around map_physmem() with MAP_NOCACHE flag. Signed-off-by: Vignesh R <vigneshr@ti.com> Suggested-by: Simon Glass <sjg@chromium.org> Reviewed-by: Jagan Teki <jteki@openedev.com> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Jagan Teki <jteki@openedev.com> Base directory -> / drivers/core/device.c | 11 +++++++++++ include/dm/device.h | 13 +++++++++++++ 2 files changed, 24 insertions(+) ------------------------------------------------------------------------------- commit d73718f3236c520a92efa401084c658e6cc067f3 Author: Mingkai Hu <mingkai.hu@nxp.com> Date: 2016-07-07 12:22:12 +0800 armv8: Enable CPUECTLR.SMPEN for coherency For A53, data coherency is enabled only when the CPUECTLR.SMPEN bit is set. The SMPEN bit should be set before enabling the data cache. If not enabled, the cache is not coherent with other cores and data corruption could occur. For A57/A72, SMPEN bit enables the processor to receive instruction cache and TLB maintenance operations broadcast from other processors in the cluster. This bit should be set before enabling the caches and MMU, or performing any cache and TLB maintenance operations. Signed-off-by: Mingkai Hu <mingkai.hu@nxp.com> Signed-off-by: Gong Qianyu <Qianyu.Gong@nxp.com> Reviewed-by: Masahiro Yamada <yamada.masahiro@socionext.com> Base directory -> / arch/arm/cpu/armv8/start.S | 8 ++++++++ 1 file changed, 8 insertions(+) ------------------------------------------------------------------------------- commit d56dd0b1f8eb1dc13d4e6227a485fca5b9e94c1e Author: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> Date: 2016-07-06 12:44:22 +0200 test/py: support 'memstart =' in u_boot_utils.find_ram_base() Some archs like MIPS or PPC have a different 'bdinfo' output than ARM regarding the memory configuration. Also support 'memstart = 0x*' in u_boot_utils.find_ram_base() to make all tests requiring the RAM base working on those archs. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> Acked-by: Stephen Warren <swarren@nvidia.com> Base directory -> / test/py/u_boot_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 085e64dd421caeff6ebcdef867e67b99b0942659 Author: Stephen Warren <swarren@nvidia.com> Date: 2016-07-06 10:34:30 -0600 test/py: strip VT100 codes from match buffer Prior to this patch, any VT100 codes emitted by U-Boot are considered part of a command's output, which often causes tests to fail. For example, test_env_echo_exists executes printenv, and then considers any text on a line before an = sign as a valid U-Boot environment variable name. This includes any VT100 codes emitted. When the test later attempts to use that variable, the name would be invalid since it includes the VT100 codes. Solve this by stripping VT100 codes from the match buffer, so they are never seen by higher level test code. The codes are still logged unmodified, so that users can expect U-Boot's exact output without interference. This does clutter the log file a bit. However, it allows users to see exactly what U-Boot emitted rather than a modified version, which hopefully is better for debugging. It's also much simpler to implement, since logging happens as soon as text is received, and so stripping the VT100 codes from the log would require handling reception and stripping of partial VT100 codes. Signed-off-by: Stephen Warren <swarren@nvidia.com> Base directory -> / test/py/u_boot_spawn.py | 9 +++++++++ 1 file changed, 9 insertions(+) ------------------------------------------------------------------------------- commit 0de02de76833cf3adcc0ba2e43cff52e6e18b63f Author: Alexander Graf <agraf@suse.de> Date: 2016-07-05 20:37:17 +0200 arm: Fix setjmp (again) Commit e677724 (arm: Fix setjmp) added code to fix compilation of the setjmp code path with thumv1. Unfortunately it missed a constraint that the adr instruction can only refer to 4 byte aligned offsets. So this patch adds the required alignment hooks to make compilation work again even when setjmp doesn't happen to be 4 byte aligned. Signed-off-by: Alexander Graf <agraf@suse.de> Tested-by: Tom Rini <trini@konsulko.com> Base directory -> / arch/arm/include/asm/setjmp.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 747431b9d54d3ebdef87352006218ed948011612 Author: Yoshinori Sato <ysato@users.sourceforge.jp> Date: 2016-04-18 16:51:05 +0900 serial_sh: Add standrad SCI (w/o FIFO) support Add support for standard type SCI (without FIFO) port. Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp> Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> Base directory -> / doc/device-tree-bindings/serial/sh.txt | 2 +- drivers/serial/serial_sh.c | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 359787cfe48b066ba96b1062a1a85772464939d6 Author: Yoshinori Sato <ysato@users.sourceforge.jp> Date: 2016-04-18 16:51:04 +0900 serial_sh: Device Tree support Add Device Tree bindings. Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp> Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> Base directory -> / doc/device-tree-bindings/serial/sh.txt | 6 ++++++ drivers/serial/serial_sh.c | 28 ++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+) ------------------------------------------------------------------------------- commit 59d07ee08e858bf2c121d0cdc6c8ddd3b26ee5b1 Author: Andre Przywara <andre.przywara@arm.com> Date: 2016-07-08 15:18:35 +0100 SPL: tiny-printf: avoid any BSS usage As printf calls may be executed quite early, we should avoid using any BSS stored variables, since some boards put BSS in DRAM, which may not have been initialised yet. Explicitly mark those "static global" variables as belonging to the .data section, to keep tiny-printf clear of any BSS usage. Signed-off-by: Andre Przywara <andre.przywara@arm.com> Base directory -> / lib/tiny-printf.c | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) ------------------------------------------------------------------------------- commit a82642f39856c0b9edb2545570b599a157b73f63 Author: Stephen Warren <swarren@nvidia.com> Date: 2016-07-06 09:04:08 -0600 test/py: fix CONFIG_ tests Some CONFIG_ variables were recently renamed, but test/py wasn't updated to match. This causes some tests to be skipped. Fix test/py so the tests are run. Fixes: 11636258981a ("Rename reset to sysreset") Fixes: f1f9d4fac527 ("hush: complete renaming CONFIG_SYS_HUSH_PARSER to CONFIG_HUSH_PARSER") Cc: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Stephen Warren <swarren@nvidia.com> Base directory -> / test/py/tests/test_hush_if_test.py | 8 ++++---- test/py/tests/test_sandbox_exit.py | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) ------------------------------------------------------------------------------- commit eb9d3ca3560d9348f2db83beb2f51a85806519dd Author: Mateusz Kulikowski <mateusz.kulikowski@gmail.com> Date: 2016-06-26 22:43:55 +0200 mmc: msm_sdhci: Set mmc->dev pointer in msm_sdc_probe() MMC core expects (now) valid mmc->dev pointer. During conversion in commit cffe5d86 not every driver was updated. This patch fixes crash while accessing MMC on boards using Qualcomm SDHCI controller. Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com> Acked-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/mmc/msm_sdhci.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit abbaa23f652e18f3df7594b943835c82f8f78c3a Author: Tom Rini <trini@konsulko.com> Date: 2016-07-07 09:58:41 -0400 Merge branch 'master' of git://git.denx.de/u-boot-usb Base directory -> / arch/powerpc/cpu/mpc85xx/Makefile | 2 ++ cmd/usb.c | 46 +++++++++++++++---------------------- include/configs/km/kmp204x-common.h | 1 + 3 files changed, 21 insertions(+), 28 deletions(-) ------------------------------------------------------------------------------- commit eb364c3dc28d59d33e823470d07746b22a8e6fee Author: York Sun <york.sun@nxp.com> Date: 2016-07-06 16:39:51 -0700 powerpc: mpc85xx: kmp204x: Fix compiling error for usb errata Commit 9262367 moves USB errata workaround into a C file. This causes compiling error for kmcoge4 and kmlion1. To enable the errata workaround, define CONFIG_USB_EHCI_FSL in common header. Signed-off-by: York Sun <york.sun@nxp.com> Cc: Marek Vasut <marex@denx.de> Cc: Ed Swarthout <Ed.Swarthout@nxp.com> Cc: Sriram Dash <sriram.dash@nxp.com> Fixes: 92623672f9d3 ("fsl: usb: make errata function common for PPC and ARM") Base directory -> / include/configs/km/kmp204x-common.h | 1 + 1 file changed, 1 insertion(+) ------------------------------------------------------------------------------- commit 99b8275797b9f4155ee65ec272629ae857d6a8bb Author: Tom Rini <trini@konsulko.com> Date: 2016-07-06 15:55:36 -0400 Merge branch 'master' of git://git.denx.de/u-boot-tegra Base directory -> / arch/arm/dts/tegra20-harmony.dts | 751 ++++++++++++++++++++++++++++-- arch/arm/dts/tegra20-seaboard.dts | 934 ++++++++++++++++++++++++++++++++++---- arch/arm/dts/tegra20-ventana.dts | 685 ++++++++++++++++++++++++++-- configs/colibri_t20_defconfig | 3 + configs/harmony_defconfig | 3 + configs/medcom-wide_defconfig | 3 + configs/paz00_defconfig | 3 + configs/seaboard_defconfig | 3 + configs/tec_defconfig | 3 + configs/ventana_defconfig | 3 + drivers/pci/pci_tegra.c | 37 +- drivers/video/tegra.c | 333 +++----------- include/errno.h | 12 + include/fdtdec.h | 4 - lib/fdtdec.c | 4 - 15 files changed, 2329 insertions(+), 452 deletions(-) ------------------------------------------------------------------------------- commit 246fa47840f2b9aecc7308f140680dd00545c6a9 Author: Tom Rini <trini@konsulko.com> Date: 2016-07-06 15:55:21 -0400 Merge branch 'master' of git://git.denx.de/u-boot-net Base directory -> / drivers/net/designware.c | 10 ++++++++-- drivers/net/designware.h | 7 ++++++- drivers/net/phy/aquantia.c | 28 ++++++++++++++++++++++++++++ drivers/net/rtl8169.c | 4 ++-- include/common.h | 1 + net/nfs.c | 12 ++++++------ 6 files changed, 51 insertions(+), 11 deletions(-) ------------------------------------------------------------------------------- commit 4c64c4db3b87818318ed8b4cd6907c508aaf04ce Author: Oleksandr Tymoshenko <gonzo@bluezbox.com> Date: 2016-07-01 13:22:00 -0700 net: rtl8169: Fix return value for rtl_send_common Return value of rtl_send_common propogates unmodified all the way up to eth_send and further to API consumer if CONFIG_API is enabled. Previously rtl_send_common returned number of bytes sent on success which was erroneouly detected as error condition by API consumers that checked for operation success by comparing return value with 0. Switch rtl_send_common to use common convention: return 0 on success and negative value for failure. Cc: Stephen Warren <swarren@nvidia.com> Cc: Joe Hershberger <joe.hershberger@ni.com> Signed-off-by: Oleksandr Tymoshenko <gonzo@bluezbox.com> Reviewed-by: Simon Glass <sjg@chromium.org> Acked-by: Joe Hershberger <joe.hershberger@ni.com> Base directory -> / drivers/net/rtl8169.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit e4ead4a21db266c84051279ed4ceeab72981df8c Author: Ralf Hubert <r.hubert@technisat.de> Date: 2016-07-01 13:19:51 +0200 net: Fix incorrect RPC packets on 64-bit systems This patch fixes incorrect RPC packet layout caused by 'long' type size difference on 64 and 32-bit architectures. Signed-off-by: Ralf Hubert <r.hubert@technisat.de> Acked-by: Joe Hershberger <joe.hershberger@ni.com> Base directory -> / net/nfs.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) ------------------------------------------------------------------------------- commit 19c9ddaa4f41f6f0bc5cf2991f24fc178c6e56ed Author: Mingkai Hu <mingkai.hu@nxp.com> Date: 2016-07-01 19:03:23 +0800 driver: net: phylib: add support for aquantia AQR106/107 PHY This patch adds support for aquantia AQR106/107 PHY. Signed-off-by: Mingkai Hu <mingkai.hu@nxp.com> Signed-off-by: Gong Qianyu <Qianyu.Gong@nxp.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com> Base directory -> / drivers/net/phy/aquantia.c | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) ------------------------------------------------------------------------------- commit 66d027e22c55534135a43da794d31fcc98509913 Author: Alexey Brodkin <Alexey.Brodkin@synopsys.com> Date: 2016-06-27 13:17:51 +0300 net: designware: Make driver independent from DM_GPIO again Commit 90b7fc924adf "net: designware: support phy reset device-tree bindings" made DW GMAC driver dependent on DM_GPIO by unconditional usage of purely DM_GPIO stuff like: * dm_gpio_XXX() * gpio_request_by_name() But since that driver as of today might be easily used without DM_GPIO (that's the case for Synopsys AXS10x boards) we're shielding all DM_GPIO things by ifdefs. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Cc: Simon Glass <sjg@chromium.org> Cc: Beniamino Galvani <b.galvani@gmail.com> Cc: Joe Hershberger <joe.hershberger@ni.com> Cc: Sjoerd Simons <sjoerd.simons@collabora.co.uk> Cc: Sonic Zhang <sonic.zhang@analog.com> Cc: Bin Meng <bmeng.cn@gmail.com> Cc: Marek Vasut <marex@denx.de> Reviewed-by: Simon Glass <sjg@chromium.org> Acked-by: Joe Hershberger <joe.hershberger@ni.com> Base directory -> / drivers/net/designware.c | 10 ++++++++-- drivers/net/designware.h | 7 ++++++- 2 files changed, 14 insertions(+), 3 deletions(-) ------------------------------------------------------------------------------- commit 2307ea4053cdf45174f842312d07f538bf5be5f6 Author: Joe Hershberger <joe.hershberger@ni.com> Date: 2016-04-04 04:07:33 -0500 common: Always include errno.h in common.h We want people using errnos for errors instead of -1, so make it easy by always including the definition of all the errnos. Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Base directory -> / include/common.h | 1 + 1 file changed, 1 insertion(+) ------------------------------------------------------------------------------- commit c8864d720926c6b136aa9aa97fd1d4410250d271 Author: Anatolij Gustschin <agust@denx.de> Date: 2016-04-21 09:28:02 +0200 spi: spi-uclass: fix typo in debug output Signed-off-by: Anatolij Gustschin <agust@denx.de> Reviewed-by: Jagan Teki <jteki@openedev.com> Base directory -> / drivers/spi/spi-uclass.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 703aaf76c2c06109fc36266767b2d1dcfce6f3ba Author: Simon Glass <sjg@chromium.org> Date: 2016-05-08 16:55:22 -0600 fdt: Drop some unused compatible strings We have driver-model drivers for some of these now, so drop them. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Warren <twarren@nvidia.com> Base directory -> / include/fdtdec.h | 4 ---- lib/fdtdec.c | 4 ---- 2 files changed, 8 deletions(-) ------------------------------------------------------------------------------- commit 8d37483e7cfff9e36a928379d7ab6c4fc11bd4c1 Author: Simon Glass <sjg@chromium.org> Date: 2016-05-08 16:55:21 -0600 tegra: video: Always use write-through cache on LCD This seems to give the best performance, so let's use it always. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Tom Warren <twarren@nvidia.com> Base directory -> / drivers/video/tegra.c | 21 +++------------------ 1 file changed, 3 insertions(+), 18 deletions(-) ------------------------------------------------------------------------------- commit ec5507707a1d1e84056a6c864338f95f6118d3ca Author: Simon Glass <sjg@chromium.org> Date: 2016-05-08 16:55:20 -0600 video: tegra: Move to using simple-panel and pwm-backlight We have standard drivers for panels and backlights which can do most of the work for us. Move the tegra20 LCD driver over to use those instead of custom code. This patch includes device tree changes for the nvidia boards. I have only been able to test seaboard. If this patch is applied, these boards will also need to be synced with the kernel, and updated to use display-timings: - colibri - medcom-wide - paz00 - tec Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Warren <twarren@nvidia.com> Base directory -> / arch/arm/dts/tegra20-harmony.dts | 48 +++--- arch/arm/dts/tegra20-seaboard.dts | 45 +++--- arch/arm/dts/tegra20-ventana.dts | 54 +++---- configs/colibri_t20_defconfig | 3 + configs/harmony_defconfig | 3 + configs/medcom-wide_defconfig | 3 + configs/paz00_defconfig | 3 + configs/seaboard_defconfig | 3 + configs/tec_defconfig | 3 + configs/ventana_defconfig | 3 + drivers/video/tegra.c | 312 ++++++-------------------------------- 11 files changed, 145 insertions(+), 335 deletions(-) ------------------------------------------------------------------------------- commit ce02a71c23749f2334ee84a3a88f5da30774edfa Author: Simon Glass <sjg@chromium.org> Date: 2016-05-08 16:55:19 -0600 tegra: dts: Sync tegra20 device tree files with Linux Sync everything except the display panel, which will come in a future patch. One USB port is left disabled since we don't want to support it in U-Boot. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Warren <twarren@nvidia.com> Base directory -> / arch/arm/dts/tegra20-harmony.dts | 703 +++++++++++++++++++++++++++++- arch/arm/dts/tegra20-seaboard.dts | 889 +++++++++++++++++++++++++++++++++++--- arch/arm/dts/tegra20-ventana.dts | 635 ++++++++++++++++++++++++++- 3 files changed, 2154 insertions(+), 73 deletions(-) ------------------------------------------------------------------------------- commit 862887d8836643e316cd019b93b1732971c8aaf8 Author: Simon Glass <sjg@chromium.org> Date: 2016-05-08 16:55:18 -0600 errno: Allow errno_str() to be used without CONFIG_ERRNO_STR The pmic framework uses errno_str() and this requires board that use it to enable CONFIG_ERRNO_STR to avoid a build error. Update the header to provide a NULL error message when CONFIG_ERRNO_STR is not defined, and fix the build error. This will show as "(null)" when U-Boot prints it. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Warren <twarren@nvidia.com> Base directory -> / include/errno.h | 5 +++++ 1 file changed, 5 insertions(+) ------------------------------------------------------------------------------- commit 00e9e6d1ffb9786a7ca42cc41f5320303c1ab84f Author: Simon Glass <sjg@chromium.org> Date: 2016-05-08 16:55:17 -0600 errno: Add copyright header and header guard Bring in a copyright for this file from cmd/pmic.c since this file was submitted by the same author at around the same time. Also fix the missing header guard. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Warren <twarren@nvidia.com> Base directory -> / include/errno.h | 7 +++++++ 1 file changed, 7 insertions(+) ------------------------------------------------------------------------------- commit f39a6a327721285aa68f7e4d57b887c165ed3f14 Author: Stephen Warren <swarren@nvidia.com> Date: 2016-06-24 08:36:04 -0600 pci: tegra: actually program REFCLK_CFG* on recent SoCs On recent SoCs, tegra_pcie_phy_enable() isn't called; but instead tegra_pcie_enable_controller() calls tegra_xusb_phy_enable(). However, part of tegra_pcie_phy_enable() needs to happen in all cases. Move that code to tegra_pcie_port_enable() instead. For reference, NVIDIA's downstream Linux kernel performs this operation in tegra_pcie_enable_rp_features(), which is called immediately after tegra_pcie_port_enable(). Since that function doesn't exist in the U-Boot driver, we'll just add it to the tail of tegra_pcie_port_enable() instead. Signed-off-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Tom Warren <twarren@nvidia.com> Base directory -> / drivers/pci/pci_tegra.c | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) ------------------------------------------------------------------------------- commit 3cfc6be4a85c722e9e0a657c7696f5fa1ac2ed48 Author: Stephen Warren <swarren@nvidia.com> Date: 2016-06-21 12:47:51 -0600 pci: tegra: correctly program PADS_REFCLK registers The value that should be programmed into the PADS_REFCLK register varies per SoC. Fix the Tegra PCIe driver to program the correct values. Future SoCs will require different values in cfg0/1, so the two values are stored separately in the per-SoC data structures. For reference, the values are all documented in NV bug 1771116 comment 20. The Tegra210 value doesn't match the current TRM, but I've filed a bug to get the TRM fixed. Earlier TRMs don't document the value this register should contain, but the ASIC team has validated all these values, except for the Tegra20 value which is simply left unchanged in this patch. Signed-off-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Tom Warren <twarren@nvidia.com> Base directory -> / drivers/pci/pci_tegra.c | 22 +++++++++------------- 1 file changed, 9 insertions(+), 13 deletions(-) ------------------------------------------------------------------------------- commit 70c440e5bdca097915b71170f9532ae4faad735a Author: Sjoerd Simons <sjoerd.simons@collabora.co.uk> Date: 2016-02-28 22:40:02 +0100 rockchip: video: Lower hpd wait time Waiting 30 seconds for the hpd to go high seems a bit much, especially on headless boots. Lowering the timeout to 300ms. Sending as RFC because frankly i don't know what a sensible timeout is here, but 30 seconds is clearly not it :) Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> Reviewed-by: Simon Glass <sjg@chromium.org> Dropped RFC tag: Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/video/rockchip/rk_hdmi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 12c67d7522d77c5aa5ee1e5ec4147b569ccb7666 Author: Marek Vasut <marex@denx.de> Date: 2016-07-05 17:40:27 +0200 powerpc: mpc85xx: Do not build errata command in SPL The errata command is useless in SPL, so don't build it. This fixes multiple build failures on PowerPC. Signed-off-by: Marek Vasut <marex@denx.de> Cc: York Sun <york.sun@nxp.com> Fixes: 92623672f9d3 ("fsl: usb: make errata function common for PPC and ARM") Base directory -> / arch/powerpc/cpu/mpc85xx/Makefile | 2 ++ 1 file changed, 2 insertions(+) ------------------------------------------------------------------------------- commit e6e188f5623e3db7fcba785f4246d16425dd2104 Author: Hans de Goede <hdegoede@redhat.com> Date: 2016-07-03 20:22:05 +0200 usb: dm: Make "usb info" use usb_for_each_root_dev() The old dm "usb info" implementation has several issues: 1) NULL pointer deref when a bus has no children 2) Not showing usb devices on busses without an emulated root-hub (otg host) 3) Attempting to show devices on inactive busses 4) "usb info" Would cause some hosts to get re-probed something which only "usb reset" should do TL;DR: proper iterating over usb bus root devs is hard, use the helper for it. Reported-by: Bernhard Nortmann <bernhard.nortmann@web.de> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Base directory -> / cmd/usb.c | 31 ++++++------------------------- 1 file changed, 6 insertions(+), 25 deletions(-) ------------------------------------------------------------------------------- commit 2138fd6d5d358bcfef6631300763c16a70f2af3d Author: Hans de Goede <hdegoede@redhat.com> Date: 2016-07-03 20:22:04 +0200 usb: dm: Add a usb_for_each_root_dev() helper function Iterating over usb-root devs and doing something for all of them is a bit tricky with dm, factor out the proven usb_show_tree() for this into a helper function. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Base directory -> / cmd/usb.c | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) ------------------------------------------------------------------------------- commit e8009beff6d5c55c1bf1ae8184791f167e6378b0 Author: Tom Rini <trini@konsulko.com> Date: 2016-07-04 11:46:21 -0400 Merge git://git.denx.de/u-boot-arc Base directory -> / arch/arc/config.mk | 4 ++-- arch/arc/include/asm/global_data.h | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit c7dea6e259d68cc0645daf3fe2188e077748ef9e Author: Alexey Brodkin <abrodkin@synopsys.com> Date: 2016-07-04 11:37:55 +0300 arc: make global_data.h usable in assembly files Currently on attempt to use global_data.h in an assembly file following will happen: -------------------->8----------------- ./arch/arc/include/asm/global_data.h: Assembler messages: ./arch/arc/include/asm/global_data.h:11: Error: bad instruction 'struct arch_global_data{' ./arch/arc/include/asm/global_data.h:12: Error: junk at end of line, first unrecognized character is `}' scripts/Makefile.build:316: recipe for target 'arch/arc/lib/start.o' failed -------------------->8----------------- In this change we disable struct arch_global_data in ASM which fixes the issue above. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Base directory -> / arch/arc/include/asm/global_data.h | 2 ++ 1 file changed, 2 insertions(+) ------------------------------------------------------------------------------- commit 7a54f5177ac3d8d972622dd9f85964c23a6df68d Author: Alexey Brodkin <abrodkin@synopsys.com> Date: 2016-06-16 10:55:00 +0200 arc: Use "-mcpu=archs" instead of deprecated "-marchs" for ARC HS Newer ARC toolchains don't support "-marchs" option any longer. Instead "-mcpu=archs" should be used. What's also important older toiolchains that support ARC HS cores will also happily accept "-mcpu=archs" so that's a very safe move. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Base directory -> / arch/arc/config.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit 8d24176a674a678d0421cf9c253eb848646f60e2 Author: Tom Rini <trini@konsulko.com> Date: 2016-07-02 16:32:15 -0400 Merge branch 'master' of http://git.denx.de/u-boot-sunxi Base directory -> / arch/arm/dts/Makefile | 3 +- arch/arm/dts/sun8i-r16-parrot.dts | 348 ++++++++++++++++++++++++++++++++++ arch/arm/include/asm/arch-sunxi/spl.h | 2 + board/sunxi/MAINTAINERS | 5 + board/sunxi/board.c | 2 +- configs/parrot_r16_defconfig | 38 ++++ 6 files changed, 396 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit d2a6af052845f671204ff978bc70bcfba8767cc9 Author: Quentin Schulz <quentin.schulz@free-electrons.com> Date: 2016-06-24 14:33:35 +0200 sunxi: Add defconfig and DTS file for Allwinner R16 EVB (Parrot) The Parrot Board is an evaluation board with an Allwinner R16 (assumed to be close to an Allwinner A33), 4GB of eMMC, 512MB of RAM, USB host and OTG, a WiFi/Bluetooth combo chip, a micro SD Card reader, 2 controllable buttons, an LVDS port with separated backlight and capacitive touch panel ports, an audio/microphone jack, a camera CSI port, 2 sets of 22 GPIOs and an accelerometer. The DTS file is identical to the one submitted to the upstream kernel. Signed-off-by: Quentin Schulz <quentin.schulz@free-electrons.com> Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Base directory -> / arch/arm/dts/Makefile | 3 +- arch/arm/dts/sun8i-r16-parrot.dts | 348 ++++++++++++++++++++++++++++++++++++++ board/sunxi/MAINTAINERS | 5 + configs/parrot_r16_defconfig | 38 +++++ 4 files changed, 393 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 9acebe8a18788c5a0d7b154e812cf2d9dfbab68f Author: Olliver Schinagl <oliver@schinagl.nl> Date: 2016-06-13 18:13:07 +0200 sunxi: Add missing boot_media fields in the SPL header Commit b19236fd1 ("sunxi: Increase SPL header size to 64 bytes to avoid code corruption") Added defines for MMC0 and SPI as boot identification. After verifying on an OLinuXino Lime2 with NAND and eMMC, the expected values have been confirmed and added to spl.h Signed-off-by: Olliver Schinagl <oliver@schinagl.nl> Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Base directory -> / arch/arm/include/asm/arch-sunxi/spl.h | 2 ++ 1 file changed, 2 insertions(+) ------------------------------------------------------------------------------- commit cd8b35d2e14f598ab0e5c8a211495b675b978915 Author: Hans de Goede <hdegoede@redhat.com> Date: 2016-06-26 13:56:01 +0200 sunxi: spl: Fix DRAM info printing The switch to simple_printf was causing the SPL dram info to show as: DRAM: u MiB This fixes this by switching from %lu to %d for printing the DRAM size. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Ian Campbell <ijc@hellion.org.uk> Base directory -> / board/sunxi/board.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 68f7289b4ff6daf8c7e9898d5f0eb8f0aaad7bba Author: Tom Rini <trini@konsulko.com> Date: 2016-07-01 22:35:20 -0400 Merge branch 'master' of git://git.denx.de/u-boot-usb Base directory -> / drivers/usb/host/ehci-fsl.c | 3 ++- drivers/usb/host/ehci-mx6.c | 10 +++++++--- 2 files changed, 9 insertions(+), 4 deletions(-) ------------------------------------------------------------------------------- commit 2f6b47061d1979d241930843ff154c6f1f1ece58 Author: Tom Rini <trini@konsulko.com> Date: 2016-07-01 22:35:12 -0400 Merge branch 'master' of git://git.denx.de/u-boot-socfpga Base directory -> / include/configs/socfpga_common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 0e1e587ff4fc2d81ad4f6313f02c5ca4c8ceea01 Author: Tom Rini <trini@konsulko.com> Date: 2016-07-01 17:37:17 -0400 Prepare v2016.07-rc3 Signed-off-by: Tom Rini <trini@konsulko.com> Base directory -> / Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 20a41043fb3985879ec2ce2ef1deddcda7fa4c99 Author: Tom Rini <trini@konsulko.com> Date: 2016-07-01 17:43:06 -0400 Merge branch 'master' of git://git.denx.de/u-boot-uniphier Base directory -> / arch/arm/dts/uniphier-common32.dtsi | 22 ++++- arch/arm/dts/uniphier-ph1-ld11-ref.dts | 13 +-- arch/arm/dts/uniphier-ph1-ld11.dtsi | 50 ++++++++-- arch/arm/dts/uniphier-ph1-ld20-ref.dts | 10 -- arch/arm/dts/uniphier-ph1-ld20.dtsi | 36 +++++-- arch/arm/dts/uniphier-ph1-ld4-ref.dts | 10 -- arch/arm/dts/uniphier-ph1-ld4.dtsi | 7 +- arch/arm/dts/uniphier-ph1-ld6b-ref.dts | 10 -- arch/arm/dts/uniphier-ph1-ld6b.dtsi | 4 +- arch/arm/dts/uniphier-ph1-pro4-ace.dts | 10 -- arch/arm/dts/uniphier-ph1-pro4-ref.dts | 10 -- arch/arm/dts/uniphier-ph1-pro4-sanji.dts | 10 -- arch/arm/dts/uniphier-ph1-pro4.dtsi | 7 +- arch/arm/dts/uniphier-ph1-pro5-4kbox.dts | 10 -- arch/arm/dts/uniphier-ph1-pro5.dtsi | 7 +- arch/arm/dts/uniphier-ph1-sld3.dtsi | 5 + arch/arm/dts/uniphier-ph1-sld8-ref.dts | 10 -- arch/arm/dts/uniphier-ph1-sld8.dtsi | 7 +- arch/arm/dts/uniphier-pinctrl.dtsi | 10 ++ arch/arm/dts/uniphier-proxstream2-gentil.dts | 10 -- arch/arm/dts/uniphier-proxstream2-vodka.dts | 10 -- arch/arm/dts/uniphier-proxstream2.dtsi | 7 +- arch/arm/dts/uniphier-ref-daughter.dtsi | 2 +- arch/arm/mach-uniphier/arm32/lowlevel_init.S | 2 +- arch/arm/mach-uniphier/board_early_init_f.c | 39 ++++++++ arch/arm/mach-uniphier/pinctrl/pinctrl-ld20.c | 5 + drivers/pinctrl/uniphier/Kconfig | 10 +- drivers/pinctrl/uniphier/Makefile | 1 + drivers/pinctrl/uniphier/pinctrl-uniphier-core.c | 15 ++- drivers/pinctrl/uniphier/pinctrl-uniphier-ld11.c | 107 +++++++++++++++++++++ drivers/pinctrl/uniphier/pinctrl-uniphier-ld20.c | 95 ++++++++++--------- drivers/pinctrl/uniphier/pinctrl-uniphier-ld4.c | 93 ++++++++++-------- drivers/pinctrl/uniphier/pinctrl-uniphier-ld6b.c | 97 ++++++++++--------- drivers/pinctrl/uniphier/pinctrl-uniphier-pro4.c | 110 ++++++++++++--------- drivers/pinctrl/uniphier/pinctrl-uniphier-pro5.c | 91 +++++++++--------- drivers/pinctrl/uniphier/pinctrl-uniphier-pxs2.c | 116 +++++++++++++---------- drivers/pinctrl/uniphier/pinctrl-uniphier-sld8.c | 87 +++++++++-------- drivers/pinctrl/uniphier/pinctrl-uniphier.h | 23 ++++- 38 files changed, 714 insertions(+), 454 deletions(-) ------------------------------------------------------------------------------- commit d90bb439335386b3ae6ada89b89720cc66ec9352 Author: Steve Rae <steve.rae@raedomain.com> Date: 2016-06-29 13:42:01 -0700 mmc: increase MMC SDHCI read status timeout Otherwise, ocassionally see errors like this: Flashing sparse image at offset 2078720 Flashing Sparse Image sdhci_send_command: Timeout for status update! mmc fail to send stop cmd write_sparse_image: Write failed, block #2181088 [0] This does not affect the actual writing speed, which is controlled by the default value: CONFIG_SDHCI_CMD_DEFAULT_TIMEOUT It only increases the retries when reading: SDHCI_INT_STATUS to avoid the timeout error. Signed-off-by: Steve Rae <steve.rae@raedomain.com> Reviewed-by: Stefan Roese <sr@denx.de> Tested-by: Masahiro Yamada <yamada.masahiro@socionext.com> Tested-by: Jaehoon Chung <jh80.chung@samsung.com> Base directory -> / drivers/mmc/sdhci.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit df6b506f16d2666ebac5b9d61b67bb6bbfaea6de Author: Lokesh Vutla <lokeshvutla@ti.com> Date: 2016-06-29 14:50:41 +0530 ti_omap5_common: Find right dtb file for DRA72-RevC Evm DRA72-Evm revC uses dra72-evm-revc.dtb. Update the same in env vatiables. Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> Base directory -> / board/ti/dra7xx/evm.c | 10 +++++++--- include/configs/ti_omap5_common.h | 2 ++ 2 files changed, 9 insertions(+), 3 deletions(-) ------------------------------------------------------------------------------- commit 4632739202ae4d1f67c5591551598be0a80d501d Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-06-27 16:23:04 +0900 autoboot: move bootdelay >= 0 check to abortboot() Move the bootdelay >= 0 check to the caller, which simplifies the callees. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Stefan Roese <sr@denx.de> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de> Base directory -> / common/autoboot.c | 22 ++++++++-------------- 1 file changed, 8 insertions(+), 14 deletions(-) ------------------------------------------------------------------------------- commit 09b9d9e55f64259763c20217f7743dbeec9bb055 Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-06-27 16:23:03 +0900 autoboot: move CONFIG_SILENT_CONSOLE handling Factor out the same code from the callees to the caller. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Stefan Roese <sr@denx.de> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de> Base directory -> / common/autoboot.c | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) ------------------------------------------------------------------------------- commit d8da8298ad9b5a379d6fb7f079a3a1a591147a5e Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-06-27 16:23:02 +0900 autoboot: rename abortboot_{keyed, normal} to __abortboot Because abortboot_keyed() and abortboot_normal() are not compiled at the same time, we can rename both of them to __abortboot(). This allows to drop #ifdef from the caller. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Stefan Roese <sr@denx.de> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de> Base directory -> / common/autoboot.c | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) ------------------------------------------------------------------------------- commit 2fbb8462b0e18893b4b739705db047ffda82d4fc Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-06-27 16:23:01 +0900 autoboot: remove CONFIG_ZERO_BOOTDELAY_CHECK As the help message of CONFIG_BOOTDELAY says, CONFIG_BOOTDELAY=-2 means the autoboot with no delay, with no abort check even if CONFIG_ZERO_BOOTDELAY_CHECK is defined. To sum up, the autoboot behaves as follows: [1] CONFIG_BOOTDELAY=0 && CONFIG_ZERO_BOOTDELAY_CHECK=y autoboot with no delay, but you can abort it by key input [2] CONFIG_BOOTDELAY=0 && CONFIG_ZERO_BOOTDELAY_CHECK=n autoboot with no delay, with no check for abort [3] CONFIG_BOOTDELAY=-1 disable autoboot [4] CONFIG_BOOTDELAY=-2 autoboot with no delay, with no check for abort As you notice, [2] and [4] come to the same result, which means we do not need CONFIG_ZERO_BOOTDELAY_CHECK. We can control all the cases only by CONFIG_BOOTDELAY, like this: [1] CONFIG_BOOTDELAY=0 autoboot with no delay, but you can abort it by key input [2] CONFIG_BOOTDELAY=-1 disable autoboot [3] CONFIG_BOOTDELAY=-2 autoboot with no delay, with no check for abort This commit converts the logic as follow: CONFIG_BOOTDELAY=0 && CONFIG_ZERO_BOOTDELAY_CHECK=n --> CONFIG_BOOTDELAY=-2 Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Stefan Roese <sr@denx.de> Acked-by: Igor Grinberg <grinberg@compulab.co.il> Reviewed-by: Simon Glass <sjg@chromium.org> Acked-by: Vladimir Zapolskiy <vz@mleia.com> Reviewed-by: Heiko Schocher <hs@denx.de> Acked-by: Christian Riesch <christian.riesch@omicronenergy.com> Acked-by: Hannes Schmelzer <hannes.schmelzer@br-automation.com> Base directory -> / common/Kconfig | 2 +- common/autoboot.c | 6 +----- configs/brppt1_mmc_defconfig | 2 +- configs/brppt1_nand_defconfig | 2 +- configs/brppt1_spi_defconfig | 2 +- configs/brxre1_defconfig | 2 +- configs/cairo_defconfig | 2 +- configs/controlcenterd_TRAILBLAZER_DEVELOP_defconfig | 2 +- configs/controlcenterd_TRAILBLAZER_defconfig | 2 +- configs/omap3_evm_quick_mmc_defconfig | 2 +- configs/omap3_evm_quick_nand_defconfig | 2 +- doc/README.autoboot | 8 -------- include/configs/CPCI2DP.h | 2 -- include/configs/CPCI4052.h | 2 -- include/configs/MIP405.h | 1 - include/configs/PIP405.h | 1 - include/configs/PLU405.h | 1 - include/configs/PMC405DE.h | 1 - include/configs/PMC440.h | 1 - include/configs/VCMA9.h | 1 - include/configs/VOM405.h | 1 - include/configs/a3m071.h | 1 - include/configs/amcc-common.h | 1 - include/configs/apf27.h | 1 - include/configs/calimain.h | 1 - include/configs/cm_t35.h | 2 -- include/configs/cm_t3517.h | 2 -- include/configs/cm_t43.h | 1 - include/configs/devkit3250.h | 1 - include/configs/digsy_mtc.h | 1 - include/configs/dlvision-10g.h | 2 -- include/configs/exynos-common.h | 2 -- include/configs/gdppc440etx.h | 2 -- include/configs/hrcon.h | 2 -- include/configs/intip.h | 2 -- include/configs/io.h | 2 -- include/configs/io64.h | 2 -- include/configs/iocon.h | 2 -- include/configs/legoev3.h | 1 - include/configs/meesc.h | 2 -- include/configs/omap3_logic.h | 1 - include/configs/pcm030.h | 5 ----- include/configs/r7780mp.h | 3 --- include/configs/s5p_goni.h | 2 -- include/configs/smdk2410.h | 1 - include/configs/smdkc100.h | 3 --- include/configs/snapper9260.h | 1 - include/configs/snapper9g45.h | 1 - include/configs/spear-common.h | 1 - include/configs/strider.h | 2 -- include/configs/theadorable.h | 1 - include/configs/tricorder.h | 1 - include/configs/uniphier.h | 2 -- include/configs/vinco.h | 1 - include/configs/work_92105.h | 2 -- include/configs/x600.h | 1 - include/configs/xilinx-ppc.h | 1 - 57 files changed, 11 insertions(+), 93 deletions(-) ------------------------------------------------------------------------------- commit 9060970f4d89c79212982afbf9148dcbc94dcf75 Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-06-27 16:23:00 +0900 doc: bootdelay: drop explanation about CONFIG_BOOTDELAY from README The same information now exists in common/Kconfig. Do not duplicate documentation from the point of view of maintainability. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de> Base directory -> / README | 17 ----------------- common/Kconfig | 2 ++ 2 files changed, 2 insertions(+), 17 deletions(-) ------------------------------------------------------------------------------- commit ea72ee72f2e6dbce1125f0b37559ad547b7ee802 Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-06-27 16:22:59 +0900 ARM: socfpga: move CONFIG_BOOTDELAY to Kconfig for IS1 board This recently added board missed the tree-wide migration of CONFIG_BOOTDELAY. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Acked-by: Pavel Machek <pavel@denx.de> Reviewed-by: Heiko Schocher <hs@denx.de> Reviewed-by: Stefan Roese <sr@denx.de> Base directory -> / configs/socfpga_is1_defconfig | 4 +--- include/configs/socfpga_is1.h | 1 - 2 files changed, 1 insertion(+), 4 deletions(-) ------------------------------------------------------------------------------- commit 4aae64c22abbe3a3003322654ae6cd08d5d4c889 Author: Andreas Dannenberg <dannenberg@ti.com> Date: 2016-06-22 17:10:26 -0500 ARM: AM437x: Align HS device variant defconfig filename Align the name of the defconfig file for high-security (HS) device variants from the AM43xx family of SoCs with the corresponding name used for the general purpose devices. This allows for easier cross-association of those files and also provides room to grow from an HS device part number perspective. Furthermore, update and cleanup associated MAINTAINERS file. Signed-off-by: Andreas Dannenberg <dannenberg@ti.com> Cc: Lokesh Vutla <lokeshvutla@ti.com> Cc: Madan Srinivas <madans@ti.com> Base directory -> / board/ti/am43xx/MAINTAINERS | 3 ++- configs/am437x_hs_evm_defconfig | 59 ----------------------------------------- configs/am43xx_hs_evm_defconfig | 59 +++++++++++++++++++++++++++++++++++++++++ 3 files changed, 61 insertions(+), 60 deletions(-) ------------------------------------------------------------------------------- commit 8dfd6e2129e7eaba8f7fe20b14fda635241bd11b Author: Praneeth Bajjuri <praneeth@ti.com> Date: 2016-06-21 14:05:36 +0530 driver: qspi: correct QSPI disable CS reset value Correcting QSPI disable/unselect CS reset value. CTRL_CORE_CONTROL_IO_2: QSPI_MEMMAPPED_CS[10:8] This is not causing any issue, but its better to untouch the reserved bits. Praneeth Bajjuri <praneeth@ti.com> Signed-off-by: Ravi Babu <ravibabu@ti.com> Base directory -> / drivers/spi/ti_qspi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit e64a6b11411befbaf166443d02d8b10e06852f6a Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-06-29 19:39:03 +0900 ARM: uniphier: add external IRQ setup code I will carry this work-around until it is cared in the kernel. This looks up the AIDET node and sets up a register to handle active low interrupt signals. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Base directory -> / arch/arm/mach-uniphier/board_early_init_f.c | 39 +++++++++++++++++++++++++++ arch/arm/mach-uniphier/pinctrl/pinctrl-ld20.c | 5 ++++ 2 files changed, 44 insertions(+) ------------------------------------------------------------------------------- commit 1013aef3307e6cc3e1b654314aa9f48dc5cf62c7 Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-06-29 19:39:02 +0900 ARM: dts: uniphier: add AIDET nodes The AIDET (ARM Interrupt Detector Add-on Circuit) is a kind of syscon block related with the interrupt controller. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Base directory -> / arch/arm/dts/uniphier-ph1-ld11.dtsi | 5 +++++ arch/arm/dts/uniphier-ph1-ld20.dtsi | 5 +++++ arch/arm/dts/uniphier-ph1-ld4.dtsi | 5 +++++ arch/arm/dts/uniphier-ph1-pro4.dtsi | 5 +++++ arch/arm/dts/uniphier-ph1-pro5.dtsi | 5 +++++ arch/arm/dts/uniphier-ph1-sld3.dtsi | 5 +++++ arch/arm/dts/uniphier-ph1-sld8.dtsi | 5 +++++ arch/arm/dts/uniphier-proxstream2.dtsi | 5 +++++ 8 files changed, 40 insertions(+) ------------------------------------------------------------------------------- commit fc9da85c6059fa204498c55c61b7dfa2ebf7fff8 Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-06-29 19:39:01 +0900 pinctrl: uniphier: add Ethernet pin-mux settings Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Base directory -> / drivers/pinctrl/uniphier/pinctrl-uniphier-ld11.c | 5 +++++ drivers/pinctrl/uniphier/pinctrl-uniphier-ld20.c | 11 +++++++++++ drivers/pinctrl/uniphier/pinctrl-uniphier-ld4.c | 12 ++++++++++++ drivers/pinctrl/uniphier/pinctrl-uniphier-ld6b.c | 12 ++++++++++++ drivers/pinctrl/uniphier/pinctrl-uniphier-pro4.c | 23 +++++++++++++++++++++++ drivers/pinctrl/uniphier/pinctrl-uniphier-pxs2.c | 19 +++++++++++++++++++ drivers/pinctrl/uniphier/pinctrl-uniphier-sld8.c | 12 ++++++++++++ 7 files changed, 94 insertions(+) ------------------------------------------------------------------------------- commit 64c1cc4cc5f72f480787bf493a5ebb0696d68bc0 Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-06-29 19:39:00 +0900 pinctrl: uniphier: avoid building unneeded pin-mux tables for SPL SPL does not use all of the devices, so we can save some memory footprint. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Base directory -> / drivers/pinctrl/uniphier/pinctrl-uniphier-core.c | 8 ++++ drivers/pinctrl/uniphier/pinctrl-uniphier-ld11.c | 34 ++++++++-------- drivers/pinctrl/uniphier/pinctrl-uniphier-ld20.c | 38 +++++++++--------- drivers/pinctrl/uniphier/pinctrl-uniphier-ld4.c | 42 ++++++++++---------- drivers/pinctrl/uniphier/pinctrl-uniphier-ld6b.c | 44 ++++++++++----------- drivers/pinctrl/uniphier/pinctrl-uniphier-pro4.c | 46 +++++++++++----------- drivers/pinctrl/uniphier/pinctrl-uniphier-pro5.c | 46 +++++++++++----------- drivers/pinctrl/uniphier/pinctrl-uniphier-pxs2.c | 50 ++++++++++++------------ drivers/pinctrl/uniphier/pinctrl-uniphier-sld8.c | 40 +++++++++---------- drivers/pinctrl/uniphier/pinctrl-uniphier.h | 15 ++++++- 10 files changed, 192 insertions(+), 171 deletions(-) ------------------------------------------------------------------------------- commit 5e25b9d5d90205ce9531677e362e9dd9359963b3 Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-06-29 19:38:59 +0900 pinctrl: uniphier: support pin configuration for dedicated pins PH1-LD4 and PH1-sLD8 SoCs have pins that support pin configuration (pin biasing, drive strength control), but not pin-muxing. Allow to fill the mux value table with -1 for those pins; pins with mux value -1 will be skipped in the pin-mux set function. The mux value type should be changed from "unsigned" to "int" in order to accommodate -1 as a special case. [ Linux commit: 363c90e743b50a432a91a211dd8b078d9df446e9 ] Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Base directory -> / drivers/pinctrl/uniphier/pinctrl-uniphier-core.c | 5 ++- drivers/pinctrl/uniphier/pinctrl-uniphier-ld11.c | 29 ++++++++-------- drivers/pinctrl/uniphier/pinctrl-uniphier-ld20.c | 33 +++++++++--------- drivers/pinctrl/uniphier/pinctrl-uniphier-ld4.c | 37 ++++++++++---------- drivers/pinctrl/uniphier/pinctrl-uniphier-ld6b.c | 39 +++++++++++---------- drivers/pinctrl/uniphier/pinctrl-uniphier-pro4.c | 39 +++++++++++---------- drivers/pinctrl/uniphier/pinctrl-uniphier-pro5.c | 43 ++++++++++++------------ drivers/pinctrl/uniphier/pinctrl-uniphier-pxs2.c | 43 ++++++++++++------------ drivers/pinctrl/uniphier/pinctrl-uniphier-sld8.c | 33 +++++++++--------- drivers/pinctrl/uniphier/pinctrl-uniphier.h | 2 +- 10 files changed, 149 insertions(+), 154 deletions(-) ------------------------------------------------------------------------------- commit 3379987e26956d9eab668a0811a0f0a9a056754f Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-06-29 19:38:58 +0900 pinctrl: uniphier: split pinctrl driver for PH1-LD11 and PH1-LD20 PH1-LD11 and PH1-LD20 have much pin controlling in common, so I added a single driver shared between them in the initial commit. However, the Ethernet pin-mux settings I am going to add are different with each other, and they may diverge more as the progress of development. Split it into two dedicated drivers. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Base directory -> / drivers/pinctrl/uniphier/Kconfig | 10 ++- drivers/pinctrl/uniphier/Makefile | 1 + drivers/pinctrl/uniphier/pinctrl-uniphier-ld11.c | 103 +++++++++++++++++++++++ drivers/pinctrl/uniphier/pinctrl-uniphier-ld20.c | 12 +-- 4 files changed, 118 insertions(+), 8 deletions(-) ------------------------------------------------------------------------------- commit 186c133444152005473955f1feea2e3184740dd6 Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-06-29 19:38:57 +0900 pinctrl: uniphier: allow to have pinctrl node under syscon node Currently, the UniPhier pinctrl driver itself is a syscon, but it turned out much more reasonable to make it a child node of a syscon because our syscon node consists of a bunch of system configuration registers, not only pinctrl, but also phy, and misc registers. It is difficult to split the node. This commit allows to migrate to the new DT structure. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Base directory -> / drivers/pinctrl/uniphier/pinctrl-uniphier-core.c | 2 +- drivers/pinctrl/uniphier/pinctrl-uniphier-ld20.c | 4 ++-- drivers/pinctrl/uniphier/pinctrl-uniphier-ld4.c | 2 +- drivers/pinctrl/uniphier/pinctrl-uniphier-ld6b.c | 2 +- drivers/pinctrl/uniphier/pinctrl-uniphier-pro4.c | 2 +- drivers/pinctrl/uniphier/pinctrl-uniphier-pro5.c | 2 +- drivers/pinctrl/uniphier/pinctrl-uniphier-pxs2.c | 2 +- drivers/pinctrl/uniphier/pinctrl-uniphier-sld8.c | 2 +- drivers/pinctrl/uniphier/pinctrl-uniphier.h | 6 +++--- 9 files changed, 12 insertions(+), 12 deletions(-) ------------------------------------------------------------------------------- commit c4adc50ea66436438f10d7eedb00d2c441ec9dbe Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-06-29 19:38:56 +0900 ARM: dts: uniphier: sync Device Trees with upstream Linux I periodically sync Device Trees for better maintainability. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Base directory -> / arch/arm/dts/uniphier-common32.dtsi | 22 +++++++++++--- arch/arm/dts/uniphier-ph1-ld11-ref.dts | 13 ++------ arch/arm/dts/uniphier-ph1-ld11.dtsi | 45 +++++++++++++++++++++++----- arch/arm/dts/uniphier-ph1-ld20-ref.dts | 10 ------- arch/arm/dts/uniphier-ph1-ld20.dtsi | 31 ++++++++++++++----- arch/arm/dts/uniphier-ph1-ld4-ref.dts | 10 ------- arch/arm/dts/uniphier-ph1-ld4.dtsi | 2 +- arch/arm/dts/uniphier-ph1-ld6b-ref.dts | 10 ------- arch/arm/dts/uniphier-ph1-ld6b.dtsi | 4 +-- arch/arm/dts/uniphier-ph1-pro4-ace.dts | 10 ------- arch/arm/dts/uniphier-ph1-pro4-ref.dts | 10 ------- arch/arm/dts/uniphier-ph1-pro4-sanji.dts | 10 ------- arch/arm/dts/uniphier-ph1-pro4.dtsi | 2 +- arch/arm/dts/uniphier-ph1-pro5-4kbox.dts | 10 ------- arch/arm/dts/uniphier-ph1-pro5.dtsi | 2 +- arch/arm/dts/uniphier-ph1-sld8-ref.dts | 10 ------- arch/arm/dts/uniphier-ph1-sld8.dtsi | 2 +- arch/arm/dts/uniphier-pinctrl.dtsi | 10 +++++++ arch/arm/dts/uniphier-proxstream2-gentil.dts | 10 ------- arch/arm/dts/uniphier-proxstream2-vodka.dts | 10 ------- arch/arm/dts/uniphier-proxstream2.dtsi | 2 +- arch/arm/dts/uniphier-ref-daughter.dtsi | 2 +- 22 files changed, 99 insertions(+), 138 deletions(-) ------------------------------------------------------------------------------- commit aac641bcf43207feeca5335f5b98d955fe84c257 Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-06-29 19:38:55 +0900 pinctrl: uniphier: remove unneeded pin group nand_cs1 This SoC does not support NAND CS1. This place-holder is no longer necessary. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Base directory -> / drivers/pinctrl/uniphier/pinctrl-uniphier-ld20.c | 3 --- 1 file changed, 3 deletions(-) ------------------------------------------------------------------------------- commit 69da34c073ec7cda928e6cc09fe9cb6abdb3eccd Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-06-29 19:38:54 +0900 pinctrl: uniphier: fix NAND pin-mux setting for PH1-LD11/LD20 My mistake in the initial support patch. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Base directory -> / drivers/pinctrl/uniphier/pinctrl-uniphier-ld20.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit 4d1065c8d8d9a6b238cbf7151fc11d0bc1e5cd1b Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-06-29 19:38:53 +0900 pinctrl: uniphier: remove wrong pin-mux functions for ProXstream2 These are pin group names, not function names. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Base directory -> / drivers/pinctrl/uniphier/pinctrl-uniphier-pxs2.c | 2 -- 1 file changed, 2 deletions(-) ------------------------------------------------------------------------------- commit 4cb9399e9baa0a05fe2c0376c391b9aac18edc04 Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-06-24 11:51:38 +0900 ARM: uniphier: fix typo "talbe" Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Base directory -> / arch/arm/mach-uniphier/arm32/lowlevel_init.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit ff6e1569663eccaf9e582c57cc44568915c2f54b Author: Bin Meng <bmeng.cn@gmail.com> Date: 2016-06-22 02:30:03 -0700 x86: coreboot: Remove the dummy pch driver There is a dummy pch driver in the coreboot directory. This causes drivers of its children fail to function due to empty ops. Remove the whole file since it is no longer needed. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/x86/cpu/coreboot/Makefile | 1 - arch/x86/cpu/coreboot/pci.c | 26 -------------------------- 2 files changed, 27 deletions(-) ------------------------------------------------------------------------------- commit 44faff24f58859bdc1acf28ac739020b5091678a Author: Tom Rini <trini@konsulko.com> Date: 2016-06-28 15:59:05 -0400 Merge git://git.denx.de/u-boot-fsl-qoriq Base directory -> / .../arm/cpu/armv8/fsl-layerscape/fsl_lsch2_speed.c | 8 ++- arch/arm/cpu/armv8/fsl-layerscape/soc.c | 4 +- arch/arm/dts/fsl-ls1012a.dtsi | 12 ---- arch/arm/dts/fsl-ls1043a.dtsi | 32 ---------- arch/arm/dts/fsl-ls2080a.dtsi | 61 ------------------- arch/arm/include/asm/arch-fsl-layerscape/cpu.h | 14 ++--- arch/arm/include/asm/arch-fsl-layerscape/soc.h | 14 ++--- board/freescale/ls1043aqds/ls1043aqds.c | 12 ++-- drivers/mmc/fsl_esdhc.c | 68 +++++++++++++++++----- drivers/usb/common/fsl-errata.c | 4 +- include/configs/ls1043aqds.h | 9 +-- include/fsl_esdhc.h | 7 +++ 12 files changed, 94 insertions(+), 151 deletions(-) ------------------------------------------------------------------------------- commit 6f0aea39aeb093a404a7dc21a0f79fa75ca851db Author: Tom Rini <trini@konsulko.com> Date: 2016-06-27 22:40:17 -0400 configs: Re-sync after boot menu changes Signed-off-by: Tom Rini <trini@konsulko.com> Base directory -> / configs/am335x_evm_spiboot_defconfig | 2 +- configs/am43xx_evm_qspiboot_defconfig | 2 +- configs/brppt1_spi_defconfig | 1 + configs/ls1012afrdm_qspi_defconfig | 1 + configs/ls1012aqds_qspi_defconfig | 1 + configs/ls1012ardb_qspi_defconfig | 1 + configs/ls1021aqds_nand_defconfig | 1 + configs/ls1021aqds_qspi_defconfig | 1 + configs/ls1021aqds_sdcard_ifc_defconfig | 1 + configs/ls1021aqds_sdcard_qspi_defconfig | 1 + configs/ls1021atwr_qspi_defconfig | 1 + configs/ls1021atwr_sdcard_ifc_defconfig | 1 + configs/ls1021atwr_sdcard_qspi_defconfig | 1 + configs/ls1043aqds_nand_defconfig | 1 + configs/ls1043aqds_qspi_defconfig | 1 + configs/ls1043aqds_sdcard_ifc_defconfig | 1 + configs/ls1043aqds_sdcard_qspi_defconfig | 1 + configs/ls1043ardb_nand_defconfig | 1 + configs/ls1043ardb_sdcard_defconfig | 1 + configs/ls2080aqds_qspi_defconfig | 18 +++++++++--------- 20 files changed, 28 insertions(+), 11 deletions(-) ------------------------------------------------------------------------------- commit dee01e426b39eac974364c0658fca431894987c3 Author: Abhimanyu Saini <abhimanyu.saini@nxp.com> Date: 2016-06-14 13:18:31 +0530 armv8: dts: fsl: Remove cpu nodes from Layerscape DTSIs Currently layescape SoCs are not using cpu nodes. So removing them in favour of compatibly with similar SoCs that have different cores like LS2080A and LS2088A. This has been tested on LS2080AQDS, LS1043ARDB, LS1012ARDB. Signed-off-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com> Signed-off-by: Abhimanyu Saini <abhimanyu.saini@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / arch/arm/dts/fsl-ls1012a.dtsi | 12 --------- arch/arm/dts/fsl-ls1043a.dtsi | 32 ----------------------- arch/arm/dts/fsl-ls2080a.dtsi | 61 ------------------------------------------- 3 files changed, 105 deletions(-) ------------------------------------------------------------------------------- commit 49cdce163519ad760ca7769be64dd2a6133a5c11 Author: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com> Date: 2016-06-24 13:48:13 +0530 armv8: fsl-layerscape: Append "A" in SoC name for ARM based SoCs Freescale ARMv8 SoC name ends with "A" to represent ARM SoCs. like LS2080A, LS1043A, LS1012A. So append "A" to SoC names. Signed-off-by: Pratiyush Mohan Srivastava <pratiyush.srivastava@nxp.com> Signed-off-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / arch/arm/cpu/armv8/fsl-layerscape/soc.c | 4 ++-- arch/arm/include/asm/arch-fsl-layerscape/cpu.h | 14 +++++++------- arch/arm/include/asm/arch-fsl-layerscape/soc.h | 14 +++++++------- drivers/usb/common/fsl-errata.c | 4 ++-- 4 files changed, 18 insertions(+), 18 deletions(-) ------------------------------------------------------------------------------- commit 1483151e84161449c3f652a751a04e06b0723bff Author: Peng Fan <van.freenix@gmail.com> Date: 2016-06-15 10:53:02 +0800 mmc: fsl: introduce wp_enable Introudce wp_enable. To check WPSPL, wp_enable needs to be set to 1 in board code. Take i.MX6UL for example, for some boards, they do not use WP singal, so they does not configure USDHC1_WP_SELECT_INPUT, and its default value is 0(GPIO1_IO02). However GPIO1_IO02 is muxed for i2c usage and SION bit set. So USDHC controller can always get wp signal and WPSPL shows write protect and blocks driver continuing. This is not what we want to see, so add wp_enable, and if set to 0, just omit the WPSPL checking and this does not effect normal working of usdhc controller. If wp-gpios is provided in dts, wp_enable is set to 1, otherwise 0. Signed-off-by: Peng Fan <van.freenix@gmail.com> Cc: Pantelis Antoniou <panto@antoniou-consulting.com> Cc: York Sun <york.sun@nxp.com> Cc: Stefano Babic <sbabic@denx.de> Cc: Fabio Estevam <fabio.estevam@nxp.com> Tested-by: Fabio Estevam <fabio.estevam@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / drivers/mmc/fsl_esdhc.c | 21 ++++++++++++++++++--- include/fsl_esdhc.h | 1 + 2 files changed, 19 insertions(+), 3 deletions(-) ------------------------------------------------------------------------------- commit 84ecdf6da9eb102b2de87d5912d1554f44d33237 Author: Ye Li <ye.li@nxp.com> Date: 2016-06-15 10:53:01 +0800 fsl_esdhc: Update clock enable bits for USDHC The USDHC moves the 4 clock bits CARD_CLK_SOFT_EN, IPG_PERCLK_SOFT_EN, HCLK_SOFT_EN, and IPG_CLK_SOFT_EN from sysctl register to vendorspec register. The driver uses RSTA to replace the clock gate off operation. But this is not a good solution because: 1. when using RSTA, we should wait this bit to clear by itself. This is not implemeneted in the code. 2. After RSTA is set, it is recommended that the Host Driver reset the external card and reinitialize it. So in this patch, we change to use the vendorspec registers for these bits operation. Signed-off-by: Ye Li <ye.li@nxp.com> Signed-off-by: Peng Fan <van.freenix@gmail.com> Cc: York Sun <york.sun@nxp.com> Cc: Stefano Babic <sbabic@denx.de> Cc: Pantelis Antoniou <panto@antoniou-consulting.com> Cc: Fabio Estevam <fabio.estevam@nxp.com> Tested-by: Fabio Estevam <fabio.estevam@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / drivers/mmc/fsl_esdhc.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit f53225cce406058c09cf81456d9dc4956fef1b73 Author: Peng Fan <van.freenix@gmail.com> Date: 2016-06-15 10:53:00 +0800 mmc: fsl: reset to normal boot mode when eMMC fast boot When booting in eMMC fast boot, MMC host does not exit from boot mode after bootrom loading image. So the first command 'CMD0' sent in uboot will pull down the CMD line to low and cause errors. This patch cleans the MMC boot register in "mmc_init" to put the MMC host back to normal mode. Also clear DLL_CTRL delay line settings at USDHC initialization to eliminate the pre-settings from boot rom. Signed-off-by: Peng Fan <van.freenix@gmail.com> Cc: Pantelis Antoniou <panto@antoniou-consulting.com> Cc: York Sun <york.sun@nxp.com> Cc: Stefano Babic <sbabic@denx.de> Cc: Fabio Estevam <fabio.estevam@nxp.com> Tested-by: Fabio Estevam <fabio.estevam@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / drivers/mmc/fsl_esdhc.c | 38 +++++++++++++++++++++++++++++--------- include/fsl_esdhc.h | 6 ++++++ 2 files changed, 35 insertions(+), 9 deletions(-) ------------------------------------------------------------------------------- commit 68aaa980c488696fa6f71109e53e819b02455e33 Author: Qianyu Gong <qianyu.gong@nxp.com> Date: 2016-06-13 11:20:32 +0800 armv8: ls1043aqds: print FPGA info early for QSPI boot Now I2C is initialized early enough to access FPGA so it supports to show board info as early as other boot methods. Signed-off-by: Gong Qianyu <Qianyu.Gong@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / include/configs/ls1043aqds.h | 4 ---- 1 file changed, 4 deletions(-) ------------------------------------------------------------------------------- commit 581ff00bf7d276dadaa793aa1fc20b54d7b89e6a Author: Qianyu Gong <qianyu.gong@nxp.com> Date: 2016-06-13 11:20:31 +0800 armv8: ls1043aqds: use configurable clock Get the clocks from FPGA through I2C, if IFC is disabled. Signed-off-by: Gong Qianyu <Qianyu.Gong@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / board/freescale/ls1043aqds/ls1043aqds.c | 4 ++++ include/configs/ls1043aqds.h | 5 +++-- 2 files changed, 7 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit faaef73f7eedaaeed12ffbc95dd7b4b7411a3af5 Author: Peng Fan <van.freenix@gmail.com> Date: 2016-06-17 17:39:51 +0800 common: add new boot media kconfig entry Add CONFIG_{SD|NAND|ONENAND|SPI|QSPI|SATA}_BOOT kconfig entries. SoCs supports loading U-Boot from different medias to DRAM, such as i.MX6/7 supports loading U-Boot to DRAM from sd/emmc/nand/qspi/spi/sata and etc. For i.MX, imximage will generate different IVT headers according to boot medias. Signed-off-by: Peng Fan <peng.fan@nxp.com> Cc: Simon Glass <sjg@chromium.org> Cc: Heiko Schocher <hs@denx.de> Cc: Joe Hershberger <joe.hershberger@ni.com> Cc: Bin Meng <bmeng.cn@gmail.com> Cc: Christophe Ricard <christophe-h.ricard@st.com> Cc: Nikita Kiryanov <nikita@compulab.co.il> Cc: Francois Retief <fgretief@spaceteq.co.za> Cc: Tom Rini <trini@konsulko.com> Base directory -> / common/Kconfig | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) ------------------------------------------------------------------------------- commit d14739ffe16092323f838b8d3f61796afe083810 Author: Peng Fan <van.freenix@gmail.com> Date: 2016-06-17 17:39:50 +0800 Kconfig: make NOR_BOOT a common option Not only am335x supports booting from NOR, i.MX6 SoCs also supports booting from NOR. Make NOR_BOOT a common option to let different SoCs share it. Signed-off-by: Peng Fan <peng.fan@nxp.com> Cc: Simon Glass <sjg@chromium.org> Cc: Heiko Schocher <hs@denx.de> Cc: Joe Hershberger <joe.hershberger@ni.com> Cc: Christophe Ricard <christophe-h.ricard@st.com> Cc: Bin Meng <bmeng.cn@gmail.com> Cc: Francois Retief <fgretief@spaceteq.co.za> Cc: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / board/ti/am335x/Kconfig | 9 --------- common/Kconfig | 13 +++++++++++++ 2 files changed, 13 insertions(+), 9 deletions(-) ------------------------------------------------------------------------------- commit 4a9a3292771e80a9be37af147f4efcd2fd99e8d7 Author: Steve Rae <steve.rae@raedomain.com> Date: 2016-06-27 16:11:32 -0700 maintainers: new email address Update the email address for the boards that I maintain. Signed-off-by: Steve Rae <steve.rae@raedomain.com> Base directory -> / board/broadcom/bcm11130/MAINTAINERS | 2 +- board/broadcom/bcm11130_nand/MAINTAINERS | 2 +- board/broadcom/bcm23550_w1d/MAINTAINERS | 2 +- board/broadcom/bcm28155_ap/MAINTAINERS | 2 +- board/broadcom/bcm28155_w1d/MAINTAINERS | 2 +- board/broadcom/bcm911360_entphn-ns/MAINTAINERS | 2 +- board/broadcom/bcm911360_entphn/MAINTAINERS | 2 +- board/broadcom/bcm911360k/MAINTAINERS | 2 +- board/broadcom/bcm958300k-ns/MAINTAINERS | 2 +- board/broadcom/bcm958300k/MAINTAINERS | 2 +- board/broadcom/bcm958305k/MAINTAINERS | 2 +- board/broadcom/bcm958622hr/MAINTAINERS | 2 +- 12 files changed, 12 insertions(+), 12 deletions(-) ------------------------------------------------------------------------------- commit 0abd63b26de890dc3ea8d70f2022fd587cdc686b Author: Steve Rae <srae@broadcom.com> Date: 2016-06-07 11:19:39 -0700 fastboot: sparse: improve CHUNK_TYPE_FILL write performance - increase the size of the fill buffer - testing has shown a 10x improvement when the sparse image has large CHUNK_TYPE_FILL chunks Signed-off-by: Steve Rae <srae@broadcom.com> Base directory -> / common/image-sparse.c | 37 +++++++++++++++++++++++++++---------- 1 file changed, 27 insertions(+), 10 deletions(-) ------------------------------------------------------------------------------- commit 2c72404687f1061d042769cc65ef90e6c3da3f96 Author: Steve Rae <srae@broadcom.com> Date: 2016-06-07 11:19:38 -0700 fastboot: sparse: implement reserve() In order to process the CHUNK_TYPE_DONT_CARE properly, there is a requirement to be able to 'reserve' a specified number of blocks in the storage media. Because of the special handling of "bad blocks" in NAND devices, this is implemented in a storage abstraction function. Signed-off-by: Steve Rae <srae@broadcom.com> Reviewed-by: Maxime Ripard <maxime.ripard@free-electrons.com> Base directory -> / common/fb_mmc.c | 7 +++++++ common/fb_nand.c | 20 ++++++++++++++++++++ common/image-sparse.c | 5 ++--- include/image-sparse.h | 4 ++++ 4 files changed, 33 insertions(+), 3 deletions(-) ------------------------------------------------------------------------------- commit 9bc34799c8e6d8907b18e02c405576aa6bf9ce15 Author: Steve Rae <srae@broadcom.com> Date: 2016-06-07 11:19:37 -0700 fastboot: sparse: resync common/image-sparse.c (part 2) - update fastboot_okay() and fastboot_fail() This file originally came from upstream code. While retaining the storage abstraction feature, this is the second set of the changes required to resync with the cmd_flash_mmc_sparse_img() in the file aboot.c from https://us.codeaurora.org/cgit/quic/la/kernel/lk/plain/app/aboot/aboot.c?h=LE.BR.1.2.1 Signed-off-by: Steve Rae <srae@broadcom.com> Base directory -> / common/fb_mmc.c | 40 ++++++++++++++++------------------------ common/fb_nand.c | 38 +++++++++++++++----------------------- common/image-sparse.c | 26 +++++++++++++------------- drivers/usb/gadget/f_fastboot.c | 31 +++++++++++++++++++------------ include/fastboot.h | 4 ++-- include/fb_mmc.h | 4 ++-- include/fb_nand.h | 4 ++-- include/image-sparse.h | 2 +- 8 files changed, 70 insertions(+), 79 deletions(-) ------------------------------------------------------------------------------- commit cc0f08cd347ea9741375a70c490c6bee684f7bac Author: Steve Rae <srae@broadcom.com> Date: 2016-06-07 11:19:36 -0700 fastboot: sparse: resync common/image-sparse.c (part 1) This file originally came from upstream code. While retaining the storage abstraction feature, this is the first set of the changes required to resync with the cmd_flash_mmc_sparse_img() in the file aboot.c from https://us.codeaurora.org/cgit/quic/la/kernel/lk/plain/app/aboot/aboot.c?h=LE.BR.1.2.1 Signed-off-by: Steve Rae <srae@broadcom.com> Base directory -> / common/fb_mmc.c | 32 ++-- common/fb_nand.c | 56 +++--- common/image-sparse.c | 449 +++++++++++++++++-------------------------------- include/image-sparse.h | 25 +-- 4 files changed, 210 insertions(+), 352 deletions(-) ------------------------------------------------------------------------------- commit 64ece84854ae49f40e9b9d4d88502247774f9d2f Author: Steve Rae <srae@broadcom.com> Date: 2016-06-07 11:19:35 -0700 fastboot: sparse: remove session-id logic This "session-id" alogrithm is not required, and currently corrupts the stored image whenever more the one "session" is required. Signed-off-by: Steve Rae <srae@broadcom.com> Base directory -> / common/fb_mmc.c | 8 +++----- common/fb_nand.c | 4 ++-- common/image-sparse.c | 21 ++++----------------- drivers/usb/gadget/f_fastboot.c | 16 ++-------------- include/fb_mmc.h | 5 ++--- include/fb_nand.h | 5 ++--- include/image-sparse.h | 2 +- 7 files changed, 16 insertions(+), 45 deletions(-) ------------------------------------------------------------------------------- commit ac6e5fed31ccd1da18b8ef10542c3534bd2dbd38 Author: Tom Rini <trini@konsulko.com> Date: 2016-06-27 11:31:23 -0400 Merge branch 'master' of git://git.denx.de/u-boot-samsung Base directory -> / drivers/mmc/dw_mmc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit ca2ec9adc951cc3798e9b0c3773cdcc613232a22 Author: Jaehoon Chung <jh80.chung@samsung.com> Date: 2016-05-13 23:37:44 +0900 mmc: dw_mmc: fix the wrong AND operation These condition checking are wrong. Original Author's intention might be "&" instead of "&&". It can know whether receive or transmit data request with BIT[4]/BIT[5] of RINTSTS register. Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com> Base directory -> / drivers/mmc/dw_mmc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit 8e6e8221c78ed283a45f8598c65ffe4d287dcf42 Author: Heiko Schocher <hs@denx.de> Date: 2016-05-25 07:23:48 +0200 arm: at91: taurus/axm: add DM and DTS support add DM and DTS support for the at91 based siemens boards. Signed-off-by: Heiko Schocher <hs@denx.de> Reviewed-by: Andreas Bießmann <andreas@biessmann.org> [rebased on current ToT] Signed-off-by: Andreas Bießmann <andreas@biessmann.org> Base directory -> / arch/arm/dts/Makefile | 1 + arch/arm/dts/at91sam9g20-taurus.dts | 119 ++++++++++++++++++++++++++++++++++++ arch/arm/mach-at91/Kconfig | 4 ++ board/siemens/taurus/taurus.c | 25 ++++++++ configs/axm_defconfig | 5 +- configs/taurus_defconfig | 5 +- include/configs/taurus.h | 2 +- 7 files changed, 158 insertions(+), 3 deletions(-) ------------------------------------------------------------------------------- commit 13ee78907418872cc2c7943e3a82183af8229e8a Author: Heiko Schocher <hs@denx.de> Date: 2016-05-25 07:23:47 +0200 arm: at91: smartweb: add DM and DTS support Signed-off-by: Heiko Schocher <hs@denx.de> Reviewed-by: Andreas Bießmann <andreas@biessmann.org> [rebased on current ToT] Signed-off-by: Andreas Bießmann <andreas@biessmann.org> Base directory -> / arch/arm/dts/Makefile | 3 +- arch/arm/dts/at91sam9260-smartweb.dts | 110 ++++++++++++++++++++++++++++++++++ arch/arm/mach-at91/Kconfig | 4 ++ board/siemens/smartweb/smartweb.c | 32 ++++++++-- configs/smartweb_defconfig | 7 ++- include/configs/smartweb.h | 6 +- 6 files changed, 149 insertions(+), 13 deletions(-) ------------------------------------------------------------------------------- commit ae21e964d831e9544f1398a63d6f082570bd17fe Author: Heiko Schocher <hs@denx.de> Date: 2016-05-25 07:23:46 +0200 arm: at91: dts: Bring in dts files for AT91SAM9G20 and SAM9260 Add this files from Linux v4.6-rc5 66b8a424d: [workqueue: fix ghost PENDING flag while doing MQ IO] Signed-off-by: Heiko Schocher <hs@denx.de> Acked-by: Andreas Bießmann <andreas@biessmann.org> Base directory -> / arch/arm/dts/at91sam9260.dtsi | 1034 +++++++++++++++++++++++++++++++++++++++++ arch/arm/dts/at91sam9261.dtsi | 876 ++++++++++++++++++++++++++++++++++ arch/arm/dts/at91sam9263.dtsi | 1034 +++++++++++++++++++++++++++++++++++++++++ arch/arm/dts/at91sam9g20.dtsi | 68 +++ 4 files changed, 3012 insertions(+) ------------------------------------------------------------------------------- commit 289f979cc9585b68ff74971d90512847f9b3c868 Author: Heiko Schocher <hs@denx.de> Date: 2016-05-25 07:23:45 +0200 corvus DTS / DM support Signed-off-by: Heiko Schocher <hs@denx.de> Reviewed-by: Andreas Bießmann <andreas@biessmann.org> [rebase on current ToT, don't delete gurnard DTB creation] Signed-off-by: Andreas Bießmann <andreas@biessmann.org> Base directory -> / arch/arm/dts/Makefile | 4 +- arch/arm/dts/at91sam9g45-corvus.dts | 108 ++++++++++++++++++++++++++++++++++++ arch/arm/mach-at91/Kconfig | 4 ++ board/siemens/corvus/board.c | 41 +++++++++++++- configs/corvus_defconfig | 8 +++ include/configs/corvus.h | 2 +- 6 files changed, 162 insertions(+), 5 deletions(-) ------------------------------------------------------------------------------- commit ce9844ce17e8f8d8b97d0962751265247a51cb01 Author: Heiko Schocher <hs@denx.de> Date: 2016-05-25 07:23:44 +0200 arm: at91: add CONFIG_AT91SAM9M10G45 add support for CONFIG_AT91SAM9M10G45. Signed-off-by: Heiko Schocher <hs@denx.de> Reviewed-by: Andreas Bießmann <andreas@biessmann.org> Base directory -> / arch/arm/mach-at91/include/mach/at91_matrix.h | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) ------------------------------------------------------------------------------- commit 968ebdf1ef1493a9095cbc00934d608c624bcad4 Author: Marek Vasut <marex@denx.de> Date: 2016-05-14 23:42:28 +0200 ARM: at91: Don't invoke spl_boot_device() twice Since the spl_boot_mode() is now passed the boot device to boot from, make use of it instead of inquiring for the boot device again. This allows board_boot_order() to function correctly. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Andreas Bießmann <andreas.devel@googlemail.com> Reviewed-by: Andreas Bießmann <andreas@biessmann.org> Base directory -> / arch/arm/mach-at91/spl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 2b1cdafa9fdd0c88eb1bc96e9330e252c9795689 Author: Marek Vasut <marex@denx.de> Date: 2016-05-14 23:42:07 +0200 common: Pass the boot device into spl_boot_mode() The SPL code already knows which boot device it calls the spl_boot_mode() on, so pass that information into the function. This allows the code of spl_boot_mode() avoid invoking spl_boot_device() again, but it also lets board_boot_order() correctly alter the behavior of the boot process. The later one is important, since in certain cases, it is desired that spl_boot_device() return value be overriden using board_boot_order(). Signed-off-by: Marek Vasut <marex@denx.de> Cc: Andreas Bießmann <andreas.devel@googlemail.com> Cc: Albert Aribaud <albert.u.boot@aribaud.net> Cc: Tom Rini <trini@konsulko.com> Reviewed-by: Andreas Bießmann <andreas@biessmann.org> [add newly introduced zynq variant] Signed-aff-by: Andreas Bießmann <andreas@biessmann.org> Base directory -> / arch/arm/cpu/arm1136/mx35/generic.c | 2 +- arch/arm/cpu/armv7/ls102xa/spl.c | 2 +- arch/arm/cpu/armv7/omap-common/boot-common.c | 2 +- arch/arm/cpu/armv8/fsl-layerscape/spl.c | 2 +- arch/arm/cpu/armv8/zynqmp/spl.c | 2 +- arch/arm/imx-common/spl.c | 2 +- arch/arm/mach-at91/spl.c | 2 +- arch/arm/mach-davinci/spl.c | 2 +- arch/arm/mach-mvebu/spl.c | 2 +- arch/arm/mach-rockchip/rk3288-board-spl.c | 2 +- arch/arm/mach-socfpga/spl.c | 2 +- arch/arm/mach-sunxi/board.c | 2 +- arch/arm/mach-uniphier/boot-mode/boot-mode.c | 2 +- arch/arm/mach-zynq/spl.c | 2 +- common/spl/spl_mmc.c | 2 +- include/spl.h | 2 +- 16 files changed, 16 insertions(+), 16 deletions(-) ------------------------------------------------------------------------------- commit 57de41e9c944af8d2c7bfcc2358414c5dd8c39df Author: Peng Fan <van.freenix@gmail.com> Date: 2016-06-20 09:43:09 +0800 ehci: mx7: fix otg id detection The USBNC_PHYCFG2_ACAENB bit should be cleared to enable the OTG ID detection, not set it. When the bit is set, the ACA Resistance Detection is enabled, which disables the OTG ID detection, because the internal pull up is off. Signed-off-by: Ye Li <ye.li@nxp.com> Signed-off-by: Peng Fan <peng.fan@nxp.com> Base directory -> / drivers/usb/host/ehci-mx6.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit 429ff4473b8b1a98c528608a127de833ece0496a Author: Peng Fan <van.freenix@gmail.com> Date: 2016-06-20 09:43:08 +0800 ehci: mx7: fix usbnc_regs There is a 4 bytes hole between phy_cfg2 and phy_status, fix the usbnc_regs structure to include the hole. Signed-off-by: Ye Li <ye.li@nxp.com> Signed-off-by: Peng Fan <peng.fan@nxp.com> Base directory -> / drivers/usb/host/ehci-mx6.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 217d16973db6239c88ca77c7ffe3e4abdaf58d57 Author: Rajesh Bhagat <rajesh.bhagat@nxp.com> Date: 2016-06-18 10:47:10 +0530 usb: fsl: Fix NULL terminating issue for usb controller name string Fixes NULL terminating issue for usb controller name string by using sizeof operator. Signed-off-by: Rajesh Bhagat <rajesh.bhagat@nxp.com> Base directory -> / drivers/usb/host/ehci-fsl.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 4141e85bcd79c0b9b16def710e527f165107b7af Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-06-23 13:53:46 +0900 kbuild: avoid race between dtbs and dt/dt.dtb targets If the final targets depend on both "dtbs" and "dts/dt.dtb", and -j option is given to the command line, multiple threads descend into the dts/ directory, which causes build error. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Tested-by: Andreas Dannenberg <dannenberg@ti.com> Base directory -> / Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit fba5f93c71902079f096549e886e4774334bc7ca Author: Alexander Graf <agraf@suse.de> Date: 2016-06-23 01:15:38 +0200 efi_loader: Fix typo in distro script The distro script is supposed to use the internal fdt as fallback if we find no viable other option. However, we're missing a space key to actually make that work. Add the space, so we can successfully load an EFI blob even when there is no device tree provided on the target device. Signed-off-by: Alexander Graf <agraf@suse.de> Base directory -> / include/config_distro_bootcmd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit a4d799939fdb08ce4d7464578734316cdd0bf452 Author: Hannes Schmelzer <oe5hpm@oevsv.at> Date: 2016-06-22 12:36:14 +0200 board/BuR: rename kwb board to brxre1 Rename B&R kwb board to brxre1 Signed-off-by: Hannes Schmelzer <oe5hpm@oevsv.at> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / arch/arm/Kconfig | 6 +- board/BuR/brxre1/Kconfig | 15 +++ board/BuR/brxre1/MAINTAINERS | 6 + board/BuR/brxre1/Makefile | 12 ++ board/BuR/brxre1/board.c | 298 +++++++++++++++++++++++++++++++++++++++++++ board/BuR/brxre1/mux.c | 198 ++++++++++++++++++++++++++++ board/BuR/kwb/Kconfig | 15 --- board/BuR/kwb/MAINTAINERS | 6 - board/BuR/kwb/Makefile | 12 -- board/BuR/kwb/board.c | 298 ------------------------------------------- board/BuR/kwb/mux.c | 198 ---------------------------- configs/brxre1_defconfig | 38 ++++++ configs/kwb_defconfig | 38 ------ include/configs/brxre1.h | 143 +++++++++++++++++++++ include/configs/kwb.h | 143 --------------------- 15 files changed, 713 insertions(+), 713 deletions(-) ------------------------------------------------------------------------------- commit 2290fe06421720d1c54523a9acf1052181bc6e87 Author: Hannes Schmelzer <oe5hpm@oevsv.at> Date: 2016-06-22 12:36:13 +0200 board/BuR: rename tseries board to brppt1 Rename B&R tseries board to brppt1 Signed-off-by: Hannes Schmelzer <oe5hpm@oevsv.at> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / arch/arm/Kconfig | 6 +- board/BuR/brppt1/Kconfig | 15 ++ board/BuR/brppt1/MAINTAINERS | 8 ++ board/BuR/brppt1/Makefile | 14 ++ board/BuR/brppt1/board.c | 174 +++++++++++++++++++++++ board/BuR/brppt1/mux.c | 254 ++++++++++++++++++++++++++++++++++ board/BuR/tseries/Kconfig | 15 -- board/BuR/tseries/MAINTAINERS | 8 -- board/BuR/tseries/Makefile | 14 -- board/BuR/tseries/board.c | 174 ----------------------- board/BuR/tseries/mux.c | 254 ---------------------------------- configs/brppt1_mmc_defconfig | 37 +++++ configs/brppt1_nand_defconfig | 37 +++++ configs/brppt1_spi_defconfig | 42 ++++++ configs/tseries_mmc_defconfig | 37 ----- configs/tseries_nand_defconfig | 37 ----- configs/tseries_spi_defconfig | 42 ------ include/configs/brppt1.h | 304 +++++++++++++++++++++++++++++++++++++++++ include/configs/tseries.h | 304 ----------------------------------------- 19 files changed, 888 insertions(+), 888 deletions(-) ------------------------------------------------------------------------------- commit 8ada4e0ee652d2108c640a4daaf63865ad8dedb1 Author: Steve Rae <srae@broadcom.com> Date: 2016-06-21 16:43:07 -0700 arm: bcm235xx: update clock framework The handling of the "usage counter" is incorrect, and the clock should only be disabled when transitioning from 1 to 0. Reported-by: Chris Brand <chris.brand@broadcom.com> Signed-off-by: Steve Rae <srae@broadcom.com> Base directory -> / arch/arm/cpu/armv7/bcm235xx/clk-core.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) ------------------------------------------------------------------------------- commit 77a1a677a6db02377921cda1a146d18efb1f31ec Author: Chris Brand <chris.brand@broadcom.com> Date: 2016-06-21 16:43:06 -0700 arm: bcm235xx: fix kps ccu The Kona Peripheral Slave CCU has 4 policy mask registers, not 8. Signed-off-by: Chris Brand <chris.brand@broadcom.com> Signed-off-by: Steve Rae <srae@broadcom.com> Base directory -> / arch/arm/cpu/armv7/bcm235xx/clk-bcm235xx.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) ------------------------------------------------------------------------------- commit 9d7f416cedb5e9d7a809952e9483e05de5d30eda Author: Steve Rae <srae@broadcom.com> Date: 2016-06-21 16:43:05 -0700 arm: bcm235xx: implement the boot0 hook code Choose the Kconfig boot0 hook option and implement the required code. Signed-off-by: Steve Rae <srae@broadcom.com> Base directory -> / arch/arm/include/asm/arch-bcm235xx/boot0.h | 15 +++++++++++++++ configs/bcm23550_w1d_defconfig | 1 + 2 files changed, 16 insertions(+) ------------------------------------------------------------------------------- commit 202b84ae59d1bc356813b81b9611dcb8af610d97 Author: Steve Rae <srae@broadcom.com> Date: 2016-06-21 16:43:04 -0700 arm: bcm235xx: choose 8-bit phy bus width The Kona PHY supports an 8-bit wide UTMI interface, therefore, choose this Kconfig setting. Signed-off-by: Steve Rae <srae@broadcom.com> Base directory -> / configs/bcm23550_w1d_defconfig | 1 + include/configs/bcm23550_w1d.h | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit df8b0a037394246fd591b7fac4de4541810ab1e8 Author: Stephen Warren <swarren@nvidia.com> Date: 2016-06-21 13:32:07 -0600 clk: sandbox: don't check clk ID against 0 clk->id is unsigned, so it can't be < 0. Remove the check for that. FWIW, this issue was introduced when the clock API converted e.g. clk_get_rate()'s clock ID parameter from an int to an unsigned long (with a struct clk), without removing this check. Fixes: 135aa9500264 ("clk: convert API to match reset/mailbox style") Reported-by: Coverity Scan Signed-off-by: Stephen Warren <swarren@nvidia.com> Acked-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/clk/clk_sandbox.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) ------------------------------------------------------------------------------- commit bd62e2419b9528292882e3b0008c507db6ae20a8 Author: Andrej Rosano <andrej@inversepath.com> Date: 2016-06-21 17:54:25 +0200 common: Fix support for environment file in EXT4 Signed-off-by: Andrej Rosano <andrej@inversepath.com> Base directory -> / common/env_ext4.c | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) ------------------------------------------------------------------------------- commit ec048369e2d68d60fdb4e0e6b5def08fff0a0be4 Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-06-21 21:30:09 +0900 ARM: armv7: refactor Makefile slightly Use Kbuild standard style where possible. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Base directory -> / arch/arm/cpu/armv7/Makefile | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) ------------------------------------------------------------------------------- commit f1f9d4fac5274d9b5ae1b0087fb0fcfa00687bac Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-06-21 02:11:19 +0900 hush: complete renaming CONFIG_SYS_HUSH_PARSER to CONFIG_HUSH_PARSER There is no more define of CONFIG_SYS_HUSH_PARSER. Rename some remaining references and drop the backward compatible Kconfig entry. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Base directory -> / board/work-microwave/work_92105/work_92105_display.c | 4 ++-- cmd/Kconfig | 6 ------ cmd/Makefile | 4 ++-- common/Makefile | 5 +---- common/cli.c | 14 +++++++------- test/command_ut.c | 2 +- 6 files changed, 13 insertions(+), 22 deletions(-) ------------------------------------------------------------------------------- commit b88d6f761445df5fd9d2dfe8eb5e32891a3843f0 Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-06-21 02:11:18 +0900 Move CONFIG_SYS_HUSH_PARSER to Kconfig for last 4 boards I still see some defines of this config in board headers. Move them to defconfigs (+ renaming to CONFIG_HUSH_PARSER) to complete this migration. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Base directory -> / configs/gurnard_defconfig | 1 + configs/odroid-c2_defconfig | 1 + configs/s32v234evb_defconfig | 1 + configs/tplink_wdr4300_defconfig | 1 + include/configs/meson-gxbb-common.h | 1 - include/configs/s32v234evb.h | 1 - include/configs/snapper9g45.h | 1 - include/configs/tplink_wdr4300.h | 1 - 8 files changed, 4 insertions(+), 4 deletions(-) ------------------------------------------------------------------------------- commit 62f8183f6adee9df47d6d3c02bf19809117dcbad Author: Andre Renaud <andre@designa-electronics.com> Date: 2016-06-19 19:25:25 -0600 mtd: nand: Drop a blank line in nand_wait() This empty line should not be there. Remove it. Signed-off-by: Andre Renaud <andre@designa-electronics.com> Reviewed-by: Andreas Bießmann <andreas@biessmann.org> Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/mtd/nand/nand_base.c | 1 - 1 file changed, 1 deletion(-) ------------------------------------------------------------------------------- commit 6441e3deb429f218c05e6a71fbbb89e7519e2e52 Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-06-17 21:51:48 +0900 ARM: move #ifdef to match the error handling code Match the #ifdef ... #endif and the code, ret = do_something(); if (ret) return ret; This will make it easier to add more #ifdef'ed code. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Base directory -> / arch/arm/lib/bootm-fdt.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit afedf5488de99925f00ead847e40d7ba0d508f0e Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-06-17 18:32:47 +0900 arm64: optimize smp_kick_all_cpus gic_kick_secondary_cpus can directly return to the caller of smp_kick_all_cpus. We do not have to use x29 register here. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / arch/arm/cpu/armv8/start.S | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) ------------------------------------------------------------------------------- commit a2cfc8d5935efd445d9f9b258383e2a42f83ef6e Author: Joris Lijssens <joris.lijssens@gmail.com> Date: 2016-06-17 10:46:58 +0200 lib/lzo: bugfix when input data is not compressed When the input data is not compressed at all, lzo1x_decompress_safe will fail, so call memcpy() instead. Signed-off-by: Joris Lijssens <joris.lijssens@gmail.com> Base directory -> / lib/lzo/lzo1x_decompress.c | 25 ++++++++++++++++--------- 1 file changed, 16 insertions(+), 9 deletions(-) ------------------------------------------------------------------------------- commit 96044745cb8c086d47215f4aa7b4defb1d1fec57 Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-06-17 14:24:07 +0900 env: avoid build error for boards without CONFIG_SYS_{CPU, BOARD} If CONFIG_ENV_VARS_UBOOT_CONFIG is enabled (it is by distro), this code causes build error for boards without CONFIG_SYS_{CPU,_BOARD}. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Base directory -> / include/env_default.h | 4 ++++ 1 file changed, 4 insertions(+) ------------------------------------------------------------------------------- commit 5847084f6bbd0778afb29f0574085d4210ea8cff Author: Vagrant Cascadian <vagrant@debian.org> Date: 2016-06-16 12:28:40 -0700 Respect SOURCE_DATE_EPOCH when building FIT images. Embedding timestamps in FIT images results in unreproducible builds for targets that generate a fit image, such as dra7xx_evm. This patch uses the SOURCE_DATE_EPOCH environment variable, when set, to use specified value for the date. Thanks to HW42 for debugging the issue and providing the patch: https://lists.alioth.debian.org/pipermail/reproducible-builds/Week-of-Mon-20160606/005722.html For more information about reproducible builds and the SOURCE_DATE_EPOCH specification: https://reproducible-builds.org/specs/source-date-epoch/ https://reproducible-builds.org/ Signed-off-by: Vagrant Cascadian <vagrant@debian.org> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / tools/default_image.c | 14 +------------- tools/fit_image.c | 6 ++++-- tools/imagetool.c | 20 ++++++++++++++++++++ tools/imagetool.h | 16 ++++++++++++++++ 4 files changed, 41 insertions(+), 15 deletions(-) ------------------------------------------------------------------------------- commit 42ffa51fd46bc6fd4bf2c244f00a80df31d01596 Author: Vagrant Cascadian <vagrant@debian.org> Date: 2016-06-12 06:07:07 -0700 Use C locale when setting CC_VERSION_STRING and LD_VERSION_STRING. The output reported may be locale-dependent, which results in unreproducible builds. $ LANG=C ld --version | head -n 1 GNU ld (GNU Binutils for Debian) 2.26 $ LANG=it_CH.UTF-8 ld --version | head -n 1 ld di GNU (GNU Binutils for Debian) 2.26 Forcing LC_ALL=C ensures the output is consistant regardless of the build environment. Thanks to HW42 for debugging the issue: https://lists.alioth.debian.org/pipermail/reproducible-builds/Week-of-Mon-20160606/005722.html For more information about reproducible builds: https://reproducible-builds.org/ Signed-off-by: Vagrant Cascadian <vagrant@debian.org> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit 1e23737df8c3887afd45b3c9842827df168d915b Author: Carlo Caione <carlo@endlessm.com> Date: 2016-06-10 20:18:23 +0200 board: amlogic: Rename folder for Amlogic boards s/hardkernel/amlogic/ to have a single place for all the amlogic-based boards. Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Carlo Caione <carlo@endlessm.com> Acked-by: Beniamino Galvani <b.galvani@gmail.com> Base directory -> / arch/arm/mach-meson/Kconfig | 2 +- board/amlogic/odroid-c2/Kconfig | 12 ++++++ board/amlogic/odroid-c2/MAINTAINERS | 6 +++ board/amlogic/odroid-c2/Makefile | 7 ++++ board/amlogic/odroid-c2/README | 60 ++++++++++++++++++++++++++++++ board/amlogic/odroid-c2/odroid-c2.c | 67 ++++++++++++++++++++++++++++++++++ board/hardkernel/odroid-c2/Kconfig | 12 ------ board/hardkernel/odroid-c2/MAINTAINERS | 6 --- board/hardkernel/odroid-c2/Makefile | 7 ---- board/hardkernel/odroid-c2/README | 60 ------------------------------ board/hardkernel/odroid-c2/odroid-c2.c | 67 ---------------------------------- 11 files changed, 153 insertions(+), 153 deletions(-) ------------------------------------------------------------------------------- commit 4b3ab59d21efc2bcc76628a54f9c368dee23d5fe Author: Carlo Caione <carlo@endlessm.com> Date: 2016-06-10 20:18:22 +0200 configs: gxbb: Introduce a common config header file Introduce a meson-gxbb-common.h header file and derive the configuration for Hardkernel Odroid-C2 board from that. Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Carlo Caione <carlo@endlessm.com> Acked-by: Beniamino Galvani <b.galvani@gmail.com> Base directory -> / include/configs/meson-gxbb-common.h | 45 +++++++++++++++++++++++++++++++++++++ include/configs/odroid-c2.h | 34 +--------------------------- 2 files changed, 46 insertions(+), 33 deletions(-) ------------------------------------------------------------------------------- commit 4f1318b29c7a20a694d02247917a6000f08dec9a Author: Michael Trimarchi <michael@amarulasolutions.com> Date: 2016-06-10 19:54:37 +0200 common: image: minimal android image iminfo support We already support iminfo for other images. The idea of this patch is start to have a minimal support for android image format. We still need to print id[] array Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / cmd/bootm.c | 6 ++++++ common/image-android.c | 29 +++++++++++++++++++++++++++++ include/image.h | 1 + 3 files changed, 36 insertions(+) ------------------------------------------------------------------------------- commit f8f9107d97b849afe69ca86e7abd8d1748ea7acd Author: Teddy Reed <teddy.reed@gmail.com> Date: 2016-06-09 19:38:02 -0700 mkimage: fit: spl: Add an optional static offset for external data When building a FIT with external data (-E), U-Boot proper may require absolute positioning for executing the external firmware. To acheive this use the (-p) switch, which will replace the amended 'data-offset' with 'data-position' indicating the absolute position of external data. It is considered an error if the requested absolute position overlaps with the initial data required for the compact FIT. Signed-off-by: Teddy Reed <teddy.reed@gmail.com> Base directory -> / doc/mkimage.1 | 6 ++++++ doc/uImage.FIT/source_file_format.txt | 3 +++ tools/fit_image.c | 19 ++++++++++++++++++- tools/imagetool.h | 1 + tools/mkimage.c | 13 +++++++++++-- 5 files changed, 39 insertions(+), 3 deletions(-) ------------------------------------------------------------------------------- commit 92dfd9221c97265ff303bf9437481b9767bd72ea Author: Sergey Kubushyn <ksi@koi8.net> Date: 2016-06-07 11:14:31 -0700 cmd: bootefi: cosmetic Short help (description) in bootefi command has a trailing "\n" that breaks the "help" command output (empty line after "bootefi"). Nothing important, doesn't affect anything but better be fixed in the upcoming release. Still working on i.MX6 and their siblings NAND U-Boot update -- it works here but not ready for a submission yet. Anyway it is for the next cycle, not going to go into this release because it is too big and may affect something else. Also have some thoughts about fastboot (using multiple devices) but this will go into separate email with RFC. Signed-off-by: Sergey Kubushyn <ksi@koi8.net> Base directory -> / cmd/bootefi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 85a2f772c256af9d8f0570548d2c2041a7b461e9 Author: Daniel Gorsulowski <Daniel.Gorsulowski@esd.eu> Date: 2016-06-06 09:40:11 +0200 omap3: bugfix in timer on rollover Signed-off-by: Daniel Gorsulowski <daniel.gorsulowski@esd.eu> Base directory -> / arch/arm/cpu/armv7/omap-common/timer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit a2fd238e4923d0b0e10d4ca24ad6410244d8ea6c Author: Qianyu Gong <qianyu.gong@nxp.com> Date: 2016-06-13 11:20:30 +0800 armv8: ls1043aqds: fix to get boot device info from FPGA The LBMAP switches on the board will tell which boot device is used. Only QSPI boot is supported if the boot device is IFCCard. Signed-off-by: Gong Qianyu <Qianyu.Gong@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / board/freescale/ls1043aqds/ls1043aqds.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) ------------------------------------------------------------------------------- commit f3acaf438de74a0b278abc71fb2aca7e7aa86ffa Author: Hou Zhiqiang <Zhiqiang.Hou@nxp.com> Date: 2016-06-12 14:42:04 +0800 armv8/fsl_lsch2: Correct the cores frequency initialization The register CLKCNCSR controls the frequency of all cores in the same cluster. Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / arch/arm/cpu/armv8/fsl-layerscape/fsl_lsch2_speed.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) ------------------------------------------------------------------------------- commit 61520ac4d5545cc8d2e1792092e46ab8043d5f36 Author: Marek Vasut <marex@denx.de> Date: 2016-06-23 18:14:50 +0200 arm: socfpga: Fix "improve raw MMC SPL boot" This fixes commit d31e9c575f24f4b7f5f382ccae70d7a86bbc379d , which broke booting from SD card on all SoCFPGA boards. The patch assumes the bootloader partition to be partition 3, at the end of the SD card, which doesn't make any sense. U-Boot assumes the bootloader partition is partition 1 or that the bootloader image is at offset +1 MiB from the start of SD card. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Sylvain Lesne <lesne@alse-fr.com> Base directory -> / include/configs/socfpga_common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit b66a5c03a0870db3045be2967b85684b1887ca18 Author: Tom Rini <trini@konsulko.com> Date: 2016-06-21 20:43:21 -0400 Merge branch 'master' of git://git.denx.de/u-boot-uniphier Base directory -> / tools/moveconfig.py | 130 ++++++++++++++++++++++++++++++++-------------------- 1 file changed, 81 insertions(+), 49 deletions(-) ------------------------------------------------------------------------------- commit fc2661eebe9e788aee61dcb0c9c8337cda1ae93b Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-06-15 14:33:54 +0900 tools: moveconfig: show suspicious boards with possible misconversion There are some cases where config options are moved, but they are ripped off at the final savedefconfig stage: - The moved option is not user-configurable, for example, due to a missing prompt in the Kconfig entry - The config was not defined in the original config header despite the Kconfig specifies it as non-bool type - The config define in the header contains reference to another macro, for example: #define CONFIG_CONS_INDEX (CONFIG_SYS_LPC32XX_UART - 2) The current moveconfig does not support recursive macro expansion. In these cases, the conversion is very likely to be an unexpected result. That is why I decided to display the log in yellow color in commit 5da4f857beac ("tools: moveconfig: report when CONFIGs are removed by savedefconfig"). It would be nice to display the list of suspicious boards when the tool finishes processing. It is highly recommended to check the defconfigs once again when this message is displayed. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Joe Hershberger <joe.hershberger@ni.com> Base directory -> / tools/moveconfig.py | 32 +++++++++++++++++++++++++++++++- 1 file changed, 31 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 96dccd9767311f4b8e585fd9e33fcb2a09e36951 Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-06-15 14:33:53 +0900 tools: moveconfig: simplify show_failed_boards() and show more info Since commit 1d085568b3de ("tools: moveconfig: display log atomically in more readable format"), the function color_text() is clever enough to exclude LF from escape sequences. Exploit it for removing the "for" loops from Slots.show_failed_boards(). Also, display "(the list has been saved in moveconfig.failed)" if there are failed boards. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Joe Hershberger <joe.hershberger@ni.com> Base directory -> / tools/moveconfig.py | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) ------------------------------------------------------------------------------- commit f432c33f27898070718dd568feb104fc1870ca15 Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-06-15 14:33:52 +0900 tools: moveconfig: simplify source tree switching The subprocess.Popen() does not change the child process's working directory if cwd=None is given. Let's exploit this fact to refactor the source directory handling. We no longer have to pass "-C <reference_src_dir>" to the sub-process because self.current_src_dir tracks the source tree against which we want to run defconfig/autoconf. The flag self.use_git_ref is not necessary either because we can know the current state by checking whether the self.current_src_dir is a valid string or None. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Base directory -> / tools/moveconfig.py | 22 +++++++++------------- 1 file changed, 9 insertions(+), 13 deletions(-) ------------------------------------------------------------------------------- commit 5cc42a51846cd69596081a9cd9d2bd0495815525 Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-06-15 14:33:51 +0900 tools: moveconfig: change class WorkDir to class ReferenceSource The class WorkDir can be used in a very generic way, but currently it is only used for containing a reference source directory. This commit changes it for a more dedicated use. The move_config function can be more readable by enclosing the git-clone and git- checkout in the class constructor. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Joe Hershberger <joe.hershberger@ni.com> Base directory -> / tools/moveconfig.py | 49 ++++++++++++++++++++++++++++--------------------- 1 file changed, 28 insertions(+), 21 deletions(-) ------------------------------------------------------------------------------- commit 5030159e27a1d6293f0f064807d4eef5dd6de714 Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-06-15 14:33:50 +0900 tools: moveconfig: fix needless move for config with default 1 When moving an integer type option with default value 1, the tool moves configs with the same value as the default (, and then removed by the later savedefconfig). This is a needless operation. The KconfigParser.parse_one_config() should compare the config after the "=y -> =1" fixup. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Joe Hershberger <joe.hershberger@ni.com> Base directory -> / tools/moveconfig.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) ------------------------------------------------------------------------------- commit 69fd0d4131c73a3b8a199a8d88fb4e5c688b58d5 Author: Guillaume GARDET <guillaume.gardet@free.fr> Date: 2016-06-06 15:11:45 +0200 NFS: Add error message when U-Boot NFS version (V2) is not supported by NFS server Signed-off-by: Guillaume GARDET <guillaume.gardet@free.fr> Cc: joe.hershberger@ni.com Acked-by: Joe Hershberger <joe.hershberger@ni.com> Base directory -> / net/nfs.c | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 08e64cece2f8e793b5c085ebf27c27dfc5ed730d Author: Nathan Rossi <nathan@nathanrossi.com> Date: 2016-06-03 23:16:17 +1000 net: phy: marvell: Do not reset 88e1310 after autoneg Commit a058052c "net: phy: do not read configuration register on reset", changes the behaviour of the phy_reset function such that the state of the BMCR register is not preserved during reset. Change the config function for the m88e1310 so that it does not do a reset after configuring auto-negotiation. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Cc: Joe Hershberger <joe.hershberger@ni.com> Cc: Michal Simek <michal.simek@xilinx.com> Cc: Stefan Roese <sr@denx.de> Acked-by: Michal Simek <michal.simek@xilinx.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com> Reviewed-by: Stefan Roese <sr@denx.de> Base directory -> / drivers/net/phy/marvell.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) ------------------------------------------------------------------------------- commit 79887749f802af5c30ef019bd13f299f79a1530a Author: Alexey Firago <alexey_firago@mentor.com> Date: 2016-05-26 16:28:44 +0300 net: phy: micrel: add support for KSZ886x switches in MIIM mode This patch adds a phy driver for the Micrel KSZ886x switches. Similarly to the KSZ8895, SoC MAC is directly connected to the switch MAC on the switch CPU port, so the link to the switch is always up. KSZ886x switches can be used in the following configuration modes: - Unmanaged mode with config stored in external EEPROM - Managed mode over SPI - Managed mode over I2C - Managed mode over mdio/mdc (aka MIIM or SMI) This patch supports only unmanaged and MIIM modes. Based on Micrel KSZ886x driver from Linux kernel and Micrel KSZ8895 driver from U-Boot. Verified with the KSZ8863MLL. Signed-off-by: Alexey Firago <alexey_firago@mentor.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com> Base directory -> / drivers/net/phy/micrel.c | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) ------------------------------------------------------------------------------- commit dad7b74045929ff10d93ec1dd60d0fd36fd9a527 Author: Stephen Warren <swarren@nvidia.com> Date: 2016-04-26 15:29:00 -0600 net: rtl8169: fix switching between adapters The rtl8169 driver uses a global variable to store the register address of the adapter being operated upon. This is updated to point at the correct adapter when sending or receiving a packet, or shutting down the adapter, but not when initializing the adapter. Consequently, switching between different adapters within the same U-Boot runtime does not work correctly since the driver programs the wrong registers during rtl8169_eth_start() -> rtl8169_common_start() -> rtl8169_hw_start(). Note that since rtl8169_eth_stop() does set the global variable, the second consecutive attempt to use the "new" adapter did work even before this patch, because each time network usage is shut down, the network core calls stop, which sets the variable so that the next start does actually initialize the hardware, and the adapter works. Equally, rtl8169_eth_probe() calls rtl_init() which sets the global, so if using only a single device, or if picking the "right" device (based on probe order) when multiple devices are present, ioaddr will already be set correctly from the get-go, so the issue does not occur. Signed-off-by: Stephen Warren <swarren@nvidia.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com> Base directory -> / drivers/net/rtl8169.c | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) ------------------------------------------------------------------------------- commit 9f823615af919c6b89f0b80197f009f78299dcde Author: Hans de Goede <hdegoede@redhat.com> Date: 2016-06-20 23:16:28 +0200 Kconfig: Add a new DISTRO_DEFAULTS Kconfig option DISTRO_DEFAULTS is intended to mirror / replace include/config_distro_defaults.h. The intend is for boards which include this file to select this from their Kconfig files and when moving setting to Kconfig which are #define-ed in config_distro_defaults.h to select this from DISTRO_DEFAULTS so that boards which have selected DISTRO_DEFAULTS will keep the same configuration as before without needing any defconfig file changes. The initial list of selected things matches all settings recently removed from config_distro_defaults.h because they have been converted to Kconfig, with the exception of CMD_ELF and CMD_NET, which have a default of y, if the default of these ever changes they should be selected by DISTRO_DEFAULTS too. For testing and example purposes this commit also converts ARCH_SUNXI to use DISTRO_DEFAULT instead of selecting everything it needs itself. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Base directory -> / Kconfig | 17 +++++++++++++++++ arch/arm/Kconfig | 9 --------- doc/README.distro | 6 ++++++ 3 files changed, 23 insertions(+), 9 deletions(-) ------------------------------------------------------------------------------- commit 4257f5f8f631147803cdc6693b5046deb1a57be6 Author: Chen-Yu Tsai <wens@csie.org> Date: 2016-06-07 10:54:34 +0800 sunxi: Add PSCI implementation in C To make the PSCI backend more maintainable and easier to port to newer SoCs, rewrite the current PSCI implementation in C. Some inline assembly bits are required to access coprocessor registers. PSCI stack setup is the only part left completely in assembly. In theory this part could be split out of psci_arch_init into a separate common function, and psci_arch_init could be completely in C. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Acked-by: Marc Zyngier <marc.zyngier@arm.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Base directory -> / arch/arm/cpu/armv7/sunxi/Makefile | 7 +- arch/arm/cpu/armv7/sunxi/psci.c | 273 ++++++++++++++++++++++++++++++++++ arch/arm/cpu/armv7/sunxi/psci_head.S | 66 ++++++++ arch/arm/cpu/armv7/sunxi/psci_sun6i.S | 262 -------------------------------- arch/arm/cpu/armv7/sunxi/psci_sun7i.S | 237 ----------------------------- 5 files changed, 341 insertions(+), 504 deletions(-) ------------------------------------------------------------------------------- commit 3424c3f29970beaa3810acbc6ba3b8062a71ef09 Author: Chen-Yu Tsai <wens@csie.org> Date: 2016-06-07 10:54:33 +0800 sunxi: Add base address for GIC Instead of hardcoding the GIC addresses in the PSCI implementation, provide a base address in the cpu header. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Acked-by: Marc Zyngier <marc.zyngier@arm.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Base directory -> / arch/arm/cpu/armv7/sunxi/psci_sun6i.S | 4 ++-- arch/arm/cpu/armv7/sunxi/psci_sun7i.S | 4 ++-- arch/arm/include/asm/arch-sunxi/cpu_sun4i.h | 2 ++ 3 files changed, 6 insertions(+), 4 deletions(-) ------------------------------------------------------------------------------- commit 7579a3ec8c655b57f072c44c92f281fdc5401450 Author: Chen-Yu Tsai <wens@csie.org> Date: 2016-06-07 10:54:32 +0800 sunxi: Add CPUCFG debug lock and sun7i cpu power controls CPUCFG has an unlisted debug control register, which is used to disable external debug access. Also, sun7i secondary core power controls are in CPUCFG, as there's no separate PRCM block. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Acked-by: Marc Zyngier <marc.zyngier@arm.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Base directory -> / arch/arm/include/asm/arch-sunxi/cpucfg.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 20e3d05370b75bc71b74765adc80de35ad2d2ec7 Author: Chen-Yu Tsai <wens@csie.org> Date: 2016-06-07 10:54:31 +0800 sunxi: Group cpu core related controls together Instead of listing individual registers for controls to each processor core, list them as an array of registers. This makes accessing controls by core index easier. Also rename "cpucfg_sun6i.h" (which was unused anyway) to the more generic "cpucfg.h", and add packed attribute to struct sunxi_cpucfg. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Acked-by: Marc Zyngier <marc.zyngier@arm.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Base directory -> / arch/arm/include/asm/arch-sunxi/cpucfg.h | 63 +++++++++++++++++++++++ arch/arm/include/asm/arch-sunxi/cpucfg_sun6i.h | 69 -------------------------- arch/arm/include/asm/arch-sunxi/prcm.h | 6 +-- 3 files changed, 65 insertions(+), 73 deletions(-) ------------------------------------------------------------------------------- commit 57c2a255725a033407835cc596158a153c255bc1 Author: Chen-Yu Tsai <wens@csie.org> Date: 2016-06-07 10:54:30 +0800 sunxi: Add missing linux/types.h header for cpucfg_sun6i.h cpucfg_sun6i.h includes a register definition for the CPUCFG register block. The types used are u32 and u8, which are defined in linux/types.h. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Acked-by: Marc Zyngier <marc.zyngier@arm.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Base directory -> / arch/arm/include/asm/arch-sunxi/cpucfg_sun6i.h | 2 ++ 1 file changed, 2 insertions(+) ------------------------------------------------------------------------------- commit d7d4e5ccd646538a735ea97b446a9453ab49cc17 Author: Chen-Yu Tsai <wens@csie.org> Date: 2016-06-07 10:54:29 +0800 sunxi: Add packed attribute to struct sunxi_prcm_reg struct sunxi_prcm_reg is a representation of the PRCM registers. Add the packed attribute to prevent the compiler from doing funny things. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Acked-by: Marc Zyngier <marc.zyngier@arm.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Base directory -> / arch/arm/include/asm/arch-sunxi/prcm.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 0f3b8944269034bab18760053346ae1cdcf82d51 Author: Chen-Yu Tsai <wens@csie.org> Date: 2016-06-07 10:54:28 +0800 sunxi: Make CPUCFG_BASE macro names the same across families Use SUNXI_CPUCFG_BASE across all families. This makes writing common PSCI code easier. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Acked-by: Marc Zyngier <marc.zyngier@arm.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Base directory -> / arch/arm/cpu/armv7/sunxi/psci_sun6i.S | 16 ++++++++-------- arch/arm/cpu/armv7/sunxi/psci_sun7i.S | 8 ++++---- arch/arm/include/asm/arch-sunxi/cpu_sun4i.h | 15 +++++++++++++-- 3 files changed, 25 insertions(+), 14 deletions(-) ------------------------------------------------------------------------------- commit b56e06d343ba4f9af3063d023032fdc00ba17944 Author: Chen-Yu Tsai <wens@csie.org> Date: 2016-06-07 10:54:27 +0800 ARM: allocate extra space for PSCI stack in secure section during link phase The PSCI implementation expects at most 2 pages worth of space reserved at the end of the secure section for its stacks. If PSCI is relocated to secure SRAM, then everything is fine. If no secure SRAM is available, and PSCI remains in main memory, the reserved memory space doesn't cover the space used by the stack. If one accesses PSCI after Linux has fully booted, the memory that should have been reserved for the PSCI stacks may have been used by the kernel or userspace, and would be corrupted. Observed after effects include the system hanging or telinit core dumping when trying to reboot. It seems the init process gets hit the most on my test bed. This fix allocates the space used by the PSCI stacks in the secure section by skipping pages in the linker script, but only when there is no secure SRAM, to avoid bloating the binary. This fix is only a stop gap. It would be better to rework the stack allocation mechanism, maybe with proper usage of CONFIG_ macros and an explicit symbol. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Acked-by: Marc Zyngier <marc.zyngier@arm.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Base directory -> / arch/arm/cpu/u-boot.lds | 7 +++++++ 1 file changed, 7 insertions(+) ------------------------------------------------------------------------------- commit cbeeb2aebfebcacfe11a88104c6ee923baa50144 Author: Chen-Yu Tsai <wens@csie.org> Date: 2016-06-07 10:54:26 +0800 ARM: PSCI: export common PSCI function declarations for C code Some common PSCI functions are written in assembly, but it should be possible to use them from C code. Add function declarations for C code to consume. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Acked-by: Marc Zyngier <marc.zyngier@arm.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Base directory -> / arch/arm/include/asm/psci.h | 7 +++++++ 1 file changed, 7 insertions(+) ------------------------------------------------------------------------------- commit 778dc5f43e92d8736a81e15fb0bbb6cb5a78c1ab Author: Chen-Yu Tsai <wens@csie.org> Date: 2016-06-07 10:54:25 +0800 ARM: PSCI: save and restore clobbered registers in v7_flush_dcache_all Signed-off-by: Chen-Yu Tsai <wens@csie.org> Acked-by: Marc Zyngier <marc.zyngier@arm.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Base directory -> / arch/arm/cpu/armv7/psci.S | 2 ++ 1 file changed, 2 insertions(+) ------------------------------------------------------------------------------- commit dae08d228122e4ad296077106520a4db3ca17872 Author: Chen-Yu Tsai <wens@csie.org> Date: 2016-06-07 10:54:24 +0800 ARM: PSCI: use only r0 and r3 in psci_get_cpu_stack_top() For psci_get_cpu_stack_top() to be usable in C code, it must adhere to the ARM calling conventions. Since it could be called when the stack is still unavailable, and the entry code to linux also expects r1 and r2 to remain unchanged, stick to r0 and r3. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Acked-by: Marc Zyngier <marc.zyngier@arm.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Base directory -> / arch/arm/cpu/armv7/psci.S | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) ------------------------------------------------------------------------------- commit 3da9536e8f377d8ec63df930bfd27c700475b68e Author: Hans de Goede <hdegoede@redhat.com> Date: 2016-06-12 11:57:07 +0200 sunxi: Revert "sunxi: make SoC variant choice mandatory" This reverts commit 1a5f0de08e86("sunxi: make SoC variant choice mandatory"). With the optional marking in the Kconfig "make savedefconfig" will drop CONFIG_MACH_SUN4I=y from all the A10 boards, making it hard to see at a glance which family of sunxi chips the defconfig is for. This commit therefore restores the optional, and restores CONFIG_MACH_SUN4I=y to all defconfig's which had it dropped because of this. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Ian Campbell <ijc@hellion.org.uk> Base directory -> / board/sunxi/Kconfig | 1 + 1 file changed, 1 insertion(+) ------------------------------------------------------------------------------- commit 3551b24f5354fc47bb4ddf99d2f095ccc6b03f2d Author: Hans de Goede <hdegoede@redhat.com> Date: 2016-06-12 19:44:42 +0200 sunxi: Add defconfig and dts file for inet86dz board The inet86dz board is a board used in 7" tablets from various oems. These tablets are a23 based 7" tablets featuring a 1024x600 LCD, 512MB RAM, 4G NAND, rtl8188etv usb wifi, gsl1680 touchschreen, micro-sd slot, 3.5mm headphone jack and a micro-usb otg connector which doubles as charging port. The dts file this commit adds is identical to the one submitted to the upstream kernel. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Ian Campbell <ijc@hellion.org.uk> Base directory -> / arch/arm/dts/Makefile | 1 + arch/arm/dts/sun8i-a23-inet86dz.dts | 293 ++++++++++++++++++++++++++++++++++++ board/sunxi/MAINTAINERS | 1 + configs/inet86dz_defconfig | 24 +++ 4 files changed, 319 insertions(+) ------------------------------------------------------------------------------- commit cd38e3d1b485bbc5e5481318c70445a60c609d19 Author: Hans de Goede <hdegoede@redhat.com> Date: 2016-06-11 15:19:38 +0200 sunxi: Add defconfig and dts file for Polaroid MID2407PXE03 tablet The Polaroid MID2407PXE03 is an a23 based 7" tablet based on a M86_MB V2.0 PCB, featuring a 800x480 LCD, 512MB RAM, 4G NAND, esp8089 wifi, gsl1680 touchschreen, micro-sd slot, 3.5mm headphone jack and a micro-usb otg connector which doubles as charging port. The dts file is identical to the one submitted to the upstream kernel. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Ian Campbell <ijc@hellion.org.uk> Base directory -> / arch/arm/dts/Makefile | 1 + arch/arm/dts/axp22x.dtsi | 10 + arch/arm/dts/sun8i-a23-polaroid-mid2407pxe03.dts | 292 +++++++++++++++++++++++ board/sunxi/MAINTAINERS | 1 + configs/polaroid_mid2407pxe03_defconfig | 24 ++ 5 files changed, 328 insertions(+) ------------------------------------------------------------------------------- commit 8c7d22965dc7bf3abcd3bdcc28164c378525f445 Author: Hans de Goede <hdegoede@redhat.com> Date: 2016-06-10 12:19:40 +0200 sunxi: Select USE_TINY_PRINTF This gives us a bit more breathing room wrt our SPL size. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Ian Campbell <ijc@hellion.org.uk> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/arm/Kconfig | 1 + 1 file changed, 1 insertion(+) ------------------------------------------------------------------------------- commit da70b4d14116d2b3d63840cd2ea01d0badf39e41 Author: Hans de Goede <hdegoede@redhat.com> Date: 2016-06-10 21:03:34 +0200 tinyprintf: Add vprintf implementation vprintf is used by panic() which is used in various SPL paths on some boards. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Ian Campbell <ijc@hellion.org.uk> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / lib/tiny-printf.c | 5 +++++ 1 file changed, 5 insertions(+) ------------------------------------------------------------------------------- commit 46fd625dfee9ef69cd183f0cd11e09309a71a4e2 Author: Tom Rini <trini@konsulko.com> Date: 2016-06-20 11:14:12 -0400 Prepare v2016.07-rc2 Signed-off-by: Tom Rini <trini@konsulko.com> Base directory -> / Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 41598c82513672b1052c88ce816d98467345141f Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-06-20 17:33:39 +0900 autoboot: add CONFIG_AUTOBOOT to allow to not compile autoboot.c Since commit bb597c0eeb7e ("common: bootdelay: move CONFIG_BOOTDELAY into a Kconfig option"), CONFIG_BOOTDELAY is defined for all boards. Prior to that commit, it was allowed to unset CONFIG_BOOTDELAY to not compile common/autoboot.c, as described in common/Makefile: # This option is not just y/n - it can have a numeric value ifdef CONFIG_BOOTDELAY obj-y += autoboot.o endif It was a bit odd to enable/disable code with an integer type option, but it was how this option worked before that commit, and several boards actually unset it to opt out of the autoboot feature. This commit adds a new bool option, CONFIG_AUTOBOOT, and makes CONFIG_BOOTDELAY depend on it. I chose "default y" for this option because most boards use the autoboot. I added "# CONFIG_AUTOBOOT is not set" for the boards that had not set CONFIG_BOOTDELAY prior to the bad commit. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Base directory -> / cmd/Kconfig | 6 ++++++ common/Kconfig | 1 + common/Makefile | 5 +---- configs/10m50_defconfig | 1 + configs/3c120_defconfig | 1 + configs/M5249EVB_defconfig | 1 + configs/am335x_sl50_defconfig | 1 + configs/bcm11130_defconfig | 1 + configs/bcm11130_nand_defconfig | 1 + configs/bcm28155_ap_defconfig | 1 + configs/bcm28155_w1d_defconfig | 1 + configs/bcm911360_entphn-ns_defconfig | 1 + configs/bcm911360_entphn_defconfig | 1 + configs/bcm911360k_defconfig | 1 + configs/bcm958300k-ns_defconfig | 1 + configs/bcm958300k_defconfig | 1 + configs/bcm958305k_defconfig | 1 + configs/bcm958622hr_defconfig | 1 + configs/bf506f-ezkit_defconfig | 1 + configs/dnp5370_defconfig | 1 + configs/espresso7420_defconfig | 1 + configs/malta64_defconfig | 1 + configs/malta64el_defconfig | 1 + configs/malta_defconfig | 1 + configs/maltael_defconfig | 1 + configs/mpr2_defconfig | 1 + configs/ms7720se_defconfig | 1 + configs/openrisc-generic_defconfig | 1 + configs/rsk7203_defconfig | 1 + configs/s5p_goni_defconfig | 1 + configs/shmin_defconfig | 1 + include/autoboot.h | 2 +- 32 files changed, 37 insertions(+), 5 deletions(-) ------------------------------------------------------------------------------- commit 2313d48445e59f063ec9a3b4940fe8252737db76 Author: Tom Rini <trini@konsulko.com> Date: 2016-06-20 05:15:52 -0400 Merge git://git.denx.de/u-boot-nand-flash Base directory -> / cmd/nand.c | 41 ++- common/fb_nand.c | 2 +- common/spl/spl_nand.c | 7 + doc/README.nand | 10 +- drivers/mtd/nand/Kconfig | 21 +- drivers/mtd/nand/am335x_spl_bch.c | 2 +- drivers/mtd/nand/atmel_nand.c | 2 +- drivers/mtd/nand/lpc32xx_nand_mlc.c | 2 +- drivers/mtd/nand/mxs_nand_spl.c | 2 +- drivers/mtd/nand/nand_spl_simple.c | 2 +- drivers/mtd/nand/nand_util.c | 2 +- drivers/mtd/nand/sunxi_nand_spl.c | 480 +++++++++++++++++++++++------------- 12 files changed, 383 insertions(+), 190 deletions(-) ------------------------------------------------------------------------------- commit 1a3619cf825fcef15ebe0fac6d65a9af1bc0588c Author: Stefan Wahren <stefan.wahren@i2se.com> Date: 2016-06-16 17:54:06 +0000 mmc: add MMC_VERSION_5_1 Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com> Base directory -> / drivers/mmc/mmc.c | 3 +++ include/mmc.h | 1 + 2 files changed, 4 insertions(+) ------------------------------------------------------------------------------- commit 333463d6698b9e7b8a36c7fd3bd5887c34e5cd71 Author: Mateusz Kulikowski <mateusz.kulikowski@gmail.com> Date: 2016-06-19 23:05:32 +0200 dragonboard410c: Increase default environment size. Due to changes in distro environment, ENV_SIZE limit was reached on Dragonboard. This patch increases environment size to 8KiB. Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com> Base directory -> / include/configs/dragonboard410c.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 09849f4a7779a247be8af5cfae44f7aad30e1222 Author: Tom Rini <trini@konsulko.com> Date: 2016-06-20 05:14:01 -0400 Merge git://git.denx.de/u-boot-dm Base directory -> / arch/arm/dts/tegra186.dtsi | 13 ++ arch/arm/include/asm/arch-rockchip/clock.h | 12 -- arch/arm/mach-rockchip/board.c | 39 ++++- arch/arm/mach-rockchip/rk3288/sdram_rk3288.c | 15 +- arch/arm/mach-snapdragon/clock-apq8016.c | 10 +- arch/arm/mach-tegra/Kconfig | 2 + arch/arm/mach-zynq/clk.c | 1 - arch/mips/mach-pic32/cpu.c | 45 +++--- arch/sandbox/dts/test.dts | 28 +++- arch/sandbox/include/asm/clk.h | 111 ++++++++++++++ arch/sandbox/include/asm/gpio.h | 16 +- arch/sandbox/include/asm/reset.h | 21 +++ arch/sandbox/include/asm/test.h | 9 -- board/microchip/pic32mzda/pic32mzda.c | 21 ++- configs/sandbox_defconfig | 10 +- doc/device-tree-bindings/reset/reset.txt | 75 +++++++++ drivers/Kconfig | 2 + drivers/Makefile | 1 + drivers/clk/Makefile | 1 + drivers/clk/clk-uclass.c | 202 +++++++++++++++++------- drivers/clk/clk_fixed_rate.c | 13 +- drivers/clk/clk_pic32.c | 32 ++-- drivers/clk/clk_rk3036.c | 83 +++------- drivers/clk/clk_rk3288.c | 143 ++++------------- drivers/clk/clk_sandbox.c | 85 +++++++---- drivers/clk/clk_sandbox_test.c | 101 ++++++++++++ drivers/clk/exynos/clk-exynos7420.c | 42 ++--- drivers/clk/uniphier/clk-uniphier-core.c | 26 ++-- drivers/clk/uniphier/clk-uniphier-mio.c | 1 - drivers/core/root.c | 15 ++ drivers/gpio/pca953x_gpio.c | 4 +- drivers/i2c/rk_i2c.c | 6 +- drivers/mailbox/Kconfig | 7 + drivers/mailbox/Makefile | 1 + drivers/mailbox/mailbox-uclass.c | 4 +- drivers/mailbox/sandbox-mbox-test.c | 2 +- drivers/mailbox/sandbox-mbox.c | 2 +- drivers/mailbox/tegra-hsp.c | 163 ++++++++++++++++++++ drivers/mmc/msm_sdhci.c | 13 +- drivers/mmc/rockchip_dw_mmc.c | 6 +- drivers/mmc/uniphier-sd.c | 15 +- drivers/reset/Kconfig | 23 +++ drivers/reset/Makefile | 7 + drivers/reset/reset-uclass.c | 131 ++++++++++++++++ drivers/reset/sandbox-reset-test.c | 55 +++++++ drivers/reset/sandbox-reset.c | 108 +++++++++++++ drivers/serial/serial_msm.c | 13 +- drivers/serial/serial_pic32.c | 7 +- drivers/serial/serial_s5p.c | 6 +- drivers/spi/rk_spi.c | 6 +- drivers/usb/host/ehci-generic.c | 14 +- drivers/video/rockchip/rk_edp.c | 11 +- drivers/video/rockchip/rk_hdmi.c | 12 +- drivers/video/rockchip/rk_lvds.c | 1 - drivers/video/rockchip/rk_vop.c | 11 +- include/clk-uclass.h | 95 ++++++++++++ include/clk.h | 220 ++++++++++++++++----------- include/dm/uclass-id.h | 1 + include/dt-bindings/mailbox/tegra-hsp.h | 14 ++ include/mailbox-uclass.h | 83 ++++++++++ include/mailbox.h | 149 ++++++++++++++++++ include/mailbox_client.h | 149 ------------------ include/mailbox_uclass.h | 83 ---------- include/reset-uclass.h | 81 ++++++++++ include/reset.h | 135 ++++++++++++++++ lib/libfdt/Makefile | 12 +- lib/libfdt/README | 16 +- lib/libfdt/fdt.c | 2 +- lib/libfdt/fdt_addresses.c | 2 +- lib/libfdt/fdt_empty_tree.c | 3 +- lib/libfdt/fdt_region.c | 144 +++++++++--------- lib/libfdt/fdt_ro.c | 10 +- lib/libfdt/fdt_rw.c | 6 +- lib/libfdt/fdt_strerror.c | 2 +- lib/libfdt/fdt_sw.c | 3 +- lib/libfdt/fdt_wip.c | 6 +- test/dm/Makefile | 1 + test/dm/clk.c | 110 ++++++++++---- test/dm/reset.c | 39 +++++ 79 files changed, 2255 insertions(+), 914 deletions(-) ------------------------------------------------------------------------------- commit 30780f948346436f9974fd6eae89aa2eb841b436 Author: Boris Brezillon <boris.brezillon@free-electrons.com> Date: 2016-06-15 20:56:10 +0200 mtd: nand: Patch remaining places where nand_to_mtd() should be used Some drivers are still directly accessing the chip->mtd field. Patch them to use nand_to_mtd() instead. Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com> Base directory -> / doc/README.nand | 2 +- drivers/mtd/nand/am335x_spl_bch.c | 2 +- drivers/mtd/nand/atmel_nand.c | 2 +- drivers/mtd/nand/lpc32xx_nand_mlc.c | 2 +- drivers/mtd/nand/mxs_nand_spl.c | 2 +- drivers/mtd/nand/nand_spl_simple.c | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) ------------------------------------------------------------------------------- commit caad0d00a8bc3d44ca6581030b95dce97386689c Author: Fabian Mewes <architekt@coding4coffee.org> Date: 2016-06-14 02:46:14 +0200 nand: doc: fix example ecc scheme calculation Signed-off-by: Fabian Mewes <architekt@coding4coffee.org> Base directory -> / doc/README.nand | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 1866be7d28ce807397e4aedd93f70564ac8bebc0 Author: Max Krummenacher <max.oss.09@gmail.com> Date: 2016-06-13 10:15:48 +0200 nand: extend nand torture nand torture currently works on exactly one nand block which is specified by giving the byteoffset to the beginning of the block. Extend this by allowing for a second parameter specifying the byte size to be tested. e.g. ==> nand torture 1000000 NAND torture: device 0 offset 0x1000000 size 0x20000 (block size 0x20000) Passed: 1, failed: 0 ==> nand torture 1000000 40000 NAND torture: device 0 offset 0x1000000 size 0x40000 (block size 0x20000) Passed: 2, failed: 0 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Reviewed-by: Benoît Thébaudeau <benoit.thebaudeau.dev@gmail.com> [scottwood: fix usage to show size as optional, and add misssing braces] Signed-off-by: Scott Wood <oss@buserror.net> Base directory -> / cmd/nand.c | 41 +++++++++++++++++++++++++++++++++++------ doc/README.nand | 6 +++++- 2 files changed, 40 insertions(+), 7 deletions(-) ------------------------------------------------------------------------------- commit e1c29086d58f619423f0648748d0678af28f9871 Author: Max Krummenacher <max.oss.09@gmail.com> Date: 2016-06-13 10:15:47 +0200 nand: nand torture: follow sync with linux v4.6 follow parameter name change (nand to mtd) to fix compiler error. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Base directory -> / drivers/mtd/nand/nand_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 61717571f2b55747e394f217b2fd519213433f88 Author: Sergey Kubushyn <ksi@koi8.net> Date: 2016-06-07 14:22:59 -0700 common: fb_nand: won't compile Somehow this got overlooked when getting rid of nand_info. Small patch, won't affect anything else, no reason to wait for the next cycle. Signed-off-by: Sergey Kubushyn <ksi@koi8.net> Base directory -> / common/fb_nand.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 7748b4148207d6e0dca8c0b5b95975e8e64179db Author: Boris Brezillon <boris.brezillon@free-electrons.com> Date: 2016-06-06 10:17:02 +0200 spl: nand: sunxi: add support for NAND config auto-detection NAND chips are supposed to expose their capabilities through advanced mechanisms like READID, ONFI or JEDEC parameter tables. While those methods are appropriate for the bootloader itself, it's way to complicated and takes too much space to fit in the SPL. Replace those mechanisms by a dumb 'trial and error' mechanism. With this new approach we can get rid of the fixed config list that was used in the sunxi NAND SPL driver. Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com> Acked-by: Hans de Goede <hdegoede@redhat.com> Base directory -> / drivers/mtd/nand/sunxi_nand_spl.c | 262 +++++++++++++++++++++++++++++--------- 1 file changed, 204 insertions(+), 58 deletions(-) ------------------------------------------------------------------------------- commit 4e7d1b3bebc5bf5176d35ac32378bcf0ff6e5914 Author: Boris Brezillon <boris.brezillon@free-electrons.com> Date: 2016-06-06 10:17:01 +0200 spl: nand: sunxi: split 'load page' and 'read page' logic Split the 'load page' and 'read page' logic in 2 different functions so we can later load the page and test different ECC configs without the penalty of reloading the same page in the NAND cache. We also move common setup to a dedicated function (nand_apply_config()) to avoid rewriting the same values in NFC registers each time we read a page. These new functions are passed a pointer to an nfc_config struct to limit the number of parameters. Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com> Acked-by: Hans de Goede <hdegoede@redhat.com> Base directory -> / drivers/mtd/nand/sunxi_nand_spl.c | 185 +++++++++++++++++++++++--------------- 1 file changed, 114 insertions(+), 71 deletions(-) ------------------------------------------------------------------------------- commit bb9783b66bf56a27b4db8dc444dda6c380816e99 Author: Boris Brezillon <boris.brezillon@free-electrons.com> Date: 2016-06-06 10:17:00 +0200 spl: nand: sunxi: rework status polling loop check_value_xxx() helpers are using a 1ms delay between each test, which can be quite long for some operations (like a page read on an SLC NAND). Since we don't have anything to do but to poll this register, reduce the delay between each test to 1us. While we're at it, rename the max_number_of_retries parameters and the MAX_RETRIES macro into timeout_us and DEFAULT_TIMEOUT_US to reflect that we're actually waiting a given amount of time and not only a number of retries. Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com> Acked-by: Hans de Goede <hdegoede@redhat.com> Base directory -> / drivers/mtd/nand/sunxi_nand_spl.c | 29 +++++++++++++---------------- 1 file changed, 13 insertions(+), 16 deletions(-) ------------------------------------------------------------------------------- commit fa3011587887ba222bc9337d9ac17f3000db63b2 Author: Boris Brezillon <boris.brezillon@free-electrons.com> Date: 2016-06-06 10:16:59 +0200 spl: nand: sunxi: stop guessing the redundant u-boot offset Use CONFIG_SYS_NAND_U_BOOT_OFFS_REDUND value instead of trying to guess where the redundant u-boot image is based on simple (and most of the time erroneous) heuristics. Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com> Acked-by: Hans de Goede <hdegoede@redhat.com> # Conflicts: # drivers/mtd/nand/sunxi_nand_spl.c Base directory -> / drivers/mtd/nand/sunxi_nand_spl.c | 20 -------------------- 1 file changed, 20 deletions(-) ------------------------------------------------------------------------------- commit 80ef700f8df1f85dd3b0880584e2e2a998a9b3dd Author: Boris Brezillon <boris.brezillon@free-electrons.com> Date: 2016-06-06 10:16:58 +0200 spl: nand: support redundant u-boot image On modern NAND it's more than recommended to have a backup copy of the u-boot binary to recover from corruption: bitflips are quite common on MLC NANDs, and the read-disturbance will corrupt your u-boot partitition more quickly than what you would see on an SLC NAND. Add an extra Kconfig option to specify the offset of the redundant u-boot image. Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com> Acked-by: Hans de Goede <hdegoede@redhat.com> [scottwood: added ifdef to fix build break] Signed-off-by: Scott Wood <oss@buserror.net> Base directory -> / common/spl/spl_nand.c | 7 +++++++ drivers/mtd/nand/Kconfig | 8 ++++++++ 2 files changed, 15 insertions(+) ------------------------------------------------------------------------------- commit 494e108651a3c55b85d060202e941e4d8d68ce5e Author: Boris Brezillon <boris.brezillon@free-electrons.com> Date: 2016-06-06 10:16:57 +0200 spl: nand: rework SYS_NAND_U_BOOT_OFFS Kconfig option dependency The SYS_NAND_U_BOOT_OFFS is quite generic, but the Kconfig entry is forced to explicitly depend on platforms that are not already defining it in their include/configs/<board>.h header. Add the SYS_NAND_U_BOOT_LOCATIONS option, make the SYS_NAND_U_BOOT_OFFS depends on it, remove the dependency on NAND_SUNXI and make it dependent on SPL selection. Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com> Acked-by: Hans de Goede <hdegoede@redhat.com> Base directory -> / drivers/mtd/nand/Kconfig | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) ------------------------------------------------------------------------------- commit c4adf9db5d382be6d13a19585f28de6f3e4e3d61 Author: Boris Brezillon <boris.brezillon@free-electrons.com> Date: 2016-06-06 10:16:56 +0200 spl: nand: sunxi: remove support for so-called 'syndrome' mode The sunxi SPL NAND controller driver supports use 'BootROM'-like configs, that is, configs where the ECC bytes and real data are interleaved in the page instead of putting ECC bytes in the OOB area. Doing that has several drawbacks: - since you're interleaving data and ECC bytes you can't use the whole page otherwise you might override the bad block marker with non-FF bytes. - to solve the bad block marker problem, the ROM code supports partially using the page, but this introduces a huge penalty both in term of read speed and NAND memory usage. While this is fine for rather small binaries(like the SPL one which is at maximum 24KB large), it becomes non-negligible for the bootloader image (several hundred of KB). - auto-detection of the page size is not reliable (this is in my opinion the biggest problem). If you get the page size wrong, you'll end up reading data at a different offset than what was specified by the caller and the reading may succeed (if valid data were written at this address). For all those reasons I think it's wiser to completely remove support for 'syndrome' configs. If we ever need to support it again, then I'd recommend specifying all the config parameters through Kconfig options. Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com> Acked-by: Hans de Goede <hdegoede@redhat.com> Base directory -> / drivers/mtd/nand/sunxi_nand_spl.c | 56 ++++++++++----------------------------- 1 file changed, 14 insertions(+), 42 deletions(-) ------------------------------------------------------------------------------- commit 135aa95002646c46e89de93fa36adad1b010548f Author: Stephen Warren <swarren@nvidia.com> Date: 2016-06-17 09:44:00 -0600 clk: convert API to match reset/mailbox style The following changes are made to the clock API: * The concept of "clocks" and "peripheral clocks" are unified; each clock provider now implements a single set of clocks. This provides a simpler conceptual interface to clients, and better aligns with device tree clock bindings. * Clocks are now identified with a single "struct clk", rather than requiring clients to store the clock provider device and clock identity values separately. For simple clock consumers, this isolates clients from internal details of the clock API. * clk.h is split so it only contains the client/consumer API, whereas clk-uclass.h contains the provider API. This aligns with the recently added reset and mailbox APIs. * clk_ops .of_xlate(), .request(), and .free() are added so providers can customize these operations if needed. This also aligns with the recently added reset and mailbox APIs. * clk_disable() is added. * All users of the current clock APIs are updated. * Sandbox clock tests are updated to exercise clock lookup via DT, and clock enable/disable. * rkclk_get_clk() is removed and replaced with standard APIs. Buildman shows no clock-related errors for any board for which buildman can download a toolchain. test/py passes for sandbox (which invokes the dm clk test amongst others). Signed-off-by: Stephen Warren <swarren@nvidia.com> Acked-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/arm/include/asm/arch-rockchip/clock.h | 12 -- arch/arm/mach-rockchip/board.c | 39 ++++- arch/arm/mach-rockchip/rk3288/sdram_rk3288.c | 15 +- arch/arm/mach-snapdragon/clock-apq8016.c | 10 +- arch/arm/mach-zynq/clk.c | 1 - arch/mips/mach-pic32/cpu.c | 45 +++--- arch/sandbox/dts/test.dts | 17 ++- arch/sandbox/include/asm/clk.h | 111 ++++++++++++++ arch/sandbox/include/asm/test.h | 9 -- board/microchip/pic32mzda/pic32mzda.c | 21 ++- drivers/clk/Makefile | 1 + drivers/clk/clk-uclass.c | 202 +++++++++++++++++------- drivers/clk/clk_fixed_rate.c | 13 +- drivers/clk/clk_pic32.c | 32 ++-- drivers/clk/clk_rk3036.c | 83 +++------- drivers/clk/clk_rk3288.c | 143 ++++------------- drivers/clk/clk_sandbox.c | 85 +++++++---- drivers/clk/clk_sandbox_test.c | 101 ++++++++++++ drivers/clk/exynos/clk-exynos7420.c | 42 ++--- drivers/clk/uniphier/clk-uniphier-core.c | 26 ++-- drivers/clk/uniphier/clk-uniphier-mio.c | 1 - drivers/i2c/rk_i2c.c | 6 +- drivers/mmc/msm_sdhci.c | 13 +- drivers/mmc/rockchip_dw_mmc.c | 6 +- drivers/mmc/uniphier-sd.c | 15 +- drivers/serial/serial_msm.c | 13 +- drivers/serial/serial_pic32.c | 7 +- drivers/serial/serial_s5p.c | 6 +- drivers/spi/rk_spi.c | 6 +- drivers/usb/host/ehci-generic.c | 14 +- drivers/video/rockchip/rk_edp.c | 11 +- drivers/video/rockchip/rk_hdmi.c | 12 +- drivers/video/rockchip/rk_lvds.c | 1 - drivers/video/rockchip/rk_vop.c | 11 +- include/clk-uclass.h | 95 ++++++++++++ include/clk.h | 220 ++++++++++++++++----------- test/dm/clk.c | 110 ++++++++++---- 37 files changed, 985 insertions(+), 570 deletions(-) ------------------------------------------------------------------------------- commit 4581b717b1bf0fb04e7d9fcaf3d4c23d357154ac Author: Stephen Warren <swarren@nvidia.com> Date: 2016-06-17 09:43:59 -0600 reset: implement a reset test This adds a sandbox reset implementation (provider), a test client device, instantiates them both from Sandbox's DT, and adds a DM test that excercises everything. Signed-off-by: Stephen Warren <swarren@nvidia.com> Acked-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/sandbox/dts/test.dts | 11 ++++ arch/sandbox/include/asm/reset.h | 21 ++++++++ configs/sandbox_defconfig | 10 ++-- drivers/reset/Kconfig | 8 +++ drivers/reset/Makefile | 2 + drivers/reset/sandbox-reset-test.c | 55 +++++++++++++++++++ drivers/reset/sandbox-reset.c | 108 +++++++++++++++++++++++++++++++++++++ test/dm/Makefile | 1 + test/dm/reset.c | 39 ++++++++++++++ 9 files changed, 251 insertions(+), 4 deletions(-) ------------------------------------------------------------------------------- commit 89c1e2da78f82a09685006291ce8bb44f635fa25 Author: Stephen Warren <swarren@nvidia.com> Date: 2016-06-17 09:43:58 -0600 Add a reset driver framework/uclass A reset controller is a hardware module that controls reset signals that affect other hardware modules or chips. This patch defines a standard API that connects reset clients (i.e. the drivers for devices affected by reset signals) to drivers for reset controllers/providers. Initially, DT is the only supported method for connecting the two. The DT binding specification (reset.txt) was taken from Linux kernel v4.5's Documentation/devicetree/bindings/reset/reset.txt. Signed-off-by: Stephen Warren <swarren@nvidia.com> Acked-by: Simon Glass <sjg@chromium.org> Base directory -> / doc/device-tree-bindings/reset/reset.txt | 75 +++++++++++++++++ drivers/Kconfig | 2 + drivers/Makefile | 1 + drivers/reset/Kconfig | 15 ++++ drivers/reset/Makefile | 5 ++ drivers/reset/reset-uclass.c | 131 ++++++++++++++++++++++++++++++ include/dm/uclass-id.h | 1 + include/reset-uclass.h | 81 +++++++++++++++++++ include/reset.h | 135 +++++++++++++++++++++++++++++++ 9 files changed, 446 insertions(+) ------------------------------------------------------------------------------- commit 0f67e2395be44db2c1bef17b6ada2e46221908ed Author: Stephen Warren <swarren@nvidia.com> Date: 2016-06-17 09:43:57 -0600 mailbox: add Tegra186 HSP driver Tegra186's HSP module implements doorbells, mailboxes, semaphores, and shared interrupts. This patch provides a driver for HSP, and hooks it into the mailbox API. Currently, only doorbells are supported. Signed-off-by: Stephen Warren <swarren@nvidia.com> Reviewed-by: Simon Glass <sjg@chromium.org> Acked-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/arm/dts/tegra186.dtsi | 13 +++ arch/arm/mach-tegra/Kconfig | 2 + drivers/mailbox/Kconfig | 7 ++ drivers/mailbox/Makefile | 1 + drivers/mailbox/tegra-hsp.c | 163 ++++++++++++++++++++++++++++++++ include/dt-bindings/mailbox/tegra-hsp.h | 14 +++ 6 files changed, 200 insertions(+) ------------------------------------------------------------------------------- commit 769d52ef0f04812fd65ef2f3ab921ad2e8562ab1 Author: Stephen Warren <swarren@nvidia.com> Date: 2016-06-17 09:43:56 -0600 mailbox: rename headers Rename mailbox*.h to match the naming convention requested during review of the new reset subsystem. Signed-off-by: Stephen Warren <swarren@nvidia.com> Acked-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/mailbox/mailbox-uclass.c | 4 +- drivers/mailbox/sandbox-mbox-test.c | 2 +- drivers/mailbox/sandbox-mbox.c | 2 +- include/mailbox-uclass.h | 83 ++++++++++++++++++++ include/mailbox.h | 149 ++++++++++++++++++++++++++++++++++++ include/mailbox_client.h | 149 ------------------------------------ include/mailbox_uclass.h | 83 -------------------- 7 files changed, 236 insertions(+), 236 deletions(-) ------------------------------------------------------------------------------- commit 21047b31f1d7db585bbb58ae2b733e3987b23e61 Author: mario.six@gdsys.cc <mario.six@gdsys.cc> Date: 2016-05-25 15:18:10 +0200 sandbox: gpio: doc: Fix parameter documentation The documentation of parameters in arch/sandbox/include/asm/gpio.h is either missing or faulty. This patch corrects the documentation. Signed-off-by: Mario Six <mario.six@gdsys.cc> Acked-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/sandbox/include/asm/gpio.h | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) ------------------------------------------------------------------------------- commit 6feed2a5aefb7fd0ac443a50bfe00625000bdd34 Author: Robert P. J. Day <rpjday@crashcourse.ca> Date: 2016-05-23 05:40:55 -0400 lib/libfdt/: General aesthetic/style fixes. A number of style fixes across the files in this directory, including: * Correct invalid kernel-doc content. * Tidy up massive comment in fdt_region.c. * Use correct spelling of "U-Boot". * Replace tests of "! <var>" with "!<var>". * Replace "libfdt_env.h" with <libfdt_env.h>. Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Acked-by: Simon Glass <sjg@chromium.org> Base directory -> / lib/libfdt/Makefile | 12 +++- lib/libfdt/README | 16 ++--- lib/libfdt/fdt.c | 2 +- lib/libfdt/fdt_addresses.c | 2 +- lib/libfdt/fdt_empty_tree.c | 3 +- lib/libfdt/fdt_region.c | 144 +++++++++++++++++++++++--------------------- lib/libfdt/fdt_ro.c | 10 +-- lib/libfdt/fdt_rw.c | 6 +- lib/libfdt/fdt_strerror.c | 2 +- lib/libfdt/fdt_sw.c | 3 +- lib/libfdt/fdt_wip.c | 6 +- 11 files changed, 109 insertions(+), 97 deletions(-) ------------------------------------------------------------------------------- commit fc76b698736efa9d52e06aa09c03dc8ef10fd581 Author: mario.six@gdsys.cc <mario.six@gdsys.cc> Date: 2016-05-23 09:54:56 +0200 gpio: pca953x: Fix register reading past 8th GPIO A bug in the pca953x driver prevents correct reading of GPIO input values beyond the 8th GPIO; all values are reported as zero. Setting of GPIO output values is not affected. This patch fixes the reading behavior. Signed-off-by: Mario Six <mario.six@gdsys.cc> Reviewed-by: Peng Fan <van.freenix@gmail.com> Acked-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/gpio/pca953x_gpio.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 5aeedebc33849efbbee2d422a4c7da8194e1b670 Author: Angelo Dureghello <angelo@sysam.it> Date: 2016-05-21 12:05:49 +0200 dm: add manual relocation for devices Some architectures as m68k still need to use CONFIG_NEEDS_MANUAL_RELOC, and are not still using the device tree. Signed-off-by: Angelo Dureghello <angelo@sysam.it> Acked-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/core/root.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) ------------------------------------------------------------------------------- commit 7c8ef0feb97586d35b0296b48903daef8c06ab21 Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-06-17 19:24:30 +0900 ARM: uniphier: use the default CONFIG_BOOTDELAY=2 I do not insist on CONFIG_BOOTDELAY=3. The default value in Kconfig, CONFIG_BOOTDELAY=2, is just fine for these boards. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Base directory -> / configs/uniphier_ld11_defconfig | 1 - configs/uniphier_ld20_defconfig | 1 - configs/uniphier_ld4_sld8_defconfig | 1 - configs/uniphier_pro4_defconfig | 1 - configs/uniphier_pxs2_ld6b_defconfig | 1 - configs/uniphier_sld3_defconfig | 1 - 6 files changed, 6 deletions(-) ------------------------------------------------------------------------------- commit 51ea5a060d7bb187d344c9d24b9bfdc7570681df Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-06-17 19:24:29 +0900 ARM: uniphier: reserve memory for DRAM PHY training on PH1-LD20 The DRAM PHY layer on PH1-LD20 is able to calibrate PHY parameters periodically. This compensates for the voltage and temperature deviation and improves the PHY parameter adjustment. Instead, it requires 64 byte scratch memory in each DRAM channel for the dynamic training. The memory regions must be reserved in DT before jumping to the kernel. The scratch area can be anywhere in each DRAM channel, but the DRAM init code in SPL currently assigns it at the end of each channel. So, it makes sense to reserve the regions on run-time by U-Boot instead of statically embedding it in the DT in Linux. Anyway, a boot-loader should know much more about memory initialization than the kernel. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Base directory -> / arch/arm/Kconfig | 1 + arch/arm/mach-uniphier/Kconfig | 1 + arch/arm/mach-uniphier/dram_init.c | 40 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 42 insertions(+) ------------------------------------------------------------------------------- commit 18c11986674ae917aad2465ef88cbb2c4e92b170 Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-06-17 19:24:28 +0900 ARM: uniphier: move CONFIG_ARMV8_MULTIENTRY to Kconfig I just did not notice this option had an entry in Kconfig. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Base directory -> / arch/arm/mach-uniphier/Kconfig | 1 + include/configs/uniphier.h | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 48efc8a25bcf859a5ba58e3025b65641adaed3cb Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-06-17 19:24:27 +0900 ARM: uniphier: introduce CONFIG_ARM_UNIPHIER_{32, 64}BIT This will make it easier to select config options specific to particular ARM processor generation. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Base directory -> / arch/arm/mach-uniphier/Kconfig | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) ------------------------------------------------------------------------------- commit 50862a5196dc3d30a939f106e296121f7a680711 Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-06-15 14:46:09 +0900 ARM: uniphier: change CPU_RELEASE_ADDR to the head of DRAM space At first, 256 byte of the head of DRAM space was reserved for some reasons. However, as the progress of development, it turned out unnecessary, and it was never used in the end. Move the CPU release address to leave no space. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Base directory -> / include/configs/uniphier.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 9ab165d8b05706284de0ee9bd402346c54ae6b15 Author: Petr Kulhavy <brain@jikos.cz> Date: 2016-06-18 12:21:17 +0200 SPL ext: cosmetic: correct error message in spl_load_image_ext() Correct the error message in spl_load_image_ext() when image parsing fails. Instead of "ext4fs_read failed" print "failed to parse image header". Signed-off-by: Petr Kulhavy <brain@jikos.cz> CC: Guillaume GARDET <guillaume.gardet@free.fr> CC: Tom Rini <trini@konsulko.com> Base directory -> / common/spl/spl_ext.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 7a77e909a22848f5d5820fae58c087b83e90bdbc Author: Guillaume GARDET <guillaume.gardet@free.fr> Date: 2016-06-17 11:45:37 +0200 fs: cbfs: Fix build of fs/cbfs/cbfs.c when building u-boot sandbox on x86 32-bit Fix the following build errors when building sandbox on x86 32-bit: In file included from fs/cbfs/cbfs.c:8:0: include/malloc.h:364:7: error: conflicting types for 'memset' void* memset(void*, int, size_t); ^ In file included from include/compiler.h:123:0, from include/cbfs.h:10, from fs/cbfs/cbfs.c:7: include/linux/string.h:78:15: note: previous declaration of 'memset' was here extern void * memset(void *,int,__kernel_size_t); ^ In file included from fs/cbfs/cbfs.c:8:0: include/malloc.h:365:7: error: conflicting types for 'memcpy' void* memcpy(void*, const void*, size_t); ^ In file included from include/compiler.h:123:0, from include/cbfs.h:10, from fs/cbfs/cbfs.c:7: include/linux/string.h:81:15: note: previous declaration of 'memcpy' was here extern void * memcpy(void *,const void *,__kernel_size_t); ^ scripts/Makefile.build:280: recipe for target 'fs/cbfs/cbfs.o' failed Signed-off-by: Guillaume GARDET <guillaume.gardet@free.fr> Cc: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / fs/cbfs/cbfs.c | 1 + 1 file changed, 1 insertion(+) ------------------------------------------------------------------------------- commit 7a8f8865582583314c884e77a607f5b9dc9cf8b6 Author: Stephen Warren <swarren@nvidia.com> Date: 2016-06-16 12:59:34 -0600 test/py: fix printenv signon message disable code CONFIG_VERSION_VARIABLE isn't always defined, so we can't simply look up its value directly, or an exception will occur if it isn't defined. Instead, we must use .get() to supply a default value if the variable isn't defined. Fixes: da37f006e7c5 ("tests: py: disable main_signon check for printenv cmd") Acked-by: Heiko Schocher <hs@denx.de> Signed-off-by: Stephen Warren <swarren@nvidia.com> Base directory -> / test/py/tests/test_env.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 6beacfcff81bdc04c10a440971b0fb683ee57534 Author: Tom Rini <trini@konsulko.com> Date: 2016-06-18 23:46:43 -0400 Merge branch 'master' of git://git.denx.de/u-boot-socfpga Base directory -> / arch/arm/dts/Makefile | 1 + arch/arm/dts/socfpga_cyclone5_is1.dts | 106 ++++++ arch/arm/mach-socfpga/Kconfig | 14 +- board/is1/MAINTAINERS | 6 + board/is1/Makefile | 7 + board/is1/qts/iocsr_config.h | 660 ++++++++++++++++++++++++++++++++++ board/is1/qts/pinmux_config.h | 219 +++++++++++ board/is1/qts/pll_config.h | 85 +++++ board/is1/qts/sdram_config.h | 341 ++++++++++++++++++ board/is1/socfpga.c | 4 + configs/socfpga_is1_defconfig | 43 +++ include/configs/socfpga_is1.h | 49 +++ 12 files changed, 1531 insertions(+), 4 deletions(-) ------------------------------------------------------------------------------- commit a10a31ec91ad2ee514a42baea9314553aa972676 Author: Tom Rini <trini@konsulko.com> Date: 2016-06-18 23:46:21 -0400 Merge branch 'master' of git://git.denx.de/u-boot-usb Signed-off-by: Tom Rini <trini@konsulko.com> Conflicts: arch/arm/include/asm/arch-fsl-layerscape/immap_lsch3.h Base directory -> / arch/arm/cpu/armv8/fsl-layerscape/cpu.c | 7 + arch/arm/cpu/armv8/fsl-layerscape/soc.c | 10 -- .../include/asm/arch-fsl-layerscape/immap_lsch2.h | 2 + .../include/asm/arch-fsl-layerscape/immap_lsch3.h | 4 + arch/arm/include/asm/arch-fsl-layerscape/soc.h | 2 + board/freescale/ls2080aqds/ls2080aqds.c | 2 + board/freescale/ls2080ardb/ls2080ardb.c | 2 + cmd/usb.c | 3 +- configs/bcm11130_defconfig | 1 + configs/bcm11130_nand_defconfig | 1 + configs/bcm28155_ap_defconfig | 1 + configs/bcm28155_w1d_defconfig | 1 + drivers/usb/common/Makefile | 4 +- drivers/usb/common/fsl-dt-fixup.c | 100 +++++++---- drivers/usb/common/fsl-errata.c | 193 +++++++++++++++++++++ drivers/usb/gadget/Kconfig | 10 ++ drivers/usb/gadget/dwc2_udc_otg.c | 4 + drivers/usb/host/ehci-hcd.c | 3 + drivers/usb/host/xhci-fsl.c | 24 +++ include/fsl_usb.h | 192 +------------------- 20 files changed, 333 insertions(+), 233 deletions(-) ------------------------------------------------------------------------------- commit 2372b0012925f9100980151f4a28347c82feaba8 Author: Tom Rini <trini@konsulko.com> Date: 2016-06-18 23:44:22 -0400 Merge branch 'master' of git://www.denx.de/git/u-boot-imx Base directory -> / board/freescale/mx6sabresd/mx6sabresd.c | 18 ++++++- board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c | 8 ++- board/freescale/mx7dsabresd/mx7dsabresd.c | 2 +- board/warp7/README | 63 +++++++++++++++++++++++ board/warp7/warp7.c | 21 ++++++++ include/configs/warp7.h | 8 ++- 6 files changed, 107 insertions(+), 13 deletions(-) ------------------------------------------------------------------------------- commit 67ef2c133f099d3d719058eb73aeec8f1574655c Author: Fabio Estevam <fabio.estevam@nxp.com> Date: 2016-06-09 14:54:30 -0300 warp7: Fix DFU support Currently DFU is not working. Adjust CONFIG_SYS_MALLOC_LEN and dfu_alt_info so that we are able to flash u-boot.imx into the eMMC via dfu using the following method: => dfu 0 mmc 0 In the host PC: dfu-util -D u-boot.imx -a boot This is the same approach done in the mx6sl warp board. Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com> Base directory -> / include/configs/warp7.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) ------------------------------------------------------------------------------- commit 72a868f16eeffd880b2ed77ab4bc9e072446f5a7 Author: Marco Franchi <marco.franchi@nxp.com> Date: 2016-06-10 14:56:23 -0300 warp7: Add README file Add a README file for helping users to install U-Boot into the eMMC. Signed-off-by: Marco Franchi <marco.franchi@nxp.com> Acked-by: Fabio Estevam <fabio.estevam@nxp.com> Base directory -> / board/warp7/README | 63 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) ------------------------------------------------------------------------------- commit 0a35cc9395b7e4e5bc2b1370016f7c3156f945a4 Author: Marco Franchi <marco.franchi@nxp.com> Date: 2016-06-10 14:45:28 -0300 warp7: Fix watchdog reset The latest version of warp7 board provides the connection of the WDOG1_B pin to the PMIC. Program the watchdog to enable the WDOG1_B output which causes a POR reset. Based on the imx7dsabresd code. Signed-off-by: Marco Franchi <marco.franchi@nxp.com> Acked-by: Fabio Estevam <fabio.estevam@nxp.com> Base directory -> / board/warp7/warp7.c | 21 +++++++++++++++++++++ include/configs/warp7.h | 1 + 2 files changed, 22 insertions(+) ------------------------------------------------------------------------------- commit 0d7cdc2abfc34125f0bc85f864d285f06675290a Author: Peng Fan <van.freenix@gmail.com> Date: 2016-06-15 14:18:39 +0800 imx: mx6ulevk: change QSPI PAD DSE to 120ohm The current pad DSE for QSPI is 60ohm. This setting cause too strong drive to clock and data signals. Need to change the DSE to 120ohm for better signal quality. Signed-off-by: Peng Fan <peng.fan@nxp.com> Cc: Stefano Babic <sbabic@denx.de> Cc: Fabio Estevam <fabio.estevam@nxp.com> Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com> Base directory -> / board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 288683280f18b267615d9afa86e1378727fe3405 Author: Peng Fan <van.freenix@gmail.com> Date: 2016-06-15 14:18:38 +0800 imx6ulevk: fix LCD_nPWREN setting Q901 is PMOS, LCD_nPWREN should be at low voltage then output is 3V3. If LCD_nPWREN is high, output is 2.4V which is not correct. Signed-off-by: Peng Fan <peng.fan@nxp.com> Cc: Stefano Babic <sbabic@denx.de> Cc: Fabio Estevam <fabio.estevam@nxp.com> Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com> Base directory -> / board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 85801579e10208b7466f4a7f8329b4f5d2056fff Author: Peng Fan <van.freenix@gmail.com> Date: 2016-06-15 14:18:37 +0800 imx6ulevk: fix 74LV OE usage Fix 74LV OE gpio index. gpio index is wrong, so gpio output will not have effect, since we use wrong GPIO5_IO18, but not correct GPIO5_IO8. And at the end of the initialization of 74lv init, should keep OE voltage level at LOW to make 74lv output the correct voltage. Signed-off-by: Peng Fan <peng.fan@nxp.com> Cc: Stefano Babic <sbabic@denx.de> Cc: Fabio Estevam <fabio.estevam@nxp.com> Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com> Base directory -> / board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) ------------------------------------------------------------------------------- commit 0fcb85cc0cdf898019680a09200677a0beef27d9 Author: Ye Li <ye.li@nxp.com> Date: 2016-06-15 14:18:36 +0800 mx7dsabresd: Fix LCD_PWR_EN output setting LCD_PWR_EN controls the G pin of Q13 PMOS which needs low voltage to connect D to S for outputting LCD 3.3V. If LCD_PWR_EN is high, we measured the LCD 3v3 is actually 1.2V. Signed-off-by: Ye Li <ye.li@nxp.com> Signed-off-by: Peng Fan <peng.fan@nxp.com> Cc: Stefano Babic <sbabic@denx.de> Cc: Fabio Estevam <fabio.estevam@nxp.com> Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com> Base directory -> / board/freescale/mx7dsabresd/mx7dsabresd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 6c51a3644e233bce171c19cec9cec77a77beada7 Author: Marco Franchi <marco.franchi@nxp.com> Date: 2016-06-08 15:05:31 -0300 mx6sabresd: Allow LVDS backlight to be functional after a kernel reboot Currently the LVDS backlight does not work in U-Boot after a “reboot” comand in the kernel. This problem occurs because the kernel uses this pin in PWM mode and U-Boot does not configure the backlight pin as GPIO functionality. So fix the problem by explicitly configuring the backlight pin as GPIO in U-Boot. Signed-off-by: Marco Franchi <marco.franchi@nxp.com> Acked-by: Stefano Babic <sbabic@denx.de> Tested-by: Fabio Estevam <fabio.estevam@nxp.com> Base directory -> / board/freescale/mx6sabresd/mx6sabresd.c | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit dc557e9a1fe00ca9d884bd88feef5bebf23fede4 Author: Stefano Babic <sbabic@denx.de> Date: 2016-06-18 10:24:54 +0200 Merge branch 'master' of git://git.denx.de/u-boot Signed-off-by: Stefano Babic <sbabic@denx.de> Base directory -> / Kconfig | 2 +- Makefile | 19 +- README | 10 - arch/Kconfig | 32 - arch/arm/Kconfig | 109 +- arch/arm/Makefile | 3 +- arch/arm/cpu/armv7/am33xx/Kconfig | 40 + arch/arm/cpu/armv7/am33xx/Makefile | 2 + arch/arm/cpu/armv7/am33xx/clk_synthesizer.c | 104 + arch/arm/cpu/armv7/am33xx/clock_am33xx.c | 73 + arch/arm/cpu/armv7/am33xx/clock_am43xx.c | 2 +- arch/arm/cpu/armv7/am33xx/config.mk | 20 + arch/arm/cpu/armv7/ls102xa/spl.c | 2 +- arch/arm/cpu/armv7/omap-common/Kconfig | 17 + arch/arm/cpu/armv7/omap-common/boot-common.c | 2 +- arch/arm/cpu/armv7/omap-common/clocks-common.c | 8 +- arch/arm/cpu/armv7/omap-common/config_secure.mk | 66 + arch/arm/cpu/armv7/omap-common/hwinit-common.c | 33 +- arch/arm/cpu/armv7/omap-common/utils.c | 4 +- arch/arm/cpu/armv7/omap3/board.c | 6 +- arch/arm/cpu/armv7/omap5/Makefile | 1 + arch/arm/cpu/armv7/omap5/config.mk | 6 + arch/arm/cpu/armv7/omap5/fdt.c | 184 + arch/arm/cpu/armv7/omap5/hw_data.c | 56 +- arch/arm/cpu/armv7/omap5/prcm-regs.c | 1 + arch/arm/cpu/armv7/s5p-common/timer.c | 3 + arch/arm/cpu/armv8/cache.S | 26 +- arch/arm/cpu/armv8/fsl-layerscape/Makefile | 4 + arch/arm/cpu/armv8/fsl-layerscape/README.lsch2 | 10 - arch/arm/cpu/armv8/fsl-layerscape/README.lsch3 | 325 - arch/arm/cpu/armv8/fsl-layerscape/cpu.c | 3 - arch/arm/cpu/armv8/fsl-layerscape/doc/README.lsch2 | 10 + arch/arm/cpu/armv8/fsl-layerscape/doc/README.lsch3 | 325 + arch/arm/cpu/armv8/fsl-layerscape/doc/README.soc | 129 + arch/arm/cpu/armv8/fsl-layerscape/fdt.c | 19 + .../arm/cpu/armv8/fsl-layerscape/fsl_lsch2_speed.c | 16 +- arch/arm/cpu/armv8/fsl-layerscape/lowlevel.S | 4 + arch/arm/cpu/armv8/fsl-layerscape/ls1012a_serdes.c | 74 + arch/arm/cpu/armv8/fsl-layerscape/soc.c | 40 +- arch/arm/cpu/armv8/fsl-layerscape/spl.c | 5 +- arch/arm/cpu/armv8/fwcall.c | 16 + arch/arm/cpu/armv8/start.S | 10 + arch/arm/cpu/armv8/zynqmp/Makefile | 1 + arch/arm/cpu/armv8/zynqmp/cpu.c | 5 + arch/arm/cpu/armv8/zynqmp/spl.c | 107 + arch/arm/dts/Makefile | 25 +- arch/arm/dts/a64.dtsi | 564 - arch/arm/dts/am335x-bone-common.dtsi | 8 +- arch/arm/dts/am335x-bone.dts | 3 - arch/arm/dts/am335x-bonegreen.dts | 57 + arch/arm/dts/am335x-evm.dts | 2 +- arch/arm/dts/am335x-evmsk.dts | 720 + arch/arm/dts/am335x-icev2.dts | 430 + arch/arm/dts/am4372.dtsi | 1 + arch/arm/dts/am437x-idk-evm.dts | 420 + arch/arm/dts/am43x-epos-evm.dts | 806 ++ arch/arm/dts/dra7.dtsi | 3 +- arch/arm/dts/exynos5.dtsi | 3 +- arch/arm/dts/exynos5250-snow.dts | 44 + arch/arm/dts/exynos5250-spring.dts | 53 + arch/arm/dts/exynos5250.dtsi | 7 + arch/arm/dts/exynos5420-peach-pit.dts | 55 + arch/arm/dts/exynos54xx.dtsi | 11 +- arch/arm/dts/exynos5800-peach-pi.dts | 40 + arch/arm/dts/exynos7420-espresso7420.dts | 24 + arch/arm/dts/exynos7420.dtsi | 83 + arch/arm/dts/fsl-ls1012a-frdm.dts | 16 + arch/arm/dts/fsl-ls1012a-frdm.dtsi | 37 + arch/arm/dts/fsl-ls1012a-qds.dts | 14 + arch/arm/dts/fsl-ls1012a-qds.dtsi | 123 + arch/arm/dts/fsl-ls1012a-rdb.dts | 16 + arch/arm/dts/fsl-ls1012a-rdb.dtsi | 39 + arch/arm/dts/fsl-ls1012a.dtsi | 119 + arch/arm/dts/fsl-ls1043a.dtsi | 5 +- arch/arm/dts/meson-gxbb-odroidc2.dts | 69 + arch/arm/dts/meson-gxbb.dtsi | 178 + arch/arm/dts/pine64.dts | 62 - arch/arm/dts/pine64_common.dtsi | 76 - arch/arm/dts/pine64_plus.dts | 63 - arch/arm/dts/rk3288-firefly.dtsi | 16 + arch/arm/dts/rk3288-rock2-square.dts | 2 +- arch/arm/dts/socfpga_cyclone5_vining_fpga.dts | 113 + arch/arm/dts/sun50i-a64-pine64-common.dtsi | 80 + arch/arm/dts/sun50i-a64-pine64-plus.dts | 59 + arch/arm/dts/sun50i-a64-pine64.dts | 58 + arch/arm/dts/sun50i-a64.dtsi | 624 + arch/arm/dts/tegra186-p2771-0000.dts | 25 + arch/arm/dts/tegra186.dtsi | 56 + arch/arm/dts/uniphier-ph1-ld11-ref.dts | 12 + arch/arm/dts/uniphier-ph1-ld11.dtsi | 36 + arch/arm/dts/zynq-7000.dtsi | 2 +- arch/arm/dts/zynqmp-zc1751-xm018-dc4.dts | 212 + arch/arm/dts/zynqmp.dtsi | 9 +- arch/arm/include/asm/arch-am33xx/clk_synthesizer.h | 43 + arch/arm/include/asm/arch-am33xx/clock.h | 4 + arch/arm/include/asm/arch-am33xx/cpu.h | 5 +- arch/arm/include/asm/arch-am33xx/ddr_defs.h | 15 + arch/arm/include/asm/arch-bcm281xx/boot0.h | 15 + arch/arm/include/asm/arch-fsl-layerscape/config.h | 34 + arch/arm/include/asm/arch-fsl-layerscape/cpu.h | 1 + .../include/asm/arch-fsl-layerscape/fsl_serdes.h | 3 +- .../include/asm/arch-fsl-layerscape/immap_lsch2.h | 13 +- .../include/asm/arch-fsl-layerscape/immap_lsch3.h | 8 +- .../include/asm/arch-fsl-layerscape/ns_access.h | 10 + arch/arm/include/asm/arch-fsl-layerscape/soc.h | 1 + arch/arm/include/asm/arch-ls102xa/config.h | 2 + arch/arm/include/asm/arch-meson/gxbb.h | 52 + arch/arm/include/asm/arch-meson/sm.h | 12 + arch/arm/include/asm/arch-mx6/imx-regs.h | 9 +- arch/arm/include/asm/arch-mx7/imx-regs.h | 11 +- arch/arm/include/asm/arch-omap3/cpu.h | 7 +- arch/arm/include/asm/arch-omap5/clock.h | 43 +- arch/arm/include/asm/arch-omap5/cpu.h | 12 + arch/arm/include/asm/arch-omap5/sys_proto.h | 1 + arch/arm/include/asm/arch-rockchip/cru_rk3288.h | 17 + arch/arm/include/asm/arch-rockchip/grf_rk3288.h | 53 + arch/arm/include/asm/arch-sunxi/boot0.h | 14 + arch/arm/include/asm/arch-sunxi/spl.h | 8 +- arch/arm/include/asm/arch-tegra/gpio.h | 2 + arch/arm/include/asm/arch-tegra/tegra_mmc.h | 2 + arch/arm/include/asm/arch-tegra124/gpio.h | 259 - arch/arm/include/asm/arch-tegra186/gpio.h | 10 + arch/arm/include/asm/arch-tegra186/tegra.h | 16 + arch/arm/include/asm/arch-tegra20/gpio.h | 227 - arch/arm/include/asm/arch-tegra210/gpio.h | 259 - arch/arm/include/asm/arch-tegra30/gpio.h | 251 - arch/arm/include/asm/arch-zynqmp/sys_proto.h | 2 + arch/arm/include/asm/assembler.h | 1 + arch/arm/include/asm/omap_common.h | 12 + arch/arm/include/asm/psci.h | 17 +- arch/arm/include/asm/setjmp.h | 99 + arch/arm/include/asm/system.h | 2 + arch/arm/include/asm/ti-common/davinci_nand.h | 10 +- arch/arm/include/asm/unified.h | 129 + arch/arm/lib/Makefile | 17 +- arch/arm/lib/_ashldi3.S | 28 - arch/arm/lib/_ashrdi3.S | 28 - arch/arm/lib/_divsi3.S | 143 - arch/arm/lib/_lshrdi3.S | 28 - arch/arm/lib/_modsi3.S | 99 - arch/arm/lib/_udivsi3.S | 95 - arch/arm/lib/_uldivmod.S | 245 - arch/arm/lib/_umodsi3.S | 90 - arch/arm/lib/ashldi3.S | 34 + arch/arm/lib/ashrdi3.S | 34 + arch/arm/lib/div64.S | 214 + arch/arm/lib/lib1funcs.S | 429 + arch/arm/lib/lshrdi3.S | 34 + arch/arm/lib/memcpy.S | 6 - arch/arm/lib/muldi3.S | 48 + arch/arm/lib/uldivmod.S | 246 + arch/arm/lib/vectors.S | 10 + arch/arm/mach-at91/Kconfig | 6 + arch/arm/mach-at91/Makefile | 2 +- arch/arm/mach-at91/armv7/clock.c | 11 + arch/arm/mach-at91/bootparams_atmel.S | 18 + arch/arm/mach-at91/include/mach/clk.h | 2 + arch/arm/mach-at91/include/mach/sama5_sfr.h | 24 + arch/arm/mach-at91/include/mach/sama5d2.h | 17 + arch/arm/mach-at91/spl.c | 36 + arch/arm/mach-exynos/Kconfig | 61 +- arch/arm/mach-exynos/Makefile | 6 +- arch/arm/mach-exynos/include/mach/cpu.h | 4 +- arch/arm/mach-exynos/include/mach/dp_info.h | 5 +- arch/arm/mach-exynos/include/mach/gpio.h | 2 +- arch/arm/mach-exynos/include/mach/mipi_dsim.h | 10 +- arch/arm/mach-exynos/include/mach/power.h | 2 +- arch/arm/mach-exynos/lowlevel_init.c | 3 + arch/arm/mach-exynos/mmu-arm64.c | 35 + arch/arm/mach-exynos/pinmux.c | 6 + arch/arm/mach-exynos/power.c | 2 +- arch/arm/mach-exynos/soc.c | 10 + arch/arm/mach-keystone/include/mach/hardware-k2g.h | 12 + arch/arm/mach-meson/Kconfig | 31 + arch/arm/mach-meson/Makefile | 7 + arch/arm/mach-meson/board.c | 67 + arch/arm/mach-meson/sm.c | 57 + arch/arm/mach-rockchip/Kconfig | 3 + arch/arm/mach-rockchip/rk3036/reset_rk3036.c | 20 +- arch/arm/mach-rockchip/rk3288/reset_rk3288.c | 20 +- arch/arm/mach-snapdragon/reset.c | 18 +- arch/arm/mach-socfpga/Kconfig | 7 + arch/arm/mach-sunxi/Makefile | 1 + arch/arm/mach-sunxi/board.c | 9 + arch/arm/mach-sunxi/pmic_bus.c | 6 +- arch/arm/mach-tegra/Kconfig | 8 + arch/arm/mach-tegra/Makefile | 3 + arch/arm/mach-tegra/board186.c | 55 + arch/arm/mach-tegra/tegra186/Kconfig | 25 + arch/arm/mach-tegra/tegra186/Makefile | 8 + arch/arm/mach-uniphier/Kconfig | 5 + arch/arm/mach-uniphier/arm64/smp_kick_cpus.c | 4 +- arch/arm/mach-uniphier/board_early_init_f.c | 7 + arch/arm/mach-uniphier/board_late_init.c | 7 +- arch/arm/mach-uniphier/boards.c | 20 + arch/arm/mach-uniphier/boot-mode/Makefile | 5 + arch/arm/mach-uniphier/boot-mode/boot-mode-ld20.c | 21 +- arch/arm/mach-uniphier/boot-mode/boot-mode-ld4.c | 6 +- arch/arm/mach-uniphier/boot-mode/boot-mode-pro5.c | 2 +- arch/arm/mach-uniphier/boot-mode/boot-mode-pxs2.c | 14 +- arch/arm/mach-uniphier/boot-mode/boot-mode-sld3.c | 2 +- arch/arm/mach-uniphier/boot-mode/boot-mode.c | 28 +- arch/arm/mach-uniphier/boot-mode/cmd_pinmon.c | 3 +- arch/arm/mach-uniphier/boot-mode/spl_board.c | 128 + arch/arm/mach-uniphier/clk/Makefile | 1 + arch/arm/mach-uniphier/clk/clk-ld11.c | 28 + arch/arm/mach-uniphier/cpu_info.c | 2 +- arch/arm/mach-uniphier/dram/Makefile | 1 + arch/arm/mach-uniphier/dram/umc-ld11.c | 124 + arch/arm/mach-uniphier/dram/umc-ld20-regs.h | 73 - arch/arm/mach-uniphier/dram/umc-ld20.c | 6 +- arch/arm/mach-uniphier/dram/umc64-regs.h | 85 + arch/arm/mach-uniphier/early-clk/Makefile | 1 + arch/arm/mach-uniphier/early-clk/early-clk-ld11.c | 32 + arch/arm/mach-uniphier/early-pinctrl/Makefile | 1 + arch/arm/mach-uniphier/init.h | 4 + arch/arm/mach-uniphier/init/Makefile | 1 + arch/arm/mach-uniphier/init/init-ld11.c | 59 + arch/arm/mach-uniphier/init/init-ld20.c | 2 + arch/arm/mach-uniphier/init/init.c | 5 + arch/arm/mach-uniphier/pinctrl/Makefile | 1 + arch/arm/mach-uniphier/sbc/Makefile | 1 + arch/arm/mach-uniphier/sg-regs.h | 3 + arch/arm/mach-zynq/Kconfig | 48 +- arch/arm/mach-zynq/spl.c | 25 + arch/avr32/include/asm/u-boot.h | 20 - arch/m68k/include/asm/u-boot.h | 39 - arch/microblaze/include/asm/asm.h | 2 +- arch/microblaze/include/asm/string.h | 2 - arch/mips/Kconfig | 44 + arch/mips/Makefile | 7 + arch/mips/config.mk | 5 +- arch/mips/cpu/u-boot-spl.lds | 90 + arch/mips/dts/Makefile | 1 + arch/mips/dts/ap121.dts | 5 + arch/mips/dts/ar933x.dtsi | 4 +- arch/mips/dts/mti,malta.dts | 32 + arch/mips/include/asm/cache.h | 7 + arch/mips/include/asm/global_data.h | 8 - arch/mips/include/asm/io.h | 5 +- arch/mips/include/asm/jz4740.h | 1150 -- arch/mips/include/asm/u-boot-mips.h | 21 +- arch/mips/include/asm/u-boot.h | 16 - arch/mips/lib/cache.c | 79 +- arch/mips/lib/cache_init.S | 10 +- arch/mips/mach-ath79/ar933x/clk.c | 4 +- arch/mips/mach-ath79/ar933x/ddr.c | 6 +- arch/mips/mach-ath79/ar934x/clk.c | 6 +- arch/mips/mach-ath79/ar934x/ddr.c | 4 +- arch/mips/mach-ath79/include/mach/ar71xx_regs.h | 2 + arch/mips/mach-ath79/include/mach/ath79.h | 1 + arch/mips/mach-ath79/include/mach/reset.h | 14 - arch/mips/mach-ath79/qca953x/clk.c | 4 +- arch/mips/mach-ath79/qca953x/ddr.c | 4 +- arch/mips/mach-ath79/reset.c | 57 +- arch/nios2/cpu/fdt.c | 4 +- arch/openrisc/lib/Makefile | 1 - arch/openrisc/lib/board.c | 140 - arch/powerpc/cpu/mpc512x/fixed_sdram.c | 2 +- arch/powerpc/cpu/mpc5xxx/cpu.c | 8 +- arch/powerpc/cpu/mpc5xxx/start.S | 3 +- arch/powerpc/cpu/mpc8260/cpu.c | 4 +- arch/powerpc/cpu/mpc8260/cpu_init.c | 2 +- arch/powerpc/cpu/mpc8260/ether_fcc.c | 8 +- arch/powerpc/cpu/mpc83xx/cpu_init.c | 2 +- arch/powerpc/cpu/mpc83xx/speed.c | 2 +- arch/powerpc/cpu/mpc85xx/cpu_init.c | 9 + arch/powerpc/cpu/mpc85xx/ether_fcc.c | 2 +- arch/powerpc/cpu/mpc85xx/start.S | 23 + arch/powerpc/cpu/mpc8xx/fec.c | 4 +- arch/powerpc/cpu/ppc4xx/cpu_init.c | 7 - arch/powerpc/cpu/ppc4xx/fdt.c | 4 +- arch/powerpc/cpu/ppc4xx/reginfo.c | 2 +- arch/powerpc/cpu/ppc4xx/sdram.c | 4 +- arch/powerpc/cpu/ppc4xx/start.S | 4 - arch/powerpc/include/asm/arch-mpc85xx/gpio.h | 2 + arch/powerpc/include/asm/config_mpc85xx.h | 6 + arch/powerpc/include/asm/immap_85xx.h | 2 + arch/powerpc/include/asm/u-boot.h | 104 - arch/powerpc/lib/Makefile | 5 - arch/powerpc/lib/ppccache.S | 4 + arch/powerpc/lib/ppcstring.S | 7 - arch/sandbox/cpu/state.c | 4 +- arch/sandbox/dts/test.dts | 11 + arch/sandbox/include/asm/gpio.h | 20 + arch/sandbox/include/asm/mbox.h | 21 + arch/sandbox/include/asm/state.h | 6 +- arch/sh/cpu/sh2/cpu.c | 6 + arch/sh/cpu/sh2/start.S | 7 +- arch/sh/cpu/sh3/cpu.c | 6 + arch/sh/cpu/sh3/start.S | 7 +- arch/sh/cpu/sh4/cpu.c | 6 + arch/sh/cpu/sh4/start.S | 7 +- arch/sh/cpu/u-boot.lds | 1 + arch/sh/include/asm/u-boot.h | 12 +- arch/sh/lib/Makefile | 1 - arch/sh/lib/board.c | 189 - arch/x86/Kconfig | 47 +- arch/x86/cpu/baytrail/Makefile | 1 + arch/x86/cpu/baytrail/acpi.c | 163 + arch/x86/cpu/baytrail/valleyview.c | 8 - arch/x86/cpu/broadwell/pch.c | 3 +- arch/x86/cpu/broadwell/sdram.c | 5 - arch/x86/cpu/coreboot/coreboot.c | 20 +- arch/x86/cpu/cpu.c | 27 + arch/x86/cpu/interrupts.c | 8 +- arch/x86/cpu/irq.c | 31 + arch/x86/cpu/ivybridge/lpc.c | 1 - arch/x86/cpu/ivybridge/model_206ax.c | 3 - arch/x86/cpu/ivybridge/northbridge.c | 1 - arch/x86/cpu/ivybridge/sdram.c | 5 - arch/x86/cpu/lapic.c | 35 +- arch/x86/cpu/mp_init.c | 8 +- arch/x86/cpu/qemu/Makefile | 3 +- arch/x86/cpu/qemu/cpu.c | 2 +- arch/x86/cpu/qemu/e820.c | 43 + arch/x86/cpu/qemu/fw_cfg.c | 570 - arch/x86/cpu/qemu/qemu.c | 50 +- arch/x86/cpu/quark/Makefile | 1 + arch/x86/cpu/quark/acpi.c | 163 + arch/x86/cpu/quark/quark.c | 13 +- arch/x86/dts/bayleybay.dts | 5 +- arch/x86/dts/conga-qeval20-qa3-e3845.dts | 5 +- arch/x86/dts/crownbay.dts | 1 + arch/x86/dts/galileo.dts | 13 + arch/x86/dts/microcode/m0130673322.dtsi | 3284 ----- arch/x86/dts/microcode/m0130673325.dtsi | 3284 +++++ arch/x86/dts/microcode/m0130679901.dtsi | 3284 ----- arch/x86/dts/microcode/m0130679907.dtsi | 3284 +++++ arch/x86/dts/minnowmax.dts | 5 +- arch/x86/dts/qemu-x86_q35.dts | 2 + arch/x86/include/asm/acpi.h | 24 - arch/x86/include/asm/acpi/debug.asl | 136 + arch/x86/include/asm/acpi/globutil.asl | 113 + arch/x86/include/asm/acpi/irq_helper.h | 111 + arch/x86/include/asm/acpi/irqlinks.asl | 486 + arch/x86/include/asm/acpi/irqroute.asl | 48 + arch/x86/include/asm/acpi/statdef.asl | 82 + arch/x86/include/asm/acpi_table.h | 446 +- arch/x86/include/asm/arch-baytrail/acpi/gpio.asl | 95 + arch/x86/include/asm/arch-baytrail/acpi/irqroute.h | 27 + arch/x86/include/asm/arch-baytrail/acpi/lpc.asl | 202 + .../include/asm/arch-baytrail/acpi/platform.asl | 36 + .../include/asm/arch-baytrail/acpi/sleepstates.asl | 13 + .../asm/arch-baytrail/acpi/southcluster.asl | 211 + arch/x86/include/asm/arch-baytrail/acpi/usb.asl | 34 + arch/x86/include/asm/arch-baytrail/acpi/xhci.asl | 31 + arch/x86/include/asm/arch-baytrail/device.h | 74 + arch/x86/include/asm/arch-baytrail/iomap.h | 70 + arch/x86/include/asm/arch-baytrail/irq.h | 86 + arch/x86/include/asm/arch-quark/acpi/irqroute.h | 15 + arch/x86/include/asm/arch-quark/acpi/lpc.asl | 125 + arch/x86/include/asm/arch-quark/acpi/platform.asl | 33 + .../include/asm/arch-quark/acpi/sleepstates.asl | 10 + .../include/asm/arch-quark/acpi/southcluster.asl | 184 + arch/x86/include/asm/arch-quark/device.h | 21 +- arch/x86/include/asm/arch-quark/iomap.h | 47 + arch/x86/include/asm/arch-quark/irq.h | 19 + arch/x86/include/asm/coreboot_tables.h | 19 + arch/x86/include/asm/fw_cfg.h | 157 - arch/x86/include/asm/global_data.h | 4 + arch/x86/include/asm/irq.h | 4 + arch/x86/lib/Makefile | 4 +- arch/x86/lib/acpi_table.c | 380 +- arch/x86/lib/bootm.c | 9 - arch/x86/lib/coreboot_table.c | 31 + arch/x86/lib/pirq_routing.c | 4 - arch/x86/lib/smbios.c | 10 +- arch/x86/lib/tables.c | 3 +- board/BuR/common/common.c | 2 +- board/Marvell/common/bootseq.txt | 94 - board/Marvell/common/i2c.h | 16 - board/Marvell/common/intel_flash.h | 170 - board/Marvell/common/memory.c | 1374 -- board/Marvell/common/ns16550.c | 66 - board/Marvell/common/ns16550.h | 102 - board/Marvell/common/serial.c | 162 - board/Marvell/include/memory.h | 173 - board/Marvell/include/pci.h | 293 - board/a3m071/a3m071.c | 4 +- board/a4m072/a4m072.c | 4 +- board/amcc/canyonlands/canyonlands.c | 4 +- board/atmel/at91sam9261ek/at91sam9261ek.c | 2 +- board/atmel/at91sam9263ek/at91sam9263ek.c | 2 +- board/atmel/at91sam9m10g45ek/at91sam9m10g45ek.c | 2 +- board/atmel/at91sam9n12ek/at91sam9n12ek.c | 2 +- board/atmel/at91sam9rlek/at91sam9rlek.c | 2 +- board/atmel/at91sam9x5ek/at91sam9x5ek.c | 2 +- board/atmel/sama5d2_ptc/Kconfig | 15 + board/atmel/sama5d2_ptc/MAINTAINERS | 7 + board/atmel/sama5d2_ptc/Makefile | 8 + board/atmel/sama5d2_ptc/sama5d2_ptc.c | 285 + board/atmel/sama5d2_xplained/sama5d2_xplained.c | 5 +- board/atmel/sama5d3xek/sama5d3xek.c | 2 +- board/atmel/sama5d4_xplained/sama5d4_xplained.c | 2 +- board/atmel/sama5d4ek/sama5d4ek.c | 2 +- board/avionic-design/common/tamonten-ng.c | 12 +- board/avionic-design/common/tamonten.c | 4 +- board/bosch/shc/Kconfig | 87 + board/bosch/shc/MAINTAINERS | 11 + board/bosch/shc/Makefile | 10 + board/bosch/shc/README | 114 + board/bosch/shc/board.c | 648 + board/bosch/shc/board.h | 187 + board/bosch/shc/mux.c | 261 + board/cm5200/cm5200.c | 8 +- board/congatec/conga-qeval20-qa3-e3845/.gitignore | 3 + board/congatec/conga-qeval20-qa3-e3845/Makefile | 1 + .../conga-qeval20-qa3-e3845/acpi/mainboard.asl | 13 + board/congatec/conga-qeval20-qa3-e3845/dsdt.asl | 14 + board/davedenx/aria/aria.c | 4 +- board/dbau1x00/Kconfig | 15 + board/esd/common/esd405ep_nand.c | 2 +- board/esd/cpci405/cpci405.c | 4 +- board/esd/mecp5123/mecp5123.c | 4 +- board/esd/pmc405de/pmc405de.c | 4 +- board/esd/pmc440/pmc440.c | 4 +- board/freescale/b4860qds/Makefile | 6 +- board/freescale/b4860qds/ddr.c | 8 +- board/freescale/b4860qds/spl.c | 1 + board/freescale/bsc9131rdb/Makefile | 16 +- board/freescale/bsc9132qds/Makefile | 9 +- board/freescale/c29xpcie/Makefile | 6 +- board/freescale/c29xpcie/c29xpcie.c | 2 +- board/freescale/c29xpcie/spl.c | 1 + board/freescale/common/ls102xa_stream_id.c | 11 +- board/freescale/common/qixis.c | 13 +- board/freescale/ls1012afrdm/Kconfig | 15 + board/freescale/ls1012afrdm/MAINTAINERS | 6 + board/freescale/ls1012afrdm/Makefile | 7 + board/freescale/ls1012afrdm/README | 58 + board/freescale/ls1012afrdm/ls1012afrdm.c | 192 + board/freescale/ls1012aqds/Kconfig | 15 + board/freescale/ls1012aqds/MAINTAINERS | 6 + board/freescale/ls1012aqds/Makefile | 7 + board/freescale/ls1012aqds/README | 59 + board/freescale/ls1012aqds/ls1012aqds.c | 234 + board/freescale/ls1012aqds/ls1012aqds_qixis.h | 35 + board/freescale/ls1012ardb/Kconfig | 15 + board/freescale/ls1012ardb/MAINTAINERS | 6 + board/freescale/ls1012ardb/Makefile | 7 + board/freescale/ls1012ardb/README | 54 + board/freescale/ls1012ardb/ls1012ardb.c | 224 + board/freescale/ls1021aqds/ddr.h | 28 +- board/freescale/ls1043aqds/README | 37 +- board/freescale/ls1043aqds/ddr.c | 1 + board/freescale/ls1043aqds/ddr.h | 30 +- board/freescale/ls1043aqds/ls1043aqds.c | 16 +- board/freescale/ls1043ardb/README | 37 +- board/freescale/ls1043ardb/cpld.c | 26 +- board/freescale/ls1043ardb/cpld.h | 1 + board/freescale/ls1043ardb/ddr.c | 2 + board/freescale/ls1043ardb/ddr.h | 9 +- board/freescale/ls1043ardb/ls1043ardb.c | 21 +- board/freescale/ls2080aqds/MAINTAINERS | 2 +- board/freescale/ls2080aqds/README | 45 +- board/freescale/ls2080aqds/ddr.h | 32 +- board/freescale/ls2080aqds/ls2080aqds.c | 2 + board/freescale/ls2080ardb/MAINTAINERS | 2 +- board/freescale/ls2080ardb/README | 45 +- board/freescale/ls2080ardb/ddr.h | 32 +- board/freescale/ls2080ardb/ls2080ardb.c | 6 + board/freescale/m5329evb/nand.c | 2 +- board/freescale/m5373evb/nand.c | 2 +- board/freescale/mpc5121ads/mpc5121ads.c | 4 +- board/freescale/p1010rdb/Makefile | 12 +- board/freescale/p1010rdb/spl.c | 1 + board/freescale/p1022ds/Makefile | 12 +- board/freescale/p1022ds/spl.c | 1 + board/freescale/p1_p2_rdb_pc/Makefile | 17 +- board/freescale/p1_p2_rdb_pc/spl.c | 1 + board/freescale/p2041rdb/Makefile | 2 +- board/freescale/t102xqds/Makefile | 2 +- board/freescale/t102xqds/ddr.c | 27 +- board/freescale/t102xqds/spl.c | 1 + board/freescale/t102xrdb/Makefile | 2 +- board/freescale/t102xrdb/ddr.c | 16 +- board/freescale/t102xrdb/spl.c | 1 + board/freescale/t1040qds/ddr.h | 22 +- board/freescale/t104xrdb/ddr.c | 7 +- board/freescale/t104xrdb/ddr.h | 26 +- board/freescale/t104xrdb/spl.c | 1 + board/freescale/t208xqds/MAINTAINERS | 2 +- board/freescale/t208xqds/Makefile | 6 +- board/freescale/t208xqds/ddr.c | 5 +- board/freescale/t208xqds/ddr.h | 40 +- board/freescale/t208xqds/spl.c | 1 + board/freescale/t208xrdb/MAINTAINERS | 2 +- board/freescale/t208xrdb/Makefile | 6 +- board/freescale/t208xrdb/ddr.c | 6 +- board/freescale/t208xrdb/ddr.h | 20 +- board/freescale/t208xrdb/spl.c | 1 + board/freescale/t4qds/Makefile | 6 +- board/freescale/t4qds/ddr.c | 7 +- board/freescale/t4qds/ddr.h | 38 +- board/freescale/t4qds/spl.c | 1 + board/freescale/t4rdb/Makefile | 9 +- board/freescale/t4rdb/ddr.c | 5 +- board/freescale/t4rdb/ddr.h | 38 +- board/freescale/t4rdb/eth.c | 5 + board/freescale/t4rdb/spl.c | 1 + board/gateworks/gw_ventana/gw_ventana.c | 4 +- board/gdsys/common/Makefile | 1 + board/gdsys/common/ioep-fpga.c | 17 +- board/gdsys/common/osd.c | 3 + board/gdsys/intip/intip.c | 4 +- board/gdsys/mpc8308/strider.c | 37 + board/hardkernel/odroid-c2/Kconfig | 12 + board/hardkernel/odroid-c2/MAINTAINERS | 6 + board/hardkernel/odroid-c2/Makefile | 7 + board/hardkernel/odroid-c2/README | 60 + board/hardkernel/odroid-c2/odroid-c2.c | 67 + board/ifm/ac14xx/ac14xx.c | 4 +- board/ifm/o2dnt2/o2dnt2.c | 4 +- board/imgtec/malta/Kconfig | 4 + board/imgtec/malta/lowlevel_init.S | 13 +- board/imgtec/malta/malta.c | 13 - board/intel/bayleybay/.gitignore | 3 + board/intel/bayleybay/Makefile | 1 + board/intel/bayleybay/acpi/mainboard.asl | 11 + board/intel/bayleybay/dsdt.asl | 14 + board/intel/galileo/.gitignore | 3 + board/intel/galileo/Kconfig | 11 + board/intel/galileo/Makefile | 1 + board/intel/galileo/acpi/mainboard.asl | 11 + board/intel/galileo/dsdt.asl | 14 + board/intel/minnowmax/.gitignore | 3 + board/intel/minnowmax/Makefile | 1 + board/intel/minnowmax/acpi/mainboard.asl | 11 + board/intel/minnowmax/dsdt.asl | 14 + board/intercontrol/digsy_mtc/digsy_mtc.c | 4 +- board/ipek01/ipek01.c | 4 +- board/jupiter/jupiter.c | 4 +- board/microchip/pic32mzda/Kconfig | 3 + board/micronas/vct/Kconfig | 15 + board/motionpro/motionpro.c | 4 +- board/munices/munices.c | 4 +- board/nvidia/cardhu/cardhu.c | 4 +- board/nvidia/e2220-1170/pinmux-config-e2220-1170.h | 120 +- board/nvidia/jetson-tk1/pinmux-config-jetson-tk1.h | 104 +- board/nvidia/nyan-big/nyan-big.c | 5 +- board/nvidia/nyan-big/pinmux-config-nyan-big.h | 96 +- board/nvidia/p2371-0000/pinmux-config-p2371-0000.h | 102 +- board/nvidia/p2371-2180/pinmux-config-p2371-2180.h | 124 +- board/nvidia/p2571/p2571.c | 4 +- board/nvidia/p2571/pinmux-config-p2571.h | 52 +- board/nvidia/p2771-0000/Kconfig | 16 + board/nvidia/p2771-0000/MAINTAINERS | 6 + board/nvidia/p2771-0000/Makefile | 5 + board/nvidia/p2771-0000/p2771-0000.c | 7 + board/nvidia/seaboard/seaboard.c | 4 +- board/nvidia/venice2/pinmux-config-venice2.h | 118 +- board/pb1x00/Kconfig | 15 + board/pdm360ng/pdm360ng.c | 4 +- board/phytec/pcm030/pcm030.c | 4 +- board/qca/ap121/Kconfig | 15 + board/qca/ap121/ap121.c | 2 + board/qca/ap143/Kconfig | 15 + board/qca/ap143/ap143.c | 2 + board/qemu-mips/Kconfig | 16 + board/renesas/sh7752evb/u-boot.lds | 1 + board/renesas/sh7753evb/u-boot.lds | 1 + board/renesas/sh7757lcr/u-boot.lds | 1 + board/ronetix/pm9261/pm9261.c | 2 +- board/ronetix/pm9263/pm9263.c | 2 +- board/samsung/common/board.c | 25 +- board/samsung/common/exynos5-dt.c | 158 - board/samsung/common/misc.c | 10 + board/samsung/espresso7420/Kconfig | 16 + board/samsung/espresso7420/MAINTAINERS | 5 + board/samsung/espresso7420/Makefile | 10 + board/samsung/espresso7420/espresso7420.c | 16 + board/samsung/trats/trats.c | 2 + board/samsung/universal_c210/universal.c | 2 + board/samtec/vining_fpga/MAINTAINERS | 5 + board/samtec/vining_fpga/Makefile | 9 + board/samtec/vining_fpga/qts/iocsr_config.h | 660 + board/samtec/vining_fpga/qts/pinmux_config.h | 219 + board/samtec/vining_fpga/qts/pll_config.h | 91 + board/samtec/vining_fpga/qts/sdram_config.h | 341 + board/samtec/vining_fpga/socfpga.c | 100 + board/sandbox/README.sandbox | 3 +- board/siemens/common/board.c | 4 + board/siemens/draco/Kconfig | 16 + board/siemens/draco/MAINTAINERS | 1 + board/siemens/draco/board.c | 84 +- board/siemens/draco/mux.c | 2 +- board/socrates/nand.c | 6 +- board/socrates/socrates.c | 4 +- board/spear/x600/x600.c | 80 +- board/sunxi/Kconfig | 33 +- board/sunxi/board.c | 30 +- board/ti/am335x/MAINTAINERS | 1 - board/ti/am335x/board.c | 157 +- board/ti/am335x/board.h | 5 + board/ti/am335x/mux.c | 31 + board/ti/am43xx/MAINTAINERS | 2 - board/ti/am43xx/board.c | 78 +- board/ti/am43xx/board.h | 14 +- board/ti/am43xx/mux.c | 2 +- board/ti/am57xx/board.c | 218 +- board/ti/dra7xx/MAINTAINERS | 5 +- board/ti/dra7xx/evm.c | 21 + board/ti/ks2_evm/board.c | 4 +- board/ti/ks2_evm/board_k2g.c | 16 + board/toradex/colibri_t20/colibri_t20.c | 6 +- board/toradex/colibri_t30/colibri_t30.c | 6 +- board/tplink/wdr4300/Kconfig | 15 + board/xes/common/actl_nand.c | 2 +- board/xilinx/microblaze-generic/Kconfig | 24 + board/xilinx/microblaze-generic/config.mk | 24 +- board/xilinx/microblaze-generic/xparameters.h | 1 - board/xilinx/zynq/Makefile | 12 +- .../zynq/MicroZed_hw_platform/ps7_init_gpl.c | 12963 ------------------ .../zynq/MicroZed_hw_platform/ps7_init_gpl.h | 117 - board/xilinx/zynq/ZC702_hw_platform/ps7_init_gpl.c | 13296 ------------------- board/xilinx/zynq/ZC702_hw_platform/ps7_init_gpl.h | 117 - board/xilinx/zynq/ZC706_hw_platform/ps7_init_gpl.c | 13203 ------------------ board/xilinx/zynq/ZC706_hw_platform/ps7_init_gpl.h | 117 - board/xilinx/zynq/custom_hw_platform/.gitignore | 1 - board/xilinx/zynq/zed_hw_platform/ps7_init_gpl.c | 12861 ------------------ board/xilinx/zynq/zed_hw_platform/ps7_init_gpl.h | 117 - board/xilinx/zynq/zybo_hw_platform/ps7_init_gpl.c | 13045 ------------------ board/xilinx/zynq/zybo_hw_platform/ps7_init_gpl.h | 98 - board/xilinx/zynq/zynq-microzed/ps7_init_gpl.c | 12963 ++++++++++++++++++ board/xilinx/zynq/zynq-microzed/ps7_init_gpl.h | 117 + board/xilinx/zynq/zynq-zc702/ps7_init_gpl.c | 13296 +++++++++++++++++++ board/xilinx/zynq/zynq-zc702/ps7_init_gpl.h | 117 + board/xilinx/zynq/zynq-zc706/ps7_init_gpl.c | 13203 ++++++++++++++++++ board/xilinx/zynq/zynq-zc706/ps7_init_gpl.h | 117 + board/xilinx/zynq/zynq-zed/ps7_init_gpl.c | 12861 ++++++++++++++++++ board/xilinx/zynq/zynq-zed/ps7_init_gpl.h | 117 + board/xilinx/zynq/zynq-zybo/ps7_init_gpl.c | 13045 ++++++++++++++++++ board/xilinx/zynq/zynq-zybo/ps7_init_gpl.h | 98 + board/xilinx/zynqmp/Makefile | 23 +- board/xilinx/zynqmp/xil_io.h | 35 + board/xilinx/zynqmp/zynqmp.c | 51 +- cmd/Kconfig | 7 + cmd/Makefile | 1 + cmd/bootefi.c | 17 +- cmd/bootm.c | 39 +- cmd/disk.c | 3 +- cmd/itest.c | 6 +- cmd/jffs2.c | 8 +- cmd/mmc.c | 62 - cmd/nand.c | 189 +- cmd/qfw.c | 194 + cmd/ubi.c | 38 +- common/Kconfig | 9 + common/Makefile | 4 +- common/board_f.c | 2 +- common/bootm.c | 10 + common/bootm_os.c | 5 +- common/env_common.c | 1 + common/env_mmc.c | 8 +- common/env_nand.c | 24 +- common/fb_nand.c | 32 +- common/fdt_support.c | 120 +- common/image-fit.c | 11 +- common/image.c | 94 + common/init/board_init.c | 5 + common/main.c | 6 - common/scsi.c | 2 +- common/spl/spl.c | 62 +- common/spl/spl_fat.c | 36 +- common/spl/spl_fit.c | 80 +- common/spl/spl_mmc.c | 10 +- common/spl/spl_nand.c | 37 +- common/spl/spl_ymodem.c | 98 +- common/splash_source.c | 4 +- common/usb.c | 2 +- configs/A10-OLinuXino-Lime_defconfig | 12 - configs/A10s-OLinuXino-M_defconfig | 11 - configs/A13-OLinuXinoM_defconfig | 11 - configs/A13-OLinuXino_defconfig | 11 - configs/A20-OLinuXino-Lime2_defconfig | 11 - configs/A20-OLinuXino-Lime_defconfig | 11 - configs/A20-OLinuXino_MICRO_defconfig | 13 +- configs/A20-Olimex-SOM-EVB_defconfig | 13 +- configs/Ainol_AW1_defconfig | 11 - configs/Ampe_A76_defconfig | 11 - configs/Auxtek-T003_defconfig | 11 - configs/Auxtek-T004_defconfig | 11 - configs/B4420QDS_NAND_defconfig | 1 + configs/B4420QDS_SPIFLASH_defconfig | 1 + configs/B4420QDS_defconfig | 1 + configs/B4860QDS_NAND_defconfig | 1 + configs/B4860QDS_SECURE_BOOT_defconfig | 1 + configs/B4860QDS_SPIFLASH_defconfig | 1 + configs/B4860QDS_SRIO_PCIE_BOOT_defconfig | 1 + configs/B4860QDS_defconfig | 1 + configs/BSC9131RDB_NAND_SYSCLK100_defconfig | 1 + configs/BSC9131RDB_NAND_defconfig | 1 + configs/BSC9131RDB_SPIFLASH_SYSCLK100_defconfig | 1 + configs/BSC9131RDB_SPIFLASH_defconfig | 1 + configs/BSC9132QDS_NAND_DDRCLK100_SECURE_defconfig | 1 + configs/BSC9132QDS_NAND_DDRCLK100_defconfig | 1 + configs/BSC9132QDS_NAND_DDRCLK133_SECURE_defconfig | 1 + configs/BSC9132QDS_NAND_DDRCLK133_defconfig | 1 + configs/BSC9132QDS_NOR_DDRCLK100_SECURE_defconfig | 1 + configs/BSC9132QDS_NOR_DDRCLK100_defconfig | 1 + configs/BSC9132QDS_NOR_DDRCLK133_SECURE_defconfig | 1 + configs/BSC9132QDS_NOR_DDRCLK133_defconfig | 1 + .../BSC9132QDS_SDCARD_DDRCLK100_SECURE_defconfig | 1 + configs/BSC9132QDS_SDCARD_DDRCLK100_defconfig | 1 + .../BSC9132QDS_SDCARD_DDRCLK133_SECURE_defconfig | 1 + configs/BSC9132QDS_SDCARD_DDRCLK133_defconfig | 1 + .../BSC9132QDS_SPIFLASH_DDRCLK100_SECURE_defconfig | 1 + configs/BSC9132QDS_SPIFLASH_DDRCLK100_defconfig | 1 + .../BSC9132QDS_SPIFLASH_DDRCLK133_SECURE_defconfig | 1 + configs/BSC9132QDS_SPIFLASH_DDRCLK133_defconfig | 1 + configs/Bananapi_defconfig | 11 - configs/Bananapro_defconfig | 11 - configs/CHIP_defconfig | 12 +- configs/CPCI2DP_defconfig | 1 + configs/CPCI4052_defconfig | 1 + configs/CSQ_CS908_defconfig | 10 - configs/Chuwi_V7_CW0825_defconfig | 12 - configs/Colombus_defconfig | 11 - configs/Cubieboard2_defconfig | 11 - configs/Cubieboard_defconfig | 12 - configs/Cubietruck_defconfig | 11 - configs/Cubietruck_plus_defconfig | 12 - configs/Cyrus_P5020_defconfig | 1 + configs/Cyrus_P5040_defconfig | 1 + configs/Empire_electronix_d709_defconfig | 11 - configs/Hummingbird_A31_defconfig | 10 - configs/Hyundai_A7HD_defconfig | 12 - configs/Itead_Ibox_A20_defconfig | 11 - configs/Lamobo_R1_defconfig | 11 - configs/Linksprite_pcDuino3_Nano_defconfig | 11 - configs/Linksprite_pcDuino3_defconfig | 11 - configs/Linksprite_pcDuino_defconfig | 12 - configs/M52277EVB_defconfig | 1 + configs/M52277EVB_stmicro_defconfig | 1 + configs/M5253DEMO_defconfig | 1 + configs/M5253EVBE_defconfig | 1 + configs/M5272C3_defconfig | 1 + configs/M5275EVB_defconfig | 1 + configs/M5282EVB_defconfig | 1 + configs/MIP405T_defconfig | 1 + configs/MIP405_defconfig | 1 + configs/MK808C_defconfig | 11 - configs/MPC8308RDB_defconfig | 1 + configs/MPC8313ERDB_33_defconfig | 1 + configs/MPC8313ERDB_66_defconfig | 1 + configs/MPC8313ERDB_NAND_33_defconfig | 1 + configs/MPC8313ERDB_NAND_66_defconfig | 1 + configs/MPC8315ERDB_defconfig | 1 + configs/MPC8323ERDB_defconfig | 1 + configs/MPC832XEMDS_ATM_defconfig | 1 + configs/MPC832XEMDS_HOST_33_defconfig | 1 + configs/MPC832XEMDS_HOST_66_defconfig | 1 + configs/MPC832XEMDS_SLAVE_defconfig | 1 + configs/MPC832XEMDS_defconfig | 1 + configs/MPC8349EMDS_defconfig | 1 + configs/MPC8349ITXGP_defconfig | 1 + configs/MPC8349ITX_LOWBOOT_defconfig | 1 + configs/MPC8349ITX_defconfig | 1 + configs/MPC837XEMDS_HOST_defconfig | 1 + configs/MPC837XEMDS_defconfig | 1 + configs/MPC837XERDB_defconfig | 1 + configs/MPC8536DS_36BIT_defconfig | 1 + configs/MPC8536DS_SDCARD_defconfig | 1 + configs/MPC8536DS_SPIFLASH_defconfig | 1 + configs/MPC8536DS_defconfig | 1 + configs/MPC8540ADS_defconfig | 1 + configs/MPC8541CDS_defconfig | 1 + configs/MPC8541CDS_legacy_defconfig | 1 + configs/MPC8544DS_defconfig | 1 + configs/MPC8548CDS_36BIT_defconfig | 1 + configs/MPC8548CDS_defconfig | 1 + configs/MPC8548CDS_legacy_defconfig | 1 + configs/MPC8555CDS_defconfig | 1 + configs/MPC8555CDS_legacy_defconfig | 1 + configs/MPC8560ADS_defconfig | 1 + configs/MPC8568MDS_defconfig | 1 + configs/MPC8569MDS_ATM_defconfig | 1 + configs/MPC8569MDS_defconfig | 1 + configs/MPC8572DS_36BIT_defconfig | 1 + configs/MPC8572DS_defconfig | 1 + configs/MPC8610HPCD_defconfig | 1 + configs/MPC8641HPCN_36BIT_defconfig | 1 + configs/MPC8641HPCN_defconfig | 1 + configs/MSI_Primo73_defconfig | 11 - configs/MSI_Primo81_defconfig | 10 - configs/Marsboard_A10_defconfig | 12 - configs/Mele_A1000G_quad_defconfig | 10 - configs/Mele_A1000_defconfig | 12 - configs/Mele_I7_defconfig | 10 - configs/Mele_M3_defconfig | 11 - configs/Mele_M5_defconfig | 11 - configs/Mele_M9_defconfig | 10 - configs/Merrii_A80_Optimus_defconfig | 11 - configs/MigoR_defconfig | 1 + configs/Mini-X_defconfig | 12 - configs/MiniFAP_defconfig | 1 + configs/O2D300_defconfig | 1 + configs/O2DNT2_RAMBOOT_defconfig | 1 + configs/O2DNT2_defconfig | 1 + configs/O2D_defconfig | 1 + configs/O2I_defconfig | 1 + configs/O2MNT_O2M110_defconfig | 1 + configs/O2MNT_O2M112_defconfig | 1 + configs/O2MNT_O2M113_defconfig | 1 + configs/O2MNT_defconfig | 1 + configs/O3DNT_defconfig | 1 + configs/Orangepi_defconfig | 11 - configs/Orangepi_mini_defconfig | 11 - configs/P1010RDB-PA_36BIT_NAND_SECBOOT_defconfig | 1 + configs/P1010RDB-PA_36BIT_NAND_defconfig | 1 + configs/P1010RDB-PA_36BIT_NOR_SECBOOT_defconfig | 1 + configs/P1010RDB-PA_36BIT_NOR_defconfig | 1 + configs/P1010RDB-PA_36BIT_SDCARD_defconfig | 1 + .../P1010RDB-PA_36BIT_SPIFLASH_SECBOOT_defconfig | 1 + configs/P1010RDB-PA_36BIT_SPIFLASH_defconfig | 1 + configs/P1010RDB-PA_NAND_SECBOOT_defconfig | 1 + configs/P1010RDB-PA_NAND_defconfig | 1 + configs/P1010RDB-PA_NOR_SECBOOT_defconfig | 1 + configs/P1010RDB-PA_NOR_defconfig | 1 + configs/P1010RDB-PA_SDCARD_defconfig | 1 + configs/P1010RDB-PA_SPIFLASH_SECBOOT_defconfig | 1 + configs/P1010RDB-PA_SPIFLASH_defconfig | 1 + configs/P1010RDB-PB_36BIT_NAND_SECBOOT_defconfig | 1 + configs/P1010RDB-PB_36BIT_NAND_defconfig | 1 + configs/P1010RDB-PB_36BIT_NOR_SECBOOT_defconfig | 1 + configs/P1010RDB-PB_36BIT_NOR_defconfig | 1 + configs/P1010RDB-PB_36BIT_SDCARD_defconfig | 1 + .../P1010RDB-PB_36BIT_SPIFLASH_SECBOOT_defconfig | 1 + configs/P1010RDB-PB_36BIT_SPIFLASH_defconfig | 1 + configs/P1010RDB-PB_NAND_SECBOOT_defconfig | 1 + configs/P1010RDB-PB_NAND_defconfig | 1 + configs/P1010RDB-PB_NOR_SECBOOT_defconfig | 1 + configs/P1010RDB-PB_NOR_defconfig | 1 + configs/P1010RDB-PB_SDCARD_defconfig | 1 + configs/P1010RDB-PB_SPIFLASH_SECBOOT_defconfig | 1 + configs/P1010RDB-PB_SPIFLASH_defconfig | 1 + configs/P1020MBG-PC_36BIT_SDCARD_defconfig | 1 + configs/P1020MBG-PC_36BIT_defconfig | 1 + configs/P1020MBG-PC_SDCARD_defconfig | 1 + configs/P1020MBG-PC_defconfig | 1 + configs/P1020RDB-PC_36BIT_NAND_defconfig | 1 + configs/P1020RDB-PC_36BIT_SDCARD_defconfig | 1 + configs/P1020RDB-PC_36BIT_SPIFLASH_defconfig | 1 + configs/P1020RDB-PC_36BIT_defconfig | 1 + configs/P1020RDB-PC_NAND_defconfig | 1 + configs/P1020RDB-PC_SDCARD_defconfig | 1 + configs/P1020RDB-PC_SPIFLASH_defconfig | 1 + configs/P1020RDB-PC_defconfig | 1 + configs/P1020RDB-PD_NAND_defconfig | 1 + configs/P1020RDB-PD_SDCARD_defconfig | 1 + configs/P1020RDB-PD_SPIFLASH_defconfig | 1 + configs/P1020RDB-PD_defconfig | 1 + configs/P1020UTM-PC_36BIT_SDCARD_defconfig | 1 + configs/P1020UTM-PC_36BIT_defconfig | 1 + configs/P1020UTM-PC_SDCARD_defconfig | 1 + configs/P1020UTM-PC_defconfig | 1 + configs/P1021RDB-PC_36BIT_NAND_defconfig | 1 + configs/P1021RDB-PC_36BIT_SDCARD_defconfig | 1 + configs/P1021RDB-PC_36BIT_SPIFLASH_defconfig | 1 + configs/P1021RDB-PC_36BIT_defconfig | 1 + configs/P1021RDB-PC_NAND_defconfig | 1 + configs/P1021RDB-PC_SDCARD_defconfig | 1 + configs/P1021RDB-PC_SPIFLASH_defconfig | 1 + configs/P1021RDB-PC_defconfig | 1 + configs/P1022DS_36BIT_NAND_defconfig | 1 + configs/P1022DS_36BIT_SDCARD_defconfig | 1 + configs/P1022DS_36BIT_SPIFLASH_defconfig | 1 + configs/P1022DS_36BIT_defconfig | 1 + configs/P1022DS_NAND_defconfig | 1 + configs/P1022DS_SDCARD_defconfig | 1 + configs/P1022DS_SPIFLASH_defconfig | 1 + configs/P1022DS_defconfig | 1 + configs/P1024RDB_36BIT_defconfig | 1 + configs/P1024RDB_NAND_defconfig | 1 + configs/P1024RDB_SDCARD_defconfig | 1 + configs/P1024RDB_SPIFLASH_defconfig | 1 + configs/P1024RDB_defconfig | 1 + configs/P1025RDB_36BIT_defconfig | 1 + configs/P1025RDB_NAND_defconfig | 1 + configs/P1025RDB_SDCARD_defconfig | 1 + configs/P1025RDB_SPIFLASH_defconfig | 1 + configs/P1025RDB_defconfig | 1 + configs/P2020RDB-PC_36BIT_NAND_defconfig | 1 + configs/P2020RDB-PC_36BIT_SDCARD_defconfig | 1 + configs/P2020RDB-PC_36BIT_SPIFLASH_defconfig | 1 + configs/P2020RDB-PC_36BIT_defconfig | 1 + configs/P2020RDB-PC_NAND_defconfig | 1 + configs/P2020RDB-PC_SDCARD_defconfig | 1 + configs/P2020RDB-PC_SPIFLASH_defconfig | 1 + configs/P2020RDB-PC_defconfig | 1 + configs/P2041RDB_NAND_defconfig | 1 + configs/P2041RDB_SDCARD_defconfig | 1 + configs/P2041RDB_SECURE_BOOT_defconfig | 1 + configs/P2041RDB_SPIFLASH_defconfig | 1 + configs/P2041RDB_SRIO_PCIE_BOOT_defconfig | 1 + configs/P2041RDB_defconfig | 1 + configs/P3041DS_NAND_SECURE_BOOT_defconfig | 1 + configs/P3041DS_NAND_defconfig | 1 + configs/P3041DS_SDCARD_defconfig | 1 + configs/P3041DS_SECURE_BOOT_defconfig | 1 + configs/P3041DS_SPIFLASH_defconfig | 1 + configs/P3041DS_SRIO_PCIE_BOOT_defconfig | 1 + configs/P3041DS_defconfig | 1 + configs/P4080DS_SDCARD_defconfig | 1 + configs/P4080DS_SECURE_BOOT_defconfig | 1 + configs/P4080DS_SPIFLASH_defconfig | 1 + configs/P4080DS_SRIO_PCIE_BOOT_defconfig | 1 + configs/P4080DS_defconfig | 1 + configs/P5020DS_NAND_SECURE_BOOT_defconfig | 1 + configs/P5020DS_NAND_defconfig | 1 + configs/P5020DS_SDCARD_defconfig | 1 + configs/P5020DS_SECURE_BOOT_defconfig | 1 + configs/P5020DS_SPIFLASH_defconfig | 1 + configs/P5020DS_SRIO_PCIE_BOOT_defconfig | 1 + configs/P5020DS_defconfig | 1 + configs/P5040DS_NAND_SECURE_BOOT_defconfig | 1 + configs/P5040DS_NAND_defconfig | 1 + configs/P5040DS_SDCARD_defconfig | 1 + configs/P5040DS_SECURE_BOOT_defconfig | 1 + configs/P5040DS_SPIFLASH_defconfig | 1 + configs/P5040DS_defconfig | 1 + configs/PATI_defconfig | 1 + configs/PIP405_defconfig | 1 + configs/PLU405_defconfig | 1 + configs/PMC405DE_defconfig | 1 + configs/PMC440_defconfig | 1 + configs/Sinlinx_SinA31s_defconfig | 10 - configs/Sinlinx_SinA33_defconfig | 10 - configs/Sinovoip_BPI_M2_defconfig | 10 - configs/Sinovoip_BPI_M3_defconfig | 11 +- configs/T1023RDB_NAND_defconfig | 1 + configs/T1023RDB_SDCARD_defconfig | 1 + configs/T1023RDB_SECURE_BOOT_defconfig | 1 + configs/T1023RDB_SPIFLASH_defconfig | 1 + configs/T1023RDB_defconfig | 1 + configs/T1024QDS_DDR4_SECURE_BOOT_defconfig | 1 + configs/T1024QDS_DDR4_defconfig | 1 + configs/T1024QDS_NAND_defconfig | 1 + configs/T1024QDS_SDCARD_defconfig | 1 + configs/T1024QDS_SECURE_BOOT_defconfig | 1 + configs/T1024QDS_SPIFLASH_defconfig | 1 + configs/T1024QDS_defconfig | 1 + configs/T1024RDB_NAND_defconfig | 1 + configs/T1024RDB_SDCARD_defconfig | 1 + configs/T1024RDB_SECURE_BOOT_defconfig | 1 + configs/T1024RDB_SPIFLASH_defconfig | 1 + configs/T1024RDB_defconfig | 1 + configs/T1040D4RDB_NAND_defconfig | 1 + configs/T1040D4RDB_SDCARD_defconfig | 1 + configs/T1040D4RDB_SECURE_BOOT_defconfig | 1 + configs/T1040D4RDB_SPIFLASH_defconfig | 1 + configs/T1040D4RDB_defconfig | 1 + configs/T1040QDS_DDR4_defconfig | 1 + configs/T1040QDS_SECURE_BOOT_defconfig | 1 + configs/T1040QDS_defconfig | 1 + configs/T1040RDB_NAND_defconfig | 1 + configs/T1040RDB_SDCARD_defconfig | 1 + configs/T1040RDB_SECURE_BOOT_defconfig | 1 + configs/T1040RDB_SPIFLASH_defconfig | 1 + configs/T1040RDB_defconfig | 1 + configs/T1042D4RDB_NAND_defconfig | 1 + configs/T1042D4RDB_SDCARD_defconfig | 1 + configs/T1042D4RDB_SECURE_BOOT_defconfig | 1 + configs/T1042D4RDB_SPIFLASH_defconfig | 1 + configs/T1042D4RDB_defconfig | 1 + configs/T1042RDB_PI_NAND_defconfig | 1 + configs/T1042RDB_PI_SDCARD_defconfig | 1 + configs/T1042RDB_PI_SPIFLASH_defconfig | 1 + configs/T1042RDB_PI_defconfig | 1 + configs/T1042RDB_SECURE_BOOT_defconfig | 1 + configs/T1042RDB_defconfig | 1 + configs/T2080QDS_NAND_defconfig | 1 + configs/T2080QDS_SDCARD_defconfig | 1 + configs/T2080QDS_SECURE_BOOT_defconfig | 1 + configs/T2080QDS_SPIFLASH_defconfig | 1 + configs/T2080QDS_SRIO_PCIE_BOOT_defconfig | 1 + configs/T2080QDS_defconfig | 1 + configs/T2080RDB_NAND_defconfig | 1 + configs/T2080RDB_SDCARD_defconfig | 1 + configs/T2080RDB_SECURE_BOOT_defconfig | 1 + configs/T2080RDB_SPIFLASH_defconfig | 1 + configs/T2080RDB_SRIO_PCIE_BOOT_defconfig | 1 + configs/T2080RDB_defconfig | 1 + configs/T2081QDS_NAND_defconfig | 1 + configs/T2081QDS_SDCARD_defconfig | 1 + configs/T2081QDS_SPIFLASH_defconfig | 1 + configs/T2081QDS_SRIO_PCIE_BOOT_defconfig | 1 + configs/T2081QDS_defconfig | 1 + configs/T4160QDS_NAND_defconfig | 1 + configs/T4160QDS_SDCARD_defconfig | 1 + configs/T4160QDS_SECURE_BOOT_defconfig | 1 + configs/T4160QDS_defconfig | 1 + configs/T4160RDB_defconfig | 1 + configs/T4240QDS_NAND_defconfig | 1 + configs/T4240QDS_SDCARD_defconfig | 1 + configs/T4240QDS_SECURE_BOOT_defconfig | 1 + configs/T4240QDS_SRIO_PCIE_BOOT_defconfig | 1 + configs/T4240QDS_defconfig | 1 + configs/T4240RDB_SDCARD_defconfig | 1 + configs/T4240RDB_defconfig | 1 + configs/TQM5200S_HIGHBOOT_defconfig | 1 + configs/TQM5200S_defconfig | 1 + configs/TQM5200_B_HIGHBOOT_defconfig | 1 + configs/TQM5200_B_defconfig | 1 + configs/TQM5200_STK100_defconfig | 1 + configs/TQM5200_defconfig | 1 + configs/TQM823L_LCD_defconfig | 1 + configs/TQM823L_defconfig | 1 + configs/TQM823M_defconfig | 1 + configs/TQM834x_defconfig | 1 + configs/TQM850L_defconfig | 1 + configs/TQM850M_defconfig | 1 + configs/TQM855L_defconfig | 1 + configs/TQM855M_defconfig | 1 + configs/TQM860L_defconfig | 1 + configs/TQM860M_defconfig | 1 + configs/TQM862L_defconfig | 1 + configs/TQM862M_defconfig | 1 + configs/TQM866M_defconfig | 1 + configs/TQM885D_defconfig | 1 + configs/TTTech_defconfig | 1 + configs/TWR-P1025_defconfig | 1 + configs/UTOO_P66_defconfig | 11 - configs/VCMA9_defconfig | 1 + configs/VOM405_defconfig | 1 + configs/Wexler_TAB7200_defconfig | 11 - configs/Wits_Pro_A20_DKT_defconfig | 11 - configs/Wobo_i5_defconfig | 11 - configs/Yones_Toptech_BD1078_defconfig | 11 - configs/Yones_Toptech_BS1078_V2_defconfig | 10 - configs/a3m071_defconfig | 1 + configs/a4m2k_defconfig | 1 + configs/acadia_defconfig | 1 + configs/adp-ag101p_defconfig | 1 + configs/alt_defconfig | 1 + configs/am335x_evm_defconfig | 15 +- configs/am335x_gp_evm_defconfig | 46 - configs/am335x_shc_defconfig | 21 + configs/am335x_shc_ict_defconfig | 21 + configs/am335x_shc_netboot_defconfig | 21 + configs/am335x_shc_prompt_defconfig | 19 + configs/am335x_shc_sdboot_defconfig | 21 + configs/am335x_shc_sdboot_prompt_defconfig | 21 + configs/am3517_crane_defconfig | 1 + configs/am3517_evm_defconfig | 1 + configs/am437x_gp_evm_defconfig | 49 - configs/am437x_hs_evm_defconfig | 54 + configs/am437x_sk_evm_defconfig | 53 - configs/am43xx_evm_defconfig | 21 +- configs/am43xx_evm_ethboot_defconfig | 3 + configs/am43xx_evm_qspiboot_defconfig | 4 + configs/am43xx_evm_usbhost_boot_defconfig | 19 +- configs/am57xx_evm_defconfig | 4 + configs/am57xx_evm_nodt_defconfig | 3 + configs/am57xx_hs_evm_defconfig | 39 + configs/ap121_defconfig | 10 +- configs/ap143_defconfig | 3 +- configs/ap325rxa_defconfig | 1 + configs/ap_sh4a_4a_defconfig | 1 + configs/apalis_t30_defconfig | 1 - configs/apf27_defconfig | 1 + configs/arcangel4-be_defconfig | 1 + configs/arcangel4_defconfig | 1 + configs/arches_defconfig | 1 + configs/aria_defconfig | 1 + configs/armadillo-800eva_defconfig | 1 + configs/arndale_defconfig | 1 + configs/aspenite_defconfig | 1 + configs/at91rm9200ek_defconfig | 1 + configs/at91rm9200ek_ram_defconfig | 1 + configs/at91sam9260ek_dataflash_cs0_defconfig | 1 + configs/at91sam9260ek_dataflash_cs1_defconfig | 1 + configs/at91sam9260ek_nandflash_defconfig | 1 + configs/at91sam9261ek_dataflash_cs0_defconfig | 1 + configs/at91sam9261ek_dataflash_cs3_defconfig | 1 + configs/at91sam9261ek_nandflash_defconfig | 1 + configs/at91sam9263ek_dataflash_cs0_defconfig | 1 + configs/at91sam9263ek_dataflash_defconfig | 1 + configs/at91sam9263ek_nandflash_defconfig | 1 + configs/at91sam9263ek_norflash_boot_defconfig | 1 + configs/at91sam9263ek_norflash_defconfig | 1 + configs/at91sam9g10ek_dataflash_cs0_defconfig | 1 + configs/at91sam9g10ek_dataflash_cs3_defconfig | 1 + configs/at91sam9g10ek_nandflash_defconfig | 1 + configs/at91sam9g20ek_2mmc_defconfig | 1 + configs/at91sam9g20ek_2mmc_nandflash_defconfig | 1 + configs/at91sam9g20ek_dataflash_cs0_defconfig | 1 + configs/at91sam9g20ek_dataflash_cs1_defconfig | 1 + configs/at91sam9g20ek_nandflash_defconfig | 1 + configs/at91sam9m10g45ek_mmc_defconfig | 1 + configs/at91sam9m10g45ek_nandflash_defconfig | 1 + configs/at91sam9n12ek_mmc_defconfig | 1 + configs/at91sam9n12ek_nandflash_defconfig | 1 + configs/at91sam9n12ek_spiflash_defconfig | 1 + configs/at91sam9rlek_dataflash_defconfig | 1 + configs/at91sam9rlek_mmc_defconfig | 1 + configs/at91sam9rlek_nandflash_defconfig | 1 + configs/at91sam9x5ek_dataflash_defconfig | 1 + configs/at91sam9x5ek_mmc_defconfig | 1 + configs/at91sam9x5ek_nandflash_defconfig | 1 + configs/at91sam9x5ek_spiflash_defconfig | 1 + configs/at91sam9xeek_dataflash_cs0_defconfig | 1 + configs/at91sam9xeek_dataflash_cs1_defconfig | 1 + configs/at91sam9xeek_nandflash_defconfig | 1 + configs/axm_defconfig | 1 + configs/axs101_defconfig | 1 + configs/axs103_defconfig | 1 + configs/ba10_tv_box_defconfig | 12 - configs/bamboo_defconfig | 1 + configs/bayleybay_defconfig | 2 + configs/bcm28155_ap_defconfig | 1 + configs/bcm28155_w1d_defconfig | 1 + configs/beaver_defconfig | 1 - configs/bf525-ucr2_defconfig | 1 + configs/bf526-ezbrd_defconfig | 1 + configs/bf527-ezkit-v2_defconfig | 1 + configs/bf527-ezkit_defconfig | 1 + configs/bf537-minotaur_defconfig | 1 + configs/bf537-srv1_defconfig | 1 + configs/bf548-ezkit_defconfig | 1 + configs/bg0900_defconfig | 1 + configs/blackstamp_defconfig | 1 + configs/blackvme_defconfig | 1 + configs/bubinga_defconfig | 1 + configs/caddy2_defconfig | 1 + configs/cam5200_defconfig | 1 + configs/cam5200_niosflash_defconfig | 1 + configs/canmb_defconfig | 1 + configs/canyonlands_defconfig | 1 + configs/cardhu_defconfig | 1 - configs/charon_defconfig | 1 + configs/chromebook_jerry_defconfig | 3 +- configs/clearfog_defconfig | 2 + configs/cm5200_defconfig | 1 + configs/cm_t3517_defconfig | 1 + configs/cm_t35_defconfig | 1 + configs/cm_t43_defconfig | 3 + configs/cm_t54_defconfig | 1 + configs/cobra5272_defconfig | 1 + configs/colibri_t20_defconfig | 1 - configs/colibri_t30_defconfig | 1 - configs/colorfly_e708_q1_defconfig | 10 - configs/conga-qeval20-qa3-e3845_defconfig | 2 + .../controlcenterd_36BIT_SDCARD_DEVELOP_defconfig | 1 + configs/controlcenterd_36BIT_SDCARD_defconfig | 1 + configs/corvus_defconfig | 1 + configs/crownbay_defconfig | 3 - configs/d2net_v2_defconfig | 1 + configs/da850_am18xxevm_defconfig | 1 + configs/da850evm_defconfig | 1 + configs/da850evm_direct_nor_defconfig | 1 + configs/dalmore_defconfig | 1 - configs/db-88f6720_defconfig | 1 + configs/db-88f6820-gp_defconfig | 1 + configs/db-mv784mp-gp_defconfig | 1 + configs/dbau1000_defconfig | 1 - configs/dbau1100_defconfig | 1 - configs/dbau1500_defconfig | 1 - configs/dbau1550_defconfig | 1 - configs/dbau1550_el_defconfig | 1 - configs/devconcenter_defconfig | 1 + configs/difrnce_dit4350_defconfig | 11 - configs/dlvision-10g_defconfig | 1 + configs/dlvision_defconfig | 1 + configs/dns325_defconfig | 1 + configs/dockstar_defconfig | 1 + configs/dra72_evm_defconfig | 53 - configs/dra74_evm_defconfig | 52 - configs/dra7xx_evm_defconfig | 18 +- configs/dra7xx_evm_qspiboot_defconfig | 43 - configs/dra7xx_evm_uart3_defconfig | 44 - configs/dra7xx_hs_evm_defconfig | 61 + configs/draco_defconfig | 1 + configs/dragonboard410c_defconfig | 2 +- configs/dreamplug_defconfig | 1 + configs/ds414_defconfig | 1 + configs/dserve_dsrv9703c_defconfig | 12 - configs/ea20_defconfig | 1 + configs/eb_cpu5282_defconfig | 1 + configs/eb_cpu5282_internal_defconfig | 1 + configs/eco5pk_defconfig | 1 + configs/ecovec_defconfig | 1 + configs/edminiv2_defconfig | 1 + configs/espresso7420_defconfig | 8 + configs/etamin_defconfig | 18 + configs/ethernut5_defconfig | 1 + configs/evb-rk3036_defconfig | 3 +- configs/firefly-rk3288_defconfig | 5 +- configs/flea3_defconfig | 1 + configs/fo300_defconfig | 1 + configs/ga10h_v1_1_defconfig | 10 - configs/galileo_defconfig | 4 + configs/gdppc440etx_defconfig | 1 + configs/glacier_defconfig | 1 + configs/glacier_ramboot_defconfig | 1 + configs/goflexhome_defconfig | 1 + configs/gose_defconfig | 1 + configs/gplugd_defconfig | 1 + configs/gr_cpci_ax2000_defconfig | 3 +- configs/gr_ep2s60_defconfig | 3 +- configs/gr_xc3s_1500_defconfig | 3 +- configs/grsim_defconfig | 3 +- configs/grsim_leon2_defconfig | 3 +- configs/gt90h_v4_defconfig | 10 - configs/guruplug_defconfig | 1 + configs/h8_homlet_v2_defconfig | 11 - configs/haleakala_defconfig | 1 + configs/harmony_defconfig | 1 - configs/hikey_defconfig | 3 +- configs/hrcon_defconfig | 1 + configs/hrcon_dh_defconfig | 1 + configs/i12-tvbox_defconfig | 11 - configs/iNet_3F_defconfig | 12 - configs/iNet_3W_defconfig | 12 - configs/iNet_86VS_defconfig | 11 - configs/ib62x0_defconfig | 1 + configs/icnova-a20-swac_defconfig | 11 - configs/icon_defconfig | 1 + configs/iconnect_defconfig | 1 + configs/imx31_phycore_defconfig | 1 + configs/imx31_phycore_eet_defconfig | 1 + configs/inet1_defconfig | 12 - configs/inet97fv2_defconfig | 12 - configs/inet98v_rev2_defconfig | 11 - configs/inet9f_rev03_defconfig | 12 - configs/inetspace_v2_defconfig | 1 + configs/intip_defconfig | 1 + configs/io64_defconfig | 1 + configs/io_defconfig | 1 + configs/iocon_defconfig | 1 + configs/ipek01_defconfig | 1 + configs/jesurun_q5_defconfig | 12 - configs/jetson-tk1_defconfig | 1 - configs/jupiter_defconfig | 1 + configs/k2e_evm_defconfig | 3 + configs/k2g_evm_defconfig | 3 + configs/k2hk_evm_defconfig | 3 + configs/k2l_evm_defconfig | 3 + configs/katmai_defconfig | 1 + configs/kilauea_defconfig | 1 + configs/koelsch_defconfig | 1 + configs/kylin-rk3036_defconfig | 3 +- configs/kzm9g_defconfig | 1 + configs/lager_defconfig | 1 + configs/ls1012afrdm_qspi_defconfig | 33 + configs/ls1012aqds_qspi_defconfig | 36 + configs/ls1012ardb_qspi_defconfig | 36 + configs/ls1021aqds_ddr4_nor_defconfig | 6 + configs/ls1021aqds_ddr4_nor_lpuart_defconfig | 6 + configs/ls1021aqds_nand_defconfig | 6 + configs/ls1021aqds_nor_SECURE_BOOT_defconfig | 6 + configs/ls1021aqds_nor_defconfig | 6 + configs/ls1021aqds_nor_lpuart_defconfig | 6 + configs/ls1021aqds_qspi_defconfig | 6 + configs/ls1021aqds_sdcard_ifc_defconfig | 6 + configs/ls1021aqds_sdcard_qspi_defconfig | 6 + configs/ls1021atwr_nor_SECURE_BOOT_defconfig | 6 + configs/ls1021atwr_nor_defconfig | 6 + configs/ls1021atwr_nor_lpuart_defconfig | 6 + configs/ls1021atwr_qspi_defconfig | 6 + configs/ls1021atwr_sdcard_ifc_defconfig | 6 + configs/ls1021atwr_sdcard_qspi_defconfig | 6 + configs/ls1043aqds_defconfig | 4 + configs/ls1043aqds_lpuart_defconfig | 4 + configs/ls1043aqds_nand_defconfig | 4 + configs/ls1043aqds_nor_ddr3_defconfig | 4 + configs/ls1043aqds_qspi_defconfig | 4 + configs/ls1043aqds_sdcard_ifc_defconfig | 4 + configs/ls1043aqds_sdcard_qspi_defconfig | 4 + configs/ls1043ardb_SECURE_BOOT_defconfig | 4 + configs/ls1043ardb_defconfig | 4 + configs/ls1043ardb_nand_defconfig | 4 + configs/ls1043ardb_sdcard_defconfig | 4 + configs/ls2080a_emu_defconfig | 2 + configs/ls2080a_simu_defconfig | 2 + configs/ls2080aqds_SECURE_BOOT_defconfig | 5 + configs/ls2080aqds_defconfig | 5 + configs/ls2080aqds_nand_defconfig | 5 + configs/ls2080ardb_SECURE_BOOT_defconfig | 5 + configs/ls2080ardb_defconfig | 5 + configs/ls2080ardb_nand_defconfig | 5 + configs/lschlv2_defconfig | 1 + configs/lsxhl_defconfig | 1 + configs/luan_defconfig | 1 + configs/lwmon5_defconfig | 1 + configs/m28evk_defconfig | 1 + configs/m53evk_defconfig | 1 + configs/ma5d4evk_defconfig | 1 + configs/makalu_defconfig | 1 + configs/malta64_defconfig | 15 + configs/malta64el_defconfig | 16 + configs/malta_defconfig | 3 +- configs/maltael_defconfig | 3 +- configs/maxbcm_defconfig | 1 + configs/mcx_defconfig | 1 + configs/mecp5123_defconfig | 1 + configs/medcom-wide_defconfig | 1 - configs/meesc_dataflash_defconfig | 1 + configs/meesc_defconfig | 1 + configs/microblaze-generic_defconfig | 4 + configs/minnowmax_defconfig | 2 + configs/mixtile_loftq_defconfig | 10 - configs/mk802_a10s_defconfig | 11 - configs/mk802_defconfig | 12 - configs/mk802ii_defconfig | 12 - configs/mpc5121ads_defconfig | 1 + configs/mpc5121ads_rev2_defconfig | 1 + configs/mpc8308_p1m_defconfig | 1 + configs/ms7722se_defconfig | 1 + configs/mt_ventoux_defconfig | 1 + configs/munices_defconfig | 1 + configs/mx23_olinuxino_defconfig | 1 + configs/mx31ads_defconfig | 1 + configs/mx53ard_defconfig | 1 + configs/mx53evk_defconfig | 1 + configs/mx53smd_defconfig | 1 + configs/nas220_defconfig | 1 + configs/neo_defconfig | 1 + configs/net2big_v2_defconfig | 1 + configs/netspace_lite_v2_defconfig | 1 + configs/netspace_max_v2_defconfig | 1 + configs/netspace_mini_v2_defconfig | 1 + configs/netspace_v2_defconfig | 1 + configs/nokia_rx51_defconfig | 1 + configs/nsa310s_defconfig | 1 + configs/nyan-big_defconfig | 1 - configs/odroid-c2_defconfig | 22 + configs/odroid-xu3_defconfig | 4 +- configs/odroid_defconfig | 1 + configs/omap3_evm_defconfig | 1 + configs/omap3_ha_defconfig | 1 + configs/omap3_logic_defconfig | 1 + configs/omapl138_lcdk_defconfig | 1 + configs/openrd_base_defconfig | 1 + configs/openrd_client_defconfig | 1 + configs/openrd_ultimate_defconfig | 1 + configs/orangepi_2_defconfig | 13 - configs/orangepi_one_defconfig | 12 - configs/orangepi_pc_defconfig | 12 - configs/orangepi_plus_defconfig | 13 - configs/origen_defconfig | 1 + configs/p2771-0000_defconfig | 30 + configs/paz00_defconfig | 1 - configs/pb1000_defconfig | 1 - configs/pcm030_LOWBOOT_defconfig | 1 + configs/pcm030_defconfig | 1 + configs/pcm052_defconfig | 1 + configs/pdm360ng_defconfig | 1 + configs/peach-pi_defconfig | 7 + configs/peach-pit_defconfig | 7 + configs/pic32mzdask_defconfig | 2 +- configs/picosam9g45_defconfig | 1 + configs/pine64_plus_defconfig | 12 +- configs/plutux_defconfig | 1 - configs/pm9261_defconfig | 1 + configs/pm9263_defconfig | 1 + configs/pm9g45_defconfig | 1 + configs/pogo_e02_defconfig | 1 + configs/polaroid_mid2809pxe04_defconfig | 10 - configs/porter_defconfig | 1 + configs/pov_protab2_ips9_defconfig | 12 - configs/pxm2_defconfig | 1 + configs/q8_a13_tablet_defconfig | 11 - configs/q8_a23_tablet_800x480_defconfig | 10 - configs/q8_a33_tablet_1024x600_defconfig | 10 - configs/q8_a33_tablet_800x480_defconfig | 10 - configs/qemu-x86_defconfig | 1 + configs/qemu_mips64_defconfig | 2 +- configs/qemu_mips64el_defconfig | 2 +- configs/qemu_mips_defconfig | 2 +- configs/qemu_mipsel_defconfig | 2 +- configs/r0p7734_defconfig | 1 + configs/r7-tv-dongle_defconfig | 11 - configs/r7780mp_defconfig | 1 + configs/rainier_defconfig | 1 + configs/rainier_ramboot_defconfig | 1 + configs/rastaban_defconfig | 1 + configs/redwood_defconfig | 1 + configs/rock2_defconfig | 3 +- configs/rsk7264_defconfig | 1 + configs/rsk7269_defconfig | 1 + configs/rut_defconfig | 1 + configs/s5pc210_universal_defconfig | 1 + configs/sama5d2_ptc_nandflash_defconfig | 13 + configs/sama5d2_ptc_spiflash_defconfig | 13 + configs/sama5d2_xplained_mmc_defconfig | 2 + configs/sama5d2_xplained_spiflash_defconfig | 2 + configs/sama5d3_xplained_mmc_defconfig | 2 + configs/sama5d3_xplained_nandflash_defconfig | 2 + configs/sama5d3xek_mmc_defconfig | 2 + configs/sama5d3xek_nandflash_defconfig | 2 + configs/sama5d3xek_spiflash_defconfig | 2 + configs/sama5d4_xplained_mmc_defconfig | 2 + configs/sama5d4_xplained_nandflash_defconfig | 2 + configs/sama5d4_xplained_spiflash_defconfig | 2 + configs/sama5d4ek_mmc_defconfig | 2 + configs/sama5d4ek_nandflash_defconfig | 2 + configs/sama5d4ek_spiflash_defconfig | 2 + configs/sandbox_defconfig | 8 +- configs/sandbox_noblk_defconfig | 2 +- configs/sansa_fuze_plus_defconfig | 1 + configs/sbc8349_PCI_33_defconfig | 1 + configs/sbc8349_PCI_66_defconfig | 1 + configs/sbc8349_defconfig | 1 + configs/sbc8548_PCI_33_PCIE_defconfig | 1 + configs/sbc8548_PCI_33_defconfig | 1 + configs/sbc8548_PCI_66_PCIE_defconfig | 1 + configs/sbc8548_PCI_66_defconfig | 1 + configs/sbc8548_defconfig | 1 + configs/sbc8641d_defconfig | 1 + configs/sc_sps_1_defconfig | 1 + configs/seaboard_defconfig | 1 - configs/sequoia_defconfig | 1 + configs/sequoia_ramboot_defconfig | 1 + configs/sh7752evb_defconfig | 1 + configs/sh7753evb_defconfig | 1 + configs/sh7757lcr_defconfig | 1 + configs/sh7785lcr_32bit_defconfig | 1 + configs/sh7785lcr_defconfig | 1 + configs/sheevaplug_defconfig | 1 + configs/silk_defconfig | 1 + configs/smartweb_defconfig | 1 + configs/smdk2410_defconfig | 1 + configs/smdk5250_defconfig | 1 + configs/smdk5420_defconfig | 3 + configs/smdkc100_defconfig | 1 + configs/smdkv310_defconfig | 2 +- configs/snapper9260_defconfig | 1 + configs/snapper9g20_defconfig | 1 + configs/snow_defconfig | 5 + configs/socfpga_arria5_defconfig | 3 + configs/socfpga_cyclone5_defconfig | 3 + configs/socfpga_de0_nano_soc_defconfig | 3 + configs/socfpga_mcvevk_defconfig | 3 + configs/socfpga_sockit_defconfig | 3 + configs/socfpga_socrates_defconfig | 3 + configs/socfpga_sr1500_defconfig | 3 + configs/socfpga_vining_fpga_defconfig | 58 + configs/spring_defconfig | 5 + configs/stm32f429-discovery_defconfig | 1 + configs/stm32f746-disco_defconfig | 1 + configs/stout_defconfig | 1 + configs/strider_con_defconfig | 1 + configs/strider_con_dp_defconfig | 21 + configs/strider_cpu_defconfig | 1 + configs/strider_cpu_dp_defconfig | 21 + configs/stv0991_defconfig | 1 + configs/sunxi_Gemei_G9_defconfig | 12 - configs/sycamore_defconfig | 1 + configs/t3corp_defconfig | 1 + configs/tao3530_defconfig | 1 + configs/taurus_defconfig | 1 + configs/tb100_defconfig | 1 + configs/tec-ng_defconfig | 1 - configs/tec_defconfig | 1 - configs/theadorable_debug_defconfig | 1 + configs/theadorable_defconfig | 1 + configs/thuban_defconfig | 1 + configs/thunderx_88xx_defconfig | 1 + configs/ti816x_evm_defconfig | 1 + configs/tplink_wdr4300_defconfig | 35 +- configs/trats2_defconfig | 1 + configs/trats_defconfig | 1 + configs/trimslice_defconfig | 1 - configs/twister_defconfig | 1 + configs/uniphier_ld11_defconfig | 32 + configs/uniphier_ld20_defconfig | 1 + configs/uniphier_ld4_sld8_defconfig | 1 + configs/uniphier_pro4_defconfig | 1 + configs/uniphier_pxs2_ld6b_defconfig | 1 + configs/uniphier_sld3_defconfig | 1 + configs/usb_a9263_dataflash_defconfig | 1 + configs/v38b_defconfig | 1 + configs/vct_platinum_defconfig | 2 +- configs/vct_platinum_onenand_defconfig | 2 +- configs/vct_platinum_onenand_small_defconfig | 2 +- configs/vct_platinum_small_defconfig | 2 +- configs/vct_platinumavc_defconfig | 2 +- configs/vct_platinumavc_onenand_defconfig | 2 +- configs/vct_platinumavc_onenand_small_defconfig | 2 +- configs/vct_platinumavc_small_defconfig | 2 +- configs/vct_premium_defconfig | 2 +- configs/vct_premium_onenand_defconfig | 2 +- configs/vct_premium_onenand_small_defconfig | 2 +- configs/vct_premium_small_defconfig | 2 +- configs/ve8313_defconfig | 1 + configs/venice2_defconfig | 1 - configs/ventana_defconfig | 1 - configs/vf610twr_defconfig | 1 + configs/vf610twr_nand_defconfig | 1 + configs/vinco_defconfig | 1 + configs/vme8349_defconfig | 1 + configs/walnut_defconfig | 1 + configs/whistler_defconfig | 1 - configs/woodburn_defconfig | 1 + configs/woodburn_sd_defconfig | 1 + configs/work_92105_defconfig | 1 + configs/wtk_defconfig | 1 + configs/x600_defconfig | 2 + configs/xfi3_defconfig | 1 + configs/xilinx-ppc405-generic_defconfig | 1 + configs/xilinx-ppc440-generic_defconfig | 1 + configs/xilinx_zynqmp_ep_defconfig | 17 +- configs/xilinx_zynqmp_zc1751_xm015_dc1_defconfig | 14 + configs/xilinx_zynqmp_zc1751_xm016_dc2_defconfig | 15 + configs/xilinx_zynqmp_zc1751_xm018_dc4_defconfig | 44 + configs/xilinx_zynqmp_zc1751_xm019_dc5_defconfig | 7 + configs/xilinx_zynqmp_zcu102_defconfig | 14 + configs/xilinx_zynqmp_zcu102_revB_defconfig | 14 + configs/xpedite1000_defconfig | 1 + configs/xpedite517x_defconfig | 1 + configs/xpedite520x_defconfig | 1 + configs/xpedite537x_defconfig | 1 + configs/xpedite550x_defconfig | 1 + configs/yellowstone_defconfig | 1 + configs/yosemite_defconfig | 1 + configs/yucca_defconfig | 1 + configs/zmx25_defconfig | 1 + configs/zynq_microzed_defconfig | 3 +- configs/zynq_picozed_defconfig | 3 +- configs/zynq_zc702_defconfig | 2 + configs/zynq_zc706_defconfig | 3 +- configs/zynq_zc770_xm010_defconfig | 3 +- configs/zynq_zc770_xm011_defconfig | 3 +- configs/zynq_zc770_xm012_defconfig | 3 +- configs/zynq_zc770_xm013_defconfig | 3 +- configs/zynq_zed_defconfig | 3 +- configs/zynq_zybo_defconfig | 3 +- disk/part_efi.c | 2 +- doc/README.fdt-control | 6 - doc/README.generic-board | 69 +- doc/README.nand | 15 +- doc/README.ti-secure | 91 + doc/README.x86 | 124 +- doc/SPL/README.am335x-network | 4 + .../gpio/nvidia,tegra186-gpio.txt | 161 + doc/device-tree-bindings/mailbox/mailbox.txt | 32 + doc/device-tree-bindings/misc/intel,irq-router.txt | 5 + doc/device-tree-bindings/net/ti,dp83867.txt | 25 + doc/driver-model/README.txt | 23 +- doc/uImage.FIT/multi-with-fpga.its | 67 + doc/uImage.FIT/source_file_format.txt | 3 + drivers/Kconfig | 2 + drivers/Makefile | 1 + drivers/clk/Kconfig | 1 + drivers/clk/Makefile | 1 + drivers/clk/clk_rk3036.c | 2 +- drivers/clk/clk_rk3288.c | 16 +- drivers/clk/exynos/Kconfig | 18 + drivers/clk/exynos/Makefile | 9 + drivers/clk/exynos/clk-exynos7420.c | 236 + drivers/clk/exynos/clk-pll.c | 33 + drivers/clk/exynos/clk-pll.h | 9 + drivers/clk/uniphier/clk-uniphier-mio.c | 4 + drivers/core/Kconfig | 23 + drivers/core/device.c | 39 +- drivers/core/lists.c | 4 +- drivers/crypto/fsl/jr.c | 271 +- drivers/crypto/fsl/jr.h | 3 + drivers/ddr/fsl/ctrl_regs.c | 13 +- drivers/ddr/fsl/fsl_ddr_gen4.c | 69 +- drivers/ddr/fsl/options.c | 3 +- drivers/dfu/dfu_nand.c | 36 +- drivers/fpga/fpga.c | 2 +- drivers/gpio/Kconfig | 41 + drivers/gpio/Makefile | 2 + drivers/gpio/gpio-uclass.c | 32 + drivers/gpio/mpc85xx_gpio.c | 228 + drivers/gpio/mxs_gpio.c | 1 - drivers/gpio/pca953x_gpio.c | 9 +- drivers/gpio/rk_gpio.c | 1 - drivers/gpio/sandbox.c | 35 + drivers/gpio/sunxi_gpio.c | 90 +- drivers/gpio/tegra186_gpio.c | 288 + drivers/gpio/tegra186_gpio_priv.h | 61 + drivers/gpio/zynq_gpio.c | 22 + drivers/mailbox/Kconfig | 20 + drivers/mailbox/Makefile | 7 + drivers/mailbox/mailbox-uclass.c | 145 + drivers/mailbox/sandbox-mbox-test.c | 54 + drivers/mailbox/sandbox-mbox.c | 104 + drivers/misc/Kconfig | 16 +- drivers/misc/Makefile | 5 +- drivers/misc/qfw.c | 386 + drivers/misc/reset-uclass.c | 81 - drivers/misc/reset_sandbox.c | 100 - drivers/misc/sysreset-uclass.c | 81 + drivers/misc/sysreset_sandbox.c | 101 + drivers/mmc/dw_mmc.c | 42 +- drivers/mmc/fsl_esdhc.c | 9 +- drivers/mmc/mmc.c | 17 +- drivers/mmc/mmc_private.h | 14 + drivers/mmc/omap_hsmmc.c | 1 + drivers/mmc/rockchip_dw_mmc.c | 31 + drivers/mmc/sdhci.c | 2 +- drivers/mmc/tegra_mmc.c | 32 +- drivers/mtd/nand/Makefile | 3 - drivers/mtd/nand/am335x_spl_bch.c | 69 +- drivers/mtd/nand/arasan_nfc.c | 42 +- drivers/mtd/nand/atmel_nand.c | 126 +- drivers/mtd/nand/davinci_nand.c | 25 +- drivers/mtd/nand/denali.c | 37 +- drivers/mtd/nand/denali.h | 1 - drivers/mtd/nand/denali_spl.c | 2 +- drivers/mtd/nand/docg4.c | 1030 -- drivers/mtd/nand/docg4_spl.c | 219 - drivers/mtd/nand/fsl_elbc_nand.c | 41 +- drivers/mtd/nand/fsl_ifc_nand.c | 48 +- drivers/mtd/nand/fsl_upm.c | 22 +- drivers/mtd/nand/fsmc_nand.c | 15 +- drivers/mtd/nand/jz4740_nand.c | 258 - drivers/mtd/nand/kb9202_nand.c | 2 +- drivers/mtd/nand/kirkwood_nand.c | 2 +- drivers/mtd/nand/lpc32xx_nand_mlc.c | 14 +- drivers/mtd/nand/lpc32xx_nand_slc.c | 5 +- drivers/mtd/nand/mpc5121_nfc.c | 31 +- drivers/mtd/nand/mxc_nand.c | 62 +- drivers/mtd/nand/mxc_nand_spl.c | 2 +- drivers/mtd/nand/mxs_nand.c | 50 +- drivers/mtd/nand/mxs_nand_spl.c | 40 +- drivers/mtd/nand/nand.c | 69 +- drivers/mtd/nand/nand_base.c | 420 +- drivers/mtd/nand/nand_bbt.c | 62 +- drivers/mtd/nand/nand_bch.c | 33 +- drivers/mtd/nand/nand_ids.c | 10 +- drivers/mtd/nand/nand_plat.c | 4 +- drivers/mtd/nand/nand_spl_simple.c | 84 +- drivers/mtd/nand/nand_util.c | 176 +- drivers/mtd/nand/ndfc.c | 16 +- drivers/mtd/nand/omap_gpmc.c | 50 +- drivers/mtd/nand/pxa3xx_nand.c | 45 +- drivers/mtd/nand/s3c2410_nand.c | 6 +- drivers/mtd/nand/tegra_nand.c | 48 +- drivers/mtd/nand/vf610_nfc.c | 14 +- drivers/mtd/spi/sf_internal.h | 5 + drivers/mtd/spi/sf_params.c | 1 + drivers/mtd/spi/spi_flash.c | 75 +- drivers/mtd/spi/spi_spl_load.c | 37 +- drivers/net/Kconfig | 9 + drivers/net/Makefile | 3 +- drivers/net/ag7xxx.c | 980 ++ drivers/net/cpsw-common.c | 121 + drivers/net/cpsw.c | 77 +- drivers/net/designware.c | 135 +- drivers/net/designware.h | 14 +- drivers/net/fm/fm.c | 2 +- drivers/net/fm/t4240.c | 2 +- drivers/net/pcnet.c | 39 +- drivers/net/phy/broadcom.c | 34 +- drivers/net/phy/cortina.c | 4 +- drivers/net/phy/davicom.c | 9 +- drivers/net/phy/et1011c.c | 10 +- drivers/net/phy/lxt.c | 9 +- drivers/net/phy/marvell.c | 39 +- drivers/net/phy/micrel.c | 7 +- drivers/net/phy/mv88e61xx.c | 1322 +- drivers/net/phy/mv88e61xx.h | 61 - drivers/net/phy/natsemi.c | 18 +- drivers/net/phy/phy.c | 18 +- drivers/net/phy/realtek.c | 28 +- drivers/net/phy/smsc.c | 10 +- drivers/net/phy/ti.c | 88 +- drivers/net/phy/vitesse.c | 8 +- drivers/net/xilinx_emaclite.c | 6 +- drivers/net/zynq_gem.c | 22 +- drivers/pci/pcie_layerscape.c | 9 +- drivers/pinctrl/Kconfig | 1 + drivers/pinctrl/Makefile | 1 + drivers/pinctrl/exynos/Kconfig | 10 + drivers/pinctrl/exynos/Makefile | 9 + drivers/pinctrl/exynos/pinctrl-exynos.c | 141 + drivers/pinctrl/exynos/pinctrl-exynos.h | 77 + drivers/pinctrl/exynos/pinctrl-exynos7420.c | 120 + drivers/pinctrl/pinctrl-uclass.c | 1 + drivers/pinctrl/rockchip/pinctrl_rk3288.c | 2 +- drivers/power/Kconfig | 80 +- drivers/power/Makefile | 1 + drivers/power/axp221.c | 27 +- drivers/power/axp809.c | 238 + drivers/power/axp818.c | 21 + drivers/pwm/Kconfig | 9 + drivers/pwm/Makefile | 1 + drivers/pwm/exynos_pwm.c | 120 + drivers/serial/Kconfig | 15 + drivers/serial/Makefile | 1 + drivers/serial/ns16550.c | 42 +- drivers/serial/serial_meson.c | 162 + drivers/serial/serial_s5p.c | 19 +- drivers/spi/fsl_qspi.c | 159 +- drivers/usb/dwc3/Makefile | 2 +- drivers/usb/host/Kconfig | 12 +- drivers/usb/host/Makefile | 2 +- drivers/usb/phy/omap_usb_phy.c | 56 +- drivers/video/Makefile | 6 +- drivers/video/exynos/Makefile | 12 + drivers/video/exynos/exynos_dp.c | 1084 ++ drivers/video/exynos/exynos_dp_lowlevel.c | 1257 ++ drivers/video/exynos/exynos_dp_lowlevel.h | 89 + drivers/video/exynos/exynos_fb.c | 720 + drivers/video/exynos/exynos_mipi_dsi.c | 324 + drivers/video/exynos/exynos_mipi_dsi_common.c | 620 + drivers/video/exynos/exynos_mipi_dsi_common.h | 35 + drivers/video/exynos/exynos_mipi_dsi_lowlevel.c | 639 + drivers/video/exynos/exynos_mipi_dsi_lowlevel.h | 98 + drivers/video/exynos/exynos_pwm_bl.c | 45 + drivers/video/exynos_dp.c | 961 -- drivers/video/exynos_dp_lowlevel.c | 1257 -- drivers/video/exynos_dp_lowlevel.h | 68 - drivers/video/exynos_fb.c | 330 - drivers/video/exynos_fb.h | 41 - drivers/video/exynos_fimd.c | 409 - drivers/video/exynos_mipi_dsi.c | 337 - drivers/video/exynos_mipi_dsi_common.c | 620 - drivers/video/exynos_mipi_dsi_common.h | 35 - drivers/video/exynos_mipi_dsi_lowlevel.c | 639 - drivers/video/exynos_mipi_dsi_lowlevel.h | 98 - drivers/video/exynos_pwm_bl.c | 45 - drivers/video/rockchip/rk_vop.c | 1 + drivers/video/s6e8ax0.c | 4 +- drivers/video/simple_panel.c | 2 + fs/jffs2/jffs2_1pass.c | 2 +- fs/jffs2/jffs2_nand_1pass.c | 24 +- fs/yaffs2/yaffs_uboot_glue.c | 10 +- include/asm-generic/global_data.h | 1 + include/asm-generic/gpio.h | 34 + include/axp809.h | 60 + include/axp818.h | 4 + include/axp_pmic.h | 4 + include/bootstage.h | 7 +- include/config_distro_bootcmd.h | 47 +- include/config_distro_defaults.h | 22 - include/configs/B4860QDS.h | 1 - include/configs/BSC9131RDB.h | 1 - include/configs/BSC9132QDS.h | 1 - include/configs/C29XPCIE.h | 1 - include/configs/CPCI2DP.h | 1 - include/configs/CPCI4052.h | 1 - include/configs/M5208EVBE.h | 1 - include/configs/M52277EVB.h | 1 - include/configs/M5235EVB.h | 1 - include/configs/M5253DEMO.h | 1 - include/configs/M5253EVBE.h | 1 - include/configs/M5272C3.h | 1 - include/configs/M5275EVB.h | 1 - include/configs/M5282EVB.h | 1 - include/configs/M53017EVB.h | 1 - include/configs/M5329EVB.h | 1 - include/configs/M5373EVB.h | 1 - include/configs/M54418TWR.h | 1 - include/configs/M54451EVB.h | 1 - include/configs/M54455EVB.h | 1 - include/configs/M5475EVB.h | 1 - include/configs/M5485EVB.h | 1 - include/configs/MIP405.h | 1 - include/configs/MPC8308RDB.h | 1 - include/configs/MPC8313ERDB.h | 1 - include/configs/MPC8315ERDB.h | 1 - include/configs/MPC8323ERDB.h | 1 - include/configs/MPC832XEMDS.h | 1 - include/configs/MPC8349EMDS.h | 1 - include/configs/MPC8349ITX.h | 1 - include/configs/MPC837XEMDS.h | 1 - include/configs/MPC837XERDB.h | 1 - include/configs/MPC8536DS.h | 1 - include/configs/MPC8540ADS.h | 1 - include/configs/MPC8541CDS.h | 1 - include/configs/MPC8544DS.h | 1 - include/configs/MPC8548CDS.h | 1 - include/configs/MPC8555CDS.h | 1 - include/configs/MPC8560ADS.h | 1 - include/configs/MPC8568MDS.h | 1 - include/configs/MPC8569MDS.h | 1 - include/configs/MPC8572DS.h | 1 - include/configs/MPC8610HPCD.h | 1 - include/configs/MPC8641HPCN.h | 1 - include/configs/MigoR.h | 1 - include/configs/P1010RDB.h | 9 - include/configs/P1022DS.h | 1 - include/configs/P1023RDB.h | 1 - include/configs/P2041RDB.h | 1 - include/configs/PATI.h | 5 - include/configs/PIP405.h | 1 - include/configs/PLU405.h | 1 - include/configs/PMC405DE.h | 1 - include/configs/PMC440.h | 1 - include/configs/T102xQDS.h | 1 - include/configs/T102xRDB.h | 1 - include/configs/T1040QDS.h | 1 - include/configs/T104xRDB.h | 1 - include/configs/T208xQDS.h | 5 +- include/configs/T208xRDB.h | 1 - include/configs/T4240QDS.h | 1 - include/configs/T4240RDB.h | 1 - include/configs/TQM5200.h | 1 - include/configs/TQM823L.h | 1 - include/configs/TQM823M.h | 1 - include/configs/TQM834x.h | 1 - include/configs/TQM850L.h | 1 - include/configs/TQM850M.h | 1 - include/configs/TQM855L.h | 1 - include/configs/TQM855M.h | 1 - include/configs/TQM860L.h | 1 - include/configs/TQM860M.h | 1 - include/configs/TQM862L.h | 1 - include/configs/TQM862M.h | 1 - include/configs/TQM866M.h | 1 - include/configs/TQM885D.h | 1 - include/configs/UCP1020.h | 3 - include/configs/VCMA9.h | 1 - include/configs/VOM405.h | 1 - include/configs/a3m071.h | 1 - include/configs/a4m072.h | 1 - include/configs/ac14xx.h | 9 - include/configs/adp-ag101p.h | 1 - include/configs/am335x_evm.h | 54 +- include/configs/am335x_shc.h | 340 + include/configs/am335x_sl50.h | 1 - include/configs/am3517_crane.h | 1 - include/configs/am3517_evm.h | 1 - include/configs/am43xx_evm.h | 25 +- include/configs/am57xx_evm.h | 2 - include/configs/amcc-common.h | 1 - include/configs/amcore.h | 1 - include/configs/ap121.h | 12 +- include/configs/ap143.h | 14 +- include/configs/ap325rxa.h | 1 - include/configs/ap_sh4a_4a.h | 1 - include/configs/apf27.h | 1 - include/configs/apx4devkit.h | 1 - include/configs/arcangel4.h | 1 - include/configs/aria.h | 1 - include/configs/armadillo-800eva.h | 1 - include/configs/astro_mcf5373l.h | 13 - include/configs/at91-sama5_common.h | 1 - include/configs/at91rm9200ek.h | 1 - include/configs/at91sam9260ek.h | 1 - include/configs/at91sam9261ek.h | 1 - include/configs/at91sam9263ek.h | 1 - include/configs/at91sam9m10g45ek.h | 1 - include/configs/at91sam9n12ek.h | 1 - include/configs/at91sam9rlek.h | 1 - include/configs/at91sam9x5ek.h | 1 - include/configs/atngw100.h | 1 - include/configs/atngw100mkii.h | 1 - include/configs/atstk1002.h | 1 - include/configs/axs101.h | 1 - include/configs/bct-brettl2.h | 1 - include/configs/bf525-ucr2.h | 1 - include/configs/bf526-ezbrd.h | 1 - include/configs/bf527-ezkit.h | 1 - include/configs/bf537-minotaur.h | 6 - include/configs/bf537-srv1.h | 9 - include/configs/bf548-ezkit.h | 1 - include/configs/bfin_adi_common.h | 2 - include/configs/bg0900.h | 1 - include/configs/blackstamp.h | 1 - include/configs/blackvme.h | 1 - include/configs/br4.h | 1 - include/configs/calimain.h | 1 - include/configs/canmb.h | 1 - include/configs/cm5200.h | 1 - include/configs/cm_t35.h | 1 - include/configs/cm_t3517.h | 1 - include/configs/cm_t43.h | 2 - include/configs/cm_t54.h | 2 - include/configs/cobra5272.h | 1 - include/configs/colibri_pxa270.h | 1 - include/configs/colibri_vf.h | 1 - include/configs/controlcenterd.h | 2 - include/configs/corenet_ds.h | 1 - include/configs/corvus.h | 1 - include/configs/cyrus.h | 1 - include/configs/da850evm.h | 1 - include/configs/dbau1x00.h | 14 - include/configs/devkit3250.h | 1 - include/configs/digsy_mtc.h | 1 - include/configs/dra7xx_evm.h | 2 - include/configs/draco.h | 3 +- include/configs/ds414.h | 3 +- include/configs/ea20.h | 1 - include/configs/eb_cpu5282.h | 1 - include/configs/eco5pk.h | 1 - include/configs/ecovec.h | 1 - include/configs/edb93xx.h | 1 - include/configs/edminiv2.h | 1 - include/configs/espresso7420.h | 34 + include/configs/espt.h | 1 - include/configs/etamin.h | 257 + include/configs/ethernut5.h | 1 - include/configs/exynos5-common.h | 3 - include/configs/exynos5-dt-common.h | 5 +- include/configs/exynos5420-common.h | 1 - include/configs/exynos7420-common.h | 113 + include/configs/flea3.h | 1 - include/configs/ge_bx50v3.h | 1 - include/configs/gr_cpci_ax2000.h | 2 - include/configs/gr_ep2s60.h | 2 - include/configs/gr_xc3s_1500.h | 2 - include/configs/grasshopper.h | 1 - include/configs/grsim.h | 2 - include/configs/grsim_leon2.h | 2 - include/configs/h2200.h | 1 - include/configs/hrcon.h | 1 - include/configs/ids8313.h | 1 - include/configs/imx27lite-common.h | 1 - include/configs/imx31_phycore.h | 1 - include/configs/inka4x0.h | 1 - include/configs/integratorap.h | 1 - include/configs/integratorcp.h | 1 - include/configs/ipam390.h | 1 - include/configs/ipek01.h | 1 - include/configs/jupiter.h | 1 - include/configs/k2e_evm.h | 2 +- include/configs/k2g_evm.h | 2 +- include/configs/k2hk_evm.h | 2 +- include/configs/k2l_evm.h | 2 +- include/configs/km/keymile-common.h | 1 - include/configs/kwb.h | 1 - include/configs/kzm9g.h | 1 - include/configs/legoev3.h | 1 - include/configs/ls1012a_common.h | 144 + include/configs/ls1012afrdm.h | 42 + include/configs/ls1012aqds.h | 189 + include/configs/ls1012ardb.h | 105 + include/configs/ls1021aqds.h | 3 - include/configs/ls1021atwr.h | 3 - include/configs/ls1043a_common.h | 6 +- include/configs/ls1043aqds.h | 2 - include/configs/ls1043ardb.h | 24 +- include/configs/ls2080a_common.h | 9 +- include/configs/ls2080a_emu.h | 1 - include/configs/ls2080a_simu.h | 1 - include/configs/ls2080aqds.h | 4 +- include/configs/ls2080ardb.h | 4 +- include/configs/lwmon5.h | 1 - include/configs/m28evk.h | 1 - include/configs/m53evk.h | 1 - include/configs/ma5d4evk.h | 1 - include/configs/malta.h | 27 +- include/configs/manroland/common.h | 1 - include/configs/mcx.h | 1 - include/configs/mecp5123.h | 1 - include/configs/meesc.h | 1 - include/configs/microblaze-generic.h | 1 - include/configs/minnowmax.h | 2 +- include/configs/motionpro.h | 1 - include/configs/mpc5121ads.h | 1 - include/configs/mpc8308_p1m.h | 1 - include/configs/ms7722se.h | 1 - include/configs/ms7750se.h | 1 - include/configs/mt_ventoux.h | 1 - include/configs/munices.h | 1 - include/configs/mv-common.h | 1 - include/configs/mx23_olinuxino.h | 1 - include/configs/mx23evk.h | 1 - include/configs/mx25pdk.h | 1 - include/configs/mx28evk.h | 1 - include/configs/mx31ads.h | 1 - include/configs/mx31pdk.h | 1 - include/configs/mx35pdk.h | 1 - include/configs/mx51evk.h | 1 - include/configs/mx53ard.h | 1 - include/configs/mx53evk.h | 1 - include/configs/mx53loco.h | 1 - include/configs/mx53smd.h | 1 - include/configs/mx6_common.h | 1 - include/configs/mx7_common.h | 1 - include/configs/nokia_rx51.h | 1 - include/configs/o2dnt-common.h | 1 - include/configs/odroid-c2.h | 51 + include/configs/omap3_cairo.h | 2 - include/configs/omap3_evm.h | 1 - include/configs/omap3_evm_quick_mmc.h | 1 - include/configs/omap3_evm_quick_nand.h | 1 - include/configs/omapl138_lcdk.h | 1 - include/configs/openrisc-generic.h | 1 - include/configs/p1_p2_rdb_pc.h | 1 - include/configs/p1_twr.h | 1 - include/configs/p2771-0000.h | 33 + include/configs/pb1x00.h | 13 - include/configs/pcm030.h | 1 - include/configs/pcm052.h | 1 - include/configs/pdm360ng.h | 1 - include/configs/pic32mzdask.h | 3 - include/configs/picosam9g45.h | 1 - include/configs/pm9261.h | 1 - include/configs/pm9263.h | 1 - include/configs/pm9g45.h | 1 - include/configs/pr1.h | 1 - include/configs/pxm2.h | 3 +- include/configs/qemu-mips.h | 9 - include/configs/qemu-mips64.h | 9 - include/configs/qemu-ppce500.h | 1 - include/configs/r0p7734.h | 1 - include/configs/r2dplus.h | 1 - include/configs/r7780mp.h | 1 - include/configs/rastaban.h | 3 +- include/configs/rcar-gen2-common.h | 1 - include/configs/redwood.h | 1 - include/configs/rk3288_common.h | 1 - include/configs/rpi.h | 2 +- include/configs/rsk7264.h | 1 - include/configs/rsk7269.h | 1 - include/configs/rut.h | 3 +- include/configs/s5pc210_universal.h | 3 - include/configs/sama5d2_ptc.h | 155 + include/configs/sansa_fuze_plus.h | 1 - include/configs/sbc8349.h | 1 - include/configs/sbc8548.h | 1 - include/configs/sbc8641d.h | 1 - include/configs/sc_sps_1.h | 1 - include/configs/sh7752evb.h | 1 - include/configs/sh7753evb.h | 1 - include/configs/sh7757lcr.h | 1 - include/configs/sh7763rdp.h | 1 - include/configs/sh7785lcr.h | 1 - include/configs/siemens-am33x-common.h | 7 +- include/configs/smartweb.h | 1 - include/configs/smdk2410.h | 1 - include/configs/smdk5250.h | 3 + include/configs/smdk5420.h | 5 +- include/configs/smdkc100.h | 1 - include/configs/snapper9260.h | 1 - include/configs/socfpga_arria5_socdk.h | 1 - include/configs/socfpga_common.h | 9 +- include/configs/socfpga_cyclone5_socdk.h | 1 - include/configs/socfpga_de0_nano_soc.h | 1 - include/configs/socfpga_mcvevk.h | 1 - include/configs/socfpga_sockit.h | 1 - include/configs/socfpga_socrates.h | 1 - include/configs/socfpga_sr1500.h | 3 +- include/configs/socfpga_vining_fpga.h | 230 + include/configs/socrates.h | 1 - include/configs/spear-common.h | 6 - include/configs/stm32f429-discovery.h | 1 - include/configs/stm32f746-disco.h | 1 - include/configs/strider.h | 78 +- include/configs/stv0991.h | 1 - include/configs/sunxi-common.h | 30 +- include/configs/tao3530.h | 1 - include/configs/taurus.h | 1 - include/configs/tb100.h | 1 - include/configs/tegra-common.h | 1 - include/configs/tegra186-common.h | 71 + include/configs/thuban.h | 3 +- include/configs/thunderx_88xx.h | 3 - include/configs/ti814x_evm.h | 1 - include/configs/ti816x_evm.h | 1 - include/configs/ti_armv7_common.h | 2 +- include/configs/ti_armv7_keystone2.h | 2 - include/configs/ti_omap5_common.h | 33 +- include/configs/tplink_wdr4300.h | 10 - include/configs/trats.h | 4 - include/configs/trats2.h | 4 - include/configs/tricorder.h | 1 - include/configs/ts4800.h | 1 - include/configs/tseries.h | 1 - include/configs/twister.h | 1 - include/configs/uniphier.h | 18 +- include/configs/usb_a9263.h | 1 - include/configs/v38b.h | 1 - include/configs/vct.h | 9 - include/configs/ve8313.h | 1 - include/configs/vexpress_aemv8a.h | 5 - include/configs/vexpress_ca15_tc2.h | 1 - include/configs/vexpress_ca5x2.h | 1 - include/configs/vexpress_ca9x4.h | 1 - include/configs/vexpress_common.h | 1 - include/configs/vf610twr.h | 1 - include/configs/vme8349.h | 1 - include/configs/warp7.h | 1 - include/configs/woodburn_common.h | 1 - include/configs/work_92105.h | 1 - include/configs/x600.h | 3 +- include/configs/x86-common.h | 10 +- include/configs/xfi3.h | 1 - include/configs/xilinx-ppc.h | 1 - include/configs/xilinx_zynqmp.h | 123 +- include/configs/xilinx_zynqmp_ep.h | 7 - include/configs/xilinx_zynqmp_zc1751_xm015_dc1.h | 7 - include/configs/xilinx_zynqmp_zc1751_xm016_dc2.h | 7 - include/configs/xilinx_zynqmp_zc1751_xm018_dc4.h | 17 + include/configs/xilinx_zynqmp_zc1751_xm019_dc5.h | 7 - include/configs/xilinx_zynqmp_zcu102.h | 12 +- include/configs/xpedite1000.h | 1 - include/configs/xpedite517x.h | 1 - include/configs/xpedite520x.h | 1 - include/configs/xpedite537x.h | 1 - include/configs/xpedite550x.h | 1 - include/configs/zipitz2.h | 1 - include/configs/zmx25.h | 1 - include/configs/zynq-common.h | 7 +- include/cpsw.h | 2 + include/dm/device-internal.h | 24 + include/dm/device.h | 23 + include/dm/uclass-id.h | 3 +- include/dt-bindings/clock/exynos7420-clk.h | 207 + include/dt-bindings/clock/maxim,max77802.h | 22 + include/dt-bindings/gpio/tegra-gpio.h | 68 +- include/dt-bindings/gpio/tegra186-gpio.h | 60 + include/dt-bindings/net/ti-dp83867.h | 35 + include/dt-bindings/pinctrl/am43xx.h | 6 + include/dt-bindings/pinctrl/omap.h | 37 + include/dt-bindings/regulator/maxim,max77802.h | 18 + include/dt-bindings/sound/tlv320aic31xx-micbias.h | 8 + include/dwc3-uboot.h | 2 +- include/dwmmc.h | 7 +- include/efi_api.h | 129 + include/efi_loader.h | 24 +- include/exynos_lcd.h | 4 +- include/fdtdec.h | 1 + include/fsl_ddr_sdram.h | 11 + include/fsl_mmdc.h | 160 + include/fsl_sec.h | 6 +- include/gdsys_fpga.h | 2 +- include/image.h | 7 +- include/libtizen.h | 2 + include/linux/mtd/docg4.h | 132 - include/linux/mtd/mtd.h | 5 + include/linux/mtd/nand.h | 92 +- include/linux/mtd/nand_bch.h | 10 +- include/linux/string.h | 4 - include/linux/usb/xhci-fsl.h | 6 +- include/mailbox_client.h | 149 + include/mailbox_uclass.h | 83 + include/mmc.h | 5 - include/nand.h | 43 +- include/net.h | 2 +- include/netdev.h | 58 - include/phy.h | 23 + include/power/tps65217.h | 3 + include/qfw.h | 176 + include/reset.h | 71 - include/serial.h | 4 + include/spl.h | 13 + include/sysreset.h | 71 + include/video.h | 5 + include/watchdog.h | 3 +- lib/Kconfig | 1 + lib/Makefile | 5 +- lib/efi_loader/Kconfig | 9 + lib/efi_loader/Makefile | 1 + lib/efi_loader/efi_boottime.c | 27 +- lib/efi_loader/efi_disk.c | 137 +- lib/efi_loader/efi_gop.c | 60 +- lib/efi_loader/efi_memory.c | 73 +- lib/efi_loader/efi_net.c | 291 + lib/efi_loader/efi_runtime.c | 30 +- lib/fdtdec.c | 1 + lib/string.c | 24 - lib/tiny-printf.c | 57 +- lib/tizen/tizen.c | 2 + net/Kconfig | 16 + net/bootp.c | 59 +- net/net.c | 4 +- net/tftp.c | 2 + scripts/Makefile.lib | 8 +- scripts/Makefile.spl | 10 +- test/dm/Makefile | 3 +- test/dm/gpio.c | 7 + test/dm/mailbox.c | 31 + test/dm/reset.c | 74 - test/dm/sysreset.c | 74 + test/py/tests/test_env.py | 6 +- test/py/u_boot_console_base.py | 31 + test/py/u_boot_utils.py | 1 + tools/.gitignore | 1 + tools/Makefile | 1 + tools/env/fw_env.c | 118 +- tools/env/fw_env.h | 31 +- tools/env/fw_env_main.c | 28 +- tools/genboardscfg.py | 1 - tools/palmtreo680/flash_u-boot.c | 177 - tools/rkimage.c | 7 +- tools/zynqmpimage.c | 269 + 2176 files changed, 111686 insertions(+), 94443 deletions(-) ------------------------------------------------------------------------------- commit 1e6fb0e367564d427d7c57fa7b3b972ecb7147a3 Author: Peng Fan <van.freenix@gmail.com> Date: 2016-06-15 13:15:46 +0800 usb: ehci: only shutdown opened controller If the usb controller is not running, no need to shutdown it, otherwise `usb stop` complains about: "EHCI failed to shut down host controller". To i.MX7D SDB, there are two usb ports, one Host, one OTG. If we only plug one udisk to the Host port and then `usb start`, the OTG controller for OTG port does not run actually. Then, if `usb stop`, the OTG controller for OTG port will also be shutdown, but it is not running. This patch adds a check to only shutdown the running controller. Signed-off-by: Peng Fan <peng.fan@nxp.com> Cc: Marek Vasut <marex@denx.de> Cc: Simon Glass <sjg@chromium.org> Cc: Mateusz Kulikowski <mateusz.kulikowski@gmail.com> Cc: Hans de Goede <hdegoede@redhat.com> Cc: "Stefan Brüns" <stefan.bruens@rwth-aachen.de> Cc: Stephen Warren <swarren@nvidia.com> Base directory -> / drivers/usb/host/ehci-hcd.c | 3 +++ 1 file changed, 3 insertions(+) ------------------------------------------------------------------------------- commit 7839f5f8092762f048076c6c7b010c10f2ee8a0b Author: Peng Fan <van.freenix@gmail.com> Date: 2016-06-17 14:18:11 +0800 cmd: usb: check if_type before using this device For legacy usb storage driver, USB_MAX_STOR_DEV is defined as 7. If we only have one usb disk on board, `usb dev 0` is ok. But if `usb dev 1`, still ok, then `usb read xxx` will trigger system fault and reboot. So check if_type before using this device. Signed-off-by: Peng Fan <peng.fan@nxp.com> Cc: Simon Glass <sjg@chromium.org> Cc: Hans de Goede <hdegoede@redhat.com> Cc: Bin Meng <bmeng.cn@gmail.com> Cc: Marek Vasut <marex@denx.de> Cc: Stefan Roese <sr@denx.de> Cc: Marcel Ziswiler <marcel.ziswiler@toradex.com> Cc: Peng Fan <peng.fan@nxp.com> Cc: Stephen Warren <swarren@nvidia.com> Base directory -> / cmd/usb.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit e677724884c175e978b463cf941ecb9310d3b900 Author: Alexander Graf <agraf@suse.de> Date: 2016-06-13 14:01:07 +0200 arm: Fix setjmp The setjmp/longjmp implementation did not work on thumb1 implementations because it used instruction encodings that don't exist on thumb1 yet. This patch limits itself to thumb1 instruction set for 32bit arm and removes a superfluous printf along the way. Signed-off-by: Alexander Graf <agraf@suse.de> Base directory -> / arch/arm/include/asm/setjmp.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) ------------------------------------------------------------------------------- commit 71423435fb02c2ed9e7aa14c1208d3cccbff2519 Author: Heiko Schocher <hs@denx.de> Date: 2016-06-13 15:16:01 +0200 arm, am335x: siemens: enable DM/DTS support enable basic DM/DTS support for the siemens am335x based boards. Signed-off-by: Heiko Schocher <hs@denx.de> Base directory -> / arch/arm/Kconfig | 18 + arch/arm/dts/Makefile | 8 +- arch/arm/dts/am335x-draco.dts | 152 ++++++++ arch/arm/dts/am335x-draco.dtsi | 169 +++++++++ arch/arm/dts/am335x-pxm2.dtsi | 539 +++++++++++++++++++++++++++++ arch/arm/dts/am335x-pxm50.dts | 59 ++++ arch/arm/dts/am335x-rut.dts | 611 +++++++++++++++++++++++++++++++++ configs/draco_defconfig | 6 + configs/etamin_defconfig | 19 + configs/pxm2_defconfig | 6 + configs/rastaban_defconfig | 6 + configs/rut_defconfig | 6 + configs/thuban_defconfig | 6 + include/configs/siemens-am33x-common.h | 2 + 14 files changed, 1605 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit e7b35eb2e0f209e26eb30c4e5b3da50a50d19af1 Author: Heiko Schocher <hs@denx.de> Date: 2016-06-13 15:16:00 +0200 arm, am335x: siemens: update etamin defconfig add missing USB_MUSB_* and CONFIG_G_DNL_* board configuration. Signed-off-by: Heiko Schocher <hs@denx.de> Base directory -> / configs/etamin_defconfig | 6 ++++++ 1 file changed, 6 insertions(+) ------------------------------------------------------------------------------- commit ae094f8d55a1cab50b1aa17c924feeb1818a57ef Author: Andreas Dannenberg <dannenberg@ti.com> Date: 2016-06-13 18:25:16 -0500 ARM: AM57xx: Enable FIT for HS Devices Enable FIT support for AM57xx platforms using the high-security (HS) device variant. Signed-off-by: Andreas Dannenberg <dannenberg@ti.com> Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com> Base directory -> / configs/am57xx_hs_evm_defconfig | 4 ++++ 1 file changed, 4 insertions(+) ------------------------------------------------------------------------------- commit f51c8a99e330dbd6a8db5d45a431390a339cfc41 Author: Stefano Babic <sbabic@denx.de> Date: 2016-06-14 09:13:37 +0200 OMAP3: fix twister board twister board was not updated after changing SPL defines, resulting in a broken board. Signed-off-by: Stefano Babic <sbabic@denx.de> Base directory -> / include/configs/tam3517-common.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) ------------------------------------------------------------------------------- commit 1e2a1fb70284d217cfa5679f75fe69122057b975 Author: Thomas Lange <thomas@corelatus.se> Date: 2016-06-14 11:04:37 +0200 Orphan dbau1x00 boards I no longer have access to such a board Signed-off-by: Thomas Lange <thomas@corelatus.se> Base directory -> / board/dbau1x00/MAINTAINERS | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit 58c95d5356f4a4c711523dbca0e989cfc8d2cf21 Author: Petr Kulhavy <brain@jikos.cz> Date: 2016-06-14 12:06:36 +0200 SPL: ext: remove redundant ifdef statement Remove redundant #if defined(CONFIG_SPL_OS_BOOT) statement around getenv() calls in spl_load_image_ext_os(). The whole function is surrounded by #ifdef CONFIG_SPL_OS_BOOT. No functional change. Signed-off-by: Petr Kulhavy <brain@jikos.cz> CC: Guillaume GARDET <guillaume.gardet@free.fr> Acked-by: Guillaume GARDET <guillaume.gardet@free.fr> Base directory -> / common/spl/spl_ext.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) ------------------------------------------------------------------------------- commit e17adbb3507fc022fe6ed38b150ce9044101d9b0 Author: Andreas Dannenberg <dannenberg@ti.com> Date: 2016-06-15 17:00:19 -0500 common: image-fit: Cleanup spelling mistakes The comments in the source file are riddled with spelling mistakes. Be a good citizen and take a stab at cleaning up some of the more obvious ones. Signed-off-by: Andreas Dannenberg <dannenberg@ti.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / common/image-fit.c | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) ------------------------------------------------------------------------------- commit 030cada824730df4b601d8e1503baf8eea29b1ce Author: Srinivas, Madan <madans@ti.com> Date: 2016-06-16 15:42:32 -0400 ARM: AM437x: Enable FIT for hs platforms Adds FIT support to the SPL and u-boot for AM437x HS devices. Signed-off-by: Madan Srinivas <madans@ti.com> Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com> Base directory -> / configs/am437x_hs_evm_defconfig | 4 ++++ 1 file changed, 4 insertions(+) ------------------------------------------------------------------------------- commit 8311b3b4406ead0f5d54712f1c0cef1e564b23ab Author: Srinivas, Madan <madans@ti.com> Date: 2016-06-16 15:42:31 -0400 ARM: AM437x: Sync defconfig between GP and HS EVM Adds missing NAND option to CONFIG_SYS_EXTRA_OPTIONS for AM437x HS EVMs. This syncs up the config options between GP and HS EVMs. Signed-off-by: Madan Srinivas <madans@ti.com> Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com> Base directory -> / configs/am437x_hs_evm_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 7802ce910ba17a962d90b60b5e998e40d5a08067 Author: Tom Rini <trini@konsulko.com> Date: 2016-06-13 09:45:14 -0400 configs: Re-sync BOOTDELAY changes With updated moveconfig.py and an better default, re-generate the migration of BOOTDELAY to the defconfig. Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Tom Rini <trini@konsulko.com> Base directory -> / configs/A10-OLinuXino-Lime_defconfig | 1 + configs/A20-OLinuXino_MICRO_defconfig | 2 +- configs/A20-Olimex-SOM-EVB_defconfig | 2 +- configs/C29XPCIE_NAND_defconfig | 1 + configs/C29XPCIE_NOR_SECBOOT_defconfig | 1 + configs/C29XPCIE_SPIFLASH_SECBOOT_defconfig | 1 + configs/C29XPCIE_SPIFLASH_defconfig | 1 + configs/C29XPCIE_defconfig | 1 + configs/CHIP_defconfig | 2 +- configs/Chuwi_V7_CW0825_defconfig | 1 + configs/Cubieboard_defconfig | 1 + configs/Cubietruck_plus_defconfig | 1 + configs/Hyundai_A7HD_defconfig | 1 + configs/Linksprite_pcDuino_defconfig | 1 + configs/M5208EVBE_defconfig | 1 + configs/M5235EVB_Flash32_defconfig | 1 + configs/M5235EVB_defconfig | 1 + configs/M53017EVB_defconfig | 1 + configs/M5329AFEE_defconfig | 1 + configs/M5329BFEE_defconfig | 1 + configs/M5373EVB_defconfig | 1 + configs/M54451EVB_defconfig | 1 + configs/M54451EVB_stmicro_defconfig | 1 + configs/M54455EVB_a66_defconfig | 1 + configs/M54455EVB_defconfig | 1 + configs/M54455EVB_i66_defconfig | 1 + configs/M54455EVB_intel_defconfig | 1 + configs/M54455EVB_stm33_defconfig | 1 + configs/M5475AFE_defconfig | 1 + configs/M5475BFE_defconfig | 1 + configs/M5475CFE_defconfig | 1 + configs/M5475DFE_defconfig | 1 + configs/M5475EFE_defconfig | 1 + configs/M5475FFE_defconfig | 1 + configs/M5475GFE_defconfig | 1 + configs/M5485AFE_defconfig | 1 + configs/M5485BFE_defconfig | 1 + configs/M5485CFE_defconfig | 1 + configs/M5485DFE_defconfig | 1 + configs/M5485EFE_defconfig | 1 + configs/M5485FFE_defconfig | 1 + configs/M5485GFE_defconfig | 1 + configs/M5485HFE_defconfig | 1 + configs/Marsboard_A10_defconfig | 1 + configs/Mele_A1000_defconfig | 1 + configs/Merrii_A80_Optimus_defconfig | 1 + configs/Mini-X_defconfig | 1 + configs/P1023RDB_defconfig | 1 + configs/am335x_evm_defconfig | 8 +++++--- configs/am335x_evm_nor_defconfig | 1 + configs/am335x_evm_norboot_defconfig | 1 + configs/am335x_evm_spiboot_defconfig | 1 + configs/am335x_evm_usbspl_defconfig | 1 + configs/am335x_shc_defconfig | 1 - configs/am335x_shc_ict_defconfig | 1 - configs/am335x_shc_netboot_defconfig | 1 - configs/am335x_shc_prompt_defconfig | 1 - configs/am335x_shc_sdboot_defconfig | 1 - configs/am335x_shc_sdboot_prompt_defconfig | 1 - configs/am437x_hs_evm_defconfig | 3 ++- configs/am43xx_evm_ethboot_defconfig | 1 + configs/am43xx_evm_qspiboot_defconfig | 1 + configs/am43xx_evm_usbhost_boot_defconfig | 10 ++++++---- configs/am57xx_evm_defconfig | 2 +- configs/am57xx_hs_evm_defconfig | 2 +- configs/amcore_defconfig | 1 + configs/apalis_t30_defconfig | 1 + configs/apx4devkit_defconfig | 1 + configs/aristainetos2_defconfig | 1 + configs/aristainetos2b_defconfig | 1 + configs/aristainetos_defconfig | 1 + configs/astro_mcf5373l_defconfig | 1 + configs/atngw100_defconfig | 1 + configs/atngw100mkii_defconfig | 1 + configs/atstk1002_defconfig | 1 + configs/ba10_tv_box_defconfig | 1 + configs/bct-brettl2_defconfig | 1 + configs/beaver_defconfig | 1 + configs/bf518f-ezbrd_defconfig | 1 + configs/bf526-ezbrd_defconfig | 1 + configs/bf527-ad7160-eval_defconfig | 1 + configs/bf527-ezkit-v2_defconfig | 1 + configs/bf527-ezkit_defconfig | 1 + configs/bf527-sdp_defconfig | 1 + configs/bf533-ezkit_defconfig | 1 + configs/bf533-stamp_defconfig | 1 + configs/bf537-pnav_defconfig | 1 + configs/bf537-stamp_defconfig | 1 + configs/bf538f-ezkit_defconfig | 1 + configs/bf548-ezkit_defconfig | 1 + configs/bf561-acvilon_defconfig | 1 + configs/bf561-ezkit_defconfig | 1 + configs/birdland_bav335a_defconfig | 1 + configs/birdland_bav335b_defconfig | 1 + configs/cairo_defconfig | 1 + configs/calimain_defconfig | 1 + configs/cardhu_defconfig | 1 + configs/cgtqmx6eval_defconfig | 1 + configs/chromebook_jerry_defconfig | 1 + configs/cm-bf527_defconfig | 1 + configs/cm-bf533_defconfig | 1 + configs/cm-bf537e_defconfig | 1 + configs/cm-bf537u_defconfig | 1 + configs/cm-bf548_defconfig | 1 + configs/cm-bf561_defconfig | 1 + configs/cm_fx6_defconfig | 1 + configs/colibri_t20_defconfig | 1 + configs/colibri_t30_defconfig | 1 + configs/colibri_vf_defconfig | 1 + configs/controlcenterd_TRAILBLAZER_DEVELOP_defconfig | 1 + configs/controlcenterd_TRAILBLAZER_defconfig | 1 + configs/dalmore_defconfig | 1 + configs/dbau1000_defconfig | 1 + configs/dbau1100_defconfig | 1 + configs/dbau1500_defconfig | 1 + configs/dbau1550_defconfig | 1 + configs/dbau1550_el_defconfig | 1 + configs/devkit3250_defconfig | 1 + configs/digsy_mtc_RAMBOOT_defconfig | 1 + configs/digsy_mtc_defconfig | 1 + configs/digsy_mtc_rev5_RAMBOOT_defconfig | 1 + configs/digsy_mtc_rev5_defconfig | 1 + configs/dra7xx_evm_defconfig | 8 ++++---- configs/dra7xx_hs_evm_defconfig | 10 +++++----- configs/dserve_dsrv9703c_defconfig | 1 + configs/espt_defconfig | 1 + configs/evb-rk3036_defconfig | 1 + configs/firefly-rk3288_defconfig | 1 + configs/ge_b450v3_defconfig | 12 ++++++------ configs/ge_b650v3_defconfig | 12 ++++++------ configs/ge_b850v3_defconfig | 12 ++++++------ configs/grasshopper_defconfig | 1 + configs/gwventana_defconfig | 1 + configs/h8_homlet_v2_defconfig | 1 + configs/harmony_defconfig | 1 + configs/hikey_defconfig | 3 ++- configs/iNet_3F_defconfig | 1 + configs/iNet_3W_defconfig | 1 + configs/ibf-dsp561_defconfig | 1 + configs/ids8313_defconfig | 1 + configs/inet1_defconfig | 1 + configs/inet97fv2_defconfig | 1 + configs/inet9f_rev03_defconfig | 1 + configs/inka4x0_defconfig | 1 + configs/ip04_defconfig | 1 + configs/jesurun_q5_defconfig | 1 + configs/jetson-tk1_defconfig | 1 + configs/kwb_defconfig | 1 + configs/kylin-rk3036_defconfig | 1 + configs/legoev3_defconfig | 1 + configs/ls2080aqds_nand_defconfig | 18 ++++++++---------- configs/medcom-wide_defconfig | 1 + configs/microblaze-generic_defconfig | 1 + configs/mk802_defconfig | 1 + configs/mk802ii_defconfig | 1 + configs/ms7750se_defconfig | 1 + configs/mx23evk_defconfig | 1 + configs/mx25pdk_defconfig | 1 + configs/mx28evk_auart_console_defconfig | 1 + configs/mx28evk_defconfig | 1 + configs/mx28evk_nand_defconfig | 1 + configs/mx28evk_spi_defconfig | 1 + configs/mx31pdk_defconfig | 1 + configs/mx35pdk_defconfig | 1 + configs/mx51evk_defconfig | 1 + configs/mx53loco_defconfig | 1 + configs/mx6dlarm2_defconfig | 1 + configs/mx6dlarm2_lpddr2_defconfig | 1 + configs/mx6dlsabreauto_defconfig | 1 + configs/mx6dlsabresd_defconfig | 1 + configs/mx6qarm2_defconfig | 1 + configs/mx6qarm2_lpddr2_defconfig | 1 + configs/mx6qpsabreauto_defconfig | 1 + configs/mx6qsabreauto_defconfig | 1 + configs/mx6qsabrelite_defconfig | 1 + configs/mx6qsabresd_defconfig | 1 + configs/mx6sabresd_spl_defconfig | 1 + configs/mx6slevk_defconfig | 1 + configs/mx6slevk_spinor_defconfig | 1 + configs/mx6slevk_spl_defconfig | 1 + configs/mx6sxsabreauto_defconfig | 1 + configs/mx6sxsabresd_defconfig | 1 + configs/mx6sxsabresd_spl_defconfig | 1 + configs/mx6ul_14x14_evk_defconfig | 1 + configs/mx6ul_9x9_evk_defconfig | 1 + configs/mx7dsabresd_defconfig | 1 + configs/nitrogen6dl2g_defconfig | 1 + configs/nitrogen6dl_defconfig | 1 + configs/nitrogen6q2g_defconfig | 1 + configs/nitrogen6q_defconfig | 1 + configs/nitrogen6s1g_defconfig | 1 + configs/nitrogen6s_defconfig | 1 + configs/nyan-big_defconfig | 1 + configs/odroid-xu3_defconfig | 1 + configs/omap3_evm_quick_mmc_defconfig | 1 + configs/omap3_evm_quick_nand_defconfig | 1 + configs/omap3_logic_defconfig | 2 +- configs/orangepi_2_defconfig | 2 ++ configs/orangepi_one_defconfig | 2 ++ configs/orangepi_pc_defconfig | 1 + configs/orangepi_plus_defconfig | 2 ++ configs/ot1200_defconfig | 1 + configs/ot1200_spl_defconfig | 1 + configs/p2771-0000_defconfig | 1 + configs/paz00_defconfig | 1 + configs/pb1000_defconfig | 1 + configs/pcm051_rev1_defconfig | 1 + configs/pcm051_rev3_defconfig | 1 + configs/pico-imx6ul_defconfig | 1 + configs/pine64_plus_defconfig | 2 +- configs/platinum_picon_defconfig | 1 + configs/platinum_titanium_defconfig | 1 + configs/plutux_defconfig | 1 + configs/pov_protab2_ips9_defconfig | 1 + configs/qemu-ppce500_defconfig | 1 + configs/r2dplus_defconfig | 1 + configs/rock2_defconfig | 1 + configs/sandbox_defconfig | 8 ++++---- configs/seaboard_defconfig | 1 + configs/secomx6quq7_defconfig | 1 + configs/sh7763rdp_defconfig | 1 + configs/smdkv310_defconfig | 1 + configs/socrates_defconfig | 1 + configs/spear300_defconfig | 1 + configs/spear300_nand_defconfig | 1 + configs/spear300_usbtty_defconfig | 1 + configs/spear300_usbtty_nand_defconfig | 1 + configs/spear310_defconfig | 1 + configs/spear310_nand_defconfig | 1 + configs/spear310_pnor_defconfig | 1 + configs/spear310_usbtty_defconfig | 1 + configs/spear310_usbtty_nand_defconfig | 1 + configs/spear310_usbtty_pnor_defconfig | 1 + configs/spear320_defconfig | 1 + configs/spear320_nand_defconfig | 1 + configs/spear320_pnor_defconfig | 1 + configs/spear320_usbtty_defconfig | 1 + configs/spear320_usbtty_nand_defconfig | 1 + configs/spear320_usbtty_pnor_defconfig | 1 + configs/spear600_defconfig | 1 + configs/spear600_nand_defconfig | 1 + configs/spear600_usbtty_defconfig | 1 + configs/spear600_usbtty_nand_defconfig | 1 + configs/sunxi_Gemei_G9_defconfig | 1 + configs/tbs2910_defconfig | 1 + configs/tcm-bf518_defconfig | 1 + configs/tcm-bf537_defconfig | 1 + configs/tec-ng_defconfig | 1 + configs/tec_defconfig | 1 + configs/ti814x_evm_defconfig | 1 + configs/titanium_defconfig | 1 + configs/tqma6q_mba6_mmc_defconfig | 1 + configs/tqma6q_mba6_spi_defconfig | 1 + configs/tqma6s_mba6_mmc_defconfig | 1 + configs/tqma6s_mba6_spi_defconfig | 1 + configs/tqma6s_wru4_mmc_defconfig | 1 + configs/tricorder_defconfig | 1 + configs/tricorder_flash_defconfig | 1 + configs/trimslice_defconfig | 1 + configs/ts4800_defconfig | 1 + configs/tseries_mmc_defconfig | 1 + configs/tseries_nand_defconfig | 1 + configs/tseries_spi_defconfig | 1 + configs/udoo_defconfig | 1 + configs/venice2_defconfig | 1 + configs/ventana_defconfig | 1 + configs/vexpress_aemv8a_dram_defconfig | 1 + configs/vexpress_aemv8a_juno_defconfig | 1 + configs/vexpress_aemv8a_semi_defconfig | 1 + configs/vexpress_ca15_tc2_defconfig | 1 + configs/vexpress_ca5x2_defconfig | 1 + configs/vexpress_ca9x4_defconfig | 1 + configs/warp7_defconfig | 1 + configs/warp_defconfig | 1 + configs/whistler_defconfig | 1 + configs/xpress_defconfig | 1 + configs/xpress_spl_defconfig | 1 + include/configs/cobra5272.h | 4 ---- 278 files changed, 317 insertions(+), 67 deletions(-) ------------------------------------------------------------------------------- commit 5e4e87418e0f0e62854fe6c38736e2ee771ec3a7 Author: Tom Rini <trini@konsulko.com> Date: 2016-06-13 09:00:30 -0400 common/Kconfig: Change the default BOOTDELAY to 2 The value of 0 is fairly uncommon while 2 is one of the more common ones so switch. Signed-off-by: Tom Rini <trini@konsulko.com> Base directory -> / common/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 232d77e7238e41779f952094b302c47caea4d159 Author: Tom Rini <trini@konsulko.com> Date: 2016-06-17 09:33:06 -0400 Merge branch 'master' of git://git.denx.de/u-boot-ubi Base directory -> / common/splash_source.c | 59 ++++++++++++++++++++++++++++++++++++++++++++++---- include/splash.h | 2 ++ 2 files changed, 57 insertions(+), 4 deletions(-) ------------------------------------------------------------------------------- commit 1cb075c6c6ce1a46c3423e63013686e74457275c Author: Eran Matityahu <eran.m@variscite.com> Date: 2016-06-07 10:38:37 +0300 splash_source: add support for ubifs formatted nand Add support for loading splash image from NAND Flash formatted with a (UBI) filesystem. Signed-off-by: Eran Matityahu <eran.m@variscite.com> Cc: Heiko Schocher <hs@denx.de> Cc: Igor Grinberg <grinberg@compulab.co.il> Cc: Tom Rini <trini@konsulko.com> Cc: Nikita Kiryanov <nikita@compulab.co.il> Cc: Stefano Babic <sbabic@denx.de> Acked-by: Nikita Kiryanov <nikita@compulab.co.il> Base directory -> / common/splash_source.c | 59 ++++++++++++++++++++++++++++++++++++++++++++++---- include/splash.h | 2 ++ 2 files changed, 57 insertions(+), 4 deletions(-) ------------------------------------------------------------------------------- commit ef53b8c4ce2919d6685d2dc0c51a91a180433ff0 Author: Sriram Dash <sriram.dash@nxp.com> Date: 2016-06-13 09:58:36 +0530 usb: xhci: fsl: Add workaround for USB erratum A008751 This patch is doing the following: 1. Implementing the errata for LS2080. 2. Adding fixup for fdt for LS2080. Signed-off-by: Sriram Dash <sriram.dash@nxp.com> Signed-off-by: Rajesh Bhagat <rajesh.bhagat@nxp.com> Base directory -> / .../include/asm/arch-fsl-layerscape/immap_lsch3.h | 1 + board/freescale/ls2080aqds/ls2080aqds.c | 2 ++ board/freescale/ls2080ardb/ls2080ardb.c | 2 ++ drivers/usb/common/fsl-dt-fixup.c | 7 +++++++ drivers/usb/common/fsl-errata.c | 15 ++++++++++++++ drivers/usb/host/xhci-fsl.c | 24 ++++++++++++++++++++++ include/fsl_usb.h | 1 + 7 files changed, 52 insertions(+) ------------------------------------------------------------------------------- commit 32fbd46f38ed183ae92aabc0a2abd7847bc3363e Author: Sriram Dash <sriram.dash@nxp.com> Date: 2016-06-13 09:58:35 +0530 armv8/ls2080: Remove workaround for erratum A008751 This errata a008751 is applied on Soc specific file currently.This will be moved to a file where all the errata implementation will take place for usb for fsl. This patch removes the errata workaround from soc specific file for LS2080. Signed-off-by: Sriram Dash <sriram.dash@nxp.com> Signed-off-by: Rajesh Bhagat <rajesh.bhagat@nxp.com> Base directory -> / arch/arm/cpu/armv8/fsl-layerscape/soc.c | 10 ---------- 1 file changed, 10 deletions(-) ------------------------------------------------------------------------------- commit 92623672f9d3f1b4ea12ae1e2bcc0ad9fde5d2cb Author: Sriram Dash <sriram.dash@nxp.com> Date: 2016-06-13 09:58:34 +0530 fsl: usb: make errata function common for PPC and ARM This patch does the following things: 1. Makes the errata checking code common for PPC and ARM 2. Moves all these static inline functions into a dedicated C file Signed-off-by: Sriram Dash <sriram.dash@nxp.com> Signed-off-by: Rajesh Bhagat <rajesh.bhagat@nxp.com> Base directory -> / drivers/usb/common/Makefile | 4 +- drivers/usb/common/fsl-dt-fixup.c | 1 + drivers/usb/common/fsl-errata.c | 178 +++++++++++++++++++++++++++++++++++ include/fsl_usb.h | 191 ++------------------------------------ 4 files changed, 189 insertions(+), 185 deletions(-) ------------------------------------------------------------------------------- commit bf655775f5f97122605c96c0ecd41158c1147785 Author: Sriram Dash <sriram.dash@nxp.com> Date: 2016-06-13 09:58:33 +0530 usb: xhci: fsl: code cleanup for device tree fixup for fsl usb controllers Performs code cleanup for device tree fixup for fsl usb controllers by making functions to handle these similar errata checking code. Signed-off-by: Rajesh Bhagat <rajesh.bhagat@nxp.com> Signed-off-by: Sriram Dash <sriram.dash@nxp.com> Base directory -> / drivers/usb/common/fsl-dt-fixup.c | 94 +++++++++++++++++++++++---------------- 1 file changed, 56 insertions(+), 38 deletions(-) ------------------------------------------------------------------------------- commit 6fb522dc774db981e1c8463e71898287e039c5f4 Author: Sriram Dash <sriram.dash@nxp.com> Date: 2016-06-13 09:58:32 +0530 arm64: fsl-layerscape: add get_svr and IS_SVR_REV helper Adds get_svr and IS_SVR_REV helpers for ARMv8 platforms, similar to PPC and ARMv7. Signed-off-by: Sriram Dash <sriram.dash@nxp.com> Signed-off-by: Rajesh Bhagat <rajesh.bhagat@nxp.com> Base directory -> / arch/arm/cpu/armv8/fsl-layerscape/cpu.c | 7 +++++++ arch/arm/include/asm/arch-fsl-layerscape/immap_lsch2.h | 2 ++ arch/arm/include/asm/arch-fsl-layerscape/immap_lsch3.h | 3 +++ arch/arm/include/asm/arch-fsl-layerscape/soc.h | 2 ++ 4 files changed, 14 insertions(+) ------------------------------------------------------------------------------- commit 1653cd18eee1555e1fd4a8c2fd88048d53bdc619 Author: Steve Rae <srae@broadcom.com> Date: 2016-06-07 15:35:22 -0700 arm: bcm281xx: choose 8-bit phy bus width The Kona PHY supports an 8-bit wide UTMI interface, therefore, choose this Kconfig setting. Signed-off-by: Steve Rae <srae@broadcom.com> Base directory -> / configs/bcm11130_defconfig | 1 + configs/bcm11130_nand_defconfig | 1 + configs/bcm28155_ap_defconfig | 1 + configs/bcm28155_w1d_defconfig | 1 + 4 files changed, 4 insertions(+) ------------------------------------------------------------------------------- commit f221db0ed5b4c6580abb4ab6fde5cbabaa348350 Author: Steve Rae <srae@broadcom.com> Date: 2016-06-07 15:35:21 -0700 usb: dwc2_udc_otg: support 8-bit interface Define CONFIG_USB_GADGET_DWC2_OTG_PHY_BUS_WIDTH_8 to allow the physical interface to be 8-bit (rather than 16-bit). Signed-off-by: Steve Rae <srae@broadcom.com> Base directory -> / drivers/usb/gadget/Kconfig | 10 ++++++++++ drivers/usb/gadget/dwc2_udc_otg.c | 4 ++++ 2 files changed, 14 insertions(+) ------------------------------------------------------------------------------- commit 1736121b24f0cf05b08bac03035b9d34d52a5d99 Author: Lokesh Vutla <lokeshvutla@ti.com> Date: 2016-06-10 10:44:47 +0530 board: am437x-hs: spl: Select right dtb from fit Select a right dtb from FIT for am437x-hs platform. Reported-by: Madan Srinivas <madans@ti.com> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> Base directory -> / board/ti/am43xx/board.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit cc5cdaad42dc6672ca41c2a2848003a051350d02 Author: Lokesh Vutla <lokeshvutla@ti.com> Date: 2016-06-10 09:35:46 +0530 ti_omap5_common: Add right dtb file for AM572x-IDK Add proper dtb file name for AM572x-IDK in env. Reviewed-by: Tom Rini <trini@konsulko.com> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> Base directory -> / include/configs/ti_omap5_common.h | 2 ++ 1 file changed, 2 insertions(+) ------------------------------------------------------------------------------- commit 332dddc6a1290665963be3b74d3ec7a80d7bf1ae Author: Schuyler Patton <spatton@ti.com> Date: 2016-06-10 09:35:45 +0530 ARM: dts: AM572x-IDK Initial Support Add initial DTS support for AM572-IDK evm. Reviewed-by: Tom Rini <trini@konsulko.com> Signed-off-by: Schuyler Patton <spatton@ti.com> Signed-off-by: Nishanth Menon <nm@ti.com> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> Base directory -> / arch/arm/dts/Makefile | 3 +- arch/arm/dts/am572x-idk.dts | 89 +++++++++++ arch/arm/dts/am57xx-idk-common.dtsi | 302 ++++++++++++++++++++++++++++++++++++ board/ti/am57xx/board.c | 2 + configs/am57xx_evm_defconfig | 2 +- 5 files changed, 396 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit 5e8f29a08225016311d190363c68eeab5b8b4b7c Author: Lokesh Vutla <lokeshvutla@ti.com> Date: 2016-06-10 09:35:44 +0530 ARM: AM57xx: Enable FIT Enable FIT support for AM57xx platforms Reviewed-by: Tom Rini <trini@konsulko.com> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> Base directory -> / configs/am57xx_evm_defconfig | 4 ++++ 1 file changed, 4 insertions(+) ------------------------------------------------------------------------------- commit 7a0ea589ba8344eb39f864cb277b5056e37b50a7 Author: Lokesh Vutla <lokeshvutla@ti.com> Date: 2016-06-10 09:35:43 +0530 board: am57xx: fit: add support for selecting dtb dynamically FIT allows for a multiple dtb in a single image. SPL needs away to detect the right dtb to be used. Adding support for the same for am57xx platforms. Reviewed-by: Tom Rini <trini@konsulko.com> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> Base directory -> / board/ti/am57xx/board.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) ------------------------------------------------------------------------------- commit 165bd7a1cc1624750376eb291bcd3c46597b4148 Author: Lokesh Vutla <lokeshvutla@ti.com> Date: 2016-06-10 09:35:42 +0530 board: am57xx: Rename TARGET_BEAGLE_X15 as TARGET_AM57XX_EVM board/am57xx supports all boards based on am57xx. Rename the taget as TARGET_AM57XX_EVM. Fixes: 74cc8b097d9af ("board: ti: beagle_x15: Rename to indicate support for TI am57xx evms") Reviewed-by: Tom Rini <trini@konsulko.com> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> Base directory -> / arch/arm/cpu/armv7/omap5/Kconfig | 4 ++-- arch/arm/dts/Makefile | 2 +- board/ti/am57xx/Kconfig | 2 +- configs/am57xx_evm_defconfig | 2 +- configs/am57xx_evm_nodt_defconfig | 2 +- configs/am57xx_hs_evm_defconfig | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) ------------------------------------------------------------------------------- commit 9702ec00e95dbc1fd66ef8e9624c649e1ee818e5 Author: Eddy Petrișor <eddy.petrisor@gmail.com> Date: 2016-06-05 03:43:00 +0300 armv8: s32v234: Introduce basic support for s32v234evb Add initial support for NXP's S32V234 SoC and S32V234EVB board. The S32V230 family is designed to support computation-intensive applications for image processing. The S32V234, as part of the S32V230 family, is a high-performance automotive processor designed to support safe computation-intensive applications in the area of vision and sensor fusion. Code originally writen by: Original-signed-off-by: Stoica Cosmin-Stefan <cosminstefan.stoica@freescale.com> Original-signed-off-by: Mihaela Martinas <Mihaela.Martinas@freescale.com> Original-signed-off-by: Eddy Petrișor <eddy.petrisor@gmail.com> Signed-off-by: Eddy Petrișor <eddy.petrisor@nxp.com> Base directory -> / arch/arm/Kconfig | 5 + arch/arm/cpu/armv8/Makefile | 1 + arch/arm/cpu/armv8/s32v234/Makefile | 8 + arch/arm/cpu/armv8/s32v234/cpu.c | 97 +++++++ arch/arm/cpu/armv8/s32v234/cpu.h | 8 + arch/arm/cpu/armv8/s32v234/generic.c | 350 ++++++++++++++++++++++++ arch/arm/include/asm/arch-s32v234/clock.h | 34 +++ arch/arm/include/asm/arch-s32v234/ddr.h | 157 +++++++++++ arch/arm/include/asm/arch-s32v234/imx-regs.h | 329 ++++++++++++++++++++++ arch/arm/include/asm/arch-s32v234/lpddr2.h | 75 +++++ arch/arm/include/asm/arch-s32v234/mc_cgm_regs.h | 254 +++++++++++++++++ arch/arm/include/asm/arch-s32v234/mc_me_regs.h | 199 ++++++++++++++ arch/arm/include/asm/arch-s32v234/mc_rgm_regs.h | 31 +++ arch/arm/include/asm/arch-s32v234/mmdc.h | 89 ++++++ arch/arm/include/asm/arch-s32v234/siul.h | 150 ++++++++++ board/freescale/s32v234evb/Kconfig | 23 ++ board/freescale/s32v234evb/MAINTAINERS | 8 + board/freescale/s32v234evb/Makefile | 11 + board/freescale/s32v234evb/clock.c | 344 +++++++++++++++++++++++ board/freescale/s32v234evb/lpddr2.c | 137 ++++++++++ board/freescale/s32v234evb/s32v234evb.c | 183 +++++++++++++ board/freescale/s32v234evb/s32v234evb.cfg | 29 ++ configs/s32v234evb_defconfig | 6 + drivers/mmc/fsl_esdhc.c | 8 +- include/configs/s32v234evb.h | 260 ++++++++++++++++++ 25 files changed, 2792 insertions(+), 4 deletions(-) ------------------------------------------------------------------------------- commit 1f68dbc881d3169f2cd6093564b8e90e000cc034 Author: Stoica Cosmin-Stefan <cosminstefan.stoica@freescale.com> Date: 2016-06-05 03:42:59 +0300 serial: Introduce linflex uart support The Linflex module is integrated on some NXP automotive SoCs part of the former Freescale portfolio, like S32V234, an SoC for Advanced Driver Assistance Systems. Original-signed-off-by: Stoica Cosmin-Stefan <cosminstefan.stoica@freescale.com> Original-signed-off-by: Chircu Bogdan <Bogdan.Chircu@freescale.com> Original-signed-off-by: Depons Eric <eric.depons@freescale.com> Original-signed-off-by: Eddy Petrișor <eddy.petrisor@gmail.com> Signed-off-by: Eddy Petrișor <eddy.petrisor@gmail.com> Base directory -> / drivers/serial/Makefile | 1 + drivers/serial/serial_linflexuart.c | 223 ++++++++++++++++++++++++++++++++++++ 2 files changed, 224 insertions(+) ------------------------------------------------------------------------------- commit 43486e4cd094eabdd514ed7a2376ca55655e506f Author: Steve Rae <srae@broadcom.com> Date: 2016-06-02 15:10:56 -0700 board: arm:: Add support for Broadcom BCM23550 Add support for the Broadcom BCM23550 board. Signed-off-by: Steve Rae <srae@broadcom.com> Base directory -> / arch/arm/Kconfig | 5 + arch/arm/cpu/armv7/Makefile | 1 + arch/arm/cpu/armv7/bcm235xx/Makefile | 12 + arch/arm/cpu/armv7/bcm235xx/clk-bcm235xx.c | 573 ++++++++++++++++++++++++++++ arch/arm/cpu/armv7/bcm235xx/clk-bsc.c | 52 +++ arch/arm/cpu/armv7/bcm235xx/clk-core.c | 513 +++++++++++++++++++++++++ arch/arm/cpu/armv7/bcm235xx/clk-core.h | 491 ++++++++++++++++++++++++ arch/arm/cpu/armv7/bcm235xx/clk-eth.c | 143 +++++++ arch/arm/cpu/armv7/bcm235xx/clk-sdio.c | 73 ++++ arch/arm/cpu/armv7/bcm235xx/clk-usb-otg.c | 27 ++ arch/arm/cpu/armv7/kona-common/Makefile | 1 + arch/arm/cpu/armv7/kona-common/reset.S | 26 ++ arch/arm/include/asm/arch-bcm235xx/gpio.h | 15 + arch/arm/include/asm/arch-bcm235xx/sysmap.h | 31 ++ board/broadcom/bcm23550_w1d/Kconfig | 15 + board/broadcom/bcm23550_w1d/MAINTAINERS | 6 + board/broadcom/bcm23550_w1d/Makefile | 7 + board/broadcom/bcm23550_w1d/bcm23550_w1d.c | 120 ++++++ configs/bcm23550_w1d_defconfig | 24 ++ include/configs/bcm23550_w1d.h | 148 +++++++ 20 files changed, 2283 insertions(+) ------------------------------------------------------------------------------- commit 1e031249a53e38d9b8290fa99106477c231bf2dd Author: Tom Rini <trini@konsulko.com> Date: 2016-06-13 08:51:50 -0400 Merge branch 'master' of git://git.denx.de/u-boot-arc Base directory -> / arch/arc/include/asm/io.h | 95 +++++++++++++++++++++++++++++++++++------- arch/arc/lib/cache.c | 10 ++--- board/synopsys/axs101/axs101.c | 2 +- configs/axs103_defconfig | 2 +- 4 files changed, 86 insertions(+), 23 deletions(-) ------------------------------------------------------------------------------- commit f4abfed1de34e3fa18be4a8a156416cd6ed21f4a Author: Tom Rini <trini@konsulko.com> Date: 2016-06-13 08:51:21 -0400 Merge branch 'master' of git://git.denx.de/u-boot-ubi Base directory -> / common/env_ubi.c | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) ------------------------------------------------------------------------------- commit fd9102dafea5c6959401d0dbc5293a56d2261878 Author: Tom Rini <trini@konsulko.com> Date: 2016-06-13 08:50:58 -0400 Merge branch 'master' of git://git.denx.de/u-boot-atmel Base directory -> / README | 5 + arch/arm/cpu/arm1136/start.S | 2 + arch/arm/cpu/arm920t/start.S | 3 +- arch/arm/cpu/arm926ejs/start.S | 2 + arch/arm/cpu/arm946es/start.S | 2 + arch/arm/cpu/armv7/start.S | 5 +- arch/arm/cpu/sa1100/start.S | 2 + arch/arm/dts/Makefile | 1 + arch/arm/dts/at91sam9g45-gurnard.dts | 157 ++ arch/arm/dts/at91sam9g45.dtsi | 1335 ++++++++++ arch/arm/mach-at91/Kconfig | 9 + arch/arm/mach-at91/Makefile | 4 +- .../mach-at91/arm926ejs/at91sam9m10g45_devices.c | 18 + arch/arm/mach-at91/include/mach/at91_pmc.h | 16 +- arch/arm/mach-at91/include/mach/at91_rtc.h | 71 + arch/arm/mach-at91/include/mach/at91_sck.h | 21 + arch/arm/mach-at91/include/mach/at91sam9g45.h | 1 + arch/arm/mach-at91/include/mach/sama5_boot.h | 25 + arch/arm/mach-at91/include/mach/sama5d2.h | 12 - arch/arm/mach-at91/spl.c | 19 +- board/bluewater/gurnard/Kconfig | 12 + board/bluewater/gurnard/MAINTAINERS | 6 + board/bluewater/gurnard/Makefile | 11 + board/bluewater/gurnard/gurnard.c | 449 ++++ board/bluewater/gurnard/splash_logo.h | 2619 ++++++++++++++++++++ common/bootm.c | 2 +- configs/gurnard_defconfig | 20 + drivers/gpio/at91_gpio.c | 11 +- drivers/mtd/nand/atmel_nand.c | 5 +- drivers/net/macb.c | 320 ++- drivers/serial/atmel_usart.c | 19 + drivers/video/atmel_lcdfb.c | 197 +- include/atmel_lcd.h | 9 + include/configs/snapper9g45.h | 155 ++ include/dt-bindings/clock/at91.h | 23 + include/dt-bindings/dma/at91.h | 52 + include/dt-bindings/pinctrl/at91.h | 40 + include/linux/compat.h | 2 + lib/fdtdec.c | 2 +- net/bootp.c | 9 + 40 files changed, 5523 insertions(+), 150 deletions(-) ------------------------------------------------------------------------------- commit fc1e8fbbb2ea73139c2eadf2f174d6c3fc4ee03f Author: Alexey Brodkin <abrodkin@synopsys.com> Date: 2016-06-10 18:19:25 +0300 axs103: Bump CPU frequency from 50MHz to 100MHz In the upcoming release of axs103 v1.1 CPU will run @100MHz which we support with that change. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Base directory -> / configs/axs103_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 5bea2becf3b6897315fa01d8318df75526855745 Author: Alexey Brodkin <abrodkin@synopsys.com> Date: 2016-06-08 08:24:54 +0300 arc: Update data accessors with use of memory barriers Memory barriers are proven to be a requirement for both compiler and real hardware to properly serialize access to critical data. For example if CPU or data bus it uses may do reordering of data accesses absence of memory barriers might easily lead to very subtle and hard to debug data corruptions. This implementation was heavily borrowed from up to date Linux kernel. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Base directory -> / arch/arc/include/asm/io.h | 95 +++++++++++++++++++++++++++++++++++++++-------- 1 file changed, 79 insertions(+), 16 deletions(-) ------------------------------------------------------------------------------- commit c7d8db66ffd1c20b6a27445af892c28305e64e8a Author: Alexey Brodkin <abrodkin@synopsys.com> Date: 2016-06-08 08:19:33 +0300 board: axs10x: Flush entire cache after programming reset vector Now when we have support of IOC (IO-Coherency block) cahce operations on regions are tuned to not be dummy stubs if IOC was found and enabled in the core. That makes flush_dcache_range() useless for our purposes here. And since we do need to flush modified reset vector to at least L2 cache (AKA SLC) so other cores will see it via its L1 instruction cache we're using always functional flush_dcache_all() here. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Cc: Marek Vasut <marex@denx.de> Base directory -> / board/synopsys/axs101/axs101.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit a4a43fcf9cca1ebd3d26f9a01b923b7393d69c54 Author: Alexey Brodkin <abrodkin@synopsys.com> Date: 2016-06-08 08:04:03 +0300 arc/cache: Flush & invalidate all caches right before enabling IOC According to ARC HS databook it is required to flush and disable caches prior programming IOC registers. Otherwise ongoing coherent memory operations may not observe the coherency protocols as expected. But since in ARC HS v2.1 there's no way to disable SLC (AKA L2 cache) we're doing our best flushing and invalidating it. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Base directory -> / arch/arc/lib/cache.c | 3 +++ 1 file changed, 3 insertions(+) ------------------------------------------------------------------------------- commit bd91508b50ade5c73b3749bf4e5ede31d2da7ef8 Author: Alexey Brodkin <abrodkin@synopsys.com> Date: 2016-06-08 07:57:19 +0300 arc/cache: really do invalidate_dcache_all() even if IOC exists invalidate_dcache_all() could be used in different use-cases and what is especially important most of those cases won't be related to DMAed data to or from peripherals, i.e. we'll be doing invalidation of data used purely by CPU cores. Given that IOC engine only snoops data that goes through DMA we need to care ourselves about data used only by CPU cores and so remove dependency on IOC from invalidate_dcache_all() and always do real invalidation. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Base directory -> / arch/arc/lib/cache.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) ------------------------------------------------------------------------------- commit c1f51e0f3edca57273ff524714b69345ce627996 Author: Marcin Niestroj <m.niestroj@grinn-global.com> Date: 2016-05-24 14:59:55 +0200 common: env_ubi: Clear environment buffer before reading In case we have restarted u-boot there is a chance that environment buffer contains old environment (from the previous boot). If UBI volume is zero size, ubi_volume_read() doesn't modify the buffer and exits successfully. We need to clear buffer manually before reading it from UBI, so the invalid CRC will cause setting default environment in case that the UBI volume is zero size. Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com> Base directory -> / common/env_ubi.c | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) ------------------------------------------------------------------------------- commit a52142855a1345c233af8bb76fb1ad4d3048e008 Author: Tom Rini <trini@konsulko.com> Date: 2016-06-12 23:28:57 -0400 Merge branch 'master' of git://git.denx.de/u-boot-uniphier Base directory -> / include/configs/bfin_adi_common.h | 5 - include/configs/mx6_common.h | 3 - include/configs/mx7_common.h | 3 - include/configs/omap3_cairo.h | 2 - include/configs/stm32f429-discovery.h | 2 - tools/moveconfig.py | 703 +++++++++++++++++++--------------- tools/scripts/define2mk.sed | 2 + 7 files changed, 404 insertions(+), 316 deletions(-) ------------------------------------------------------------------------------- commit 3865b9ebe73eb6246ff2ab6ae7957f507eb539f7 Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-06-11 18:44:09 +0900 autoboot: follow-up cleanup after CONFIG_BOOTDELAY moves Tidy up garbage left by commit bb597c0eeb7e ("common: bootdelay: move CONFIG_BOOTDELAY into a Kconfig option"). Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Base directory -> / include/configs/bfin_adi_common.h | 5 ----- include/configs/mx6_common.h | 3 --- include/configs/mx7_common.h | 3 --- include/configs/omap3_cairo.h | 2 -- 4 files changed, 13 deletions(-) ------------------------------------------------------------------------------- commit 2c15534f6b5b2157b7c93b6d7c59e26989afb069 Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-06-11 18:44:08 +0900 ARM: stm32: remove unused CONFIG_AUTOBOOT At this point, this is not referenced from anywhere, so remove it (but it will be re-added later for a different meaning). Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Base directory -> / include/configs/stm32f429-discovery.h | 2 -- 1 file changed, 2 deletions(-) ------------------------------------------------------------------------------- commit cd51878e34f6beef8ec7b66886e5a23a64b88653 Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-06-11 18:44:10 +0900 tools: fix define2mk.sed to not add quotes around negative integers The sed script, tools/scripts/define2mk.sed, converts config defines from C headers into include/autoconf.mk for the use in Makefiles. I found the tool adds quotes around negative integer values. For example, at the point of the v2016.07-rc1 tag, include/configs/microblaze-generic.h defines #define CONFIG_BOOTDELAY -1 /* -1 disables auto-boot */ Because it is an integer option, it should be converted to: CONFIG_BOOTDELAY=-1 But, the script actually converts it to: CONFIG_BOOTDELAY="-1" This is a fatal problem for the tools/moveconfig.py because it parses include/autoconf.mk for the config defines from the board headers. CONFIG_BOOTDELAY="-1" is considered as a string type option and it is dropped due to the type mismatch from the entry in Kconfig. This commit fixes the script so that the tools/moveconfig.py can correctly convert integer options with a negative value. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Base directory -> / tools/scripts/define2mk.sed | 2 ++ 1 file changed, 2 insertions(+) ------------------------------------------------------------------------------- commit 6b96c1a1ca9e86e0f377f18dc470d054c4509c8a Author: Joe Hershberger <joe.hershberger@ni.com> Date: 2016-06-10 14:53:32 -0500 tools: moveconfig: Add a new --git-ref option This option allows the 'make autoconf.mk' step to run against a former repo state, while the savedefconfig step runs against the current repo state. This is convenient for the case where something in the Kconfig has changed such that the defconfig is no longer complete with the new Kconfigs. This feature allows the .config to be built assuming those old Kconfigs, but then savedefconfig based on the new state of the Kconfigs. If in doubt, always specify this switch. It will always do the right thing even if not required, but if it was required and you don't use it, the moved configs will be incorrect. When not using this switch, you must very carefully evaluate that all moved configs are correct. Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Reviewed-by: Masahiro Yamada <yamada.masahiro@socionext.com> Base directory -> / tools/moveconfig.py | 74 ++++++++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 68 insertions(+), 6 deletions(-) ------------------------------------------------------------------------------- commit 06cc1d36d0e5ae4954f60bce78f6ac2117c3b357 Author: Joe Hershberger <joe.hershberger@ni.com> Date: 2016-06-10 14:53:30 -0500 tools: moveconfig: New color used for changed defconfig The old color blends in with similar messages and makes them not stand out. Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Reviewed-by: Masahiro Yamada <yamada.masahiro@socionext.com> Base directory -> / tools/moveconfig.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit f2dae751fbaa029cd3b1fe13cb4710f5c52cbc8e Author: Joe Hershberger <joe.hershberger@ni.com> Date: 2016-06-10 14:53:29 -0500 tools: moveconfig: Fix another typo Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Reviewed-by: Masahiro Yamada <yamada.masahiro@socionext.com> Base directory -> / tools/moveconfig.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit e307fa9d89e0f12e900c0fe80c76453fc1c7c2b6 Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-06-08 11:47:37 +0900 tools: moveconfig: make Slot.poll() more readable with helper methods The Slot.poll() method is already complicated and a new feature we are going to add will make it more difficult to understand the execution flow. Refactor it with helper methods, .handle_error(), .do_defconfig(), .do_autoconf(), .do_savedefconfig, and .update_defconfig(). Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Base directory -> / tools/moveconfig.py | 110 ++++++++++++++++++++++++++++++++-------------------- 1 file changed, 67 insertions(+), 43 deletions(-) ------------------------------------------------------------------------------- commit 6a9f79f712dfce7c451c26120ffc112d3e1a88e7 Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-05-19 15:52:09 +0900 tools: moveconfig: allow to run without any CONFIG specified I found "tools/moveconfig -s" might be useful for defconfig re-sync. I could optimize it for re-sync if I wanted, but I do not want to make the code complex for this feature. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Joe Hershberger <joe.hershberger@ni.com> Base directory -> / tools/moveconfig.py | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) ------------------------------------------------------------------------------- commit 8513dc048598bba15f75ab3fbe257159cb27007a Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-05-19 15:52:08 +0900 tools: moveconfig: add --force-sync option Now, this tools invokes "make savedefconfig" only when it needs to do so, but there might be cases where a user wants the tool to do savedefconfig forcibly, for example, some defconfigs were already out of sync and the user wants to fix it as well. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Joe Hershberger <joe.hershberger@ni.com> Base directory -> / tools/moveconfig.py | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) ------------------------------------------------------------------------------- commit c8e1b10d07b1dbbf3cbf882ac270476b964d05ff Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-05-19 15:52:07 +0900 tools: moveconfig: report when defconfig is updated There are various factors that determine if the given defconfig is updated, and it is probably what users are more interested in. Show the log when the defconfig is updated. Also, copy the file only when the file content was really updated to avoid changing the time stamp needlessly. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Joe Hershberger <joe.hershberger@ni.com> Base directory -> / tools/moveconfig.py | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) ------------------------------------------------------------------------------- commit 5da4f857beac1cf859aefac3cf2ae980115ec1ae Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-05-19 15:52:06 +0900 tools: moveconfig: report when CONFIGs are removed by savedefconfig This is a rare case, but there is still possibility that some CONFIG is moved to the .config, but it is removed by "make savedefconfig". (For example, it happens when the specified CONFIG has no prompt in the Kconfig entry, i.e. it is not user-configurable.) It might be an unexpected case. So, display the log in this case (in yellow color to gain user's attention if --color option is given). Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Joe Hershberger <joe.hershberger@ni.com> Base directory -> / tools/moveconfig.py | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) ------------------------------------------------------------------------------- commit c1c4d0f056f0c0fc8ad6397ad3ad870948d8951e Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-05-19 15:52:05 +0900 tools: moveconfig: display log when savedefconfig occurs Now, "make savedefconfig" does not always happen. Display the log when it happens. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Joe Hershberger <joe.hershberger@ni.com> Base directory -> / tools/moveconfig.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 7fb0bacd389b9b041164965d31a8c50e8616f7a0 Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-05-19 15:52:04 +0900 tools: moveconfig: skip savedefconfig if .config was not updated If no CONFIG option is moved to the .config, no need to sync the defconfig file. This accelerates the processing by skipping needless "make savedefconfig". Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Joe Hershberger <joe.hershberger@ni.com> Base directory -> / tools/moveconfig.py | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) ------------------------------------------------------------------------------- commit 4efef998cda69edb162ea61e4a14f564133457d1 Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-05-19 15:52:03 +0900 tools: moveconfig: refactor code to go back to idle state Move similar code to finish() function. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Joe Hershberger <joe.hershberger@ni.com> Base directory -> / tools/moveconfig.py | 37 +++++++++++++++++-------------------- 1 file changed, 17 insertions(+), 20 deletions(-) ------------------------------------------------------------------------------- commit 1d085568b3def83b541ab0d7ee550c52f638eab5 Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-05-19 15:52:02 +0900 tools: moveconfig: display log atomically in more readable format Before this commit, the log was displayed in the format: <defconfig_name> : <action1> <defconfig_name> : <action2> <defconfig_name> : <action3> When we move multiple CONFIGs at the same time, we see as many <defconfig_name> strings as actions for every defconfig, which is redundant information. Moreover, since normal log and error log are displayed separately, Messages from different threads could be mixed, like this: <foo> : <action1> <foo> : <action2> <bar> : <action1> <bar> : <action2> <foo> : <error_log> This commit makes sure to call "print" once a defconfig, which enables atomic logging for each defconfig. It also makes it possible to refactor the log format as follows: <foo_defconfig> <action1> <action2> <error_log> <bar_defconfig> <action1> <action2> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Joe Hershberger <joe.hershberger@ni.com> Base directory -> / tools/moveconfig.py | 73 ++++++++++++++++++++++++++++++----------------------- 1 file changed, 42 insertions(+), 31 deletions(-) ------------------------------------------------------------------------------- commit 522e8dcb4c1d7a64fc19d1545d71b5ee356640bf Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-05-19 15:52:01 +0900 tools: moveconfig: move log output code out of Kconfig Parser class This will help further improvement/clean-up. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Joe Hershberger <joe.hershberger@ni.com> Base directory -> / tools/moveconfig.py | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) ------------------------------------------------------------------------------- commit 1f16992ee93595fa840aff55bdb722185cc31ca5 Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-05-19 15:52:00 +0900 tools: moveconfig: compute file paths just once The paths to .config, include/autoconf.mk, include/config/auto.conf are not changed during the defconfig walk. Compute them only once when a new class instance is created. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Joe Hershberger <joe.hershberger@ni.com> Base directory -> / tools/moveconfig.py | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) ------------------------------------------------------------------------------- commit b6ef393ad78706398c0d7ec3358172af7fc8a66b Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-05-19 15:51:58 +0900 tools: moveconfig: allow to give CONFIG names as argument directly We still pass the input file with CONFIG name, type, default value in each line, but the last two fields are just ignored by the tool. So, let's deprecate the input file and allow users to give CONFIG names directly from the command line. The types and default values are automatically detected and handled nicely by the tool. Going forward, we can use this tool more easily like: tools/moveconfig.py CONFIG_FOO CONFIG_BAR Update the documentation and fix some typos I noticed while I was working on. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Joe Hershberger <joe.hershberger@ni.com> Base directory -> / tools/moveconfig.py | 108 ++++++++++------------------------------------------ 1 file changed, 20 insertions(+), 88 deletions(-) ------------------------------------------------------------------------------- commit b134bc13543f2627d3044310151459eeb904216c Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-05-19 15:51:57 +0900 tools: moveconfig: drop code for handling type and default value Now types and defalut values given by the input file are just ignored. Delete unnecessary code. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Joe Hershberger <joe.hershberger@ni.com> Base directory -> / tools/moveconfig.py | 105 +++++++++++++++------------------------------------- 1 file changed, 29 insertions(+), 76 deletions(-) ------------------------------------------------------------------------------- commit cc008299f8526dbbd2cb9485799218a67757c4e2 Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-05-19 15:51:56 +0900 tools: moveconfig: do not rely on type and default value given by users Commit 96464badc794 ("moveconfig: Always run savedefconfig on the moved config") changed the work flow of this tool a lot from the original intention when this tool was designed first. Since then, before running this tool, users must edit the Kconfig to add the menu entries for the configs they are moving. It means users had already specified the type and the default value for each CONFIG via its Kconfig entry. Nevertheless, users are still required to dictate the same type and the default value in the input file. This is tedious to use. So, my idea here is to deprecate the latter. Before moving forward with it, there is one issue worth mentioning; since the savedefconfig re-sync was introduced, this tool has not been able to move bool options with "default y". Joe sent a patch to solve this problem about a year ago, but it was not applied for some reasons. Now, he came back with an updated patch, so this problem will be fixed soon. For other use cases, I see no reason to require redundant dictation in the input file. Instead, the tool can know the types and default values by parsing the .config file. This commit changes the tool to use the CONFIG names, but ignore the types and default values given by the input file. This commit also fixes one bug. Prior to this commit, it could not move an integer-typed CONFIG with value 1. For example, assume we are moving CONFIG_CONS_INDEX. Please note this is an integer type option. Many board headers define this CONFIG as 1. #define CONFIG_CONS_INDEX 1 It will be converted to CONFIG_CONS_INDEX=y and moved to include/autoconf.mk, by the tools/scripts/define2mk.sed. It will cause "make savedefconfig" to fail due to the type conflict. This commit takes care of it by detecting the type and converting the CONFIG value correctly. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Joe Hershberger <joe.hershberger@ni.com> Base directory -> / tools/moveconfig.py | 88 ++++++++++++++++++++++++++--------------------------- 1 file changed, 43 insertions(+), 45 deletions(-) ------------------------------------------------------------------------------- commit c5e60fd4954ccbeee4d7cd783b338c4783604547 Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-05-19 15:51:55 +0900 tools: moveconfig: increment number of processed files monotonically Currently, the progress " * defconfigs out of 1133" does not increase monotonically. Moreover, the number of processed defconfigs does not match the total number of defconfigs when this tool finishes, like: 1132 defconfigs out of 1133 Clean up headers? [y/n]: It looks like the task was not completed, and some users might feel upset about it. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Joe Hershberger <joe.hershberger@ni.com> Base directory -> / tools/moveconfig.py | 65 ++++++++++++++++++++++++++++++++++++++++------------- 1 file changed, 49 insertions(+), 16 deletions(-) ------------------------------------------------------------------------------- commit bd63e5baf9c1ec724374c6b6a5d88408479d34ca Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-05-19 15:51:54 +0900 tools: moveconfig: exit with error message for not clean directory When the source tree is not clean, this tool raises an exception with a message like follows: Traceback (most recent call last): File "tools/moveconfig.py", line 939, in <module> main() File "tools/moveconfig.py", line 934, in main move_config(config_attrs, options) File "tools/moveconfig.py", line 808, in move_config while not slots.available(): File "tools/moveconfig.py", line 733, in available if slot.poll(): File "tools/moveconfig.py", line 645, in poll self.parser.update_dotconfig(self.defconfig) File "tools/moveconfig.py", line 503, in update_dotconfig with open(autoconf_path) as f: IOError: [Errno 2] No such file or directory: '/tmp/tmpDtzCgl/include/autoconf.mk' This does not explain what is wrong. Show an appropriate error message "source tree is not clean, please run 'make mrproper'" in such a situation. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Joe Hershberger <joe.hershberger@ni.com> Base directory -> / tools/moveconfig.py | 8 ++++++++ 1 file changed, 8 insertions(+) ------------------------------------------------------------------------------- commit 90ed6cba51446f0e623ce076d6e565fad8909b46 Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-05-19 15:51:53 +0900 tools: moveconfig: check compilers before starting defconfig walk Since commit 25400090b1e2 ("moveconfig: Print a message for missing compiler"), this tool parses an error message every time an error occurs during the process in order to detect missing compiler. Instead of that, we can look for compilers in the PATH environment only once before starting the defconfig walk. If a desired compiler is missing, "make include/config/auto.conf" will apparently fail for that architecture. So, the tool can just skip those board, showing "Compiler is missing. Do nothing.". Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Joe Hershberger <joe.hershberger@ni.com> Base directory -> / tools/moveconfig.py | 71 ++++++++++++++++++++++++++++++++++++----------------- 1 file changed, 48 insertions(+), 23 deletions(-) ------------------------------------------------------------------------------- commit 4b430c983a57146633f1b9a9ca5ed7289215763f Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-05-19 15:51:52 +0900 tools: moveconfig: check directory location before compilers We must ensure this tool is run from the top of source directory before calling update_cross_compile(). Otherwise, the following exception is thrown: Traceback (most recent call last): File "./moveconfig.py", line 918, in <module> main() File "./moveconfig.py", line 908, in main update_cross_compile() File "./moveconfig.py", line 292, in update_cross_compile for arch in os.listdir('arch'): OSError: [Errno 2] No such file or directory: 'arch' Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Joe Hershberger <joe.hershberger@ni.com> Base directory -> / tools/moveconfig.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit ff8725bbe06b3b890beb2044c02ef332c8d028b4 Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-05-19 15:51:51 +0900 tools: moveconfig: remove redundant else: after sys.exit() Nesting by "else:" is not generally useful after such statements as return, break, sys.exit(), etc. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Joe Hershberger <joe.hershberger@ni.com> Base directory -> / tools/moveconfig.py | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) ------------------------------------------------------------------------------- commit 6ff36d21746d61d7a2af08ea0bd973059d91d306 Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-05-19 15:51:50 +0900 tools: moveconfig: rename update_defconfig() to update_dotconfig() Commit 96464badc794 ("moveconfig: Always run savedefconfig on the moved config") changed how defconfig files were updated. Since then, the function update_defconfig() does not modify defconfig files at all (instead, they are updated by "make savedefconfig"), so update_dotconfig() is a better fit for this function. Also, update the comment block to match the actual behavior. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Joe Hershberger <joe.hershberger@ni.com> Base directory -> / tools/moveconfig.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) ------------------------------------------------------------------------------- commit e423d17fccd8a8bd6f46aa69fe910e7cac77cd3b Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-05-19 15:51:49 +0900 tools: moveconfig: fix --dry-run option Since commit 96464badc794 ("moveconfig: Always run savedefconfig on the moved config"), --dry-run option is broken. The --dry-run option prevents the .config from being modified, but defconfig files might be updated by "make savedefconfig" regardless of the --dry-run option. Move the "if not self.options.dry_run" conditional to the correct place. Fixes 96464badc794 ("moveconfig: Always run savedefconfig on the moved config") Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Joe Hershberger <joe.hershberger@ni.com> Base directory -> / tools/moveconfig.py | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) ------------------------------------------------------------------------------- commit c1631c8a04f53e694dd73bbb987b97eed5188517 Author: Wenyou Yang <wenyou.yang@atmel.com> Date: 2016-06-01 08:36:56 +0800 serial: atmel_usart: Add device tree support Add device tree support. Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com> Reviewed-by: Andreas Bießmann <andreas@biessmann.org> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/serial/atmel_usart.c | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) ------------------------------------------------------------------------------- commit d3b6662086de317e0495edf9c4670772bff98211 Author: Marek Vasut <marex@denx.de> Date: 2016-05-14 23:43:19 +0200 ARM: at91: Fix PMC bit definitions Add missing parenthesis around the variable into the macro. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Andreas Bießmann <andreas.devel@googlemail.com> Base directory -> / arch/arm/mach-at91/include/mach/at91_pmc.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) ------------------------------------------------------------------------------- commit 1c24f13f694e94650211607dc0365d654577e259 Author: Marek Vasut <marex@denx.de> Date: 2016-05-14 23:43:01 +0200 ARM: at91: sama5: Extend boot device autodetection Extend the boot device autodetection from SAMA5D2 only to the entire SAMA5Dx family of microcontrollers. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Andreas Bießmann <andreas.devel@googlemail.com> Cc: Wenyou Yang <wenyou.yang@atmel.com> Reviewed-by: Andreas Bießmann <andreas@biessmann.org> [minor compile fix for SAMA5D2] Signed-off-by: Andreas Bießmann <andreas@biessmann.org> Base directory -> / arch/arm/mach-at91/Makefile | 4 ++-- arch/arm/mach-at91/include/mach/sama5_boot.h | 25 +++++++++++++++++++++++++ arch/arm/mach-at91/include/mach/sama5d2.h | 12 ------------ arch/arm/mach-at91/spl.c | 19 ++++++++++++------- 4 files changed, 39 insertions(+), 21 deletions(-) ------------------------------------------------------------------------------- commit 885fc03aab946d3c0a842aaf32f9513e3a7c8c20 Author: Andre Renaud <andre@designa-electronics.com> Date: 2016-05-05 07:28:22 -0600 arm: at91: Add support for gurnard This board is based on Snapper 9G45 which has an Atmel AT91SAM9G45 chip and 128MB of SDRAM. It includes a small LCD, 2xUSB host, SD card, Ethernet and two UARTs. Signed-off-by: Andre Renaud <andre@designa-electronics.com> Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Andreas Bießmann <andreas@biessmann.org> [apply CONFIG_BOOTDELAY transition] Signed-off-by: Andreas Bießmann <andreas@biessmann.org> Base directory -> / arch/arm/dts/at91sam9g45-gurnard.dts | 157 ++ arch/arm/mach-at91/Kconfig | 9 + board/bluewater/gurnard/Kconfig | 12 + board/bluewater/gurnard/MAINTAINERS | 6 + board/bluewater/gurnard/Makefile | 11 + board/bluewater/gurnard/gurnard.c | 449 ++++++ board/bluewater/gurnard/splash_logo.h | 2619 +++++++++++++++++++++++++++++++++ configs/gurnard_defconfig | 20 + include/configs/snapper9g45.h | 155 ++ 9 files changed, 3438 insertions(+) ------------------------------------------------------------------------------- commit 04b9dd10cc11e4f603a2bae9cf4cc21af1229534 Author: Simon Glass <sjg@chromium.org> Date: 2016-05-05 07:28:21 -0600 fdt: Correct return value in fdtdec_decode_display_timing() This should return a non-zero value if there is a missing property. Update the return value accordingly. The only expected error is -FDT_ERR_NOTFOUND. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Andreas Bießmann <andreas@biessmann.org> Base directory -> / lib/fdtdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 9dc89a053d29deea73c39ef49c9f1c6cb4c38820 Author: Simon Glass <sjg@chromium.org> Date: 2016-05-05 07:28:20 -0600 at91: video: Support driver-model for the LCD driver Add driver-model support to this driver. Most features can be controlled from the device tree. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Andreas Bießmann <andreas@biessmann.org> Base directory -> / drivers/video/atmel_lcdfb.c | 91 +++++++++++++++++++++++++++++++++++++++++++++ include/atmel_lcd.h | 9 +++++ 2 files changed, 100 insertions(+) ------------------------------------------------------------------------------- commit d63ec26a49a1ae8c0fd65c24e8c0b6c67b79cd01 Author: Simon Glass <sjg@chromium.org> Date: 2016-05-05 07:28:19 -0600 at91: video: Prepare for driver-model conversion Adjust the driver to use struct display_timing for its display timing. This is what is used by driver-model and allows the LCD init code to be common. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Andreas Bießmann <andreas@biessmann.org> Base directory -> / drivers/video/atmel_lcdfb.c | 106 +++++++++++++++++++++++++++++--------------- 1 file changed, 70 insertions(+), 36 deletions(-) ------------------------------------------------------------------------------- commit 88a7fffe382b9640099db4d655a36a3a0c68692d Author: Andreas Bießmann <andreas@biessmann.org> Date: 2016-06-04 22:27:22 +0200 linux/compat.h: add dev_warn() In order to prevent build errors for copied code from linux introduce dev_warn(). Suggested-by: Scott Wood <oss@buserror.net> Signed-off-by: Andreas Bießmann <andreas@biessmann.org> Acked-by: Simon Glass <sjg@chromium.org> Base directory -> / include/linux/compat.h | 2 ++ 1 file changed, 2 insertions(+) ------------------------------------------------------------------------------- commit b3ab0fc7dda96d1bb5e7315edef3741fce0140b8 Author: Simon Glass <sjg@chromium.org> Date: 2016-05-05 07:28:17 -0600 at91: Add driver-model GPIO devices for AT91SAM9G45 Add these definitions so that GPIOs can be used with driver model. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de> Tested-on: smartweb, corvus, taurus, axm Tested-by: Heiko Schocher <hs@denx.de> Reviewed-by: Andreas Bießmann <andreas@biessmann.org> Base directory -> / arch/arm/mach-at91/arm926ejs/at91sam9m10g45_devices.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) ------------------------------------------------------------------------------- commit 65319f15ca6ed1be6ca12576fe96a338352d45b7 Author: Andre Renaud <andre@designa-electronics.com> Date: 2016-05-05 07:28:15 -0600 at91: nand: Set up the ECC strength correctly This needs to be set to avoid a fatal error when ECC is used. Signed-off-by: Andre Renaud <andre@designa-electronics.com> Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Andreas Bießmann <andreas@biessmann.org> Base directory -> / drivers/mtd/nand/atmel_nand.c | 1 + 1 file changed, 1 insertion(+) ------------------------------------------------------------------------------- commit 5a9ae333161902475b14c7722208082c1ac28cff Author: Andre Renaud <andre@designa-electronics.com> Date: 2016-05-05 07:28:14 -0600 at91: Correct NAND ECC register access This uses the wrote base register value. Fix it. Signed-off-by: Andre Renaud <andre@designa-electronics.com> Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Andreas Bießmann <andreas@biessmann.org> Base directory -> / drivers/mtd/nand/atmel_nand.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit 01648f324df32aa2ec152b220bbd74a8511174d3 Author: Andre Renaud <andre@designa-electronics.com> Date: 2016-05-05 07:28:13 -0600 arm: at91: Add a header file for the real-time clock Add register definitions for the AT91 RTC so that this can potentially be used in U-Boot. Signed-off-by: Andre Renaud <andre@designa-electronics.com> Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de> Reviewed-by: Andreas Bießmann <andreas@biessmann.org> Base directory -> / arch/arm/mach-at91/include/mach/at91_rtc.h | 71 ++++++++++++++++++++++++++++++ 1 file changed, 71 insertions(+) ------------------------------------------------------------------------------- commit 6f9678567a57c5c82620c35a05a2f89c32cdd34d Author: Simon Glass <sjg@chromium.org> Date: 2016-05-05 07:28:12 -0600 arm: at91: dts: Bring in device tree file for AT91SAM9G45 Add this file from Linux v4.5. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de> Tested-on: smartweb, corvus, taurus, axm Tested-by: Heiko Schocher <hs@denx.de> Reviewed-by: Andreas Bießmann <andreas@biessmann.org> Base directory -> / arch/arm/dts/Makefile | 1 + arch/arm/dts/at91sam9g45.dtsi | 1335 ++++++++++++++++++++++++++++++++++++ include/dt-bindings/clock/at91.h | 23 + include/dt-bindings/dma/at91.h | 52 ++ include/dt-bindings/pinctrl/at91.h | 40 ++ 5 files changed, 1451 insertions(+) ------------------------------------------------------------------------------- commit f1dcc19b213df97127df9c6f4bec296ae2f91f38 Author: Simon Glass <sjg@chromium.org> Date: 2016-05-05 07:28:11 -0600 net: macb: Convert to driver model Add driver-model support to this driver. The old code remains for now so that we can convert boards one at a time. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de> Tested-on: smartweb, corvus, taurus, axm Tested-by: Heiko Schocher <hs@denx.de> Acked-by: Joe Hershberger <joe.hershberger@ni.com> Reviewed-by: Andreas Bießmann <andreas@biessmann.org> Base directory -> / drivers/net/macb.c | 119 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 119 insertions(+) ------------------------------------------------------------------------------- commit f589f8cca64bddb59fe2409c10ab14529ab47a40 Author: Simon Glass <sjg@chromium.org> Date: 2016-05-05 07:28:10 -0600 net: macb: Flush correct cache portion when sending The end address of the cache flush must be cache-line-aligned since otherwise (at least on ARM926-EJS) the request is ignored. When the cache is enabled this means that packets are not sent. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de> Acked-by: Joe Hershberger <joe.hershberger@ni.com> Reviewed-by: Andreas Bießmann <andreas@biessmann.org> Base directory -> / drivers/net/macb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit d5555b70e6cdbce4e1395f40c19a504015f93668 Author: Simon Glass <sjg@chromium.org> Date: 2016-05-05 07:28:09 -0600 net: macb: Prepare for driver-model conversion Adjust this driver to avoid using struct netdev in functions that driver model will call. Also refactor the receive function to be compatible with driver model. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de> Tested-on: smartweb, corvus, taurus, axm Tested-by: Heiko Schocher <hs@denx.de> Reviewed-by: Joe Hershberger <joe.hershberger@ni.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com> Reviewed-by: Andreas Bießmann <andreas@biessmann.org> Base directory -> / drivers/net/macb.c | 199 +++++++++++++++++++++++++++++++++-------------------- 1 file changed, 124 insertions(+), 75 deletions(-) ------------------------------------------------------------------------------- commit 166c409bc42627d9e19517f6ce121c39d0f52b65 Author: Andre Renaud <andre@designa-electronics.com> Date: 2016-05-05 07:28:08 -0600 net: Handle an empty bootp extension section Avoid generating this section if there is nothing in it. Signed-off-by: Andre Renaud <andre@designa-electronics.com> Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Joe Hershberger <joe.hershberger@ni.com> Base directory -> / net/bootp.c | 9 +++++++++ 1 file changed, 9 insertions(+) ------------------------------------------------------------------------------- commit b4d956f6bc0fe6ff9a5776cbce0fe97a344737a3 Author: Simon Glass <sjg@chromium.org> Date: 2016-05-05 07:28:07 -0600 bootm: Align cache flush end address correctly Flushing part of the cache should be done on cache boundaries. Trying to flush part of a cache line is not supported and the request may be ignored or print warnings. Adjust the bootm code to align the end address to prevent this problem. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de> Tested-on: smartweb, corvus, taurus, axm Tested-by: Heiko Schocher <hs@denx.de> Reviewed-by: Joe Hershberger <joe.hershberger@ni.com> Reviewed-by: Andreas Bießmann <andreas@biessmann.org> Base directory -> / common/bootm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit b5bd09820c79dc92b3e5fb5be4b47ce22c731443 Author: Simon Glass <sjg@chromium.org> Date: 2016-05-05 07:28:06 -0600 arm: Allow skipping of low-level init with I-cache on At present CONFIG_SKIP_LOWLEVEL_INIT prevents U-Boot from calling lowlevel_init(). This means that the instruction cache is not enabled and the board runs very slowly. What is really needed in many cases is to skip the call to lowlevel_init() but still perform CP15 init. Add an option to handle this. Reviewed-by: Heiko Schocher <hs@denx.de> Tested-on: smartweb, corvus, taurus, axm Tested-by: Heiko Schocher <hs@denx.de> Reviewed-by: Joe Hershberger <joe.hershberger@ni.com> Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Andreas Bießmann <andreas@biessmann.org> Base directory -> / README | 5 +++++ arch/arm/cpu/arm1136/start.S | 2 ++ arch/arm/cpu/arm920t/start.S | 3 ++- arch/arm/cpu/arm926ejs/start.S | 2 ++ arch/arm/cpu/arm946es/start.S | 2 ++ arch/arm/cpu/armv7/start.S | 5 ++++- arch/arm/cpu/sa1100/start.S | 2 ++ 7 files changed, 19 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit 909584665546ec51c54ac7d362f91fdabaef2cc2 Author: Andre Renaud <andre@designa-electronics.com> Date: 2016-05-05 07:28:05 -0600 at91: Add support for the AT91 slow clock controller This is available on AT91SAM9G45. Add the peripheral address and flag definitions. Signed-off-by: Andre Renaud <andre@designa-electronics.com> Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de> Reviewed-by: Andreas Bießmann <andreas@biessmann.org> Base directory -> / arch/arm/mach-at91/include/mach/at91_sck.h | 21 +++++++++++++++++++++ arch/arm/mach-at91/include/mach/at91sam9g45.h | 1 + 2 files changed, 22 insertions(+) ------------------------------------------------------------------------------- commit 152ac5fabf05daf6b0ae28f04d540b1e005c3ea1 Author: Marek Vasut <marex@denx.de> Date: 2016-05-04 23:05:23 +0200 gpio: at91: Fix pullup/pulldown configuration on PIO3 On systems with PIO3 (SAMA5D3/D4/..), the pullup and pulldown configuration is mutualy exclusive. This patch assures that the opposite pull resistor gets disabled before the requested pull resistor is enabled. This changes behavior of at91_set_pio_pulldown() such that the pullup is only disabled if pulldown is to be enabled. This changes behavior of at91_set_pio_pullup() such that the pulldown is only disabled if pullup is to be enabled. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Andreas Bießmann <andreas.devel@googlemail.com> Cc: Josh Wu <josh.wu@atmel.com> Cc: Simon Glass <sjg@chromium.org> Reviewed-by: Andreas Bießmann <andreas@biessmann.org> Base directory -> / drivers/gpio/at91_gpio.c | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) ------------------------------------------------------------------------------- commit 51c14cd128f4355514397dc3c8647fb14f7d8ff4 Author: Teddy Reed <teddy.reed@gmail.com> Date: 2016-06-09 19:18:44 -0700 verified-boot: Minimal support for booting U-Boot proper from SPL This allows a board to configure verified boot within the SPL using a FIT or FIT with external data. It also allows the SPL to perform signature verification without needing relocation. The board configuration will need to add the following feature defines: CONFIG_SPL_CRYPTO_SUPPORT CONFIG_SPL_HASH_SUPPORT CONFIG_SPL_SHA256 In this example, SHA256 is the only selected hashing algorithm. And the following booleans: CONFIG_SPL=y CONFIG_SPL_DM=y CONFIG_SPL_LOAD_FIT=y CONFIG_SPL_FIT=y CONFIG_SPL_OF_CONTROL=y CONFIG_SPL_OF_LIBFDT=y CONFIG_SPL_FIT_SIGNATURE=y Signed-off-by: Teddy Reed <teddy.reed@gmail.com> Acked-by: Simon Glass <sjg@chromium.org> Acked-by: Andreas Dannenberg <dannenberg@ti.com> Acked-by: Sumit Garg <sumit.garg@nxp.com> Base directory -> / Kconfig | 11 +++++++++++ common/Makefile | 1 + drivers/Makefile | 1 + drivers/crypto/rsa_mod_exp/mod_exp_sw.c | 1 + lib/Makefile | 9 ++++----- lib/rsa/Kconfig | 4 ++++ lib/rsa/Makefile | 2 +- 7 files changed, 23 insertions(+), 6 deletions(-) ------------------------------------------------------------------------------- commit 7147a7ebd26fd0037b473343f0db2e2a98d19555 Author: Andrew F. Davis <afd@ti.com> Date: 2016-06-08 10:19:14 -0500 ti_armv7_common: env: Remove no longer needed mem_reserve The kernel can now use DT to reserve memory carveouts and these areas are now the default for drivers that need reserved memory, so reserving more here is unneeded and any memory reserved this way will be wasted. Signed-off-by: Andrew F. Davis <afd@ti.com> Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com> Base directory -> / include/configs/ti_armv7_keystone2.h | 1 - 1 file changed, 1 deletion(-) ------------------------------------------------------------------------------- commit 666362356e1ccc0df91c03b1d3f97939968b9c04 Author: Michael Trimarchi <michael@amarulasolutions.com> Date: 2016-06-08 10:18:16 +0200 cmd: gpt: add - partition size parsing This patch try to parse name=userdata,size=-,uuid=${uuid_gpt_userdata}; gpt mmc write 0 $partitions gpt mmc verify 0 $partitions Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / cmd/gpt.c | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit 1428d8327006445a861e347e8b1640e8eb9c5edf Author: Keerthy <j-keerthy@ti.com> Date: 2016-06-07 16:05:25 +0530 arm: dra7xx: Assign omap_vcores based on board type Currently omap_vcores which holds pmic data is being assigned based on the SoC type. PMIC is not a part of SoC. It is logical to to assign omap_vcores based on board type. Hence over ride the vcores_init function and assign omap_vcores based on the board type. Reported-by: Nishanth Menon <nm@ti.com> Signed-off-by: Keerthy <j-keerthy@ti.com> Base directory -> / arch/arm/cpu/armv7/omap5/hw_data.c | 78 -------------------------------- board/ti/dra7xx/evm.c | 91 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 91 insertions(+), 78 deletions(-) ------------------------------------------------------------------------------- commit 672a45e828039c20e5165af95623554bdc31862d Author: Tom Rini <trini@konsulko.com> Date: 2016-06-12 12:52:33 -0400 Merge branch 'master' of http://git.denx.de/u-boot-sunxi Base directory -> / arch/arm/include/asm/arch-sunxi/clock_sun6i.h | 5 +++++ configs/Mele_A1000G_quad_defconfig | 1 + configs/Wobo_i5_defconfig | 2 ++ drivers/usb/musb-new/sunxi.c | 7 +++++++ include/configs/sunxi-common.h | 5 ++--- 5 files changed, 17 insertions(+), 3 deletions(-) ------------------------------------------------------------------------------- commit b10335009667fee493fbce59bbeb0504d0ca9ff0 Author: Tom Rini <trini@konsulko.com> Date: 2016-06-12 12:52:19 -0400 Merge branch 'master' of git://git.denx.de/u-boot-mips Base directory -> / arch/mips/Kconfig | 2 +- arch/mips/lib/cache.c | 2 +- drivers/spi/Kconfig | 8 + drivers/spi/Makefile | 1 + drivers/spi/pic32_spi.c | 448 ++++++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 459 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit 3fc304b8d77ce6646d38ae506e9fae74b9975631 Author: Tom Rini <trini@konsulko.com> Date: 2016-06-12 12:51:34 -0400 Merge branch 'master' of git://www.denx.de/git/u-boot-imx Base directory -> / arch/arm/cpu/arm926ejs/mxs/mxs.c | 4 +- arch/arm/cpu/armv7/mx6/clock.c | 42 +++++------ arch/arm/cpu/armv7/mx6/ddr.c | 10 ++- arch/arm/cpu/armv7/mx6/soc.c | 26 +++++-- arch/arm/cpu/armv7/mx7/soc.c | 8 +++ arch/arm/imx-common/hab.c | 53 ++++++-------- arch/arm/imx-common/init.c | 5 +- arch/arm/imx-common/iomux-v3.c | 2 +- arch/arm/imx-common/sata.c | 2 +- arch/arm/imx-common/timer.c | 11 +-- arch/arm/include/asm/imx-common/sys_proto.h | 8 +++ board/freescale/mx6qsabreauto/mx6qsabreauto.c | 37 +--------- board/freescale/mx6sabresd/mx6sabresd.c | 4 +- board/freescale/mx6slevk/mx6slevk.c | 16 ++--- board/gateworks/gw_ventana/README | 17 ++--- board/gateworks/gw_ventana/common.c | 100 ++++++++++++++++++++++---- board/gateworks/gw_ventana/common.h | 3 + board/gateworks/gw_ventana/eeprom.c | 34 +-------- board/gateworks/gw_ventana/gsc.c | 61 ++++++++++++++-- board/gateworks/gw_ventana/gw_ventana.c | 69 ++++++++++++++++-- board/gateworks/gw_ventana/gw_ventana_spl.c | 45 ++++++++++-- board/gateworks/gw_ventana/ventana_eeprom.h | 1 + board/ge/bx50v3/bx50v3.c | 3 + configs/ge_b450v3_defconfig | 12 ++-- configs/ge_b650v3_defconfig | 12 ++-- configs/ge_b850v3_defconfig | 12 ++-- drivers/block/dwc_ahsata.c | 2 +- drivers/misc/mxc_ocotp.c | 4 +- drivers/mtd/nand/mxs_nand.c | 2 +- drivers/net/fec_mxc.c | 2 +- include/configs/ge_bx50v3.h | 41 +++++++---- include/configs/gw_ventana.h | 42 ++++++----- include/configs/ts4800.h | 19 +++-- 33 files changed, 459 insertions(+), 250 deletions(-) ------------------------------------------------------------------------------- commit b57129dbdade13ee152daf15a4221d8582f48387 Author: Tom Rini <trini@konsulko.com> Date: 2016-06-12 09:55:16 -0400 Merge branch 'master' of git://git.denx.de/u-boot-x86 Base directory -> / arch/x86/cpu/cpu.c | 5 +++++ arch/x86/dts/bayleybay.dts | 22 +++++++++++++++++++++- arch/x86/dts/conga-qeval20-qa3-e3845.dts | 18 +++++++++++++++++- arch/x86/dts/minnowmax.dts | 18 +++++++++++++++++- arch/x86/lib/acpi_table.c | 12 ++++++------ configs/coreboot-x86_defconfig | 2 ++ configs/qemu-x86_defconfig | 2 ++ .../gpio/intel,x86-pinctrl.txt | 16 ++++++++-------- drivers/gpio/intel_broadwell_gpio.c | 7 ------- drivers/gpio/intel_ich6_gpio.c | 5 ----- 10 files changed, 78 insertions(+), 29 deletions(-) ------------------------------------------------------------------------------- commit 9769e05bcf79939bad23a719982dd1f85a110f3c Author: Bin Meng <bmeng.cn@gmail.com> Date: 2016-06-08 05:07:39 -0700 x86: broadwell: gpio: Remove the codes to set up pin control Now that we have set up pin control in cpu_init_r(), remove the duplicated codes in the broadwell gpio driver. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Stefan Roese <sr@denx.de> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/gpio/intel_broadwell_gpio.c | 7 ------- 1 file changed, 7 deletions(-) ------------------------------------------------------------------------------- commit d8906c1f3fd9e437066a9de7ff2de306696a7598 Author: Bin Meng <bmeng.cn@gmail.com> Date: 2016-06-08 05:07:38 -0700 x86: Probe pinctrl driver in cpu_init_r() At present pinctrl driver gets probed in ich6_gpio driver's probe routine, which has two issues: - Pin's PADs only gets configured when GPIO driver is probed, which is not done by default. This leaves the board in a partially functional state as we must initialize PADs correctly to get perepherals fully working. - The probe routine of pinctrl driver is called multiple times, as normally there are multiple GPIO controllers. It should really be called just once. Move the call to syscon_get_by_driver_data() from ich6_gpio driver to cpu_init_r(). Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Stefan Roese <sr@denx.de> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: George McCollister <george.mccollister@gmail.com> Tested-by: George McCollister <george.mccollister@gmail.com> Base directory -> / arch/x86/cpu/cpu.c | 5 +++++ drivers/gpio/intel_ich6_gpio.c | 7 ------- 2 files changed, 5 insertions(+), 7 deletions(-) ------------------------------------------------------------------------------- commit 2f29c83eec16b806947c6a224c3a3f70bc31edc9 Author: Bin Meng <bmeng.cn@gmail.com> Date: 2016-06-08 05:07:37 -0700 x86: Enable regmap and syscon for coreboot and qemu-x86 These are generic and should be turned on on coreboot and qemu-x86. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Stefan Roese <sr@denx.de> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / configs/coreboot-x86_defconfig | 2 ++ configs/qemu-x86_defconfig | 2 ++ 2 files changed, 4 insertions(+) ------------------------------------------------------------------------------- commit 2600ba6de07d80407308c632c7bfa3a538b36549 Author: Bin Meng <bmeng.cn@gmail.com> Date: 2016-06-08 05:07:36 -0700 x86: Update x86-pinctrl driver device-tree-bindings doc This updates the device-tree-bindings doc for x86-pinctrl driver: - clarify "gpio-offset" is required only when "mode-gpio" is set - correct property name "pull-strength" - use tab instead of space at several places Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Stefan Roese <sr@denx.de> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / doc/device-tree-bindings/gpio/intel,x86-pinctrl.txt | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) ------------------------------------------------------------------------------- commit f7a01e4848a97935985f58e5cd1b133dad298323 Author: Bin Meng <bmeng.cn@gmail.com> Date: 2016-06-08 05:07:35 -0700 x86: baytrail: Configure card detect pin of the SD controller As of today, the latest version FSP (gold4) for BayTrail misses the PAD configuration of the SD controller's Card Detect signal. The default PAD value for the CD pin sets the pin to work in GPIO mode, which causes card detect status cannot be reflected by the Present State register in the SD controller (bit 16 & bit 18 are always zero). Add a configuration for this pin in the pinctrl node. Note I've checked the PAD configuration for all the pins in all the 3 controllers (eMMC/SDIO/SD). Only this SDMMC3_CD_B pin does not get initialized to correct mode by FSP. With fsp,emmc-boot-mode set to 2 (eMMC 4.1), eMMC pins are initialized to func 1, but if we set fsp,emmc-boot-mode to 1 (auto), those pins are initialized to func 3 which is correct according to datasheet. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Stefan Roese <sr@denx.de> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/x86/dts/bayleybay.dts | 15 +++++++++++++++ arch/x86/dts/conga-qeval20-qa3-e3845.dts | 15 +++++++++++++++ arch/x86/dts/minnowmax.dts | 15 +++++++++++++++ 3 files changed, 45 insertions(+) ------------------------------------------------------------------------------- commit 58d1fedb1f7d1a65918dcdc82c53f83b4c813368 Author: Bin Meng <bmeng.cn@gmail.com> Date: 2016-06-08 05:07:34 -0700 x86: baytrail: Change fsp, emmc-boot-mode to "auto" At present all BayTrail boards configure fsp,emmc-boot-mode to 2, which means "eMMC 4.1" per FSP documentation. However, eMMC 4.1 only shows up on some early stepping silicon of BayTrail SoC. Newer stepping SoC integrates an eMMC 4.5 controller. Intel FSP provides a config option fsp,emmc-boot-mode which tells FSP which eMMC controller it initializes. Instead of hardcoded to 2, now we change it to 1 which means "auto". With this change, MinnowMax board (with a D0 stepping BayTrail SoC) can see the eMMC 4.5 controller at PCI address 00.17.00 via U-Boot 'pci' command. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Stefan Roese <sr@denx.de> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/x86/dts/bayleybay.dts | 2 +- arch/x86/dts/conga-qeval20-qa3-e3845.dts | 2 +- arch/x86/dts/minnowmax.dts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) ------------------------------------------------------------------------------- commit e264e3cc5be81548c6f102b6b597a474e5bd4f20 Author: Bin Meng <bmeng.cn@gmail.com> Date: 2016-06-08 05:07:33 -0700 x86: baytrail: Add 'reg' property in the pinctrl node Without a 'reg' property, pinctrl driver probe routine fails in its pre_probe() with a return value of -EINVAL. Add 'reg' property for all BayTrail boards. Note for BayleyBay, the pinctrl node is newly added. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Stefan Roese <sr@denx.de> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/x86/dts/bayleybay.dts | 5 +++++ arch/x86/dts/conga-qeval20-qa3-e3845.dts | 1 + arch/x86/dts/minnowmax.dts | 1 + 3 files changed, 7 insertions(+) ------------------------------------------------------------------------------- commit 8142340ee3847c6422294fad0f1adc01c9d27e2b Author: Bin Meng <bmeng.cn@gmail.com> Date: 2016-06-08 05:07:32 -0700 x86: ich6_gpio: Output return value of syscon_get_by_driver_data() The call to syscon_get_by_driver_data() does not save its return value. Print it out to aid debugging. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Stefan Roese <sr@denx.de> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/gpio/intel_ich6_gpio.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 8a1a7595cfbcb12d01a5c1f486ebfd50af90c34c Author: George McCollister <george.mccollister@gmail.com> Date: 2016-06-07 13:40:18 -0500 x86: acpi: Fix madt lapic generation An accumulated length was incorrectly added to current each pass through the loop. On system with more than 2 cores this caused a corrupt MADT to be generated. Signed-off-by: George McCollister <george.mccollister@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Base directory -> / arch/x86/lib/acpi_table.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) ------------------------------------------------------------------------------- commit a646f6698173ef4ff34c414f91541b4b8f014de1 Author: Yuan Yao <yao.yuan@nxp.com> Date: 2016-06-08 18:25:00 +0800 armv8: ls2080aqds: Enable QSPI boot support This patch adds QSPI boot support for LS2080AQDS board. The QSPI boot image need to be programmed into the QSPI flash first. Then we can switch to booting from QSPI memory space. Signed-off-by: Yuan Yao <yao.yuan@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / arch/arm/include/asm/arch-fsl-layerscape/cpu.h | 4 +++ board/freescale/ls2080aqds/ls2080aqds.c | 2 ++ configs/ls2080aqds_qspi_defconfig | 37 ++++++++++++++++++++++++++ include/configs/ls2080a_common.h | 2 ++ include/configs/ls2080aqds.h | 10 +++++++ 5 files changed, 55 insertions(+) ------------------------------------------------------------------------------- commit 01de8304028275b2b7650b5f601e87ce63006e19 Author: Yuan Yao <yao.yuan@nxp.com> Date: 2016-06-08 18:24:59 +0800 configs: ls2080aqds_nand_defconfig: Enable QSPI The Freescale QSPI driver has been converted to Driver Model. This patch enables FSL_QSPI and its dependence options, DM, DM_SPI, OF_CONTROL and so on. Signed-off-by: Yuan Yao <yao.yuan@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / configs/ls2080aqds_nand_defconfig | 9 +++++++++ 1 file changed, 9 insertions(+) ------------------------------------------------------------------------------- commit 74cac00c95efaa06649529adcc3d1b6e9e8cefb7 Author: Yuan Yao <yao.yuan@nxp.com> Date: 2016-06-08 18:24:58 +0800 configs: ls2080a: Increase load image len in NAND boot Signed-off-by: Yuan Yao <yao.yuan@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / include/configs/ls2080a_common.h | 2 +- include/configs/ls2080aqds.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit 453418f2d2df33f370754582b7e21d2513e2ee28 Author: Yuan Yao <yao.yuan@nxp.com> Date: 2016-06-08 18:24:57 +0800 armv8: ls2080aqds: Config QSPI pin mux via FPGA in NAND boot Signed-off-by: Yuan Yao <yao.yuan@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / arch/arm/include/asm/arch-fsl-layerscape/immap_lsch3.h | 2 ++ board/freescale/ls2080aqds/ls2080aqds.c | 9 +++++++++ include/configs/ls2080aqds.h | 6 ++++++ 3 files changed, 17 insertions(+) ------------------------------------------------------------------------------- commit 95ab851de0de317e07a843d23bfaeb89d94575f8 Author: Yuan Yao <yao.yuan@nxp.com> Date: 2016-06-08 18:24:56 +0800 dts: ls2080aqds: Add QSPI dts node Add QSPI controller and slave dts node for LS2080AQDS board. Signed-off-by: Yuan Yao <yao.yuan@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / arch/arm/dts/fsl-ls2080a-qds.dts | 14 ++++++++++++++ arch/arm/dts/fsl-ls2080a.dtsi | 10 ++++++++++ 2 files changed, 24 insertions(+) ------------------------------------------------------------------------------- commit b718d371571c0440c21ba0a4241a23b13959800b Author: Yuan Yao <yao.yuan@nxp.com> Date: 2016-06-08 18:24:55 +0800 configs: ls2080aqds: Enable QSPI flash support Enable QSPI flash related configure options. Signed-off-by: Yuan Yao <yao.yuan@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / include/configs/ls2080aqds.h | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 8c77ef85405dd319f0469d007630b548afb2d401 Author: Yuan Yao <yao.yuan@nxp.com> Date: 2016-06-08 18:24:54 +0800 armv8: ls2080aqds: disable IFC NOR & QIXIS when QSPI enable When QSPI is enabled, NOR flash and QIXIS can't be accessed through IFC due to pin mux. Enable I2C QIXIS access and I2C early init to read the sysclk and ddrclk. Signed-off-by: Yuan Yao <yao.yuan@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / board/freescale/ls2080aqds/ls2080aqds.c | 3 +++ include/configs/ls2080aqds.h | 10 ++++++++++ 2 files changed, 13 insertions(+) ------------------------------------------------------------------------------- commit 82d13340e9d051f193d46596343aa692b0acd92c Author: Yuan Yao <yao.yuan@nxp.com> Date: 2016-06-08 18:24:53 +0800 configs: ls2080a_common: Remove duplicate NOR configs The NOR flash related configure options appear in ls2080aqds.h and ls2080ardb.h, and the two files both includ ls2080a_common.h. This patch remove the duplicated options in ls2080a_common.h. Signed-off-by: Yuan Yao <yao.yuan@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / include/configs/ls2080a_common.h | 7 ------- include/configs/ls2080a_simu.h | 7 +++++++ 2 files changed, 7 insertions(+), 7 deletions(-) ------------------------------------------------------------------------------- commit 916d9f099edcb2a020ec3f291f0fa0e6fab0f9a5 Author: Yuan Yao <yao.yuan@nxp.com> Date: 2016-06-08 18:24:52 +0800 armv8: ls2080aqds: Select QSPI CLK div via SCFG QSPI module output SCLK divisor value is configured through SCFG. Signed-off-by: Yuan Yao <yao.yuan@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / arch/arm/include/asm/arch-fsl-layerscape/immap_lsch3.h | 1 + board/freescale/ls2080aqds/ls2080aqds.c | 5 +++++ 2 files changed, 6 insertions(+) ------------------------------------------------------------------------------- commit 9d10c2d3fe6852501a4c43853fe3d2469903a2bb Author: Yuan Yao <yao.yuan@nxp.com> Date: 2016-06-08 18:24:51 +0800 drivers: i2c: mxc: Add early init Add early i2c init function with conservative divider when the exact clock rate is not available. Signed-off-by: Yuan Yao <yao.yuan@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / drivers/i2c/i2c_core.c | 5 +++++ drivers/i2c/mxc_i2c.c | 27 +++++++++++++++++++++++++++ include/i2c.h | 3 +++ 3 files changed, 35 insertions(+) ------------------------------------------------------------------------------- commit 30677deefdf57a8a2d12a766117ea861ca38f52c Author: Pratiyush Mohan Srivastava <pratiyush.srivastava@nxp.com> Date: 2016-01-20 12:29:03 +0530 board: ls2080a: Add "mcinitcmd" env for MC & DPL deployment Environment variable mcinitcmd is defined to initiate MC and DPL deployment from the location where it is stored (NOR, NAND, SD, SATA, USB) during booting. If this variable is not defined then macro MC_BOOT_ENV_VAR will be null and MC will not be booted and DPL will not be applied during U-boot booting. Signed-off-by: Pratiyush Mohan Srivastava <pratiyush.srivastava@nxp.com> Signed-off-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / arch/arm/cpu/armv8/fsl-layerscape/doc/README.lsch3 | 29 ++++++++++++++++++++++ board/freescale/ls2080aqds/eth.c | 5 ++++ board/freescale/ls2080ardb/eth_ls2080rdb.c | 5 ++++ 3 files changed, 39 insertions(+) ------------------------------------------------------------------------------- commit a758177f9b9a567df2e8e6e57ac905ada24d8d9c Author: Yunhui Cui <yunhui.cui@nxp.com> Date: 2016-06-08 10:31:42 +0800 armv8/ls2080a: configure PMU's PCTBENR to enable WDT The SP805-WDT module on LS2080A requires configuration of PMU's PCTBENR register to enable watchdog counter decrement and reset signal generation. The watchdog clock needs to be enabled first. Signed-off-by: Yunhui Cui <yunhui.cui@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / arch/arm/cpu/armv8/fsl-layerscape/cpu.c | 12 ++++++++++++ arch/arm/include/asm/arch-fsl-layerscape/immap_lsch3.h | 1 + 2 files changed, 13 insertions(+) ------------------------------------------------------------------------------- commit 1a83fb4a17d959d7b037999ab7ed7e62429abe34 Author: Siarhei Siamashka <siarhei.siamashka@gmail.com> Date: 2016-05-31 01:48:06 +0300 sunxi: Move the SPL stack top to 0x1A000 on Allwinner A64/A80 Since the SRAM C corruption issue is now resolved on Allwinner A64, it is possible to move the stack top to the address 0x1A000 on both A64 and A80. The boot ROM can load SPL binaries with up to 32 KiB size on A64 (the 24 KiB SPL size limitation only affects A10/A20), and this patch also ensures the availability of 8 KiB stack. Signed-off-by: Siarhei Siamashka <siarhei.siamashka@gmail.com> Acked-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Base directory -> / include/configs/sunxi-common.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) ------------------------------------------------------------------------------- commit 5bc88cc2be3a962005b6e5768e06ca8f6ffcb88d Author: Siarhei Siamashka <siarhei.siamashka@gmail.com> Date: 2016-05-31 01:48:05 +0300 sunxi: Downclock AHB1 to 100MHz on Allwinner A64 Currently the AHB1 clock speed is configured as 200MHz by the SPL, but this causes a subtle and hard to reproduce data corruption in SRAM C (for example, this can't be easily detected with a trivial memset/memcmp test). For what it's worth, the Allwinner's BSP configures AHB1 as 200MHz, as can be verified by running the devmem2 tool in the system running the Allwinner's kernel 3.10.x: 0x1C20028: PLL_PERIPH0_CTRL_REG = 0x90041811 0x1C20054: AHB1_APB1_CFG_REG = 0x3180 0x1C20058: APB2_CFG_REG = 0x1000000 0x1C2005C: AHB2_CFG_REG = 0x1 However the FEL mode uses more conservative settings (100MHz for AHB1): 0x1C20028: PLL_PERIPH0_CTRL_REG = 0x90041811 0x1C20054: AHB1_APB1_CFG_REG = 0x3190 0x1C20058: APB2_CFG_REG = 0x1000000 0x1C2005C: AHB2_CFG_REG = 0x0 It is yet to be confirmed whether faster AHB1/AHB2 clock settings can be used safely if we initialize the AXP803 PMIC instead of using reset defaults. But in order to resolve the data corruption problem right now, it's best to downclock AHB1 to a safe level. Note that this issue only affects the SPL, which is not fully supported on Allwinner A64 yet and it should not affect the boot0 usage (unless somebody can confirm SRAM C corruption with the boot0 too). Signed-off-by: Siarhei Siamashka <siarhei.siamashka@gmail.com> Acked-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Base directory -> / arch/arm/include/asm/arch-sunxi/clock_sun6i.h | 5 +++++ 1 file changed, 5 insertions(+) ------------------------------------------------------------------------------- commit e19b9004575cacf1f64fff894621adafe0e7ea7f Author: Purna Chandra Mandal <purna.mandal@microchip.com> Date: 2016-06-02 14:26:08 +0530 spi: pic32_spi: add SPI master driver for PIC32 SoC. This driver implements SPI protocol in master mode to communicate with the SPI device connected on SPI bus. It handles /CS explicitly by controlling respective pin as gpio ('cs-gpios' property in dt node) and uses PIO mode for SPI transaction. It is configurable based on driver-model only. Cc: Jagan Teki <jteki@openedev.com> Signed-off-by: Purna Chandra Mandal <purna.mandal@microchip.com> Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> Base directory -> / drivers/spi/Kconfig | 8 + drivers/spi/Makefile | 1 + drivers/spi/pic32_spi.c | 448 ++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 457 insertions(+) ------------------------------------------------------------------------------- commit 4b7b0a0f0635c1d1e4a0ae2ed172530b5f78e74b Author: Paul Burton <paul.burton@imgtec.com> Date: 2016-06-09 13:09:52 +0100 MIPS: Make CONFIG_SYS_DCACHE_LINE_SIZE int, not hex For consistency with the other cache-related Kconfig entries & the values actually set by boards, make CONFIG_SYS_DCACHE_LINE_SIZE an int entry instead of a hex entry. Signed-off-by: Paul Burton <paul.burton@imgtec.com> Fixes: 372286217f05 ("MIPS: Split I & D cache line size config") Base directory -> / arch/mips/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit a95800e881a8df837f0c4121a2cd560a4c02bd2f Author: Paul Burton <paul.burton@imgtec.com> Date: 2016-06-09 13:09:51 +0100 MIPS: Fix invalidate_dcache_range to operate on L1 Dcache Commit fb64cda57998 ("MIPS: Abstract cache op loops with a macro") accidentally modified invalidate_dcache_range to operate on the L1 Icache instead of the Dcache. Fix the cache op used to operate on the Dcache. Signed-off-by: Paul Burton <paul.burton@imgtec.com> Fixes: fb64cda57998 ("MIPS: Abstract cache op loops with a macro") Base directory -> / arch/mips/lib/cache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit bca4c3c5fcb3d170308e621dadcc5555a1aca1b8 Author: Hans de Goede <hdegoede@redhat.com> Date: 2016-06-05 16:53:04 +0200 sunxi: musb: Properly turn of musb controller before booting Turn of the clock and assert the reset when musb_stop gets called, so that the os gets the musb controller in a pristine state. This fixes a spurious VBus error interrupt triggering as soon as the Linux musb driver loads. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Base directory -> / drivers/usb/musb-new/sunxi.c | 7 +++++++ 1 file changed, 7 insertions(+) ------------------------------------------------------------------------------- commit fd2aa39a619ce011414f6cb6efb0232136e300c7 Author: Hans de Goede <hdegoede@redhat.com> Date: 2016-06-05 14:40:44 +0200 sunxi: Add INITIAL_USB_SCAN_DELAY to Mele_A1000G_quad_defconfig The Mele_A1000G_quad has an onboard usb <-> sata conversion which needs longer then the usb-spec allows to connect after getting power. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Base directory -> / configs/Mele_A1000G_quad_defconfig | 1 + 1 file changed, 1 insertion(+) ------------------------------------------------------------------------------- commit 1903bb91c4dde49a1a44bd6b769527165c8a4d34 Author: Hans de Goede <hdegoede@redhat.com> Date: 2016-06-02 18:46:09 +0200 sunxi: Enable ALDO3 and ALDO4 in Wobo_i5_defconfig These are used for the usb wifi and if we leave the enabling up to the kernel, we get hit by the axp209 issues with enabling ldo3 or 4 post boot and the systems hangs as soon as it is enabled. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Base directory -> / configs/Wobo_i5_defconfig | 2 ++ 1 file changed, 2 insertions(+) ------------------------------------------------------------------------------- commit 6b3943f1b04be60f147ee540fbd72c4c7ea89f80 Author: Heiko Schocher <hs@denx.de> Date: 2016-06-07 08:55:45 +0200 siemens,am33x: add draco etamin board In the draco CPU board family, etamin is a new variant with bigger flash and more RAM. Due to new flash that uses larger pages (4K) some changes are necessary because it impacts the MTD partition layout and the ubi mount parameters. Signed-off-by: Samuel Egli <samuel.egli@siemens.com> Signed-off-by: Heiko Schocher <hs@denx.de> [trini: Move BOOTDELAY into defconfig, just always be 3 now] Signed-off-by: Tom Rini <trini@konsulko.com> Base directory -> / arch/arm/Kconfig | 5 + board/siemens/common/board.c | 4 + board/siemens/draco/Kconfig | 16 ++ board/siemens/draco/MAINTAINERS | 1 + board/siemens/draco/board.c | 39 ++++- board/siemens/draco/mux.c | 2 +- configs/etamin_defconfig | 18 +++ include/configs/draco.h | 1 + include/configs/etamin.h | 257 +++++++++++++++++++++++++++++++++ include/configs/pxm2.h | 1 + include/configs/rastaban.h | 1 + include/configs/rut.h | 1 + include/configs/siemens-am33x-common.h | 5 +- include/configs/thuban.h | 1 + 14 files changed, 348 insertions(+), 4 deletions(-) ------------------------------------------------------------------------------- commit 9ae63f46a387573236372b937ada34daa55b893d Author: Heiko Schocher <hs@denx.de> Date: 2016-06-07 08:55:44 +0200 dfu, nand, ubi: fix erasing after write finish writting to ubi nand partitions need after write ends an erase of the remaining sectors. This fail, if dfu write size was not a multiple of erasesize, example log: Failure erase: -1 Fix this error. Signed-off-by: Heiko Schocher <hs@denx.de> Base directory -> / drivers/dfu/dfu_nand.c | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 02b11f11993bc99c0ace4e750ba03f347502ebe9 Author: Heiko Schocher <hs@denx.de> Date: 2016-06-07 08:55:43 +0200 am335x, dxr2: get ECC sType from I2C eeprom read the ECC Type field from the i2c eeprom, instead configuring it static in the U-Boot binary. see RM: Table 26-17. NAND Geometry Information on I2C EEPROM Signed-off-by: Heiko Schocher <hs@denx.de> Base directory -> / board/siemens/draco/board.c | 45 ++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 44 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 3a504d9639a2cef276a6e9e31cee11584c885639 Author: Heiko Schocher <hs@denx.de> Date: 2016-06-07 08:55:42 +0200 mtd: nand: omap: allow to switch to BCH16 support in omap_nand_switch_ecc() also an eccstrength from 16. Signed-off-by: Heiko Schocher <hs@denx.de> Base directory -> / arch/arm/cpu/armv7/omap3/board.c | 6 ++++-- drivers/mtd/nand/omap_gpmc.c | 4 ++++ 2 files changed, 8 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit 5d29e27eb93229f27d2c88d5538ad781c144c852 Author: Heiko Schocher <hs@denx.de> Date: 2016-06-07 08:55:41 +0200 nand: add nand mtd concat support add for nand devices mtd concat support. Generic MTD concat support is already ported to mainline, and used in the cfi_mtd driver. This patch adds it similiar for nand devices. Signed-off-by: Heiko Schocher <hs@denx.de> Base directory -> / drivers/mtd/nand/nand.c | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) ------------------------------------------------------------------------------- commit cddfc97d1fc892353d6616cd4287c34c454941e6 Author: Heiko Schocher <hs@denx.de> Date: 2016-06-07 08:55:40 +0200 ubi: add new ubi command "ubi detach" simple detachs ubi from the mtd partition. Signed-off-by: Heiko Schocher <hs@denx.de> Base directory -> / cmd/ubi.c | 38 +++++++++++++++++++++++++++----------- 1 file changed, 27 insertions(+), 11 deletions(-) ------------------------------------------------------------------------------- commit 3c5d51fffc92417b38a2c94f4253e9a8a04100b8 Author: Samuel Egli <samuel.egli@siemens.com> Date: 2016-06-07 08:55:39 +0200 siemens,am33x: add ubi fastmap support From: Samuel Egli <samuel.egli@siemens.com> Signed-off-by: Heiko Schocher <hs@denx.de> Base directory -> / include/configs/siemens-am33x-common.h | 2 ++ 1 file changed, 2 insertions(+) ------------------------------------------------------------------------------- commit d8ccbe93b576696852a7cdb2ac8018bb47ce787e Author: Heiko Schocher <hs@denx.de> Date: 2016-06-07 08:31:25 +0200 am335x, shc: add support for the am335x based bosch shc board U-Boot SPL 2016.03-rc3-00019-g6dfb4c2-dirty (Mar 09 2016 - 07:40:06) SHC C3-Sample MPU reference clock runs at 6 MHz Setting MPU clock to 594 MHz Enabling Spread Spectrum of 18 permille for MPU Trying to boot from MMC reading u-boot.img reading u-boot.img U-Boot 2016.03-rc3-00019-g6dfb4c2-dirty (Mar 09 2016 - 07:05:35 +0100) Watchdog enabled I2C: ready DRAM: 512 MiB reloc off 1f783000 MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1 Net: cpsw U-Boot# Signed-off-by: Heiko Schocher <hs@denx.de> Base directory -> / arch/arm/Kconfig | 9 + board/bosch/shc/Kconfig | 87 ++++ board/bosch/shc/MAINTAINERS | 11 + board/bosch/shc/Makefile | 10 + board/bosch/shc/README | 114 +++++ board/bosch/shc/board.c | 648 +++++++++++++++++++++++++++++ board/bosch/shc/board.h | 187 +++++++++ board/bosch/shc/mux.c | 261 ++++++++++++ configs/am335x_shc_defconfig | 21 + configs/am335x_shc_ict_defconfig | 21 + configs/am335x_shc_netboot_defconfig | 21 + configs/am335x_shc_prompt_defconfig | 19 + configs/am335x_shc_sdboot_defconfig | 21 + configs/am335x_shc_sdboot_prompt_defconfig | 21 + include/configs/am335x_shc.h | 340 +++++++++++++++ 15 files changed, 1791 insertions(+) ------------------------------------------------------------------------------- commit 3e584b94d207deca9663955b78c88d61fdfe8741 Author: Heiko Schocher <hs@denx.de> Date: 2016-06-07 08:31:24 +0200 doc, spl, am335x: update am335x-network on the shc board we see when booting in net boot mode, that the ROM bootloader sends "AM335x ROM" as vendor-class-identifier. U-Boots doc says "DM814x ROM". So, add the info to the doc, that there is also "AM335x ROM" possible. Signed-off-by: Heiko Schocher <hs@denx.de> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / doc/SPL/README.am335x-network | 4 ++++ 1 file changed, 4 insertions(+) ------------------------------------------------------------------------------- commit a4475af5b4188b69739dacdc82351ceec71a1bbe Author: Heiko Schocher <hs@denx.de> Date: 2016-06-07 08:31:23 +0200 armv7: omap-common: make SPL board_mmc_init() weak make this function weak, so board code can setup in SPL MMC init with board special values. Signed-off-by: Heiko Schocher <hs@denx.de> Base directory -> / arch/arm/cpu/armv7/omap-common/boot-common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 3d4f628d2f6043c3b3ce1fabf2c2286456c02e77 Author: Heiko Schocher <hs@denx.de> Date: 2016-06-07 08:31:22 +0200 mmc: omap_hsmmc: enable 8bit interface for eMMC for AM33xx Enable 8bit interface on HSMMC2 for am33xx to support 8bit eMMC chips. Signed-off-by: Heiko Schocher <hs@denx.de> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / drivers/mmc/omap_hsmmc.c | 1 + 1 file changed, 1 insertion(+) ------------------------------------------------------------------------------- commit a5e27b416fd2068e2e9c01b307f449e29e7abcb5 Author: Heiko Schocher <hs@denx.de> Date: 2016-06-07 08:31:21 +0200 mmc: revert mmc: Handle switch error status bit in MMC card status revert patch: commit: 6b2221b008e0: mmc: Handle switch error status bit in MMC card status to get eMMC working on shc board Signed-off-by: Heiko Schocher <hs@denx.de> Base directory -> / drivers/mmc/mmc.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) ------------------------------------------------------------------------------- commit 496c5483e9ad80d34ff0d9ee9abb813e51be2237 Author: Heiko Schocher <hs@denx.de> Date: 2016-06-07 08:31:20 +0200 bootstage: call show_boot_progress also in SPL show_boot_progress() is now called from SPL also. Signed-off-by: Heiko Schocher <hs@denx.de> Base directory -> / common/init/board_init.c | 5 +++++ common/spl/spl.c | 5 +++++ include/bootstage.h | 6 +++--- 3 files changed, 13 insertions(+), 3 deletions(-) ------------------------------------------------------------------------------- commit 694607b563df4425b2d50d220048cc3299a6e947 Author: Heiko Schocher <hs@denx.de> Date: 2016-06-07 08:31:19 +0200 arm, am335x: Enable Spread Spectrum for the MPU Enable Spread Spectrum for the MPU by calculating the required values and setting the registers accordingly. Signed-off-by: Heiko Schocher <hs@denx.de> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / arch/arm/cpu/armv7/am33xx/clock_am33xx.c | 73 ++++++++++++++++++++++++++++++++ arch/arm/include/asm/arch-am33xx/clock.h | 1 + arch/arm/include/asm/arch-am33xx/cpu.h | 3 +- 3 files changed, 76 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit c01bc75e7d2c8b31fc130762ee596b53f88729e7 Author: Heiko Schocher <hs@denx.de> Date: 2016-06-07 08:31:18 +0200 am335x: add some missing CM_CLKMODE_DPLL_SSC macros add missing CM_CLKMODE_DPLL_SSC_ACK_MASK, CM_CLKMODE_DPLL_SSC_DOWNSPREAD_MASK and CM_CLKMODE_DPLL_SSC_TYPE_MASK defines. Used for enabling spread spectrum. Signed-off-by: Heiko Schocher <hs@denx.de> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / arch/arm/include/asm/arch-am33xx/clock.h | 3 +++ 1 file changed, 3 insertions(+) ------------------------------------------------------------------------------- commit 9c410f7cb7d658d93fc38b2e4eeffc438dfea6cc Author: Heiko Schocher <hs@denx.de> Date: 2016-06-07 08:31:17 +0200 arm, am335x: add some missing GPIO register definitions add missing: OMAP_GPIO_IRQSTATUS_SET_0 and OMAP_GPIO_IRQSTATUS_SET_1 registers. Signed-off-by: Heiko Schocher <hs@denx.de> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / arch/arm/include/asm/arch-am33xx/cpu.h | 2 ++ 1 file changed, 2 insertions(+) ------------------------------------------------------------------------------- commit 640ff60af7a36ba9649dc79be6d117c9c12429fe Author: Heiko Schocher <hs@denx.de> Date: 2016-06-07 08:31:16 +0200 power, tps65217: add some defines add the following defines, needed for the upcoming shc board support: Signed-off-by: Heiko Schocher <hs@denx.de> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / include/power/tps65217.h | 3 +++ 1 file changed, 3 insertions(+) ------------------------------------------------------------------------------- commit da37f006e7c58860d03946b6387394b1ab9c13a4 Author: Heiko Schocher <hs@denx.de> Date: 2016-06-07 08:31:15 +0200 tests: py: disable main_signon check for printenv cmd if CONFIG_VERSION_VARIABLE is set, the U-Boot environment contains a "vers" variable with the current U-Boot version string. If now "printenv" is called, test/py fails as it detects the main_sign string, which is in this case correct. So check only the main_sign as an error, if CONFIG_VERSION_VARIABLE is not set. Signed-off-by: Heiko Schocher <hs@denx.de> Base directory -> / test/py/tests/test_env.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit bb597c0eeb7ee2f6e983577d993c76a30dd3c2b4 Author: Heiko Schocher <hs@denx.de> Date: 2016-06-07 08:31:14 +0200 common: bootdelay: move CONFIG_BOOTDELAY into a Kconfig option move CONFIG_BOOTDELAY into a Kconfig option. Used for this purpose the moveconfig.py tool in tools. Signed-off-by: Heiko Schocher <hs@denx.de> Reviewed-by: Tom Rini <trini@konsulko.com> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Acked-by: Igor Grinberg <grinberg@compulab.co.il> Base directory -> / common/Kconfig | 9 ++++++ configs/A10-OLinuXino-Lime_defconfig | 1 - configs/A20-OLinuXino_MICRO_defconfig | 2 +- configs/A20-Olimex-SOM-EVB_defconfig | 2 +- configs/B4420QDS_NAND_defconfig | 1 + configs/B4420QDS_SPIFLASH_defconfig | 1 + configs/B4420QDS_defconfig | 1 + configs/B4860QDS_NAND_defconfig | 1 + configs/B4860QDS_SECURE_BOOT_defconfig | 1 + configs/B4860QDS_SPIFLASH_defconfig | 1 + configs/B4860QDS_SRIO_PCIE_BOOT_defconfig | 1 + configs/B4860QDS_defconfig | 1 + configs/BSC9131RDB_NAND_SYSCLK100_defconfig | 1 + configs/BSC9131RDB_NAND_defconfig | 1 + configs/BSC9131RDB_SPIFLASH_SYSCLK100_defconfig | 1 + configs/BSC9131RDB_SPIFLASH_defconfig | 1 + configs/BSC9132QDS_NAND_DDRCLK100_SECURE_defconfig | 1 + configs/BSC9132QDS_NAND_DDRCLK100_defconfig | 1 + configs/BSC9132QDS_NAND_DDRCLK133_SECURE_defconfig | 1 + configs/BSC9132QDS_NAND_DDRCLK133_defconfig | 1 + configs/BSC9132QDS_NOR_DDRCLK100_SECURE_defconfig | 1 + configs/BSC9132QDS_NOR_DDRCLK100_defconfig | 1 + configs/BSC9132QDS_NOR_DDRCLK133_SECURE_defconfig | 1 + configs/BSC9132QDS_NOR_DDRCLK133_defconfig | 1 + .../BSC9132QDS_SDCARD_DDRCLK100_SECURE_defconfig | 1 + configs/BSC9132QDS_SDCARD_DDRCLK100_defconfig | 1 + .../BSC9132QDS_SDCARD_DDRCLK133_SECURE_defconfig | 1 + configs/BSC9132QDS_SDCARD_DDRCLK133_defconfig | 1 + .../BSC9132QDS_SPIFLASH_DDRCLK100_SECURE_defconfig | 1 + configs/BSC9132QDS_SPIFLASH_DDRCLK100_defconfig | 1 + .../BSC9132QDS_SPIFLASH_DDRCLK133_SECURE_defconfig | 1 + configs/BSC9132QDS_SPIFLASH_DDRCLK133_defconfig | 1 + configs/CHIP_defconfig | 2 +- configs/CPCI2DP_defconfig | 1 + configs/CPCI4052_defconfig | 1 + configs/Chuwi_V7_CW0825_defconfig | 1 - configs/Cubieboard_defconfig | 1 - configs/Cubietruck_plus_defconfig | 1 - configs/Cyrus_P5020_defconfig | 1 + configs/Cyrus_P5040_defconfig | 1 + configs/Hyundai_A7HD_defconfig | 1 - configs/Linksprite_pcDuino_defconfig | 1 - configs/M52277EVB_defconfig | 1 + configs/M52277EVB_stmicro_defconfig | 1 + configs/M5253DEMO_defconfig | 1 + configs/M5253EVBE_defconfig | 1 + configs/M5272C3_defconfig | 1 + configs/M5275EVB_defconfig | 1 + configs/M5282EVB_defconfig | 1 + configs/MIP405T_defconfig | 1 + configs/MIP405_defconfig | 1 + configs/MPC8308RDB_defconfig | 1 + configs/MPC8313ERDB_33_defconfig | 1 + configs/MPC8313ERDB_66_defconfig | 1 + configs/MPC8313ERDB_NAND_33_defconfig | 1 + configs/MPC8313ERDB_NAND_66_defconfig | 1 + configs/MPC8315ERDB_defconfig | 1 + configs/MPC8323ERDB_defconfig | 1 + configs/MPC832XEMDS_ATM_defconfig | 1 + configs/MPC832XEMDS_HOST_33_defconfig | 1 + configs/MPC832XEMDS_HOST_66_defconfig | 1 + configs/MPC832XEMDS_SLAVE_defconfig | 1 + configs/MPC832XEMDS_defconfig | 1 + configs/MPC8349EMDS_defconfig | 1 + configs/MPC8349ITXGP_defconfig | 1 + configs/MPC8349ITX_LOWBOOT_defconfig | 1 + configs/MPC8349ITX_defconfig | 1 + configs/MPC837XEMDS_HOST_defconfig | 1 + configs/MPC837XEMDS_defconfig | 1 + configs/MPC837XERDB_defconfig | 1 + configs/MPC8536DS_36BIT_defconfig | 1 + configs/MPC8536DS_SDCARD_defconfig | 1 + configs/MPC8536DS_SPIFLASH_defconfig | 1 + configs/MPC8536DS_defconfig | 1 + configs/MPC8540ADS_defconfig | 1 + configs/MPC8541CDS_defconfig | 1 + configs/MPC8541CDS_legacy_defconfig | 1 + configs/MPC8544DS_defconfig | 1 + configs/MPC8548CDS_36BIT_defconfig | 1 + configs/MPC8548CDS_defconfig | 1 + configs/MPC8548CDS_legacy_defconfig | 1 + configs/MPC8555CDS_defconfig | 1 + configs/MPC8555CDS_legacy_defconfig | 1 + configs/MPC8560ADS_defconfig | 1 + configs/MPC8568MDS_defconfig | 1 + configs/MPC8569MDS_ATM_defconfig | 1 + configs/MPC8569MDS_defconfig | 1 + configs/MPC8572DS_36BIT_defconfig | 1 + configs/MPC8572DS_defconfig | 1 + configs/MPC8610HPCD_defconfig | 1 + configs/MPC8641HPCN_36BIT_defconfig | 1 + configs/MPC8641HPCN_defconfig | 1 + configs/Marsboard_A10_defconfig | 1 - configs/Mele_A1000_defconfig | 1 - configs/Merrii_A80_Optimus_defconfig | 1 - configs/MigoR_defconfig | 1 + configs/Mini-X_defconfig | 1 - configs/MiniFAP_defconfig | 1 + configs/O2D300_defconfig | 1 + configs/O2DNT2_RAMBOOT_defconfig | 1 + configs/O2DNT2_defconfig | 1 + configs/O2D_defconfig | 1 + configs/O2I_defconfig | 1 + configs/O2MNT_O2M110_defconfig | 1 + configs/O2MNT_O2M112_defconfig | 1 + configs/O2MNT_O2M113_defconfig | 1 + configs/O2MNT_defconfig | 1 + configs/O3DNT_defconfig | 1 + configs/P1010RDB-PA_36BIT_NAND_SECBOOT_defconfig | 1 + configs/P1010RDB-PA_36BIT_NAND_defconfig | 1 + configs/P1010RDB-PA_36BIT_NOR_SECBOOT_defconfig | 1 + configs/P1010RDB-PA_36BIT_NOR_defconfig | 1 + configs/P1010RDB-PA_36BIT_SDCARD_defconfig | 1 + .../P1010RDB-PA_36BIT_SPIFLASH_SECBOOT_defconfig | 1 + configs/P1010RDB-PA_36BIT_SPIFLASH_defconfig | 1 + configs/P1010RDB-PA_NAND_SECBOOT_defconfig | 1 + configs/P1010RDB-PA_NAND_defconfig | 1 + configs/P1010RDB-PA_NOR_SECBOOT_defconfig | 1 + configs/P1010RDB-PA_NOR_defconfig | 1 + configs/P1010RDB-PA_SDCARD_defconfig | 1 + configs/P1010RDB-PA_SPIFLASH_SECBOOT_defconfig | 1 + configs/P1010RDB-PA_SPIFLASH_defconfig | 1 + configs/P1010RDB-PB_36BIT_NAND_SECBOOT_defconfig | 1 + configs/P1010RDB-PB_36BIT_NAND_defconfig | 1 + configs/P1010RDB-PB_36BIT_NOR_SECBOOT_defconfig | 1 + configs/P1010RDB-PB_36BIT_NOR_defconfig | 1 + configs/P1010RDB-PB_36BIT_SDCARD_defconfig | 1 + .../P1010RDB-PB_36BIT_SPIFLASH_SECBOOT_defconfig | 1 + configs/P1010RDB-PB_36BIT_SPIFLASH_defconfig | 1 + configs/P1010RDB-PB_NAND_SECBOOT_defconfig | 1 + configs/P1010RDB-PB_NAND_defconfig | 1 + configs/P1010RDB-PB_NOR_SECBOOT_defconfig | 1 + configs/P1010RDB-PB_NOR_defconfig | 1 + configs/P1010RDB-PB_SDCARD_defconfig | 1 + configs/P1010RDB-PB_SPIFLASH_SECBOOT_defconfig | 1 + configs/P1010RDB-PB_SPIFLASH_defconfig | 1 + configs/P1020MBG-PC_36BIT_SDCARD_defconfig | 1 + configs/P1020MBG-PC_36BIT_defconfig | 1 + configs/P1020MBG-PC_SDCARD_defconfig | 1 + configs/P1020MBG-PC_defconfig | 1 + configs/P1020RDB-PC_36BIT_NAND_defconfig | 1 + configs/P1020RDB-PC_36BIT_SDCARD_defconfig | 1 + configs/P1020RDB-PC_36BIT_SPIFLASH_defconfig | 1 + configs/P1020RDB-PC_36BIT_defconfig | 1 + configs/P1020RDB-PC_NAND_defconfig | 1 + configs/P1020RDB-PC_SDCARD_defconfig | 1 + configs/P1020RDB-PC_SPIFLASH_defconfig | 1 + configs/P1020RDB-PC_defconfig | 1 + configs/P1020RDB-PD_NAND_defconfig | 1 + configs/P1020RDB-PD_SDCARD_defconfig | 1 + configs/P1020RDB-PD_SPIFLASH_defconfig | 1 + configs/P1020RDB-PD_defconfig | 1 + configs/P1020UTM-PC_36BIT_SDCARD_defconfig | 1 + configs/P1020UTM-PC_36BIT_defconfig | 1 + configs/P1020UTM-PC_SDCARD_defconfig | 1 + configs/P1020UTM-PC_defconfig | 1 + configs/P1021RDB-PC_36BIT_NAND_defconfig | 1 + configs/P1021RDB-PC_36BIT_SDCARD_defconfig | 1 + configs/P1021RDB-PC_36BIT_SPIFLASH_defconfig | 1 + configs/P1021RDB-PC_36BIT_defconfig | 1 + configs/P1021RDB-PC_NAND_defconfig | 1 + configs/P1021RDB-PC_SDCARD_defconfig | 1 + configs/P1021RDB-PC_SPIFLASH_defconfig | 1 + configs/P1021RDB-PC_defconfig | 1 + configs/P1022DS_36BIT_NAND_defconfig | 1 + configs/P1022DS_36BIT_SDCARD_defconfig | 1 + configs/P1022DS_36BIT_SPIFLASH_defconfig | 1 + configs/P1022DS_36BIT_defconfig | 1 + configs/P1022DS_NAND_defconfig | 1 + configs/P1022DS_SDCARD_defconfig | 1 + configs/P1022DS_SPIFLASH_defconfig | 1 + configs/P1022DS_defconfig | 1 + configs/P1024RDB_36BIT_defconfig | 1 + configs/P1024RDB_NAND_defconfig | 1 + configs/P1024RDB_SDCARD_defconfig | 1 + configs/P1024RDB_SPIFLASH_defconfig | 1 + configs/P1024RDB_defconfig | 1 + configs/P1025RDB_36BIT_defconfig | 1 + configs/P1025RDB_NAND_defconfig | 1 + configs/P1025RDB_SDCARD_defconfig | 1 + configs/P1025RDB_SPIFLASH_defconfig | 1 + configs/P1025RDB_defconfig | 1 + configs/P2020RDB-PC_36BIT_NAND_defconfig | 1 + configs/P2020RDB-PC_36BIT_SDCARD_defconfig | 1 + configs/P2020RDB-PC_36BIT_SPIFLASH_defconfig | 1 + configs/P2020RDB-PC_36BIT_defconfig | 1 + configs/P2020RDB-PC_NAND_defconfig | 1 + configs/P2020RDB-PC_SDCARD_defconfig | 1 + configs/P2020RDB-PC_SPIFLASH_defconfig | 1 + configs/P2020RDB-PC_defconfig | 1 + configs/P2041RDB_NAND_defconfig | 1 + configs/P2041RDB_SDCARD_defconfig | 1 + configs/P2041RDB_SECURE_BOOT_defconfig | 1 + configs/P2041RDB_SPIFLASH_defconfig | 1 + configs/P2041RDB_SRIO_PCIE_BOOT_defconfig | 1 + configs/P2041RDB_defconfig | 1 + configs/P3041DS_NAND_SECURE_BOOT_defconfig | 1 + configs/P3041DS_NAND_defconfig | 1 + configs/P3041DS_SDCARD_defconfig | 1 + configs/P3041DS_SECURE_BOOT_defconfig | 1 + configs/P3041DS_SPIFLASH_defconfig | 1 + configs/P3041DS_SRIO_PCIE_BOOT_defconfig | 1 + configs/P3041DS_defconfig | 1 + configs/P4080DS_SDCARD_defconfig | 1 + configs/P4080DS_SECURE_BOOT_defconfig | 1 + configs/P4080DS_SPIFLASH_defconfig | 1 + configs/P4080DS_SRIO_PCIE_BOOT_defconfig | 1 + configs/P4080DS_defconfig | 1 + configs/P5020DS_NAND_SECURE_BOOT_defconfig | 1 + configs/P5020DS_NAND_defconfig | 1 + configs/P5020DS_SDCARD_defconfig | 1 + configs/P5020DS_SECURE_BOOT_defconfig | 1 + configs/P5020DS_SPIFLASH_defconfig | 1 + configs/P5020DS_SRIO_PCIE_BOOT_defconfig | 1 + configs/P5020DS_defconfig | 1 + configs/P5040DS_NAND_SECURE_BOOT_defconfig | 1 + configs/P5040DS_NAND_defconfig | 1 + configs/P5040DS_SDCARD_defconfig | 1 + configs/P5040DS_SECURE_BOOT_defconfig | 1 + configs/P5040DS_SPIFLASH_defconfig | 1 + configs/P5040DS_defconfig | 1 + configs/PATI_defconfig | 1 + configs/PIP405_defconfig | 1 + configs/PLU405_defconfig | 1 + configs/PMC405DE_defconfig | 1 + configs/PMC440_defconfig | 1 + configs/T1023RDB_NAND_defconfig | 1 + configs/T1023RDB_SDCARD_defconfig | 1 + configs/T1023RDB_SECURE_BOOT_defconfig | 1 + configs/T1023RDB_SPIFLASH_defconfig | 1 + configs/T1023RDB_defconfig | 1 + configs/T1024QDS_DDR4_SECURE_BOOT_defconfig | 1 + configs/T1024QDS_DDR4_defconfig | 1 + configs/T1024QDS_NAND_defconfig | 1 + configs/T1024QDS_SDCARD_defconfig | 1 + configs/T1024QDS_SECURE_BOOT_defconfig | 1 + configs/T1024QDS_SPIFLASH_defconfig | 1 + configs/T1024QDS_defconfig | 1 + configs/T1024RDB_NAND_defconfig | 1 + configs/T1024RDB_SDCARD_defconfig | 1 + configs/T1024RDB_SECURE_BOOT_defconfig | 1 + configs/T1024RDB_SPIFLASH_defconfig | 1 + configs/T1024RDB_defconfig | 1 + configs/T1040D4RDB_NAND_defconfig | 1 + configs/T1040D4RDB_SDCARD_defconfig | 1 + configs/T1040D4RDB_SECURE_BOOT_defconfig | 1 + configs/T1040D4RDB_SPIFLASH_defconfig | 1 + configs/T1040D4RDB_defconfig | 1 + configs/T1040QDS_DDR4_defconfig | 1 + configs/T1040QDS_SECURE_BOOT_defconfig | 1 + configs/T1040QDS_defconfig | 1 + configs/T1040RDB_NAND_defconfig | 1 + configs/T1040RDB_SDCARD_defconfig | 1 + configs/T1040RDB_SECURE_BOOT_defconfig | 1 + configs/T1040RDB_SPIFLASH_defconfig | 1 + configs/T1040RDB_defconfig | 1 + configs/T1042D4RDB_NAND_defconfig | 1 + configs/T1042D4RDB_SDCARD_defconfig | 1 + configs/T1042D4RDB_SECURE_BOOT_defconfig | 1 + configs/T1042D4RDB_SPIFLASH_defconfig | 1 + configs/T1042D4RDB_defconfig | 1 + configs/T1042RDB_PI_NAND_defconfig | 1 + configs/T1042RDB_PI_SDCARD_defconfig | 1 + configs/T1042RDB_PI_SPIFLASH_defconfig | 1 + configs/T1042RDB_PI_defconfig | 1 + configs/T1042RDB_SECURE_BOOT_defconfig | 1 + configs/T1042RDB_defconfig | 1 + configs/T2080QDS_NAND_defconfig | 1 + configs/T2080QDS_SDCARD_defconfig | 1 + configs/T2080QDS_SECURE_BOOT_defconfig | 1 + configs/T2080QDS_SPIFLASH_defconfig | 1 + configs/T2080QDS_SRIO_PCIE_BOOT_defconfig | 1 + configs/T2080QDS_defconfig | 1 + configs/T2080RDB_NAND_defconfig | 1 + configs/T2080RDB_SDCARD_defconfig | 1 + configs/T2080RDB_SECURE_BOOT_defconfig | 1 + configs/T2080RDB_SPIFLASH_defconfig | 1 + configs/T2080RDB_SRIO_PCIE_BOOT_defconfig | 1 + configs/T2080RDB_defconfig | 1 + configs/T2081QDS_NAND_defconfig | 1 + configs/T2081QDS_SDCARD_defconfig | 1 + configs/T2081QDS_SPIFLASH_defconfig | 1 + configs/T2081QDS_SRIO_PCIE_BOOT_defconfig | 1 + configs/T2081QDS_defconfig | 1 + configs/T4160QDS_NAND_defconfig | 1 + configs/T4160QDS_SDCARD_defconfig | 1 + configs/T4160QDS_SECURE_BOOT_defconfig | 1 + configs/T4160QDS_defconfig | 1 + configs/T4160RDB_defconfig | 1 + configs/T4240QDS_NAND_defconfig | 1 + configs/T4240QDS_SDCARD_defconfig | 1 + configs/T4240QDS_SECURE_BOOT_defconfig | 1 + configs/T4240QDS_SRIO_PCIE_BOOT_defconfig | 1 + configs/T4240QDS_defconfig | 1 + configs/T4240RDB_SDCARD_defconfig | 1 + configs/T4240RDB_defconfig | 1 + configs/TQM5200S_HIGHBOOT_defconfig | 1 + configs/TQM5200S_defconfig | 1 + configs/TQM5200_B_HIGHBOOT_defconfig | 1 + configs/TQM5200_B_defconfig | 1 + configs/TQM5200_STK100_defconfig | 1 + configs/TQM5200_defconfig | 1 + configs/TQM823L_LCD_defconfig | 1 + configs/TQM823L_defconfig | 1 + configs/TQM823M_defconfig | 1 + configs/TQM834x_defconfig | 1 + configs/TQM850L_defconfig | 1 + configs/TQM850M_defconfig | 1 + configs/TQM855L_defconfig | 1 + configs/TQM855M_defconfig | 1 + configs/TQM860L_defconfig | 1 + configs/TQM860M_defconfig | 1 + configs/TQM862L_defconfig | 1 + configs/TQM862M_defconfig | 1 + configs/TQM866M_defconfig | 1 + configs/TQM885D_defconfig | 1 + configs/TTTech_defconfig | 1 + configs/TWR-P1025_defconfig | 1 + configs/VCMA9_defconfig | 1 + configs/VOM405_defconfig | 1 + configs/a3m071_defconfig | 1 + configs/a4m2k_defconfig | 1 + configs/acadia_defconfig | 1 + configs/adp-ag101p_defconfig | 1 + configs/alt_defconfig | 1 + configs/am335x_evm_defconfig | 8 ++--- configs/am335x_evm_nor_defconfig | 1 - configs/am335x_evm_norboot_defconfig | 1 - configs/am335x_evm_spiboot_defconfig | 1 - configs/am335x_evm_usbspl_defconfig | 1 - configs/am335x_sl50_defconfig | 1 - configs/am3517_crane_defconfig | 1 + configs/am3517_evm_defconfig | 1 + configs/am437x_hs_evm_defconfig | 3 +- configs/am43xx_evm_ethboot_defconfig | 1 - configs/am43xx_evm_qspiboot_defconfig | 1 - configs/am43xx_evm_usbhost_boot_defconfig | 10 +++--- configs/am57xx_evm_defconfig | 2 +- configs/am57xx_hs_evm_defconfig | 2 +- configs/ap121_defconfig | 9 ++---- configs/ap143_defconfig | 3 +- configs/ap325rxa_defconfig | 1 + configs/ap_sh4a_4a_defconfig | 1 + configs/apalis_t30_defconfig | 1 - configs/apf27_defconfig | 1 + configs/arcangel4-be_defconfig | 1 + configs/arcangel4_defconfig | 1 + configs/arches_defconfig | 1 + configs/aria_defconfig | 1 + configs/armadillo-800eva_defconfig | 1 + configs/aspenite_defconfig | 1 + configs/at91rm9200ek_defconfig | 1 + configs/at91rm9200ek_ram_defconfig | 1 + configs/at91sam9260ek_dataflash_cs0_defconfig | 1 + configs/at91sam9260ek_dataflash_cs1_defconfig | 1 + configs/at91sam9260ek_nandflash_defconfig | 1 + configs/at91sam9261ek_dataflash_cs0_defconfig | 1 + configs/at91sam9261ek_dataflash_cs3_defconfig | 1 + configs/at91sam9261ek_nandflash_defconfig | 1 + configs/at91sam9263ek_dataflash_cs0_defconfig | 1 + configs/at91sam9263ek_dataflash_defconfig | 1 + configs/at91sam9263ek_nandflash_defconfig | 1 + configs/at91sam9263ek_norflash_boot_defconfig | 1 + configs/at91sam9263ek_norflash_defconfig | 1 + configs/at91sam9g10ek_dataflash_cs0_defconfig | 1 + configs/at91sam9g10ek_dataflash_cs3_defconfig | 1 + configs/at91sam9g10ek_nandflash_defconfig | 1 + configs/at91sam9g20ek_2mmc_defconfig | 1 + configs/at91sam9g20ek_2mmc_nandflash_defconfig | 1 + configs/at91sam9g20ek_dataflash_cs0_defconfig | 1 + configs/at91sam9g20ek_dataflash_cs1_defconfig | 1 + configs/at91sam9g20ek_nandflash_defconfig | 1 + configs/at91sam9m10g45ek_mmc_defconfig | 1 + configs/at91sam9m10g45ek_nandflash_defconfig | 1 + configs/at91sam9n12ek_mmc_defconfig | 1 + configs/at91sam9n12ek_nandflash_defconfig | 1 + configs/at91sam9n12ek_spiflash_defconfig | 1 + configs/at91sam9rlek_dataflash_defconfig | 1 + configs/at91sam9rlek_mmc_defconfig | 1 + configs/at91sam9rlek_nandflash_defconfig | 1 + configs/at91sam9x5ek_dataflash_defconfig | 1 + configs/at91sam9x5ek_mmc_defconfig | 1 + configs/at91sam9x5ek_nandflash_defconfig | 1 + configs/at91sam9x5ek_spiflash_defconfig | 1 + configs/at91sam9xeek_dataflash_cs0_defconfig | 1 + configs/at91sam9xeek_dataflash_cs1_defconfig | 1 + configs/at91sam9xeek_nandflash_defconfig | 1 + configs/axm_defconfig | 1 + configs/axs101_defconfig | 1 + configs/axs103_defconfig | 1 + configs/ba10_tv_box_defconfig | 1 - configs/bamboo_defconfig | 1 + configs/bcm28155_ap_defconfig | 2 +- configs/bcm28155_w1d_defconfig | 2 +- configs/beaver_defconfig | 1 - configs/bf525-ucr2_defconfig | 1 + configs/bf537-minotaur_defconfig | 1 + configs/bf537-srv1_defconfig | 1 + configs/bg0900_defconfig | 1 + configs/birdland_bav335a_defconfig | 1 - configs/birdland_bav335b_defconfig | 1 - configs/blackstamp_defconfig | 1 + configs/blackvme_defconfig | 1 + configs/bubinga_defconfig | 1 + configs/caddy2_defconfig | 1 + configs/cam5200_defconfig | 1 + configs/cam5200_niosflash_defconfig | 1 + configs/canmb_defconfig | 1 + configs/canyonlands_defconfig | 1 + configs/cardhu_defconfig | 1 - configs/charon_defconfig | 1 + configs/chromebook_jerry_defconfig | 1 - configs/clearfog_defconfig | 3 +- configs/cm5200_defconfig | 1 + configs/cm_t3517_defconfig | 1 + configs/cm_t35_defconfig | 1 + configs/cm_t54_defconfig | 1 + configs/cobra5272_defconfig | 1 + configs/colibri_t20_defconfig | 1 - configs/colibri_t30_defconfig | 1 - .../controlcenterd_36BIT_SDCARD_DEVELOP_defconfig | 1 + configs/controlcenterd_36BIT_SDCARD_defconfig | 1 + configs/corvus_defconfig | 1 + configs/d2net_v2_defconfig | 1 + configs/da850_am18xxevm_defconfig | 1 + configs/da850evm_defconfig | 1 + configs/da850evm_direct_nor_defconfig | 1 + configs/dalmore_defconfig | 1 - configs/db-88f6720_defconfig | 1 + configs/db-88f6820-gp_defconfig | 1 + configs/db-mv784mp-gp_defconfig | 1 + configs/dbau1000_defconfig | 1 - configs/dbau1100_defconfig | 1 - configs/dbau1500_defconfig | 1 - configs/dbau1550_defconfig | 1 - configs/dbau1550_el_defconfig | 1 - configs/devconcenter_defconfig | 1 + configs/dlvision-10g_defconfig | 1 + configs/dlvision_defconfig | 1 + configs/dns325_defconfig | 1 + configs/dockstar_defconfig | 1 + configs/dra7xx_evm_defconfig | 8 ++--- configs/dra7xx_hs_evm_defconfig | 10 +++--- configs/draco_defconfig | 1 + configs/dreamplug_defconfig | 1 + configs/ds414_defconfig | 1 + configs/dserve_dsrv9703c_defconfig | 1 - configs/ea20_defconfig | 1 + configs/eb_cpu5282_defconfig | 1 + configs/eb_cpu5282_internal_defconfig | 1 + configs/eco5pk_defconfig | 1 + configs/ecovec_defconfig | 1 + configs/edminiv2_defconfig | 1 + configs/espresso7420_defconfig | 3 +- configs/ethernut5_defconfig | 1 + configs/evb-rk3036_defconfig | 1 - configs/firefly-rk3288_defconfig | 1 - configs/flea3_defconfig | 1 + configs/fo300_defconfig | 1 + configs/gdppc440etx_defconfig | 1 + configs/glacier_defconfig | 1 + configs/glacier_ramboot_defconfig | 1 + configs/goflexhome_defconfig | 1 + configs/gose_defconfig | 1 + configs/gplugd_defconfig | 1 + configs/gr_cpci_ax2000_defconfig | 3 +- configs/gr_ep2s60_defconfig | 3 +- configs/gr_xc3s_1500_defconfig | 3 +- configs/grsim_defconfig | 3 +- configs/grsim_leon2_defconfig | 3 +- configs/guruplug_defconfig | 1 + configs/h8_homlet_v2_defconfig | 1 - configs/haleakala_defconfig | 1 + configs/harmony_defconfig | 1 - configs/hikey_defconfig | 3 +- configs/hrcon_defconfig | 1 + configs/hrcon_dh_defconfig | 1 + configs/iNet_3F_defconfig | 1 - configs/iNet_3W_defconfig | 1 - configs/ib62x0_defconfig | 1 + configs/icon_defconfig | 1 + configs/iconnect_defconfig | 1 + configs/imx31_phycore_defconfig | 1 + configs/imx31_phycore_eet_defconfig | 1 + configs/inet1_defconfig | 1 - configs/inet97fv2_defconfig | 1 - configs/inet9f_rev03_defconfig | 1 - configs/inetspace_v2_defconfig | 1 + configs/intip_defconfig | 1 + configs/io64_defconfig | 1 + configs/io_defconfig | 1 + configs/iocon_defconfig | 1 + configs/ipek01_defconfig | 1 + configs/jesurun_q5_defconfig | 1 - configs/jetson-tk1_defconfig | 1 - configs/jupiter_defconfig | 1 + configs/katmai_defconfig | 1 + configs/kilauea_defconfig | 1 + configs/koelsch_defconfig | 1 + configs/kylin-rk3036_defconfig | 1 - configs/kzm9g_defconfig | 1 + configs/lager_defconfig | 1 + configs/ls1012afrdm_qspi_defconfig | 3 +- configs/ls1012aqds_qspi_defconfig | 3 +- configs/ls1012ardb_qspi_defconfig | 3 +- configs/ls1021aqds_ddr4_nor_defconfig | 6 ++-- configs/ls1021aqds_ddr4_nor_lpuart_defconfig | 6 ++-- configs/ls1021aqds_nand_defconfig | 5 +-- configs/ls1021aqds_nor_SECURE_BOOT_defconfig | 5 +-- configs/ls1021aqds_nor_defconfig | 6 ++-- configs/ls1021aqds_nor_lpuart_defconfig | 6 ++-- configs/ls1021aqds_qspi_defconfig | 6 ++-- configs/ls1021aqds_sdcard_ifc_defconfig | 4 +-- configs/ls1021aqds_sdcard_qspi_defconfig | 4 +-- configs/ls1021atwr_nor_SECURE_BOOT_defconfig | 5 +-- configs/ls1021atwr_nor_defconfig | 6 ++-- configs/ls1021atwr_nor_lpuart_defconfig | 6 ++-- configs/ls1021atwr_qspi_defconfig | 6 ++-- configs/ls1021atwr_sdcard_ifc_defconfig | 5 +-- configs/ls1021atwr_sdcard_qspi_defconfig | 6 ++-- configs/ls1043aqds_defconfig | 1 + configs/ls1043aqds_lpuart_defconfig | 1 + configs/ls1043aqds_nand_defconfig | 1 + configs/ls1043aqds_nor_ddr3_defconfig | 1 + configs/ls1043aqds_qspi_defconfig | 1 + configs/ls1043aqds_sdcard_ifc_defconfig | 1 + configs/ls1043aqds_sdcard_qspi_defconfig | 1 + configs/ls1043ardb_SECURE_BOOT_defconfig | 1 + configs/ls1043ardb_defconfig | 1 + configs/ls1043ardb_nand_defconfig | 1 + configs/ls1043ardb_sdcard_defconfig | 1 + configs/ls2080a_emu_defconfig | 2 +- configs/ls2080a_simu_defconfig | 2 +- configs/ls2080aqds_SECURE_BOOT_defconfig | 1 + configs/ls2080aqds_defconfig | 1 + configs/ls2080aqds_nand_defconfig | 1 + configs/ls2080ardb_SECURE_BOOT_defconfig | 1 + configs/ls2080ardb_defconfig | 1 + configs/ls2080ardb_nand_defconfig | 1 + configs/lschlv2_defconfig | 1 + configs/lsxhl_defconfig | 1 + configs/luan_defconfig | 1 + configs/lwmon5_defconfig | 1 + configs/m28evk_defconfig | 1 + configs/m53evk_defconfig | 1 + configs/ma5d4evk_defconfig | 1 + configs/makalu_defconfig | 1 + configs/malta64_defconfig | 1 - configs/malta64el_defconfig | 1 - configs/malta_defconfig | 1 - configs/maltael_defconfig | 1 - configs/maxbcm_defconfig | 1 + configs/mcx_defconfig | 1 + configs/mecp5123_defconfig | 1 + configs/medcom-wide_defconfig | 1 - configs/meesc_dataflash_defconfig | 1 + configs/meesc_defconfig | 1 + configs/mk802_defconfig | 1 - configs/mk802ii_defconfig | 1 - configs/mpc5121ads_defconfig | 1 + configs/mpc5121ads_rev2_defconfig | 1 + configs/mpc8308_p1m_defconfig | 1 + configs/ms7722se_defconfig | 1 + configs/mt_ventoux_defconfig | 1 + configs/munices_defconfig | 1 + configs/mx23_olinuxino_defconfig | 1 + configs/mx31ads_defconfig | 1 + configs/mx53ard_defconfig | 1 + configs/mx53evk_defconfig | 1 + configs/mx53smd_defconfig | 1 + configs/nas220_defconfig | 1 + configs/neo_defconfig | 1 + configs/net2big_v2_defconfig | 1 + configs/netspace_lite_v2_defconfig | 1 + configs/netspace_max_v2_defconfig | 1 + configs/netspace_mini_v2_defconfig | 1 + configs/netspace_v2_defconfig | 1 + configs/nokia_rx51_defconfig | 1 + configs/nsa310s_defconfig | 1 + configs/nyan-big_defconfig | 1 - configs/odroid-xu3_defconfig | 1 - configs/omap3_evm_defconfig | 1 + configs/omap3_ha_defconfig | 1 + configs/omap3_logic_defconfig | 2 +- configs/omapl138_lcdk_defconfig | 1 + configs/openrd_base_defconfig | 1 + configs/openrd_client_defconfig | 1 + configs/openrd_ultimate_defconfig | 1 + configs/orangepi_2_defconfig | 2 -- configs/orangepi_one_defconfig | 2 -- configs/orangepi_pc_defconfig | 1 - configs/orangepi_plus_defconfig | 2 -- configs/p2771-0000_defconfig | 1 - configs/paz00_defconfig | 1 - configs/pb1000_defconfig | 1 - configs/pcm030_LOWBOOT_defconfig | 1 + configs/pcm030_defconfig | 1 + configs/pcm051_rev1_defconfig | 1 - configs/pcm051_rev3_defconfig | 1 - configs/pcm052_defconfig | 1 + configs/pdm360ng_defconfig | 1 + configs/pic32mzdask_defconfig | 2 +- configs/picosam9g45_defconfig | 1 + configs/pine64_plus_defconfig | 2 +- configs/plutux_defconfig | 1 - configs/pm9261_defconfig | 1 + configs/pm9263_defconfig | 1 + configs/pm9g45_defconfig | 1 + configs/pogo_e02_defconfig | 1 + configs/porter_defconfig | 1 + configs/pov_protab2_ips9_defconfig | 1 - configs/pxm2_defconfig | 1 + configs/qemu_mips64_defconfig | 2 +- configs/qemu_mips64el_defconfig | 2 +- configs/qemu_mips_defconfig | 2 +- configs/qemu_mipsel_defconfig | 2 +- configs/r0p7734_defconfig | 1 + configs/r7780mp_defconfig | 1 + configs/rainier_defconfig | 1 + configs/rainier_ramboot_defconfig | 1 + configs/rastaban_defconfig | 1 + configs/redwood_defconfig | 1 + configs/rock2_defconfig | 1 - configs/rsk7264_defconfig | 1 + configs/rsk7269_defconfig | 1 + configs/rut_defconfig | 1 + configs/sama5d2_ptc_nandflash_defconfig | 1 + configs/sama5d2_ptc_spiflash_defconfig | 1 + configs/sama5d2_xplained_mmc_defconfig | 3 +- configs/sama5d2_xplained_spiflash_defconfig | 3 +- configs/sama5d3_xplained_mmc_defconfig | 3 +- configs/sama5d3_xplained_nandflash_defconfig | 3 +- configs/sama5d3xek_mmc_defconfig | 3 +- configs/sama5d3xek_nandflash_defconfig | 3 +- configs/sama5d3xek_spiflash_defconfig | 3 +- configs/sama5d4_xplained_mmc_defconfig | 3 +- configs/sama5d4_xplained_nandflash_defconfig | 3 +- configs/sama5d4_xplained_spiflash_defconfig | 3 +- configs/sama5d4ek_mmc_defconfig | 3 +- configs/sama5d4ek_nandflash_defconfig | 3 +- configs/sama5d4ek_spiflash_defconfig | 3 +- configs/sandbox_defconfig | 8 ++--- configs/sansa_fuze_plus_defconfig | 1 + configs/sbc8349_PCI_33_defconfig | 1 + configs/sbc8349_PCI_66_defconfig | 1 + configs/sbc8349_defconfig | 1 + configs/sbc8548_PCI_33_PCIE_defconfig | 1 + configs/sbc8548_PCI_33_defconfig | 1 + configs/sbc8548_PCI_66_PCIE_defconfig | 1 + configs/sbc8548_PCI_66_defconfig | 1 + configs/sbc8548_defconfig | 1 + configs/sbc8641d_defconfig | 1 + configs/sc_sps_1_defconfig | 1 + configs/seaboard_defconfig | 1 - configs/sequoia_defconfig | 1 + configs/sequoia_ramboot_defconfig | 1 + configs/sh7752evb_defconfig | 1 + configs/sh7753evb_defconfig | 1 + configs/sh7757lcr_defconfig | 1 + configs/sh7785lcr_32bit_defconfig | 1 + configs/sh7785lcr_defconfig | 1 + configs/sheevaplug_defconfig | 1 + configs/silk_defconfig | 1 + configs/smartweb_defconfig | 1 + configs/smdk2410_defconfig | 1 + configs/smdkc100_defconfig | 1 + configs/smdkv310_defconfig | 1 - configs/snapper9260_defconfig | 1 + configs/snapper9g20_defconfig | 1 + configs/socfpga_arria5_defconfig | 3 +- configs/socfpga_cyclone5_defconfig | 3 +- configs/socfpga_de0_nano_soc_defconfig | 3 +- configs/socfpga_mcvevk_defconfig | 3 +- configs/socfpga_sockit_defconfig | 3 +- configs/socfpga_socrates_defconfig | 3 +- configs/socfpga_sr1500_defconfig | 3 +- configs/socfpga_vining_fpga_defconfig | 3 +- configs/stm32f429-discovery_defconfig | 1 + configs/stm32f746-disco_defconfig | 1 + configs/stout_defconfig | 1 + configs/strider_con_defconfig | 1 + configs/strider_con_dp_defconfig | 1 + configs/strider_cpu_defconfig | 1 + configs/strider_cpu_dp_defconfig | 1 + configs/stv0991_defconfig | 1 + configs/sunxi_Gemei_G9_defconfig | 1 - configs/sycamore_defconfig | 1 + configs/t3corp_defconfig | 1 + configs/tao3530_defconfig | 1 + configs/taurus_defconfig | 1 + configs/tb100_defconfig | 1 + configs/tec-ng_defconfig | 1 - configs/tec_defconfig | 1 - configs/theadorable_debug_defconfig | 1 + configs/theadorable_defconfig | 1 + configs/thuban_defconfig | 1 + configs/thunderx_88xx_defconfig | 2 +- configs/ti816x_evm_defconfig | 1 + configs/tplink_wdr4300_defconfig | 36 ++++++++++------------ configs/trimslice_defconfig | 1 - configs/twister_defconfig | 1 + configs/uniphier_ld11_defconfig | 1 + configs/uniphier_ld20_defconfig | 1 + configs/uniphier_ld4_sld8_defconfig | 1 + configs/uniphier_pro4_defconfig | 1 + configs/uniphier_pxs2_ld6b_defconfig | 1 + configs/uniphier_sld3_defconfig | 1 + configs/usb_a9263_dataflash_defconfig | 1 + configs/v38b_defconfig | 1 + configs/vct_platinum_defconfig | 2 +- configs/vct_platinum_onenand_defconfig | 2 +- configs/vct_platinum_onenand_small_defconfig | 2 +- configs/vct_platinum_small_defconfig | 2 +- configs/vct_platinumavc_defconfig | 2 +- configs/vct_platinumavc_onenand_defconfig | 2 +- configs/vct_platinumavc_onenand_small_defconfig | 2 +- configs/vct_platinumavc_small_defconfig | 2 +- configs/vct_premium_defconfig | 2 +- configs/vct_premium_onenand_defconfig | 2 +- configs/vct_premium_onenand_small_defconfig | 2 +- configs/vct_premium_small_defconfig | 2 +- configs/ve8313_defconfig | 1 + configs/venice2_defconfig | 1 - configs/ventana_defconfig | 1 - configs/vexpress_aemv8a_dram_defconfig | 1 - configs/vexpress_aemv8a_juno_defconfig | 1 - configs/vexpress_aemv8a_semi_defconfig | 1 - configs/vexpress_ca15_tc2_defconfig | 1 - configs/vexpress_ca5x2_defconfig | 1 - configs/vexpress_ca9x4_defconfig | 1 - configs/vf610twr_defconfig | 1 + configs/vf610twr_nand_defconfig | 1 + configs/vinco_defconfig | 1 + configs/vme8349_defconfig | 1 + configs/walnut_defconfig | 1 + configs/whistler_defconfig | 1 - configs/woodburn_defconfig | 1 + configs/woodburn_sd_defconfig | 1 + configs/work_92105_defconfig | 1 + configs/wtk_defconfig | 1 + configs/x600_defconfig | 1 + configs/xfi3_defconfig | 1 + configs/xilinx-ppc405-generic_defconfig | 1 + configs/xilinx-ppc440-generic_defconfig | 1 + configs/xilinx_zynqmp_ep_defconfig | 1 + configs/xilinx_zynqmp_zc1751_xm015_dc1_defconfig | 1 + configs/xilinx_zynqmp_zc1751_xm016_dc2_defconfig | 1 + configs/xilinx_zynqmp_zc1751_xm018_dc4_defconfig | 1 + configs/xilinx_zynqmp_zc1751_xm019_dc5_defconfig | 1 + configs/xilinx_zynqmp_zcu102_defconfig | 1 + configs/xilinx_zynqmp_zcu102_revB_defconfig | 1 + configs/xpedite1000_defconfig | 1 + configs/xpedite517x_defconfig | 1 + configs/xpedite520x_defconfig | 1 + configs/xpedite537x_defconfig | 1 + configs/xpedite550x_defconfig | 1 + configs/yellowstone_defconfig | 1 + configs/yosemite_defconfig | 1 + configs/yucca_defconfig | 1 + configs/zmx25_defconfig | 1 + configs/zynq_microzed_defconfig | 1 + configs/zynq_picozed_defconfig | 1 + configs/zynq_zc702_defconfig | 1 + configs/zynq_zc706_defconfig | 1 + configs/zynq_zc770_xm010_defconfig | 1 + configs/zynq_zc770_xm011_defconfig | 1 + configs/zynq_zc770_xm012_defconfig | 1 + configs/zynq_zc770_xm013_defconfig | 1 + configs/zynq_zed_defconfig | 1 + configs/zynq_zybo_defconfig | 1 + include/config_distro_defaults.h | 1 - include/configs/B4860QDS.h | 1 - include/configs/BSC9131RDB.h | 1 - include/configs/BSC9132QDS.h | 1 - include/configs/C29XPCIE.h | 1 - include/configs/CPCI2DP.h | 1 - include/configs/CPCI4052.h | 1 - include/configs/M5208EVBE.h | 1 - include/configs/M52277EVB.h | 1 - include/configs/M5235EVB.h | 1 - include/configs/M5253DEMO.h | 1 - include/configs/M5253EVBE.h | 1 - include/configs/M5272C3.h | 1 - include/configs/M5275EVB.h | 1 - include/configs/M5282EVB.h | 1 - include/configs/M53017EVB.h | 1 - include/configs/M5329EVB.h | 1 - include/configs/M5373EVB.h | 1 - include/configs/M54418TWR.h | 1 - include/configs/M54451EVB.h | 1 - include/configs/M54455EVB.h | 1 - include/configs/M5475EVB.h | 1 - include/configs/M5485EVB.h | 1 - include/configs/MIP405.h | 1 - include/configs/MPC8308RDB.h | 1 - include/configs/MPC8313ERDB.h | 1 - include/configs/MPC8315ERDB.h | 1 - include/configs/MPC8323ERDB.h | 1 - include/configs/MPC832XEMDS.h | 1 - include/configs/MPC8349EMDS.h | 1 - include/configs/MPC8349ITX.h | 1 - include/configs/MPC837XEMDS.h | 1 - include/configs/MPC837XERDB.h | 1 - include/configs/MPC8536DS.h | 1 - include/configs/MPC8540ADS.h | 1 - include/configs/MPC8541CDS.h | 1 - include/configs/MPC8544DS.h | 1 - include/configs/MPC8548CDS.h | 1 - include/configs/MPC8555CDS.h | 1 - include/configs/MPC8560ADS.h | 1 - include/configs/MPC8568MDS.h | 1 - include/configs/MPC8569MDS.h | 1 - include/configs/MPC8572DS.h | 1 - include/configs/MPC8610HPCD.h | 1 - include/configs/MPC8641HPCN.h | 1 - include/configs/MigoR.h | 1 - include/configs/P1010RDB.h | 1 - include/configs/P1022DS.h | 1 - include/configs/P1023RDB.h | 1 - include/configs/P2041RDB.h | 1 - include/configs/PATI.h | 5 --- include/configs/PIP405.h | 1 - include/configs/PLU405.h | 1 - include/configs/PMC405DE.h | 1 - include/configs/PMC440.h | 1 - include/configs/T102xQDS.h | 1 - include/configs/T102xRDB.h | 1 - include/configs/T1040QDS.h | 1 - include/configs/T104xRDB.h | 1 - include/configs/T208xQDS.h | 1 - include/configs/T208xRDB.h | 1 - include/configs/T4240QDS.h | 1 - include/configs/T4240RDB.h | 1 - include/configs/TQM5200.h | 1 - include/configs/TQM823L.h | 1 - include/configs/TQM823M.h | 1 - include/configs/TQM834x.h | 1 - include/configs/TQM850L.h | 1 - include/configs/TQM850M.h | 1 - include/configs/TQM855L.h | 1 - include/configs/TQM855M.h | 1 - include/configs/TQM860L.h | 1 - include/configs/TQM860M.h | 1 - include/configs/TQM862L.h | 1 - include/configs/TQM862M.h | 1 - include/configs/TQM866M.h | 1 - include/configs/TQM885D.h | 1 - include/configs/UCP1020.h | 3 -- include/configs/VCMA9.h | 1 - include/configs/VOM405.h | 1 - include/configs/a3m071.h | 1 - include/configs/a4m072.h | 1 - include/configs/ac14xx.h | 1 - include/configs/adp-ag101p.h | 1 - include/configs/am335x_sl50.h | 1 - include/configs/am3517_crane.h | 1 - include/configs/am3517_evm.h | 1 - include/configs/amcc-common.h | 1 - include/configs/amcore.h | 1 - include/configs/ap121.h | 1 - include/configs/ap143.h | 1 - include/configs/ap325rxa.h | 1 - include/configs/ap_sh4a_4a.h | 1 - include/configs/apf27.h | 1 - include/configs/apx4devkit.h | 1 - include/configs/arcangel4.h | 1 - include/configs/aria.h | 1 - include/configs/armadillo-800eva.h | 1 - include/configs/astro_mcf5373l.h | 13 -------- include/configs/at91-sama5_common.h | 1 - include/configs/at91rm9200ek.h | 1 - include/configs/at91sam9260ek.h | 1 - include/configs/at91sam9261ek.h | 1 - include/configs/at91sam9263ek.h | 1 - include/configs/at91sam9m10g45ek.h | 1 - include/configs/at91sam9n12ek.h | 1 - include/configs/at91sam9rlek.h | 1 - include/configs/at91sam9x5ek.h | 1 - include/configs/atngw100.h | 1 - include/configs/atngw100mkii.h | 1 - include/configs/atstk1002.h | 1 - include/configs/axs101.h | 1 - include/configs/bct-brettl2.h | 1 - include/configs/bf525-ucr2.h | 1 - include/configs/bf537-minotaur.h | 6 ---- include/configs/bf537-srv1.h | 9 ------ include/configs/bfin_adi_common.h | 2 -- include/configs/bg0900.h | 1 - include/configs/blackstamp.h | 1 - include/configs/blackvme.h | 1 - include/configs/br4.h | 1 - include/configs/calimain.h | 1 - include/configs/canmb.h | 1 - include/configs/cm5200.h | 1 - include/configs/cm_t35.h | 1 - include/configs/cm_t3517.h | 1 - include/configs/cm_t54.h | 2 -- include/configs/cobra5272.h | 1 - include/configs/colibri_pxa270.h | 1 - include/configs/colibri_vf.h | 1 - include/configs/controlcenterd.h | 2 -- include/configs/corenet_ds.h | 1 - include/configs/corvus.h | 1 - include/configs/cyrus.h | 1 - include/configs/da850evm.h | 1 - include/configs/dbau1x00.h | 1 - include/configs/devkit3250.h | 1 - include/configs/digsy_mtc.h | 1 - include/configs/draco.h | 2 -- include/configs/ea20.h | 1 - include/configs/eb_cpu5282.h | 1 - include/configs/eco5pk.h | 1 - include/configs/ecovec.h | 1 - include/configs/edb93xx.h | 1 - include/configs/edminiv2.h | 1 - include/configs/espt.h | 1 - include/configs/ethernut5.h | 1 - include/configs/flea3.h | 1 - include/configs/ge_bx50v3.h | 1 - include/configs/gr_cpci_ax2000.h | 1 - include/configs/gr_ep2s60.h | 1 - include/configs/gr_xc3s_1500.h | 1 - include/configs/grasshopper.h | 1 - include/configs/grsim.h | 1 - include/configs/grsim_leon2.h | 1 - include/configs/h2200.h | 1 - include/configs/hrcon.h | 1 - include/configs/ids8313.h | 1 - include/configs/imx27lite-common.h | 1 - include/configs/imx31_phycore.h | 1 - include/configs/inka4x0.h | 1 - include/configs/integratorap.h | 1 - include/configs/integratorcp.h | 1 - include/configs/ipam390.h | 1 - include/configs/ipek01.h | 1 - include/configs/jupiter.h | 1 - include/configs/km/keymile-common.h | 1 - include/configs/kwb.h | 1 - include/configs/kzm9g.h | 1 - include/configs/legoev3.h | 1 - include/configs/ls1012a_common.h | 1 - include/configs/ls1021aqds.h | 1 - include/configs/ls1021atwr.h | 1 - include/configs/ls1043a_common.h | 1 - include/configs/ls2080a_common.h | 1 - include/configs/lwmon5.h | 1 - include/configs/m28evk.h | 1 - include/configs/m53evk.h | 1 - include/configs/ma5d4evk.h | 1 - include/configs/manroland/common.h | 1 - include/configs/mcx.h | 1 - include/configs/mecp5123.h | 1 - include/configs/meesc.h | 1 - include/configs/microblaze-generic.h | 1 - include/configs/motionpro.h | 1 - include/configs/mpc5121ads.h | 1 - include/configs/mpc8308_p1m.h | 1 - include/configs/ms7722se.h | 1 - include/configs/ms7750se.h | 1 - include/configs/mt_ventoux.h | 1 - include/configs/munices.h | 1 - include/configs/mv-common.h | 1 - include/configs/mx23_olinuxino.h | 1 - include/configs/mx23evk.h | 1 - include/configs/mx25pdk.h | 1 - include/configs/mx28evk.h | 1 - include/configs/mx31ads.h | 1 - include/configs/mx31pdk.h | 1 - include/configs/mx35pdk.h | 1 - include/configs/mx51evk.h | 1 - include/configs/mx53ard.h | 1 - include/configs/mx53evk.h | 1 - include/configs/mx53loco.h | 1 - include/configs/mx53smd.h | 1 - include/configs/mx6_common.h | 1 - include/configs/mx7_common.h | 1 - include/configs/nokia_rx51.h | 1 - include/configs/o2dnt-common.h | 1 - include/configs/omap3_cairo.h | 2 -- include/configs/omap3_evm.h | 1 - include/configs/omap3_evm_quick_mmc.h | 1 - include/configs/omap3_evm_quick_nand.h | 1 - include/configs/omapl138_lcdk.h | 1 - include/configs/p1_p2_rdb_pc.h | 1 - include/configs/p1_twr.h | 1 - include/configs/pb1x00.h | 1 - include/configs/pcm030.h | 1 - include/configs/pcm052.h | 1 - include/configs/pdm360ng.h | 1 - include/configs/pic32mzdask.h | 1 - include/configs/picosam9g45.h | 1 - include/configs/pm9261.h | 1 - include/configs/pm9263.h | 1 - include/configs/pm9g45.h | 1 - include/configs/pr1.h | 1 - include/configs/pxm2.h | 2 -- include/configs/qemu-mips.h | 1 - include/configs/qemu-mips64.h | 1 - include/configs/qemu-ppce500.h | 1 - include/configs/r0p7734.h | 1 - include/configs/r2dplus.h | 1 - include/configs/r7780mp.h | 1 - include/configs/rastaban.h | 2 -- include/configs/rcar-gen2-common.h | 1 - include/configs/redwood.h | 1 - include/configs/rpi.h | 1 - include/configs/rsk7264.h | 1 - include/configs/rsk7269.h | 1 - include/configs/rut.h | 2 -- include/configs/sansa_fuze_plus.h | 1 - include/configs/sbc8349.h | 1 - include/configs/sbc8548.h | 1 - include/configs/sbc8641d.h | 1 - include/configs/sc_sps_1.h | 1 - include/configs/sh7752evb.h | 1 - include/configs/sh7753evb.h | 1 - include/configs/sh7757lcr.h | 1 - include/configs/sh7763rdp.h | 1 - include/configs/sh7785lcr.h | 1 - include/configs/smartweb.h | 1 - include/configs/smdk2410.h | 1 - include/configs/smdkc100.h | 1 - include/configs/snapper9260.h | 1 - include/configs/socfpga_arria5_socdk.h | 1 - include/configs/socfpga_cyclone5_socdk.h | 1 - include/configs/socfpga_de0_nano_soc.h | 1 - include/configs/socfpga_mcvevk.h | 1 - include/configs/socfpga_sockit.h | 1 - include/configs/socfpga_socrates.h | 1 - include/configs/socfpga_sr1500.h | 1 - include/configs/socfpga_vining_fpga.h | 1 - include/configs/socrates.h | 1 - include/configs/spear-common.h | 6 ---- include/configs/stm32f429-discovery.h | 1 - include/configs/stm32f746-disco.h | 1 - include/configs/strider.h | 1 - include/configs/stv0991.h | 1 - include/configs/tao3530.h | 1 - include/configs/taurus.h | 1 - include/configs/tb100.h | 1 - include/configs/thuban.h | 2 -- include/configs/thunderx_88xx.h | 1 - include/configs/ti814x_evm.h | 1 - include/configs/ti816x_evm.h | 1 - include/configs/tplink_wdr4300.h | 1 - include/configs/tricorder.h | 1 - include/configs/ts4800.h | 1 - include/configs/tseries.h | 1 - include/configs/twister.h | 1 - include/configs/uniphier.h | 1 - include/configs/usb_a9263.h | 1 - include/configs/v38b.h | 1 - include/configs/vct.h | 1 - include/configs/ve8313.h | 1 - include/configs/vexpress_aemv8a.h | 3 -- include/configs/vexpress_common.h | 1 - include/configs/vf610twr.h | 1 - include/configs/vme8349.h | 1 - include/configs/warp7.h | 1 - include/configs/woodburn_common.h | 1 - include/configs/work_92105.h | 1 - include/configs/x600.h | 1 - include/configs/x86-common.h | 1 - include/configs/xfi3.h | 1 - include/configs/xilinx-ppc.h | 1 - include/configs/xilinx_zynqmp.h | 1 - include/configs/xpedite1000.h | 1 - include/configs/xpedite517x.h | 1 - include/configs/xpedite520x.h | 1 - include/configs/xpedite537x.h | 1 - include/configs/xpedite550x.h | 1 - include/configs/zipitz2.h | 1 - include/configs/zmx25.h | 1 - include/configs/zynq-common.h | 1 - 1074 files changed, 788 insertions(+), 590 deletions(-) ------------------------------------------------------------------------------- commit 3191d8408053674c1b9bb79a82e3973add48830c Author: Simon Glass <sjg@chromium.org> Date: 2016-06-08 20:55:15 -0600 tiny-printf: Correct the snprintf() implementation This current code passes the variable arguments list to sprintf(). This is not correct. Fix it by calling _vprintf() directly. This makes firefly-rk3288 boot again. Fixes: abeb272 ("tiny-printf: Support snprintf()") Reviewed-by: Stefan Roese <sr@denx.de> Acked-by: Marek Vasut <marex@denx.de> Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / lib/tiny-printf.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 9c2f9b2da650907b928995350cc4e29480fb0f80 Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-06-08 18:02:32 +0900 ARM: uniphier: insert dsb barrier to ensure visibility of store I noticed secondary CPUs sometimes fail to wake up, and the root cause is that the sev instruction wakes up slave CPUs before the preceding the register write is observed by them. The read-back of the accessed register does not guarantee the order. In order to ensure the order between the register write and the sev instruction, a dsb instruction should be executed prior to the sev. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Base directory -> / arch/arm/mach-uniphier/arm64/smp_kick_cpus.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit f7e9402b54db4bed916c9adb2565d9713ca5bbfa Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-06-07 21:03:46 +0900 ARM: uniphier: do not erase when updating U-Boot image in eMMC device Unlike NAND, eMMC can be re-written without erasing. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Base directory -> / include/configs/uniphier.h | 1 - 1 file changed, 1 deletion(-) ------------------------------------------------------------------------------- commit 4565a74d56351c99443f964bf81d49007d2be9c4 Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-06-07 21:03:44 +0900 ARM: uniphier: do not overwrite fdt_file environment This code auto-detects the best-match FDT file name, but it should respect the user's choice if "fdt_file" environment is found in a saved set of environments. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Base directory -> / arch/arm/mach-uniphier/board_late_init.c | 3 +++ 1 file changed, 3 insertions(+) ------------------------------------------------------------------------------- commit 80630dad9d95f81a67d4b93e226a79e679393d31 Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-06-07 21:03:43 +0900 ARM: uniphier: check return code of setenv() Because setenv() may fail, it is better to check its return code. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Base directory -> / arch/arm/mach-uniphier/board_late_init.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) ------------------------------------------------------------------------------- commit 7760b49fa7fd383094dd7c5566c1382021664e95 Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-06-04 22:39:09 +0900 ARM: uniphier: fix boot mode for PH1-LD11 This function is shared between PH1-LD11 and PH1-LD20. The difference is the boot-mode latch for the USB boot mode. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Base directory -> / arch/arm/mach-uniphier/boot-mode/boot-mode-ld20.c | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit adb3928f152796e275f0535759796422d91f4709 Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-06-04 22:39:08 +0900 ARM: uniphier: support eMMC boot for PH1-LD11 and PH1-LD20 The Boot ROM on PH1-LD11/LD20 exports built-in APIs to load images from an eMMC device. They are useful to reduce the memory footprint of SPL, rather than compiling the whole MMC framework. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Base directory -> / arch/arm/mach-uniphier/boot-mode/Makefile | 4 + arch/arm/mach-uniphier/boot-mode/boot-mode.c | 25 +++++- arch/arm/mach-uniphier/boot-mode/spl_board.c | 128 +++++++++++++++++++++++++++ include/configs/uniphier.h | 4 +- 4 files changed, 157 insertions(+), 4 deletions(-) ------------------------------------------------------------------------------- commit cf0a8dab8ee8c1eafbcd9ed081f5cab15e5a58a5 Author: Marek Vasut <marex@denx.de> Date: 2016-06-08 02:57:05 +0200 ARM: socfpga: Sort Kconfig entries Just sort the board entries, no functional change. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Chin Liang See <clsee@altera.com> Cc: Dinh Nguyen <dinguyen@opensource.altera.com> Base directory -> / arch/arm/mach-socfpga/Kconfig | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) ------------------------------------------------------------------------------- commit 35546f6f2014282cc4f9772324b5588bd44a2938 Author: Pavel Machek <pavel@denx.de> Date: 2016-06-07 12:37:23 +0200 ARM: socfpga: add support for IS1 board This adds support for IS1 board. Pretty usual socfpga board, 256MB of RAM, does not have MMC, two SPI chips, one ethernet port, two additional ethernet ports connected to the FPGA. Signed-off-by: Pavel Machek <pavel@denx.de> Base directory -> / arch/arm/dts/Makefile | 1 + arch/arm/dts/socfpga_cyclone5_is1.dts | 106 ++++++ arch/arm/mach-socfpga/Kconfig | 6 + board/is1/MAINTAINERS | 6 + board/is1/Makefile | 7 + board/is1/qts/iocsr_config.h | 660 ++++++++++++++++++++++++++++++++++ board/is1/qts/pinmux_config.h | 219 +++++++++++ board/is1/qts/pll_config.h | 85 +++++ board/is1/qts/sdram_config.h | 341 ++++++++++++++++++ board/is1/socfpga.c | 4 + configs/socfpga_is1_defconfig | 43 +++ include/configs/socfpga_is1.h | 49 +++ 12 files changed, 1527 insertions(+) ------------------------------------------------------------------------------- commit d2ba7a6adcef6e6f8c4418c7b0caf9d7ab98a6d4 Author: Michael Heimpold <michael.heimpold@i2se.com> Date: 2016-06-06 14:26:39 +0200 arm: mxs: Remove misleading comments Both comments look like being copy & paste errors. Signed-off-by: Michael Heimpold <michael.heimpold@i2se.com> Cc: Peng Fan <Peng.Fan@freescale.com> Cc: Stefano Babic <sbabic@denx.de> Reviewed-by: Peng Fan <peng.fan@nxp.com> Base directory -> / arch/arm/cpu/arm926ejs/mxs/mxs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit f6825e4a449f83517742de00c56ef6ce4fda8f5a Author: Kimmo Surakka <kimmo.surakka@ge.com> Date: 2016-05-24 15:56:23 +0200 board: ge: bx50v3: add missing partnum variable Add missing ${partnum} to set rootdev correctly when booting from USB or MMC. Signed-off-by: Kimmo Surakka <kimmo.surakka@ge.com> [Rebased against v2016.05 and adjusted the variable name] Signed-off-by: Andrew Shadura <andrew.shadura@collabora.co.uk> Base directory -> / include/configs/ge_bx50v3.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) ------------------------------------------------------------------------------- commit f1249119bfc2e11f6c65f21d62e85f70aca46887 Author: Andrew Shadura <andrew.shadura@collabora.co.uk> Date: 2016-05-24 15:56:22 +0200 board: ge: bx50v3: disable unused features to improve size and boot speed Disable unused FPGA, NFS, FAT and EFI support to reduce the bootloader size. Don't clear memory reserved for malloc to improve boot speed. Signed-off-by: Andrew Shadura <andrew.shadura@collabora.co.uk> Base directory -> / configs/ge_b450v3_defconfig | 6 +++++- configs/ge_b650v3_defconfig | 6 +++++- configs/ge_b850v3_defconfig | 6 +++++- 3 files changed, 15 insertions(+), 3 deletions(-) ------------------------------------------------------------------------------- commit aacc10c5be41dabdc7d8ad567b3bfff888ad4037 Author: Andrew Shadura <andrew.shadura@collabora.co.uk> Date: 2016-05-24 15:56:21 +0200 board: ge: bx50v3: make SATA optional and disabled by default The SATA support is only useful for development and shouldn't be enabled in production, so it has to be disabled in U-boot by default. Signed-off-by: Andrew Shadura <andrew.shadura@collabora.co.uk> Base directory -> / include/configs/ge_bx50v3.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit c26ffd9b3cc20143058bb8917a137f8a25249d9a Author: Andrew Shadura <andrew.shadura@collabora.co.uk> Date: 2016-05-24 15:56:20 +0200 board: ge: bx50v3: make network support optional and disabled by default The network support is only useful for development and shouldn't be enabled in production, so it has to be disabled in U-boot by default. Signed-off-by: Andrew Shadura <andrew.shadura@collabora.co.uk> Base directory -> / configs/ge_b450v3_defconfig | 4 +--- configs/ge_b650v3_defconfig | 4 +--- configs/ge_b850v3_defconfig | 4 +--- include/configs/ge_bx50v3.h | 2 ++ 4 files changed, 5 insertions(+), 9 deletions(-) ------------------------------------------------------------------------------- commit fc44902a0d447d561a6a30c8d3e3e1ecf535ff9d Author: Andrew Shadura <andrew.shadura@collabora.co.uk> Date: 2016-05-24 15:56:19 +0200 board: ge: bx50v3: make USB support optional and disabled by default The USB support is only useful for development and shouldn't be enabled in production, so it has to be disabled in U-boot by default. Signed-off-by: Andrew Shadura <andrew.shadura@collabora.co.uk> Base directory -> / configs/ge_b450v3_defconfig | 2 -- configs/ge_b650v3_defconfig | 2 -- configs/ge_b850v3_defconfig | 2 -- include/configs/ge_bx50v3.h | 24 +++++++++++++++++------- 4 files changed, 17 insertions(+), 13 deletions(-) ------------------------------------------------------------------------------- commit 07aa030a18552bcb1e9de30e348c6b59f4ffb6a5 Author: Andrew Shadura <andrew.shadura@collabora.co.uk> Date: 2016-05-24 15:56:18 +0200 board: ge: bx50v3: make CONFIG_VIDEO optional and disabled by default The kernel already knows how to initialise the display, and initialising the display from U-boot is only useful for debugging and isn't necessary in production, so no need to have it enabled in U-boot by default. Signed-off-by: Andrew Shadura <andrew.shadura@collabora.co.uk> Base directory -> / include/configs/ge_bx50v3.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) ------------------------------------------------------------------------------- commit 0c344e6e7a05a83556bbd291c39f8456b287abca Author: Andrew Shadura <andrew.shadura@collabora.co.uk> Date: 2016-05-24 15:56:17 +0200 board: ge: bx50v3: don't configure the backlight when there's no display Don't try to configure the backlight when CONFIG_VIDEO_IPUV3 isn't set. Signed-off-by: Andrew Shadura <andrew.shadura@collabora.co.uk> Base directory -> / board/ge/bx50v3/bx50v3.c | 3 +++ 1 file changed, 3 insertions(+) ------------------------------------------------------------------------------- commit b104b3dc1dd90cdbf67ccf3c51b06e4f1592fe91 Author: Tom Rini <trini@konsulko.com> Date: 2016-06-06 17:43:54 -0400 Prepare v2016.07-rc1 Signed-off-by: Tom Rini <trini@konsulko.com> Base directory -> / Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit d77fa2ff766bbb4b867e791187f78b6033071613 Author: Tom Rini <trini@konsulko.com> Date: 2016-06-06 13:24:23 -0400 Merge http://git.denx.de/u-boot-samsung Signed-off-by: Tom Rini <trini@konsulko.com> Conflicts: configs/peach-pi_defconfig configs/peach-pit_defconfig Base directory -> / arch/arm/Kconfig | 1 - arch/arm/cpu/armv7/s5p-common/timer.c | 3 + arch/arm/dts/Makefile | 1 + arch/arm/dts/exynos5.dtsi | 3 +- arch/arm/dts/exynos5250-snow.dts | 44 + arch/arm/dts/exynos5250-spring.dts | 53 + arch/arm/dts/exynos5250.dtsi | 7 + arch/arm/dts/exynos5420-peach-pit.dts | 55 + arch/arm/dts/exynos54xx.dtsi | 11 +- arch/arm/dts/exynos5800-peach-pi.dts | 40 + arch/arm/dts/exynos7420-espresso7420.dts | 24 + arch/arm/dts/exynos7420.dtsi | 83 ++ arch/arm/mach-exynos/Kconfig | 61 +- arch/arm/mach-exynos/Makefile | 6 +- arch/arm/mach-exynos/include/mach/cpu.h | 4 +- arch/arm/mach-exynos/include/mach/dp_info.h | 5 +- arch/arm/mach-exynos/include/mach/gpio.h | 2 +- arch/arm/mach-exynos/include/mach/mipi_dsim.h | 10 +- arch/arm/mach-exynos/include/mach/power.h | 2 +- arch/arm/mach-exynos/lowlevel_init.c | 3 + arch/arm/mach-exynos/mmu-arm64.c | 35 + arch/arm/mach-exynos/pinmux.c | 6 + arch/arm/mach-exynos/power.c | 2 +- arch/arm/mach-exynos/soc.c | 10 + board/samsung/common/board.c | 25 +- board/samsung/common/exynos5-dt.c | 158 --- board/samsung/common/misc.c | 10 + board/samsung/espresso7420/Kconfig | 16 + board/samsung/espresso7420/MAINTAINERS | 5 + board/samsung/espresso7420/Makefile | 10 + board/samsung/espresso7420/espresso7420.c | 16 + board/samsung/trats/trats.c | 2 + board/samsung/universal_c210/universal.c | 2 + configs/arndale_defconfig | 1 + configs/espresso7420_defconfig | 9 + configs/odroid-xu3_defconfig | 1 + configs/odroid_defconfig | 1 + configs/origen_defconfig | 1 + configs/peach-pi_defconfig | 5 + configs/peach-pit_defconfig | 5 + configs/s5pc210_universal_defconfig | 1 + configs/smdk5250_defconfig | 1 + configs/smdk5420_defconfig | 1 + configs/smdkv310_defconfig | 1 + configs/snow_defconfig | 5 + configs/spring_defconfig | 5 + configs/trats2_defconfig | 1 + configs/trats_defconfig | 1 + drivers/clk/Kconfig | 1 + drivers/clk/Makefile | 1 + drivers/clk/exynos/Kconfig | 18 + drivers/clk/exynos/Makefile | 9 + drivers/clk/exynos/clk-exynos7420.c | 236 +++++ drivers/clk/exynos/clk-pll.c | 33 + drivers/clk/exynos/clk-pll.h | 9 + drivers/pinctrl/Kconfig | 1 + drivers/pinctrl/Makefile | 1 + drivers/pinctrl/exynos/Kconfig | 10 + drivers/pinctrl/exynos/Makefile | 9 + drivers/pinctrl/exynos/pinctrl-exynos.c | 141 +++ drivers/pinctrl/exynos/pinctrl-exynos.h | 77 ++ drivers/pinctrl/exynos/pinctrl-exynos7420.c | 120 +++ drivers/pinctrl/pinctrl-uclass.c | 1 + drivers/pwm/Kconfig | 9 + drivers/pwm/Makefile | 1 + drivers/pwm/exynos_pwm.c | 120 +++ drivers/serial/serial_s5p.c | 19 +- drivers/video/Makefile | 6 +- drivers/video/exynos/Makefile | 12 + drivers/video/exynos/exynos_dp.c | 1084 +++++++++++++++++++ drivers/video/exynos/exynos_dp_lowlevel.c | 1257 +++++++++++++++++++++++ drivers/video/exynos/exynos_dp_lowlevel.h | 89 ++ drivers/video/exynos/exynos_fb.c | 720 +++++++++++++ drivers/video/exynos/exynos_mipi_dsi.c | 324 ++++++ drivers/video/exynos/exynos_mipi_dsi_common.c | 620 +++++++++++ drivers/video/exynos/exynos_mipi_dsi_common.h | 35 + drivers/video/exynos/exynos_mipi_dsi_lowlevel.c | 639 ++++++++++++ drivers/video/exynos/exynos_mipi_dsi_lowlevel.h | 98 ++ drivers/video/exynos/exynos_pwm_bl.c | 45 + drivers/video/exynos_dp.c | 961 ----------------- drivers/video/exynos_dp_lowlevel.c | 1257 ----------------------- drivers/video/exynos_dp_lowlevel.h | 68 -- drivers/video/exynos_fb.c | 330 ------ drivers/video/exynos_fb.h | 41 - drivers/video/exynos_fimd.c | 409 -------- drivers/video/exynos_mipi_dsi.c | 337 ------ drivers/video/exynos_mipi_dsi_common.c | 620 ----------- drivers/video/exynos_mipi_dsi_common.h | 35 - drivers/video/exynos_mipi_dsi_lowlevel.c | 639 ------------ drivers/video/exynos_mipi_dsi_lowlevel.h | 98 -- drivers/video/exynos_pwm_bl.c | 45 - drivers/video/s6e8ax0.c | 4 +- drivers/video/simple_panel.c | 2 + include/configs/espresso7420.h | 34 + include/configs/exynos5-common.h | 2 - include/configs/exynos5-dt-common.h | 5 +- include/configs/exynos7420-common.h | 113 ++ include/configs/s5pc210_universal.h | 3 - include/configs/smdk5250.h | 3 + include/configs/smdk5420.h | 4 + include/configs/trats.h | 4 - include/configs/trats2.h | 4 - include/dt-bindings/clock/exynos7420-clk.h | 207 ++++ include/dt-bindings/clock/maxim,max77802.h | 22 + include/dt-bindings/regulator/maxim,max77802.h | 18 + include/exynos_lcd.h | 4 +- include/libtizen.h | 2 + include/video.h | 5 + lib/tizen/tizen.c | 2 + 109 files changed, 6716 insertions(+), 5061 deletions(-) ------------------------------------------------------------------------------- commit 65eac4cc54921f9496061b0e0f0a7e159b42a3c6 Author: B, Ravi <ravibabu@ti.com> Date: 2016-06-03 20:44:02 +0530 ti_armv7_common: env: Fix hard coded mmc device for uuid Avoid use of hard coded mmcdev value, use bootpart instead, so finduuid works based on bootpart set for a specific platform. Signed-off-by: Ravi Babu <ravibabu@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / include/configs/ti_armv7_common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit cdaa633fcf9c2bd54aa3c130ee727708a4e2406a Author: Andre Przywara <andre.przywara@arm.com> Date: 2016-05-31 10:45:06 -0700 arm/arm64: implement a boot header capability Some SPL loaders (like Allwinner's boot0, and Broadcom's boot0) require a header before the actual U-Boot binary to both check its validity and to find other data to load. Sometimes this header may only be a few bytes of information, and sometimes this might simply be space that needs to be reserved for a post-processing tool. Introduce a config option to allow assembler preprocessor commands to be inserted into the code at the appropriate location; typical assembler preprocessor commands might be: .space 1000 .word 0x12345678 Signed-off-by: Andre Przywara <andre.przywara@arm.com> Signed-off-by: Steve Rae <srae@broadcom.com> Commit Notes: Please note that the current code: start.S (arm64) and vectors.S (arm) already jumps over some portion of data already, so this option basically just increases the size of this region (and the resulting binary). For use with Allwinner's boot0 blob there is a tool called boot0img[1], which fills the header to allow booting A64 based boards. For the Pine64 we need a 1536 byte header (including the branch instruction) at the moment, so we add this to the defconfig. [1] https://github.com/apritzel/pine64/tree/master/tools END Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / arch/arm/Kconfig | 8 ++++++++ arch/arm/cpu/armv8/start.S | 10 ++++++++++ arch/arm/include/asm/arch-bcm281xx/boot0.h | 15 +++++++++++++++ arch/arm/include/asm/arch-sunxi/boot0.h | 14 ++++++++++++++ arch/arm/lib/vectors.S | 10 ++++++++++ configs/bcm28155_ap_defconfig | 1 + configs/bcm28155_w1d_defconfig | 1 + configs/pine64_plus_defconfig | 1 + 8 files changed, 60 insertions(+) ------------------------------------------------------------------------------- commit be86492bdaeb8fdfd8d66bba79a9bd899531b8b0 Author: Chris Packham <chris.packham@alliedtelesis.co.nz> Date: 2016-05-31 20:30:59 +1200 lib: make strmhz available in SPL When setting up a DDR controller it is useful to be able to display frequencies in a readable form. Make the strmhz() function available in SPL builds provided there is full vsprintf available. Reviewed-by: Tony O'Brien <tony.obrien@alliedtelesis.co.nz> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Chris Packham <judge.packham@gmail.com> Base directory -> / lib/Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) ------------------------------------------------------------------------------- commit 25bab53ab26efdb9e2024477f896be65b6e7191e Author: Robert P. J. Day <rpjday@crashcourse.ca> Date: 2016-05-30 06:55:53 -0400 Remove unneeded remnants of bcopy(). Since bcopy() is no longer used, delete all remaining references to it. Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Base directory -> / arch/microblaze/include/asm/string.h | 2 -- arch/powerpc/lib/ppcstring.S | 7 ------- include/linux/string.h | 4 ---- lib/string.c | 24 ------------------------ 4 files changed, 37 deletions(-) ------------------------------------------------------------------------------- commit 5c2728ff0fb6ade135cc15c4849acac7db1d93d0 Author: Lokesh Vutla <lokeshvutla@ti.com> Date: 2016-06-06 11:18:42 +0530 configs: k2*_evm: Update fdt file names Now that all Keystone2 dts file names are changed in Linux kernel, reflect the same in evn variables inorder to find the right dtb file. Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> Base directory -> / include/configs/k2e_evm.h | 2 +- include/configs/k2g_evm.h | 2 +- include/configs/k2hk_evm.h | 2 +- include/configs/k2l_evm.h | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) ------------------------------------------------------------------------------- commit ca5599c3fb4551c5a71b627f7552723fb9c74928 Author: Lokesh Vutla <lokeshvutla@ti.com> Date: 2016-06-06 10:54:57 +0530 ARM: DRA7xx: Enable FIT for hs platforms Use a single defconfig for all DRA7xx hs platforms by enabling FIT and delete the platform specific defconfigs. Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> Base directory -> / board/ti/dra7xx/MAINTAINERS | 1 + configs/dra72_hs_evm_defconfig | 57 -------------------------------------- configs/dra74_hs_evm_defconfig | 56 ------------------------------------- configs/dra7xx_hs_evm_defconfig | 61 +++++++++++++++++++++++++++++++++++++++++ 4 files changed, 62 insertions(+), 113 deletions(-) ------------------------------------------------------------------------------- commit e22455f0a6020acc781267cf2f6e926fe8a4cae7 Author: Ladislav Michl <ladis@linux-mips.org> Date: 2016-06-02 11:43:16 +0200 armv7: fix order of OMAP die ID printing Signed-off-by: Ladislav Michl <ladis@linux-mips.org> Acked-by: Enric Balletbo i Serra <enric.balletbo@collabora.com> Base directory -> / arch/arm/cpu/armv7/omap-common/utils.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit a812241091cec09c4a214c57776eefb8f19d81a9 Author: Alexander Graf <agraf@suse.de> Date: 2016-06-05 22:34:31 +0200 efi_loader: Add DM_VIDEO support Some systems are starting to shift to support DM_VIDEO which exposes the frame buffer through a slightly different interface. This is a poor man's effort to support the dm video interface instead of the lcd one. We still only support a single display device. Signed-off-by: Alexander Graf <agraf@suse.de> [trini: Remove fb_size / fb_base as they were not used] Signed-off-by: Tom Rini <trini@konsulko.com> Base directory -> / lib/efi_loader/efi_gop.c | 57 ++++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 50 insertions(+), 7 deletions(-) ------------------------------------------------------------------------------- commit 74c16acce30bb882ad5951829d8dafef8eea564c Author: Alexander Graf <agraf@suse.de> Date: 2016-05-27 12:25:03 +0200 efi_loader: Don't allocate from memory holes When a payload calls our memory allocator with the exact address hint, we happily allocate memory from completely unpopulated regions. Payloads however expect this to only succeed if they would be allocating from free conventional memory. This patch makes the logic behind those checks a bit more obvious and ensures that we always allocate from known good free conventional memory regions if we want to allocate ram. Reported-by: Jonathan Gray <jsg@jsg.id.au> Signed-off-by: Alexander Graf <agraf@suse.de> Base directory -> / lib/efi_loader/efi_memory.c | 55 ++++++++++++++++++++++++++++++++++++--------- 1 file changed, 45 insertions(+), 10 deletions(-) ------------------------------------------------------------------------------- commit edcef3ba1d2d5beb92fcd7df253e196e77ba174d Author: Alexander Graf <agraf@suse.de> Date: 2016-06-02 11:38:27 +0200 efi_loader: Move to normal debug infrastructure We introduced special "DEBUG_EFI" defines when the efi loader support was new. After giving it a bit of thought, turns out we really didn't have to - the normal #define DEBUG infrastructure works well enough for efi loader as well. So this patch switches to the common debug() and #define DEBUG way of printing debug information. Signed-off-by: Alexander Graf <agraf@suse.de> Base directory -> / cmd/bootefi.c | 4 +--- include/efi_loader.h | 10 +--------- lib/efi_loader/efi_boottime.c | 6 +----- lib/efi_loader/efi_disk.c | 11 ++++------- lib/efi_loader/efi_memory.c | 2 -- lib/efi_loader/efi_runtime.c | 14 +++----------- 6 files changed, 10 insertions(+), 37 deletions(-) ------------------------------------------------------------------------------- commit a86aeaf228da739bce6bc40927949efc33672050 Author: Alexander Graf <agraf@suse.de> Date: 2016-05-20 23:28:23 +0200 efi_loader: Add exit support Some times you may want to exit an EFI payload again, for example to default boot into a PXE installation and decide that you would rather want to boot from the local disk instead. This patch adds exit functionality to the EFI implementation, allowing EFI payloads to exit. Signed-off-by: Alexander Graf <agraf@suse.de> Base directory -> / cmd/bootefi.c | 6 ++++++ include/efi_api.h | 10 ++++++++++ lib/efi_loader/efi_boottime.c | 21 ++++++++++++++++----- 3 files changed, 32 insertions(+), 5 deletions(-) ------------------------------------------------------------------------------- commit 97d44b1f5c328af97d3c381c77858c8dd32c8e20 Author: Alexander Graf <agraf@suse.de> Date: 2016-05-20 23:28:22 +0200 arm: Introduce setjmp/longjmp To quit an EFI application we will need logic to jump to the caller of a function without returning from the function we called into, so we need setjmp/longjmp functionality. This patch introduces a trivial implementation of these that I verified works on armv7, thumb2 and aarch64. Signed-off-by: Alexander Graf <agraf@suse.de> Base directory -> / arch/arm/include/asm/setjmp.h | 99 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 99 insertions(+) ------------------------------------------------------------------------------- commit 145510cc7651fa36f1e6ee2d3d8504b05e965b1a Author: Dirk Eibach <dirk.eibach@gdsys.cc> Date: 2016-06-02 09:05:42 +0200 strider: Support cpu-dp flavor There is new strider cpu flavor with DisplayPort video. Signed-off-by: Dirk Eibach <dirk.eibach@gdsys.cc> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / configs/strider_cpu_dp_defconfig | 20 ++++++++++++++++++++ include/configs/strider.h | 10 +++++++++- 2 files changed, 29 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 1d2541ba32c0ab144c9307edd4a76606ad528ce0 Author: Dirk Eibach <dirk.eibach@gdsys.cc> Date: 2016-06-02 09:05:41 +0200 strider: Support con-dp flavor There is a new strider console flavor with DisplayPort video. Signed-off-by: Dirk Eibach <dirk.eibach@gdsys.cc> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / board/gdsys/common/Makefile | 1 + board/gdsys/mpc8308/strider.c | 37 ++++++++++++++++++++++ configs/strider_con_dp_defconfig | 20 ++++++++++++ include/configs/strider.h | 67 +++++++++++++++++++++++++++++++++++++--- include/gdsys_fpga.h | 2 +- 5 files changed, 121 insertions(+), 6 deletions(-) ------------------------------------------------------------------------------- commit df3223f9f78a2d841c10fe5037f11bd28c03b6a5 Author: Dirk Eibach <dirk.eibach@gdsys.cc> Date: 2016-06-02 09:05:40 +0200 gdsys: osd: Allow osdsize on valid screens only Limit "osdsize"-command to access valid screens only. Signed-off-by: Dirk Eibach <dirk.eibach@gdsys.cc> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / board/gdsys/common/osd.c | 3 +++ 1 file changed, 3 insertions(+) ------------------------------------------------------------------------------- commit 52b13f275e0c1c2e1fb1e367a01614137baf64ce Author: Dirk Eibach <dirk.eibach@gdsys.cc> Date: 2016-06-02 09:05:39 +0200 ioep-fpga: Support intempo compression There is a new "intempo" compression type that can be reported on startup. Signed-off-by: Dirk Eibach <dirk.eibach@gdsys.cc> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / board/gdsys/common/ioep-fpga.c | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) ------------------------------------------------------------------------------- commit c165994299281957d735f5ec8863dda6243c3456 Author: Peter Howard <pjh@northern-ridge.com.au> Date: 2016-06-02 13:19:26 +1000 Fix to davinci_nand.h to place CEnCFG registers at correct Signed-off-by: Peter Howard <phoward@gme.net.au> Base directory -> / arch/arm/include/asm/ti-common/davinci_nand.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) ------------------------------------------------------------------------------- commit 69c125fe7b7dd057ed3e9013e6786b9f374cf8cd Author: Ed Swarthout <Ed.Swarthout@nxp.com> Date: 2016-06-01 08:11:24 -0500 dm: scsi: if_typename should be scsi Fixes: => ext2ls scsi 0:1 ** Bad device scsi 0:1 ** for boards which use the scsi legacy driver (such as ls1043ardb). Signed-off-by: Ed Swarthout <Ed.Swarthout@nxp.com> Tested-by: George McCollister <george.mccollister@gmail.com> Acked-by: Simon Glass <sjg@chromium.org> Base directory -> / common/scsi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit ffd859979e2a84bccc14188d9fa760b2e4813515 Author: Tom Rini <trini@konsulko.com> Date: 2016-06-06 10:04:58 -0400 Merge branch 'master' of git://git.denx.de/u-boot-usb Modified: configs/ls1012afrdm_qspi_defconfig configs/ls1012aqds_qspi_defconfig configs/ls1012ardb_qspi_defconfig include/configs/ls1012afrdm.h include/configs/ls1012aqds.h include/configs/ls1012ardb.h Signed-off-by: Tom Rini <trini@konsulko.com> Base directory -> / common/usb.c | 2 +- configs/am437x_hs_evm_defconfig | 2 ++ configs/am43xx_evm_defconfig | 2 ++ configs/am43xx_evm_ethboot_defconfig | 2 ++ configs/am43xx_evm_qspiboot_defconfig | 2 ++ configs/am43xx_evm_usbhost_boot_defconfig | 2 ++ configs/am57xx_evm_defconfig | 3 +++ configs/am57xx_evm_nodt_defconfig | 3 +++ configs/am57xx_hs_evm_defconfig | 3 +++ configs/bf526-ezbrd_defconfig | 1 + configs/bf527-ezkit-v2_defconfig | 1 + configs/bf527-ezkit_defconfig | 1 + configs/bf548-ezkit_defconfig | 1 + configs/cm_t43_defconfig | 3 +++ configs/dra72_hs_evm_defconfig | 2 ++ configs/dra74_hs_evm_defconfig | 2 ++ configs/dra7xx_evm_defconfig | 2 ++ configs/k2e_evm_defconfig | 3 +++ configs/k2g_evm_defconfig | 3 +++ configs/k2hk_evm_defconfig | 3 +++ configs/k2l_evm_defconfig | 3 +++ configs/ls1012afrdm_qspi_defconfig | 3 +++ configs/ls1012aqds_qspi_defconfig | 3 +++ configs/ls1012ardb_qspi_defconfig | 3 +++ configs/ls1021aqds_ddr4_nor_defconfig | 3 +++ configs/ls1021aqds_ddr4_nor_lpuart_defconfig | 3 +++ configs/ls1021aqds_nand_defconfig | 3 +++ configs/ls1021aqds_nor_SECURE_BOOT_defconfig | 3 +++ configs/ls1021aqds_nor_defconfig | 3 +++ configs/ls1021aqds_nor_lpuart_defconfig | 3 +++ configs/ls1021aqds_qspi_defconfig | 3 +++ configs/ls1021aqds_sdcard_ifc_defconfig | 3 +++ configs/ls1021aqds_sdcard_qspi_defconfig | 3 +++ configs/ls1021atwr_nor_SECURE_BOOT_defconfig | 3 +++ configs/ls1021atwr_nor_defconfig | 3 +++ configs/ls1021atwr_nor_lpuart_defconfig | 3 +++ configs/ls1021atwr_qspi_defconfig | 3 +++ configs/ls1021atwr_sdcard_ifc_defconfig | 3 +++ configs/ls1021atwr_sdcard_qspi_defconfig | 3 +++ configs/ls1043aqds_defconfig | 3 +++ configs/ls1043aqds_lpuart_defconfig | 3 +++ configs/ls1043aqds_nand_defconfig | 3 +++ configs/ls1043aqds_nor_ddr3_defconfig | 3 +++ configs/ls1043aqds_qspi_defconfig | 3 +++ configs/ls1043aqds_sdcard_ifc_defconfig | 3 +++ configs/ls1043aqds_sdcard_qspi_defconfig | 3 +++ configs/ls1043ardb_SECURE_BOOT_defconfig | 3 +++ configs/ls1043ardb_defconfig | 3 +++ configs/ls1043ardb_nand_defconfig | 3 +++ configs/ls1043ardb_sdcard_defconfig | 3 +++ configs/ls2080aqds_SECURE_BOOT_defconfig | 3 +++ configs/ls2080aqds_defconfig | 3 +++ configs/ls2080aqds_nand_defconfig | 3 +++ configs/ls2080ardb_SECURE_BOOT_defconfig | 3 +++ configs/ls2080ardb_defconfig | 3 +++ configs/ls2080ardb_nand_defconfig | 3 +++ configs/odroid-xu3_defconfig | 2 ++ configs/peach-pi_defconfig | 2 ++ configs/peach-pit_defconfig | 2 ++ configs/smdk5420_defconfig | 2 ++ configs/xilinx_zynqmp_ep_defconfig | 2 ++ configs/xilinx_zynqmp_zc1751_xm015_dc1_defconfig | 2 ++ configs/xilinx_zynqmp_zc1751_xm016_dc2_defconfig | 2 ++ configs/xilinx_zynqmp_zcu102_defconfig | 2 ++ configs/xilinx_zynqmp_zcu102_revB_defconfig | 2 ++ drivers/usb/host/Kconfig | 12 ++++++------ drivers/usb/host/Makefile | 2 +- include/configs/am43xx_evm.h | 2 -- include/configs/am57xx_evm.h | 2 -- include/configs/bf526-ezbrd.h | 1 - include/configs/bf527-ezkit.h | 1 - include/configs/bf548-ezkit.h | 1 - include/configs/cm_t43.h | 2 -- include/configs/dra7xx_evm.h | 2 -- include/configs/ds414.h | 3 +-- include/configs/exynos5-common.h | 1 - include/configs/exynos5420-common.h | 1 - include/configs/ls1012afrdm.h | 2 -- include/configs/ls1012aqds.h | 2 -- include/configs/ls1012ardb.h | 2 -- include/configs/ls1021aqds.h | 2 -- include/configs/ls1021atwr.h | 2 -- include/configs/ls1043aqds.h | 2 -- include/configs/ls1043ardb.h | 2 -- include/configs/ls2080aqds.h | 2 -- include/configs/ls2080ardb.h | 2 -- include/configs/smdk5420.h | 1 - include/configs/ti_armv7_keystone2.h | 2 -- include/configs/xilinx_zynqmp.h | 2 -- include/dwc3-uboot.h | 2 +- 90 files changed, 177 insertions(+), 47 deletions(-) ------------------------------------------------------------------------------- commit 1cb9cb3ec0f19b8c54bb01670a530f5bc210d5f3 Author: Tom Rini <trini@konsulko.com> Date: 2016-06-06 07:16:39 -0400 Merge branch 'master' of git://www.denx.de/git/u-boot-microblaze Base directory -> / arch/arm/cpu/armv8/zynqmp/cpu.c | 5 + arch/arm/dts/Makefile | 1 + arch/arm/dts/zynqmp-zc1751-xm018-dc4.dts | 212 +++++++++++++++++++++++ arch/microblaze/include/asm/asm.h | 2 +- board/xilinx/microblaze-generic/Kconfig | 24 +++ board/xilinx/microblaze-generic/config.mk | 24 +-- board/xilinx/microblaze-generic/xparameters.h | 1 - board/xilinx/zynqmp/zynqmp.c | 34 +++- common/env_common.c | 1 + configs/microblaze-generic_defconfig | 4 + configs/xilinx_zynqmp_ep_defconfig | 4 +- configs/xilinx_zynqmp_zc1751_xm015_dc1_defconfig | 2 + configs/xilinx_zynqmp_zc1751_xm016_dc2_defconfig | 8 + configs/xilinx_zynqmp_zc1751_xm018_dc4_defconfig | 43 +++++ configs/xilinx_zynqmp_zc1751_xm019_dc5_defconfig | 2 + configs/xilinx_zynqmp_zcu102_defconfig | 2 + configs/xilinx_zynqmp_zcu102_revB_defconfig | 2 + include/asm-generic/global_data.h | 1 + include/configs/xilinx_zynqmp.h | 66 +++++-- include/configs/xilinx_zynqmp_ep.h | 7 - include/configs/xilinx_zynqmp_zc1751_xm015_dc1.h | 7 - include/configs/xilinx_zynqmp_zc1751_xm016_dc2.h | 7 - include/configs/xilinx_zynqmp_zc1751_xm018_dc4.h | 17 ++ include/configs/xilinx_zynqmp_zc1751_xm019_dc5.h | 7 - include/configs/xilinx_zynqmp_zcu102.h | 8 - scripts/Makefile.spl | 7 +- 26 files changed, 419 insertions(+), 79 deletions(-) ------------------------------------------------------------------------------- commit 59e880560f49827458b82345bb5ccfb7cb93af8c Author: Michal Simek <michal.simek@xilinx.com> Date: 2016-06-03 11:35:17 +0200 ARM64: zynqmp: Extend malloc space before relocation For boards which have more devices it is necessary to extend malloc space. Signed-off-by: Michal Simek <michal.simek@xilinx.com> Base directory -> / configs/xilinx_zynqmp_ep_defconfig | 2 +- configs/xilinx_zynqmp_zc1751_xm015_dc1_defconfig | 1 + configs/xilinx_zynqmp_zc1751_xm016_dc2_defconfig | 1 + configs/xilinx_zynqmp_zc1751_xm018_dc4_defconfig | 1 + configs/xilinx_zynqmp_zc1751_xm019_dc5_defconfig | 1 + configs/xilinx_zynqmp_zcu102_defconfig | 1 + configs/xilinx_zynqmp_zcu102_revB_defconfig | 1 + 7 files changed, 7 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit b72894f14da79cdcdab8007b079d922bd28e5ce7 Author: Michal Simek <michal.simek@xilinx.com> Date: 2016-04-22 14:28:54 +0200 ARM64: zynqmp: Add support for standard distro boot commands Nand and QSPI are not defined now but this will be extended. Based on selected bootmode boot_targets are rewritten. Patch also contains detection if variables are saved. If yes don't rewrite boot_targets variable. Also move variable setup to the end of file because SCSI needs to be defined before others macros are using it. Signed-off-by: Michal Simek <michal.simek@xilinx.com> Reviewed-by: Alexander Graf <agraf@suse.de> Base directory -> / board/xilinx/zynqmp/zynqmp.c | 34 +++++++++++--- include/configs/xilinx_zynqmp.h | 59 ++++++++++++++++++------ include/configs/xilinx_zynqmp_ep.h | 7 --- include/configs/xilinx_zynqmp_zc1751_xm015_dc1.h | 7 --- include/configs/xilinx_zynqmp_zc1751_xm016_dc2.h | 7 --- include/configs/xilinx_zynqmp_zc1751_xm018_dc4.h | 7 --- include/configs/xilinx_zynqmp_zc1751_xm019_dc5.h | 7 --- include/configs/xilinx_zynqmp_zcu102.h | 7 --- 8 files changed, 71 insertions(+), 64 deletions(-) ------------------------------------------------------------------------------- commit a8b6a156c0f7fb99502229e454bc9c3b38645280 Author: Alexander Graf <agraf@suse.de> Date: 2016-06-01 22:41:54 +0200 ARM64: zynqmp: Remove CONFIG_BOOTP_SERVERIP When the CONFIG_BOOTP_SERVERIP option is set, we ignore all dhcp values for the tftp server and use our own serverip and file name instead. This is usually not what we want and I doubt it's set for a good reason on ZynqMP. It definitely hurts if we want to support uEFI PXE boot on it. So just remove the option for now. Signed-off-by: Alexander Graf <agraf@suse.de> Signed-off-by: Michal Simek <michal.simek@xilinx.com> Base directory -> / include/configs/xilinx_zynqmp.h | 1 - 1 file changed, 1 deletion(-) ------------------------------------------------------------------------------- commit 0d169b8cd70975f60920b077d6ed96623db97d33 Author: Michal Simek <michal.simek@xilinx.com> Date: 2016-06-01 14:29:33 +0200 ARM64: zynqmp: Enable AHCI when CONFIG_SATA_CEVA is defined Simplify zcu102 board file by moving CONFIG_AHCI enabling to common file. Signed-off-by: Michal Simek <michal.simek@xilinx.com> Base directory -> / include/configs/xilinx_zynqmp.h | 3 ++- include/configs/xilinx_zynqmp_zcu102.h | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit 0c1b02a73636f77d8b9733f29c2b324471b9f5a1 Author: Michal Simek <michal.simek@xilinx.com> Date: 2016-05-17 08:38:53 +0200 ARM64: zynqmp: Enable support for SPL FIT images Enable support for RAM based FIT images read by SPL. Empty function for now to keep compiler happy. Signed-off-by: Michal Simek <michal.simek@xilinx.com> Base directory -> / configs/xilinx_zynqmp_ep_defconfig | 1 + configs/xilinx_zynqmp_zc1751_xm015_dc1_defconfig | 1 + configs/xilinx_zynqmp_zc1751_xm016_dc2_defconfig | 1 + configs/xilinx_zynqmp_zc1751_xm018_dc4_defconfig | 1 + configs/xilinx_zynqmp_zc1751_xm019_dc5_defconfig | 1 + configs/xilinx_zynqmp_zcu102_defconfig | 1 + configs/xilinx_zynqmp_zcu102_revB_defconfig | 1 + 7 files changed, 7 insertions(+) ------------------------------------------------------------------------------- commit 340b0e3bb6e8808a7e683e030b3c5b5137715041 Author: Michal Simek <michal.simek@xilinx.com> Date: 2016-05-30 16:06:54 +0200 env: Setup GD_FLG_ENV_DEFAULT flag when default environment are used Setup flag when default environment are used to be able to rewrite default distro boot variables based on SoC boot mode. Signed-off-by: Michal Simek <michal.simek@xilinx.com> Reviewed-by: Alexander Graf <agraf@suse.de> Base directory -> / common/env_common.c | 1 + include/asm-generic/global_data.h | 1 + 2 files changed, 2 insertions(+) ------------------------------------------------------------------------------- commit 1a6a6e9a168fefc7b73bbe2619d4a0725cfa344a Author: Michal Simek <michal.simek@xilinx.com> Date: 2016-05-30 14:57:02 +0200 ARM64: zynq: Fix boot.bin generation for Zynq and ZynqMP Fix boot.bin generation for Zynq and ZynqMP. Signed-off-by: Michal Simek <michal.simek@xilinx.com> Acked-by: Marek Vasut <marex@denx.de> Base directory -> / scripts/Makefile.spl | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) ------------------------------------------------------------------------------- commit 9c152edd12ba57bb3e3a570652e6493a8264e5af Author: Michal Simek <michal.simek@xilinx.com> Date: 2016-05-30 10:41:26 +0200 ARM64: zynqmp: Extend page_table_size 0xc000 is not sufficient page table size if dc4 with 4 gems is enabled. Signed-off-by: Michal Simek <michal.simek@xilinx.com> Base directory -> / arch/arm/cpu/armv8/zynqmp/cpu.c | 5 +++++ 1 file changed, 5 insertions(+) ------------------------------------------------------------------------------- commit 08ac386bb292d3be19f77e7d782574e72646ea1b Author: Michal Simek <michal.simek@xilinx.com> Date: 2016-05-26 08:06:38 +0200 ARM64: zynqmp: Add support for zc1751-dc4 zc1751-dc4 contains four GEMs. Signed-off-by: Michal Simek <michal.simek@xilinx.com> Base directory -> / arch/arm/dts/Makefile | 1 + arch/arm/dts/zynqmp-zc1751-xm018-dc4.dts | 212 +++++++++++++++++++++++ configs/xilinx_zynqmp_zc1751_xm018_dc4_defconfig | 41 +++++ include/configs/xilinx_zynqmp_zc1751_xm018_dc4.h | 24 +++ 4 files changed, 278 insertions(+) ------------------------------------------------------------------------------- commit ead66ab6dfc6fcf8bbd4d056e0a03b915c0e4450 Author: Michal Simek <michal.simek@xilinx.com> Date: 2016-05-20 09:55:00 +0200 ARM64: zynqmp: Add debug uart for zc1751-dc2 Add debug uart for zc1751-dc2. Signed-off-by: Michal Simek <michal.simek@xilinx.com> Base directory -> / configs/xilinx_zynqmp_zc1751_xm016_dc2_defconfig | 5 +++++ 1 file changed, 5 insertions(+) ------------------------------------------------------------------------------- commit a1a6af82e2c7be4ef34e38e2d01dd337e8b32903 Author: Michal Simek <michal.simek@xilinx.com> Date: 2016-05-30 10:13:37 +0200 ARM64: zynqmp: Enable Vitesse and RealTek ethernet phys Phys are available on zc1751-dc4 that's why enable them. Signed-off-by: Michal Simek <michal.simek@xilinx.com> Base directory -> / include/configs/xilinx_zynqmp.h | 2 ++ 1 file changed, 2 insertions(+) ------------------------------------------------------------------------------- commit ac551e3492fe7bf9b4e087f8ee454108c5098c6d Author: Michal Simek <michal.simek@xilinx.com> Date: 2016-05-24 11:45:11 +0200 microblaze: Move MSR instruction selection to Kconfig Select MSR instructions via Kconfig instead of xparameters.h. Signed-off-by: Michal Simek <michal.simek@xilinx.com> Base directory -> / arch/microblaze/include/asm/asm.h | 2 +- board/xilinx/microblaze-generic/Kconfig | 4 ++++ board/xilinx/microblaze-generic/xparameters.h | 1 - configs/microblaze-generic_defconfig | 1 + 4 files changed, 6 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit 4ad1096e487f6bd03ec235263259aa97ef9cb2f1 Author: Michal Simek <michal.simek@xilinx.com> Date: 2016-05-24 13:23:59 +0200 microblaze: Add option to pass cpu version number Toolchain can use some flags by default based on cpu version. Signed-off-by: Michal Simek <michal.simek@xilinx.com> Base directory -> / board/xilinx/microblaze-generic/Kconfig | 4 ++++ board/xilinx/microblaze-generic/config.mk | 4 ++++ 2 files changed, 8 insertions(+) ------------------------------------------------------------------------------- commit 91eeb80ee7cdc7833d752bdaa45ae2a1556c72cf Author: Michal Simek <michal.simek@xilinx.com> Date: 2016-05-24 11:42:26 +0200 microblaze: Select compilation flags via Kconfig Remove autogenerated config.mk and select CPU options via Kconfig. Signed-off-by: Michal Simek <michal.simek@xilinx.com> Base directory -> / board/xilinx/microblaze-generic/Kconfig | 16 ++++++++++++++++ board/xilinx/microblaze-generic/config.mk | 20 ++++++++++---------- configs/microblaze-generic_defconfig | 3 +++ 3 files changed, 29 insertions(+), 10 deletions(-) ------------------------------------------------------------------------------- commit 1630d5582c2b8be129bcd2d3a0db03bc3349dfab Author: Michal Simek <michal.simek@xilinx.com> Date: 2016-05-27 11:25:49 +0200 ARM64: zynqmp: Enable CMD_NAND via Kconfig Simplify board file by enabling CMD_NAND via Kconfig. Signed-off-by: Michal Simek <michal.simek@xilinx.com> Base directory -> / configs/xilinx_zynqmp_ep_defconfig | 1 + configs/xilinx_zynqmp_zc1751_xm016_dc2_defconfig | 1 + include/configs/xilinx_zynqmp.h | 1 - 3 files changed, 2 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 7530ae087a6b97e789c40070061ab32326c5e394 Author: Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com> Date: 2016-05-25 15:20:38 +0530 mtd: nand: arasan_nfc: Correct nand ecc initialization Correct the nand ecc initialization code This fixes the issue of incorrect nand ecc init if no device is found in ecc_matrix then it endsup ecc init with junk initialization instead of the most suited one. Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com> Base directory -> / drivers/mtd/nand/arasan_nfc.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) ------------------------------------------------------------------------------- commit 756e76f0753fdb6b6ea10482db5ebbaf72c9df66 Author: Marek Vasut <marex@denx.de> Date: 2016-06-05 00:46:55 +0200 arm: lib: Fix fix push/pop-section directives Repair typos in the previous "arm: lib: fix push/pop-section directives" patch, which prevented VCMA9 board from building. Signed-off-by: Marek Vasut <marex@denx.de> Fixes: b2f1858455e9 ("arm: lib: fix push/pop-section directives") Cc: Tom Warren <twarren@nvidia.com> Cc: Simon Glass <sjg@chromium.org> Cc: Masahiro Yamada <yamada.masahiro@socionext.com> Cc: Stephen Warren <swarren@nvidia.com> Base directory -> / arch/arm/lib/lib1funcs.S | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit cc749523ae1adec3856f2b7fe77a6d856da4652a Author: Tom Rini <trini@konsulko.com> Date: 2016-06-04 12:12:26 -0400 Merge branch 'master' of git://git.denx.de/u-boot-mpc85xx Base directory -> / arch/powerpc/cpu/mpc512x/fixed_sdram.c | 2 +- arch/powerpc/cpu/mpc8260/cpu_init.c | 2 +- arch/powerpc/cpu/mpc8260/ether_fcc.c | 8 +- arch/powerpc/cpu/mpc83xx/cpu_init.c | 2 +- arch/powerpc/cpu/mpc83xx/speed.c | 2 +- arch/powerpc/cpu/mpc85xx/ether_fcc.c | 2 +- arch/powerpc/cpu/mpc8xx/fec.c | 4 +- arch/powerpc/cpu/ppc4xx/reginfo.c | 2 +- arch/powerpc/cpu/ppc4xx/sdram.c | 4 +- arch/powerpc/include/asm/arch-mpc85xx/gpio.h | 2 + arch/powerpc/include/asm/immap_85xx.h | 2 + arch/sandbox/include/asm/gpio.h | 20 +++ board/freescale/b4860qds/Makefile | 6 +- board/freescale/b4860qds/ddr.c | 8 +- board/freescale/b4860qds/spl.c | 1 + board/freescale/bsc9131rdb/Makefile | 16 +- board/freescale/bsc9132qds/Makefile | 9 +- board/freescale/c29xpcie/Makefile | 6 +- board/freescale/c29xpcie/spl.c | 1 + board/freescale/p1010rdb/Makefile | 12 +- board/freescale/p1010rdb/spl.c | 1 + board/freescale/p1022ds/Makefile | 12 +- board/freescale/p1022ds/spl.c | 1 + board/freescale/p1_p2_rdb_pc/Makefile | 17 +- board/freescale/p1_p2_rdb_pc/spl.c | 1 + board/freescale/p2041rdb/Makefile | 2 +- board/freescale/t102xqds/Makefile | 2 +- board/freescale/t102xqds/ddr.c | 5 +- board/freescale/t102xqds/spl.c | 1 + board/freescale/t102xrdb/Makefile | 2 +- board/freescale/t102xrdb/ddr.c | 4 +- board/freescale/t102xrdb/spl.c | 1 + board/freescale/t104xrdb/ddr.c | 7 +- board/freescale/t104xrdb/spl.c | 1 + board/freescale/t208xqds/Makefile | 6 +- board/freescale/t208xqds/ddr.c | 5 +- board/freescale/t208xqds/spl.c | 1 + board/freescale/t208xrdb/Makefile | 6 +- board/freescale/t208xrdb/ddr.c | 6 +- board/freescale/t208xrdb/spl.c | 1 + board/freescale/t4qds/Makefile | 6 +- board/freescale/t4qds/ddr.c | 7 +- board/freescale/t4qds/spl.c | 1 + board/freescale/t4rdb/Makefile | 9 +- board/freescale/t4rdb/ddr.c | 5 +- board/freescale/t4rdb/spl.c | 1 + drivers/gpio/Kconfig | 26 +++ drivers/gpio/Makefile | 1 + drivers/gpio/gpio-uclass.c | 32 ++++ drivers/gpio/mpc85xx_gpio.c | 228 +++++++++++++++++++++++++++ drivers/gpio/sandbox.c | 35 ++++ include/asm-generic/gpio.h | 34 ++++ test/dm/gpio.c | 7 + 53 files changed, 478 insertions(+), 107 deletions(-) ------------------------------------------------------------------------------- commit 8aa57a95a2efc8174c5482f9b3abc4920b479ff2 Author: Andreas Dannenberg <dannenberg@ti.com> Date: 2016-06-03 14:05:04 -0500 spl: fit: Fix non-matching DT names console output When no DTB can be matched successfully to the board that's being used a list of available FIT-embedded DTBs will be output to the console for diagnostic purposes. But rather than the contents of the "description" FDT property a non-existent property was accessed and as a result "NULL" was output instead of the actual name(s) of the DTB(s). Fix this issue by using the correct property which is also the exact same property that's used earlier during the actual board matching process. Signed-off-by: Andreas Dannenberg <dannenberg@ti.com> Base directory -> / common/spl/spl_fit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 715b3a9b2486e8d7a32365d817c77209b35ee796 Author: Tom Rini <trini@konsulko.com> Date: 2016-06-04 08:49:47 -0400 Merge git://git.denx.de/u-boot-nand-flash Base directory -> / board/BuR/common/common.c | 2 +- board/atmel/at91sam9261ek/at91sam9261ek.c | 2 +- board/atmel/at91sam9263ek/at91sam9263ek.c | 2 +- board/atmel/at91sam9m10g45ek/at91sam9m10g45ek.c | 2 +- board/atmel/at91sam9n12ek/at91sam9n12ek.c | 2 +- board/atmel/at91sam9rlek/at91sam9rlek.c | 2 +- board/atmel/at91sam9x5ek/at91sam9x5ek.c | 2 +- board/atmel/sama5d3xek/sama5d3xek.c | 2 +- board/atmel/sama5d4_xplained/sama5d4_xplained.c | 2 +- board/atmel/sama5d4ek/sama5d4ek.c | 2 +- board/esd/common/esd405ep_nand.c | 2 +- board/freescale/m5329evb/nand.c | 2 +- board/freescale/m5373evb/nand.c | 2 +- board/ronetix/pm9261/pm9261.c | 2 +- board/ronetix/pm9263/pm9263.c | 2 +- board/socrates/nand.c | 6 +- board/xes/common/actl_nand.c | 2 +- cmd/bootm.c | 30 +- cmd/jffs2.c | 8 +- cmd/nand.c | 189 ++--- common/env_nand.c | 24 +- common/fb_nand.c | 32 +- common/splash_source.c | 4 +- doc/README.nand | 15 +- drivers/dfu/dfu_nand.c | 24 +- drivers/mtd/nand/Makefile | 3 - drivers/mtd/nand/am335x_spl_bch.c | 54 +- drivers/mtd/nand/arasan_nfc.c | 42 +- drivers/mtd/nand/atmel_nand.c | 126 +-- drivers/mtd/nand/davinci_nand.c | 25 +- drivers/mtd/nand/denali.c | 37 +- drivers/mtd/nand/denali.h | 1 - drivers/mtd/nand/denali_spl.c | 2 +- drivers/mtd/nand/docg4.c | 1030 ----------------------- drivers/mtd/nand/docg4_spl.c | 219 ----- drivers/mtd/nand/fsl_elbc_nand.c | 41 +- drivers/mtd/nand/fsl_ifc_nand.c | 48 +- drivers/mtd/nand/fsl_upm.c | 22 +- drivers/mtd/nand/fsmc_nand.c | 15 +- drivers/mtd/nand/jz4740_nand.c | 258 ------ drivers/mtd/nand/kb9202_nand.c | 2 +- drivers/mtd/nand/kirkwood_nand.c | 2 +- drivers/mtd/nand/lpc32xx_nand_mlc.c | 14 +- drivers/mtd/nand/lpc32xx_nand_slc.c | 5 +- drivers/mtd/nand/mpc5121_nfc.c | 31 +- drivers/mtd/nand/mxc_nand.c | 62 +- drivers/mtd/nand/mxc_nand_spl.c | 2 +- drivers/mtd/nand/mxs_nand.c | 50 +- drivers/mtd/nand/mxs_nand_spl.c | 40 +- drivers/mtd/nand/nand.c | 28 +- drivers/mtd/nand/nand_base.c | 420 +++++---- drivers/mtd/nand/nand_bbt.c | 62 +- drivers/mtd/nand/nand_bch.c | 33 +- drivers/mtd/nand/nand_ids.c | 10 +- drivers/mtd/nand/nand_plat.c | 4 +- drivers/mtd/nand/nand_spl_simple.c | 84 +- drivers/mtd/nand/nand_util.c | 176 ++-- drivers/mtd/nand/ndfc.c | 16 +- drivers/mtd/nand/omap_gpmc.c | 46 +- drivers/mtd/nand/pxa3xx_nand.c | 45 +- drivers/mtd/nand/s3c2410_nand.c | 6 +- drivers/mtd/nand/tegra_nand.c | 48 +- drivers/mtd/nand/vf610_nfc.c | 14 +- drivers/net/fm/fm.c | 2 +- drivers/net/phy/cortina.c | 4 +- fs/jffs2/jffs2_1pass.c | 2 +- fs/jffs2/jffs2_nand_1pass.c | 24 +- fs/yaffs2/yaffs_uboot_glue.c | 10 +- include/linux/mtd/docg4.h | 132 --- include/linux/mtd/mtd.h | 5 + include/linux/mtd/nand.h | 92 +- include/linux/mtd/nand_bch.h | 10 +- include/nand.h | 43 +- tools/palmtreo680/flash_u-boot.c | 177 ---- 74 files changed, 1172 insertions(+), 2816 deletions(-) ------------------------------------------------------------------------------- commit c41c649c2fdec7bf6ef84173597cc3feabdb7828 Author: Tom Rini <trini@konsulko.com> Date: 2016-06-04 08:49:08 -0400 Merge branch 'master' of git://git.denx.de/u-boot-fsl-qoriq Base directory -> / arch/arm/Kconfig | 30 ++ arch/arm/cpu/armv8/fsl-layerscape/Makefile | 4 + arch/arm/cpu/armv8/fsl-layerscape/README.lsch2 | 10 - arch/arm/cpu/armv8/fsl-layerscape/README.lsch3 | 325 --------------------- arch/arm/cpu/armv8/fsl-layerscape/doc/README.lsch2 | 10 + arch/arm/cpu/armv8/fsl-layerscape/doc/README.lsch3 | 325 +++++++++++++++++++++ arch/arm/cpu/armv8/fsl-layerscape/doc/README.soc | 129 ++++++++ .../arm/cpu/armv8/fsl-layerscape/fsl_lsch2_speed.c | 16 +- arch/arm/cpu/armv8/fsl-layerscape/lowlevel.S | 4 + arch/arm/cpu/armv8/fsl-layerscape/ls1012a_serdes.c | 74 +++++ arch/arm/cpu/armv8/fsl-layerscape/soc.c | 4 +- arch/arm/dts/Makefile | 5 +- arch/arm/dts/fsl-ls1012a-frdm.dts | 16 + arch/arm/dts/fsl-ls1012a-frdm.dtsi | 37 +++ arch/arm/dts/fsl-ls1012a-qds.dts | 14 + arch/arm/dts/fsl-ls1012a-qds.dtsi | 123 ++++++++ arch/arm/dts/fsl-ls1012a-rdb.dts | 16 + arch/arm/dts/fsl-ls1012a-rdb.dtsi | 39 +++ arch/arm/dts/fsl-ls1012a.dtsi | 119 ++++++++ arch/arm/include/asm/arch-fsl-layerscape/config.h | 29 ++ arch/arm/include/asm/arch-fsl-layerscape/cpu.h | 1 + .../include/asm/arch-fsl-layerscape/fsl_serdes.h | 3 +- .../include/asm/arch-fsl-layerscape/immap_lsch2.h | 4 + .../include/asm/arch-fsl-layerscape/ns_access.h | 10 + arch/arm/include/asm/arch-fsl-layerscape/soc.h | 1 + board/freescale/common/ls102xa_stream_id.c | 7 +- board/freescale/common/qixis.c | 13 +- board/freescale/ls1012afrdm/Kconfig | 15 + board/freescale/ls1012afrdm/MAINTAINERS | 6 + board/freescale/ls1012afrdm/Makefile | 7 + board/freescale/ls1012afrdm/README | 58 ++++ board/freescale/ls1012afrdm/ls1012afrdm.c | 192 ++++++++++++ board/freescale/ls1012aqds/Kconfig | 15 + board/freescale/ls1012aqds/MAINTAINERS | 6 + board/freescale/ls1012aqds/Makefile | 7 + board/freescale/ls1012aqds/README | 59 ++++ board/freescale/ls1012aqds/ls1012aqds.c | 234 +++++++++++++++ board/freescale/ls1012aqds/ls1012aqds_qixis.h | 35 +++ board/freescale/ls1012ardb/Kconfig | 15 + board/freescale/ls1012ardb/MAINTAINERS | 6 + board/freescale/ls1012ardb/Makefile | 7 + board/freescale/ls1012ardb/README | 54 ++++ board/freescale/ls1012ardb/ls1012ardb.c | 224 ++++++++++++++ board/freescale/ls1021aqds/ddr.h | 28 +- board/freescale/ls1043aqds/README | 37 +-- board/freescale/ls1043aqds/ddr.h | 28 +- board/freescale/ls1043aqds/ls1043aqds.c | 4 +- board/freescale/ls1043ardb/README | 37 +-- board/freescale/ls1043ardb/ddr.h | 6 +- board/freescale/ls2080aqds/README | 45 +-- board/freescale/ls2080aqds/ddr.h | 32 +- board/freescale/ls2080aqds/ls2080aqds.c | 2 + board/freescale/ls2080ardb/README | 45 +-- board/freescale/ls2080ardb/ddr.h | 32 +- board/freescale/ls2080ardb/ls2080ardb.c | 6 + board/freescale/t102xqds/ddr.c | 22 +- board/freescale/t102xrdb/ddr.c | 12 +- board/freescale/t1040qds/ddr.h | 22 +- board/freescale/t104xrdb/ddr.h | 26 +- board/freescale/t208xqds/ddr.h | 40 +-- board/freescale/t208xrdb/ddr.h | 20 +- board/freescale/t4qds/ddr.h | 38 +-- board/freescale/t4rdb/ddr.h | 38 +-- configs/ls1012afrdm_qspi_defconfig | 29 ++ configs/ls1012aqds_qspi_defconfig | 32 ++ configs/ls1012ardb_qspi_defconfig | 32 ++ drivers/ddr/fsl/ctrl_regs.c | 13 +- drivers/ddr/fsl/fsl_ddr_gen4.c | 42 +-- drivers/ddr/fsl/options.c | 3 +- drivers/mmc/fsl_esdhc.c | 9 +- drivers/mtd/spi/sf_params.c | 1 + drivers/mtd/spi/spi_flash.c | 5 +- drivers/pci/pcie_layerscape.c | 9 +- include/configs/ls1012a_common.h | 145 +++++++++ include/configs/ls1012afrdm.h | 44 +++ include/configs/ls1012aqds.h | 191 ++++++++++++ include/configs/ls1012ardb.h | 107 +++++++ include/fsl_mmdc.h | 160 ++++++++++ include/linux/usb/xhci-fsl.h | 6 +- 79 files changed, 2951 insertions(+), 705 deletions(-) ------------------------------------------------------------------------------- commit 23d4e5ba49b878e01321be2af4e94f73389f4958 Author: Robert P. J. Day <rpjday@crashcourse.ca> Date: 2016-04-13 17:49:28 -0400 freescale: Tweak various Makefiles to remove redundancy, fix aesthetics No intended functional change, just remove redundancies in some Makefiles, and make whitespace aesthetics uniform. Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / board/freescale/b4860qds/Makefile | 6 +++--- board/freescale/bsc9131rdb/Makefile | 16 ++++++---------- board/freescale/bsc9132qds/Makefile | 9 +++------ board/freescale/c29xpcie/Makefile | 6 +++--- board/freescale/p1010rdb/Makefile | 12 ++++-------- board/freescale/p1022ds/Makefile | 12 +++++------- board/freescale/p1_p2_rdb_pc/Makefile | 17 +++++++---------- board/freescale/p2041rdb/Makefile | 2 +- board/freescale/t102xqds/Makefile | 2 +- board/freescale/t102xrdb/Makefile | 2 +- board/freescale/t208xqds/Makefile | 6 ++---- board/freescale/t208xrdb/Makefile | 6 ++---- board/freescale/t4qds/Makefile | 6 +++--- board/freescale/t4rdb/Makefile | 9 +++++---- 14 files changed, 46 insertions(+), 65 deletions(-) ------------------------------------------------------------------------------- commit 743268f5146e3fd93abb8b6142ef6a259a0656c5 Author: mario.six@gdsys.cc <mario.six@gdsys.cc> Date: 2016-05-25 15:15:23 +0200 dm: test: Add GPIO open drain tests Add some tests for the new open drain setting feature of the GPIO uclass, and extend the capabilities of the sandbox GPIO driver accordingly. Signed-off-by: Mario Six <mario.six@gdsys.cc> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / arch/sandbox/include/asm/gpio.h | 20 ++++++++++++++++++++ drivers/gpio/sandbox.c | 35 +++++++++++++++++++++++++++++++++++ test/dm/gpio.c | 7 +++++++ 3 files changed, 62 insertions(+) ------------------------------------------------------------------------------- commit 51781783c59ad0080621d777579eb8acd14aa0ed Author: mario.six@gdsys.cc <mario.six@gdsys.cc> Date: 2016-05-25 15:15:22 +0200 dm: gpio: Implement open drain for MPC85XX GPIO This patch implements the open-drain setting feature for the MPC85XX GPIO controller. Signed-off-by: Mario Six <mario.six@gdsys.cc> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / drivers/gpio/Kconfig | 6 +++--- drivers/gpio/mpc85xx_gpio.c | 41 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+), 3 deletions(-) ------------------------------------------------------------------------------- commit 53ecdfb92034ce836ec94ba33ba0d8d27ea3c16c Author: mario.six@gdsys.cc <mario.six@gdsys.cc> Date: 2016-05-25 15:15:21 +0200 dm: gpio: Add methods for open drain setting Certain GPIO devices have the capability to switch their GPIOs into open-drain mode, that is, instead of actively driving the output (Push-pull output), the pin is connected to the collector (for a NPN transistor) or the drain (for a MOSFET) of a transistor, respectively. The pin then either forms an open circuit or a connection to ground, depending on the state of the transistor. This patch adds functions to the GPIO uclass to switch GPIOs to open-drain mode on devices that support it. Signed-off-by: Mario Six <mario.six@gdsys.cc> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / drivers/gpio/gpio-uclass.c | 32 ++++++++++++++++++++++++++++++++ include/asm-generic/gpio.h | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 66 insertions(+) ------------------------------------------------------------------------------- commit 07d31f8f98fb350776c78a681ef27fd8ee288acd Author: mario.six@gdsys.cc <mario.six@gdsys.cc> Date: 2016-05-25 15:15:20 +0200 dm: gpio: Add driver for MPC85XX GPIO controller This patch adds a driver for the built-in GPIO controller of the MPC85XX SoC (probably supporting other PowerQUICC III SoCs as well). Each GPIO bank is identified by its own entry in the device tree, i.e. gpio-controller@fc00 { #gpio-cells = <2>; compatible = "fsl,pq3-gpio"; reg = <0xfc00 0x100> } By default, each bank is assumed to have 32 GPIOs, but the ngpios setting is honored, so the number of GPIOs for each bank in configurable to match the actual GPIO count of the SoC (e.g. the 32/32/23 banks of the P1022 SoC). The usual functions of GPIO drivers (setting input/output mode and output value setting) are supported. The driver has been tested on MPC85XX, but it is likely that other PowerQUICC III devices will work as well. Signed-off-by: Mario Six <mario.six@gdsys.cc> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / arch/powerpc/include/asm/arch-mpc85xx/gpio.h | 2 + arch/powerpc/include/asm/immap_85xx.h | 2 + drivers/gpio/Kconfig | 26 ++++ drivers/gpio/Makefile | 1 + drivers/gpio/mpc85xx_gpio.c | 187 +++++++++++++++++++++++++++ 5 files changed, 218 insertions(+) ------------------------------------------------------------------------------- commit b7707b043ebbf88fe0fb49442db9316ded3a0740 Author: Robert P. J. Day <rpjday@crashcourse.ca> Date: 2016-05-23 06:49:21 -0400 arch/powerpc: Simplify some calculations using ARRAY_SIZE() macro. Replace a number of array length calculations with the ARRAY_SIZE() macro, for clarity. Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / arch/powerpc/cpu/mpc512x/fixed_sdram.c | 2 +- arch/powerpc/cpu/mpc8260/cpu_init.c | 2 +- arch/powerpc/cpu/mpc8260/ether_fcc.c | 8 ++++---- arch/powerpc/cpu/mpc83xx/cpu_init.c | 2 +- arch/powerpc/cpu/mpc83xx/speed.c | 2 +- arch/powerpc/cpu/mpc85xx/ether_fcc.c | 2 +- arch/powerpc/cpu/mpc8xx/fec.c | 4 ++-- arch/powerpc/cpu/ppc4xx/reginfo.c | 2 +- arch/powerpc/cpu/ppc4xx/sdram.c | 4 ++-- 9 files changed, 14 insertions(+), 14 deletions(-) ------------------------------------------------------------------------------- commit 534992827756c3a1ab49823ca487702a954fe433 Author: Shengzhou Liu <Shengzhou.Liu@nxp.com> Date: 2016-05-31 15:39:06 +0800 board/freescale: Use unified setup_ddr_tlbs for spl boot and non-spl boot We should use unified setup_ddr_tlbs() for spl boot and non-spl boot to make sure 'M' bit is set for DDR TLB to maintain cache coherence. Signed-off-by: Shengzhou Liu <Shengzhou.Liu@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / board/freescale/b4860qds/ddr.c | 8 +++----- board/freescale/t102xqds/ddr.c | 5 ++--- board/freescale/t102xrdb/ddr.c | 4 ++-- board/freescale/t104xrdb/ddr.c | 7 ++----- board/freescale/t208xqds/ddr.c | 5 ++--- board/freescale/t208xrdb/ddr.c | 6 +++--- board/freescale/t4qds/ddr.c | 7 +++---- board/freescale/t4rdb/ddr.c | 5 ++--- 8 files changed, 19 insertions(+), 28 deletions(-) ------------------------------------------------------------------------------- commit ed4708aaeaf74008d199866bfbd450d91439a9cf Author: Sumit Garg <sumit.garg@nxp.com> Date: 2016-05-25 12:41:48 -0400 powerpc/board: SPL: Enable malloc flag in global data. For malloc to work in SPL framework enable GD_FLG_FULL_MALLOC_INIT flag in global data after allocating memory using mem_malloc_init. Signed-off-by: Sumit Garg <sumit.garg@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / board/freescale/b4860qds/spl.c | 1 + board/freescale/c29xpcie/spl.c | 1 + board/freescale/p1010rdb/spl.c | 1 + board/freescale/p1022ds/spl.c | 1 + board/freescale/p1_p2_rdb_pc/spl.c | 1 + board/freescale/t102xqds/spl.c | 1 + board/freescale/t102xrdb/spl.c | 1 + board/freescale/t104xrdb/spl.c | 1 + board/freescale/t208xqds/spl.c | 1 + board/freescale/t208xrdb/spl.c | 1 + board/freescale/t4qds/spl.c | 1 + board/freescale/t4rdb/spl.c | 1 + 12 files changed, 12 insertions(+) ------------------------------------------------------------------------------- commit 667067faa18334f1e28c01b47530b5cce1b6182f Author: Max Krummenacher <max.oss.09@gmail.com> Date: 2016-05-30 16:28:28 +0200 nand: fix nand torture to use changed mtd api The mtd subsystem deprecated and renamed the direct use of the mtd_info struct's functionpointers. Instead the corresponding mtd_xxx function should be used. See also: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=3c3c10bba1e4ccb75b41442e45c1a072f6cded19 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Base directory -> / drivers/mtd/nand/nand_util.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) ------------------------------------------------------------------------------- commit ceee07b65875bb01bef55cba06940ef7afc1afba Author: Scott Wood <oss@buserror.net> Date: 2016-05-30 13:57:58 -0500 mtd: nand: Sync with Linux v4.6 Updates the NAND code to match Linux v4.6. The previous sync was from Linux v4.1 in commit d3963721d93fafa. Note that none of the individual NAND drivers tracked Linux closely enough to be synced themselves, other than manually applying a few cross-tree changes. Signed-off-by: Scott Wood <oss@buserror.net> Tested-by: Heiko Schocher <hs@denx.de> Base directory -> / drivers/mtd/nand/atmel_nand.c | 6 +- drivers/mtd/nand/davinci_nand.c | 6 +- drivers/mtd/nand/denali.c | 39 +++-- drivers/mtd/nand/denali.h | 1 - drivers/mtd/nand/denali_spl.c | 2 +- drivers/mtd/nand/mpc5121_nfc.c | 1 - drivers/mtd/nand/mxc_nand.c | 5 +- drivers/mtd/nand/mxc_nand_spl.c | 2 +- drivers/mtd/nand/mxs_nand.c | 2 +- drivers/mtd/nand/nand_base.c | 329 ++++++++++++++++++++++++++++------------ drivers/mtd/nand/nand_bbt.c | 30 ++-- drivers/mtd/nand/nand_bch.c | 29 ++-- drivers/mtd/nand/nand_ids.c | 10 +- drivers/mtd/nand/ndfc.c | 2 +- drivers/mtd/nand/omap_gpmc.c | 2 +- drivers/mtd/nand/s3c2410_nand.c | 2 +- drivers/mtd/nand/vf610_nfc.c | 1 - include/linux/mtd/mtd.h | 5 + include/linux/mtd/nand.h | 65 +++++--- include/linux/mtd/nand_bch.h | 10 +- 20 files changed, 347 insertions(+), 202 deletions(-) ------------------------------------------------------------------------------- commit 81c772521ff26054a3fe75efa87d8daeae83e9b4 Author: Scott Wood <oss@buserror.net> Date: 2016-05-30 13:57:57 -0500 mtd: nand: Add page argument to write_page() etc. This change is part of the Linux 4.6 sync. It is being done before the main sync patch in order to make it easier to address the issue across all NAND drivers (many/most of which do not closely track their Linux counterparts) separately from other merge issues. Signed-off-by: Scott Wood <oss@buserror.net> Base directory -> / drivers/mtd/nand/arasan_nfc.c | 3 ++- drivers/mtd/nand/atmel_nand.c | 2 +- drivers/mtd/nand/davinci_nand.c | 11 +++++++---- drivers/mtd/nand/denali.c | 6 ++++-- drivers/mtd/nand/fsl_elbc_nand.c | 5 +++-- drivers/mtd/nand/fsl_ifc_nand.c | 2 +- drivers/mtd/nand/lpc32xx_nand_mlc.c | 6 ++++-- drivers/mtd/nand/lpc32xx_nand_slc.c | 3 ++- drivers/mtd/nand/mxc_nand.c | 4 ++-- drivers/mtd/nand/mxs_nand.c | 2 +- drivers/mtd/nand/nand_base.c | 31 +++++++++++++++++++++---------- drivers/mtd/nand/pxa3xx_nand.c | 3 ++- drivers/mtd/nand/tegra_nand.c | 21 ++++----------------- drivers/mtd/nand/vf610_nfc.c | 2 +- include/linux/mtd/nand.h | 6 +++--- 15 files changed, 58 insertions(+), 49 deletions(-) ------------------------------------------------------------------------------- commit 17cb4b8f327eb983cef7c510fcf77f1635a00e48 Author: Scott Wood <oss@buserror.net> Date: 2016-05-30 13:57:56 -0500 mtd: nand: Add+use mtd_to/from_nand and nand_get/set_controller_data These functions are part of the Linux 4.6 sync. They are being added before the main sync patch in order to make it easier to address the issue across all NAND drivers (many/most of which do not closely track their Linux counterparts) separately from other merge issues. Signed-off-by: Scott Wood <oss@buserror.net> Base directory -> / board/esd/common/esd405ep_nand.c | 2 +- board/freescale/m5329evb/nand.c | 2 +- board/freescale/m5373evb/nand.c | 2 +- board/socrates/nand.c | 6 ++-- board/xes/common/actl_nand.c | 2 +- cmd/nand.c | 4 +-- drivers/mtd/nand/am335x_spl_bch.c | 6 ++-- drivers/mtd/nand/arasan_nfc.c | 19 +++++----- drivers/mtd/nand/atmel_nand.c | 55 ++++++++++++++-------------- drivers/mtd/nand/davinci_nand.c | 8 ++--- drivers/mtd/nand/denali.c | 4 +-- drivers/mtd/nand/fsl_elbc_nand.c | 33 +++++++++-------- drivers/mtd/nand/fsl_ifc_nand.c | 43 +++++++++++----------- drivers/mtd/nand/fsl_upm.c | 22 ++++++------ drivers/mtd/nand/fsmc_nand.c | 7 ++-- drivers/mtd/nand/kb9202_nand.c | 2 +- drivers/mtd/nand/kirkwood_nand.c | 2 +- drivers/mtd/nand/lpc32xx_nand_mlc.c | 2 -- drivers/mtd/nand/lpc32xx_nand_slc.c | 2 +- drivers/mtd/nand/mpc5121_nfc.c | 27 +++++++------- drivers/mtd/nand/mxc_nand.c | 51 +++++++++++++------------- drivers/mtd/nand/mxs_nand.c | 46 ++++++++++++------------ drivers/mtd/nand/mxs_nand_spl.c | 11 +++--- drivers/mtd/nand/nand.c | 5 ++- drivers/mtd/nand/nand_base.c | 72 ++++++++++++++++++------------------- drivers/mtd/nand/nand_bbt.c | 32 ++++++++--------- drivers/mtd/nand/nand_bch.c | 4 +-- drivers/mtd/nand/nand_plat.c | 4 +-- drivers/mtd/nand/nand_spl_simple.c | 11 +++--- drivers/mtd/nand/nand_util.c | 8 ++--- drivers/mtd/nand/ndfc.c | 14 ++++---- drivers/mtd/nand/omap_gpmc.c | 40 ++++++++++----------- drivers/mtd/nand/pxa3xx_nand.c | 34 ++++++++++-------- drivers/mtd/nand/s3c2410_nand.c | 4 +-- drivers/mtd/nand/tegra_nand.c | 29 ++++++++------- drivers/mtd/nand/vf610_nfc.c | 8 ++--- fs/yaffs2/yaffs_uboot_glue.c | 2 +- include/linux/mtd/nand.h | 20 +++++++++++ 38 files changed, 328 insertions(+), 317 deletions(-) ------------------------------------------------------------------------------- commit b616d9b0a708eb90eb474e1b6ec6dfe4c48a1678 Author: Scott Wood <oss@buserror.net> Date: 2016-05-30 13:57:55 -0500 nand: Embed mtd_info in struct nand_chip nand_info[] is now an array of pointers, with the actual mtd_info instance embedded in struct nand_chip. This is in preparation for syncing the NAND code with Linux 4.6, which makes the same change to struct nand_chip. It's in a separate commit due to the large amount of changes required to accommodate the change to nand_info[]. Signed-off-by: Scott Wood <oss@buserror.net> Base directory -> / board/BuR/common/common.c | 2 +- board/atmel/at91sam9261ek/at91sam9261ek.c | 2 +- board/atmel/at91sam9263ek/at91sam9263ek.c | 2 +- board/atmel/at91sam9m10g45ek/at91sam9m10g45ek.c | 2 +- board/atmel/at91sam9n12ek/at91sam9n12ek.c | 2 +- board/atmel/at91sam9rlek/at91sam9rlek.c | 2 +- board/atmel/at91sam9x5ek/at91sam9x5ek.c | 2 +- board/atmel/sama5d3xek/sama5d3xek.c | 2 +- board/atmel/sama5d4_xplained/sama5d4_xplained.c | 2 +- board/atmel/sama5d4ek/sama5d4ek.c | 2 +- board/ronetix/pm9261/pm9261.c | 2 +- board/ronetix/pm9263/pm9263.c | 2 +- cmd/bootm.c | 2 +- cmd/jffs2.c | 4 +- cmd/nand.c | 42 ++++++------ common/env_nand.c | 18 +++--- common/fb_nand.c | 2 +- common/splash_source.c | 4 +- doc/README.nand | 15 ++--- drivers/dfu/dfu_nand.c | 8 +-- drivers/mtd/nand/am335x_spl_bch.c | 54 ++++++++-------- drivers/mtd/nand/arasan_nfc.c | 4 +- drivers/mtd/nand/atmel_nand.c | 77 +++++++++++----------- drivers/mtd/nand/denali.c | 4 +- drivers/mtd/nand/fsl_elbc_nand.c | 5 +- drivers/mtd/nand/fsl_ifc_nand.c | 5 +- drivers/mtd/nand/fsmc_nand.c | 10 ++- drivers/mtd/nand/lpc32xx_nand_mlc.c | 10 ++- drivers/mtd/nand/mpc5121_nfc.c | 3 +- drivers/mtd/nand/mxc_nand.c | 2 +- drivers/mtd/nand/mxs_nand_spl.c | 33 +++++----- drivers/mtd/nand/nand.c | 27 +++++--- drivers/mtd/nand/nand_spl_simple.c | 85 +++++++++++++------------ drivers/mtd/nand/omap_gpmc.c | 4 +- drivers/mtd/nand/pxa3xx_nand.c | 10 +-- drivers/mtd/nand/tegra_nand.c | 4 +- drivers/mtd/nand/vf610_nfc.c | 5 +- drivers/net/fm/fm.c | 2 +- drivers/net/phy/cortina.c | 4 +- fs/jffs2/jffs2_1pass.c | 2 +- fs/jffs2/jffs2_nand_1pass.c | 2 +- fs/yaffs2/yaffs_uboot_glue.c | 8 +-- include/linux/mtd/nand.h | 1 + include/nand.h | 6 +- 44 files changed, 247 insertions(+), 239 deletions(-) ------------------------------------------------------------------------------- commit 151c06ec61d74b77cf27d6d622bab6370c949c66 Author: Scott Wood <oss@buserror.net> Date: 2016-05-30 13:57:54 -0500 mtd: nand: Remove nand_info_t typedef This typedef serves no purpose other than causing confusion with struct nand_chip. Signed-off-by: Scott Wood <oss@buserror.net> Base directory -> / cmd/bootm.c | 30 +++---- cmd/jffs2.c | 6 +- cmd/nand.c | 161 ++++++++++++++++++----------------- common/env_nand.c | 6 +- common/fb_nand.c | 32 +++---- drivers/dfu/dfu_nand.c | 20 ++--- drivers/mtd/nand/am335x_spl_bch.c | 2 +- drivers/mtd/nand/atmel_nand.c | 2 +- drivers/mtd/nand/mxs_nand_spl.c | 2 +- drivers/mtd/nand/nand.c | 2 +- drivers/mtd/nand/nand_spl_simple.c | 2 +- drivers/mtd/nand/nand_util.c | 170 ++++++++++++++++++------------------- fs/jffs2/jffs2_nand_1pass.c | 24 +++--- fs/yaffs2/yaffs_uboot_glue.c | 2 +- include/nand.h | 39 ++++----- 15 files changed, 251 insertions(+), 249 deletions(-) ------------------------------------------------------------------------------- commit ea7d1eec66898b233ac49f8a60391b96afa25477 Author: Scott Wood <oss@buserror.net> Date: 2016-05-30 13:57:53 -0500 mtd: nand: Remove docg4 driver and palmtreo680 flashing tool Commit ad4f54ea86b ("arm: Remove palmtreo680 board") removed the only user of the docg4 driver and the palmtreo680 image flashing tool. This patch removes them. Signed-off-by: Scott Wood <oss@buserror.net> Cc: Mike Dunn <mikedunn@newsguy.com> Cc: Simon Glass <sjg@chromium.org> Base directory -> / drivers/mtd/nand/Makefile | 2 - drivers/mtd/nand/docg4.c | 1030 -------------------------------------- drivers/mtd/nand/docg4_spl.c | 219 -------- include/linux/mtd/docg4.h | 132 ----- tools/palmtreo680/flash_u-boot.c | 177 ------- 5 files changed, 1560 deletions(-) ------------------------------------------------------------------------------- commit 5d74e3a6f1ad8b7e3b7db070908ce7b080ea78ac Author: Marek Vasut <marex@denx.de> Date: 2016-05-30 13:57:52 -0500 mtd: nand: Remove jz4740 driver This driver is not used by anyone, remove it. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> Cc: Paul Burton <paul.burton@imgtec.com> Cc: Scott Wood <oss@buserror.net> Acked-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> Signed-off-by: Scott Wood <oss@buserror.net> Base directory -> / drivers/mtd/nand/Makefile | 1 - drivers/mtd/nand/jz4740_nand.c | 258 ----------------------------------------- 2 files changed, 259 deletions(-) ------------------------------------------------------------------------------- commit a39d14406a1e8dfbbbd3b549d411edbba40fd454 Author: Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com> Date: 2016-05-25 15:20:38 +0530 mtd: nand: arasan_nfc: Correct nand ecc initialization Correct the nand ecc initialization code This fixes the issue of incorrect nand ecc init if no device is found in ecc_matrix then it endsup ecc init with junk initialization instead of the most suited one. Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com> Tested-by: Michal Simek <michal.simek@xilinx.com> Base directory -> / drivers/mtd/nand/arasan_nfc.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) ------------------------------------------------------------------------------- commit 10db7500369ea000af4c4c5b039b7946c2865ae9 Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-06-04 07:35:04 +0900 usb: move CONFIG_USB_XHCI_DWC3 to Kconfig Create an entry for "config USB_XHCI_DWC3" in Kconfig and switch over to it for all boards. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Base directory -> / configs/am437x_hs_evm_defconfig | 1 + configs/am43xx_evm_defconfig | 1 + configs/am43xx_evm_ethboot_defconfig | 1 + configs/am43xx_evm_qspiboot_defconfig | 1 + configs/am43xx_evm_usbhost_boot_defconfig | 1 + configs/am57xx_evm_defconfig | 1 + configs/am57xx_evm_nodt_defconfig | 1 + configs/am57xx_hs_evm_defconfig | 1 + configs/cm_t43_defconfig | 1 + configs/dra72_hs_evm_defconfig | 1 + configs/dra74_hs_evm_defconfig | 1 + configs/dra7xx_evm_defconfig | 1 + configs/k2e_evm_defconfig | 1 + configs/k2g_evm_defconfig | 1 + configs/k2hk_evm_defconfig | 1 + configs/k2l_evm_defconfig | 1 + configs/ls1021aqds_ddr4_nor_defconfig | 1 + configs/ls1021aqds_ddr4_nor_lpuart_defconfig | 1 + configs/ls1021aqds_nand_defconfig | 1 + configs/ls1021aqds_nor_SECURE_BOOT_defconfig | 1 + configs/ls1021aqds_nor_defconfig | 1 + configs/ls1021aqds_nor_lpuart_defconfig | 1 + configs/ls1021aqds_qspi_defconfig | 1 + configs/ls1021aqds_sdcard_ifc_defconfig | 1 + configs/ls1021aqds_sdcard_qspi_defconfig | 1 + configs/ls1021atwr_nor_SECURE_BOOT_defconfig | 1 + configs/ls1021atwr_nor_defconfig | 1 + configs/ls1021atwr_nor_lpuart_defconfig | 1 + configs/ls1021atwr_qspi_defconfig | 1 + configs/ls1021atwr_sdcard_ifc_defconfig | 1 + configs/ls1021atwr_sdcard_qspi_defconfig | 1 + configs/ls1043aqds_defconfig | 1 + configs/ls1043aqds_lpuart_defconfig | 1 + configs/ls1043aqds_nand_defconfig | 1 + configs/ls1043aqds_nor_ddr3_defconfig | 1 + configs/ls1043aqds_qspi_defconfig | 1 + configs/ls1043aqds_sdcard_ifc_defconfig | 1 + configs/ls1043aqds_sdcard_qspi_defconfig | 1 + configs/ls1043ardb_SECURE_BOOT_defconfig | 1 + configs/ls1043ardb_defconfig | 1 + configs/ls1043ardb_nand_defconfig | 1 + configs/ls1043ardb_sdcard_defconfig | 1 + configs/ls2080aqds_SECURE_BOOT_defconfig | 1 + configs/ls2080aqds_defconfig | 1 + configs/ls2080aqds_nand_defconfig | 1 + configs/ls2080ardb_SECURE_BOOT_defconfig | 1 + configs/ls2080ardb_defconfig | 1 + configs/ls2080ardb_nand_defconfig | 1 + configs/odroid-xu3_defconfig | 1 + configs/peach-pi_defconfig | 1 + configs/peach-pit_defconfig | 1 + configs/smdk5420_defconfig | 1 + configs/xilinx_zynqmp_ep_defconfig | 1 + configs/xilinx_zynqmp_zc1751_xm015_dc1_defconfig | 1 + configs/xilinx_zynqmp_zc1751_xm016_dc2_defconfig | 1 + configs/xilinx_zynqmp_zcu102_defconfig | 1 + configs/xilinx_zynqmp_zcu102_revB_defconfig | 1 + drivers/usb/host/Kconfig | 6 ++++++ include/configs/am43xx_evm.h | 1 - include/configs/am57xx_evm.h | 1 - include/configs/cm_t43.h | 1 - include/configs/dra7xx_evm.h | 1 - include/configs/exynos5-common.h | 1 - include/configs/ls1021aqds.h | 1 - include/configs/ls1021atwr.h | 1 - include/configs/ls1043aqds.h | 1 - include/configs/ls1043ardb.h | 1 - include/configs/ls2080aqds.h | 1 - include/configs/ls2080ardb.h | 1 - include/configs/ti_armv7_keystone2.h | 1 - include/configs/xilinx_zynqmp.h | 1 - 71 files changed, 63 insertions(+), 13 deletions(-) ------------------------------------------------------------------------------- commit 0a8cc1a3a4206d556da784a0e98598190dfe5408 Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-06-04 07:35:03 +0900 usb: move CONFIG_USB_XHCI to Kconfig with renaming Move CONFIG_USB_XHCI to defconfig files for all boards, renaming it into CONFIG_USB_XHCI_HCD. As commented in the help of "config USB_XHCI" entry, this has been a TODO for a long time; now CONFIG_USB_XHCI_HCD and CONFIG_USB_XHCI have been unified in favor of the former. Note: Some boards define CONFIG_USB_XHCI in their headers without CONFIG_USB, which does not meet the "depends on" in Kconfig. I added CONFIG_USB=y for those boards when converting. Otherwise, they would fail to build. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Base directory -> / common/usb.c | 2 +- configs/am437x_hs_evm_defconfig | 1 + configs/am43xx_evm_defconfig | 1 + configs/am43xx_evm_ethboot_defconfig | 1 + configs/am43xx_evm_qspiboot_defconfig | 1 + configs/am43xx_evm_usbhost_boot_defconfig | 1 + configs/am57xx_evm_defconfig | 2 ++ configs/am57xx_evm_nodt_defconfig | 2 ++ configs/am57xx_hs_evm_defconfig | 2 ++ configs/cm_t43_defconfig | 2 ++ configs/dra72_hs_evm_defconfig | 1 + configs/dra74_hs_evm_defconfig | 1 + configs/dra7xx_evm_defconfig | 1 + configs/k2e_evm_defconfig | 2 ++ configs/k2g_evm_defconfig | 2 ++ configs/k2hk_evm_defconfig | 2 ++ configs/k2l_evm_defconfig | 2 ++ configs/ls1021aqds_ddr4_nor_defconfig | 2 ++ configs/ls1021aqds_ddr4_nor_lpuart_defconfig | 2 ++ configs/ls1021aqds_nand_defconfig | 2 ++ configs/ls1021aqds_nor_SECURE_BOOT_defconfig | 2 ++ configs/ls1021aqds_nor_defconfig | 2 ++ configs/ls1021aqds_nor_lpuart_defconfig | 2 ++ configs/ls1021aqds_qspi_defconfig | 2 ++ configs/ls1021aqds_sdcard_ifc_defconfig | 2 ++ configs/ls1021aqds_sdcard_qspi_defconfig | 2 ++ configs/ls1021atwr_nor_SECURE_BOOT_defconfig | 2 ++ configs/ls1021atwr_nor_defconfig | 2 ++ configs/ls1021atwr_nor_lpuart_defconfig | 2 ++ configs/ls1021atwr_qspi_defconfig | 2 ++ configs/ls1021atwr_sdcard_ifc_defconfig | 2 ++ configs/ls1021atwr_sdcard_qspi_defconfig | 2 ++ configs/ls1043aqds_defconfig | 2 ++ configs/ls1043aqds_lpuart_defconfig | 2 ++ configs/ls1043aqds_nand_defconfig | 2 ++ configs/ls1043aqds_nor_ddr3_defconfig | 2 ++ configs/ls1043aqds_qspi_defconfig | 2 ++ configs/ls1043aqds_sdcard_ifc_defconfig | 2 ++ configs/ls1043aqds_sdcard_qspi_defconfig | 2 ++ configs/ls1043ardb_SECURE_BOOT_defconfig | 2 ++ configs/ls1043ardb_defconfig | 2 ++ configs/ls1043ardb_nand_defconfig | 2 ++ configs/ls1043ardb_sdcard_defconfig | 2 ++ configs/ls2080aqds_SECURE_BOOT_defconfig | 2 ++ configs/ls2080aqds_defconfig | 2 ++ configs/ls2080aqds_nand_defconfig | 2 ++ configs/ls2080ardb_SECURE_BOOT_defconfig | 2 ++ configs/ls2080ardb_defconfig | 2 ++ configs/ls2080ardb_nand_defconfig | 2 ++ configs/odroid-xu3_defconfig | 1 + configs/peach-pi_defconfig | 1 + configs/peach-pit_defconfig | 1 + configs/smdk5420_defconfig | 1 + configs/xilinx_zynqmp_ep_defconfig | 1 + configs/xilinx_zynqmp_zc1751_xm015_dc1_defconfig | 1 + configs/xilinx_zynqmp_zc1751_xm016_dc2_defconfig | 1 + configs/xilinx_zynqmp_zcu102_defconfig | 1 + configs/xilinx_zynqmp_zcu102_revB_defconfig | 1 + drivers/usb/host/Kconfig | 6 ------ drivers/usb/host/Makefile | 2 +- include/configs/am43xx_evm.h | 1 - include/configs/am57xx_evm.h | 1 - include/configs/cm_t43.h | 1 - include/configs/dra7xx_evm.h | 1 - include/configs/ds414.h | 3 +-- include/configs/exynos5420-common.h | 1 - include/configs/ls1021aqds.h | 1 - include/configs/ls1021atwr.h | 1 - include/configs/ls1043aqds.h | 1 - include/configs/ls1043ardb.h | 1 - include/configs/ls2080aqds.h | 1 - include/configs/ls2080ardb.h | 1 - include/configs/smdk5420.h | 1 - include/configs/ti_armv7_keystone2.h | 1 - include/configs/xilinx_zynqmp.h | 1 - 75 files changed, 100 insertions(+), 24 deletions(-) ------------------------------------------------------------------------------- commit 0ff27eb25f027602261fd009b1cf588f7918f02c Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-06-04 07:35:02 +0900 configs: blackfin: move CONFIG_USB to defconfig These Blackfin boards are the last ones that define CONFIG_USB in their headers. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Base directory -> / configs/bf526-ezbrd_defconfig | 1 + configs/bf527-ezkit-v2_defconfig | 1 + configs/bf527-ezkit_defconfig | 1 + configs/bf548-ezkit_defconfig | 1 + include/configs/bf526-ezbrd.h | 1 - include/configs/bf527-ezkit.h | 1 - include/configs/bf548-ezkit.h | 1 - 7 files changed, 4 insertions(+), 3 deletions(-) ------------------------------------------------------------------------------- commit 4835c737ff8ca65aa2bf206dcddd6407f4bc40cf Author: Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com> Date: 2016-05-12 08:57:13 +0200 usb: dwc3: Correct datatype of base to unsigned long Correct type of varibale base to unsigned long as keeping it as int causes usb failures if MSB of the base address is set. Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com> Base directory -> / include/dwc3-uboot.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit ff78aa2ba19cda755b01818fb3caf2aca9236865 Author: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com> Date: 2016-06-03 18:41:36 +0530 armv8: ls1012a: Add support of ls1012afrdm board QorIQ LS1012A FREEDOM (LS1012AFRDM) is a high-performance development platform, with a complete debugging environment. The LS1012AFRDM board supports the QorIQ LS1012A processor and is optimized to support the high-bandwidth DDR3L memory and a full complement of high-speed SerDes ports. Signed-off-by: Shengzhou Liu <Shengzhou.Liu@nxp.com> Signed-off-by: Calvin Johnson <calvin.johnson@nxp.com> Signed-off-by: Pratiyush Mohan Srivastava <pratiyush.srivastava@nxp.com> Signed-off-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / arch/arm/Kconfig | 10 ++ arch/arm/dts/Makefile | 3 +- arch/arm/dts/fsl-ls1012a-frdm.dts | 16 +++ arch/arm/dts/fsl-ls1012a-frdm.dtsi | 37 ++++++ board/freescale/ls1012afrdm/Kconfig | 15 +++ board/freescale/ls1012afrdm/MAINTAINERS | 6 + board/freescale/ls1012afrdm/Makefile | 7 ++ board/freescale/ls1012afrdm/README | 58 +++++++++ board/freescale/ls1012afrdm/ls1012afrdm.c | 192 ++++++++++++++++++++++++++++++ configs/ls1012afrdm_qspi_defconfig | 29 +++++ include/configs/ls1012afrdm.h | 44 +++++++ 11 files changed, 416 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 3b6e3898c2c68fa8340794c8abf5d47859069f98 Author: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com> Date: 2016-06-03 18:41:35 +0530 armv8: ls1012a: Add support of ls1012ardb board QorIQ LS1012A Reference Design System (LS1012ARDB) is a high-performance development platform, with a complete debugging environment. The LS1012ARDB board supports the QorIQ LS1012A processor and is optimized to support the high-bandwidth DDR3L memory and a full complement of high-speed SerDes ports. Signed-off-by: Calvin Johnson <calvin.johnson@nxp.com> Signed-off-by: Pratiyush Mohan Srivastava <pratiyush.srivastava@nxp.com> Signed-off-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / arch/arm/Kconfig | 10 ++ arch/arm/dts/Makefile | 3 +- arch/arm/dts/fsl-ls1012a-rdb.dts | 16 +++ arch/arm/dts/fsl-ls1012a-rdb.dtsi | 39 ++++++ board/freescale/ls1012ardb/Kconfig | 15 +++ board/freescale/ls1012ardb/MAINTAINERS | 6 + board/freescale/ls1012ardb/Makefile | 7 + board/freescale/ls1012ardb/README | 54 ++++++++ board/freescale/ls1012ardb/ls1012ardb.c | 224 ++++++++++++++++++++++++++++++++ configs/ls1012ardb_qspi_defconfig | 32 +++++ include/configs/ls1012ardb.h | 107 +++++++++++++++ 11 files changed, 512 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 9d044fcb8c4558d7ec28089375d2de565bfd2619 Author: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com> Date: 2016-06-03 18:41:34 +0530 armv8: ls1012a: Add support of ls1012aqds board QorIQ LS1012A Development System (LS1012AQDS) is a high-performance development platform, with a complete debugging environment. The LS1012AQDS board supports the QorIQ LS1012A processor and is optimized to support the high-bandwidth DDR3L memory and a full complement of high-speed SerDes ports. Signed-off-by: Calvin Johnson <calvin.johnson@nxp.com> Signed-off-by: Pratiyush Mohan Srivastava <pratiyush.srivastava@nxp.com> Signed-off-by: Abhimanyu Saini <abhimanyu.saini@nxp.com> Signed-off-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / arch/arm/Kconfig | 10 ++ arch/arm/dts/Makefile | 3 +- arch/arm/dts/fsl-ls1012a-qds.dts | 14 ++ arch/arm/dts/fsl-ls1012a-qds.dtsi | 123 ++++++++++++++ arch/arm/dts/fsl-ls1012a.dtsi | 119 +++++++++++++ board/freescale/ls1012aqds/Kconfig | 15 ++ board/freescale/ls1012aqds/MAINTAINERS | 6 + board/freescale/ls1012aqds/Makefile | 7 + board/freescale/ls1012aqds/README | 59 +++++++ board/freescale/ls1012aqds/ls1012aqds.c | 234 ++++++++++++++++++++++++++ board/freescale/ls1012aqds/ls1012aqds_qixis.h | 35 ++++ configs/ls1012aqds_qspi_defconfig | 32 ++++ include/configs/ls1012a_common.h | 145 ++++++++++++++++ include/configs/ls1012aqds.h | 191 +++++++++++++++++++++ 14 files changed, 992 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 16dacb26a5e5ec58e00ec9d1a83d0ccceb8b0de5 Author: Abhimanyu Saini <abhimanyu.saini@nxp.com> Date: 2016-06-03 18:41:33 +0530 board: freescale: common: Add flag for LBMAP brdcfg reg offset Add QIXIS_LBMAP_BRDCFG_REG to the save offset of LBMAP configuration register instead of hardcoding it in set_lbmap() function. Signed-off-by: Calvin Johnson <calvin.johnson@nxp.com> Signed-off-by: Abhimanyu Saini <abhimanyu.saini@nxp.com> Signed-off-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / board/freescale/common/qixis.c | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit 3faaa24b1138e720e065ae7ee6c63f751e6867be Author: Abhimanyu Saini <abhimanyu.saini@nxp.com> Date: 2016-06-03 18:41:32 +0530 board: freescale: common: Conditionally compile IFC QXIS func Check if qixis supports memory-mapped read/write before compiling IFC based qixis read/write functions. Signed-off-by: Calvin Johnson <calvin.johnson@nxp.com> Signed-off-by: Abhimanyu Saini <abhimanyu.saini@nxp.com> Signed-off-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / board/freescale/common/qixis.c | 2 ++ 1 file changed, 2 insertions(+) ------------------------------------------------------------------------------- commit b7f2bbfff6dcc2d5989bb1d20500c431f7927daf Author: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com> Date: 2016-06-03 18:41:31 +0530 armv8: fsl-layerscape: Add support of QorIQ LS1012A SoC The QorIQ LS1012A processor, optimized for battery-backed or USB-powered, integrates a single ARM Cortex-A53 core with a hardware packet forwarding engine and high-speed interfaces to deliver line-rate networking performance. This patch add support of LS1012A SoC along with - Update platform & DDR clock read logic as per SVR - Define MMDC controller register set. - Update LUT base address for PCIe - Avoid L3 platform cache compilation - Update USB address, errata - SerDes table - Added CSU IDs for SDHC2, SAI-1 to SAI-4 Signed-off-by: Calvin Johnson <calvin.johnson@nxp.com> Signed-off-by: Makarand Pawagi <makarand.pawagi@mindspeed.com> Signed-off-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / arch/arm/cpu/armv8/fsl-layerscape/Makefile | 4 + arch/arm/cpu/armv8/fsl-layerscape/doc/README.soc | 43 ++++++ .../arm/cpu/armv8/fsl-layerscape/fsl_lsch2_speed.c | 11 ++ arch/arm/cpu/armv8/fsl-layerscape/lowlevel.S | 2 + arch/arm/cpu/armv8/fsl-layerscape/ls1012a_serdes.c | 74 ++++++++++ arch/arm/cpu/armv8/fsl-layerscape/soc.c | 2 + arch/arm/include/asm/arch-fsl-layerscape/config.h | 29 ++++ arch/arm/include/asm/arch-fsl-layerscape/cpu.h | 1 + .../include/asm/arch-fsl-layerscape/fsl_serdes.h | 1 + .../include/asm/arch-fsl-layerscape/immap_lsch2.h | 4 + .../include/asm/arch-fsl-layerscape/ns_access.h | 10 ++ arch/arm/include/asm/arch-fsl-layerscape/soc.h | 1 + include/fsl_mmdc.h | 160 +++++++++++++++++++++ include/linux/usb/xhci-fsl.h | 6 +- 14 files changed, 347 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit ddd8a08052052561af38ecbe30930001a2ae940b Author: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com> Date: 2016-06-03 18:41:30 +0530 armv8: fsl-layerscape: Organize SoC overview at common location SoC overviews are getting repeated across board folders. So, Organize SoC overview at common location i.e. fsl-layerscape/doc Also move README.lsch2 and README.lsch3 in same folder. Signed-off-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / arch/arm/cpu/armv8/fsl-layerscape/README.lsch2 | 10 - arch/arm/cpu/armv8/fsl-layerscape/README.lsch3 | 325 --------------------- arch/arm/cpu/armv8/fsl-layerscape/doc/README.lsch2 | 10 + arch/arm/cpu/armv8/fsl-layerscape/doc/README.lsch3 | 325 +++++++++++++++++++++ arch/arm/cpu/armv8/fsl-layerscape/doc/README.soc | 86 ++++++ board/freescale/ls1043aqds/README | 37 +-- board/freescale/ls1043ardb/README | 37 +-- board/freescale/ls2080aqds/README | 45 +-- board/freescale/ls2080ardb/README | 45 +-- 9 files changed, 431 insertions(+), 489 deletions(-) ------------------------------------------------------------------------------- commit d9d9c977ec96ce74e558012ffda8ba590fcb9591 Author: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com> Date: 2016-06-03 18:41:29 +0530 armv8: fsl-layerscape: fix compile warning "rcw_tmp" arch/arm/cpu/armv8/fsl-layerscape/fsl_lsch2_speed.c: In function ‘get_sys_info’: arch/arm/cpu/armv8/fsl-layerscape/fsl_lsch2_speed.c:29:6: warning: unused variable ‘rcw_tmp’ [-Wunused-variable] u32 rcw_tmp; Signed-off-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / arch/arm/cpu/armv8/fsl-layerscape/fsl_lsch2_speed.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit d074c06ba7a2eec4fac099d4c9830509803bcf8f Author: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com> Date: 2016-06-03 18:41:28 +0530 driver: mtd: spi: Adding support for QSPI flash Serial number, vendor id and page size are added for QSPI flash common on both LS1012AQDS and LS1012ARDB i.e. S25FS512SDSMFI011. Signed-off-by: Pratiyush Mohan Srivastava <pratiyush.srivastava@nxp.com> Signed-off-by: Calvin Johnson <calvin.johnson@nxp.com> Signed-off-by: Mingkai Hu <mingkai.hu@nxp.com> Signed-off-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / drivers/mtd/spi/sf_params.c | 1 + drivers/mtd/spi/spi_flash.c | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit 22a44d087acdfe55c48c0f096a0238fb7ed49762 Author: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com> Date: 2016-06-03 18:41:27 +0530 armv8: fsl-layerscape: Avoid LS1043A specifc defines Other than LS1043A, LS1012A also Chassis Gen2 Architecture compliant. So Avoid LS1043A specific defines in arch/arm Signed-off-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / arch/arm/cpu/armv8/fsl-layerscape/soc.c | 2 +- arch/arm/include/asm/arch-fsl-layerscape/fsl_serdes.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit 1e49a2318ad22ad842bf4c768398f0f5f9872dc0 Author: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com> Date: 2016-06-03 18:41:26 +0530 armv8: fsl-layerscape: Put SMMU config code in SMMU_BASE It is not mandatory for Layerscape SoCs to have SMMU. SoCs like LS1012A are layerscape SoC without SMMU IP. So put SMMU configuration code under SMMU_BASE. Signed-off-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / arch/arm/cpu/armv8/fsl-layerscape/lowlevel.S | 2 ++ 1 file changed, 2 insertions(+) ------------------------------------------------------------------------------- commit 3e06ba8f25521cb385c2fe9d2b312244f788a02a Author: Shaohui Xie <Shaohui.Xie@nxp.com> Date: 2016-05-30 14:26:55 +0800 armv8: ls1043aqds: fix usb PWRFAULT setting SCFG_USBPWRFAULT_DEDICATED instead of SCFG_USBPWRFAULT_SHARED should be used for USB 3 & 2. Signed-off-by: Shaohui Xie <Shaohui.Xie@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / board/freescale/ls1043aqds/ls1043aqds.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit d36740462a35aaaaa7e01e43c6ff666467070427 Author: Shengzhou Liu <Shengzhou.Liu@nxp.com> Date: 2016-05-25 16:15:00 +0800 driver/ddr/fsl: Check condition for erratum A-009803 Add condition of checking the enabled of address parity for erratum A-009803, if parity is not enabled, the workaround of erratum A-009803 should not be applied. Signed-off-by: Shengzhou Liu <Shengzhou.Liu@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / drivers/ddr/fsl/fsl_ddr_gen4.c | 42 +++++++++++++++++++++++------------------- 1 file changed, 23 insertions(+), 19 deletions(-) ------------------------------------------------------------------------------- commit b06f6f2f0347b6010943fa2ca2f26d1786fdba78 Author: York Sun <york.sun@nxp.com> Date: 2016-05-26 12:19:03 -0700 drivers/ddr/fsl: Disabling data init if ECC is not enabled If ECC is not enabled, data init can be disabled to speed up booting. Signed-off-by: York Sun <york.sun@nxp.com> Base directory -> / drivers/ddr/fsl/options.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 931e8751af8ca9ff4395c3f033c5217d48f5698f Author: York Sun <york.sun@nxp.com> Date: 2016-05-26 13:59:03 -0700 board: ls2080ardb: qds: Fix compiling issue when FSL_MC_ENET not defined U-Boot should continue to work without management complex (MC). Fix compiling errors and warnings. Signed-off-by: York Sun <york.sun@nxp.com> Base directory -> / board/freescale/ls2080aqds/ls2080aqds.c | 2 ++ board/freescale/ls2080ardb/ls2080ardb.c | 6 ++++++ 2 files changed, 8 insertions(+) ------------------------------------------------------------------------------- commit 3378727d13dac410d8ef2d8426d4c9bfc4974405 Author: Bogdan Purcareata <bogdan.purcareata@nxp.com> Date: 2016-05-17 07:18:40 +0000 pcie/layerscape: fix bug in bus number computation when setting msi-map When multiple PCI cards are present in an ls2080a board, the second card does not get its msi-map set up properly due to a bug in computing the bus number. The bus number returned by PCI_BDF() is not the actual PCI bus number, but instead represents a global u-boot PCI bus number. A given bus number is relative to hose->first_busno, so that has to be subtracted from the PCI device id. Signed-off-by: Bogdan Purcareata <bogdan.purcareata@nxp.com> Acked-by: Stuart Yoder <stuart.yoder@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / drivers/pci/pcie_layerscape.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) ------------------------------------------------------------------------------- commit 5605dc6135f6f26560ef3b0c6ebc5141c531179a Author: York Sun <york.sun@nxp.com> Date: 2016-05-18 21:11:19 -0700 drivers/ddr/fsl: Fix timing_cfg_2 register Commit 34e026f9 added one extra bit to wr_lat for timing_cfg_2, but with wrong bit position. It is bit 13 in big-endian, or left shift 18 from LSB. This error hasn't had any impact because we don't have fast enough DDR4 using the extra bit so far. Signed-off-by: York Sun <york.sun@nxp.com> Base directory -> / drivers/ddr/fsl/ctrl_regs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit c4f97b1f53a48ab52efc221b73a235797375fbfb Author: Vincent Siles <vincent.siles@provenrun.com> Date: 2016-05-18 14:41:14 +0200 board: ls102xa: Fix ICID setup LS102A ref manual dictates that ICID have to be written to the MSB of the ICID register, not to the LSB. Signed-off-by: Vincent Siles <vincent.siles@provenrun.com> Base directory -> / board/freescale/common/ls102xa_stream_id.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit cc634e283659096e792f9515e6a9268b58179954 Author: Yangbo Lu <yangbo.lu@nxp.com> Date: 2016-05-12 19:12:58 +0800 mmc: fsl_esdhc: fix check_and_invalidate_dcache_range function In function check_and_invalidate_dcache_range(), there are incorrect start address and end address of the dcache range calculated for Layerscape platforms. This patch is to fix this issue. Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / drivers/mmc/fsl_esdhc.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) ------------------------------------------------------------------------------- commit e04f9d0c2f5dec275eb550317c6bad2d8bbfb209 Author: Shengzhou Liu <Shengzhou.Liu@nxp.com> Date: 2016-05-04 10:20:22 +0800 board/freescale: Update ddr clk_adjust This patch updates clk_adjust to actual value for boards with T-series and LS-series SoCs to match the setting of clk_adjust in latest ddr driver. Signed-off-by: Shengzhou Liu <Shengzhou.Liu@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / board/freescale/ls1021aqds/ddr.h | 28 ++++++++++++++-------------- board/freescale/ls1043aqds/ddr.h | 28 ++++++++++++++-------------- board/freescale/ls1043ardb/ddr.h | 6 +++--- board/freescale/ls2080aqds/ddr.h | 32 ++++++++++++++++---------------- board/freescale/ls2080ardb/ddr.h | 32 ++++++++++++++++---------------- board/freescale/t102xqds/ddr.c | 22 +++++++++++----------- board/freescale/t102xrdb/ddr.c | 12 ++++++------ board/freescale/t1040qds/ddr.h | 22 +++++++++++----------- board/freescale/t104xrdb/ddr.h | 26 +++++++++++++------------- board/freescale/t208xqds/ddr.h | 40 ++++++++++++++++++++-------------------- board/freescale/t208xrdb/ddr.h | 20 ++++++++++---------- board/freescale/t4qds/ddr.h | 38 +++++++++++++++++++------------------- board/freescale/t4rdb/ddr.h | 38 +++++++++++++++++++------------------- 13 files changed, 172 insertions(+), 172 deletions(-) ------------------------------------------------------------------------------- commit d8e5163ad81a2810c66a9a98e5111769378f5f5f Author: Shengzhou Liu <Shengzhou.Liu@nxp.com> Date: 2016-05-04 10:20:21 +0800 drivers/ddr/fsl: Update clk_adjust of sdram_clk_cntl The clk_adjust is of SDRAM_CLK_CNTL[5:8] 4-bits on MPC85xx and P-series, but is of SDRAM_CLK_CNTL[5:9] 5-bits on T-series and LS-series SoCs. We should update it to adapt the case that clk_adjust is odd data. Signed-off-by: Shengzhou Liu <Shengzhou.Liu@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / drivers/ddr/fsl/ctrl_regs.c | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit f15715afea3e7b576fad1f6877a073b65576a335 Author: Tom Rini <trini@konsulko.com> Date: 2016-06-03 16:30:47 -0400 Merge branch 'master' of git://git.denx.de/u-boot-tegra Base directory -> / arch/arm/dts/Makefile | 1 + arch/arm/dts/tegra186-p2771-0000.dts | 25 ++ arch/arm/dts/tegra186.dtsi | 56 ++++ arch/arm/include/asm/arch-tegra/gpio.h | 2 + arch/arm/include/asm/arch-tegra/tegra_mmc.h | 2 + arch/arm/include/asm/arch-tegra124/gpio.h | 259 ------------------ arch/arm/include/asm/arch-tegra186/gpio.h | 10 + arch/arm/include/asm/arch-tegra186/tegra.h | 16 ++ arch/arm/include/asm/arch-tegra20/gpio.h | 227 ---------------- arch/arm/include/asm/arch-tegra210/gpio.h | 259 ------------------ arch/arm/include/asm/arch-tegra30/gpio.h | 251 ------------------ arch/arm/mach-tegra/Kconfig | 8 + arch/arm/mach-tegra/Makefile | 3 + arch/arm/mach-tegra/board186.c | 55 ++++ arch/arm/mach-tegra/tegra186/Kconfig | 25 ++ arch/arm/mach-tegra/tegra186/Makefile | 8 + board/avionic-design/common/tamonten-ng.c | 12 +- board/avionic-design/common/tamonten.c | 4 +- board/nvidia/cardhu/cardhu.c | 4 +- board/nvidia/e2220-1170/pinmux-config-e2220-1170.h | 120 ++++----- board/nvidia/jetson-tk1/pinmux-config-jetson-tk1.h | 104 ++++---- board/nvidia/nyan-big/nyan-big.c | 5 +- board/nvidia/nyan-big/pinmux-config-nyan-big.h | 96 +++---- board/nvidia/p2371-0000/pinmux-config-p2371-0000.h | 102 ++++---- board/nvidia/p2371-2180/pinmux-config-p2371-2180.h | 124 ++++----- board/nvidia/p2571/p2571.c | 4 +- board/nvidia/p2571/pinmux-config-p2571.h | 52 ++-- board/nvidia/p2771-0000/Kconfig | 16 ++ board/nvidia/p2771-0000/MAINTAINERS | 6 + board/nvidia/p2771-0000/Makefile | 5 + board/nvidia/p2771-0000/p2771-0000.c | 7 + board/nvidia/seaboard/seaboard.c | 4 +- board/nvidia/venice2/pinmux-config-venice2.h | 118 ++++----- board/toradex/colibri_t20/colibri_t20.c | 6 +- board/toradex/colibri_t30/colibri_t30.c | 6 +- configs/p2771-0000_defconfig | 31 +++ .../gpio/nvidia,tegra186-gpio.txt | 161 ++++++++++++ drivers/gpio/Kconfig | 15 ++ drivers/gpio/Makefile | 1 + drivers/gpio/rk_gpio.c | 1 - drivers/gpio/tegra186_gpio.c | 288 +++++++++++++++++++++ drivers/gpio/tegra186_gpio_priv.h | 61 +++++ drivers/mmc/tegra_mmc.c | 32 ++- include/configs/p2771-0000.h | 33 +++ include/configs/tegra-common.h | 1 - include/configs/tegra186-common.h | 71 +++++ include/dt-bindings/gpio/tegra-gpio.h | 68 ++--- include/dt-bindings/gpio/tegra186-gpio.h | 60 +++++ include/fdtdec.h | 1 + lib/fdtdec.c | 1 + 50 files changed, 1414 insertions(+), 1413 deletions(-) ------------------------------------------------------------------------------- commit b2f1858455e99a91aeafe59ac73c6c047106d5e8 Author: Stephen Warren <swarren@nvidia.com> Date: 2016-06-03 13:05:11 -0600 arm: lib: fix push/pop-section directives With the existing code, function symbols are defined in .text, and the body is defined in .text.xxx. This causes (at least some version of) the linker not to emit the function body into the final binary, since it's part of a different section to the symbols being referenced. This of course causes a wide variety of failures. This change moves the push/pop-section directives before the function symbols, and after any relate ENDPROC macro invocations, so that symbols and bodies are all in the "pushed" sections, and thus the function bodies are emitted into the binary. This solves (at least) the boot problems currently seen on Tegra systems that use SPL (i.e. all ARMv7 Tegras). Fixes: 13b0a91a6d48 ("arm: lib: Split asm symbols into different .text subsections") Cc: Marek Vasut <marex@denx.de> Cc: Tom Warren <twarren@nvidia.com> Cc: Simon Glass <sjg@chromium.org> Cc: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Stephen Warren <swarren@nvidia.com> Base directory -> / arch/arm/lib/ashldi3.S | 4 ++-- arch/arm/lib/ashrdi3.S | 4 ++-- arch/arm/lib/div64.S | 4 ++-- arch/arm/lib/lib1funcs.S | 44 ++++++++++++++++++++++---------------------- arch/arm/lib/lshrdi3.S | 4 ++-- arch/arm/lib/muldi3.S | 4 ++-- arch/arm/lib/uldivmod.S | 4 ++-- 7 files changed, 34 insertions(+), 34 deletions(-) ------------------------------------------------------------------------------- commit edb697cfcc2dda02c5b2a34b3157b8fa8fc01264 Author: Tom Rini <trini@konsulko.com> Date: 2016-06-02 21:42:23 -0400 Merge branch 'master' of git://git.denx.de/u-boot-socfpga Base directory -> / arch/arm/dts/Makefile | 3 +- arch/arm/dts/socfpga_cyclone5_vining_fpga.dts | 113 +++++ arch/arm/mach-socfpga/Kconfig | 7 + board/samtec/vining_fpga/MAINTAINERS | 5 + board/samtec/vining_fpga/Makefile | 9 + board/samtec/vining_fpga/qts/iocsr_config.h | 660 ++++++++++++++++++++++++++ board/samtec/vining_fpga/qts/pinmux_config.h | 219 +++++++++ board/samtec/vining_fpga/qts/pll_config.h | 91 ++++ board/samtec/vining_fpga/qts/sdram_config.h | 341 +++++++++++++ board/samtec/vining_fpga/socfpga.c | 100 ++++ common/spl/spl.c | 3 - configs/socfpga_arria5_defconfig | 2 + configs/socfpga_cyclone5_defconfig | 2 + configs/socfpga_de0_nano_soc_defconfig | 2 + configs/socfpga_mcvevk_defconfig | 2 + configs/socfpga_sockit_defconfig | 2 + configs/socfpga_socrates_defconfig | 2 + configs/socfpga_sr1500_defconfig | 2 + configs/socfpga_vining_fpga_defconfig | 57 +++ include/configs/socfpga_common.h | 9 +- include/configs/socfpga_sr1500.h | 2 +- include/configs/socfpga_vining_fpga.h | 231 +++++++++ 22 files changed, 1853 insertions(+), 11 deletions(-) ------------------------------------------------------------------------------- commit e2924e5904ae413e0b4a2a0d407267e7bbc2c7c4 Author: Lokesh Vutla <lokeshvutla@ti.com> Date: 2016-05-26 19:05:44 +0530 ARM: k2g: Configure reset mux to device reset BOOTCFG_RSTMUX8 register controls the reset mux associated with the ARM. Timer5(dedicated to ARM) when used as WatchDog timer, the events it generates are routed to the above mux. Following are the 3 events that can controlled bt the reset mux: - Device Reset - An interrupt to the ARM_GIC - An interrupt to the ARM_GIC followed by a device reset. Right now to give a default watchdog behaviour "Device reset" is being selected. Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> Acked-by: Nishanth Menon <nm@ti.com> Base directory -> / arch/arm/mach-keystone/include/mach/hardware-k2g.h | 12 ++++++++++++ board/ti/ks2_evm/board_k2g.c | 16 ++++++++++++++++ 2 files changed, 28 insertions(+) ------------------------------------------------------------------------------- commit eafd4644c0edc140f034d5eb7cb07529ab0a6dc7 Author: Keerthy <j-keerthy@ti.com> Date: 2016-05-24 11:45:07 +0530 arm: am57xx: Fix alignment where necessary This just fixes alignment for better readability. Signed-off-by: Keerthy <j-keerthy@ti.com> Base directory -> / board/ti/am57xx/board.c | 90 ++++++++++++++++++++++++------------------------- 1 file changed, 45 insertions(+), 45 deletions(-) ------------------------------------------------------------------------------- commit d60198dac2026ca6b6732e5cd6892d3b3bebddaa Author: Keerthy <j-keerthy@ti.com> Date: 2016-05-24 11:45:06 +0530 arm: am57xx: Fix omap_vcores assignment for am572x-idk Currently omap_vcores is wrongly assigned a default value of beagle_x15_volts. Hence populating a new structure for am572x-idk and assigning it to omap_vcores in the vcores_init function. Fixes: c020d355c45ed40fe12a ("board: ti: am57xx: Add support for am572x idk in SPL") Reported-by: Suman Anna <s-anna@ti.com> Signed-off-by: Keerthy <j-keerthy@ti.com> Base directory -> / board/ti/am57xx/board.c | 45 ++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 44 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 61462cd77277060318480abe5b0aba1adf5e76f4 Author: Keerthy <j-keerthy@ti.com> Date: 2016-05-24 11:45:05 +0530 arm: omap: Introduce vcores_init function The pmic registers for variants of am57xx boards are different hence we need to assign them carefully based on the board type. Add a function to assign omap_vcores after the board detection. Signed-off-by: Keerthy <j-keerthy@ti.com> Base directory -> / arch/arm/cpu/armv7/omap-common/hwinit-common.c | 11 +++++++++++ arch/arm/include/asm/arch-omap5/sys_proto.h | 1 + 2 files changed, 12 insertions(+) ------------------------------------------------------------------------------- commit 88730f19280d2d89816be8a7ab4faf8248e6b7b4 Author: Anna, Suman <s-anna@ti.com> Date: 2016-05-23 13:32:17 -0500 ARM: DRA7: Add macros for voltage values for all OPPs Define specific macros for the voltage values for all voltage domains for all applicable OPPs - OPP_NOM, OPP_OD and OPP_HIGH. No separate macros are defined for VD_MPU and VD_CORE at OPP_OD and OPP_HIGH as these use the same values as OPP_NOM. The current macros will be used as common macros that can be redefined appropriately based on a selected OPP configuration at build time. Signed-off-by: Suman Anna <s-anna@ti.com> Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com> Base directory -> / arch/arm/include/asm/arch-omap5/clock.h | 29 +++++++++++++++++++++++------ 1 file changed, 23 insertions(+), 6 deletions(-) ------------------------------------------------------------------------------- commit e42523f54434119609744a62dcc9173b3a50dc29 Author: Anna, Suman <s-anna@ti.com> Date: 2016-05-23 13:32:16 -0500 ARM: DRA7: Consolidate voltage macros across different SoCs The voltage values for each voltage domain at an OPP is identical across all the SoCs in the DRA7 family. The current code defines one set of macros for DRA75x/DRA74x SoCs and another set for DRA72x macros. Consolidate both these sets into a single set. This is done so as to minimize the number of macros used when voltage values will be added for other OPPs as well. Signed-off-by: Suman Anna <s-anna@ti.com> Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com> Base directory -> / arch/arm/cpu/armv7/omap5/hw_data.c | 20 ++++++++++---------- arch/arm/include/asm/arch-omap5/clock.h | 19 ++++++------------- board/ti/am57xx/board.c | 10 +++++----- 3 files changed, 21 insertions(+), 28 deletions(-) ------------------------------------------------------------------------------- commit 27c9596f680ecea01beb52181da72b7d7fab0d8c Author: Anna, Suman <s-anna@ti.com> Date: 2016-05-23 13:32:15 -0500 ARM: DRA7: Define common macros for efuse register offsets Define a set of common macros for the efuse register offsets (different for each OPP) that are used to get the AVS Class 0 voltage values and ABB configuration values. Assign these common macros to the register offsets for OPP_NOM by default for all voltage domains. These common macros can then be redefined properly to point to the OPP specific efuse register offset based on the desired OPP to program a specific voltage domain. Signed-off-by: Suman Anna <s-anna@ti.com> Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com> Base directory -> / arch/arm/cpu/armv7/omap5/hw_data.c | 20 ++++++++++---------- arch/arm/include/asm/arch-omap5/clock.h | 7 +++++++ board/ti/am57xx/board.c | 10 +++++----- 3 files changed, 22 insertions(+), 15 deletions(-) ------------------------------------------------------------------------------- commit 36080228edfdad69299bb6cc2a59ceb17190fcec Author: Anna, Suman <s-anna@ti.com> Date: 2016-05-23 13:32:14 -0500 ARM: DRA7: Update/Correct MPU and CORE OPP_NOM voltage values The current OPP_NOM voltage values defined for the MPU and CORE voltage domains are based on the initial DRA75x_74x_SR1.1_DM data manual. As per this DM, the PMIC boot voltage can be set to either 1.10V or 1.15V for VD_MPU, and either 1.06V or 1.15V for VD_CORE. While the current values are correct, the latter set of values are the values that are common across all DRA75x, DRA72x SoCs and for all current Silicon revisions. So, update both the MPU and CORE OPP_NOM voltages to 1.15V. The macros are also slightly reorganized so that both the MPU and CORE voltage domain values are defined together. Signed-off-by: Suman Anna <s-anna@ti.com> Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com> Base directory -> / arch/arm/include/asm/arch-omap5/clock.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) ------------------------------------------------------------------------------- commit 68a775a7665f8cec3c0f6f38179ef5b7eeb2fee0 Author: Roger Quadros <rogerq@ti.com> Date: 2016-05-23 17:37:50 +0300 usb: phy: omap_usb_phy: Fix USB3_PHY DPLL configuration The index returned by get_sys_clk_index() is not exactly what we expect. Let's not rely on that and use get_sys_clk_freq() instead. This fixes missing USB3 devices in the Linux kernel when USB is started in u-boot. It still doesn't fix missing USB3 devices in u-boot though. Signed-off-by: Roger Quadros <rogerq@ti.com> Base directory -> / drivers/usb/phy/omap_usb_phy.c | 56 +++++++++++++++++++++++++++++++----------- 1 file changed, 41 insertions(+), 15 deletions(-) ------------------------------------------------------------------------------- commit 3599774eec9d06812c6124bcd0b34cebd7ec5e1c Author: Roger Quadros <rogerq@ti.com> Date: 2016-05-23 17:37:49 +0300 dra7xx: Enable USB_PHY3 32KHz clock DRA7xx has a 32KHz PHY clock for USB_PHY3 that must be enabled for USB1 instance in Super-Speed. Signed-off-by: Roger Quadros <rogerq@ti.com> Base directory -> / arch/arm/cpu/armv7/omap5/hw_data.c | 14 ++++++++++++-- arch/arm/cpu/armv7/omap5/prcm-regs.c | 1 + arch/arm/include/asm/omap_common.h | 1 + 3 files changed, 14 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit 55efadde7edee407a14c7cbf418c82b30a94faa8 Author: Roger Quadros <rogerq@ti.com> Date: 2016-05-23 17:37:48 +0300 ARM: AM57xx: AM43xx: Fix USB host CONFIG_USB_XHCI_OMAP can be set for host mode without setting CONFIG_USB_DWC3 which is meant for gadget mode only. board_usb_init() was not being defined for CONFIG_USB_XHCI_OMAP resulting in a data abort on usb start. Define board_usb_init() for CONFIG_USB_XHCI_OMAP case. Move gadget specific handling to within CONFIG_USB_DWC3. Fixes: 6f1af1e358b7 ("board: ti: invoke clock API to enable and disable clocks") Signed-off-by: Roger Quadros <rogerq@ti.com> Base directory -> / board/ti/am43xx/board.c | 58 ++++++++++++++++++++++++------------------------- board/ti/am57xx/board.c | 54 ++++++++++++++++++++++----------------------- 2 files changed, 55 insertions(+), 57 deletions(-) ------------------------------------------------------------------------------- commit 383f4a0ec78ee92c89a7ce135acbde47c84c6201 Author: Roger Quadros <rogerq@ti.com> Date: 2016-05-23 17:37:47 +0300 ARM: OMAP5+: Provide enable/disable_usb_clocks() for CONFIG_USB_XHCI_OMAP CONFIG_USB_XHCI_OMAP is enabled for host mode independent of CONFIG_USB_DWC3 which is meant for gadget mode only. We need enable/disbale_usb_clocks() for host mode as well so provide for it. Fixes: 09cc14f4bcbf ("ARM: AM43xx: Add functions to enable and disable USB clocks" Signed-off-by: Roger Quadros <rogerq@ti.com> Base directory -> / arch/arm/cpu/armv7/am33xx/clock_am43xx.c | 2 +- arch/arm/cpu/armv7/omap5/hw_data.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit 91b86e21564de01c0e3deafc72702897993d63ae Author: Marek Vasut <marex@denx.de> Date: 2016-05-26 18:01:47 +0200 lib: Enable private libgcc by default This patch decouples U-Boot binary from the toolchain on systems where private libgcc is available. Instead of pulling in functions provided by the libgcc from the toolchain, U-Boot will use it's own set of libgcc functions. These functions are usually imported from Linux kernel, which also uses it's own libgcc functions instead of the ones provided by the toolchain. This patch solves a rather common problem. The toolchain can usually generate code for many variants of target architecture and often even different endianness. The libgcc on the other hand is usually compiled for one particular configuration and the functions provided by it may or may not be suited for use in U-Boot. This can manifest in two ways, either the U-Boot fails to compile altogether and linker will complain or, in the much worse case, the resulting U-Boot will build, but will misbehave in very subtle and hard to debug ways. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Albert Aribaud <albert.u.boot@aribaud.net> Cc: Masahiro Yamada <yamada.masahiro@socionext.com> Cc: Simon Glass <sjg@chromium.org> Cc: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / lib/Kconfig | 1 + 1 file changed, 1 insertion(+) ------------------------------------------------------------------------------- commit 13b0a91a6d48736d2927edd63e59f3a9e76f6d34 Author: Marek Vasut <marex@denx.de> Date: 2016-05-26 18:01:46 +0200 arm: lib: Split asm symbols into different .text subsections Split each symbol in lib1funcs into different .text.foo section instead of placing all of them into plain .text . This allows the linker to collect and discard unused assembler symbols. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Albert Aribaud <albert.u.boot@aribaud.net> Cc: Masahiro Yamada <yamada.masahiro@socionext.com> Cc: Simon Glass <sjg@chromium.org> Cc: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / arch/arm/lib/ashldi3.S | 2 ++ arch/arm/lib/ashrdi3.S | 2 ++ arch/arm/lib/div64.S | 2 ++ arch/arm/lib/lib1funcs.S | 25 +++++++++++++++++++++++++ arch/arm/lib/lshrdi3.S | 2 ++ arch/arm/lib/muldi3.S | 2 ++ arch/arm/lib/uldivmod.S | 3 +++ 7 files changed, 38 insertions(+) ------------------------------------------------------------------------------- commit 806f86bd826e7a0fbefd4f34c550df400905992a Author: Marek Vasut <marex@denx.de> Date: 2016-05-26 18:01:45 +0200 arm: lib: Import Thumb1 functions Import functions into lib1funcs.S which are required for Thumb1 build. These functions come from gcc 5.3.1 release. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Albert Aribaud <albert.u.boot@aribaud.net> Cc: Masahiro Yamada <yamada.masahiro@socionext.com> Cc: Simon Glass <sjg@chromium.org> Cc: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / arch/arm/lib/lib1funcs.S | 53 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) ------------------------------------------------------------------------------- commit 0bf65c6422d51768bc30735dbd97cf66f09a0450 Author: Marek Vasut <marex@denx.de> Date: 2016-05-26 18:01:44 +0200 arm: lib: import muldi3.S from Linux Import muldi3.S from Linux 4.4.6 , commit 0d1912303e54ed1b2a371be0bba51c384dd57326 on arm32. This file implements __aeabi_lmul and it's alias __muldi3, which is needed when doing Thumb1 builds. This patch also defines CONFIG_THUMB2_KERNEL and CONFIG_ARM_ASM_UNIFIED which is necessary for correct build of these files both in ARM and Thumb mode, just like Linux does. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Albert Aribaud <albert.u.boot@aribaud.net> Cc: Masahiro Yamada <yamada.masahiro@socionext.com> Cc: Simon Glass <sjg@chromium.org> Cc: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / arch/arm/lib/Makefile | 3 ++- arch/arm/lib/muldi3.S | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 40d67c75e47e2e76cc310515c55d758151b9fdde Author: Marek Vasut <marex@denx.de> Date: 2016-05-26 18:01:43 +0200 arm: lib: Repair Warning: conditional infixes are deprecated in unified syntax Fix the following warning when building for thumb2 target by tweaking the instruction syntax: Warning: conditional infixes are deprecated in unified syntax Signed-off-by: Marek Vasut <marex@denx.de> Cc: Albert Aribaud <albert.u.boot@aribaud.net> Cc: Masahiro Yamada <yamada.masahiro@socionext.com> Cc: Simon Glass <sjg@chromium.org> Cc: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / arch/arm/lib/div64.S | 4 ++-- arch/arm/lib/lib1funcs.S | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) ------------------------------------------------------------------------------- commit 7b9f9c5d3bae666359143cf5a681f90e998b5a80 Author: Marek Vasut <marex@denx.de> Date: 2016-05-26 18:01:42 +0200 arm: lib: Import __do_div64 from Linux Import __do_div64 from Linux 4.4.6 , commit 0d1912303e54ed1b2a371be0bba51c384dd57326 on arm32. This function is for some toolchains, which generate _udivmoddi4() for 64 bit division. Since we do not support stack unwinding, instead of importing the whole asm/unwind.h and all the baggage, this patch defines empty UNWIND() macro. This patch also defines CONFIG_THUMB2_KERNEL and CONFIG_ARM_ASM_UNIFIED which is necessary for correct build of these files both in ARM and Thumb mode, just like Linux does. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Albert Aribaud <albert.u.boot@aribaud.net> Cc: Masahiro Yamada <yamada.masahiro@socionext.com> Cc: Simon Glass <sjg@chromium.org> Cc: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / arch/arm/lib/Makefile | 2 +- arch/arm/lib/div64.S | 212 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 213 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit e64d75948446b14ff817c10ae5a65c84b1d24ba7 Author: Marek Vasut <marex@denx.de> Date: 2016-05-26 18:01:41 +0200 arm: lib: Fix uldivmod.S build on Thumb2 This assembler source won't build in Thumb2 mode, so fix it adding the necessary Thumb2 conditional macros from unified.h . This patch also defines CONFIG_THUMB2_KERNEL and CONFIG_ARM_ASM_UNIFIED which is necessary for correct build of these files both in ARM and Thumb mode, just like Linux does. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Albert Aribaud <albert.u.boot@aribaud.net> Cc: Masahiro Yamada <yamada.masahiro@socionext.com> Cc: Simon Glass <sjg@chromium.org> Cc: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / arch/arm/lib/uldivmod.S | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) ------------------------------------------------------------------------------- commit c5a543ea2d4bcedd87754b78babb68929cf8ab33 Author: Marek Vasut <marex@denx.de> Date: 2016-05-26 18:01:40 +0200 arm: lib: Sync libgcc 32b division/modulo operations Sync the libgcc 32bit division and modulo operations with Linux 4.4.6 , commit 0d1912303e54ed1b2a371be0bba51c384dd57326 . The functions in these four files are present in lib1funcs.S in Linux, so replace these files with lib1funcs.S from Linux. Since we do not support stack unwinding, instead of importing the whole asm/unwind.h and all the baggage, this patch defines empty UNWIND() macro in lib1funcs.S . Moreover, to make all of the functions available, define CONFIG_AEABI , which is safe, because U-Boot is always compiled with ARM EABI. This patch also defines CONFIG_THUMB2_KERNEL and CONFIG_ARM_ASM_UNIFIED which is necessary for correct build of these files both in ARM and Thumb mode, just like Linux does. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Albert Aribaud <albert.u.boot@aribaud.net> Cc: Masahiro Yamada <yamada.masahiro@socionext.com> Cc: Simon Glass <sjg@chromium.org> Cc: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / arch/arm/lib/Makefile | 5 +- arch/arm/lib/divsi3.S | 143 ------------------- arch/arm/lib/lib1funcs.S | 351 +++++++++++++++++++++++++++++++++++++++++++++++ arch/arm/lib/modsi3.S | 99 ------------- arch/arm/lib/udivsi3.S | 95 ------------- arch/arm/lib/umodsi3.S | 90 ------------ 6 files changed, 353 insertions(+), 430 deletions(-) ------------------------------------------------------------------------------- commit 06b36cb7752f64232e15a53864a97861de0aab7f Author: Marek Vasut <marex@denx.de> Date: 2016-05-26 18:01:39 +0200 arm: lib: Sync libgcc shift operations Sync the libgcc shift operations with Linux kernel 4.4.6 , commit 0d1912303e54ed1b2a371be0bba51c384dd57326 . Syncing these three files is easy, as there is almost no change in them, except the addition of Thumb support. This patch also defines CONFIG_THUMB2_KERNEL and CONFIG_ARM_ASM_UNIFIED which is necessary for correct build of these files both in ARM and Thumb mode, just like Linux does. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Albert Aribaud <albert.u.boot@aribaud.net> Cc: Masahiro Yamada <yamada.masahiro@socionext.com> Cc: Simon Glass <sjg@chromium.org> Cc: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / arch/arm/lib/ashldi3.S | 12 ++++++++---- arch/arm/lib/ashrdi3.S | 12 ++++++++---- arch/arm/lib/lshrdi3.S | 12 ++++++++---- 3 files changed, 24 insertions(+), 12 deletions(-) ------------------------------------------------------------------------------- commit 11b1a9b2c0fecb7334ccb23f29200da0be0cc156 Author: Marek Vasut <marex@denx.de> Date: 2016-05-26 18:01:38 +0200 arm: lib: Drop underscore from private libgcc filenames Drop the underscore from the filenames of files implementing libgcc routines. There is no functional change. This change is done to make sync with Linux kernel easier. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Albert Aribaud <albert.u.boot@aribaud.net> Cc: Masahiro Yamada <yamada.masahiro@socionext.com> Cc: Simon Glass <sjg@chromium.org> Cc: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / arch/arm/lib/Makefile | 6 +- arch/arm/lib/_ashldi3.S | 28 ------ arch/arm/lib/_ashrdi3.S | 28 ------ arch/arm/lib/_divsi3.S | 143 --------------------------- arch/arm/lib/_lshrdi3.S | 28 ------ arch/arm/lib/_modsi3.S | 99 ------------------- arch/arm/lib/_udivsi3.S | 95 ------------------ arch/arm/lib/_uldivmod.S | 245 ----------------------------------------------- arch/arm/lib/_umodsi3.S | 90 ----------------- arch/arm/lib/ashldi3.S | 28 ++++++ arch/arm/lib/ashrdi3.S | 28 ++++++ arch/arm/lib/divsi3.S | 143 +++++++++++++++++++++++++++ arch/arm/lib/lshrdi3.S | 28 ++++++ arch/arm/lib/modsi3.S | 99 +++++++++++++++++++ arch/arm/lib/udivsi3.S | 95 ++++++++++++++++++ arch/arm/lib/uldivmod.S | 245 +++++++++++++++++++++++++++++++++++++++++++++++ arch/arm/lib/umodsi3.S | 90 +++++++++++++++++ 17 files changed, 759 insertions(+), 759 deletions(-) ------------------------------------------------------------------------------- commit c0db6f8d202a4f9a926c4f5792e1eefb774356e1 Author: Marek Vasut <marex@denx.de> Date: 2016-05-26 18:01:37 +0200 arm: include: Import unified.h from Linux kernel Import unified.h from Linux kernel 4.4.6 , commit 0d1912303e54ed1b2a371be0bba51c384dd57326 . This header file contains macros used in libgcc functions in Linux kernel on ARM and will be needed for the libgcc sync. Since unified.h defines the W(instr) macro, we must drop this from the macro from memcpy.S , otherwise this triggers a warning about symbol redefinition. In order to keep the changes to unified.h to the minimum, tweak arch/arm/lib/Makefile such that it defines the CONFIG_ARM_ASM_UNIFIED macro, which places .syntax unified into all of the assembler files. This is mandatory. Moreover, for Thumb2 build, define CONFIG_THUMB2_KERNEL macro if and only if Thumb2 build is enabled. This macro is checked by unified.h and toggles between ARM and Thumb2 variant of the instructions in the assembler source files. Finally, this patch defines __LINUX_ARM_ARCH__=N macro based on the new CONFIG_SYS_ARM_ARCH Kconfig option. This macro selects between more optimal and more dense codepaths which work on armv5 and newer and less optimal codepaths which work on armv4 and possible armv3m. Tegra2 needs the same special handling as it does in arch/arm/Makefile to cater for the arm720t boot core. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Albert Aribaud <albert.u.boot@aribaud.net> Cc: Masahiro Yamada <yamada.masahiro@socionext.com> Cc: Simon Glass <sjg@chromium.org> Cc: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / arch/arm/include/asm/assembler.h | 1 + arch/arm/include/asm/unified.h | 129 +++++++++++++++++++++++++++++++++++++++ arch/arm/lib/Makefile | 9 ++- arch/arm/lib/memcpy.S | 6 -- 4 files changed, 138 insertions(+), 7 deletions(-) ------------------------------------------------------------------------------- commit 66020a67c18ff78e1ca25d9ffeebab0b91d064a7 Author: Marek Vasut <marex@denx.de> Date: 2016-05-26 18:01:36 +0200 arm: config: Introduce CONFIG_SYS_ARM_ARCH Introduce new helper Kconfig option, which is automatically set to the version of ARM architecture for which the U-Boot is built. This is useful when selecting tuning options in the libgcc imported from Linux kernel. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Albert Aribaud <albert.u.boot@aribaud.net> Cc: Masahiro Yamada <yamada.masahiro@socionext.com> Cc: Simon Glass <sjg@chromium.org> Cc: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / arch/arm/Kconfig | 14 ++++++++++++++ 1 file changed, 14 insertions(+) ------------------------------------------------------------------------------- commit e68df9994eaa6bdb81d9dac11a0c0b799416c91e Author: Marek Vasut <marex@denx.de> Date: 2016-05-31 23:12:47 +0200 ARM: omap: Enable tiny printf on omap3_logic Enable support for tiny printf on the omap3_logic board to trim down the SPL size. This makes the SPL actually build again and fit into the SRAM. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Simon Glass <sjg@chromium.org> Cc: Tom Rini <trini@konsulko.com> Cc: lesne@alse-fr.com Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / configs/omap3_logic_defconfig | 1 + 1 file changed, 1 insertion(+) ------------------------------------------------------------------------------- commit abeb272d22217481c214495818c3ceabad57b9c0 Author: Marek Vasut <marex@denx.de> Date: 2016-05-31 23:12:46 +0200 tiny-printf: Support sprintf() Add a simple version of this function for SPL. It does not check the buffer size as this would add to the code size. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Simon Glass <sjg@chromium.org> Cc: Stefan Roese <sr@denx.de> Cc: Tom Rini <trini@konsulko.com> Cc: lesne@alse-fr.com Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Sylvain Lesne <lesne@alse-fr.com> Tested-by: Sylvain Lesne <lesne@alse-fr.com> Base directory -> / lib/tiny-printf.c | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit b4ba1693ef25aa0050c5aa254a0d1c4ed0af65f3 Author: Marek Vasut <marex@denx.de> Date: 2016-06-01 02:33:53 +0200 arm: Select CONFIG_ARM64 for Cavium ThunderX Select the config option, since this board is ARM64. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Simon Glass <sjg@chromium.org> Cc: Tom Rini <trini@konsulko.com> Base directory -> / arch/arm/Kconfig | 1 + 1 file changed, 1 insertion(+) ------------------------------------------------------------------------------- commit 35016e39fe545420260ec487859aaaeb80bf3be0 Author: Marek Vasut <marex@denx.de> Date: 2016-06-01 00:00:02 +0200 mips: wdr4300: Move the CONFIG_USE_PRIVATE_LIBGCC to Kconfig This fixes the last remaining libgcc warning, where the symbol was defined twice. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Simon Glass <sjg@chromium.org> Cc: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / configs/tplink_wdr4300_defconfig | 1 + include/configs/tplink_wdr4300.h | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) ------------------------------------------------------------------------------- commit 94b9e22e5036a2d8ad76956785e55754d4a980ad Author: Marek Vasut <marex@denx.de> Date: 2016-05-25 02:14:56 +0200 spl: Allow settings malloc_f base address Allow configuring the begining of the malloc_f area in SPL. This patch uses the same CONFIG_MALLOC_F_ADDR established by the sandbox. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Tom Rini <trini@konsulko.com> Cc: Simon Glass <sjg@chromium.org> Base directory -> / common/spl/spl.c | 3 +++ 1 file changed, 3 insertions(+) ------------------------------------------------------------------------------- commit 03c6f1761ede305637ed54fb238b2059c597451e Author: Marek Vasut <marex@denx.de> Date: 2016-05-25 02:13:16 +0200 serial: 16550: Drop OMAP1510 support The CONFIG_OMAP1510 is no longer defined, so remove this dead code. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Tom Rini <trini@konsulko.com> Cc: Simon Glass <sjg@chromium.org> Reviewed-by: Simon Glass <sjg@chromium.org> Acked-by: Nishanth Menon <nm@ti.com> Base directory -> / drivers/serial/ns16550.c | 20 +++----------------- 1 file changed, 3 insertions(+), 17 deletions(-) ------------------------------------------------------------------------------- commit fa4ce72316547753451528728491d31e6c7b18f0 Author: Marek Vasut <marex@denx.de> Date: 2016-05-25 02:13:03 +0200 serial: 16550: Make serial_io/out_shift available to debug mode The ns16550 driver needs serial_in_shift() and serial_out_shift() when compiled in debug UART mode, so shift the DM_SERIAL check a little to make these functions available. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Tom Rini <trini@konsulko.com> Cc: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/serial/ns16550.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) ------------------------------------------------------------------------------- commit 307c0b518979ff77876b880da88c388e4add692d Author: Marek Vasut <marex@denx.de> Date: 2016-05-25 02:12:32 +0200 gpio: mxs: Remove netdev.h The MXS certainly does not support any sort of networking in GPIO code, remove the netdev.h header. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Tom Rini <trini@konsulko.com> Cc: Simon Glass <sjg@chromium.org> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/gpio/mxs_gpio.c | 1 - 1 file changed, 1 deletion(-) ------------------------------------------------------------------------------- commit 626f6e4f575b24e2e8c5cfec39e56563c4003598 Author: Marek Vasut <marex@denx.de> Date: 2016-04-30 14:45:59 +0200 arm: Treat arm946es as v5te The arm946es is armv5te , so use -march=armv5te instead of armv4t. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Albert Aribaud <albert.u.boot@aribaud.net> Cc: Tom Rini <trini@konsulko.com> Base directory -> / arch/arm/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit d31e9c575f24f4b7f5f382ccae70d7a86bbc379d Author: Sylvain Lesne <lesne@alse-fr.com> Date: 2016-06-01 11:14:54 +0200 arm: socfpga: improve raw MMC SPL boot Before this patch, when booting from MMC (no filesystem), the SPL loaded U-Boot from a fixed offset. It will now load U-Boot from an offset of 256kB (which is 4 times the padded SPL image) in the third partition. This behaviour is similar to what the vendor SPL (based on U-Boot 2013.01) does, and allows to directly 'dd' the u-boot-with-spl.sfp file to the A2 partition. Signed-off-by: Sylvain Lesne <lesne@alse-fr.com> Base directory -> / include/configs/socfpga_common.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) ------------------------------------------------------------------------------- commit 77cd5368cee8b6a5684877e1bf4d544bf271ef08 Author: Stefan Roese <sr@denx.de> Date: 2016-06-01 13:24:58 +0200 arm: socfpga: Add missing ',' in CONFIG_BOOTARGS Somehow the sr1500 is missing this comma in the CONFIG_BOOTARGS definition. This patch adds it to. Signed-off-by: Stefan Roese <sr@denx.de> Reported-by: Pavel Machek <pavel@denx.de> Cc: Pavel Machek <pavel@denx.de> Cc: Marek Vasut <marex@denx.de> Base directory -> / include/configs/socfpga_sr1500.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 5bb4050df36f016de106c0ab129319795acabc06 Author: Marek Vasut <marex@denx.de> Date: 2016-05-30 17:09:48 +0200 arm: socfpga: Enable tiny printf and simple malloc in SPL Enable both features to reduce the SPL size by 6 kiB. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Chin Liang See <clsee@altera.com> Cc: Dinh Nguyen <dinguyen@opensource.altera.com> Cc: Pavel Machek <pavel@denx.de> Cc: Stefan Roese <sr@denx.de> Base directory -> / configs/socfpga_arria5_defconfig | 2 ++ configs/socfpga_cyclone5_defconfig | 2 ++ configs/socfpga_de0_nano_soc_defconfig | 2 ++ configs/socfpga_mcvevk_defconfig | 2 ++ configs/socfpga_sockit_defconfig | 2 ++ configs/socfpga_socrates_defconfig | 2 ++ configs/socfpga_sr1500_defconfig | 2 ++ configs/socfpga_vining_fpga_defconfig | 2 ++ include/configs/socfpga_common.h | 3 --- 9 files changed, 16 insertions(+), 3 deletions(-) ------------------------------------------------------------------------------- commit 1254667689a5a4accc149fef6ff69da760001b2b Author: Marek Vasut <marex@denx.de> Date: 2016-05-30 17:10:53 +0200 spl: Remove bogus GD_FLG_SPL_INIT check Remove the check for GD_FLG_SPL_INIT in spl_relocate_stack_gd(). The check will always fail. This is because spl_relocate_stack_gd() is called from ARM's crt0.S and it is called before board_init_r(). The board_init_r() calls spl_init(), which sets the GD_FLG_SPL_INIT flag. Note that reserving the malloc area in RAM is not a problem even if the GD_FLG_SPL_INIT flag is not set. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Chin Liang See <clsee@altera.com> Cc: Dinh Nguyen <dinguyen@opensource.altera.com> Cc: Hans de Goede <hdegoede@redhat.com> Cc: Pavel Machek <pavel@denx.de> Cc: Stefan Roese <sr@denx.de> Cc: Stephen Warren <swarren@nvidia.com> Base directory -> / common/spl/spl.c | 3 --- 1 file changed, 3 deletions(-) ------------------------------------------------------------------------------- commit 569a191a864cee66e3d0763179e8688499de0377 Author: Marek Vasut <marex@denx.de> Date: 2015-12-01 18:09:52 +0100 arm: socfpga: Add samtec VIN|ING board Add support for board based on the popular Altera Cyclone V SoC. This board has the following properties: - 1 GiB of DRAM - 1 Gigabit ethernet - 1 USB gadget port - 1 USB host port with an on-board hub - 2 QSPI NORs connected to the Cadence QSPI core - Multiple I2C EEPROMs and one I2C temperature sensor Signed-off-by: Marek Vasut <marex@denx.de> Cc: Dinh Nguyen <dinguyen@opensource.altera.com> Cc: Chin Liang See <clsee@altera.com> --- V2: Update the defconfig as per Tom's request Base directory -> / arch/arm/dts/Makefile | 3 +- arch/arm/dts/socfpga_cyclone5_vining_fpga.dts | 113 +++++ arch/arm/mach-socfpga/Kconfig | 7 + board/samtec/vining_fpga/MAINTAINERS | 5 + board/samtec/vining_fpga/Makefile | 9 + board/samtec/vining_fpga/qts/iocsr_config.h | 660 ++++++++++++++++++++++++++ board/samtec/vining_fpga/qts/pinmux_config.h | 219 +++++++++ board/samtec/vining_fpga/qts/pll_config.h | 91 ++++ board/samtec/vining_fpga/qts/sdram_config.h | 341 +++++++++++++ board/samtec/vining_fpga/socfpga.c | 100 ++++ configs/socfpga_vining_fpga_defconfig | 55 +++ include/configs/socfpga_vining_fpga.h | 231 +++++++++ 12 files changed, 1833 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 8b528709c5bba6a8d0ec83b20545bbd75f082704 Author: Lokesh Vutla <lokeshvutla@ti.com> Date: 2016-06-01 10:28:31 +0530 spl: fit: Fix load address of fit header When loading fit header, it should be loaded to a previous address aligned to ARCH_DMA_MINALIGN and not 8. Fixing the same. Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> Base directory -> / common/spl/spl_fit.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit 10a03382f0f8e774e58df7143e1a8ea52903ae1f Author: Stephen Warren <swarren@nvidia.com> Date: 2016-05-12 13:32:56 -0600 ARM: tegra: add p2771-0000 board support P2771-0000 is a P3310 CPU board married to a P2597 I/O board. The combination contains SoC, DRAM, eMMC, SD card slot, HDMI, USB micro-B port, Ethernet, USB3 host port, SATA, PCIe, and two GPIO expansion headers. Currently, due to U-Boot's level of support for Tegra186, the only features supported by U-Boot are the console UART and the on-board eMMC. Additional features will be added over time. U-Boot has so far been tested by replacing the kernel image on the device with a U-Boot binary. It is anticipated that U-Boot will eventually replace the CCPLEX bootloader binary, as on previous chips. This hasn't yet been tested. Signed-off-by: Stephen Warren <swarren@nvidia.com> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Warren <twarren@nvidia.com> Base directory -> / arch/arm/dts/Makefile | 1 + arch/arm/dts/tegra186-p2771-0000.dts | 25 +++++++++++++++++++++++++ arch/arm/mach-tegra/tegra186/Kconfig | 10 ++++++++++ board/nvidia/p2771-0000/Kconfig | 16 ++++++++++++++++ board/nvidia/p2771-0000/MAINTAINERS | 6 ++++++ board/nvidia/p2771-0000/Makefile | 5 +++++ board/nvidia/p2771-0000/p2771-0000.c | 7 +++++++ configs/p2771-0000_defconfig | 31 +++++++++++++++++++++++++++++++ include/configs/p2771-0000.h | 33 +++++++++++++++++++++++++++++++++ 9 files changed, 134 insertions(+) ------------------------------------------------------------------------------- commit c7ba99c8c18a606b95a89366bc4fd94a8295772f Author: Stephen Warren <swarren@nvidia.com> Date: 2016-05-12 13:32:55 -0600 ARM: tegra: add core Tegra186 support This adds the bare minimum code to support Tegra186, with UART and eMMC working. The empty gpio.h is required because <asm/gpio.h> includes it. A future cleanup round may be able to solve this for all Tegra generations at once. mach-tegra/Makefile is adjusted not to compile anything for Tegra186, but instead to defer everything to mach-tegra/tegra186/Makefile. This allows the SoC code to pick-and-choose which of the C files in the "common" mach-tegra/ directory to compile in based on the SoC's needs. Most of the code is not valid for Tegra186, and this approach removes the need for mach-tegra/Makefile to contain many SoC-specific ifdefs. This approach may be applied to all other Tegra SoCs in a future cleanup round. board186.c is introduced to replace board.c and board2.c. These files currently contain a slew of SoC- and board-specific code that is not valid for Tegra186. This approach avoids adding yet more ifdefs to those files. A future cleanup round may refactor most of board*.c into board-/ SoC-specific functions files thus allowing the top-level functions like board_init_early_f to be shared again. Signed-off-by: Stephen Warren <swarren@nvidia.com> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Warren <twarren@nvidia.com> Base directory -> / arch/arm/dts/tegra186.dtsi | 56 +++++++++++++++++++++++ arch/arm/include/asm/arch-tegra186/gpio.h | 10 +++++ arch/arm/include/asm/arch-tegra186/tegra.h | 16 +++++++ arch/arm/mach-tegra/Kconfig | 6 +++ arch/arm/mach-tegra/Makefile | 3 ++ arch/arm/mach-tegra/board186.c | 55 +++++++++++++++++++++++ arch/arm/mach-tegra/tegra186/Kconfig | 15 +++++++ arch/arm/mach-tegra/tegra186/Makefile | 8 ++++ include/configs/tegra186-common.h | 71 ++++++++++++++++++++++++++++++ 9 files changed, 240 insertions(+) ------------------------------------------------------------------------------- commit 39f633320c569a5d975d2d051ff2683db27bd021 Author: Stephen Warren <swarren@nvidia.com> Date: 2016-05-12 12:11:23 -0600 mmc: tegra: add basic Tegra186 support Tegra186's MMC controller needs to be explicitly identified. Add another compatible value for it. Tegra186 will use an entirely different clock/reset control mechanism to existing chips, and will use standard clock/reset APIs rather than the existing Tegra-specific custom APIs. The driver support for that isn't ready yet, so simply disable all clock/reset usage if compiling for Tegra186. This must happen at compile time rather than run-time since the custom APIs won't even be compiled in on Tegra186. In the long term, the plan would be to convert the existing custom APIs to standard APIs and get rid of the ifdefs completely. The system's main eMMC will work without any clock/reset support, since the firmware will have already initialized the controller in order to load U-Boot. Hence the driver is useful even in this apparently crippled state. Signed-off-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Tom Warren <twarren@nvidia.com> Base directory -> / arch/arm/include/asm/arch-tegra/tegra_mmc.h | 2 ++ drivers/mmc/tegra_mmc.c | 32 ++++++++++++++++++++++++++++- include/fdtdec.h | 1 + lib/fdtdec.c | 1 + 4 files changed, 35 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 074a1fdd27953aacb59346c83baaf443335ea04e Author: Stephen Warren <swarren@nvidia.com> Date: 2016-05-25 14:38:51 -0600 gpio: add Tegra186 GPIO driver Tegra186's GPIO controller register layout is significantly different from previous chips, so add a new driver for it. In fact, there are two different GPIO controllers in Tegra186 that share a similar register layout, but very different port mapping. This driver covers both. The DT binding is already present in the Linux kernel (in linux-next via the Tegra tree so far). Signed-off-by: Stephen Warren <swarren@nvidia.com> Reviewed-by: Simon Glass <sjg@chromium.org> # v1 Signed-off-by: Tom Warren <twarren@nvidia.com> Base directory -> / .../gpio/nvidia,tegra186-gpio.txt | 161 ++++++++++++ drivers/gpio/Kconfig | 8 + drivers/gpio/Makefile | 1 + drivers/gpio/rk_gpio.c | 1 - drivers/gpio/tegra186_gpio.c | 288 +++++++++++++++++++++ drivers/gpio/tegra186_gpio_priv.h | 61 +++++ include/dt-bindings/gpio/tegra186-gpio.h | 60 +++++ 7 files changed, 579 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 601800be22a37cc518e023adc8e32ad15f00a2c6 Author: Stephen Warren <swarren@nvidia.com> Date: 2016-05-12 12:07:41 -0600 ARM: tegra: convert CONFIG_TEGRA_GPIO to Kconfig Future chips will contain different GPIO HW. This change will enable future SoC support to select the appropriate GPIO driver for their HW, in a future-looking fashion, using Kconfig. TEGRA_GPIO is not simply selected by TEGRA_COMMON (even though all current Tegra chips used this GPIO HW) to simplify the later addition of support for Tegra SoCs that use different GPIO HW. Signed-off-by: Stephen Warren <swarren@nvidia.com> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Warren <twarren@nvidia.com> Base directory -> / arch/arm/mach-tegra/Kconfig | 2 ++ drivers/gpio/Kconfig | 7 +++++++ include/configs/tegra-common.h | 1 - 3 files changed, 9 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit e6bf0ca0e2ef8d87d754f788be1b9b5d58c01860 Author: Stephen Warren <swarren@nvidia.com> Date: 2016-05-12 12:07:40 -0600 ARM: tegra: fix naming in GPIO DT binding header According to the Tegra TRM, GPIOs are aggregated into /ports/ of 8 GPIOs, not into /banks/. Fix <dt-bindings/gpio/tegra-gpio.h> to correctly reflect this naming convention. While this seems like silly churn, it will become slightly more important once we introduce the GPIO binding for upcoming Tegra chips. This mirrors an identical commit in the Linux kernel. Signed-off-by: Stephen Warren <swarren@nvidia.com> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Warren <twarren@nvidia.com> Base directory -> / include/dt-bindings/gpio/tegra-gpio.h | 68 +++++++++++++++++------------------ 1 file changed, 34 insertions(+), 34 deletions(-) ------------------------------------------------------------------------------- commit 01a97a11db75c1a006da7b40d8ba4a325f05960c Author: Stephen Warren <swarren@nvidia.com> Date: 2016-05-12 12:07:39 -0600 ARM: tegra: use DT bindings for GPIO naming There are currently many places that define the list of all Tegra GPIOs; the DT binding header and custom Tegra-specific header file gpio.h. Fix the redundancy by replacing everything with the DT binding header file. Signed-off-by: Stephen Warren <swarren@nvidia.com> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Warren <twarren@nvidia.com> Base directory -> / arch/arm/include/asm/arch-tegra/gpio.h | 2 + arch/arm/include/asm/arch-tegra124/gpio.h | 259 --------------------- arch/arm/include/asm/arch-tegra20/gpio.h | 227 ------------------ arch/arm/include/asm/arch-tegra210/gpio.h | 259 --------------------- arch/arm/include/asm/arch-tegra30/gpio.h | 251 -------------------- board/avionic-design/common/tamonten-ng.c | 12 +- board/avionic-design/common/tamonten.c | 4 +- board/nvidia/cardhu/cardhu.c | 4 +- board/nvidia/e2220-1170/pinmux-config-e2220-1170.h | 120 +++++----- board/nvidia/jetson-tk1/pinmux-config-jetson-tk1.h | 104 ++++----- board/nvidia/nyan-big/nyan-big.c | 5 +- board/nvidia/nyan-big/pinmux-config-nyan-big.h | 96 ++++---- board/nvidia/p2371-0000/pinmux-config-p2371-0000.h | 102 ++++---- board/nvidia/p2371-2180/pinmux-config-p2371-2180.h | 124 +++++----- board/nvidia/p2571/p2571.c | 4 +- board/nvidia/p2571/pinmux-config-p2571.h | 52 ++--- board/nvidia/seaboard/seaboard.c | 4 +- board/nvidia/venice2/pinmux-config-venice2.h | 118 +++++----- board/toradex/colibri_t20/colibri_t20.c | 6 +- board/toradex/colibri_t30/colibri_t30.c | 6 +- 20 files changed, 383 insertions(+), 1376 deletions(-) ------------------------------------------------------------------------------- commit 9f8fa184fc1acb6fe8e15e3bbbfcb916e6bc4cc1 Author: Peng Fan <van.freenix@gmail.com> Date: 2016-05-19 13:02:16 +0800 imx: mx7: implement reset_misc We need to power down lcdif to make 'reset' can pass stress test. Signed-off-by: Peng Fan <van.freenix@gmail.com> Cc: Stefano Babic <sbabic@denx.de> Base directory -> / arch/arm/cpu/armv7/mx7/soc.c | 8 ++++++++ 1 file changed, 8 insertions(+) ------------------------------------------------------------------------------- commit cb82c38eff193d6b0685e26020109ca5cac9f0ea Author: Sebastien Bourdelin <sebastien.bourdelin@savoirfairelinux.com> Date: 2016-05-20 14:19:52 -0400 cosmetic: mx6slevk: Minor coding-style fix Fix the brace indentation in board_mmc_init(). Signed-off-by: Sebastien Bourdelin <sebastien.bourdelin@savoirfairelinux.com> Base directory -> / board/freescale/mx6slevk/mx6slevk.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) ------------------------------------------------------------------------------- commit 73f366bb5bec7c728dcfed51110818fa412dd878 Author: Peng Fan <van.freenix@gmail.com> Date: 2016-05-24 20:28:47 +0800 imx: mx6qsabreauto: drop duplicated net phy configuration In 'commit d584c68ce0f5bf2f430ccfb2ba00bd506206fb91', ar8031 is changed to use ar8035_config. ar8035_config actually does the same thing as mx6_rgmii_rework, so drop mx6_rgmii_rework and board_phy_config. Signed-off-by: Peng Fan <van.freenix@gmail.com> Cc: Fabio Estevam <fabio.estevam@nxp.com> Cc: Stefano Babic <sbabic@denx.de> Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com> Acked-by: Stefano Babic <sbabic@denx.de> Base directory -> / board/freescale/mx6qsabreauto/mx6qsabreauto.c | 33 --------------------------- 1 file changed, 33 deletions(-) ------------------------------------------------------------------------------- commit 34b080b79ccb59e144619179b4cd57a2f146f8d3 Author: Tim Harvey <tharvey@gateworks.com> Date: 2016-05-24 11:03:59 -0700 imx: ventana: add fdt fixup to enable UHS-I support on selected boards UHS-I support is available on Ventana boards with micro-SD sockets depending on the board revision. For backwards compatibility to not break users who have old bootloaders and newer kernels the device-tree on boards with microSD disables UHS-I support by default by defining the no-1-8-v property in the esdhc controller node. For models/revisions that support switchable 1.8V/3.3V I/O which is detectable by the presence of a pull-down on the SD3_VSELECT pin we remove that property to enable support in the kernel. Additionally we add SD3_VSELECT to the pinmux for clarity (even though U-Boot does not currently support UHS-I modes requiring 1.8V I/O). Signed-off-by: Tim Harvey <tharvey@gateworks.com> Base directory -> / board/gateworks/gw_ventana/common.c | 7 +++++++ board/gateworks/gw_ventana/common.h | 2 ++ board/gateworks/gw_ventana/gw_ventana.c | 26 ++++++++++++++++++++++++-- 3 files changed, 33 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit 385575bcb6013e8151fd98d80b8dc2b5bd732cfb Author: Tim Harvey <tharvey@gateworks.com> Date: 2016-05-24 11:03:58 -0700 imx: ventana: add GW553x support Signed-off-by: Tim Harvey <tharvey@gateworks.com> Base directory -> / board/gateworks/gw_ventana/common.c | 54 +++++++++++++++++++++++++++++ board/gateworks/gw_ventana/eeprom.c | 3 ++ board/gateworks/gw_ventana/gsc.c | 3 +- board/gateworks/gw_ventana/gw_ventana.c | 8 +++-- board/gateworks/gw_ventana/ventana_eeprom.h | 1 + 5 files changed, 66 insertions(+), 3 deletions(-) ------------------------------------------------------------------------------- commit fe63fcb6cafc1d5597b747dd673bf092f116b6d6 Author: Tim Harvey <tharvey@gateworks.com> Date: 2016-05-24 11:03:57 -0700 imx: ventana: remove several EEPROM config bit dependence Removed several EEPROM bit dependencies: - for dt aliases that don't exist and thus don't ever do anything (pcie,lvds1,uart*,vpu,csi*,hdmi_in,hdmi_out,cvbs_in,cvbs_out,gps) - for features that don't effect bus ordering or have no detrimental affect if erroneously enabled when not present (ahci,nand,i2c*) - for features that have little to no impact on being erroneously enabled but high impact if erroneously disabled (can*, spi*) - for features that have an high adverse affect of not being set when they should and no adverse affect of being set when they shouldn't (ipu*). Removing these means the following: - these no longer are supported with the econfig command - these no longer affect the device-tree in any way Signed-off-by: Tim Harvey <tharvey@gateworks.com> Base directory -> / board/gateworks/gw_ventana/eeprom.c | 31 ------------------------------- 1 file changed, 31 deletions(-) ------------------------------------------------------------------------------- commit 5c55572ff70d71b707e68b0fb811de27814626c0 Author: Tim Harvey <tharvey@gateworks.com> Date: 2016-05-24 11:03:56 -0700 imx: ventana: remove dependence on EECONFIG_SATA eeprom feature bit The MSATA feature is a board-specific feature on Gateworks Ventana boards. In most cases a 2:1 mux will steer either PCIe or SATA to a miniPCIe socket through an MSATA_EN gpio. In these such cases assign the gpio in the board specific struct and use its presence to determine if we default the GPIO to PCIe and if we later steer it according to hwconfig. Signed-off-by: Tim Harvey <tharvey@gateworks.com> Base directory -> / board/gateworks/gw_ventana/common.c | 32 +++++++++++++++++++++----------- board/gateworks/gw_ventana/common.h | 1 + 2 files changed, 22 insertions(+), 11 deletions(-) ------------------------------------------------------------------------------- commit f17a9af84645f5b820da2e7d017b014923ce1b88 Author: Tim Harvey <tharvey@gateworks.com> Date: 2016-05-24 11:03:55 -0700 imx: ventana: enable pwm device-tree property based on hwconfig Most Ventana boards have a connector with off-board digital-I/O signals including some that can be pinmuxed as either a PWM or a GPIO. The hwconfig env variable is used to configure these and they will be pinmuxed according to this configuration in the bootloader. This patch adds a device-tree fixup that will enable the pwm controller nodes appropriately for digital-I/O's that are configured as pwm via hwconfig so that the pin can be used with the Linux kernel /sys/class/pwm API. Signed-off-by: Tim Harvey <tharvey@gateworks.com> Base directory -> / board/gateworks/gw_ventana/common.c | 5 +++++ board/gateworks/gw_ventana/gw_ventana.c | 30 ++++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+) ------------------------------------------------------------------------------- commit 83e00f193e766337254c490c2b28118b75cc575a Author: Tim Harvey <tharvey@gateworks.com> Date: 2016-05-24 11:03:54 -0700 imx: ventana: fix invalid dio configuration for pwm mode Signed-off-by: Tim Harvey <tharvey@gateworks.com> Base directory -> / board/gateworks/gw_ventana/common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 78532623303e089e7d36b3a11d293e618b927655 Author: Tim Harvey <tharvey@gateworks.com> Date: 2016-05-24 11:03:53 -0700 imx: ventana: export backlight gpio after gpio driver is available Calling request_gpio to register bklt_gpio with the GPIO driver had no effect in setup_display called from early board init (although pinmuxing it and configuring it as output-low does do what it should). Therefore move the request_gpio later in enable_lvds so that its registered for use by the gpio command if LVDS is actually enabled. Signed-off-by: Tim Harvey <tharvey@gateworks.com> Base directory -> / board/gateworks/gw_ventana/gw_ventana.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit ca628b74c97f3a6620e6f18aad5f917d51c2cdda Author: Tim Harvey <tharvey@gateworks.com> Date: 2016-05-24 11:03:52 -0700 imx: ventana: gsc: show board temp on boot Signed-off-by: Tim Harvey <tharvey@gateworks.com> Base directory -> / board/gateworks/gw_ventana/gsc.c | 6 ++++++ 1 file changed, 6 insertions(+) ------------------------------------------------------------------------------- commit 82a17e75da0d812c2e583e733efd1e67e7488933 Author: Tim Harvey <tharvey@gateworks.com> Date: 2016-05-24 11:03:51 -0700 imx: ventana: gsc: fix negative temperature readings The GSC Temperature sensor is a 2's complement value - adjust accordingly for negative temperatures. Signed-off-by: Tim Harvey <tharvey@gateworks.com> Base directory -> / board/gateworks/gw_ventana/gsc.c | 2 ++ 1 file changed, 2 insertions(+) ------------------------------------------------------------------------------- commit efa7ed7236ee5bfab871f35ce70f3e3e1d39b4f6 Author: Tim Harvey <tharvey@gateworks.com> Date: 2016-05-24 11:03:50 -0700 imx: ventana: gsc: add gsc sleep command The Gateworks System Controller on Ventana boards has the ability to disable the board's primary power supply until the RTC hits a specific time. When sleeping a button-down event on the GSC user pushbutton will wake the board before it's wake time has been reached. This feature is referred to as GSC sleep. Add a command to invoke sleep mode for a specified number of seconds. Signed-off-by: Tim Harvey <tharvey@gateworks.com> Base directory -> / board/gateworks/gw_ventana/gsc.c | 46 +++++++++++++++++++++++++++++++++++++++- 1 file changed, 45 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 6052b1c6f4fadee751dd7c90a4148943f65ab7b0 Author: Tim Harvey <tharvey@gateworks.com> Date: 2016-05-24 11:03:49 -0700 imx: ventana: SPL: added support for 32bit IMX6DQ 8Gb density DRAM config Signed-off-by: Tim Harvey <tharvey@gateworks.com> Base directory -> / board/gateworks/gw_ventana/gw_ventana_spl.c | 32 +++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) ------------------------------------------------------------------------------- commit 1b99103fba8f75337d36701f05bb0f656d2ff729 Author: Tim Harvey <tharvey@gateworks.com> Date: 2016-05-24 11:03:48 -0700 imx: ventana: SPL: only disable boot watchdog if Falcon mode If not booting Falcon mode, leave the boot watchdog enabled as a work-around for other non-resolved bootloader hangs. Signed-off-by: Tim Harvey <tharvey@gateworks.com> Base directory -> / board/gateworks/gw_ventana/gw_ventana_spl.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) ------------------------------------------------------------------------------- commit 899f589bcd3e0f97efa07b112f0d1d5c419b72b5 Author: Tim Harvey <tharvey@gateworks.com> Date: 2016-05-24 11:03:47 -0700 imx: ventana: config: add PREBOOT support This allows the 'preboot' env variable to be executed prior to bootcmd if defined. Signed-off-by: Tim Harvey <tharvey@gateworks.com> Base directory -> / include/configs/gw_ventana.h | 1 + 1 file changed, 1 insertion(+) ------------------------------------------------------------------------------- commit 509870958dd18b18fd3d45dd69afb9c350964131 Author: Tim Harvey <tharvey@gateworks.com> Date: 2016-05-24 11:03:46 -0700 imx: ventana: config: use explicit addr in loadscript If we are loading a script to ${loadaddr} then we need to use that address explicitly when calling the source command in case user has changed loadaddr Signed-off-by: Tim Harvey <tharvey@gateworks.com> Base directory -> / include/configs/gw_ventana.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 543a4aba7fa88452e7749af5aad7e4b676901f57 Author: Tim Harvey <tharvey@gateworks.com> Date: 2016-05-24 11:03:45 -0700 imx: ventana: config: use fs env var for block dev filesystem type In order to make the default boot scripts more flexible, use the variable 'fs' to specify the filesystem type to use for block storage devices (USB/MMC/SATA) when loading files. Additionally default this to ext4 and enable ext4 filesystem support (which encompasses ext2 support) instead of just ext2 support. Signed-off-by: Tim Harvey <tharvey@gateworks.com> Base directory -> / include/configs/gw_ventana.h | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) ------------------------------------------------------------------------------- commit 1b7400011e62188734814df6b28e8d55f2bf752d Author: Tim Harvey <tharvey@gateworks.com> Date: 2016-05-24 11:03:44 -0700 imx: ventana: config: use bootdir env var for directory of fdt files In order to make the default boot scripts more flexible, use the variable 'bootdir' to specify the filesystem directory to look for fdt files in. Signed-off-by: Tim Harvey <tharvey@gateworks.com> Base directory -> / include/configs/gw_ventana.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) ------------------------------------------------------------------------------- commit 4df0bff3ce5c37ac27faed1fe90bf0cc0a741750 Author: Tim Harvey <tharvey@gateworks.com> Date: 2016-05-24 11:03:43 -0700 imx: ventana: config: add fixfdt script to apply manual fdt fixups Signed-off-by: Tim Harvey <tharvey@gateworks.com> Base directory -> / include/configs/gw_ventana.h | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) ------------------------------------------------------------------------------- commit 7698cdfddd1563bb7c625166a132f2d3c9526579 Author: Tim Harvey <tharvey@gateworks.com> Date: 2016-05-24 11:03:42 -0700 imx: ventana: config: add env vars for disk and part In order to make the default boot scripts more flexible, use the variable 'disk' to specify the disk device number and the variable 'part' to specify the partition number. Signed-off-by: Tim Harvey <tharvey@gateworks.com> Base directory -> / include/configs/gw_ventana.h | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) ------------------------------------------------------------------------------- commit da6e2fab5db000e31187aa4c9495c244011792c1 Author: Tom Rini <trini@konsulko.com> Date: 2016-05-31 10:26:14 -0400 Merge branch 'master' of git://git.denx.de/u-boot-mips Base directory -> / arch/mips/Kconfig | 40 + arch/mips/Makefile | 1 + arch/mips/config.mk | 5 +- arch/mips/cpu/u-boot-spl.lds | 90 +++ arch/mips/dts/ap121.dts | 5 + arch/mips/dts/ar933x.dtsi | 4 +- arch/mips/include/asm/cache.h | 7 + arch/mips/include/asm/io.h | 5 +- arch/mips/include/asm/u-boot-mips.h | 21 +- arch/mips/lib/cache.c | 79 +- arch/mips/lib/cache_init.S | 10 +- arch/mips/mach-ath79/ar933x/clk.c | 4 +- arch/mips/mach-ath79/ar933x/ddr.c | 4 +- arch/mips/mach-ath79/ar934x/clk.c | 6 +- arch/mips/mach-ath79/ar934x/ddr.c | 4 +- arch/mips/mach-ath79/include/mach/ar71xx_regs.h | 1 + arch/mips/mach-ath79/include/mach/ath79.h | 1 + arch/mips/mach-ath79/include/mach/reset.h | 14 - arch/mips/mach-ath79/qca953x/clk.c | 4 +- arch/mips/mach-ath79/qca953x/ddr.c | 4 +- arch/mips/mach-ath79/reset.c | 54 +- board/dbau1x00/Kconfig | 12 + board/imgtec/malta/Kconfig | 3 +- board/imgtec/malta/lowlevel_init.S | 13 +- board/micronas/vct/Kconfig | 12 + board/pb1x00/Kconfig | 12 + board/qca/ap121/Kconfig | 12 + board/qca/ap121/ap121.c | 2 + board/qca/ap143/Kconfig | 12 + board/qca/ap143/ap143.c | 2 + board/qemu-mips/Kconfig | 12 + board/tplink/wdr4300/Kconfig | 12 + configs/ap121_defconfig | 9 +- configs/malta64_defconfig | 16 + configs/malta64el_defconfig | 17 + drivers/net/Kconfig | 9 + drivers/net/Makefile | 1 + drivers/net/ag7xxx.c | 980 ++++++++++++++++++++++++ drivers/net/pcnet.c | 39 +- include/configs/ap121.h | 9 +- include/configs/ap143.h | 11 +- include/configs/dbau1x00.h | 7 - include/configs/malta.h | 18 +- include/configs/pb1x00.h | 6 - include/configs/pic32mzdask.h | 1 - include/configs/qemu-mips.h | 7 - include/configs/qemu-mips64.h | 7 - include/configs/tplink_wdr4300.h | 5 - include/configs/vct.h | 7 - 49 files changed, 1412 insertions(+), 204 deletions(-) ------------------------------------------------------------------------------- commit 653bb0d92eefb7255c88a8a251a3dbabec9345b6 Author: Tom Rini <trini@konsulko.com> Date: 2016-05-31 10:26:02 -0400 Merge git://www.denx.de/git/u-boot-marvell Base directory -> / board/spear/x600/x600.c | 80 ++++++++++++++++++++++++++++++++++------------ configs/clearfog_defconfig | 1 + configs/x600_defconfig | 1 + include/configs/x600.h | 2 ++ 4 files changed, 63 insertions(+), 21 deletions(-) ------------------------------------------------------------------------------- commit 14070e69ad6d01abf65c06150dc9302bca1b7973 Author: Andreas Fenkart <andreas.fenkart@digitalstrom.com> Date: 2016-05-31 09:21:56 +0200 tools/env: allow to pass NULL for environment options If users of the library are happy with the default, e.g. config file name. They can pass NULL as the opts pointer. This simplifies the transition of existing library users. FIXES a compile error. since common_args has been removed by a previous patch Signed-off-by: Andreas Fenkart <andreas.fenkart@digitalstrom.com> Base directory -> / tools/env/fw_env.c | 27 ++++++++++++++++++++++++--- 1 file changed, 24 insertions(+), 3 deletions(-) ------------------------------------------------------------------------------- commit 6f41751f4683aaf310b31b29c26e3da5f478dc07 Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-05-31 20:41:54 +0900 Revert "image.h: Tighten up content using handy CONFIG_IS_ENABLED() macro." This reverts commit 56adbb38727320375b2f695bd04600d766d8a1b3. Since commit 56adbb387273 ("image.h: Tighten up content using handy CONFIG_IS_ENABLED() macro."), I found my boards fail to boot Linux because the commit changed the logic of macros it touched. Now, IMAGE_ENABLE_RAMDISK_HIGH and IMAGE_BOOT_GET_CMDLINE are 0 for all the boards. As you can see in include/linux/kconfig.h, CONFIG_IS_ENABLE() (and IS_ENABLED() as well) can only take a macro that is either defined as 1 or undefined. This is met for boolean options defined in Kconfig. On the other hand, CONFIG_SYS_BOOT_RAMDISK_HIGH and CONFIG_SYS_BOOT_GET_CMDLINE are defined without any value in arch/*/include/asm/config.h . This kind of clean-up is welcome, but the options should be moved to Kconfig beforehand. Moreover, CONFIG_IS_ENABLED(SPL_CRC32_SUPPORT) looks weird. It should be either CONFIG_IS_ENABLED(CRC32_SUPPORT) or IS_ENABLED(CONFIG_SPL_CRC32_SUPPORT). But, I see no define for CONFIG_SPL_CRC32_SUPPORT anywhere. Likewise for the other three. The logic of IMAGE_OF_BOARD_SETUP and IMAGE_OF_SYSTEM_SETUP were also changed for SPL. This can be a problem for boards defining CONFIG_SPL_OF_LIBFDT. I guess it should have been changed to IS_ENABLED(CONFIG_OF_BOARD_SETUP). In the first place, if we replace the references in C code, the macros IMAGE_* will go away. if (IS_ENABLED(CONFIG_OF_BOARD_SETUP) { ... } Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Base directory -> / include/image.h | 69 +++++++++++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 57 insertions(+), 12 deletions(-) ------------------------------------------------------------------------------- commit f1b65c98b0a134ce92c38141b917fd3a210ee535 Author: Wills Wang <wills.wang@live.com> Date: 2016-05-30 22:54:55 +0800 mips: ath79: ap143: Reset ethernet on boot This patch reset the ethernet controller for ap143 board Signed-off-by: Wills Wang <wills.wang@live.com> Base directory -> / board/qca/ap143/ap143.c | 2 ++ 1 file changed, 2 insertions(+) ------------------------------------------------------------------------------- commit ca09e66b04cd2b80f95d5acc1cc7f61487034faf Author: Wills Wang <wills.wang@live.com> Date: 2016-05-30 22:54:54 +0800 mips: ath79: Use AR933X_PLL_SWITCH_CLOCK_CONTROL_REG macro define Add AR933X_PLL_SWITCH_CLOCK_CONTROL_REG define for ar933x chip. Signed-off-by: Wills Wang <wills.wang@live.com> Base directory -> / arch/mips/mach-ath79/include/mach/ar71xx_regs.h | 1 + arch/mips/mach-ath79/reset.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit cdeb68e292358f9dedeaea167f6eba894c58823e Author: Wills Wang <wills.wang@live.com> Date: 2016-05-30 22:54:53 +0800 mips: ath79: Add support for ungating USB and ethernet on qca953x Add code to ungate USB and ethernet controller on qca953x Signed-off-by: Wills Wang <wills.wang@live.com> Base directory -> / arch/mips/mach-ath79/reset.c | 50 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) ------------------------------------------------------------------------------- commit ad5b48abfe7729d7e0eefcea8693d879af9915b7 Author: Wills Wang <wills.wang@live.com> Date: 2016-05-30 22:54:52 +0800 mips: ath79: Use 8MB flash profile for mtd partition by default Change bootm flash address and mtd partition table for 8MB flash profile. Signed-off-by: Wills Wang <wills.wang@live.com> Base directory -> / include/configs/ap121.h | 4 ++-- include/configs/ap143.h | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) ------------------------------------------------------------------------------- commit 04583c686e61e6883158549603d60741ebf249fe Author: Wills Wang <wills.wang@live.com> Date: 2016-05-30 22:54:51 +0800 mips: ath79: ap121: Enable ethernet This patch enable network function for ap121 board. Signed-off-by: Wills Wang <wills.wang@live.com> Acked-by: Marek Vasut <marex@denx.de> Base directory -> / arch/mips/dts/ap121.dts | 5 +++++ arch/mips/dts/ar933x.dtsi | 4 ++-- board/qca/ap121/ap121.c | 2 ++ configs/ap121_defconfig | 9 +++++++-- 4 files changed, 16 insertions(+), 4 deletions(-) ------------------------------------------------------------------------------- commit 375239174c6bc6a9966db333fa79f578154828f5 Author: Wills Wang <wills.wang@live.com> Date: 2016-05-30 22:54:50 +0800 mips: ath79: Rename get_bootstrap into ath79_get_bootstrap Add a platform prefix for function name in order to make more readable, and move it into ath79.h Signed-off-by: Wills Wang <wills.wang@live.com> Acked-by: Marek Vasut <marex@denx.de> Base directory -> / arch/mips/mach-ath79/ar933x/clk.c | 4 ++-- arch/mips/mach-ath79/ar933x/ddr.c | 4 ++-- arch/mips/mach-ath79/ar934x/clk.c | 6 +++--- arch/mips/mach-ath79/ar934x/ddr.c | 4 ++-- arch/mips/mach-ath79/include/mach/ath79.h | 1 + arch/mips/mach-ath79/include/mach/reset.h | 14 -------------- arch/mips/mach-ath79/qca953x/clk.c | 4 ++-- arch/mips/mach-ath79/qca953x/ddr.c | 4 ++-- arch/mips/mach-ath79/reset.c | 2 +- 9 files changed, 15 insertions(+), 28 deletions(-) ------------------------------------------------------------------------------- commit d58de3157e3d04ebbf8e928cff9bfc2b3be22ad7 Author: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> Date: 2016-05-30 13:00:21 +0200 MIPS: malta: add defconfigs for MIPS64 Add defconfigs for recently introduced MIPS64 support on Malta boards to get more build coverage for MIPS64. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> Base directory -> / configs/malta64_defconfig | 16 ++++++++++++++++ configs/malta64el_defconfig | 17 +++++++++++++++++ 2 files changed, 33 insertions(+) ------------------------------------------------------------------------------- commit fb64cda579985e21610672eae44faf40eadd71ea Author: Paul Burton <paul.burton@imgtec.com> Date: 2016-05-27 14:28:06 +0100 MIPS: Abstract cache op loops with a macro The various cache maintenance routines perform a number of loops over cache lines. Rather than duplicate the code for performing such loops, abstract it out into a new cache_loop macro which performs an arbitrary number of cache ops on a range of addresses. This reduces duplication in the existing L1 cache maintenance code & will allow for not adding further duplication when introducing L2 cache support. Signed-off-by: Paul Burton <paul.burton@imgtec.com> Base directory -> / arch/mips/lib/cache.c | 59 ++++++++++++++++----------------------------------- 1 file changed, 18 insertions(+), 41 deletions(-) ------------------------------------------------------------------------------- commit 372286217f050bfd57695001d59f618c52822f40 Author: Paul Burton <paul.burton@imgtec.com> Date: 2016-05-27 14:28:05 +0100 MIPS: Split I & D cache line size config Allow L1 Icache & L1 Dcache line size to be specified separately, since there's no architectural mandate that they be the same. The [id]cache_line_size functions are tidied up to take advantage of the fact that the Kconfig entries are always present to simply check them for zero rather than needing to #ifdef on their presence. Signed-off-by: Paul Burton <paul.burton@imgtec.com> [removed CONFIG_SYS_CACHELINE_SIZE in include/configs/pic32mzdask.h] Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> Base directory -> / arch/mips/Kconfig | 12 +++++++++--- arch/mips/include/asm/cache.h | 7 +++++++ arch/mips/lib/cache.c | 22 +++++++--------------- arch/mips/lib/cache_init.S | 4 ++-- board/dbau1x00/Kconfig | 5 ++++- board/micronas/vct/Kconfig | 5 ++++- board/pb1x00/Kconfig | 5 ++++- board/qca/ap121/Kconfig | 5 ++++- board/qca/ap143/Kconfig | 5 ++++- board/qemu-mips/Kconfig | 5 ++++- board/tplink/wdr4300/Kconfig | 5 ++++- include/configs/pic32mzdask.h | 1 - 12 files changed, 53 insertions(+), 28 deletions(-) ------------------------------------------------------------------------------- commit ace3be4f15875d74344336b9754c14274f940969 Author: Paul Burton <paul.burton@imgtec.com> Date: 2016-05-27 14:28:04 +0100 MIPS: Move cache sizes to Kconfig Move details of the L1 cache line sizes & total sizes into Kconfig, defaulting to 0. A new CONFIG_SYS_CACHE_SIZE_AUTO Kconfig entry is introduced to allow platforms to select auto-detection of cache sizes, and it defaults to being enabled if none of the cache sizes are set by the configuration (ie. sizes are all the default 0), and code is adjusted to #ifdef on that rather than on the definition of the sizes (which will always be defined even if 0). Signed-off-by: Paul Burton <paul.burton@imgtec.com> Base directory -> / arch/mips/Kconfig | 28 ++++++++++++++++++++++++++++ arch/mips/lib/cache.c | 2 +- arch/mips/lib/cache_init.S | 6 +++--- board/dbau1x00/Kconfig | 9 +++++++++ board/micronas/vct/Kconfig | 9 +++++++++ board/pb1x00/Kconfig | 9 +++++++++ board/qca/ap121/Kconfig | 9 +++++++++ board/qca/ap143/Kconfig | 9 +++++++++ board/qemu-mips/Kconfig | 9 +++++++++ board/tplink/wdr4300/Kconfig | 9 +++++++++ include/configs/ap121.h | 5 ----- include/configs/ap143.h | 5 ----- include/configs/dbau1x00.h | 7 ------- include/configs/pb1x00.h | 6 ------ include/configs/qemu-mips.h | 7 ------- include/configs/qemu-mips64.h | 7 ------- include/configs/tplink_wdr4300.h | 5 ----- include/configs/vct.h | 7 ------- 18 files changed, 95 insertions(+), 53 deletions(-) ------------------------------------------------------------------------------- commit 83b0face8c710f719445f3c282c2ca6fad326bd7 Author: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> Date: 2016-05-27 15:31:34 +0200 MIPS: remove dead code from asm/u-boot-mips.h Those wrappers for linker symbols were once used in the MIPS specific board.c implementation. Since the migration to generic board.c, those wrappers are dead code and can be removed. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> Base directory -> / arch/mips/include/asm/u-boot-mips.h | 21 +++------------------ 1 file changed, 3 insertions(+), 18 deletions(-) ------------------------------------------------------------------------------- commit e40095f63b4bc0edd747c7f104d3e54db61e7d3d Author: Marek Vasut <marex@denx.de> Date: 2016-05-24 23:29:09 +0200 net: Add ag7xxx driver for Atheros MIPS Add ethernet driver for the AR933x and AR934x Atheros MIPS machines. The driver could be easily extended to other WiSoCs. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> Cc: Joe Hershberger <joe.hershberger@ni.com> Cc: Wills Wang <wills.wang@live.com> [fixed Kconfig dependency] Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> Base directory -> / drivers/net/Kconfig | 9 + drivers/net/Makefile | 1 + drivers/net/ag7xxx.c | 980 +++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 990 insertions(+) ------------------------------------------------------------------------------- commit 5f9cc363ed9b68245cacc6408c793f150992f4d9 Author: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> Date: 2016-05-27 15:39:39 +0200 MIPS: add tune for MIPS 34kc Add tune Kconfig option for MIPS 34kc. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> Base directory -> / arch/mips/Kconfig | 3 +++ arch/mips/Makefile | 1 + 2 files changed, 4 insertions(+) ------------------------------------------------------------------------------- commit 07f5b966aa2a4fe3a9bed8e90103cb0fe83c8748 Author: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> Date: 2016-05-26 15:28:38 +0200 MIPS: provide a default u-boot-spl.lds Provide a default linker script for SPL binaries. Start address and size of text section and BSS section are configurable. All sections are arranged in a way that only relevant sections are kept in the code section for maximum size reduction. All other sections are kept but moved outside the code section to help with debugging. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> Acked-by: Marek Vasut <marex@denx.de> Base directory -> / arch/mips/config.mk | 5 ++- arch/mips/cpu/u-boot-spl.lds | 90 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 93 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit 0f832b9cdcbe8a024b53c585622d70129652d20b Author: Paul Burton <paul.burton@imgtec.com> Date: 2016-05-26 14:49:36 +0100 malta: Allow MIPS64 builds Both real Malta boards & emulators that mimic Malta (eg. QEMU) can support MIPS64 CPUs. Allow MIPS64 builds of U-Boot for such boards, which enables the user to make use of the whole 64 bit address space. Signed-off-by: Paul Burton <paul.burton@imgtec.com> Base directory -> / arch/mips/Kconfig | 3 +++ board/imgtec/malta/Kconfig | 3 ++- board/imgtec/malta/lowlevel_init.S | 13 +++++++------ include/configs/malta.h | 18 +++++++++++++----- 4 files changed, 25 insertions(+), 12 deletions(-) ------------------------------------------------------------------------------- commit bed1ca322da9b597aa59723a02a1dd647bf8bde4 Author: Paul Burton <paul.burton@imgtec.com> Date: 2016-05-26 17:32:29 +0100 net: pcnet: Fix init on big endian 64 bit If dev->iobase is 64 bits wide then writing the value of the BAR into a pointer to iobase will not work on big endian systems, where the BAR value will incorrectly get written to the upper 32 bits of the 64 bit variable. Fix this by reading the BAR into a u32, matching the type expected by pci_read_config_dword. Signed-off-by: Paul Burton <paul.burton@imgtec.com> Base directory -> / drivers/net/pcnet.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) ------------------------------------------------------------------------------- commit 442d2e0149c4f3f2dadcf6ebc28b58d317fc5aa0 Author: Paul Burton <paul.burton@imgtec.com> Date: 2016-05-26 14:49:35 +0100 net: pcnet: Make 64 bit safe Fix the pcnet driver to build safely on 64 bit platforms, in preparation for allowing MIPS64 builds for Malta boards. Signed-off-by: Paul Burton <paul.burton@imgtec.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com> Base directory -> / drivers/net/pcnet.c | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) ------------------------------------------------------------------------------- commit 4677d665a7cba420597dd46606735f86416ce552 Author: Paul Burton <paul.burton@imgtec.com> Date: 2016-05-26 14:49:34 +0100 net: pcnet: Stop converting kseg1->kseg0 addresses Now that MIPS virt_to_phys can handle kseg1 addresses on MIPS32, stop manually converting addresses to their kseg0 equivalents in the pcnet driver. Signed-off-by: Paul Burton <paul.burton@imgtec.com> Base directory -> / drivers/net/pcnet.c | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) ------------------------------------------------------------------------------- commit 2e4cc1c5d4fabee86fc2985fac18f9a2023e39f8 Author: Paul Burton <paul.burton@imgtec.com> Date: 2016-05-26 14:49:33 +0100 MIPS: Use CPHYSADDR to implement mips32 virt_to_phys Use CPHYSADDR to implement the virt_to_phys function for converting from a virtual to a physical address for MIPS32, much as is already done for MIPS64. This allows for virt_to_phys to work regardless of whether the address being translated is in kseg0 or kseg1, unlike the previous subtraction based approach which only worked for addresses in kseg0. This allows for drivers to provide an address to virt_to_phys without needing to manually ensure that kseg1 addresses are converted to equivalent kseg0 addresses first. This patch is equivalent to this Linux patch currently waiting to be reviewed & merged: https://patchwork.linux-mips.org/patch/12564/ Signed-off-by: Paul Burton <paul.burton@imgtec.com> Base directory -> / arch/mips/include/asm/io.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) ------------------------------------------------------------------------------- commit e084fd922f7483d591c623823452fff7879c9d71 Author: Stefan Roese <sr@denx.de> Date: 2016-04-27 09:10:43 +0200 arm: spear: x600: Remove EFI support to reduce image size EFI is not needed on x600. So lets remove the EFI support to make it fit into the 0x60000 image size limit again. Signed-off-by: Stefan Roese <sr@denx.de> Base directory -> / configs/x600_defconfig | 1 + 1 file changed, 1 insertion(+) ------------------------------------------------------------------------------- commit f7c32e8ece7fefd950382a7522aff9939a218b91 Author: Stefan Roese <sr@denx.de> Date: 2016-04-27 09:10:42 +0200 arm: spear: x600: Add support for Micrel KSZ9031 PHY As the old ethernet PHY is not available any more, the x600 board has been redesigned with the Micrel KSZ9031 PHY. This patch adds support to autodetect the PHY and configure the Micrel PHY correctly. Signed-off-by: Stefan Roese <sr@denx.de> Base directory -> / board/spear/x600/x600.c | 80 ++++++++++++++++++++++++++++++++++++------------- include/configs/x600.h | 2 ++ 2 files changed, 61 insertions(+), 21 deletions(-) ------------------------------------------------------------------------------- commit 452b3813f99538ebd54407e911733c4b26efd1a4 Author: Peter Robinson <pbrobinson@gmail.com> Date: 2016-05-26 09:48:24 +0100 clearfog: add HUSH parser In the big move of CONFIG_HUSH_PARSER to config files the clearfog somehow missed out. Signed-off-by: Peter Robinson <pbrobinson@gmail.com> Signed-off-by: Stefan Roese <sr@denx.de> Base directory -> / configs/clearfog_defconfig | 1 + 1 file changed, 1 insertion(+) ------------------------------------------------------------------------------- commit f3c264f9de6a5727c90ecf6d46d4747091c0a57f Author: Tom Rini <trini@konsulko.com> Date: 2016-05-30 13:56:26 -0400 Merge branch 'master' of git://git.denx.de/u-boot-x86 Base directory -> / arch/x86/cpu/baytrail/acpi.c | 2 +- arch/x86/cpu/quark/Makefile | 1 + arch/x86/cpu/quark/acpi.c | 163 +++++++ arch/x86/include/asm/acpi/irq_helper.h | 111 +++++ arch/x86/include/asm/acpi/irqlinks.asl | 486 ++++++++++++++++++++ arch/x86/include/asm/acpi/irqroute.asl | 48 ++ .../include/asm/arch-baytrail/acpi/irq_helper.h | 111 ----- .../include/asm/arch-baytrail/acpi/irqlinks.asl | 493 --------------------- .../include/asm/arch-baytrail/acpi/irqroute.asl | 48 -- arch/x86/include/asm/arch-baytrail/acpi/lpc.asl | 23 +- .../asm/arch-baytrail/acpi/southcluster.asl | 2 +- arch/x86/include/asm/arch-quark/acpi/irqroute.h | 15 + arch/x86/include/asm/arch-quark/acpi/lpc.asl | 125 ++++++ arch/x86/include/asm/arch-quark/acpi/platform.asl | 33 ++ .../include/asm/arch-quark/acpi/sleepstates.asl | 10 + .../include/asm/arch-quark/acpi/southcluster.asl | 184 ++++++++ arch/x86/include/asm/arch-quark/device.h | 21 +- arch/x86/include/asm/arch-quark/iomap.h | 47 ++ arch/x86/include/asm/arch-quark/irq.h | 19 + board/intel/galileo/.gitignore | 3 + board/intel/galileo/Makefile | 1 + board/intel/galileo/acpi/mainboard.asl | 11 + board/intel/galileo/dsdt.asl | 14 + configs/galileo_defconfig | 1 + doc/README.x86 | 5 +- scripts/Makefile.lib | 2 +- 26 files changed, 1316 insertions(+), 663 deletions(-) ------------------------------------------------------------------------------- commit d3d664725b4a05cf32d905ff806b44bb01fa61c0 Author: Bin Meng <bmeng.cn@gmail.com> Date: 2016-05-25 19:19:13 -0700 x86: baytrail: acpi: Fix I/O APIC ID in the MADT table So far this is hardcoded to 2, but it should really be read from the I/O APIC register. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/x86/cpu/baytrail/acpi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit e6ddb6b0135949e67bf5face7bdff522e493e1e2 Author: Bin Meng <bmeng.cn@gmail.com> Date: 2016-05-25 19:19:12 -0700 x86: galileo: Enable ACPI table generation Enable ACPI table generation by creating a DSDT table. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / board/intel/galileo/.gitignore | 3 +++ board/intel/galileo/Makefile | 1 + board/intel/galileo/acpi/mainboard.asl | 11 +++++++++++ board/intel/galileo/dsdt.asl | 14 ++++++++++++++ configs/galileo_defconfig | 1 + doc/README.x86 | 5 ++++- 6 files changed, 34 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 7ee371063f3cf779740bb35e0c31dc04fc132e9b Author: Bin Meng <bmeng.cn@gmail.com> Date: 2016-05-25 19:19:11 -0700 x86: quark: Generate ACPI FADT/MADT tables Generate quark platform-specific FADT/MADT tables. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/x86/cpu/quark/Makefile | 1 + arch/x86/cpu/quark/acpi.c | 163 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 164 insertions(+) ------------------------------------------------------------------------------- commit 48cf8b834603253440496a2356d192f8e4138d14 Author: Bin Meng <bmeng.cn@gmail.com> Date: 2016-05-25 19:19:10 -0700 x86: quark: Add platform ASL files This adds basic quark platform ASL files. They are intended to be included in dsdt.asl of any board that is based on this platform. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/x86/include/asm/arch-quark/acpi/irqroute.h | 15 ++ arch/x86/include/asm/arch-quark/acpi/lpc.asl | 125 ++++++++++++++ arch/x86/include/asm/arch-quark/acpi/platform.asl | 33 ++++ .../include/asm/arch-quark/acpi/sleepstates.asl | 10 ++ .../include/asm/arch-quark/acpi/southcluster.asl | 184 +++++++++++++++++++++ arch/x86/include/asm/arch-quark/iomap.h | 47 ++++++ arch/x86/include/asm/arch-quark/irq.h | 19 +++ 7 files changed, 433 insertions(+) ------------------------------------------------------------------------------- commit ec3791322159accacb06213a660a63b9ffb84f31 Author: Bin Meng <bmeng.cn@gmail.com> Date: 2016-05-25 19:19:09 -0700 x86: quark: Prepare device.h for inclusion by ASL There is a device.h for quark on-chip devices, mainly for definitions of internal PCI device numbers, but it's not ready to be included by ASL files. Update to use hex numbers for PCI dev and __ASSEMBLY__. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/x86/include/asm/arch-quark/device.h | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) ------------------------------------------------------------------------------- commit 6683584c08cd58ed88a6b60d613bca9086bf8fab Author: Bin Meng <bmeng.cn@gmail.com> Date: 2016-05-25 19:19:08 -0700 acpi: Pass -D__ASSEMBLY__ when compiling ASL files ASL files may include various U-Boot header files, but IASL compiler does not understand any C language embedded in these header files. To reuse those header files for ASL compiling, use __ASSEMBLY__ in the header files to exclude everything that is not liked by IASL. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / scripts/Makefile.lib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 3498cc9775e255875ae30ecfb4e29ea1220923a3 Author: Bin Meng <bmeng.cn@gmail.com> Date: 2016-05-25 19:19:07 -0700 x86: acpi: Make irqroute.asl common The irqroute.asl file is already common enough to all x86 platforms. Platform ASL files need only provide a irqroute.h to describe how internal PCI devices and PCIe downstream port devices' INTx pins are routed to which PIRQ pin. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/x86/include/asm/acpi/irq_helper.h | 111 +++++++++++++++++++++ arch/x86/include/asm/acpi/irqroute.asl | 48 +++++++++ .../include/asm/arch-baytrail/acpi/irq_helper.h | 111 --------------------- .../include/asm/arch-baytrail/acpi/irqroute.asl | 48 --------- .../asm/arch-baytrail/acpi/southcluster.asl | 2 +- 5 files changed, 160 insertions(+), 160 deletions(-) ------------------------------------------------------------------------------- commit 0d71511a2ae03aeb3794a0461bd8c14752438c7f Author: Bin Meng <bmeng.cn@gmail.com> Date: 2016-05-25 19:19:06 -0700 x86: acpi: Create a common irqlinks ASL file Move the irqlinks.asl file currently in the BayTrail directory to a common place to be shared among all x86 platforms. As the PIRQ routing control programming interface is common to Intel chipsets, leave the common part in the common file, and move the platform specific part to the platform files. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/x86/include/asm/acpi/irqlinks.asl | 486 ++++++++++++++++++++ .../include/asm/arch-baytrail/acpi/irqlinks.asl | 493 --------------------- arch/x86/include/asm/arch-baytrail/acpi/lpc.asl | 23 +- 3 files changed, 508 insertions(+), 494 deletions(-) ------------------------------------------------------------------------------- commit e4a94ce4ac77396b181663c0493c50bc2d5b9143 Author: Tom Rini <trini@konsulko.com> Date: 2016-05-27 15:49:43 -0400 Merge git://git.denx.de/u-boot-dm For odroid-c2 (arch-meson) for now disable designware eth as meson now needs to do some harder GPIO work. Signed-off-by: Tom Rini <trini@konsulko.com> Conflicts: lib/efi_loader/efi_disk.c Modified: configs/odroid-c2_defconfig Base directory -> / arch/arm/lib/Makefile | 2 +- arch/arm/mach-rockchip/Kconfig | 3 + arch/arm/mach-rockchip/rk3036/reset_rk3036.c | 20 ++-- arch/arm/mach-rockchip/rk3288/reset_rk3288.c | 20 ++-- arch/arm/mach-snapdragon/reset.c | 18 ++-- arch/sandbox/cpu/state.c | 4 +- arch/sandbox/dts/test.dts | 11 ++ arch/sandbox/include/asm/mbox.h | 21 ++++ arch/sandbox/include/asm/state.h | 6 +- cmd/mmc.c | 62 ----------- common/env_mmc.c | 8 +- common/spl/spl_mmc.c | 9 +- configs/chromebook_jerry_defconfig | 2 +- configs/dragonboard410c_defconfig | 2 +- configs/evb-rk3036_defconfig | 2 +- configs/firefly-rk3288_defconfig | 4 +- configs/kylin-rk3036_defconfig | 2 +- configs/odroid-c2_defconfig | 1 - configs/rock2_defconfig | 2 +- configs/sandbox_defconfig | 5 +- configs/sandbox_noblk_defconfig | 2 +- doc/device-tree-bindings/mailbox/mailbox.txt | 32 ++++++ doc/driver-model/README.txt | 23 +++-- drivers/Kconfig | 2 + drivers/Makefile | 1 + drivers/clk/clk_rk3036.c | 2 +- drivers/clk/clk_rk3288.c | 2 +- drivers/core/device.c | 25 ++++- drivers/core/lists.c | 4 +- drivers/gpio/sunxi_gpio.c | 90 +++++++++------- drivers/mailbox/Kconfig | 20 ++++ drivers/mailbox/Makefile | 7 ++ drivers/mailbox/mailbox-uclass.c | 145 ++++++++++++++++++++++++++ drivers/mailbox/sandbox-mbox-test.c | 54 ++++++++++ drivers/mailbox/sandbox-mbox.c | 104 +++++++++++++++++++ drivers/misc/Kconfig | 10 +- drivers/misc/Makefile | 4 +- drivers/misc/reset-uclass.c | 81 --------------- drivers/misc/reset_sandbox.c | 100 ------------------ drivers/misc/sysreset-uclass.c | 81 +++++++++++++++ drivers/misc/sysreset_sandbox.c | 101 ++++++++++++++++++ drivers/mmc/dw_mmc.c | 42 +++++--- drivers/mmc/mmc.c | 13 +-- drivers/mmc/mmc_private.h | 14 +++ drivers/mmc/rockchip_dw_mmc.c | 31 ++++++ drivers/mmc/sdhci.c | 2 +- drivers/video/rockchip/rk_vop.c | 1 + include/configs/rk3288_common.h | 1 - include/configs/rpi.h | 1 + include/dm/device-internal.h | 24 +++++ include/dm/uclass-id.h | 3 +- include/dwmmc.h | 7 +- include/efi_loader.h | 2 +- include/mailbox_client.h | 149 +++++++++++++++++++++++++++ include/mailbox_uclass.h | 83 +++++++++++++++ include/mmc.h | 5 - include/reset.h | 71 ------------- include/sysreset.h | 71 +++++++++++++ lib/efi_loader/efi_disk.c | 66 ++++++++---- lib/tiny-printf.c | 43 ++++++-- test/dm/Makefile | 3 +- test/dm/mailbox.c | 31 ++++++ test/dm/reset.c | 74 ------------- test/dm/sysreset.c | 74 +++++++++++++ tools/rkimage.c | 7 +- 65 files changed, 1337 insertions(+), 575 deletions(-) ------------------------------------------------------------------------------- commit 378f9134eba4665ea94a63653393d25418665fda Author: Tom Rini <trini@konsulko.com> Date: 2016-05-27 15:48:53 -0400 Merge git://git.denx.de/u-boot-rockchip Base directory -> / arch/arm/dts/rk3288-firefly.dtsi | 16 ++++++ arch/arm/dts/rk3288-rock2-square.dts | 2 +- arch/arm/include/asm/arch-rockchip/cru_rk3288.h | 17 ++++++ arch/arm/include/asm/arch-rockchip/grf_rk3288.h | 53 +++++++++++++++++ drivers/clk/clk_rk3288.c | 14 +++++ drivers/net/designware.c | 76 +++++++++++++++++++++++-- drivers/net/designware.h | 10 ++++ drivers/pinctrl/rockchip/pinctrl_rk3288.c | 2 +- 8 files changed, 182 insertions(+), 8 deletions(-) ------------------------------------------------------------------------------- commit 9b77b19178446393fce2e74554815c17454f8da8 Author: Lokesh Vutla <lokeshvutla@ti.com> Date: 2016-05-23 13:31:19 +0530 ARM: OMAP4+: Fix DPLL programming sequence All the output clock parameters of a DPLL needs to be programmed before locking the DPLL. But it is being configured after locking the DPLL which could potentially bypass DPLL. So fixing this sequence. Reported-by: Richard Woodruff <r-woodruff2@ti.com> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> Reviewed-by: Nishanth Menon <nm@ti.com> Base directory -> / arch/arm/cpu/armv7/omap-common/clocks-common.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) ------------------------------------------------------------------------------- commit 87c2f76f3fae11bf559996505e23b37d03f4c5dc Author: Robert P. J. Day <rpjday@crashcourse.ca> Date: 2016-05-22 05:46:05 -0400 tools: Add entry for generated tools/bin2header to tools/.gitignore Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Base directory -> / tools/.gitignore | 1 + 1 file changed, 1 insertion(+) ------------------------------------------------------------------------------- commit d339df522beb6d9268231069fd9e1d3e73af49ed Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-05-22 15:16:47 +0900 tools/genboardscfg.py: remove bogus import subprocess Since f6c8f38ec601 ("tools/genboardscfg.py: improve performance more with Kconfiglib"), this tool does not use the subprocess module. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Base directory -> / tools/genboardscfg.py | 1 - 1 file changed, 1 deletion(-) ------------------------------------------------------------------------------- commit 56adbb38727320375b2f695bd04600d766d8a1b3 Author: Robert P. J. Day <rpjday@crashcourse.ca> Date: 2016-05-21 05:06:31 -0400 image.h: Tighten up content using handy CONFIG_IS_ENABLED() macro. In order for CONFIG_IS_ENABLED(FOO) to work we need to move the changes that CONFIG_FIT_DISABLE_SHA256 makes to be prior to the evaluation by CONFIG_IS_ENABLED(foo) Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> [trini: Move CONFIG_FIT_DISABLE_SHA256 parts to fix build breakage] Signed-off-by: Tom Rini <trini@konsulko.com> Base directory -> / include/image.h | 69 ++++++++++----------------------------------------------- 1 file changed, 12 insertions(+), 57 deletions(-) ------------------------------------------------------------------------------- commit ba9eb6c7eb3490f72f07bc712f7196fb4e0fe80c Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-05-17 16:38:08 +0900 arm64: rename __asm_flush_dcache_level to __asm_dcache_level Since 1e6ad55c0582 ("armv8/cache: Change cache invalidate and flush function"), this routine can be used for both cache flushing and cache invalidation. So, it is better to not include "flush" in this routine name. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Base directory -> / arch/arm/cpu/armv8/cache.S | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) ------------------------------------------------------------------------------- commit 1a021230d37d4f87ec0ca9f4103b582e415f1b76 Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-05-17 16:38:07 +0900 arm64: fix comment "flush & invalidate" We should say "clean & invalidate", or simply "flush". Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Base directory -> / arch/arm/cpu/armv8/cache.S | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit 25828588412c1f951d72e1eda9e4320d422b7be5 Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-05-17 16:38:06 +0900 arm64: optimize __asm_{flush, invalidate}_dcache_all __asm_dcache_all can directly return to the caller of __asm_{flush,invalidate}_dcache_all. We do not have to waste x16 register here. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / arch/arm/cpu/armv8/cache.S | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) ------------------------------------------------------------------------------- commit 3d16389c909657a5fd1017e771ce5acf8aed6189 Author: Lokesh Vutla <lokeshvutla@ti.com> Date: 2016-05-16 11:47:29 +0530 board: am335x: Allow to choose serial device dynamically Different AM335x based platforms have different serial consoles. As serial console is Kconfig option a separate defconfig has to be created for each platform. So pass the serial device dynamically. Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> Base directory -> / board/ti/am335x/board.c | 11 +++++++++++ include/serial.h | 4 ++++ 2 files changed, 15 insertions(+) ------------------------------------------------------------------------------- commit 73ec6960591c57838694ab4056b33438cd2b42c9 Author: Lokesh Vutla <lokeshvutla@ti.com> Date: 2016-05-16 11:47:28 +0530 ARM: dts: AM335x-ICEv2: Add minimal dts support Add minimal dts support for AM335x-ICEv2 board Reviewed-by: Tom Rini <trini@konsulko.com> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> Signed-off-by: Roger Quadros <rogerq@ti.com> Base directory -> / arch/arm/dts/Makefile | 3 +- arch/arm/dts/am335x-icev2.dts | 430 ++++++++++++++++++++++++++++++++++++++++++ board/ti/am335x/board.c | 2 + configs/am335x_evm_defconfig | 2 +- 4 files changed, 435 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit 426af3848fdd383e0cb141142b3f0d9a7edb334e Author: Lokesh Vutla <lokeshvutla@ti.com> Date: 2016-05-16 11:47:27 +0530 config: env: Set AM335x-ICEv2 board specific env Populate the right dtb file and console for AM335x-ICEv2 board. Reviewed-by: Tom Rini <trini@konsulko.com> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> Base directory -> / include/configs/am335x_evm.h | 9 +++++++++ 1 file changed, 9 insertions(+) ------------------------------------------------------------------------------- commit 97f3a178b2a3d5a7767cb6cb15ba9c40ba804ebb Author: Lokesh Vutla <lokeshvutla@ti.com> Date: 2016-05-16 11:47:26 +0530 board: AM335x-ICEv2: Add cpsw support In order to enable cpsw on AM335x ICEv2 board, the following needs to be done: 1)There are few on board jumper settings which gives a choice between cpsw and PRUSS, that needs to be properly selected[1]. Even after selecting this, there are few GPIOs which control these muxes that needs to be held high. 2) The clock to PHY is provided by a PLL-based clock synthesizer[2] connected via I2C. This needs to properly programmed and locked for PHY operation. And PHY needs to be reset before before being used, which is also held by a GPIO. 3) RMII mode needs to be selected. [1] http://www.ti.com/lit/zip/tidr336 [2] http://www.ti.com/lit/ds/symlink/cdce913.pdf Reviewed-by: Tom Rini <trini@konsulko.com> Acked-by: Mugunthan V N <mugunthanvnm@ti.com> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> Base directory -> / board/ti/am335x/board.c | 87 ++++++++++++++++++++++++++++++++++++++++---- include/configs/am335x_evm.h | 5 +++ 2 files changed, 85 insertions(+), 7 deletions(-) ------------------------------------------------------------------------------- commit 3164f3c68941a1665090bca903d56754ac36f89d Author: Lokesh Vutla <lokeshvutla@ti.com> Date: 2016-05-16 11:47:25 +0530 ARM: AM33xx: Add support for Clock Synthesizer The CDCE913 and CDCEL913 devices are modular PLL-based, low cost, high performance , programmable clock synthesizers. They generate upto 3 output clocks from a single input frequency. Each output can be programmed for any clock-frequency. Adding support for the same. Reviewed-by: Tom Rini <trini@konsulko.com> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> Base directory -> / arch/arm/cpu/armv7/am33xx/Makefile | 2 + arch/arm/cpu/armv7/am33xx/clk_synthesizer.c | 104 +++++++++++++++++++++ arch/arm/include/asm/arch-am33xx/clk_synthesizer.h | 43 +++++++++ 3 files changed, 149 insertions(+) ------------------------------------------------------------------------------- commit d8ff4fdb103a7964a3351c0b26b256e8ba53319e Author: Lokesh Vutla <lokeshvutla@ti.com> Date: 2016-05-16 11:47:24 +0530 board: AM335x-ICEv2: Add DDR data AM335x ICEv2 contains a 2Gbit(128Mx16) of DDR3 SDRAM(MT41J128M16JT-125), capable of running at 400MHz. Adding this specific DDR configuration details running at 400MHz. Reviewed-by: Tom Rini <trini@konsulko.com> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> Base directory -> / arch/arm/include/asm/arch-am33xx/ddr_defs.h | 15 +++++++++++ board/ti/am335x/board.c | 41 ++++++++++++++++++++++++++++- 2 files changed, 55 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 866b178bd13639e3960e78acf91ac80a6bd06689 Author: Lokesh Vutla <lokeshvutla@ti.com> Date: 2016-05-16 11:47:23 +0530 board: AM335x-ICEv2: Add pinmux support Add necessary pinmux support for AM335x ICEv2 board. Reviewed-by: Tom Rini <trini@konsulko.com> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> Base directory -> / board/ti/am335x/mux.c | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) ------------------------------------------------------------------------------- commit a9643324723ccd8c885b45b39d74b496f6e24c50 Author: Lokesh Vutla <lokeshvutla@ti.com> Date: 2016-05-16 11:47:22 +0530 board: AM335x-ICEv2: Add epprom support Similar to other TI's AM335x platforms, AM335x ICEv2 also has an eeprom populated for its unique identification. Adding this info so that AM335x ICEv2 specific initialization can be done. Reviewed-by: Tom Rini <trini@konsulko.com> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> Base directory -> / board/ti/am335x/board.h | 5 +++++ 1 file changed, 5 insertions(+) ------------------------------------------------------------------------------- commit 61bb825cd9edddc44c5a0c8897d400f213ce9e10 Author: Tom Rini <trini@ti.com> Date: 2016-05-16 11:32:49 +0530 configs: am335x_evm: Switch to env on FAT SD by default Re-org env sections so that we can fall back to env is in FAT on SD card, for broader board compatibility Signed-off-by: Tom Rini <trini@ti.com> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> Base directory -> / include/configs/am335x_evm.h | 40 +++++++++++++++++++++------------------- 1 file changed, 21 insertions(+), 19 deletions(-) ------------------------------------------------------------------------------- commit da9d9599acc81c424bcdddafaa888cd90b97df3d Author: Lokesh Vutla <lokeshvutla@ti.com> Date: 2016-05-16 11:24:29 +0530 ARM: dts: AM335x-BBG: Add initial support Add initial DTS support for AM335x-BBG Reviewed-by: Tom Rini <trini@konsulko.com> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> Base directory -> / arch/arm/dts/Makefile | 3 ++- arch/arm/dts/am335x-bonegreen.dts | 57 +++++++++++++++++++++++++++++++++++++++ board/ti/am335x/board.c | 2 ++ configs/am335x_evm_defconfig | 2 +- 4 files changed, 62 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit 3819ea70635d15595df5bc2d0b1cc81245b1e1cf Author: Lokesh Vutla <lokeshvutla@ti.com> Date: 2016-05-16 11:24:28 +0530 ARM: dts: AM335x-evmsk: Add initial support Add initial DTS support for AM335x-evm sk. Reviewed-by: Tom Rini <trini@konsulko.com> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> Base directory -> / arch/arm/dts/Makefile | 3 +- arch/arm/dts/am335x-evmsk.dts | 720 +++++++++++++++++++++++++++++++++++++ board/ti/am335x/board.c | 2 + configs/am335x_evm_defconfig | 2 +- include/dt-bindings/pinctrl/omap.h | 37 ++ 5 files changed, 762 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit 2c6485bc7cdf3d7d7449c0cda87eb8512c0e5ef5 Author: Mugunthan V N <mugunthanvnm@ti.com> Date: 2016-05-16 11:24:27 +0530 ARM: dts: am335x: fix cd-gpios definition as per hardware design and dt binding docs As per mmc device tree binding documentation card detect gpio has to be active low signal. When a hardware is designed with active high card detect, gpio polarity has to be changed with cd-inverted dt property. In AM335x the card detect gpio is designed as active low gpio. So correcting the dt card detect gpio definition. Reviewed-by: Tom Rini <trini@konsulko.com> Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com> Base directory -> / arch/arm/dts/am335x-bone-common.dtsi | 3 +-- arch/arm/dts/am335x-evm.dts | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) ------------------------------------------------------------------------------- commit 80b24fcd3083515e6b9615868debb8891181e1e4 Author: Lokesh Vutla <lokeshvutla@ti.com> Date: 2016-05-16 11:24:26 +0530 ARM: AM335x: Enable FIT Use a single defconfig for all AM335x platforms by enabling FIT Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / board/ti/am335x/MAINTAINERS | 1 - configs/am335x_evm_defconfig | 16 +++++++++----- configs/am335x_gp_evm_defconfig | 46 ----------------------------------------- 3 files changed, 11 insertions(+), 52 deletions(-) ------------------------------------------------------------------------------- commit a1b4885153c5fbc26ace38292dee3b3f2b86e3e8 Author: Lokesh Vutla <lokeshvutla@ti.com> Date: 2016-05-16 11:24:25 +0530 ARM: dts: am335x-bone: Enable uart and timer Allow am335x-bone.dts to be built and enable uart and timer for all beaglebones. Reviewed-by: Tom Rini <trini@konsulko.com> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> Base directory -> / arch/arm/dts/Makefile | 2 +- arch/arm/dts/am335x-bone-common.dtsi | 5 +++++ arch/arm/dts/am335x-bone.dts | 3 --- 3 files changed, 6 insertions(+), 4 deletions(-) ------------------------------------------------------------------------------- commit 505ea6e82a3c7eafd946cee788f8985e7573bf52 Author: Lokesh Vutla <lokeshvutla@ti.com> Date: 2016-05-16 11:24:24 +0530 board: am33xx: fit: add support for selecting dtb dynamically FIT allows for a multiple dtb in a single image. SPL needs a way to detect the right dtb to be used. Adding support for the same. Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / board/ti/am335x/board.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) ------------------------------------------------------------------------------- commit 3c5835955aecaacc5abd8af043a7becda009eddb Author: Lokesh Vutla <lokeshvutla@ti.com> Date: 2016-05-16 11:11:19 +0530 ARM: AM43xx: configs: Update usb host boot defconfig Convert usb host boot defconfig to use DM, DT. Also enable FIT support. Reviewed-by: Tom Rini <trini@konsulko.com> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> Base directory -> / configs/am43xx_evm_usbhost_boot_defconfig | 14 ++++++++++++++ 1 file changed, 14 insertions(+) ------------------------------------------------------------------------------- commit 54a92e1ad8c699299abf12beecc0b9448df2623d Author: Lokesh Vutla <lokeshvutla@ti.com> Date: 2016-05-16 11:11:18 +0530 ARM: dts: AM437x-IDK Initial Support Add initial DTS support for AM437x-IDK evm. Reviewed-by: Tom Rini <trini@konsulko.com> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> Base directory -> / arch/arm/dts/Makefile | 3 +- arch/arm/dts/am437x-idk-evm.dts | 420 ++++++++++++++++++++++++++++++++++++++++ board/ti/am43xx/board.c | 2 + configs/am43xx_evm_defconfig | 2 +- 4 files changed, 425 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit 7dd12830482bd145861578e37b39735abefdaa8f Author: Lokesh Vutla <lokeshvutla@ti.com> Date: 2016-05-16 11:11:17 +0530 ARM: dts: AM43x-EPOS Initial Support Add initial DTS support for AM43-EPOS evm. Reviewed-by: Tom Rini <trini@konsulko.com> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> Base directory -> / arch/arm/dts/Makefile | 3 +- arch/arm/dts/am43x-epos-evm.dts | 806 ++++++++++++++++++++++ board/ti/am43xx/board.c | 2 + configs/am43xx_evm_defconfig | 2 +- include/dt-bindings/pinctrl/am43xx.h | 6 + include/dt-bindings/sound/tlv320aic31xx-micbias.h | 8 + 6 files changed, 825 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit 4c4e3b37750f3fa1300ce2b69b148d21f6802051 Author: Lokesh Vutla <lokeshvutla@ti.com> Date: 2016-05-16 11:11:16 +0530 ARM: AM43xx: Enable FIT Use a single defconfig for all AM43xx platforms by enabling FIT and delete the platform specific defconfigs. Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / board/ti/am43xx/MAINTAINERS | 2 -- configs/am437x_gp_evm_defconfig | 52 -------------------------------------- configs/am437x_sk_evm_defconfig | 56 ----------------------------------------- configs/am43xx_evm_defconfig | 19 +++++++++++--- 4 files changed, 15 insertions(+), 114 deletions(-) ------------------------------------------------------------------------------- commit 5a3775a4222df71bb5da38961c76ef7bcadac1cd Author: Lokesh Vutla <lokeshvutla@ti.com> Date: 2016-05-16 11:11:15 +0530 board: AM43xx: fit: add support for selecting dtb dynamically FIT allows for a multiple dtb in a single image. SPL needs a way to detect the right dtb to be used. Adding support for the same. Reviewed-by: Tom Rini <trini@konsulko.com> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> Base directory -> / board/ti/am43xx/board.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) ------------------------------------------------------------------------------- commit cfd921f7cc8cb54320e2b2ac4dc9ec13fc4f96c3 Author: Lokesh Vutla <lokeshvutla@ti.com> Date: 2016-05-16 10:51:25 +0530 ARM: DRA7: configs: Remove obsolete configs Removing: uart3_defconfig: Now uart3 can be selected using menuconfig, removing separate config for uart mode. Doing uart boot is not straight forward as ROM uses uart3 as default serial console. In order to boot to prompt, concole in both u-boot and kernel needs to be changed. qspiboot_defconfig: The only advantage of enabling QSPI_BOOT is selecting env in QSPI. Eventually env needs to be selected by menuconfig so removing qspiboot_defconfig. qspiboot can be done using dra7xx_evm_defconfig. Reviewed-by: Tom Rini <trini@konsulko.com> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> Base directory -> / board/ti/dra7xx/MAINTAINERS | 2 -- configs/dra7xx_evm_qspiboot_defconfig | 43 ---------------------------------- configs/dra7xx_evm_uart3_defconfig | 44 ----------------------------------- 3 files changed, 89 deletions(-) ------------------------------------------------------------------------------- commit bd7245849f7ce1c0d2707b7f213d5df1f99284c8 Author: Lokesh Vutla <lokeshvutla@ti.com> Date: 2016-05-16 10:51:24 +0530 ARM: DRA7: Enable FIT Use a single defconfig for all DRA7 platforms by enabling FIT and delete the platform specific defconfigs. Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / board/ti/dra7xx/MAINTAINERS | 2 -- configs/dra72_evm_defconfig | 54 -------------------------------------------- configs/dra74_evm_defconfig | 54 -------------------------------------------- configs/dra7xx_evm_defconfig | 16 ++++++++++++- 4 files changed, 15 insertions(+), 111 deletions(-) ------------------------------------------------------------------------------- commit 09da87dafddef530e62ca1dc2655819dda1d28ee Author: Lokesh Vutla <lokeshvutla@ti.com> Date: 2016-05-16 10:51:23 +0530 board: dra7: fit: add support for selecting dtb dynamically FIT allows for a multiple dtb in a single image. SPL needs a way to detect the right dtb to be used. Adding support for the same. Reviewed-by: Tom Rini <trini@konsulko.com> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> Base directory -> / board/ti/dra7xx/evm.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) ------------------------------------------------------------------------------- commit e35eb0391a2c77848a422b1b02ee29bc7f0a3e6d Author: Chris Packham <judge.packham@gmail.com> Date: 2016-05-13 13:08:56 +1200 Remove unused BOOTFLAG definitions This follows on from commit d98b052 ("powerpc: Cleanup BOOTFLAG_* references") and commit fc3d297 ("Drop bogus BOOTFLAG_* definitions"). Remove the definitions that have crept in since. Signed-off-by: Chris Packham <judge.packham@gmail.com> Base directory -> / include/configs/P1010RDB.h | 8 -------- include/configs/ac14xx.h | 8 -------- 2 files changed, 16 deletions(-) ------------------------------------------------------------------------------- commit fa715193c083bbde4985c4ff1e49e288ec29763a Author: Lokesh Vutla <lokeshvutla@ti.com> Date: 2016-05-24 10:34:44 +0530 spl: Add an option to load a FIT containing U-Boot from UART This provides a way to load a FIT containing U-Boot and a selection of device tree files from UART. Reviewed-by: Tom Rini <trini@konsulko.com> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> Base directory -> / common/spl/spl_ymodem.c | 98 ++++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 84 insertions(+), 14 deletions(-) ------------------------------------------------------------------------------- commit cfe32a4be24da8cf51bbbfa57ddd7cbddade2f43 Author: Lokesh Vutla <lokeshvutla@ti.com> Date: 2016-05-24 10:34:43 +0530 spl: fit: Do not print selected dtb during fit load No prints should be allowed during UART load. Reviewed-by: Tom Rini <trini@konsulko.com> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> Base directory -> / common/spl/spl_fit.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) ------------------------------------------------------------------------------- commit 8bd887727913e9393ef467cdf8b0146babb2673d Author: Lokesh Vutla <lokeshvutla@ti.com> Date: 2016-05-24 10:34:42 +0530 spl: Support loading a FIT from NAND Detect a FIT when loading from NAND and handle it using the new FIT SPL support. Reviewed-by: Tom Rini <trini@konsulko.com> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> [trini: Make sure we continue to use (void *)(unsigned long) for load_addr]. Signed-off-by: Tom Rini <trini@konsulko.com> Base directory -> / common/spl/spl_nand.c | 37 ++++++++++++++++++++++++++++++++----- 1 file changed, 32 insertions(+), 5 deletions(-) ------------------------------------------------------------------------------- commit 0985294604bb713d56c8dbedf1da462c7f86f90f Author: Lokesh Vutla <lokeshvutla@ti.com> Date: 2016-05-24 10:34:41 +0530 mtd: nand: am335x: spl: Fix copying of image When offset is not aligned to page address, it is possible that extra offset will be read from nand. Adjust the image such that first byte of the image is at load address after the first page is read. Reviewed-by: Tom Rini <trini@konsulko.com> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> Base directory -> / drivers/mtd/nand/am335x_spl_bch.c | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 00d559561ea7f774a7758c70b79e1e7e38b62459 Author: Lokesh Vutla <lokeshvutla@ti.com> Date: 2016-05-24 10:34:40 +0530 spl: Support loading a FIT from SPI Detect a FIT when loading from SPI and handle it using the new FIT SPL support. Reviewed-by: Tom Rini <trini@konsulko.com> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> Base directory -> / drivers/mtd/spi/spi_spl_load.c | 37 ++++++++++++++++++++++++++++++++----- 1 file changed, 32 insertions(+), 5 deletions(-) ------------------------------------------------------------------------------- commit 97ca364fafe31dd986774d282674a3fe925a546a Author: Lokesh Vutla <lokeshvutla@ti.com> Date: 2016-05-24 10:34:39 +0530 spl: Support loading a FIT from FAT FS Detect a FIT when loading from a FAT File system and handle it using the new FIT SPL support. Tested-by: Michal Simek <michal.simek@xilinx.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> Base directory -> / common/spl/spl_fat.c | 36 ++++++++++++++++++++++++++++++++---- 1 file changed, 32 insertions(+), 4 deletions(-) ------------------------------------------------------------------------------- commit eafd5410af2ade58f25da707edaba85e44999621 Author: Lokesh Vutla <lokeshvutla@ti.com> Date: 2016-05-24 10:34:38 +0530 spl: Allow to load a FIT containing U-Boot from FS This provides a way to load a FIT containing U-Boot and a selection of device tree files from a File system. Making sure that all the reads and writes are aligned to their respective needs. Tested-by: Michal Simek <michal.simek@xilinx.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> [trini: Make this still apply with Michal's alignment change for 'fit'] Signed-off-by: Tom Rini <trini@konsulko.com> Base directory -> / common/spl/spl_fit.c | 72 ++++++++++++++++++++++++++++++++++++++++++---------- common/spl/spl_mmc.c | 1 + include/spl.h | 12 +++++++++ 3 files changed, 71 insertions(+), 14 deletions(-) ------------------------------------------------------------------------------- commit 4d9d34a7f280ba0e14896d4157ede677899f83a2 Author: Lokesh Vutla <lokeshvutla@ti.com> Date: 2016-05-24 10:34:37 +0530 spl: fit: Fix the number of bytes read when reading fdt from fit sectors field is not being updated when reading fdt from fit image. Because of this size_of(u-boot.bin) is being read when reading fdt. Fixing it by updating the sectors field properly. Tested-by: Michal Simek <michal.simek@xilinx.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> Base directory -> / common/spl/spl_fit.c | 1 + 1 file changed, 1 insertion(+) ------------------------------------------------------------------------------- commit 53d150b1412bc1b2da07dfdeb2aa834ab62ec7ad Author: Daniel Allred <d-allred@ti.com> Date: 2016-05-19 19:10:55 -0500 defconfig: ti: Add configs for OMAP5-class secure parts Adds new defconfig files for DRA7xx and AM57xx secure devices. These are the same as the non-secure parts, but with the addition of the CONFIG_TI_SECURE_DEVICE option set to 'y'. Signed-off-by: Daniel Allred <d-allred@ti.com> Signed-off-by: Madan Srinivas <madans@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / configs/am57xx_hs_evm_defconfig | 36 +++++++++++++++++++++++++++ configs/dra72_hs_evm_defconfig | 55 +++++++++++++++++++++++++++++++++++++++++ configs/dra74_hs_evm_defconfig | 54 ++++++++++++++++++++++++++++++++++++++++ 3 files changed, 145 insertions(+) ------------------------------------------------------------------------------- commit 62a09f0535b223c8acbf85da8d4b1acf1667826e Author: Daniel Allred <d-allred@ti.com> Date: 2016-05-19 19:10:54 -0500 ARM: omap5: add ft_board_setup for dra7xx/am57xx Adds the board specific ft_board_setup() functions that are called when CONFIG_OF_BOARD_SETUP is defined. These functions will currently just call the ft_cpu_setup() function. Adds CONFIG_OF_BOARD_SETUP to the defconfig files for dra72_evm, dra74_evm, and am57xx_evm. Signed-off-by: Daniel Allred <d-allred@ti.com> Signed-off-by: Madan Srinivas <madans@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / board/ti/am57xx/board.c | 9 +++++++++ board/ti/dra7xx/evm.c | 9 +++++++++ configs/am57xx_evm_defconfig | 1 + configs/dra72_evm_defconfig | 1 + configs/dra74_evm_defconfig | 1 + 5 files changed, 21 insertions(+) ------------------------------------------------------------------------------- commit 1aad38f6e614f129fc987e9dd310cb6727e42363 Author: Daniel Allred <d-allred@ti.com> Date: 2016-05-19 19:10:53 -0500 ARM: omap5: add hooks for cpu/SoC fdt fixups Adds an fdt.c file in that defines the ft_cpu_setup() function, which should be called from a board-specific ft_board_setup()). This ft_cpu_setup() will currently do nothing for non-secure (GP) devices but contains pertinent updates for booting on secure (HS) devices. Update the omap5 Makefile to include the fdt.c in the build. Signed-off-by: Daniel Allred <d-allred@ti.com> Signed-off-by: Madan Srinivas <madans@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / arch/arm/cpu/armv7/omap5/Makefile | 1 + arch/arm/cpu/armv7/omap5/fdt.c | 184 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 185 insertions(+) ------------------------------------------------------------------------------- commit 47c331ede1ef339425348cdc762e1feab6779d06 Author: Daniel Allred <d-allred@ti.com> Date: 2016-05-19 19:10:52 -0500 ARM: omap-common: Add device type to CPU string Update the CPU string output so that the device type is now included as part of the CPU string that is printed as the SPL or u-boot comes up. This update adds a suffix of the form "-GP" or "-HS" for production devices, so that general purpose (GP) and high security (HS) can be distiguished. Applies to all OMAP5 variants. Signed-off-by: Daniel Allred <d-allred@ti.com> Signed-off-by: Madan Srinivas <madans@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / arch/arm/cpu/armv7/omap-common/hwinit-common.c | 22 ++++++++++++++++++++-- arch/arm/include/asm/arch-omap3/cpu.h | 7 +------ arch/arm/include/asm/omap_common.h | 11 +++++++++++ 3 files changed, 32 insertions(+), 8 deletions(-) ------------------------------------------------------------------------------- commit 410f52579498ebe7863c0b88f417eb2d9fb25551 Author: Daniel Allred <d-allred@ti.com> Date: 2016-05-19 19:10:51 -0500 spl: build: ti: add support for secure boot images Updates the SPL build so that when CONFIG_TI_SECURE_DEVICE is in use (which it should be when building for secure parts), the TI secure development package is used to create a valid secure boot image. The u-boot SPL build processes is NOT aware of the details of creating the boot image - all of that information is encapsulated in the TI secure development package, which is available from TI. More info can be found in README.ti-secure Right now, two image types are generated, MLO and X-LOADER. The types are important, as certain boot modes implemented by the device's ROM boot loader require one or the other (they are not equivalent). The output filenames are u-boot-spl_HS_MLO and u-boot-spl_HS_X-LOADER. The u-boot-spl_HS_MLO image is also copied to a file named MLO, which is the name that the device ROM bootloader requires for loading from the FAT partition of an SD card (same as on non-secure devices). Signed-off-by: Daniel Allred <d-allred@ti.com> Signed-off-by: Madan Srinivas <madans@ti.com> Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com> Tested-by: Andreas Dannenberg <dannenberg@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / arch/arm/cpu/armv7/omap5/config.mk | 6 ++++++ 1 file changed, 6 insertions(+) ------------------------------------------------------------------------------- commit b9b8403f4934c3236a6c8f515c6672e4714236f9 Author: Daniel Allred <d-allred@ti.com> Date: 2016-05-19 19:10:50 -0500 ti_omap5_common: Update SPL start address on secure parts Updated the CONFIG_SPL_TEXT_BASE to support secure parts (moving the start address past secure reserved memory and the size of the security certificate that precedes the boot image on secure devices). Updated the related CONFIG_SPL_MAX_SIZE to properly reflect the internal memory actually available on the various device flavors (Common minimum internal RAM guaranteed for various flavors of DRA7xx/AM57xx is 512KB). Signed-off-by: Daniel Allred <d-allred@ti.com> Signed-off-by: Madan Srinivas <madans@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / include/configs/ti_omap5_common.h | 32 +++++++++++++++++++++++++++----- 1 file changed, 27 insertions(+), 5 deletions(-) ------------------------------------------------------------------------------- commit df277e66b3fbaaf989ef14f74a8351b32189d134 Author: Madan Srinivas <madans@ti.com> Date: 2016-05-19 19:10:49 -0500 defconfig: Add a config for AM43xx secure part Adds a new defconfig file for the AM43xx secure device. This is the same as for the non-secure part, except for: CONFIG_TI_SECURE_DEVICE option set to 'y' CONFIG_ISW_ENTRY_ADDR updated for secure images. Signed-off-by: Daniel Allred <d-allred@ti.com> Signed-off-by: Madan Srinivas <madans@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / configs/am437x_hs_evm_defconfig | 53 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) ------------------------------------------------------------------------------- commit a5051b727eaf098a18cf0e77f2cd8e61b71c888a Author: Madan Srinivas <madans@ti.com> Date: 2016-05-19 19:10:48 -0500 ti: AM43xx: board: Detect AM43xx HS EVM Adds code to detect AM43xx HS EVMS - the string in the I2C EEPROM for HS EVMs differs from GP EVMs. Adds code to for evm detection, regardless of whether the evm is for GP or HS parts, and updates board init to use that. Modifies findfdt command to pick up am437x-gp-evm.dtb for the HS EVMs also, as the boards are similar except for some security specific changes around power supply and enclosure protection. Signed-off-by: Madan Srinivas <madans@ti.com> Signed-off-by: Daniel Allred <d-allred@ti.com> Signed-off-by: Andreas Dannenberg <dannenberg@ti.com> Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / board/ti/am43xx/board.c | 4 ++-- board/ti/am43xx/board.h | 14 ++++++++++++-- board/ti/am43xx/mux.c | 2 +- include/configs/am43xx_evm.h | 2 ++ 4 files changed, 17 insertions(+), 5 deletions(-) ------------------------------------------------------------------------------- commit 9aac7d0ec96923a39f8d234f82b82bec5c13f183 Author: Madan Srinivas <madans@ti.com> Date: 2016-05-19 19:10:47 -0500 ti: AM43xx: Use CONFIG options from SOC Kconfig Updates configs/am43xx_evm.h to use CONFIG options from SOC specific Kconfig file for various calculations. On AM43x devices, the address of SPL entry point depends on the device type, i.e. whether it is secure or non-secure. Further, for non-secure devices, the SPL entry point is different between USB HOST boot mode, other "memory" boot modes (MMC, NAND) and "peripheral" boot modes (UART, USB) To add to the complexity, on secure devices, in addition to the above differences, the SPL entry point can change because of the space occupied by other components (other than u-boot or spl) that go into a secure boot image. To prevent the user from having to modify source files every time any component of the secure image changes, the value of CONFIG_SPL_TEXT_BASE has been set using a Kconfig option that is supplied in the am43xx_*_defconfig files Using the CONFIG options also enables us to do away with some compile time flags that were used to specify CONFIG_SPL_TEXT_BASE for different boot modes. On QSPI devices, the same problem described above occurs w.r.t. the address of the u-boot entry point in flash, when booting secure devices. To handle this, CONFIG_SYS_TEXT_BASE is also setup via a Kconfig option and the defconfig files. Signed-off-by: Madan Srinivas <madans@ti.com> Signed-off-by: Daniel Allred <d-allred@ti.com> Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com> Tested-by: Andreas Dannenberg <dannenberg@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / configs/am43xx_evm_qspiboot_defconfig | 1 + configs/am43xx_evm_usbhost_boot_defconfig | 1 + include/configs/am43xx_evm.h | 19 +++++++------------ 3 files changed, 9 insertions(+), 12 deletions(-) ------------------------------------------------------------------------------- commit 883dfd15536e41d2b994099dd478be5a18660960 Author: Daniel Allred <d-allred@ti.com> Date: 2016-05-19 19:10:46 -0500 ti: AM43xx: config.mk: Add support for generating secure boot images Modifies the config.mk to build secure images when building the SPL for secure devices. Depending on the boot media, different images are needed for secure devices. The build generates u-boot*_HS_* files as appropriate for the different boot modes. The same u-boot binary file is processed slightly differently to produce a different boot image, depending on whether the user wants to boot off SPI, QSPI or other boot media. Refer to README.ti-secure for more information. Signed-off-by: Madan Srinivas <madans@ti.com> Signed-off-by: Daniel Allred <d-allred@ti.com> Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com> Tested-by: Andreas Dannenberg <dannenberg@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / arch/arm/cpu/armv7/am33xx/config.mk | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) ------------------------------------------------------------------------------- commit 0a0c534b338199237b094af4134a3c1642ad1b21 Author: Daniel Allred <d-allred@ti.com> Date: 2016-05-19 19:10:45 -0500 ti: omap-common: Add commands for generating secure SPL images Adds a centralized config_secure.mk in omap-common for OMAP-style TI secure devices to use for boot image generation Depending on the boot media, different images are needed for secure devices. These commands generates u-boot*_HS_* files that need to be used to boot secure devices. Please refer to README.ti-secure for more information. Signed-off-by: Daniel Allred <d-allred@ti.com> Signed-off-by: Madan Srinivas <madans@ti.com> Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com> Tested-by: Andreas Dannenberg <dannenberg@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / arch/arm/cpu/armv7/omap-common/config_secure.mk | 66 +++++++++++++++++++++++++ 1 file changed, 66 insertions(+) ------------------------------------------------------------------------------- commit a774e08858b12d6c022020541f6f2d7dc8b1c737 Author: Madan Srinivas <madans@ti.com> Date: 2016-05-19 19:10:44 -0500 ti: omap-common: Add Kconfig file for secure device support Defines CONFIG_TI_SECURE_DEVICE which needs to be turned on when building images for secure devices. This flag is used to invoke the secure image creation tools for creating a boot image that can be used on secure devices. This flag may also be used to conditionally compile code specific to secure devices. This terminology will be used by all OMAP architecture devices, hence introducing to a common location. With the creation of Kconfig for omap-common, moved the sourcing of the Kconfig files for the omap3/4/5 and am33xx devices from arch/arm/KConfig to the omap-common one. Signed-off-by: Madan Srinivas <madans@ti.com> Signed-off-by: Daniel Allred <d-allred@ti.com> Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com> Tested-by: Andreas Dannenberg <dannenberg@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / arch/arm/Kconfig | 8 +------- arch/arm/cpu/armv7/omap-common/Kconfig | 17 +++++++++++++++++ 2 files changed, 18 insertions(+), 7 deletions(-) ------------------------------------------------------------------------------- commit 6384726d2dd941411bfb3253f37f61eb1afa1c21 Author: Madan Srinivas <madans@ti.com> Date: 2016-05-19 19:10:43 -0500 arm: Kconfig: Add support for AM43xx SoC specific Kconfig Adding support for AM43xx secure devices require the addition of some SOC specific config options like the amount of memory used by public ROM and the address of the entry point of u-boot or SPL, as seen by the ROM code, for the image to be built correctly. This mandates the addition of am AM43xx CONFIG option and the ARM Kconfig file has been modified to source this SOC Kconfig file. Moving the TARGET_AM43XX_EVM config option to the SOC KConfig and out of the arch/arm/Kconfig. Updating defconfigs to add the CONFIG_AM43XX=y statement and removing the #define CONFIG_AM43XX from the header file. Signed-off-by: Madan Srinivas <madans@ti.com> Signed-off-by: Daniel Allred <d-allred@ti.com> Tested-by: Andreas Dannenberg <dannenberg@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / arch/arm/Kconfig | 19 +++++++++++++------ arch/arm/cpu/armv7/am33xx/Kconfig | 13 +++++++++++++ configs/am437x_gp_evm_defconfig | 1 + configs/am437x_sk_evm_defconfig | 1 + configs/am43xx_evm_defconfig | 1 + configs/am43xx_evm_ethboot_defconfig | 1 + configs/am43xx_evm_qspiboot_defconfig | 1 + configs/am43xx_evm_usbhost_boot_defconfig | 1 + include/configs/am43xx_evm.h | 2 -- 9 files changed, 32 insertions(+), 8 deletions(-) ------------------------------------------------------------------------------- commit ce31ac7f724aaafd2760bd9d7c4d93a563505511 Author: Madan Srinivas <madans@ti.com> Date: 2016-05-19 19:10:42 -0500 arm: am33xx: Kconfig: Add secure device definitions Adds a new Kconfig file for AM33xx class devices. We need a common place to define CONFIG parameters for these SOCs, especially for adding support for secure devices. a) Adds a definition for ISW_ENTRY_ADDR. This is the address to which the ROM branches when the SOC ROM hands off execution to the boot loader. CONFIG_SYS_TEXT_BASE and CONFIG_SPL_TEXT_BASE are set to this value for AM43xx devices. b) Adds CONFIG_PUB_ROM_DATA_SIZE which is used to calculate CONFIG_SPL_MAX_SIZE. This value indicates the amount of memory needed by the ROM to store data during the boot process. Currently, these CONFIG options are used only by AM43xx, but in future other AM33xx class SOCs will also use them. Signed-off-by: Madan Srinivas <madans@ti.com> Signed-off-by: Daniel Allred <d-allred@ti.com> Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com> Tested-by: Andreas Dannenberg <dannenberg@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / arch/arm/cpu/armv7/am33xx/Kconfig | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) ------------------------------------------------------------------------------- commit 98350f7f37c32dd5edcd87ee79f7f5e1bcf5819f Author: Daniel Allred <d-allred@ti.com> Date: 2016-05-19 19:10:41 -0500 doc: Add info on using secure devices from TI Adds doc/README.ti-secure file to explain in generic terms how boot images need to be created for secure devices from Texas Instruments. Specific details for creating secure boot images for the AM43xx, DRA7xx and AM57xx secure devices from Texas Instruments are also provided in the README file. Secure devices require a security development package (SECDEV) package that can be downloaded from: http://www.ti.com/mysecuresoftware Login is required and access is granted under appropriate NDA and export control restrictions. Signed-off-by: Madan Srinivas <madans@ti.com> Signed-off-by: Daniel Allred <d-allred@ti.com> Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com> Reviewed-by: Andreas Dannenberg <dannenberg@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / doc/README.ti-secure | 91 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 91 insertions(+) ------------------------------------------------------------------------------- commit 7ffe3cd62e5af2cda1e18c6d896cab58bfb0c811 Author: Robert P. J. Day <rpjday@crashcourse.ca> Date: 2016-05-19 15:23:12 -0400 Delete tests of CONFIG_OF_LIBFDT when testing CONFIG_OF_BOARD_SETUP Since CONFIG_OF_BOARD_SETUP depends on CONFIG_OF_LIBFDT: config OF_BOARD_SETUP bool "Set up board-specific details in device tree before boot" depends on OF_LIBFDT ... remove superfluous tests of CONFIG_OF_LIBFDT when testing for CONFIG_OF_BOARD_SETUP. Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> [trini: Typo fix: s/ifdefi/ifdef/] Signed-off-by: Tom Rini <trini@konsulko.com> Base directory -> / arch/nios2/cpu/fdt.c | 4 ++-- arch/powerpc/cpu/mpc5xxx/cpu.c | 8 ++++---- arch/powerpc/cpu/mpc8260/cpu.c | 4 ++-- arch/powerpc/cpu/ppc4xx/fdt.c | 4 ++-- board/a3m071/a3m071.c | 4 ++-- board/a4m072/a4m072.c | 4 ++-- board/amcc/canyonlands/canyonlands.c | 4 ++-- board/cm5200/cm5200.c | 8 ++++---- board/davedenx/aria/aria.c | 4 ++-- board/esd/cpci405/cpci405.c | 4 ++-- board/esd/mecp5123/mecp5123.c | 4 ++-- board/esd/pmc405de/pmc405de.c | 4 ++-- board/esd/pmc440/pmc440.c | 4 ++-- board/freescale/mpc5121ads/mpc5121ads.c | 4 ++-- board/gateworks/gw_ventana/gw_ventana.c | 4 ++-- board/gdsys/intip/intip.c | 4 ++-- board/ifm/ac14xx/ac14xx.c | 4 ++-- board/ifm/o2dnt2/o2dnt2.c | 4 ++-- board/intercontrol/digsy_mtc/digsy_mtc.c | 4 ++-- board/ipek01/ipek01.c | 4 ++-- board/jupiter/jupiter.c | 4 ++-- board/motionpro/motionpro.c | 4 ++-- board/munices/munices.c | 4 ++-- board/pdm360ng/pdm360ng.c | 4 ++-- board/phytec/pcm030/pcm030.c | 4 ++-- board/socrates/socrates.c | 4 ++-- board/ti/ks2_evm/board.c | 4 ++-- 27 files changed, 58 insertions(+), 58 deletions(-) ------------------------------------------------------------------------------- commit 87861c1970d9e1c475e62304b8e249aa3edf8c39 Author: Michal Simek <michal.simek@xilinx.com> Date: 2016-05-19 07:57:41 +0200 test/py: Support setting up specific timeout Large file transfers, flash erasing and more complicated tests requires more time to finish. Provide a way to setup specific timeout directly in test. For example description for 50s test: timeout = 50000 with u_boot_console.temporary_timeout(timeout): u_boot_console.run_command(...) Signed-off-by: Michal Simek <michal.simek@xilinx.com> Reviewed-by: Stephen Warren <swarren@nvidia.com> Base directory -> / test/py/u_boot_console_base.py | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) ------------------------------------------------------------------------------- commit c9cfac5d3023e9b2993578400fbc7f03aa6919af Author: Alexander Graf <agraf@suse.de> Date: 2016-05-18 02:04:24 +0200 efi_loader: gop: Don't expose fb address Recently Linux is gaining support for efifb on AArch64 and that support actually tries to make use of the frame buffer address we expose to it via gop. While this wouldn't be bad in theory, in practice it means a few bad things 1) We expose 16bit frame buffers as 32bit today 2) Linux can't deal with overlapping non-PCI regions between efifb and a different frame buffer driver For now, let's just disable exposure of the frame buffer address. Most OSs that get booted will have a native driver for the GPU anyway. Signed-off-by: Alexander Graf <agraf@suse.de> [trini: Remove line_len entirely] Signed-off-by: Tom Rini <trini@konsulko.com> Base directory -> / lib/efi_loader/efi_gop.c | 3 --- 1 file changed, 3 deletions(-) ------------------------------------------------------------------------------- commit ae87440578369456b55e54125e101d27c332bc5a Author: Alexander Graf <agraf@suse.de> Date: 2016-05-18 00:54:47 +0200 efi_loader: Clean up system table on exit We put the system table into our runtime services data section so that payloads may still access it after exit_boot_services. However, most fields in it are quite useless once we're in that state, so let's just patch them out. With this patch we don't get spurious warnings when running EFI binaries anymore. Signed-off-by: Alexander Graf <agraf@suse.de> Base directory -> / lib/efi_loader/efi_runtime.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) ------------------------------------------------------------------------------- commit 81974f4479d19c441c4a089aedd238c251626b3e Author: Andreas Fenkart <andreas.fenkart@digitalstrom.com> Date: 2016-04-05 23:13:42 +0200 tools/env: no global variable sharing between application and library Signed-off-by: Andreas Fenkart <andreas.fenkart@digitalstrom.com> Base directory -> / tools/env/fw_env.c | 50 +++++++++++++++++++++++-------------------------- tools/env/fw_env.h | 25 +++++++------------------ tools/env/fw_env_main.c | 28 +++++++++++++++++---------- 3 files changed, 48 insertions(+), 55 deletions(-) ------------------------------------------------------------------------------- commit 367d789d87cd562cfe4f28c865dd6d342f595baf Author: Robert P. J. Day <rpjday@crashcourse.ca> Date: 2016-05-15 12:12:07 -0400 MARVELL: Delete now-superfluous board/Marvell/{common, include} dirs. With dropping support for some boards and the deletion of some source files, it appears that both of these directories are now superfluous. Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Base directory -> / board/Marvell/common/bootseq.txt | 94 --- board/Marvell/common/i2c.h | 16 - board/Marvell/common/intel_flash.h | 170 ----- board/Marvell/common/memory.c | 1374 ------------------------------------ board/Marvell/common/ns16550.c | 66 -- board/Marvell/common/ns16550.h | 102 --- board/Marvell/common/serial.c | 162 ----- board/Marvell/include/memory.h | 173 ----- board/Marvell/include/pci.h | 293 -------- 9 files changed, 2450 deletions(-) ------------------------------------------------------------------------------- commit 2507854e46654042839bf0dcf0d9a291f60c31cf Author: Simon Glass <sjg@chromium.org> Date: 2016-05-14 18:49:37 -0600 Drop HAVE_GENERIC_BOARD and SYS_GENERIC_BOARD options These are no longer used. The migration is complete. Drop these options. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Angelo Dureghello <angelo@sysam.it> Acked-by: Andreas Bießmann <andreas@biessmann.org> Base directory -> / arch/Kconfig | 32 -------------------------------- 1 file changed, 32 deletions(-) ------------------------------------------------------------------------------- commit 4c794525d5c662e6b18afe69835da6662c046e08 Author: Simon Glass <sjg@chromium.org> Date: 2016-05-14 18:49:36 -0600 Drop references to CONFIG_SYS_GENERIC_BOARD in config files This option is no longer used so need not be enabled. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/sh/include/asm/config.h | 2 -- include/configs/gr_cpci_ax2000.h | 1 - include/configs/gr_ep2s60.h | 1 - include/configs/gr_xc3s_1500.h | 1 - include/configs/grsim.h | 1 - include/configs/grsim_leon2.h | 1 - include/configs/openrisc-generic.h | 2 -- 7 files changed, 9 deletions(-) ------------------------------------------------------------------------------- commit 9be2e790eb28cbb30fb16a939cb95f82ad73efe5 Author: Simon Glass <sjg@chromium.org> Date: 2016-05-14 18:49:35 -0600 Drop use of CONFIG_SYS_GENERIC_BOARD in U-Boot This option is always enabled and is about to be removed. Drop references to it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Andreas Bießmann <andreas@biessmann.org> Base directory -> / common/Makefile | 4 ++-- common/main.c | 6 ------ include/watchdog.h | 3 +-- 3 files changed, 3 insertions(+), 10 deletions(-) ------------------------------------------------------------------------------- commit 14c67ebaefec6d477603454aa2998c36da40453b Author: Simon Glass <sjg@chromium.org> Date: 2016-05-14 18:49:34 -0600 powerpc: Drop unused code related to generic board Since generic board init is enabled, this is not used. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/powerpc/cpu/mpc5xxx/start.S | 3 +- arch/powerpc/cpu/ppc4xx/cpu_init.c | 7 --- arch/powerpc/cpu/ppc4xx/start.S | 4 -- arch/powerpc/include/asm/u-boot.h | 104 ------------------------------------- arch/powerpc/lib/Makefile | 5 -- 5 files changed, 1 insertion(+), 122 deletions(-) ------------------------------------------------------------------------------- commit 3e085c9946323a6ad17c32150adf67348afeff97 Author: Simon Glass <sjg@chromium.org> Date: 2016-05-14 18:49:33 -0600 mips: Drop unused code in u-boot.h Since generic board init is enabled, this is not used. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> Base directory -> / arch/mips/include/asm/u-boot.h | 16 ---------------- 1 file changed, 16 deletions(-) ------------------------------------------------------------------------------- commit b977fefcf74700601db37fb5040544bfc16b4237 Author: Simon Glass <sjg@chromium.org> Date: 2016-05-14 18:49:32 -0600 m68k: Drop unused code in u-boot.h Since generic board init is enabled, this is not used. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Angelo Dureghello <angelo@sysam.it> Base directory -> / arch/m68k/include/asm/u-boot.h | 39 --------------------------------------- 1 file changed, 39 deletions(-) ------------------------------------------------------------------------------- commit 1c29a382e13af1471282ebff3a74afabea5b8ff8 Author: Simon Glass <sjg@chromium.org> Date: 2016-05-14 18:49:31 -0600 avr32: Drop unused code in u-boot.h Since generic board init is enabled, this is not used. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Andreas Bießmann <andreas@biessmann.org> Base directory -> / arch/avr32/include/asm/u-boot.h | 20 -------------------- 1 file changed, 20 deletions(-) ------------------------------------------------------------------------------- commit b61e90e6fd83a8bc80209a19b77b925bcdc342df Author: Simon Glass <sjg@chromium.org> Date: 2016-05-14 18:49:30 -0600 sh: Drop the arch-specific board init It is well past the deadline for conversion to generic board init. Remove the old code. Please test this and perhaps send a follow-up patch if needed. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/sh/include/asm/config.h | 2 + arch/sh/lib/Makefile | 1 - arch/sh/lib/board.c | 189 ------------------------------------------- 3 files changed, 2 insertions(+), 190 deletions(-) ------------------------------------------------------------------------------- commit f41e6088eb1a32fdb717110dde66165728e484aa Author: Simon Glass <sjg@chromium.org> Date: 2016-05-14 18:49:29 -0600 sh: Fix build errors for generic board This includes the following fixes: - Define needed __init_end symbol - see initr_reloc_global_data() - Drop SH-specific struct bd_info - Add an empty relocate_code() function This prevents build errors with generic board, but the code will still need work. Perhaps this is a better alternative than deleting the code. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/sh/cpu/sh2/cpu.c | 6 ++++++ arch/sh/cpu/sh2/start.S | 7 ++++--- arch/sh/cpu/sh3/cpu.c | 6 ++++++ arch/sh/cpu/sh3/start.S | 7 ++++--- arch/sh/cpu/sh4/cpu.c | 6 ++++++ arch/sh/cpu/sh4/start.S | 7 ++++--- arch/sh/cpu/u-boot.lds | 1 + arch/sh/include/asm/u-boot.h | 12 ++---------- board/renesas/sh7752evb/u-boot.lds | 1 + board/renesas/sh7753evb/u-boot.lds | 1 + board/renesas/sh7757lcr/u-boot.lds | 1 + 11 files changed, 36 insertions(+), 19 deletions(-) ------------------------------------------------------------------------------- commit b0b359536e2bcdf9e049e36a9ad5e4f7174bdc74 Author: Simon Glass <sjg@chromium.org> Date: 2016-05-14 18:49:28 -0600 board_f: Don't require CONFIG_SYS_MONITOR_BASE Allow this to be unset, such that gd->mon_len is invalid. This seems to be what the sh architecture does. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / common/board_f.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 89b199c3d4416e63d025e4927da8d4fde1de8b2a Author: Simon Glass <sjg@chromium.org> Date: 2016-05-14 18:49:27 -0600 Remove/update old generic-board documentation and warning Remove the warning from the Makefile, since boards that do not use generic board will no longer build. Also update documentation. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Andreas Bießmann <andreas@biessmann.org> Base directory -> / Makefile | 14 --------- README | 10 ------- board/sandbox/README.sandbox | 3 +- doc/README.fdt-control | 6 ---- doc/README.generic-board | 69 +++++--------------------------------------- 5 files changed, 8 insertions(+), 94 deletions(-) ------------------------------------------------------------------------------- commit feee28f7d744fec50f61b4d46d3dfac165316fbc Author: Simon Glass <sjg@chromium.org> Date: 2016-05-14 18:49:26 -0600 openrisc: Drop the arch-specific board init It is well past the deadline for conversion to generic board init. Remove the old code. Stefan, can you test this please and perhaps send a follow-up patch if needed? Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/openrisc/lib/Makefile | 1 - arch/openrisc/lib/board.c | 140 ------------------------------------- include/configs/openrisc-generic.h | 1 + 3 files changed, 1 insertion(+), 141 deletions(-) ------------------------------------------------------------------------------- commit 3ac8d1ee12dcc59942c22f76ccce5537fc3a198a Author: Roger Quadros <rogerq@ti.com> Date: 2016-05-13 15:17:52 +0300 usb: dwc3: Makefile: Don't build gadget code if USB_GADGET is disabled It is pointless to build gadget driver if USB_GADGET is disabled. Signed-off-by: Roger Quadros <rogerq@ti.com> Acked-by: Marek Vasut <marex@denx.de> Base directory -> / drivers/usb/dwc3/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit bc6fc28b8604eddb527217b450d86d368cc25d13 Author: Alexander Graf <agraf@suse.de> Date: 2016-05-12 15:51:45 +0200 net: Optionally use pxe client arch from variable The client architecture that we pass to a dhcp server depends on the target payload that we want to execute. An EFI binary has a different client arch than a legacy binary or a u-boot binary. So let's parameterize the pxe client arch field to allow an override via the distro script, so that our efi boot path can tell the dhcp server that it's actually an efi firmware. Signed-off-by: Alexander Graf <agraf@suse.de> Base directory -> / net/bootp.c | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) ------------------------------------------------------------------------------- commit 6a6187efd238373a351369d23966e7e1759b5ad9 Author: Alexander Graf <agraf@suse.de> Date: 2016-05-11 18:25:49 +0200 efi_loader: Select bounce buffers for known-bad boards We know for certain that we have 32bit DMA hardware, but 64bit addresses on LS2085A and ZynqMP, so let's enable EFI bounce buffers for all defconfigs on these SoCs. Signed-off-by: Alexander Graf <agraf@suse.de> Base directory -> / configs/ls2080a_emu_defconfig | 1 + configs/ls2080a_simu_defconfig | 1 + configs/ls2080aqds_SECURE_BOOT_defconfig | 1 + configs/ls2080aqds_defconfig | 1 + configs/ls2080aqds_nand_defconfig | 1 + configs/ls2080ardb_SECURE_BOOT_defconfig | 1 + configs/ls2080ardb_defconfig | 1 + configs/ls2080ardb_nand_defconfig | 1 + configs/xilinx_zynqmp_ep_defconfig | 1 + configs/xilinx_zynqmp_zc1751_xm015_dc1_defconfig | 1 + configs/xilinx_zynqmp_zc1751_xm016_dc2_defconfig | 1 + configs/xilinx_zynqmp_zc1751_xm019_dc5_defconfig | 1 + configs/xilinx_zynqmp_zcu102_defconfig | 1 + configs/xilinx_zynqmp_zcu102_revB_defconfig | 1 + 14 files changed, 14 insertions(+) ------------------------------------------------------------------------------- commit 51735ae0ea2f5d67c0f7cc4d1f938f36955e1fe7 Author: Alexander Graf <agraf@suse.de> Date: 2016-05-11 18:25:48 +0200 efi_loader: Add bounce buffer support Some hardware that is supported by U-Boot can not handle DMA above 32bits. For these systems, we need to come up with a way to expose the disk interface in a safe way. This patch implements EFI specific bounce buffers. For non-EFI cases, this apparently was no issue so far, since we can just define our environment variables conveniently. Signed-off-by: Alexander Graf <agraf@suse.de> Base directory -> / include/efi_loader.h | 5 ++++ lib/efi_loader/Kconfig | 9 ++++++ lib/efi_loader/efi_disk.c | 70 +++++++++++++++++++++++++++++++++++++++------ lib/efi_loader/efi_memory.c | 16 +++++++++++ 4 files changed, 91 insertions(+), 9 deletions(-) ------------------------------------------------------------------------------- commit 851bda81487b0e2b5b43c9c2dc2582214751953e Author: Lukasz Majewski <l.majewski@majess.pl> Date: 2016-05-08 08:52:21 +0200 cosmetic: debug: Replace #ifdef DEBUG with debug() macro Replace #ifdef DEBUG with dedicated debug() macro. Signed-off-by: Lukasz Majewski <l.majewski@majess.pl> Base directory -> / common/bootm_os.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) ------------------------------------------------------------------------------- commit c7757d46958463542f3c5cc359d53769f83b9148 Author: Beniamino Galvani <b.galvani@gmail.com> Date: 2016-05-08 08:30:17 +0200 arm: meson: implement calls to secure monitor Implement calls to secure monitor to read the MAC address from e-fuse. Signed-off-by: Beniamino Galvani <b.galvani@gmail.com> Base directory -> / arch/arm/include/asm/arch-meson/sm.h | 12 +++++++ arch/arm/mach-meson/Makefile | 2 +- arch/arm/mach-meson/board.c | 1 + arch/arm/mach-meson/sm.c | 57 ++++++++++++++++++++++++++++++++++ board/hardkernel/odroid-c2/odroid-c2.c | 16 ++++++++++ 5 files changed, 87 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit bfcef28ae4cf04e7c1fd3aea1d60a17bd046f153 Author: Beniamino Galvani <b.galvani@gmail.com> Date: 2016-05-08 08:30:16 +0200 arm: add initial support for Amlogic Meson and ODROID-C2 This adds platform code for the Amlogic Meson GXBaby (S905) SoC and a board definition for ODROID-C2. This initial submission only supports UART and Ethernet (through the existing Designware driver). DTS files are the ones submitted to Linux arm-soc for 4.7 [1]. [1] https://patchwork.ozlabs.org/patch/603583/ Signed-off-by: Beniamino Galvani <b.galvani@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/arm/Kconfig | 9 ++ arch/arm/Makefile | 1 + arch/arm/dts/Makefile | 2 + arch/arm/dts/meson-gxbb-odroidc2.dts | 69 +++++++++++++ arch/arm/dts/meson-gxbb.dtsi | 178 +++++++++++++++++++++++++++++++++ arch/arm/include/asm/arch-meson/gxbb.h | 52 ++++++++++ arch/arm/mach-meson/Kconfig | 31 ++++++ arch/arm/mach-meson/Makefile | 7 ++ arch/arm/mach-meson/board.c | 66 ++++++++++++ board/hardkernel/odroid-c2/Kconfig | 12 +++ board/hardkernel/odroid-c2/MAINTAINERS | 6 ++ board/hardkernel/odroid-c2/Makefile | 7 ++ board/hardkernel/odroid-c2/README | 60 +++++++++++ board/hardkernel/odroid-c2/odroid-c2.c | 51 ++++++++++ configs/odroid-c2_defconfig | 23 +++++ drivers/serial/Kconfig | 15 +++ drivers/serial/Makefile | 1 + drivers/serial/serial_meson.c | 162 ++++++++++++++++++++++++++++++ include/configs/odroid-c2.h | 51 ++++++++++ 19 files changed, 803 insertions(+) ------------------------------------------------------------------------------- commit 0e1a3e30deb089cba3f1c01a48443cf8a86b5398 Author: Beniamino Galvani <b.galvani@gmail.com> Date: 2016-05-08 08:30:15 +0200 net: designware: fix descriptor layout and warnings on 64-bit archs All members of the DMA descriptor must be 32-bit, even on 64-bit architectures: change the type to u32 to ensure this. Also, fix other warnings. Signed-off-by: Beniamino Galvani <b.galvani@gmail.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com> Reviewed-by: Simon Glass <sjg@chromium.org> [trini: Use phys_addr_t not unsigned long long to test that we're within DMA'able memory] Signed-off-by: Tom Rini <trini@konsulko.com> Base directory -> / drivers/net/designware.c | 59 ++++++++++++++++++++++++++---------------------- drivers/net/designware.h | 4 ++-- 2 files changed, 34 insertions(+), 29 deletions(-) ------------------------------------------------------------------------------- commit 5a07abb3705f561221e7ae351beba746b6ae6eb7 Author: Beniamino Galvani <b.galvani@gmail.com> Date: 2016-05-08 08:30:14 +0200 arm: implement generic PSCI reset call for armv8 Add a psci_system_reset() which calls the SYSTEM_RESET function of PSCI 0.2 and can be used by boards that support it to implement reset_cpu(). Signed-off-by: Beniamino Galvani <b.galvani@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/arm/cpu/armv8/fwcall.c | 16 ++++++++++++++++ arch/arm/include/asm/psci.h | 17 ++++++++++++++++- arch/arm/include/asm/system.h | 2 ++ 3 files changed, 34 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 20898ea9340a4fd1631a4057b8de011b9f166255 Author: Alexander Graf <agraf@suse.de> Date: 2016-05-06 21:01:07 +0200 distro: Add efi pxe boot code Now that we can expose network functionality to EFI applications, the logical next step is to load them via pxe to execute them as well. This patch adds the necessary bits to the distro script to automatically load and execute EFI payloads. It identifies the dhcp client as a uEFI capable PXE client, hoping the server returns a tftp path to a workable EFI binary that we can then execute. To enable boards that don't come with a working device tree preloaded, this patch also adds support to load a device tree from the /dtb directory on the remote tftp server. Signed-off-by: Alexander Graf <agraf@suse.de> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / include/config_distro_bootcmd.h | 47 ++++++++++++++++++++++++++++++++++++++++- net/bootp.c | 13 ++++++++++-- 2 files changed, 57 insertions(+), 3 deletions(-) ------------------------------------------------------------------------------- commit 210be5c4cb0e1bf22bd0e0438cc8e52e3ccbcf5e Author: Alexander Graf <agraf@suse.de> Date: 2016-05-06 21:01:05 +0200 net: Move CONFIG_SPL_NET_VCI_STRING into Kconfig This patch also adds the SPL time VCI string into Kconfig. Signed-off-by: Alexander Graf <agraf@suse.de> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / configs/am335x_evm_defconfig | 1 + configs/am335x_evm_nor_defconfig | 1 + configs/am335x_evm_norboot_defconfig | 1 + configs/am335x_evm_spiboot_defconfig | 1 + configs/am335x_evm_usbspl_defconfig | 1 + configs/am335x_sl50_defconfig | 1 + configs/am437x_gp_evm_defconfig | 1 + configs/am437x_sk_evm_defconfig | 1 + configs/am43xx_evm_defconfig | 1 + configs/am43xx_evm_ethboot_defconfig | 1 + configs/am43xx_evm_qspiboot_defconfig | 1 + configs/am43xx_evm_usbhost_boot_defconfig | 1 + configs/birdland_bav335a_defconfig | 1 + configs/birdland_bav335b_defconfig | 1 + configs/pcm051_rev1_defconfig | 1 + configs/pcm051_rev3_defconfig | 1 + net/Kconfig | 3 +++ 17 files changed, 19 insertions(+) ------------------------------------------------------------------------------- commit fa96f37ec5835aa685f7beb0af4fef12e9001027 Author: Alexander Graf <agraf@suse.de> Date: 2016-05-06 21:01:04 +0200 net: Fix client identifiers for ARM There are client identifiers specifically reserved for ARM U-Boot according to http://www.ietf.org/assignments/dhcpv6-parameters/dhcpv6-parameters.xml#processor-architecture. So let's actually make use of them rather than the bogus 0x100 that we emitted so far. Signed-off-by: Alexander Graf <agraf@suse.de> Reviewed-by: Tom Rini <trini@konsulko.com> [trini: Drop the Xilinx define to 0x100 as it's not the correct value to use]. Signed-off-by: Tom Rini <trini@konsulko.com> Base directory -> / include/configs/xilinx_zynqmp.h | 1 - net/Kconfig | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit 3c27b6ad540828c44a62d209030df5ba86896df0 Author: Simon Glass <sjg@chromium.org> Date: 2016-05-14 14:03:11 -0600 dm: rockchip: Enable CONFIG_BLK Enable CONFIG_BLK to move to using driver model for block devices. This affects MMC booting in SPL, as well as MMC access in U-Boot proper. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/arm/mach-rockchip/Kconfig | 3 +++ 1 file changed, 3 insertions(+) ------------------------------------------------------------------------------- commit e6c28073f94be357d8e55beefd67ccf0c925c90e Author: Simon Glass <sjg@chromium.org> Date: 2016-05-14 14:03:10 -0600 dm: mmc: Use cfg directly in mmc_bind() This small change tidies up the code slightly. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/mmc/mmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit e419a3ec1aa3f094268976b6c10e9b636a97c64d Author: Simon Glass <sjg@chromium.org> Date: 2016-05-14 14:03:09 -0600 dm: mmc: Fix up mmc_bread/bwrite() prototypes for SPL When these functions are not compiled in, we still need to declare the correct function signature to avoid a build warnings in SPL. Fix this. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/mmc/mmc_private.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) ------------------------------------------------------------------------------- commit f6e41d17ababd72479d2dfdb40be63beb359de1d Author: Simon Glass <sjg@chromium.org> Date: 2016-05-14 14:03:08 -0600 dm: rockchip: mmc: Allow use of CONFIG_BLK Allow driver model to be used for block devices in the rockchip mmc driver. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/mmc/rockchip_dw_mmc.c | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) ------------------------------------------------------------------------------- commit 5e6ff810c3bfeec2e81cc1117a2c1514416d947d Author: Simon Glass <sjg@chromium.org> Date: 2016-05-14 14:03:07 -0600 dm: mmc: dwmmc: Support CONFIG_BLK Add support for using driver model for block devices in this driver. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/mmc/dw_mmc.c | 42 ++++++++++++++++++++++++++++-------------- include/dwmmc.h | 7 ++++++- 2 files changed, 34 insertions(+), 15 deletions(-) ------------------------------------------------------------------------------- commit ef5609c33fc6a8323613a296f08c8efa3161d77f Author: Simon Glass <sjg@chromium.org> Date: 2016-05-14 14:03:06 -0600 dm: mmc: spl: Add support for CONFIG_BLK Allow driver model to be used for block devices in SPL. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / common/spl/spl_mmc.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) ------------------------------------------------------------------------------- commit 487d756f78629f5e9465c7ace2c14ef51401bc3b Author: Simon Glass <sjg@chromium.org> Date: 2016-05-14 14:03:05 -0600 dm: efi: Update for CONFIG_BLK This code does not currently build with driver model enabled for block devices. Update it to correct this. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Alexander Graf <agraf@suse.de> Base directory -> / include/efi_loader.h | 2 +- lib/efi_loader/efi_disk.c | 61 +++++++++++++++++++++++++++++++++++------------ 2 files changed, 47 insertions(+), 16 deletions(-) ------------------------------------------------------------------------------- commit 19d2e34237d5c077b2dc395522a1559e4b5c62df Author: Simon Glass <sjg@chromium.org> Date: 2016-05-14 14:03:04 -0600 dm: mmc: Convert sdhci to support CONFIG_BLK Update sdhci.c so that it works with driver model enabled for block devices. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/mmc/sdhci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 5461acba44b7da8292ba2cbeaf961279d9b8c187 Author: Simon Glass <sjg@chromium.org> Date: 2016-05-14 14:03:03 -0600 dm: env: mmc: Convert env_mmc to support CONFIG_BLK Update the MMC environment code so that it works with driver-model enabled for block devices. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / common/env_mmc.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) ------------------------------------------------------------------------------- commit 3c2d75269cb4c94c445be2f77adcbca4add70893 Author: Simon Glass <sjg@chromium.org> Date: 2016-05-14 14:03:02 -0600 rockchip: Drop SPL GPIO support for rk3288 This is not currently used and saves a little over 1KB of SPL image size. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / include/configs/rk3288_common.h | 1 - 1 file changed, 1 deletion(-) ------------------------------------------------------------------------------- commit b55e04a021ee256aaba118a547f13a4722538623 Author: Simon Glass <sjg@chromium.org> Date: 2016-05-14 14:03:01 -0600 rockchip: video: Flush the cache when the display is updated Enable this option to correct display artifacts when a write-back cache is in use. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/video/rockchip/rk_vop.c | 1 + 1 file changed, 1 insertion(+) ------------------------------------------------------------------------------- commit 56d6977121732e4efe6cd48872e874e40f4916a0 Author: Simon Glass <sjg@chromium.org> Date: 2016-05-14 14:03:00 -0600 rockchip: Drop unnecessary SPL properties While we consider whether to drop use of DT in SPL, remove some unwanted properties. This reduces SPL size by about 250 bytes. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / configs/firefly-rk3288_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 9217d93bc45668815ebaab0ad9280ace166b7348 Author: Simon Glass <sjg@chromium.org> Date: 2016-05-14 14:02:59 -0600 rockchip: Check image name for the rksd image We need a correct name (rk3288, rk3036) so check this to avoid a crash later. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / tools/rkimage.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) ------------------------------------------------------------------------------- commit 2ed6dc83380ea2f49ec09556c14c6eddd3f5c27a Author: Sjoerd Simons <sjoerd.simons@collabora.co.uk> Date: 2016-02-28 22:25:03 +0100 rockchip: rock2: dts: use status = "okay" not ok u-boot only recognize okay to enable a node (Linux seems to be more lenient here). So use okay instead. Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/arm/dts/rk3288-rock2-square.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 1c09a7fb9831278849eae4dfb153ddd570eb8c4c Author: Sjoerd Simons <sjoerd.simons@collabora.co.uk> Date: 2016-02-28 22:25:02 +0100 rockchip: rk3288-firefly: Add gmac definition Add a definition for the gmac interface to the firefly device-tree. Copied verbatim from the linux kernel. Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> Acked-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/arm/dts/rk3288-firefly.dtsi | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) ------------------------------------------------------------------------------- commit 2f3920047ae7d70fef7bb9a0c7c5c0eee677d9f7 Author: Sjoerd Simons <sjoerd.simons@collabora.co.uk> Date: 2016-02-28 22:25:00 +0100 rockchip: rk3288: grf: Define GRF_SOC_CON1 and GRF_SOC_CON3 Add definitions for GRF_SOC_CON1 and GRF_SOC_CON3 which contain various GMAC related fields. Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/arm/include/asm/arch-rockchip/grf_rk3288.h | 53 +++++++++++++++++++++++++ 1 file changed, 53 insertions(+) ------------------------------------------------------------------------------- commit 0aefc0b0c7eba963c88eca893a546f3e786615ac Author: Sjoerd Simons <sjoerd.simons@collabora.co.uk> Date: 2016-02-28 22:24:59 +0100 rockchip: rk3288: Add clock support for the gmac ethernet interface Setup the clocks for the gmac ethernet interface. This assumes the mac clock is fed by an external clock which is common on RK3288 based devices. Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/arm/include/asm/arch-rockchip/cru_rk3288.h | 17 +++++++++++++++++ drivers/clk/clk_rk3288.c | 14 ++++++++++++++ 2 files changed, 31 insertions(+) ------------------------------------------------------------------------------- commit 70f7a2cdac6a7f75f27848d689a13ca244b0792b Author: Sjoerd Simons <sjoerd.simons@collabora.co.uk> Date: 2016-02-28 22:24:58 +0100 rockchip: rk3288: pinctrl: support more pins The rgmii_pins node in rk3288.dtsi configures 15 pins. Increase the size of the cell array to accomedate that, otherwise only the first 10 get configured. Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/pinctrl/rockchip/pinctrl_rk3288.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 90b7fc924adfe7f1745dcf6a1dabb9e77aa762a7 Author: Sjoerd Simons <sjoerd.simons@collabora.co.uk> Date: 2016-02-28 22:24:55 +0100 net: designware: support phy reset device-tree bindings Add support for the snps,reset-gpio, snps,reset-active-low (optional) and snps,reset-delays-us device-tree bindings. The combination of these three define how the PHY should be reset to ensure it's in a sane state. Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/net/designware.c | 76 ++++++++++++++++++++++++++++++++++++++++++++---- drivers/net/designware.h | 10 +++++++ 2 files changed, 80 insertions(+), 6 deletions(-) ------------------------------------------------------------------------------- commit 0dac6b4e850cdd934f9b04cecc79fc395127ab29 Author: Alexander Graf <agraf@suse.de> Date: 2016-05-06 21:01:03 +0200 net: Move the VCI and client arch values to Kconfig We have a bunch of boards that define their vendor class identifier and client archs in the board files or in the distro config. Move everything to the generic Kconfig options. We're missing the distinction between i386 and x86_64, as I couldn't find any config variable that would tell us the difference. Is that really important to people? I guess not, so I left it out. Signed-off-by: Alexander Graf <agraf@suse.de> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / configs/ls2080a_emu_defconfig | 1 + configs/ls2080a_simu_defconfig | 1 + configs/thunderx_88xx_defconfig | 1 + configs/vexpress_aemv8a_dram_defconfig | 1 + configs/vexpress_aemv8a_juno_defconfig | 1 + configs/vexpress_aemv8a_semi_defconfig | 1 + configs/vexpress_ca15_tc2_defconfig | 1 + configs/vexpress_ca5x2_defconfig | 1 + configs/vexpress_ca9x4_defconfig | 1 + include/config_distro_defaults.h | 21 --------------------- include/configs/ls2080a_emu.h | 1 - include/configs/ls2080a_simu.h | 1 - include/configs/thunderx_88xx.h | 2 -- include/configs/vexpress_aemv8a.h | 2 -- include/configs/vexpress_ca15_tc2.h | 1 - include/configs/vexpress_ca5x2.h | 1 - include/configs/vexpress_ca9x4.h | 1 - net/Kconfig | 12 ++++++++++++ 18 files changed, 21 insertions(+), 30 deletions(-) ------------------------------------------------------------------------------- commit 4570a993d5f330ab05081f7b1070da9bcde9289e Author: Alexander Graf <agraf@suse.de> Date: 2016-05-06 21:01:02 +0200 bootp: Move vendor class identifier set to function Both the dhcp as well as the bootp case add vendor class identifier parameters into their packets. Let's move that into a separate function to make overlaying easier. Signed-off-by: Alexander Graf <agraf@suse.de> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / net/bootp.c | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) ------------------------------------------------------------------------------- commit 0efe1bcf5c2ce89d7c2467550e2823d7f95733e0 Author: Alexander Graf <agraf@suse.de> Date: 2016-05-06 21:01:01 +0200 efi_loader: Add network access support We can now successfully boot EFI applications from disk, but users may want to also run them from a PXE setup. This patch implements rudimentary network support, allowing a payload to send and receive network packets. With this patch, I was able to successfully run grub2 with network access inside of QEMU's -M xlnx-ep108. Signed-off-by: Alexander Graf <agraf@suse.de> Base directory -> / cmd/bootefi.c | 7 ++ include/efi_api.h | 119 +++++++++++++++++++ include/efi_loader.h | 7 ++ include/net.h | 2 +- lib/efi_loader/Makefile | 1 + lib/efi_loader/efi_net.c | 291 +++++++++++++++++++++++++++++++++++++++++++++++ net/bootp.c | 2 + net/net.c | 4 +- net/tftp.c | 2 + 9 files changed, 432 insertions(+), 3 deletions(-) ------------------------------------------------------------------------------- commit 7e6621a1cae2d2442d3d7641ff1df17b3f03ad4b Author: Heiko Schocher <hs@denx.de> Date: 2016-05-06 07:33:51 +0200 test/py: fix NameError exception if bdi cmd is not supported test/py raises an error, if a board has not enabled bdi command > pytest.skip('bdinfo command not supported') E NameError: global name 'pytest' is not defined import pytest in test/py/u_boot_utils.py fixes this. Signed-off-by: Heiko Schocher <hs@denx.de> Reviewed-by: Stephen Warren <swarren@nvidia.com> Base directory -> / test/py/u_boot_utils.py | 1 + 1 file changed, 1 insertion(+) ------------------------------------------------------------------------------- commit dafd64888c21abc43edbe7634b8edaacf9e2fe5c Author: Kunihiko Hayashi <hayashi.kunihiko@socionext.com> Date: 2016-05-04 14:20:04 +0900 cmd: replace the cast of the memory access to a fixed bit type in itest This patch fixes a bug that long word(.l) memory access in 'itest' command reads the 8bytes of the actual memory on 64-bit architecture. The cast to the memory pointer should use a fixed bit type. Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Stefan Roese <sr@denx.de> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / cmd/itest.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) ------------------------------------------------------------------------------- commit a565386762162019c297b8537f17bb3f4d4d4d88 Author: Patrick Delaunay <patrick.delaunay73@gmail.com> Date: 2016-05-02 14:43:33 +0200 disk: part_efi: fix check of the max partition size the last value acceptable value for offset is last_usable_lba + 1 and not last_usable_lba - 1 issue found with SDCARD partition commands on u-boot 2015.10 but this part of code don't change 1- create GPT partion on all the card > gpt write mmc 0 name=test,start=0,size=0 > part list mmc 0 Partition Map for MMC device 0 -- Partition Type: EFI Part Start LBA End LBA Name Attributes Type GUID Partition GUID 1 0x00000022 0x003a9fde "test" attrs: 0x0000000000000000 type: ebd0a0a2-b9e5-4433-87c0-68b6b72699c7 type: data guid: b710eb04-45b9-e94a-8d0b-21458d596f54 => Start = 0x22*512 = 0x4400 => Size = (0x003a9fde-0x22+1) * 512 = 0x753F7A00 2- try to recreate the same partition with the next command (block size:512 bytes = 0x200) > gpt write mmc 0 name=test,start=0x4400,size=0x753F7A00 Writing GPT: Partitions layout exceds disk size > gpt write mmc 0 name=test,start=0x4400,size=0x753F7800 Writing GPT: Partitions layout exceds disk size > gpt write mmc 0 name=test,start=0x4400,size=0x753F7600 Writing GPT: success! Partition Map for MMC device 0 -- Partition Type: EFI Part Start LBA End LBA Name Attributes Type GUID Partition GUID 1 0x00000022 0x003a9fdc "test" attrs: 0x0000000000000000 type: ebd0a0a2-b9e5-4433-87c0-68b6b72699c7 type: data guid: 36ec30ef-7ca4-cd48-97cd-ea9fb95185d0 the max LBA when the size is indicated (0x003a9fdc) is lower than when u-boot compute the max allowed value with size=0 (0x003a9fde) in the code : /* partition ending lba */ if ((i == parts - 1) && (partitions[i].size == 0)) /* extend the last partition to maximuim */ gpt_e[i].ending_lba = gpt_h->last_usable_lba; else gpt_e[i].ending_lba = cpu_to_le64(offset - 1); so offset = gpt_h->last_usable_lba + 1 is acceptable ! but the test (offset >= last_usable_lba) cause the error END Signed-off-by: Patrick Delaunay <patrick.delaunay73@gmail.com>disk: part_efi: fix check of the max partition size the last value acceptable value for offset is (last_usable_lba + 1) and not (last_usable_lba - 1) issue found with SDCARD partition commands on u-boot 2015.10 but this part of code don't change 1- I create GPT partion on all the card (start and size undefined) > gpt write mmc 0 name=test,start=0,size=0 > part list mmc 0 Partition Map for MMC device 0 -- Partition Type: EFI Part Start LBA End LBA Name Attributes Type GUID Partition GUID 1 0x00000022 0x003a9fde "test" attrs: 0x0000000000000000 type: ebd0a0a2-b9e5-4433-87c0-68b6b72699c7 type: data guid: b710eb04-45b9-e94a-8d0b-21458d596f54 => Start = 0x22*512 = 0x4400 => Size = (0x003a9fde-0x22+1) * 512 = 0x753F7A00 2- I try to recreate the same partition with the command gpt write and with start and size values (block size:512 bytes = 0x200) > gpt write mmc 0 name=test,start=0x4400,size=0x753F7A00 Writing GPT: Partitions layout exceds disk size > gpt write mmc 0 name=test,start=0x4400,size=0x753F7800 Writing GPT: Partitions layout exceds disk size > gpt write mmc 0 name=test,start=0x4400,size=0x753F7600 Writing GPT: success! I check the partition created : > part list mmc 0 Partition Map for MMC device 0 -- Partition Type: EFI Part Start LBA End LBA Name Attributes Type GUID Partition GUID 1 0x00000022 0x003a9fdc "test" attrs: 0x0000000000000000 type: ebd0a0a2-b9e5-4433-87c0-68b6b72699c7 type: data guid: 36ec30ef-7ca4-cd48-97cd-ea9fb95185d0 => but the max LBA when the size is indicated (0x003a9fdc) is lower than when u-boot compute the max allowed value with size=0 (0x003a9fde) 3- in the code, just after my patch, line 446 /* partition ending lba */ if ((i == parts - 1) && (partitions[i].size == 0)) /* extend the last partition to maximuim */ gpt_e[i].ending_lba = gpt_h->last_usable_lba; else gpt_e[i].ending_lba = cpu_to_le64(offset - 1); so offset = gpt_h->last_usable_lba + 1 is acceptable ! (it the value used when size is 0) but today the test (offset >= last_usable_lba) cause the error my patch only solve this issue END Signed-off-by: Patrick Delaunay <patrick.delaunay73@gmail.com> Base directory -> / disk/part_efi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 04681cb3a4d2ef5351f94132e325fb8841d37961 Author: Marek Vasut <marex@denx.de> Date: 2016-05-01 00:35:54 +0200 cmd: disk: Fix unused variable warning If serial support is not compiled into U-Boot, which may be the case for some SPL builds, the following warning will be generated in disk.c: cmd/disk.c: In function 'common_diskboot': cmd/disk.c:16:6: warning: variable 'dev' set but not used [-Wunused-but-set-variable] int dev, part; ^ The warning is a result of printf() calls being optimized away, and thus the whole dev variable becomes indeed unused. Mark the variable as __maybe_unused . Signed-off-by: Marek Vasut <marex@denx.de> Cc: Simon Glass <sjg@chromium.org> Cc: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / cmd/disk.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 90a7417602e89889a703538e47e323051ecea1fd Author: Michal Simek <michal.simek@xilinx.com> Date: 2016-04-28 10:36:11 +0200 SPL: FIT: Align loading address for header If bl_len is not aligned it can caused a problem because another code expects that start is aligned. Signed-off-by: Michal Simek <michal.simek@xilinx.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / common/spl/spl_fit.c | 1 + 1 file changed, 1 insertion(+) ------------------------------------------------------------------------------- commit 71db3270dbee381ebdbc183cf88dde46d9a59afb Author: mario.six@gdsys.cc <mario.six@gdsys.cc> Date: 2016-04-25 15:25:37 +0200 dm: gpio: pca953x: Support PCA953X with 40 GPIOs A DM driver for PCA953x was recently introduced by Peng Fan, which lacked support for the 40 GPIO versions. This patch adds support for these chips. Signed-off-by: Mario Six <mario.six@gdsys.cc> Reviewed-by: Peng Fan <van.freenix@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/gpio/pca953x_gpio.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) ------------------------------------------------------------------------------- commit f71cee4bfc9a8f9be40a49ec2da84f4344e398fc Author: Andreas Fenkart <andreas.fenkart@digitalstrom.com> Date: 2016-04-19 22:43:42 +0200 tools/env: compute size of usable area only once for double buffering to work, redundant buffers must have equal size Signed-off-by: Andreas Fenkart <andreas.fenkart@digitalstrom.com> Base directory -> / tools/env/fw_env.c | 32 ++++++++++++++++++-------------- 1 file changed, 18 insertions(+), 14 deletions(-) ------------------------------------------------------------------------------- commit cedb341e7f44f4686c8c0afb149a9f7940be110a Author: Andreas Fenkart <andreas.fenkart@digitalstrom.com> Date: 2016-04-19 22:43:41 +0200 tools/env: fw_printenv pass value_only as argument Signed-off-by: Andreas Fenkart <andreas.fenkart@digitalstrom.com> Base directory -> / tools/env/fw_env.c | 6 +++--- tools/env/fw_env.h | 4 ++-- tools/env/fw_env_main.c | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) ------------------------------------------------------------------------------- commit c3a23e8b5f7c13d9de389d25d756a7da64bc5144 Author: Andreas Fenkart <andreas.fenkart@digitalstrom.com> Date: 2016-04-19 22:43:40 +0200 tools/env: remove 'extern' from function prototype in fw_env.h checkpatch complains about in succeding patch. Prefer to fix all declarations in a dedicated patch. Signed-off-by: Andreas Fenkart <andreas.fenkart@digitalstrom.com> Base directory -> / tools/env/fw_env.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) ------------------------------------------------------------------------------- commit dcdc1f6a9bd8abaa41b5eacd9310787cf96f4c4e Author: Andreas Fenkart <andreas.fenkart@digitalstrom.com> Date: 2016-04-19 22:43:39 +0200 tools/env: pass key as argument to env_aes_cbc_crypt Signed-off-by: Andreas Fenkart <andreas.fenkart@digitalstrom.com> Base directory -> / tools/env/fw_env.c | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) ------------------------------------------------------------------------------- commit 61fe076f0fceaa00bcbb8901504aedf1d1096293 Author: Simon Glass <sjg@chromium.org> Date: 2016-05-14 14:02:57 -0600 mmc: Use byte array for multipliers We don't need an int since no value is over 80. This saves a small amount of SPL space (about 44 bytes). Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/mmc/mmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 9cf7b1a74c8c17145e39d34893cce763e098efd2 Author: Simon Glass <sjg@chromium.org> Date: 2016-05-14 14:02:56 -0600 mmc: Drop dead mmc code for non-generic MMC All boards that use MMC define CONFIG_GENERIC_MMC now, so we can drop this old code. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / cmd/mmc.c | 62 ----------------------------------------------------------- include/mmc.h | 4 ---- 2 files changed, 66 deletions(-) ------------------------------------------------------------------------------- commit e98dd20ccec30311dddd165f945c7ce0dedef6db Author: Simon Glass <sjg@chromium.org> Date: 2016-05-14 14:02:55 -0600 mmc: Drop mmc_register() This function is no longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/mmc/mmc.c | 9 --------- include/mmc.h | 1 - 2 files changed, 10 deletions(-) ------------------------------------------------------------------------------- commit 5c0862155c883b9e134fae72d25f1b5a93260510 Author: Simon Glass <sjg@chromium.org> Date: 2016-05-14 14:02:54 -0600 reset: Drop the reset failure message This adds to code size and is not needed, since hang() will print a message. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/misc/sysreset-uclass.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 5c411d88be8df5f6a8a1ea0c961f7c35ba82c064 Author: Simon Glass <sjg@chromium.org> Date: 2016-05-14 14:02:53 -0600 tiny-printf: Support snprintf() Add a simple version of this function for SPL. It does not check the buffer size as this would add to the code size. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Stefan Roese <sr@denx.de> Base directory -> / lib/tiny-printf.c | 27 +++++++++++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit 1fb67608b309bd7f49842fbdfb1dc2b18a250965 Author: Simon Glass <sjg@chromium.org> Date: 2016-05-14 14:02:52 -0600 tiny-printf: Tidy up a few nits - Rename 'w' to 'width' to make it more obvious what it is used for - Use bool and int types instead of char to avoid register-masking on 32-bit machines Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Stefan Roese <sr@denx.de> Base directory -> / lib/tiny-printf.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) ------------------------------------------------------------------------------- commit d0375f3cc55ce740836f9ba6fe081ed0fdc19a3c Author: Simon Glass <sjg@chromium.org> Date: 2015-08-07 07:42:22 -0600 arm: rpi: Define CONFIG_TFTP_TSIZE to show tftp size info This shows a proper progress display and the total amount of data transferred. Enable it for Raspberry Pi. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Stephen Warren <swarren@wwwdotorg.org> Base directory -> / include/configs/rpi.h | 1 + 1 file changed, 1 insertion(+) ------------------------------------------------------------------------------- commit 8961b524240f40ac2fefcdee0818af10899832f2 Author: Stephen Warren <swarren@nvidia.com> Date: 2016-05-16 17:41:37 -0600 mailbox: implement a sandbox test This adds a sandbox mailbox implementation (provider), a test client device, instantiates them both from Sandbox's DT, and adds a DM test that excercises everything. Signed-off-by: Stephen Warren <swarren@nvidia.com> Acked-by: Simon Glass <sjg@chromium.org> # v1 Base directory -> / arch/sandbox/dts/test.dts | 11 ++++ arch/sandbox/include/asm/mbox.h | 21 ++++++++ configs/sandbox_defconfig | 3 ++ drivers/mailbox/Kconfig | 7 +++ drivers/mailbox/Makefile | 2 + drivers/mailbox/sandbox-mbox-test.c | 54 +++++++++++++++++++ drivers/mailbox/sandbox-mbox.c | 104 ++++++++++++++++++++++++++++++++++++ test/dm/Makefile | 1 + test/dm/mailbox.c | 31 +++++++++++ 9 files changed, 234 insertions(+) ------------------------------------------------------------------------------- commit 6238935d018042d332aa7e90eae3addfeb11abdc Author: Stephen Warren <swarren@nvidia.com> Date: 2016-05-13 15:50:29 -0600 Add a mailbox driver framework/uclass A mailbox is a hardware mechanism for transferring small message and/or notifications between the CPU on which U-Boot runs and some other device such as an auxilliary CPU running firmware or a hardware module. This patch defines a standard API that connects mailbox clients to mailbox providers (drivers). Initially, DT is the only supported method for connecting the two. The DT binding specification (mailbox.txt) was taken from Linux kernel v4.5's Documentation/devicetree/bindings/mailbox/mailbox.txt. Signed-off-by: Stephen Warren <swarren@nvidia.com> Acked-by: Simon Glass <sjg@chromium.org> Base directory -> / doc/device-tree-bindings/mailbox/mailbox.txt | 32 ++++++ drivers/Kconfig | 2 + drivers/Makefile | 1 + drivers/mailbox/Kconfig | 13 +++ drivers/mailbox/Makefile | 5 + drivers/mailbox/mailbox-uclass.c | 145 ++++++++++++++++++++++++++ include/dm/uclass-id.h | 1 + include/mailbox_client.h | 149 +++++++++++++++++++++++++++ include/mailbox_uclass.h | 83 +++++++++++++++ 9 files changed, 431 insertions(+) ------------------------------------------------------------------------------- commit 11636258981a083957c19f3979796fde5e7e8080 Author: Stephen Warren <swarren@nvidia.com> Date: 2016-05-12 12:03:35 -0600 Rename reset to sysreset The current reset API implements a method to reset the entire system. In the near future, I'd like to introduce code that implements the device tree reset bindings; i.e. the equivalent of the Linux kernel's reset API. This controls resets to individual HW blocks or external chips with reset signals. It doesn't make sense to merge the two APIs into one since they have different semantic purposes. Resolve the naming conflict by renaming the existing reset API to sysreset instead, so the new reset API can be called just reset. Signed-off-by: Stephen Warren <swarren@nvidia.com> Acked-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/arm/lib/Makefile | 2 +- arch/arm/mach-rockchip/rk3036/reset_rk3036.c | 20 +++--- arch/arm/mach-rockchip/rk3288/reset_rk3288.c | 20 +++--- arch/arm/mach-snapdragon/reset.c | 18 ++--- arch/sandbox/cpu/state.c | 4 +- arch/sandbox/include/asm/state.h | 6 +- configs/chromebook_jerry_defconfig | 2 +- configs/dragonboard410c_defconfig | 2 +- configs/evb-rk3036_defconfig | 2 +- configs/firefly-rk3288_defconfig | 2 +- configs/kylin-rk3036_defconfig | 2 +- configs/rock2_defconfig | 2 +- configs/sandbox_defconfig | 2 +- configs/sandbox_noblk_defconfig | 2 +- drivers/clk/clk_rk3036.c | 2 +- drivers/clk/clk_rk3288.c | 2 +- drivers/misc/Kconfig | 10 +-- drivers/misc/Makefile | 4 +- drivers/misc/reset-uclass.c | 81 --------------------- drivers/misc/reset_sandbox.c | 100 -------------------------- drivers/misc/sysreset-uclass.c | 81 +++++++++++++++++++++ drivers/misc/sysreset_sandbox.c | 101 +++++++++++++++++++++++++++ include/dm/uclass-id.h | 2 +- include/reset.h | 71 ------------------- include/sysreset.h | 71 +++++++++++++++++++ test/dm/Makefile | 2 +- test/dm/reset.c | 74 -------------------- test/dm/sysreset.c | 74 ++++++++++++++++++++ 28 files changed, 381 insertions(+), 380 deletions(-) ------------------------------------------------------------------------------- commit 6f82fac2f278173f5afe5b4b5dbc269646d11c0b Author: Stephen Warren <swarren@nvidia.com> Date: 2016-05-11 15:26:25 -0600 sunxi: gpio: convert bind() to use driver data Now that the DM core sets driver_data before calling bind(), this driver can make use of driver_data to determine the set of child devices to create, rather than manually re-implementing the matching logic in code. Cc: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Stephen Warren <swarren@nvidia.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Hans de Goede <hdegoede@redhat.com> Base directory -> / drivers/gpio/sunxi_gpio.c | 90 ++++++++++++++++++++++++++--------------------- 1 file changed, 50 insertions(+), 40 deletions(-) ------------------------------------------------------------------------------- commit daac3bfee57247013cb8373683e9babb191abd75 Author: Stephen Warren <swarren@nvidia.com> Date: 2016-05-11 15:26:24 -0600 dm: allow setting driver_data before/during bind This will allow a driver's bind function to use the driver data. One example is the Tegra186 GPIO driver, which instantiates child devices for each of its GPIO ports, yet supports two different HW instances each with a different set of ports, and identified by the udevice_id .data field. Signed-off-by: Stephen Warren <swarren@nvidia.com> Acked-by: Simon Glass <sjg@chromium.org> Base directory -> / doc/driver-model/README.txt | 23 ++++++++++++++--------- drivers/core/device.c | 25 ++++++++++++++++++++++--- drivers/core/lists.c | 4 ++-- include/dm/device-internal.h | 24 ++++++++++++++++++++++++ 4 files changed, 62 insertions(+), 14 deletions(-) ------------------------------------------------------------------------------- commit 086e13c5f6f79a68246d6b803cf4736cb6815e44 Author: Marek Vasut <marex@denx.de> Date: 2016-05-01 00:36:12 +0200 ARM: exynos: Disable serial support in SPL The exynos5 platforms use DM in U-Boot and do not use DM in SPL. The serial driver, serial_s5p.c, is DM-only. This is OK for U-Boot, but in SPL, this will fail with the following compile error: drivers/built-in.o: In function `get_current': ...u-boot/drivers/serial/serial.c:387: undefined reference to `default_serial_console' This warning happens because common/console.c is compiled into U-Boot SPL if CONFIG_SPL_SERIAL_SUPPORT . The common/console.c invokes serial_*() functions and since exynos5 does not use DM in SPL, these functions come from drivers/serial/serial.c . The serial_*() locate default serial port by calling default_serial_console(), but because the serial_s5p.c is DM-only, it does no longer define default_serial_console(). Thus the error. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Simon Glass <sjg@chromium.org> Cc: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com> Base directory -> / include/configs/exynos5-common.h | 1 - 1 file changed, 1 deletion(-) ------------------------------------------------------------------------------- commit c06bbab65b79c2a1c077d78269ed2bfa87f6e923 Author: Marek Vasut <marex@denx.de> Date: 2016-05-01 00:36:11 +0200 ARM: exynos: Fix build error if SERIAL is disabled in SPL If CONFIG_SPL_SERIAL_SUPPORT is not defined in include/configs/exynos5-common.h the following error is produced during the build of the SPL: arch/arm/mach-exynos/built-in.o: In function `do_lowlevel_init': ...u-boot/arch/arm/mach-exynos/lowlevel_init.c:221: undefined reference to `debug_uart_init' Add additional condition to check if SPL build is in progress and in that case check if CONFIG_SPL_SERIAL_SUPPORT is also set before enabling the debug UART. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Simon Glass <sjg@chromium.org> Cc: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com> Base directory -> / arch/arm/mach-exynos/lowlevel_init.c | 3 +++ 1 file changed, 3 insertions(+) ------------------------------------------------------------------------------- commit 6523dbf7cce8d8c903346f756e0e41e46ce6d6b9 Author: Tom Rini <trini@konsulko.com> Date: 2016-05-25 20:22:48 -0400 Merge branch 'master' of git://git.denx.de/u-boot-mips Base directory -> / Kconfig | 2 +- arch/mips/Kconfig | 4 + arch/mips/Makefile | 6 + arch/mips/dts/Makefile | 1 + arch/mips/dts/mti,malta.dts | 32 + arch/mips/include/asm/global_data.h | 8 - arch/mips/include/asm/jz4740.h | 1150 ----------------------- arch/mips/mach-ath79/ar933x/ddr.c | 2 + arch/mips/mach-ath79/include/mach/ar71xx_regs.h | 1 + arch/mips/mach-ath79/reset.c | 3 +- board/dbau1x00/Kconfig | 3 + board/imgtec/malta/Kconfig | 3 + board/imgtec/malta/malta.c | 13 - board/microchip/pic32mzda/Kconfig | 3 + board/micronas/vct/Kconfig | 3 + board/pb1x00/Kconfig | 3 + board/qca/ap121/Kconfig | 3 + board/qca/ap143/Kconfig | 3 + board/qemu-mips/Kconfig | 4 + board/tplink/wdr4300/Kconfig | 3 + common/fdt_support.c | 120 ++- configs/malta_defconfig | 2 + configs/maltael_defconfig | 2 + drivers/core/Kconfig | 23 + drivers/serial/ns16550.c | 10 +- include/configs/ap121.h | 2 - include/configs/ap143.h | 2 - include/configs/dbau1x00.h | 6 - include/configs/malta.h | 9 +- include/configs/pb1x00.h | 6 - include/configs/pic32mzdask.h | 1 - include/configs/qemu-mips.h | 1 - include/configs/qemu-mips64.h | 1 - include/configs/tplink_wdr4300.h | 2 - include/configs/vct.h | 1 - 35 files changed, 230 insertions(+), 1208 deletions(-) ------------------------------------------------------------------------------- commit 4349b55b9953d0bb591f13ca9985edf591348ced Author: Wills Wang <wills.wang@live.com> Date: 2016-05-22 11:59:49 +0800 mips: ath79: ar933x: Avoid warning with gcc5 GCC 5.3 report a warning: 'upper' and 'lower' may be used uninitialized in this function [-Wmaybe-uninitialized]. Compiler might need explicit initializer. Signed-off-by: Wills Wang <wills.wang@live.com> Base directory -> / arch/mips/mach-ath79/ar933x/ddr.c | 2 ++ 1 file changed, 2 insertions(+) ------------------------------------------------------------------------------- commit 42a3f3e6ebbac4d93892d2b870502743d7308988 Author: Wills Wang <wills.wang@live.com> Date: 2016-05-22 11:59:50 +0800 mips: ath79: ar933x: Fix ethernet PHY mismatch We need reset the Ethernet Switch analog part before operation, or the build-in Ethernet PHY don't work. Signed-off-by: Wills Wang <wills.wang@live.com> Acked-by: Marek Vasut <marex@denx.de> Base directory -> / arch/mips/mach-ath79/include/mach/ar71xx_regs.h | 1 + arch/mips/mach-ath79/reset.c | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 1ad3a6fb5b9eb8444281c3975de6c6b7e1549c53 Author: Marek Vasut <marex@denx.de> Date: 2016-05-25 02:17:07 +0200 mips: Drop JZ4740 remnants Remove the remnants of JZ4740 support. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> Cc: Paul Burton <paul.burton@imgtec.com> Base directory -> / arch/mips/include/asm/global_data.h | 8 - arch/mips/include/asm/jz4740.h | 1150 ----------------------------------- 2 files changed, 1158 deletions(-) ------------------------------------------------------------------------------- commit ecc9d26062c9dd6d0752c988a54b95453c20c749 Author: Marek Vasut <marex@denx.de> Date: 2016-05-25 02:17:42 +0200 mips: Allow overriding start.S in SPL Certain chips, like the JZ47xx, have extreme size constraints on the SPL size and require custom start.S . Allow overriding the start.S the same way ARM MXS does it. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> Cc: Paul Burton <paul.burton@imgtec.com> Base directory -> / arch/mips/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) ------------------------------------------------------------------------------- commit ec35e12331512cf5ed0f22005d7b6fb4ccc35969 Author: Paul Burton <paul.burton@imgtec.com> Date: 2016-05-17 11:56:39 +0100 MIPS: Move CONFIG_SYS_TEXT_BASE to Kconfig Move CONFIG_SYS_TEXT_BASE to Kconfig, and add default values in board Kconfig files matching what was present in their config headers. This will make it cleaner to conditionalise the value for Malta based on 32 vs 64 bit builds. Signed-off-by: Paul Burton <paul.burton@imgtec.com> Base directory -> / Kconfig | 2 +- board/dbau1x00/Kconfig | 3 +++ board/imgtec/malta/Kconfig | 3 +++ board/microchip/pic32mzda/Kconfig | 3 +++ board/micronas/vct/Kconfig | 3 +++ board/pb1x00/Kconfig | 3 +++ board/qca/ap121/Kconfig | 3 +++ board/qca/ap143/Kconfig | 3 +++ board/qemu-mips/Kconfig | 4 ++++ board/tplink/wdr4300/Kconfig | 3 +++ include/configs/ap121.h | 2 -- include/configs/ap143.h | 2 -- include/configs/dbau1x00.h | 6 ------ include/configs/malta.h | 1 - include/configs/pb1x00.h | 6 ------ include/configs/pic32mzdask.h | 1 - include/configs/qemu-mips.h | 1 - include/configs/qemu-mips64.h | 1 - include/configs/tplink_wdr4300.h | 2 -- include/configs/vct.h | 1 - 20 files changed, 29 insertions(+), 24 deletions(-) ------------------------------------------------------------------------------- commit 6242aa137427f6da6ca47e7a8c9a9f78ad63e00d Author: Paul Burton <paul.burton@imgtec.com> Date: 2016-05-17 07:43:28 +0100 malta: Use device model & tree for UART Make use of device model & device tree to probe the UART driver. This is the initial step in bringing Malta up to date with driver model, and allows for cleaner handling of the different I/O addresses for different system controllers by specifying the ISA bus address instead of a translated memory address. Signed-off-by: Paul Burton <paul.burton@imgtec.com> Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> Base directory -> / arch/mips/Kconfig | 4 ++++ arch/mips/dts/Makefile | 1 + arch/mips/dts/mti,malta.dts | 32 ++++++++++++++++++++++++++++++++ configs/malta_defconfig | 2 ++ configs/maltael_defconfig | 2 ++ include/configs/malta.h | 6 ------ 6 files changed, 41 insertions(+), 6 deletions(-) ------------------------------------------------------------------------------- commit 2e7eb12e5c81dedaff12b0cea2341dc681d8c726 Author: Paul Burton <paul.burton@imgtec.com> Date: 2016-05-17 07:43:27 +0100 malta: Tidy up UART address selection The address of the UART differs based upon the system controller because it's actually within the I/O port region, which is in a different location for each system controller. Rather than handling this as 2 UARTs with the correct one selected at runtime, use I/O port accessors for the UART such that access to it gets translated into the I/O port region automatically. Signed-off-by: Paul Burton <paul.burton@imgtec.com> Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> Base directory -> / board/imgtec/malta/malta.c | 13 ------------- include/configs/malta.h | 4 ++-- 2 files changed, 2 insertions(+), 15 deletions(-) ------------------------------------------------------------------------------- commit df8ec55d52c74a9c73df549da846f5e6c5acb5ab Author: Paul Burton <paul.burton@imgtec.com> Date: 2016-05-17 07:43:26 +0100 dm: ns16550: Don't map_physmem for I/O ports If the UART is to be accessed using I/O port accessors (inb & outb) then using map_physmem doesn't make sense, since it operates in a different memory space. Remove the call to map_physmem when CONFIG_SYS_NS16550_PORT_MAPPED is defined, allowing I/O port addresses to not be mangled by the incorrect mapping. Signed-off-by: Paul Burton <paul.burton@imgtec.com> Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> Base directory -> / drivers/serial/ns16550.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit 49717b18be6760cc560767ed3a0c72ecfd3cb076 Author: Paul Burton <paul.burton@imgtec.com> Date: 2016-05-17 07:43:25 +0100 fdt: Document the rest of struct of_bus Provide some documentation for the fields of struct of_bus, for consistency with that provided for the new match field. Signed-off-by: Paul Burton <paul.burton@imgtec.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / common/fdt_support.c | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) ------------------------------------------------------------------------------- commit 0a222d53d81cbd4f7a440a6f83e243a7b4e80544 Author: Paul Burton <paul.burton@imgtec.com> Date: 2016-05-17 07:43:24 +0100 fdt: Support for ISA busses Support ISA busses in much the same way as Linux does. This allows for ISA bus addresses to be translated, and only if CONFIG_OF_ISA_BUS is selected in order to avoid including the code in builds which won't need it. Signed-off-by: Paul Burton <paul.burton@imgtec.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / common/fdt_support.c | 101 +++++++++++++++++++++++++++++++++++++++++++++++++-- drivers/core/Kconfig | 23 ++++++++++++ 2 files changed, 121 insertions(+), 3 deletions(-) ------------------------------------------------------------------------------- commit f9a90ace21c52a5a6948b9f3a0d8fe088e47a595 Author: Andre Przywara <andre.przywara@arm.com> Date: 2016-05-25 09:48:14 +0100 arm64: fix arm64 Linux boot image header field sizes The arm64 Linux boot protocol [1] describes the fields in the Image header as being 64-bit little endian values. So fix the endianess conversion to use 64-bit sized operations, for both image_size and text_offset. Also we use a local variable for the image_size to avoid both writing to the header and also accessing it after we actually unmapped it. Signed-off-by: Andre Przywara <andre.przywara@arm.com> [1] https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/Documentation/arm64/booting.txt Base directory -> / cmd/bootm.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) ------------------------------------------------------------------------------- commit 82f2a144917d6cc5f8a9a49b1a1a15b0fb5742d5 Author: Tom Rini <trini@konsulko.com> Date: 2016-05-25 12:32:56 -0400 Merge branch 'master' of http://git.denx.de/u-boot-sunxi Base directory -> / arch/arm/Kconfig | 10 + arch/arm/dts/Makefile | 3 +- arch/arm/dts/a64.dtsi | 564 -------------------------- arch/arm/dts/pine64.dts | 62 --- arch/arm/dts/pine64_common.dtsi | 76 ---- arch/arm/dts/pine64_plus.dts | 63 --- arch/arm/dts/sun50i-a64-pine64-common.dtsi | 80 ++++ arch/arm/dts/sun50i-a64-pine64-plus.dts | 59 +++ arch/arm/dts/sun50i-a64-pine64.dts | 58 +++ arch/arm/dts/sun50i-a64.dtsi | 624 +++++++++++++++++++++++++++++ arch/arm/include/asm/arch-sunxi/spl.h | 8 +- arch/arm/mach-sunxi/Makefile | 1 + arch/arm/mach-sunxi/board.c | 9 + arch/arm/mach-sunxi/pmic_bus.c | 6 +- board/sunxi/Kconfig | 33 +- board/sunxi/board.c | 30 +- configs/A10-OLinuXino-Lime_defconfig | 11 - configs/A10s-OLinuXino-M_defconfig | 11 - configs/A13-OLinuXinoM_defconfig | 11 - configs/A13-OLinuXino_defconfig | 11 - configs/A20-OLinuXino-Lime2_defconfig | 11 - configs/A20-OLinuXino-Lime_defconfig | 11 - configs/A20-OLinuXino_MICRO_defconfig | 13 +- configs/A20-Olimex-SOM-EVB_defconfig | 13 +- configs/Ainol_AW1_defconfig | 11 - configs/Ampe_A76_defconfig | 11 - configs/Auxtek-T003_defconfig | 11 - configs/Auxtek-T004_defconfig | 11 - configs/Bananapi_defconfig | 11 - configs/Bananapro_defconfig | 11 - configs/CHIP_defconfig | 10 - configs/CSQ_CS908_defconfig | 10 - configs/Chuwi_V7_CW0825_defconfig | 11 - configs/Colombus_defconfig | 11 - configs/Cubieboard2_defconfig | 11 - configs/Cubieboard_defconfig | 11 - configs/Cubietruck_defconfig | 11 - configs/Cubietruck_plus_defconfig | 11 - configs/Empire_electronix_d709_defconfig | 11 - configs/Hummingbird_A31_defconfig | 10 - configs/Hyundai_A7HD_defconfig | 11 - configs/Itead_Ibox_A20_defconfig | 11 - configs/Lamobo_R1_defconfig | 11 - configs/Linksprite_pcDuino3_Nano_defconfig | 11 - configs/Linksprite_pcDuino3_defconfig | 11 - configs/Linksprite_pcDuino_defconfig | 11 - configs/MK808C_defconfig | 11 - configs/MSI_Primo73_defconfig | 11 - configs/MSI_Primo81_defconfig | 10 - configs/Marsboard_A10_defconfig | 11 - configs/Mele_A1000G_quad_defconfig | 10 - configs/Mele_A1000_defconfig | 11 - configs/Mele_I7_defconfig | 10 - configs/Mele_M3_defconfig | 11 - configs/Mele_M5_defconfig | 11 - configs/Mele_M9_defconfig | 10 - configs/Merrii_A80_Optimus_defconfig | 10 - configs/Mini-X_defconfig | 11 - configs/Orangepi_defconfig | 11 - configs/Orangepi_mini_defconfig | 11 - configs/Sinlinx_SinA31s_defconfig | 10 - configs/Sinlinx_SinA33_defconfig | 10 - configs/Sinovoip_BPI_M2_defconfig | 10 - configs/Sinovoip_BPI_M3_defconfig | 11 +- configs/UTOO_P66_defconfig | 11 - configs/Wexler_TAB7200_defconfig | 11 - configs/Wits_Pro_A20_DKT_defconfig | 11 - configs/Wobo_i5_defconfig | 11 - configs/Yones_Toptech_BD1078_defconfig | 11 - configs/Yones_Toptech_BS1078_V2_defconfig | 10 - configs/ba10_tv_box_defconfig | 11 - configs/colorfly_e708_q1_defconfig | 10 - configs/difrnce_dit4350_defconfig | 11 - configs/dserve_dsrv9703c_defconfig | 11 - configs/ga10h_v1_1_defconfig | 10 - configs/gt90h_v4_defconfig | 10 - configs/h8_homlet_v2_defconfig | 10 - configs/i12-tvbox_defconfig | 11 - configs/iNet_3F_defconfig | 11 - configs/iNet_3W_defconfig | 11 - configs/iNet_86VS_defconfig | 11 - configs/icnova-a20-swac_defconfig | 11 - configs/inet1_defconfig | 11 - configs/inet97fv2_defconfig | 11 - configs/inet98v_rev2_defconfig | 11 - configs/inet9f_rev03_defconfig | 11 - configs/jesurun_q5_defconfig | 11 - configs/mixtile_loftq_defconfig | 10 - configs/mk802_a10s_defconfig | 11 - configs/mk802_defconfig | 11 - configs/mk802ii_defconfig | 11 - configs/orangepi_2_defconfig | 11 - configs/orangepi_one_defconfig | 10 - configs/orangepi_pc_defconfig | 11 - configs/orangepi_plus_defconfig | 11 - configs/pine64_plus_defconfig | 11 +- configs/polaroid_mid2809pxe04_defconfig | 10 - configs/pov_protab2_ips9_defconfig | 11 - configs/q8_a13_tablet_defconfig | 11 - configs/q8_a23_tablet_800x480_defconfig | 10 - configs/q8_a33_tablet_1024x600_defconfig | 10 - configs/q8_a33_tablet_800x480_defconfig | 10 - configs/r7-tv-dongle_defconfig | 11 - configs/sunxi_Gemei_G9_defconfig | 11 - drivers/power/Kconfig | 80 ++-- drivers/power/Makefile | 1 + drivers/power/axp221.c | 27 +- drivers/power/axp809.c | 238 +++++++++++ drivers/power/axp818.c | 21 + include/axp809.h | 60 +++ include/axp818.h | 4 + include/axp_pmic.h | 4 + include/configs/sunxi-common.h | 30 +- 113 files changed, 1308 insertions(+), 1793 deletions(-) ------------------------------------------------------------------------------- commit 1b80e79586b0b777afa6a905961000c8495828cc Author: Tom Rini <trini@konsulko.com> Date: 2016-05-25 12:27:44 -0400 Merge branch 'master' of git://git.denx.de/u-boot-uniphier Base directory -> / arch/arm/dts/uniphier-ph1-ld11-ref.dts | 12 +++ arch/arm/dts/uniphier-ph1-ld11.dtsi | 36 +++++++ arch/arm/mach-uniphier/Kconfig | 5 + arch/arm/mach-uniphier/board_early_init_f.c | 7 ++ arch/arm/mach-uniphier/boards.c | 20 ++++ arch/arm/mach-uniphier/boot-mode/Makefile | 1 + arch/arm/mach-uniphier/boot-mode/boot-mode-ld20.c | 2 +- arch/arm/mach-uniphier/boot-mode/boot-mode-ld4.c | 6 +- arch/arm/mach-uniphier/boot-mode/boot-mode-pro5.c | 2 +- arch/arm/mach-uniphier/boot-mode/boot-mode-pxs2.c | 14 +-- arch/arm/mach-uniphier/boot-mode/boot-mode-sld3.c | 2 +- arch/arm/mach-uniphier/boot-mode/boot-mode.c | 3 +- arch/arm/mach-uniphier/boot-mode/cmd_pinmon.c | 3 +- arch/arm/mach-uniphier/clk/Makefile | 1 + arch/arm/mach-uniphier/clk/clk-ld11.c | 28 +++++ arch/arm/mach-uniphier/cpu_info.c | 2 +- arch/arm/mach-uniphier/dram/Makefile | 1 + arch/arm/mach-uniphier/dram/umc-ld11.c | 124 ++++++++++++++++++++++ arch/arm/mach-uniphier/dram/umc-ld20-regs.h | 73 ------------- arch/arm/mach-uniphier/dram/umc-ld20.c | 6 +- arch/arm/mach-uniphier/dram/umc64-regs.h | 85 +++++++++++++++ arch/arm/mach-uniphier/early-clk/Makefile | 1 + arch/arm/mach-uniphier/early-clk/early-clk-ld11.c | 32 ++++++ arch/arm/mach-uniphier/early-pinctrl/Makefile | 1 + arch/arm/mach-uniphier/init.h | 4 + arch/arm/mach-uniphier/init/Makefile | 1 + arch/arm/mach-uniphier/init/init-ld11.c | 59 ++++++++++ arch/arm/mach-uniphier/init/init-ld20.c | 2 + arch/arm/mach-uniphier/init/init.c | 5 + arch/arm/mach-uniphier/pinctrl/Makefile | 1 + arch/arm/mach-uniphier/sbc/Makefile | 1 + arch/arm/mach-uniphier/sg-regs.h | 3 + configs/uniphier_ld11_defconfig | 31 ++++++ drivers/clk/uniphier/clk-uniphier-mio.c | 4 + include/configs/uniphier.h | 12 ++- 35 files changed, 497 insertions(+), 93 deletions(-) ------------------------------------------------------------------------------- commit 0e6e34ac8dbb597a34e1eca4fb640c3eb5e52467 Author: Stefan Mavrodiev <stefan.mavrodiev@gmail.com> Date: 2016-05-23 09:49:47 +0300 sunxi: Olimex A20 boards: Enable LDO3 and LDO4 regulators Sets LDO3 and LDO4 regulators at 2.8V. In the current config these are off. This causes kernel to hang during axp209 initialization. Signed-off-by: Stefan Mavrodiev <stefan.mavrodiev@gmail.com> Acked-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Base directory -> / configs/A20-OLinuXino_MICRO_defconfig | 2 ++ configs/A20-Olimex-SOM-EVB_defconfig | 2 ++ 2 files changed, 4 insertions(+) ------------------------------------------------------------------------------- commit 0878a8a7dbb71fb5b1e10007cfc6203844b029c2 Author: Hans de Goede <hdegoede@redhat.com> Date: 2016-05-15 13:51:58 +0200 sunxi: Enable a bunch of commands by default on sunxi Recently a set of CONFIG_CMD_FOO defines was moved from being defined in config_distro_defaults to Kconfig, and added to all sunxi defconfigs to compensate. Instead of explictly selecting these in all sunxi defconfigs, simply always select these for sunxi boards. This makes the defconfigs simpler and ensures a consistent set of available commands across all sunxi boards. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Base directory -> / arch/arm/Kconfig | 10 ++++++++++ board/sunxi/Kconfig | 7 +++++++ configs/A10-OLinuXino-Lime_defconfig | 11 ----------- configs/A10s-OLinuXino-M_defconfig | 11 ----------- configs/A13-OLinuXinoM_defconfig | 11 ----------- configs/A13-OLinuXino_defconfig | 11 ----------- configs/A20-OLinuXino-Lime2_defconfig | 11 ----------- configs/A20-OLinuXino-Lime_defconfig | 11 ----------- configs/A20-OLinuXino_MICRO_defconfig | 11 ----------- configs/A20-Olimex-SOM-EVB_defconfig | 11 ----------- configs/Ainol_AW1_defconfig | 11 ----------- configs/Ampe_A76_defconfig | 11 ----------- configs/Auxtek-T003_defconfig | 11 ----------- configs/Auxtek-T004_defconfig | 11 ----------- configs/Bananapi_defconfig | 11 ----------- configs/Bananapro_defconfig | 11 ----------- configs/CHIP_defconfig | 10 ---------- configs/CSQ_CS908_defconfig | 10 ---------- configs/Chuwi_V7_CW0825_defconfig | 11 ----------- configs/Colombus_defconfig | 11 ----------- configs/Cubieboard2_defconfig | 11 ----------- configs/Cubieboard_defconfig | 11 ----------- configs/Cubietruck_defconfig | 11 ----------- configs/Cubietruck_plus_defconfig | 11 ----------- configs/Empire_electronix_d709_defconfig | 11 ----------- configs/Hummingbird_A31_defconfig | 10 ---------- configs/Hyundai_A7HD_defconfig | 11 ----------- configs/Itead_Ibox_A20_defconfig | 11 ----------- configs/Lamobo_R1_defconfig | 11 ----------- configs/Linksprite_pcDuino3_Nano_defconfig | 11 ----------- configs/Linksprite_pcDuino3_defconfig | 11 ----------- configs/Linksprite_pcDuino_defconfig | 11 ----------- configs/MK808C_defconfig | 11 ----------- configs/MSI_Primo73_defconfig | 11 ----------- configs/MSI_Primo81_defconfig | 10 ---------- configs/Marsboard_A10_defconfig | 11 ----------- configs/Mele_A1000G_quad_defconfig | 10 ---------- configs/Mele_A1000_defconfig | 11 ----------- configs/Mele_I7_defconfig | 10 ---------- configs/Mele_M3_defconfig | 11 ----------- configs/Mele_M5_defconfig | 11 ----------- configs/Mele_M9_defconfig | 10 ---------- configs/Merrii_A80_Optimus_defconfig | 10 ---------- configs/Mini-X_defconfig | 11 ----------- configs/Orangepi_defconfig | 11 ----------- configs/Orangepi_mini_defconfig | 11 ----------- configs/Sinlinx_SinA31s_defconfig | 10 ---------- configs/Sinlinx_SinA33_defconfig | 10 ---------- configs/Sinovoip_BPI_M2_defconfig | 10 ---------- configs/Sinovoip_BPI_M3_defconfig | 10 ---------- configs/UTOO_P66_defconfig | 11 ----------- configs/Wexler_TAB7200_defconfig | 11 ----------- configs/Wits_Pro_A20_DKT_defconfig | 11 ----------- configs/Wobo_i5_defconfig | 11 ----------- configs/Yones_Toptech_BD1078_defconfig | 11 ----------- configs/Yones_Toptech_BS1078_V2_defconfig | 10 ---------- configs/ba10_tv_box_defconfig | 11 ----------- configs/colorfly_e708_q1_defconfig | 10 ---------- configs/difrnce_dit4350_defconfig | 11 ----------- configs/dserve_dsrv9703c_defconfig | 11 ----------- configs/ga10h_v1_1_defconfig | 10 ---------- configs/gt90h_v4_defconfig | 10 ---------- configs/h8_homlet_v2_defconfig | 10 ---------- configs/i12-tvbox_defconfig | 11 ----------- configs/iNet_3F_defconfig | 11 ----------- configs/iNet_3W_defconfig | 11 ----------- configs/iNet_86VS_defconfig | 11 ----------- configs/icnova-a20-swac_defconfig | 11 ----------- configs/inet1_defconfig | 11 ----------- configs/inet97fv2_defconfig | 11 ----------- configs/inet98v_rev2_defconfig | 11 ----------- configs/inet9f_rev03_defconfig | 11 ----------- configs/jesurun_q5_defconfig | 11 ----------- configs/mixtile_loftq_defconfig | 10 ---------- configs/mk802_a10s_defconfig | 11 ----------- configs/mk802_defconfig | 11 ----------- configs/mk802ii_defconfig | 11 ----------- configs/orangepi_2_defconfig | 11 ----------- configs/orangepi_one_defconfig | 10 ---------- configs/orangepi_pc_defconfig | 11 ----------- configs/orangepi_plus_defconfig | 11 ----------- configs/pine64_plus_defconfig | 9 --------- configs/polaroid_mid2809pxe04_defconfig | 10 ---------- configs/pov_protab2_ips9_defconfig | 11 ----------- configs/q8_a13_tablet_defconfig | 11 ----------- configs/q8_a23_tablet_800x480_defconfig | 10 ---------- configs/q8_a33_tablet_1024x600_defconfig | 10 ---------- configs/q8_a33_tablet_800x480_defconfig | 10 ---------- configs/r7-tv-dongle_defconfig | 11 ----------- configs/sunxi_Gemei_G9_defconfig | 11 ----------- 90 files changed, 17 insertions(+), 943 deletions(-) ------------------------------------------------------------------------------- commit c1fd2441872722edeacf4b04c80b9a8926ee3042 Author: Andre Przywara <andre.przywara@arm.com> Date: 2016-05-04 22:15:33 +0100 arm64: Pine64: update FDT files The originally committed .dts files for the Pine64 were from an early proof-of-concept version and should have never been committed upstream. Replace them with much more mature versions, which also use a different naming scheme. Please note that at this point there is at least one binding which has not been agreed upon, so this is subject to change. Signed-off-by: Andre Przywara <andre.przywara@arm.com> Acked-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Base directory -> / arch/arm/dts/Makefile | 3 +- arch/arm/dts/a64.dtsi | 564 -------------------------- arch/arm/dts/pine64.dts | 62 --- arch/arm/dts/pine64_common.dtsi | 76 ---- arch/arm/dts/pine64_plus.dts | 63 --- arch/arm/dts/sun50i-a64-pine64-common.dtsi | 80 ++++ arch/arm/dts/sun50i-a64-pine64-plus.dts | 59 +++ arch/arm/dts/sun50i-a64-pine64.dts | 58 +++ arch/arm/dts/sun50i-a64.dtsi | 624 +++++++++++++++++++++++++++++ configs/pine64_plus_defconfig | 2 +- 10 files changed, 824 insertions(+), 767 deletions(-) ------------------------------------------------------------------------------- commit 671f9ad8aa61ac5163bfc8d80f9b707b336b4376 Author: Andre Przywara <andre.przywara@arm.com> Date: 2016-05-04 22:15:32 +0100 arm64: sunxi: adjust default load addresses As arm64 has slightly different expectations about load addresses, lets use a different set of default addresses for things like the kernel. As arm64 kernels don't come with a decompressor right now, reserve some more space for really big uncompressed kernels. Signed-off-by: Andre Przywara <andre.przywara@arm.com> Acked-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Base directory -> / include/configs/sunxi-common.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) ------------------------------------------------------------------------------- commit 087504958a6c509b95e2967d7f78883728cf7b05 Author: Andre Przywara <andre.przywara@arm.com> Date: 2016-05-04 22:15:30 +0100 Revert "sunxi: Reserve ATF memory space on A64" The ARM Trusted Firmware (ATF) code now lives in SRAM on the Pine64/A64, so we can claim the whole of DRAM for OS use. This reverts commit 3ffe39ed2b66af71c7271d0cef2a248b5bf7dfdb. Signed-off-by: Andre Przywara <andre.przywara@arm.com> Acked-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Base directory -> / board/sunxi/board.c | 9 --------- 1 file changed, 9 deletions(-) ------------------------------------------------------------------------------- commit 28d68045cc9f146a8c4aa2c8921eb95330ccc754 Author: Bernhard Nortmann <bernhard.nortmann@web.de> Date: 2016-04-03 13:58:00 +0200 sunxi: Properly announce BOOT_DEVICE_BOARD as "FEL" This addresses a cosmetic issue when booting a sunxi device over USB (FEL mode), where the SPL currently would just print "Trying to boot from ". The patch fixes that to properly read "Trying to boot from FEL". Signed-off-by: Bernhard Nortmann <bernhard.nortmann@web.de> Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Base directory -> / arch/arm/mach-sunxi/board.c | 9 +++++++++ 1 file changed, 9 insertions(+) ------------------------------------------------------------------------------- commit b19236fd1c1ef289bab9e243ee5b50d658fcac3f Author: Siarhei Siamashka <siarhei.siamashka@gmail.com> Date: 2016-05-14 04:13:26 +0300 sunxi: Increase SPL header size to 64 bytes to avoid code corruption The current SPL header, created by the 'mksunxiboot' tool, has size 32 bytes. But the code in the boot ROM stores the information about the boot media at the offset 0x28 before passing control to the SPL. For example, when booting from the SD card, the magic number written by the boot ROM is 0. And when booting from the SPI flash, the magic number is 3. NAND and eMMC probably have their own special magic numbers too. Currently the corrupted byte is a part of one of the instructions in the reset vectors table: b reset ldr pc, _undefined_instruction ldr pc, _software_interrupt <- Corruption happens here ldr pc, _prefetch_abort ldr pc, _data_abort ldr pc, _not_used ldr pc, _irq ldr pc, _fiq In practice this does not cause any visible problems, but it's still better to fix it. As a bonus, the reported boot media type can be later used in the 'spl_boot_device' function, but this is out of the scope of this patch. Signed-off-by: Siarhei Siamashka <siarhei.siamashka@gmail.com> Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Base directory -> / arch/arm/include/asm/arch-sunxi/spl.h | 8 +++++++- include/configs/sunxi-common.h | 12 ++++++------ 2 files changed, 13 insertions(+), 7 deletions(-) ------------------------------------------------------------------------------- commit 795857df413aea278af95305d4b6ffc48089d6e8 Author: Chen-Yu Tsai <wens@csie.org> Date: 2016-05-02 10:28:15 +0800 sunxi: power: add AXP809 support The A80 uses the AXP809 as its primary PMIC. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Base directory -> / arch/arm/mach-sunxi/Makefile | 1 + arch/arm/mach-sunxi/pmic_bus.c | 6 +- board/sunxi/board.c | 20 +++- drivers/power/Kconfig | 72 ++++++++----- drivers/power/Makefile | 1 + drivers/power/axp809.c | 238 +++++++++++++++++++++++++++++++++++++++++ include/axp809.h | 60 +++++++++++ include/axp_pmic.h | 3 + 8 files changed, 367 insertions(+), 34 deletions(-) ------------------------------------------------------------------------------- commit 511992695de9309b53a291caa5ff9bce62d44ae4 Author: Chen-Yu Tsai <wens@csie.org> Date: 2016-05-02 10:28:14 +0800 sunxi: Implement poweroff support for axp818 pmic Adds poweroff support for axp818 pmic. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Base directory -> / drivers/power/Kconfig | 1 + drivers/power/axp818.c | 11 +++++++++++ include/axp818.h | 3 +++ 3 files changed, 15 insertions(+) ------------------------------------------------------------------------------- commit 9850e201481dcc13db7b144c609db4480bd47543 Author: Chen-Yu Tsai <wens@csie.org> Date: 2016-05-02 10:28:13 +0800 sunxi: Enable AXP818 SW for Sinovoip BPI M3 The SW output of the PMIC supplies the ethernet PHY with power. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Base directory -> / configs/Sinovoip_BPI_M3_defconfig | 1 + 1 file changed, 1 insertion(+) ------------------------------------------------------------------------------- commit 15278ccb848dbcd8825874f943bc21afda987219 Author: Chen-Yu Tsai <wens@csie.org> Date: 2016-05-02 10:28:12 +0800 sunxi: power: axp818: Add support for switch SW The AXP818 has a switchable output, SW. This is commonly used for controlling power to the LCD backlight. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Base directory -> / board/sunxi/board.c | 1 + drivers/power/Kconfig | 7 +++++++ drivers/power/axp818.c | 10 ++++++++++ include/axp818.h | 1 + include/axp_pmic.h | 1 + 5 files changed, 20 insertions(+) ------------------------------------------------------------------------------- commit a696253c1daf3424408868fc76840c83a896acfe Author: Chen-Yu Tsai <wens@csie.org> Date: 2016-05-02 10:28:11 +0800 power: axp818: Fix typo for fldo2 Kconfig description Description said eldo2 instead of fldo2, a copy-paste error. Fixes: 38491d9c6515 ("power: axp818: Add support for FLDOs") Signed-off-by: Chen-Yu Tsai <wens@csie.org> Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Base directory -> / drivers/power/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit aa23f539c88418333fb5300051642bc9b99d17b2 Author: Chen-Yu Tsai <wens@csie.org> Date: 2016-05-02 10:28:10 +0800 power: axp221: Remove switch case to simplify axp_set_eldo The ELDO enable bits and registers are contiguous for axp221. Instead of a switch case testing against the index, just use the index to shift the bit or register offset. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Base directory -> / drivers/power/axp221.c | 27 +++++++-------------------- 1 file changed, 7 insertions(+), 20 deletions(-) ------------------------------------------------------------------------------- commit 5af116b560d8a6e0b11d6239b5a8f783f9ac6fd1 Author: Chen-Yu Tsai <wens@csie.org> Date: 2016-05-02 10:28:09 +0800 sunxi: Disable VIDEO for SoCs without display support The newer chips use a newer display pipeline, which is not supported. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Base directory -> / board/sunxi/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit acdab175c0853ed1f389bca467765dc98f9e4bcb Author: Chen-Yu Tsai <wens@csie.org> Date: 2016-05-02 10:28:08 +0800 sunxi: Add default MMC0 card detect pin for A83T, H3 and A64 SoCs A83T, H3, and A64 have a dedicated pin for card detect on the PF pingroup. This is used in all designs. Set it as the default. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Base directory -> / board/sunxi/Kconfig | 1 + 1 file changed, 1 insertion(+) ------------------------------------------------------------------------------- commit a81b79950e16182862e31ad86a97b6a8a6891476 Author: Chen-Yu Tsai <wens@csie.org> Date: 2016-05-02 10:28:07 +0800 sunxi: Sort SoC variants by family (sunXi) first, chip name second In most other places, we sort SoC descriptions by family (sunXi) first, then by the chip name (A20). Signed-off-by: Chen-Yu Tsai <wens@csie.org> Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Base directory -> / board/sunxi/Kconfig | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) ------------------------------------------------------------------------------- commit 1a5f0de08e86f2f127aaac928fee5ea0f2a9236e Author: Chen-Yu Tsai <wens@csie.org> Date: 2016-05-02 10:28:06 +0800 sunxi: make SoC variant choice mandatory The user should always select an SoC variant to support. Not choosing one doesn't make sense for a bootloader. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Base directory -> / board/sunxi/Kconfig | 1 - 1 file changed, 1 deletion(-) ------------------------------------------------------------------------------- commit d7e103c08f5bb29d8126eaef3b7b6d6bafacea80 Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-05-24 21:14:03 +0900 ARM: uniphier: add EHCI nodes for PH1-LD11 Make the USB feature really available. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Base directory -> / arch/arm/dts/uniphier-ph1-ld11-ref.dts | 12 ++++++++++++ arch/arm/dts/uniphier-ph1-ld11.dtsi | 36 ++++++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+) ------------------------------------------------------------------------------- commit ae932cf67e457a9a937a8913f2c2cf2b13b68833 Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-05-24 21:14:02 +0900 clk: uniphier: add Media I/O clock driver support for PH1-LD11 Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Base directory -> / drivers/clk/uniphier/clk-uniphier-mio.c | 4 ++++ 1 file changed, 4 insertions(+) ------------------------------------------------------------------------------- commit 667dbcd01d35a69a0a01ecd09b9f18d9aa0efe72 Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-05-24 21:14:01 +0900 ARM: uniphier: add PH1-LD11 SoC support This is a low-cost ARMv8 SoC from Socionext Inc. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Base directory -> / arch/arm/mach-uniphier/Kconfig | 5 + arch/arm/mach-uniphier/board_early_init_f.c | 7 ++ arch/arm/mach-uniphier/boards.c | 20 ++++ arch/arm/mach-uniphier/boot-mode/Makefile | 1 + arch/arm/mach-uniphier/boot-mode/boot-mode.c | 3 +- arch/arm/mach-uniphier/boot-mode/cmd_pinmon.c | 3 +- arch/arm/mach-uniphier/clk/Makefile | 1 + arch/arm/mach-uniphier/clk/clk-ld11.c | 28 +++++ arch/arm/mach-uniphier/cpu_info.c | 2 +- arch/arm/mach-uniphier/dram/Makefile | 1 + arch/arm/mach-uniphier/dram/umc-ld11.c | 124 ++++++++++++++++++++++ arch/arm/mach-uniphier/dram/umc64-regs.h | 12 +++ arch/arm/mach-uniphier/early-clk/Makefile | 1 + arch/arm/mach-uniphier/early-clk/early-clk-ld11.c | 32 ++++++ arch/arm/mach-uniphier/early-pinctrl/Makefile | 1 + arch/arm/mach-uniphier/init.h | 4 + arch/arm/mach-uniphier/init/Makefile | 1 + arch/arm/mach-uniphier/init/init-ld11.c | 59 ++++++++++ arch/arm/mach-uniphier/init/init.c | 5 + arch/arm/mach-uniphier/pinctrl/Makefile | 1 + arch/arm/mach-uniphier/sbc/Makefile | 1 + arch/arm/mach-uniphier/sg-regs.h | 3 + configs/uniphier_ld11_defconfig | 31 ++++++ include/configs/uniphier.h | 12 ++- 24 files changed, 354 insertions(+), 4 deletions(-) ------------------------------------------------------------------------------- commit 7381db86a90bb36d6e615da835ae6964af68f260 Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-05-24 21:14:00 +0900 ARM: uniphier: rename UMC register macros of PH1-LD20 Correct some register names. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Base directory -> / arch/arm/mach-uniphier/dram/umc-ld20.c | 4 ++-- arch/arm/mach-uniphier/dram/umc64-regs.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) ------------------------------------------------------------------------------- commit 0586e22783ca3d575ad86b1a0656875ee071489a Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-05-24 21:13:59 +0900 ARM: uniphier: rename umc-ld20-regs.h to umc64-regs.h This header will be shared between PH1-LD11 and PH1-LD20 (and hopefully new ARMv8 SoCs developed in the future), so umc64-regs.h would be a better fit. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Base directory -> / arch/arm/mach-uniphier/dram/umc-ld20-regs.h | 73 ----------------------------- arch/arm/mach-uniphier/dram/umc-ld20.c | 2 +- arch/arm/mach-uniphier/dram/umc64-regs.h | 73 +++++++++++++++++++++++++++++ 3 files changed, 74 insertions(+), 74 deletions(-) ------------------------------------------------------------------------------- commit 6a555b214b9cf999389fc675689ab3909b949ddf Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-05-24 21:13:58 +0900 ARM: uniphier: clean up boot mode tables Tidy up alignment of open parentheses. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Base directory -> / arch/arm/mach-uniphier/boot-mode/boot-mode-ld20.c | 2 +- arch/arm/mach-uniphier/boot-mode/boot-mode-ld4.c | 6 +++--- arch/arm/mach-uniphier/boot-mode/boot-mode-pro5.c | 2 +- arch/arm/mach-uniphier/boot-mode/boot-mode-pxs2.c | 14 +++++++------- arch/arm/mach-uniphier/boot-mode/boot-mode-sld3.c | 2 +- 5 files changed, 13 insertions(+), 13 deletions(-) ------------------------------------------------------------------------------- commit 0bd20207ab2d874842161cab37c213310d785b24 Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-05-24 21:13:57 +0900 ARM: uniphier: disable cache in SPL of PH1-LD20 The Boot ROM has enabled D-cache and MMU setting DDR memory area as Normal Memory in its page table. Disable D-cache and MMU before jumping to U-Boot proper. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Base directory -> / arch/arm/mach-uniphier/init/init-ld20.c | 2 ++ 1 file changed, 2 insertions(+) ------------------------------------------------------------------------------- commit 826d06dbdd0e29ab0d8bd76d1ca640e2dfdb076c Author: Tom Rini <trini@konsulko.com> Date: 2016-05-25 07:19:31 -0400 Merge branch 'master' of git://git.denx.de/u-boot-mpc85xx Base directory -> / arch/powerpc/cpu/mpc85xx/start.S | 23 +++++++++++++++++++++++ arch/powerpc/lib/ppccache.S | 4 ++++ board/freescale/t208xqds/MAINTAINERS | 2 +- board/freescale/t208xrdb/MAINTAINERS | 2 +- board/freescale/t4rdb/eth.c | 5 +++++ drivers/net/fm/t4240.c | 2 +- include/configs/T208xQDS.h | 4 ++++ 7 files changed, 39 insertions(+), 3 deletions(-) ------------------------------------------------------------------------------- commit f4f2fce70ccf793b10a59e48eb12fd8daa0b1f34 Author: Simon Glass <sjg@chromium.org> Date: 2016-02-21 21:09:02 -0700 exynos: video: Drop old unused code Now that we are using driver model, we can drop the weak functions and LCD init in the board file. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Anatolij Gustschin <agust@denx.de> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com> Base directory -> / board/samsung/common/exynos5-dt.c | 153 -------------------------------------- drivers/video/exynos/exynos_fb.c | 33 -------- drivers/video/exynos/exynos_fb.h | 41 ---------- 3 files changed, 227 deletions(-) ------------------------------------------------------------------------------- commit bb5930d5c97fa22ed2fe048106fcabb5b7c77c96 Author: Simon Glass <sjg@chromium.org> Date: 2016-02-21 21:09:01 -0700 exynos: video: Convert several boards to driver model for video Update several boards to use driver model for video. This involves changes to the EDP and FIMD (frame buffer) drivers. Existing PWM, simple-panel and pwm-backlight drivers are used. These work without additional configuration since they use the device tree settings in the same way as Linux. Boards converted are: - snow - spring - peach-pit - peach-pi All have been tested. Not converted: - MIPI display driver - s5pc210_universal - smdk5420 - smdk5250 - trats - trats2 Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Anatolij Gustschin <agust@denx.de> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com> Base directory -> / arch/arm/mach-exynos/include/mach/dp_info.h | 1 + board/samsung/common/board.c | 15 - configs/peach-pi_defconfig | 4 + configs/peach-pit_defconfig | 4 + configs/snow_defconfig | 4 + configs/spring_defconfig | 4 + drivers/video/exynos/exynos_dp.c | 146 ++++++++-- drivers/video/exynos/exynos_fb.c | 407 ++++++++++++++++------------ drivers/video/simple_panel.c | 2 + include/configs/exynos5-common.h | 1 - include/configs/exynos5-dt-common.h | 5 +- 11 files changed, 377 insertions(+), 216 deletions(-) ------------------------------------------------------------------------------- commit 8b449a6639c6bee1a97c0eba2ab142a7c471d9b1 Author: Simon Glass <sjg@chromium.org> Date: 2016-02-21 21:09:00 -0700 exynos: video: Rename variables for driver model Use 'priv' for a private pointer and 'regs' for a register pointer. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Anatolij Gustschin <agust@denx.de> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com> Base directory -> / drivers/video/exynos/exynos_dp.c | 434 +++++++++++++++--------------- drivers/video/exynos/exynos_dp_lowlevel.c | 71 +++-- drivers/video/exynos/exynos_dp_lowlevel.h | 2 +- drivers/video/exynos/exynos_fb.c | 234 ++++++++-------- include/exynos_lcd.h | 2 +- 5 files changed, 370 insertions(+), 373 deletions(-) ------------------------------------------------------------------------------- commit 21f8f9bb084e276c490454c401fc23dc42c536bc Author: Simon Glass <sjg@chromium.org> Date: 2016-02-21 21:08:59 -0700 exynos: video: Rename edp_device_info to exynos_dp_priv Rename this function to better fit with driver model. It is the private data for the exynos EDP driver. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Anatolij Gustschin <agust@denx.de> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com> Base directory -> / arch/arm/mach-exynos/include/mach/dp_info.h | 4 ++-- drivers/video/exynos/exynos_dp.c | 26 +++++++++++++------------- drivers/video/exynos/exynos_dp_lowlevel.c | 2 +- drivers/video/exynos/exynos_dp_lowlevel.h | 2 +- 4 files changed, 17 insertions(+), 17 deletions(-) ------------------------------------------------------------------------------- commit f948f5de94822a372d01e0903b4fe8c682d230e4 Author: Simon Glass <sjg@chromium.org> Date: 2016-02-21 21:08:58 -0700 exynos: dts: Add display-related device tree fragments Bring in device tree pieces related to display from Linux 4.4 for: - snow - peach_pit - peach_pi - spring Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com> Base directory -> / arch/arm/dts/exynos5.dtsi | 3 +- arch/arm/dts/exynos5250-snow.dts | 44 ++++++++++++++++++++++++++++ arch/arm/dts/exynos5250-spring.dts | 53 +++++++++++++++++++++++++++++++++ arch/arm/dts/exynos5420-peach-pit.dts | 55 +++++++++++++++++++++++++++++++++++ arch/arm/dts/exynos54xx.dtsi | 4 +-- arch/arm/dts/exynos5800-peach-pi.dts | 40 +++++++++++++++++++++++++ 6 files changed, 196 insertions(+), 3 deletions(-) ------------------------------------------------------------------------------- commit 7eb860df13ed3e40469eebd407b90c6f9216dd2e Author: Simon Glass <sjg@chromium.org> Date: 2016-02-21 21:08:57 -0700 exynos: Simplify calling of exynos_dp_phy_ctrl() This function controls enabling the EDP PHY. Rename it and drop the existing weak functions, which are confusing. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com> Base directory -> / arch/arm/mach-exynos/include/mach/power.h | 2 +- arch/arm/mach-exynos/power.c | 2 +- board/samsung/common/exynos5-dt.c | 5 ----- drivers/video/exynos/exynos_dp.c | 9 ++------- 4 files changed, 4 insertions(+), 14 deletions(-) ------------------------------------------------------------------------------- commit af5b5eae53d2a9a79fc6fd9df862a75b65d1dccb Author: Simon Glass <sjg@chromium.org> Date: 2016-02-21 21:08:56 -0700 exynos: Allow PWM0 pinmux to be set up This is commonly used for LCD backlight control. Add pinmux support for it on exynos5250 and 5420. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com> Base directory -> / arch/arm/mach-exynos/pinmux.c | 6 ++++++ 1 file changed, 6 insertions(+) ------------------------------------------------------------------------------- commit 7b0789e8fcfe052113bcf06dad1d6da6b4d6b108 Author: Simon Glass <sjg@chromium.org> Date: 2016-02-21 21:08:55 -0700 dts: Add clock and regulator binding files for max77802 These are used by peach_pit and peach_pi. Add them so they can be referenced in the device tree files. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com> Base directory -> / include/dt-bindings/clock/maxim,max77802.h | 22 ++++++++++++++++++++++ include/dt-bindings/regulator/maxim,max77802.h | 18 ++++++++++++++++++ 2 files changed, 40 insertions(+) ------------------------------------------------------------------------------- commit ea743e659fbfa9ba4b00ba076cdbf212d6fff081 Author: Simon Glass <sjg@chromium.org> Date: 2016-02-21 21:08:54 -0700 exynos: Disable LCD display for boards we can't convert Some boards have the LCD enabled but I cannot test operation for the driver model conversion. Disable the LCD on these to avoid build errors. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com> Base directory -> / board/samsung/trats/trats.c | 2 ++ board/samsung/universal_c210/universal.c | 2 ++ include/configs/s5pc210_universal.h | 3 --- include/configs/smdk5250.h | 3 +++ include/configs/smdk5420.h | 4 ++++ include/configs/trats.h | 4 ---- include/configs/trats2.h | 4 ---- 7 files changed, 11 insertions(+), 11 deletions(-) ------------------------------------------------------------------------------- commit 531a4a66424946968b28241adbb41165e78d6d26 Author: Simon Glass <sjg@chromium.org> Date: 2016-02-21 21:08:53 -0700 exynos: Allow CONFIG_MISC_COMMON to be build without an LCD This file currently requires LCD support. Adjust it so that it can still be built without LCD support (even thought it won't work fully). Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com> Base directory -> / board/samsung/common/misc.c | 10 ++++++++++ 1 file changed, 10 insertions(+) ------------------------------------------------------------------------------- commit c309365089283da1cb32c2a6eeaea9eb3f638f7c Author: Simon Glass <sjg@chromium.org> Date: 2016-02-21 21:08:52 -0700 exynos: Allow tizen to be built without an LCD This file currently requires an LCD. Adjust it to work without one. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com> Base directory -> / include/libtizen.h | 2 ++ lib/tizen/tizen.c | 2 ++ 2 files changed, 4 insertions(+) ------------------------------------------------------------------------------- commit 141c74350d1c107a9167e5a78923fcca79413bff Author: Simon Glass <sjg@chromium.org> Date: 2016-02-21 21:08:51 -0700 exynos: dts: Add pwm device tree node Add this node from Linux v4.4 so that PWMs can be used in U-Boot. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com> Base directory -> / arch/arm/dts/exynos5250.dtsi | 7 +++++++ arch/arm/dts/exynos54xx.dtsi | 7 +++++++ 2 files changed, 14 insertions(+) ------------------------------------------------------------------------------- commit 21c561b7c906a05700534a4e420277e6c6012efb Author: Simon Glass <sjg@chromium.org> Date: 2016-02-21 21:08:50 -0700 video: Add an enum for active low/high This is used for video signals in some drivers so provide a standard way of representing it in an enum. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Anatolij Gustschin <agust@denx.de> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com> Base directory -> / include/video.h | 5 +++++ 1 file changed, 5 insertions(+) ------------------------------------------------------------------------------- commit 5c2dd4cd7a41ec971a23eec9e993717e5aed8744 Author: Simon Glass <sjg@chromium.org> Date: 2016-02-21 21:08:49 -0700 exynos: pwm: Add a driver for the exynos5 PWM This driver supports the standard PWM API. There are 5 PWMs. Four are used normally and the last is normally used as a timer. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com> Base directory -> / arch/arm/cpu/armv7/s5p-common/timer.c | 3 + drivers/pwm/Kconfig | 9 +++ drivers/pwm/Makefile | 1 + drivers/pwm/exynos_pwm.c | 120 ++++++++++++++++++++++++++++++++++ 4 files changed, 133 insertions(+) ------------------------------------------------------------------------------- commit 0c84358cb240953b467034a52fcc2f459ba4029b Author: Simon Glass <sjg@chromium.org> Date: 2016-02-21 21:08:48 -0700 exynos: video: Combine LCD driver into one file At present exynos_fimd.c is the controller and exynos_fb.c is the U-Boot LCD interface. With driver model we want these in one file, so join them in preparation. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Anatolij Gustschin <agust@denx.de> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com> Base directory -> / drivers/video/exynos/Makefile | 2 +- drivers/video/exynos/exynos_fb.c | 386 +++++++++++++++++++++++++++++++++++ drivers/video/exynos/exynos_fimd.c | 405 ------------------------------------- 3 files changed, 387 insertions(+), 406 deletions(-) ------------------------------------------------------------------------------- commit 37ea446b9d7942c0deb5833fede6eb7cabd5bc6d Author: Simon Glass <sjg@chromium.org> Date: 2016-02-21 21:08:47 -0700 exynos: video: Move mipi_lcd_device_dt into a function In preparation for making this a parameter, move it into the function that sets it up. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Anatolij Gustschin <agust@denx.de> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com> Base directory -> / arch/arm/mach-exynos/include/mach/mipi_dsim.h | 2 +- drivers/video/exynos/exynos_mipi_dsi.c | 17 +++++++++-------- 2 files changed, 10 insertions(+), 9 deletions(-) ------------------------------------------------------------------------------- commit 652d15c06e65ea910bada28925b37483b2a1a0d6 Author: Simon Glass <sjg@chromium.org> Date: 2016-02-21 21:08:46 -0700 exynos: video: Move struct exynos_platform_mipi_dsim into vidinfo Put the pointer to this structure in struct vidinfo so that we can reference it without it being global. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Anatolij Gustschin <agust@denx.de> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com> Base directory -> / arch/arm/mach-exynos/include/mach/mipi_dsim.h | 5 +++-- drivers/video/exynos/exynos_fb.c | 2 +- drivers/video/exynos/exynos_mipi_dsi.c | 19 ++++--------------- include/exynos_lcd.h | 1 + 4 files changed, 9 insertions(+), 18 deletions(-) ------------------------------------------------------------------------------- commit b04135c998b88b0d7c1f21fef64219c508dfbcad Author: Simon Glass <sjg@chromium.org> Date: 2016-02-21 21:08:45 -0700 exynos: video: Move dsim_config_dt into a function In preparation for making this a parameter, move it into the function that sets it up. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Anatolij Gustschin <agust@denx.de> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com> Base directory -> / drivers/video/exynos/exynos_mipi_dsi.c | 37 +++++++++++++++++----------------- 1 file changed, 19 insertions(+), 18 deletions(-) ------------------------------------------------------------------------------- commit 8c9b8dc05aec6be390dae8a85da7cb56ed8b4ed9 Author: Simon Glass <sjg@chromium.org> Date: 2016-02-21 21:08:44 -0700 exynos: video: Drop static variables in exynos_dp_lowlevel.c Drop these and use parameters instead. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Anatolij Gustschin <agust@denx.de> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com> Base directory -> / drivers/video/exynos/exynos_dp.c | 310 +++++++++++++++++------------- drivers/video/exynos/exynos_dp_lowlevel.c | 195 ++++++++++--------- drivers/video/exynos/exynos_dp_lowlevel.h | 131 +++++++------ 3 files changed, 351 insertions(+), 285 deletions(-) ------------------------------------------------------------------------------- commit 9c4d440e859c34994689504f1a0d028619042ef3 Author: Simon Glass <sjg@chromium.org> Date: 2016-02-21 21:08:43 -0700 exynos: video: Drop static variables in exynos_fb.c Drop these and use the existing variables instead. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Anatolij Gustschin <agust@denx.de> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com> Base directory -> / drivers/video/exynos/exynos_fb.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) ------------------------------------------------------------------------------- commit 162fa53c8d3c2f832d791d0bb7a72fec1562fba4 Author: Simon Glass <sjg@chromium.org> Date: 2016-02-21 21:08:42 -0700 exynos: video: Drop static variables in exynos_fimd.c Drop these and use parameters instead. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Anatolij Gustschin <agust@denx.de> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com> Base directory -> / drivers/video/exynos/exynos_fb.h | 2 +- drivers/video/exynos/exynos_fimd.c | 51 ++++++++++++++++++++++---------------- include/exynos_lcd.h | 1 + 3 files changed, 31 insertions(+), 23 deletions(-) ------------------------------------------------------------------------------- commit 40d500212f74c92ef014ae8df697416e160ee743 Author: Simon Glass <sjg@chromium.org> Date: 2016-02-21 21:08:41 -0700 exynos: video: Drop the static lcd_base_addr variable Drop this and use parameters instead. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Anatolij Gustschin <agust@denx.de> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com> Base directory -> / drivers/video/exynos/exynos_fb.c | 21 +++------------------ drivers/video/exynos/exynos_fb.h | 2 +- drivers/video/exynos/exynos_fimd.c | 26 +++++++++++--------------- 3 files changed, 15 insertions(+), 34 deletions(-) ------------------------------------------------------------------------------- commit aaca5b1902e1d711d34f2fb741417ec7bae59ad6 Author: Simon Glass <sjg@chromium.org> Date: 2016-02-21 21:08:40 -0700 exynos: video: Remove use of vidinfo_t typedef Use 'struct vidinfo' instead so that we can change this to a struct with a different name in future. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Anatolij Gustschin <agust@denx.de> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com> Base directory -> / arch/arm/mach-exynos/include/mach/mipi_dsim.h | 3 ++- drivers/video/exynos/exynos_fb.c | 10 +++++----- drivers/video/exynos/exynos_fimd.c | 6 +++--- drivers/video/exynos/exynos_mipi_dsi_common.c | 6 +++--- 4 files changed, 13 insertions(+), 12 deletions(-) ------------------------------------------------------------------------------- commit b6feb2675b75c687b9ddb9e5a493cfe4035e387d Author: Simon Glass <sjg@chromium.org> Date: 2016-02-21 21:08:39 -0700 exynos: video: Drop dead code We always use device tree with video, so can drop these #ifdefs. Some of the hardware addresses are not needed either. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Anatolij Gustschin <agust@denx.de> Acked-by: Anatolij Gustschin <agust@denx.de> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com> Base directory -> / arch/arm/mach-exynos/include/mach/cpu.h | 2 -- drivers/video/exynos/exynos_dp_lowlevel.c | 4 ---- drivers/video/exynos/exynos_fb.c | 11 ----------- drivers/video/exynos/exynos_fimd.c | 7 ------- drivers/video/exynos/exynos_mipi_dsi.c | 4 ---- include/exynos_lcd.h | 2 -- 6 files changed, 30 deletions(-) ------------------------------------------------------------------------------- commit 08a7aa1e5be7059d680fedf0a885655a895f638e Author: Simon Glass <sjg@chromium.org> Date: 2016-02-21 21:08:38 -0700 exynos: video: Move driver files into their own directory Move all the exynos video drivers into one place for ease of maintenance. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Anatolij Gustschin <agust@denx.de> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com> Base directory -> / drivers/video/Makefile | 6 +- drivers/video/exynos/Makefile | 12 + drivers/video/exynos/exynos_dp.c | 961 +++++++++++++++++ drivers/video/exynos/exynos_dp_lowlevel.c | 1257 +++++++++++++++++++++++ drivers/video/exynos/exynos_dp_lowlevel.h | 68 ++ drivers/video/exynos/exynos_fb.c | 330 ++++++ drivers/video/exynos/exynos_fb.h | 41 + drivers/video/exynos/exynos_fimd.c | 409 ++++++++ drivers/video/exynos/exynos_mipi_dsi.c | 337 ++++++ drivers/video/exynos/exynos_mipi_dsi_common.c | 620 +++++++++++ drivers/video/exynos/exynos_mipi_dsi_common.h | 35 + drivers/video/exynos/exynos_mipi_dsi_lowlevel.c | 639 ++++++++++++ drivers/video/exynos/exynos_mipi_dsi_lowlevel.h | 98 ++ drivers/video/exynos/exynos_pwm_bl.c | 45 + drivers/video/exynos_dp.c | 961 ----------------- drivers/video/exynos_dp_lowlevel.c | 1257 ----------------------- drivers/video/exynos_dp_lowlevel.h | 68 -- drivers/video/exynos_fb.c | 330 ------ drivers/video/exynos_fb.h | 41 - drivers/video/exynos_fimd.c | 409 -------- drivers/video/exynos_mipi_dsi.c | 337 ------ drivers/video/exynos_mipi_dsi_common.c | 620 ----------- drivers/video/exynos_mipi_dsi_common.h | 35 - drivers/video/exynos_mipi_dsi_lowlevel.c | 639 ------------ drivers/video/exynos_mipi_dsi_lowlevel.h | 98 -- drivers/video/exynos_pwm_bl.c | 45 - drivers/video/s6e8ax0.c | 4 +- 27 files changed, 4855 insertions(+), 4847 deletions(-) ------------------------------------------------------------------------------- commit 6c15a2a996214574e8145bff69d110a302edf277 Author: Thomas Abraham <thomas.ab@samsung.com> Date: 2016-04-23 22:18:14 +0530 board: samsung: add initial Espresso7420 board support Espresso7420 is a development/evaluation board for Exynos7420 SoC. It includes multiple onboard compoments (EMMC/Codec) and various interconnects (USB/HDMI). Signed-off-by: Thomas Abraham <thomas.ab@samsung.com> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com> Base directory -> / arch/arm/dts/Makefile | 1 + arch/arm/dts/exynos7420-espresso7420.dts | 24 ++++++++++++++++++++++++ arch/arm/mach-exynos/Kconfig | 19 +++++++++++++++++++ board/samsung/common/board.c | 10 ++++++++-- board/samsung/espresso7420/Kconfig | 16 ++++++++++++++++ board/samsung/espresso7420/MAINTAINERS | 5 +++++ board/samsung/espresso7420/Makefile | 10 ++++++++++ board/samsung/espresso7420/espresso7420.c | 16 ++++++++++++++++ configs/espresso7420_defconfig | 9 +++++++++ 9 files changed, 108 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit e39448e8be8389f5ddeabae0ec9c6a3b7b8a2ca6 Author: Thomas Abraham <thomas.ab@samsung.com> Date: 2016-04-23 22:18:13 +0530 arm: exynos: add support for Exynos7420 SoC Add support for Exynos7420 SoC. The Exynos7420 SoC has four Cortex-A57 and four Cortex-A53 CPUs and includes various peripheral controllers. Signed-off-by: Thomas Abraham <thomas.ab@samsung.com> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com> Base directory -> / arch/arm/dts/exynos7420.dtsi | 83 ++++++++++++++++++++++++++ arch/arm/mach-exynos/Kconfig | 8 +++ arch/arm/mach-exynos/Makefile | 1 + arch/arm/mach-exynos/mmu-arm64.c | 35 +++++++++++ arch/arm/mach-exynos/soc.c | 8 +++ include/configs/espresso7420.h | 34 +++++++++++ include/configs/exynos7420-common.h | 113 ++++++++++++++++++++++++++++++++++++ 7 files changed, 282 insertions(+) ------------------------------------------------------------------------------- commit 36aa893775b809ea3b508a225992311582f6379a Author: Thomas Abraham <thomas.ab@samsung.com> Date: 2016-04-23 22:18:12 +0530 arm: exynos: realign the code to allow support for newer 64-bit platforms The existing Exynos 32-bit platform support needs to be realigned in order to support newer 64-bit Exynos platforms. The driver model will be utlized for drivers on the 64-bit Exynos platforms and so some of the older platform support code would not be required for the newer 64-bit Exynos platforms. Cc: Minkyu Kang <mk7.kang@samsung.com> Signed-off-by: Thomas Abraham <thomas.ab@samsung.com> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com> Base directory -> / arch/arm/Kconfig | 1 - arch/arm/mach-exynos/Kconfig | 34 +++++++++++++++++++++++++++++++- arch/arm/mach-exynos/Makefile | 5 +++-- arch/arm/mach-exynos/include/mach/cpu.h | 2 +- arch/arm/mach-exynos/include/mach/gpio.h | 2 +- arch/arm/mach-exynos/soc.c | 2 ++ configs/arndale_defconfig | 1 + configs/odroid-xu3_defconfig | 1 + configs/odroid_defconfig | 1 + configs/origen_defconfig | 1 + configs/peach-pi_defconfig | 1 + configs/peach-pit_defconfig | 1 + configs/s5pc210_universal_defconfig | 1 + configs/smdk5250_defconfig | 1 + configs/smdk5420_defconfig | 1 + configs/smdkv310_defconfig | 1 + configs/snow_defconfig | 1 + configs/spring_defconfig | 1 + configs/trats2_defconfig | 1 + configs/trats_defconfig | 1 + 20 files changed, 54 insertions(+), 6 deletions(-) ------------------------------------------------------------------------------- commit cf75cdf96ef288410222737eca98cf28cdbafbe2 Author: Thomas Abraham <thomas.ab@samsung.com> Date: 2016-04-23 22:18:11 +0530 serial: s5p: use clock api to get clock rate On Exynos platforms that support clock driver API, allow the driver to use clock api get the SCLK clock rate. Cc: Minkyu Kang <mk7.kang@samsung.com> Signed-off-by: Thomas Abraham <thomas.ab@samsung.com> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com> Base directory -> / drivers/serial/serial_s5p.c | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 5ab6c4df27c9188251ff43a536c90ede57ba48fe Author: Thomas Abraham <thomas.ab@samsung.com> Date: 2016-04-23 22:18:10 +0530 serial: s5p: get the port id number from the alias of the device node The port id, if not specified in the device node, can be obtained from the alias of the device node listed in the aliases node. Cc: Minkyu Kang <mk7.kang@samsung.com> Signed-off-by: Thomas Abraham <thomas.ab@samsung.com> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com> Base directory -> / drivers/serial/serial_s5p.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit 166097e8775343898cab84f1f23b4aacb35783db Author: Thomas Abraham <thomas.ab@samsung.com> Date: 2016-04-23 22:18:09 +0530 clk: exynos: add clock driver for Exynos7420 Soc Add a clock driver for Exynos7420 SoC. There are about 25 clock controller blocks in Exynos7420 out of which support for topc, top0 and peric1 blocks are added in this initial version of the driver. Cc: Minkyu Kang <mk7.kang@samsung.com> Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Thomas Abraham <thomas.ab@samsung.com> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com> Base directory -> / drivers/clk/Kconfig | 1 + drivers/clk/Makefile | 1 + drivers/clk/exynos/Kconfig | 18 +++ drivers/clk/exynos/Makefile | 9 ++ drivers/clk/exynos/clk-exynos7420.c | 236 +++++++++++++++++++++++++++++ drivers/clk/exynos/clk-pll.c | 33 ++++ drivers/clk/exynos/clk-pll.h | 9 ++ include/dt-bindings/clock/exynos7420-clk.h | 207 +++++++++++++++++++++++++ 8 files changed, 514 insertions(+) ------------------------------------------------------------------------------- commit 16ca80adc551808b6be1d43f30997f8b4fdfbd39 Author: Thomas Abraham <thomas.ab@samsung.com> Date: 2016-04-23 22:18:08 +0530 pinctrl: Add pinctrl driver support for Exynos7420 SoC Add pinctrl driver support for Samsung's Exynos7420 SoC. The changes have been split into Exynos7420 specific and common Exynos specific portions so that this implementation is reusable on other Exynos SoCs as well. The Exynos pinctrl driver supports only device tree based pin configuration. The bindings used are similar to the ones used in the linux kernel. Cc: Masahiro Yamada <yamada.masahiro@socionext.com> Cc: Simon Glass <sjg@chromium.org> Cc: Minkyu Kang <mk7.kang@samsung.com> Signed-off-by: Thomas Abraham <thomas.ab@samsung.com> Reviewed-by: Simon Glass <sjg@chromium.org> Acked-by: Minkyu Kang <mk7.kang@samsung.com> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com> Base directory -> / drivers/pinctrl/Kconfig | 1 + drivers/pinctrl/Makefile | 1 + drivers/pinctrl/exynos/Kconfig | 10 ++ drivers/pinctrl/exynos/Makefile | 9 ++ drivers/pinctrl/exynos/pinctrl-exynos.c | 141 ++++++++++++++++++++++++++++ drivers/pinctrl/exynos/pinctrl-exynos.h | 77 +++++++++++++++ drivers/pinctrl/exynos/pinctrl-exynos7420.c | 120 +++++++++++++++++++++++ 7 files changed, 359 insertions(+) ------------------------------------------------------------------------------- commit ac985273135762a596482812551221019c319731 Author: Thomas Abraham <thomas.ab@samsung.com> Date: 2016-04-23 22:18:07 +0530 pinctrl: add the DM_UC_FLAG_SEQ_ALIAS flag for numbering the devices It is possible to have multiple pin controllers in the system. Use the DM_UC_FLAG_SEQ_ALIAS flag so that the pinctrl instances are assigned a sequence number. Cc: Masahiro Yamada <yamada.masahiro@socionext.com> Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Thomas Abraham <thomas.ab@samsung.com> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com> Base directory -> / drivers/pinctrl/pinctrl-uclass.c | 1 + 1 file changed, 1 insertion(+) ------------------------------------------------------------------------------- commit 8ef548d5f13e68e1b3975d9b68920bfa8bf09891 Author: Ying Zhang <b40530@freescale.com> Date: 2016-04-18 17:04:16 +0800 powerpc:t4240: MAC9 and MAC10 should not be identified as 1G interface in some case When using rcw protocols to support 10G on MAC9 and MAC10, these MACs should not be identified as 1G interface, otherwise, one MAC will be listed as two Ethernet ports. For example, MAC9 will be listed as FM1@TGEC1 and FM1@DTSEC9. Signed-off-by: Ying Zhang <b40530@freescale.com> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / drivers/net/fm/t4240.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit d1fc8ed485cbf44434a9bc2a02ddf2a94f2183c1 Author: Ying Zhang <ying.zhang22455@nxp.com> Date: 2016-04-21 14:23:46 +0800 powerpc:t4240rdb: Disable the non-existent ethernet ports on T4240RDB Disable the non-existent ethernet ports on T4240RDB:FM1_DTSEC5, FM1_DTSEC6, FM2_DTSEC5 and FM2_DTSEC6. Signed-off-by: Ying Zhang <ying.zhang22455@nxp.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / board/freescale/t4rdb/eth.c | 5 +++++ 1 file changed, 5 insertions(+) ------------------------------------------------------------------------------- commit fc15b9beed05dec6cc092c265042381a0eadb0e9 Author: Tom Rini <trini@konsulko.com> Date: 2016-05-24 13:42:03 -0400 Merge branch 'master' of git://git.denx.de/u-boot-fsl-qoriq Base directory -> / arch/arm/cpu/armv7/ls102xa/spl.c | 2 +- arch/arm/cpu/armv8/fsl-layerscape/cpu.c | 3 - arch/arm/cpu/armv8/fsl-layerscape/fdt.c | 19 ++ arch/arm/cpu/armv8/fsl-layerscape/soc.c | 36 +++ arch/arm/cpu/armv8/fsl-layerscape/spl.c | 5 +- arch/arm/dts/fsl-ls1043a.dtsi | 5 +- arch/arm/include/asm/arch-fsl-layerscape/config.h | 5 + .../include/asm/arch-fsl-layerscape/immap_lsch2.h | 9 +- .../include/asm/arch-fsl-layerscape/immap_lsch3.h | 8 +- arch/arm/include/asm/arch-ls102xa/config.h | 2 + arch/arm/include/asm/arch-mx6/imx-regs.h | 9 +- arch/arm/include/asm/arch-mx7/imx-regs.h | 11 +- arch/powerpc/cpu/mpc85xx/cpu_init.c | 9 + arch/powerpc/include/asm/config_mpc85xx.h | 6 + board/freescale/c29xpcie/c29xpcie.c | 2 +- board/freescale/common/ls102xa_stream_id.c | 6 +- board/freescale/ls1043aqds/ddr.c | 1 + board/freescale/ls1043aqds/ddr.h | 2 + board/freescale/ls1043aqds/ls1043aqds.c | 12 - board/freescale/ls1043ardb/cpld.c | 26 +- board/freescale/ls1043ardb/cpld.h | 1 + board/freescale/ls1043ardb/ddr.c | 2 + board/freescale/ls1043ardb/ddr.h | 3 + board/freescale/ls1043ardb/ls1043ardb.c | 21 +- board/freescale/ls2080aqds/MAINTAINERS | 2 +- board/freescale/ls2080ardb/MAINTAINERS | 2 +- board/freescale/ls2080ardb/ddr.h | 6 +- configs/ls1021aqds_ddr4_nor_defconfig | 3 + configs/ls1021aqds_ddr4_nor_lpuart_defconfig | 3 + configs/ls1021aqds_nand_defconfig | 2 + configs/ls1021aqds_nor_SECURE_BOOT_defconfig | 2 + configs/ls1021aqds_nor_defconfig | 3 + configs/ls1021aqds_nor_lpuart_defconfig | 3 + configs/ls1021aqds_qspi_defconfig | 3 + configs/ls1021aqds_sdcard_ifc_defconfig | 3 + configs/ls1021aqds_sdcard_qspi_defconfig | 3 + configs/ls1021atwr_nor_SECURE_BOOT_defconfig | 2 + configs/ls1021atwr_nor_defconfig | 3 + configs/ls1021atwr_nor_lpuart_defconfig | 3 + configs/ls1021atwr_qspi_defconfig | 3 + configs/ls1021atwr_sdcard_ifc_defconfig | 2 + configs/ls1021atwr_sdcard_qspi_defconfig | 3 + drivers/crypto/fsl/jr.c | 271 ++++++++++++--------- drivers/crypto/fsl/jr.h | 3 + drivers/ddr/fsl/fsl_ddr_gen4.c | 27 +- drivers/mtd/spi/sf_internal.h | 5 + drivers/mtd/spi/spi_flash.c | 72 ++++++ drivers/spi/fsl_qspi.c | 159 +++++++++--- include/configs/ls1043a_common.h | 5 + include/configs/ls1043ardb.h | 22 ++ include/configs/ls2080a_common.h | 8 + include/configs/ls2080aqds.h | 2 +- include/configs/ls2080ardb.h | 2 +- include/fsl_ddr_sdram.h | 11 + include/fsl_sec.h | 6 +- 55 files changed, 631 insertions(+), 218 deletions(-) ------------------------------------------------------------------------------- commit 82eda68444fa4d026bcf1f59c7c0d044ddbcb193 Author: Aneesh Bansal <aneesh.bansal@nxp.com> Date: 2016-04-18 22:58:33 +0530 powerpc/mpc85xx: set L2PE in L2CSR0 before enabling L2 cache While enabling L2 cache, the value of L2PE (L2 cache parity/ECC error checking enable) must not be changed while the L2 cache is enabled. So, L2PE must be set before enabling L2 cache. Signed-off-by: Aneesh Bansal <aneesh.bansal@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / arch/powerpc/cpu/mpc85xx/start.S | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) ------------------------------------------------------------------------------- commit 2ee490a0245b65826a8ce8e42e34c9bf805d3656 Author: Tom Rini <trini@konsulko.com> Date: 2016-05-24 11:59:02 -0400 Merge branch 'master' of git://git.denx.de/u-boot-net Signed-off-by: Tom Rini <trini@konsulko.com> Conflicts: drivers/net/zynq_gem.c Base directory -> / arch/arm/dts/am4372.dtsi | 1 + arch/arm/dts/dra7.dtsi | 3 +- arch/arm/include/asm/arch-omap5/cpu.h | 12 + configs/am437x_gp_evm_defconfig | 1 + configs/am437x_sk_evm_defconfig | 1 + configs/dra74_evm_defconfig | 1 + doc/device-tree-bindings/net/ti,dp83867.txt | 25 + drivers/core/device.c | 14 + drivers/net/Makefile | 2 +- drivers/net/cpsw-common.c | 121 +++ drivers/net/cpsw.c | 77 +- drivers/net/phy/mv88e61xx.c | 1322 ++++++++++++++++++--------- drivers/net/phy/mv88e61xx.h | 61 -- drivers/net/phy/phy.c | 3 + drivers/net/phy/ti.c | 88 +- drivers/net/zynq_gem.c | 14 +- include/configs/ti_omap5_common.h | 1 + include/cpsw.h | 2 + include/dm/device.h | 23 + include/dt-bindings/net/ti-dp83867.h | 35 + include/netdev.h | 58 -- include/phy.h | 23 + 22 files changed, 1299 insertions(+), 589 deletions(-) ------------------------------------------------------------------------------- commit 0a71cd77290ca317ecf6f15984a91abbee741e09 Author: Dan Murphy <dmurphy@ti.com> Date: 2016-05-02 15:46:02 -0500 net: phy: dp83867: Add SGMII helper for configuration The code assumed that if the interface is not RGMII configured then it must be SGMII configured. This device has the ability to support most of the MII interfaces. Therefore add the helper for SGMII and only configure the device if the interface is configured for SGMII. Signed-off-by: Dan Murphy <dmurphy@ti.com> Reviewed-by: Mugunthan V N <mugunthanvnm@ti.com> Reviewed-by: Michal Simek <michal.simek@xilinx.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com> Base directory -> / drivers/net/phy/ti.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 3c221af3c3bb4eadc0899f611c8b25bb95a1e09f Author: Dan Murphy <dmurphy@ti.com> Date: 2016-05-02 15:46:01 -0500 net: phy: Add phy_interface_is_sgmii to phy.h Add a helper to phy.h to identify whether the phy is configured for SGMII all variables. Signed-off-by: Dan Murphy <dmurphy@ti.com> Reviewed-by: Mugunthan V N <mugunthanvnm@ti.com> Reviewed-by: Michal Simek <michal.simek@xilinx.com> Tested-by: Mugunthan V N <mugunthanvnm@ti.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com> Base directory -> / include/phy.h | 11 +++++++++++ 1 file changed, 11 insertions(+) ------------------------------------------------------------------------------- commit 3ab72fe8075b137c238665008c356239d1e6bc54 Author: Dan Murphy <dmurphy@ti.com> Date: 2016-05-02 15:46:00 -0500 net: phy: Move is_rgmii helper to phy.h Move the phy_interface_is_rgmii to the phy.h file for all phy's to be able to use the API. This now aligns with the Linux kernel based on commit e463d88c36d42211aa72ed76d32fb8bf37820ef1 Signed-off-by: Dan Murphy <dmurphy@ti.com> Reviewed-by: Mugunthan V N <mugunthanvnm@ti.com> Reviewed-by: Michal Simek <michal.simek@xilinx.com> Tested-by: Mugunthan V N <mugunthanvnm@ti.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com> Base directory -> / drivers/net/phy/ti.c | 11 ----------- include/phy.h | 11 +++++++++++ 2 files changed, 11 insertions(+), 11 deletions(-) ------------------------------------------------------------------------------- commit 085445ca4104906b94093eed1b5e37630ad3b93d Author: Dan Murphy <dmurphy@ti.com> Date: 2016-05-02 15:45:59 -0500 net: phy: ti: Allow the driver to be more configurable Not all devices use the same internal delay or fifo depth. Add the ability to set the internal delay for rx or tx and the fifo depth via the devicetree. If the value is not set in the devicetree then set the delay to the default. If devicetree is not used then use the default defines within the driver. Signed-off-by: Dan Murphy <dmurphy@ti.com> Tested-by: Mugunthan V N <mugunthanvnm@ti.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com> Base directory -> / drivers/net/phy/ti.c | 87 ++++++++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 77 insertions(+), 10 deletions(-) ------------------------------------------------------------------------------- commit c7ba7bdc9d9940313ff5a63644ae3d74c77636cc Author: Dan Murphy <dmurphy@ti.com> Date: 2016-05-02 15:45:58 -0500 net: phy: dp83867: Add device tree bindings and documentation Add the device tree bindings and the accompanying documentation for the TI DP83867 Giga bit ethernet phy driver. The original document was from: [commit 2a10154abcb75ad0d7b6bfea6210ac743ec60897 from the Linux kernel] Signed-off-by: Dan Murphy <dmurphy@ti.com> Reviewed-by: Mugunthan V N <mugunthanvnm@ti.com> Tested-by: Mugunthan V N <mugunthanvnm@ti.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com> Base directory -> / doc/device-tree-bindings/net/ti,dp83867.txt | 25 +++++++++++++++++++++ include/dt-bindings/net/ti-dp83867.h | 35 +++++++++++++++++++++++++++++ 2 files changed, 60 insertions(+) ------------------------------------------------------------------------------- commit 20671a98960e7a98696bfbca1c902be6ccba013b Author: Dan Murphy <dmurphy@ti.com> Date: 2016-05-02 15:45:57 -0500 net: zynq_gem: Add the passing of the phy-handle node Add the ability to pass the phy-handle node offset to the phy driver. This allows the phy driver to access the DT subnode's data and parse accordingly. Signed-off-by: Dan Murphy <dmurphy@ti.com> Tested-by: Michal Simek <michal.simek@xilinx.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com> Base directory -> / drivers/net/zynq_gem.c | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) ------------------------------------------------------------------------------- commit cb3862277b73b57ade3774b8fa684d3d7c324ba3 Author: Dan Murphy <dmurphy@ti.com> Date: 2016-05-02 15:45:56 -0500 drivers: net: cpsw: Add reading of DT phy-handle node Add the ability to read the phy-handle node of the cpsw slave. Upon reading this handle the phy-id can be stored based on the reg node in the DT. The phy-handle also needs to be stored and passed to the phy to access any phy data that is available. Signed-off-by: Dan Murphy <dmurphy@ti.com> Tested-by: Mugunthan V N <mugunthanvnm@ti.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com> Base directory -> / drivers/net/cpsw.c | 23 +++++++++++++++++++++-- include/cpsw.h | 1 + 2 files changed, 22 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit 641b936fa5ba4f07d8400bd3bc0540f4ad64eeb7 Author: Mugunthan V N <mugunthanvnm@ti.com> Date: 2016-04-28 15:36:13 +0530 defconfig: dra74_evm: enable eth driver model Enable eth driver model for dra74_evm as cpsw supports driver model. Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com> Base directory -> / configs/dra74_evm_defconfig | 1 + 1 file changed, 1 insertion(+) ------------------------------------------------------------------------------- commit bc705ea1cf12d42f3f10ff2b9f0e037fd56b7410 Author: Mugunthan V N <mugunthanvnm@ti.com> Date: 2016-04-28 15:36:12 +0530 defconfig: am437x_sk_evm: enable eth driver model Enable eth driver model for am437x_sk_evm as cpsw supports driver model. Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com> Base directory -> / configs/am437x_sk_evm_defconfig | 1 + 1 file changed, 1 insertion(+) ------------------------------------------------------------------------------- commit 54e3ba993a68d03ff763e1de8cde168552edf79c Author: Mugunthan V N <mugunthanvnm@ti.com> Date: 2016-04-28 15:36:11 +0530 defconfig: am437x_gp_evm: enable eth driver model Enable eth driver model for am437x_gp_evm as cpsw supports driver model. Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com> Base directory -> / configs/am437x_gp_evm_defconfig | 1 + 1 file changed, 1 insertion(+) ------------------------------------------------------------------------------- commit 844f81447886697c14c0ade8077771e0e52907dc Author: Mugunthan V N <mugunthanvnm@ti.com> Date: 2016-04-28 15:36:10 +0530 arm: dts: dra7: fix ethernet name with proper device address Fix typo error for cpsw device name with proper device address Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com> Base directory -> / arch/arm/dts/dra7.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit d7dc888d60b7d7641275bf6211307720b726baf9 Author: Mugunthan V N <mugunthanvnm@ti.com> Date: 2016-04-28 15:36:09 +0530 arm: dts: dra7: add syscon node to cpsw to read mac address Add syscon node to cpsw device node to read mac address from efuse. Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com> Base directory -> / arch/arm/dts/dra7.dtsi | 1 + 1 file changed, 1 insertion(+) ------------------------------------------------------------------------------- commit dcda79e119cb50d5d4732ef8d22c58889118f559 Author: Mugunthan V N <mugunthanvnm@ti.com> Date: 2016-04-28 15:36:08 +0530 arm: dts: am4372: add syscon node to cpsw to read mac address Add syscon node to cpsw device node to read mac address from efuse. Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com> Base directory -> / arch/arm/dts/am4372.dtsi | 1 + 1 file changed, 1 insertion(+) ------------------------------------------------------------------------------- commit e4310566deb7533301eb0de78d3640f4f307d267 Author: Mugunthan V N <mugunthanvnm@ti.com> Date: 2016-04-28 15:36:07 +0530 drivers: net: cpsw: add support for reading mac address from efuse Different TI platforms has to read with different combination to get the mac address from efuse. So add support to read mac address based on machine/device compatibles. The code is taken from Linux drivers/net/ethernet/ti/cpsw-common.c done by Tony Lindgren. Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com> Base directory -> / drivers/net/Makefile | 2 +- drivers/net/cpsw-common.c | 121 ++++++++++++++++++++++++++++++++++++++++++++++ drivers/net/cpsw.c | 24 +++------ include/cpsw.h | 1 + 4 files changed, 131 insertions(+), 17 deletions(-) ------------------------------------------------------------------------------- commit 66e740cbbdc54b5785046fffa52ed197602d74b1 Author: Mugunthan V N <mugunthanvnm@ti.com> Date: 2016-04-28 15:36:06 +0530 drivers: net: cpsw: fix get mdio base and gmii_sel reg from DT Since dra7x platforms address bus is define as 64 bits to support LAPE, fdtdec_get_addr() returns a invalid address for mdio based and gmii_sel register address. Fixing this by using fdtdec_get_addr_size_auto_noparent() which will derive address cell and size cell from its parent. Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com> Base directory -> / drivers/net/cpsw.c | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) ------------------------------------------------------------------------------- commit 70c5b7b37e34099c428366bdaf266f472dc24377 Author: Mugunthan V N <mugunthanvnm@ti.com> Date: 2016-04-28 15:36:05 +0530 ARM: omap5: add platform specific ethernet phy modes configurations Add platforms specific phy mode configuration bits to be used to configure phy mode in control module. Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com> Base directory -> / arch/arm/include/asm/arch-omap5/cpu.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) ------------------------------------------------------------------------------- commit b2003c5458e883c691f3a7f5f770e6ed36e1b9d7 Author: Mugunthan V N <mugunthanvnm@ti.com> Date: 2016-04-28 15:36:04 +0530 drivers: net: cpsw: fix cpsw dp parse when num slaves as 1 On some boards number of slaves can be 1 when only one port ethernet is pinned out. So do not break when slave_index and num slaves check fails, instead continue to parse the next child. Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com> Base directory -> / drivers/net/cpsw.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) ------------------------------------------------------------------------------- commit 3d12e804956ca996b6621cd1e04fabd39b401882 Author: Mugunthan V N <mugunthanvnm@ti.com> Date: 2016-04-28 15:36:03 +0530 ti_omap5_common: eth: do not define DM_ETH for spl Since omap's spl doesn't support DM currently, do not define DM_ETH for spl build. Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com> Base directory -> / include/configs/ti_omap5_common.h | 1 + 1 file changed, 1 insertion(+) ------------------------------------------------------------------------------- commit 73443b9e4c451b17d1e08164ea933ee6a849b2b3 Author: Mugunthan V N <mugunthanvnm@ti.com> Date: 2016-04-28 15:36:02 +0530 drivers: core: device: add support to check dt compatible for a device/machine Provide an api to check whether the given device or machine is compatible with the given compat string which helps in making decisions in drivers based on device or machine compatible. Idea taken from Linux. Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com> Reviewed-by: Joe Hershberger <joe.hershberger@ni.com> Base directory -> / drivers/core/device.c | 14 ++++++++++++++ include/dm/device.h | 23 +++++++++++++++++++++++ 2 files changed, 37 insertions(+) ------------------------------------------------------------------------------- commit 24ae3961f811ee79e6c98474e21e07f8ce222dfc Author: Kevin Smith <kevin.smith@elecsyscorp.com> Date: 2016-03-31 19:33:12 +0000 net: phy: Add PHY driver for mv88e61xx switches The previous mv88e61xx driver was a driver for configuring the switch, but did not integrate with the PHY/networking system, so it could not be used as a PHY by U-boot. This is a complete rework to support this device as a PHY. Signed-off-by: Kevin Smith <kevin.smith@elecsyscorp.com> Acked-by: Prafulla Wadaskar <prafulla@marvell.com> Cc: Albert ARIBAUD <albert.u.boot@aribaud.net> Cc: Joe Hershberger <joe.hershberger@ni.com> Cc: Stefan Roese <sr@denx.de> Cc: Marek Vasut <marex@denx.de> Acked-by: Joe Hershberger <joe.hershberger@ni.com> Base directory -> / drivers/net/phy/mv88e61xx.c | 1017 +++++++++++++++++++++++++++++++++++++++++++ drivers/net/phy/phy.c | 3 + include/phy.h | 1 + 3 files changed, 1021 insertions(+) ------------------------------------------------------------------------------- commit 83c05515d8b428b9dd1ce6e7031048d4c1971152 Author: Kevin Smith <kevin.smith@elecsyscorp.com> Date: 2016-03-31 19:33:12 +0000 net: Remove unused mv88e61xx switch driver No boards are using this driver. Remove in preparation for a new driver with integrated PHY support. Signed-off-by: Kevin Smith <kevin.smith@elecsyscorp.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com> Cc: Prafulla Wadaskar <prafulla@marvell.com> Cc: Albert ARIBAUD <albert.u.boot@aribaud.net> Cc: Stefan Roese <sr@denx.de> Cc: Marek Vasut <marex@denx.de> Base directory -> / drivers/net/phy/mv88e61xx.c | 537 -------------------------------------------- drivers/net/phy/mv88e61xx.h | 61 ----- include/netdev.h | 58 ----- 3 files changed, 656 deletions(-) ------------------------------------------------------------------------------- commit e96b6ee7bd6ad29d47d50ca69a731afa3c66f174 Author: Sebastien Bourdelin <sebastien.bourdelin@savoirfairelinux.com> Date: 2016-04-21 13:37:04 -0400 ts4800: add CONFIG_SYS_FSL_ERRATUM_ESDHC_A001 This commit fixes the MMC data transactions timeout problem on the TS4800. The changes introduced in the commit e978a31 on the timeout calculation for the MMC data transactions has revealed there is something wrong with the timeout setting of the eSDHC controller used in the IMX51. The IMX51 seems to be concerned by this erratum and without this change the MMC driver is unable to do any transactions. Signed-off-by: Sebastien Bourdelin <sebastien.bourdelin@savoirfairelinux.com> Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com> Base directory -> / include/configs/ts4800.h | 2 ++ 1 file changed, 2 insertions(+) ------------------------------------------------------------------------------- commit e453794f87436c7788ba763f90e0e905ace8b7f7 Author: Damien Riegel <damien.riegel@savoirfairelinux.com> Date: 2016-04-21 17:34:02 -0400 ts4800: update environment to boot with device tree This commit updates the environment variables to be able to boot with a device tree. The expected partition layout on the SD card is: - partition 1: type 0xDA, contains u-boot.bin - partition 2: type 0xC (fat), contains zImage and device tree - partition 3: type 0x83, root filesystem. Signed-off-by: Damien Riegel <damien.riegel@savoirfairelinux.com> Base directory -> / include/configs/ts4800.h | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) ------------------------------------------------------------------------------- commit a0eb8c9b91348966f7ae8748b4ab3febae792a76 Author: Tim Harvey <tharvey@gateworks.com> Date: 2016-05-23 08:25:29 -0700 imx: ventana: remove SPL_EXT_SUPPORT Remove SPL_EXT_SUPPORT to resolve build issue. It may be useful to bring it back in the future after comparing its merits to storing the args/kernel in fixed raw locations. Signed-off-by: Tim Harvey <tharvey@gateworks.com> Base directory -> / include/configs/gw_ventana.h | 1 + 1 file changed, 1 insertion(+) ------------------------------------------------------------------------------- commit 3c0fd17f61060f3077b0601e0d8353e2b1b6a3df Author: Tim Harvey <tharvey@gateworks.com> Date: 2016-05-23 08:25:28 -0700 imx: ventana: use EEPROM register for falcon boot mode NAND+MMC env support costs 12KB in the SPL which is fairly expensive just for the ability to specify whether or not to boot to uboot or directly to linux. The Ventana boards have plenty of EEPROM storage so we will use a byte there to signify if we should boot to the bootloader or to the OS. Signed-off-by: Tim Harvey <tharvey@gateworks.com> Base directory -> / board/gateworks/gw_ventana/README | 17 ++++++----------- board/gateworks/gw_ventana/gw_ventana_spl.c | 7 ++++++- include/configs/gw_ventana.h | 1 - 3 files changed, 12 insertions(+), 13 deletions(-) ------------------------------------------------------------------------------- commit a419352daf7a3dd29306d458fd3924e394d3cdc0 Author: Tim Harvey <tharvey@gateworks.com> Date: 2016-05-23 08:25:27 -0700 imx: ventana: gsc: remove dependence on env remove dependence on getenv() by using global board info struct for model. Signed-off-by: Tim Harvey <tharvey@gateworks.com> Base directory -> / board/gateworks/gw_ventana/gsc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit 3061a5766ac34111929bec81b23e59ddf8a8b1e2 Author: Tim Harvey <tharvey@gateworks.com> Date: 2016-05-23 08:25:26 -0700 imx: ventana: config: remove redundant config remove redundant define that exists in mx6_common.h Signed-off-by: Tim Harvey <tharvey@gateworks.com> Base directory -> / include/configs/gw_ventana.h | 3 --- 1 file changed, 3 deletions(-) ------------------------------------------------------------------------------- commit 83e1394242180f683ce6ba4840f4a5f6a14d2fa0 Author: Peng Fan <van.freenix@gmail.com> Date: 2016-05-23 18:36:06 +0800 board: mx6sabresd/auto: use simpler runtime cpu dection macros Use simpler runtime cpu dection macros. Signed-off-by: Peng Fan <van.freenix@gmail.com> Cc: Fabio Estevam <fabio.estevam@nxp.com> Cc: Stefano Babic <sbabic@denx.de> Base directory -> / board/freescale/mx6qsabreauto/mx6qsabreauto.c | 4 ++-- board/freescale/mx6sabresd/mx6sabresd.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) ------------------------------------------------------------------------------- commit 3fd9eb66896768aaa73c26bc5686abac7e058652 Author: Peng Fan <van.freenix@gmail.com> Date: 2016-05-23 18:36:05 +0800 block: dwc_ahsata: support i.MX6DQPlus i.MX6DQPlus support sata interface, so not return failure when CPU is i.MX6DQPlus. In this patch, also use simpler runtime cpu dections macros to replace is_cpu_type. Signed-off-by: Peng Fan <van.freenix@gmail.com> Cc: Stefano Babic <sbabic@denx.de> Cc: Simon Glass <sjg@chromium.org> Cc: Tang Yuantian <Yuantian.Tang@freescale.com> Cc: Shaohui Xie <Shaohui.Xie@freescale.com> Cc: Bin Meng <bmeng.cn@gmail.com> Base directory -> / drivers/block/dwc_ahsata.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 87f9989502763f36b1df94c909cbf05f65633fc4 Author: Peng Fan <van.freenix@gmail.com> Date: 2016-05-23 18:36:04 +0800 net: fec_mxc: use simpler runtime cpu dection macros Use simpler runtime cpu dection macros. Signed-off-by: Peng Fan <van.freenix@gmail.com> Cc: Stefano Babic <sbabic@denx.de> Cc: Joe Hershberger <joe.hershberger@ni.com> Base directory -> / drivers/net/fec_mxc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit bff755033133b49eaea38a68fe3284c1a25f2695 Author: Peng Fan <van.freenix@gmail.com> Date: 2016-05-23 18:36:03 +0800 ocotp: mxc: use simpler runtime cpu dection macros Use simpler runtime cpu dection macros. Signed-off-by: Peng Fan <van.freenix@gmail.com> Cc: Stefano Babic <sbabic@denx.de> Base directory -> / drivers/misc/mxc_ocotp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit 9aa550d2e8e9c6c2a149528d3d2b33870608a860 Author: Peng Fan <van.freenix@gmail.com> Date: 2016-05-23 18:36:02 +0800 mtd: nand: mxs: use simpler runtime cpu dection macros Use simpler runtime cpu dection macros. Signed-off-by: Peng Fan <van.freenix@gmail.com> Cc: Stefano Babic <sbabic@denx.de> Cc: Scott Wood <oss@buserror.net> Base directory -> / drivers/mtd/nand/mxs_nand.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 492d60ac79aba67e8b9e98b251e3996746e58d60 Author: Peng Fan <van.freenix@gmail.com> Date: 2016-05-23 18:36:01 +0800 imx-common: timer: support i.MX6DQPlus To i.MX6DQPlus, osc can be choosed as the source of gpt, so add i.MX6DQPlus support in gpt_has_clk_source_osc. Signed-off-by: Peng Fan <van.freenix@gmail.com> Cc: Stefano Babic <sbabic@denx.de> Base directory -> / arch/arm/imx-common/timer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit aff3756104544ed1bb45835db4a7824fece8709e Author: Peng Fan <van.freenix@gmail.com> Date: 2016-05-23 18:36:00 +0800 imx-common: sata: return failure if not i.MX6DQPlus The i.MX6DQPlus support sata interface, we should not return failure when CPU is i.MX6DQPlus. Signed-off-by: Peng Fan <van.freenix@gmail.com> Cc: Stefano Babic <sbabic@denx.de> Base directory -> / arch/arm/imx-common/sata.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit b5437a8082b7385f0d2db90e37c2342b1c0fc59f Author: Peng Fan <van.freenix@gmail.com> Date: 2016-05-23 18:35:59 +0800 imx-common: hab: support i.MX6DQPlus Support i.MX6DQPlus, otherwise wrong hab address will be used for i.MX6QDPlus. Signed-off-by: Peng Fan <van.freenix@gmail.com> Cc: Ulises Cardenas <Ulises.Cardenas@freescale.com> Cc: Stefano Babic <sbabic@denx.de> Base directory -> / arch/arm/imx-common/hab.c | 10 ++++++++++ 1 file changed, 10 insertions(+) ------------------------------------------------------------------------------- commit 04cb3c0b0e11cd50593af2330e5ba8f1f11068b3 Author: Peng Fan <van.freenix@gmail.com> Date: 2016-05-23 18:35:58 +0800 imx: mx6: correct get_cpu_speed_grade_hz for i.MX6DQP Correct get_cpu_speed_grade_hz for i.MX6DQP, otherwise we will get wrong speed grade info i.MX6DQP. Signed-off-by: Peng Fan <van.freenix@gmail.com> Cc: Stefano Babic <sbabic@denx.de> Base directory -> / arch/arm/cpu/armv7/mx6/soc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit e4d79dcaa41a20dfeba602ce9384af5851268825 Author: Peng Fan <van.freenix@gmail.com> Date: 2016-05-23 18:35:57 +0800 imx: mx6: ddr: support i.MX6D/QPlus Support i.MX6D/QPlus. Signed-off-by: Peng Fan <van.freenix@gmail.com> Cc: Stefano Babic <sbabic@denx.de> Base directory -> / arch/arm/cpu/armv7/mx6/ddr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit 27cd0da41e7c2f10d754efba0d178a5715d12bc2 Author: Peng Fan <van.freenix@gmail.com> Date: 2016-05-23 18:35:56 +0800 imx-common: use simpler runtime cpu dection macros Use simpler runtime cpu dection macros. Signed-off-by: Peng Fan <van.freenix@gmail.com> Cc: Stefano Babic <sbabic@denx.de> Cc: Bhuvanchandra DV <bhuvanchandra.dv@toradex.com> Cc: "Benoît Thébaudeau" <benoit.thebaudeau.dev@gmail.com> Base directory -> / arch/arm/imx-common/hab.c | 48 ++++++++++++------------------------------ arch/arm/imx-common/init.c | 5 ++--- arch/arm/imx-common/iomux-v3.c | 2 +- arch/arm/imx-common/sata.c | 2 +- arch/arm/imx-common/timer.c | 11 +++------- 5 files changed, 20 insertions(+), 48 deletions(-) ------------------------------------------------------------------------------- commit 003f0c7eb2f257eddc5173def53fcb5a137045c2 Author: Peng Fan <van.freenix@gmail.com> Date: 2016-05-23 18:35:55 +0800 imx-common: hab: support i.MX6SOLO Add i.MX6SOLO support for hab function. The difference between i.MX6SOLO and i.MX6DL is the number of CPU cores. Besides this, they work the same. Signed-off-by: Peng Fan <van.freenix@gmail.com> Cc: Bhuvanchandra DV <bhuvanchandra.dv@toradex.com> Cc: "Benoît Thébaudeau" <benoit.thebaudeau.dev@gmail.com> Cc: Stefano Babic <sbabic@denx.de> Base directory -> / arch/arm/imx-common/hab.c | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) ------------------------------------------------------------------------------- commit b949fd2ccbd1d9877d85e1febdfe2e96b5c150c2 Author: Peng Fan <van.freenix@gmail.com> Date: 2016-05-23 18:35:54 +0800 imx: mx6: use simpler runtime cpu dection macros Use simpler runtime cpu dection macros. i.MX6DL and i.MX6SOLO work the same, so use is_mx6sdl. Signed-off-by: Peng Fan <van.freenix@gmail.com> Cc: Stefano Babic <sbabic@denx.de> Base directory -> / arch/arm/cpu/armv7/mx6/clock.c | 42 +++++++++++++++++++----------------------- arch/arm/cpu/armv7/mx6/ddr.c | 10 ++++------ arch/arm/cpu/armv7/mx6/soc.c | 13 ++++++------- 3 files changed, 29 insertions(+), 36 deletions(-) ------------------------------------------------------------------------------- commit dea572379e267780d7388f1ff28fca79537215c6 Author: Peng Fan <van.freenix@gmail.com> Date: 2016-05-23 18:35:53 +0800 imx: mx6: support i.MX6SOLO when enable/disable_ldb_di_clock_sources i.MX6DL and i.MX6SOLO work the same, add i.MX6SOLO support when enable/disable_ldb_di_clock_sources. Signed-off-by: Peng Fan <van.freenix@gmail.com> Cc: Stefano Babic <sbabic@denx.de> Base directory -> / arch/arm/cpu/armv7/mx6/clock.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit 32ff58bb2e1f66aa0fc9d0e9913cdca54eb819a9 Author: Peng Fan <van.freenix@gmail.com> Date: 2016-05-23 18:35:52 +0800 imx-common: introduce simpler macros for runtime dection Introduce simpler macros for runtime cpu dection. Signed-off-by: Peng Fan <van.freenix@gmail.com> Cc: Stefano Babic <sbabic@denx.de> Acked-by: Stefano Babic <sbabic@denx.de> Base directory -> / arch/arm/include/asm/imx-common/sys_proto.h | 8 ++++++++ 1 file changed, 8 insertions(+) ------------------------------------------------------------------------------- commit 08ca213acadef61748dc62d48b0f5c4bed8b8c2d Author: Stefano Babic <sbabic@denx.de> Date: 2016-05-24 14:55:06 +0200 Merge branch 'master' of git://git.denx.de/u-boot Base directory -> / README | 5 +- api/api.c | 58 +- api/api_storage.c | 2 +- arch/arm/cpu/armv8/start.S | 2 +- arch/arm/dts/exynos4210-universal_c210.dts | 10 +- arch/arm/dts/tegra20-seaboard.dts | 4 - arch/arm/include/asm/arch-ls102xa/config.h | 2 +- arch/m68k/cpu/mcf5227x/start.S | 25 +- arch/m68k/cpu/mcf523x/start.S | 27 +- arch/m68k/cpu/mcf52x2/start.S | 26 +- arch/m68k/cpu/mcf530x/cpu_init.c | 2 +- arch/m68k/cpu/mcf530x/start.S | 25 +- arch/m68k/cpu/mcf532x/start.S | 27 +- arch/m68k/cpu/mcf5445x/start.S | 27 +- arch/m68k/cpu/mcf547x_8x/start.S | 25 +- arch/m68k/include/asm/config.h | 2 - arch/m68k/include/asm/fsl_i2c.h | 2 +- arch/mips/Kconfig | 48 +- arch/mips/Makefile | 4 + arch/mips/cpu/cpu.c | 1 - arch/mips/cpu/start.S | 22 +- arch/mips/dts/Makefile | 3 + arch/mips/dts/ap121.dts | 43 + arch/mips/dts/ap143.dts | 43 + arch/mips/dts/ar933x.dtsi | 115 ++ arch/mips/dts/ar934x.dtsi | 112 ++ arch/mips/dts/qca953x.dtsi | 84 ++ arch/mips/dts/tplink_wdr4300.dts | 53 + arch/mips/include/asm/global_data.h | 6 + arch/mips/lib/cache_init.S | 2 +- arch/mips/mach-ath79/Kconfig | 55 + arch/mips/mach-ath79/Makefile | 11 + arch/mips/mach-ath79/ar933x/Makefile | 7 + arch/mips/mach-ath79/ar933x/clk.c | 89 ++ arch/mips/mach-ath79/ar933x/ddr.c | 333 +++++ arch/mips/mach-ath79/ar933x/lowlevel_init.S | 280 ++++ arch/mips/mach-ath79/ar934x/Makefile | 7 + arch/mips/mach-ath79/ar934x/clk.c | 334 +++++ arch/mips/mach-ath79/ar934x/cpu.c | 10 + arch/mips/mach-ath79/ar934x/ddr.c | 163 +++ arch/mips/mach-ath79/cpu.c | 142 ++ arch/mips/mach-ath79/dram.c | 16 + arch/mips/mach-ath79/include/mach/ar71xx_regs.h | 1263 ++++++++++++++++++ arch/mips/mach-ath79/include/mach/ath79.h | 149 +++ arch/mips/mach-ath79/include/mach/ddr.h | 13 + arch/mips/mach-ath79/include/mach/reset.h | 14 + arch/mips/mach-ath79/qca953x/Makefile | 7 + arch/mips/mach-ath79/qca953x/clk.c | 111 ++ arch/mips/mach-ath79/qca953x/ddr.c | 472 +++++++ arch/mips/mach-ath79/qca953x/lowlevel_init.S | 186 +++ arch/mips/mach-ath79/reset.c | 208 +++ arch/powerpc/include/asm/fsl_i2c.h | 12 +- arch/powerpc/include/asm/immap_85xx.h | 4 +- arch/powerpc/include/asm/immap_86xx.h | 4 +- arch/sandbox/include/asm/io.h | 15 + arch/x86/Kconfig | 3 + arch/x86/cpu/broadwell/sata.c | 2 +- arch/x86/cpu/intel_common/cpu.c | 2 +- arch/x86/cpu/ivybridge/bd82x6x.c | 2 +- arch/x86/cpu/ivybridge/sata.c | 2 +- board/cm5200/fwupdate.c | 2 +- board/compulab/common/eeprom.c | 344 +++++ board/imgtec/malta/lowlevel_init.S | 1 - board/keymile/km83xx/km83xx_i2c.c | 28 +- board/mpl/pip405/README | 6 +- board/qca/ap121/Kconfig | 12 + board/qca/ap121/MAINTAINERS | 6 + board/qca/ap121/Makefile | 5 + board/qca/ap121/ap121.c | 50 + board/qca/ap143/Kconfig | 12 + board/qca/ap143/MAINTAINERS | 6 + board/qca/ap143/Makefile | 5 + board/qca/ap143/ap143.c | 66 + board/sandbox/MAINTAINERS | 7 + board/tplink/wdr4300/Kconfig | 15 + board/tplink/wdr4300/MAINTAINERS | 6 + board/tplink/wdr4300/Makefile | 5 + board/tplink/wdr4300/wdr4300.c | 74 ++ cmd/Makefile | 8 +- cmd/bdinfo.c | 2 + cmd/disk.c | 2 +- cmd/eeprom.c | 251 +++- cmd/ide.c | 1352 +------------------- cmd/mmc.c | 18 +- cmd/sata.c | 142 +- cmd/scsi.c | 753 ++--------- cmd/usb.c | 16 +- common/Makefile | 9 + common/board_r.c | 4 +- common/dlmalloc.c | 23 +- common/eeprom/eeprom_field.c | 250 ++++ common/eeprom/eeprom_layout.c | 125 ++ common/env_mmc.c | 6 +- common/ide.c | 1231 ++++++++++++++++++ common/image-fit.c | 6 +- common/sata.c | 115 ++ common/scsi.c | 592 +++++++++ common/spl/spl_fat.c | 2 +- common/spl/spl_fit.c | 7 +- common/spl/spl_mmc.c | 2 +- common/spl/spl_sata.c | 2 +- common/spl/spl_usb.c | 2 +- common/usb_storage.c | 37 +- configs/ap121_defconfig | 47 + configs/ap143_defconfig | 47 + configs/axs101_defconfig | 1 + configs/axs103_defconfig | 1 + configs/pico-imx6ul_defconfig | 1 + configs/sandbox_defconfig | 2 + configs/sandbox_noblk_defconfig | 168 +++ configs/socfpga_arria5_defconfig | 1 + configs/socfpga_cyclone5_defconfig | 1 + configs/socfpga_de0_nano_soc_defconfig | 1 + configs/socfpga_mcvevk_defconfig | 1 + configs/socfpga_sockit_defconfig | 1 + configs/socfpga_socrates_defconfig | 1 + configs/socfpga_sr1500_defconfig | 1 + configs/spear300_defconfig | 1 + configs/spear300_nand_defconfig | 1 + configs/spear300_usbtty_defconfig | 1 + configs/spear300_usbtty_nand_defconfig | 1 + configs/spear310_defconfig | 1 + configs/spear310_nand_defconfig | 1 + configs/spear310_pnor_defconfig | 1 + configs/spear310_usbtty_defconfig | 1 + configs/spear310_usbtty_nand_defconfig | 1 + configs/spear310_usbtty_pnor_defconfig | 1 + configs/spear320_defconfig | 1 + configs/spear320_nand_defconfig | 1 + configs/spear320_pnor_defconfig | 1 + configs/spear320_usbtty_defconfig | 1 + configs/spear320_usbtty_nand_defconfig | 1 + configs/spear320_usbtty_pnor_defconfig | 1 + configs/spear600_defconfig | 1 + configs/spear600_nand_defconfig | 1 + configs/spear600_usbtty_defconfig | 1 + configs/spear600_usbtty_nand_defconfig | 1 + configs/tplink_wdr4300_defconfig | 43 + configs/x600_defconfig | 1 + disk/part.c | 83 +- .../serial/qca,ar9330-uart.txt | 24 + doc/device-tree-bindings/spi/spi-ath79.txt | 19 + drivers/Makefile | 2 + drivers/block/Kconfig | 5 +- drivers/block/Makefile | 8 +- drivers/block/ahci-uclass.c | 14 + drivers/block/blk-uclass.c | 361 ++++++ drivers/block/blk_legacy.c | 261 ++++ drivers/block/disk-uclass.c | 14 - drivers/block/sandbox.c | 103 +- drivers/block/sandbox_scsi.c | 29 + drivers/block/sata_sandbox.c | 33 + drivers/block/sym53c8xx.c | 2 +- drivers/block/systemace.c | 110 +- drivers/core/device-remove.c | 2 + drivers/core/device.c | 10 +- drivers/core/lists.c | 4 + drivers/ddr/marvell/a38x/ddr3_init.c | 29 +- drivers/dfu/dfu_mmc.c | 13 +- drivers/gpio/74x164_gpio.c | 193 +++ drivers/gpio/Kconfig | 30 + drivers/gpio/Makefile | 3 + drivers/gpio/gpio-uclass.c | 30 +- drivers/gpio/intel_broadwell_gpio.c | 10 - drivers/gpio/omap_gpio.c | 11 - drivers/gpio/pca953x_gpio.c | 351 +++++ drivers/gpio/pic32_gpio.c | 10 - drivers/gpio/rk_gpio.c | 11 - drivers/gpio/s5p_gpio.c | 11 - drivers/i2c/Kconfig | 25 + drivers/i2c/designware_i2c.c | 9 + drivers/i2c/fsl_i2c.c | 379 ++++-- drivers/i2c/i2c-cdns.c | 132 +- drivers/i2c/muxes/Kconfig | 10 + drivers/i2c/muxes/Makefile | 1 + drivers/i2c/muxes/pca954x.c | 79 ++ drivers/i2c/mvtwsi.c | 62 +- drivers/mmc/Kconfig | 11 +- drivers/mmc/Makefile | 12 +- drivers/mmc/mmc-uclass.c | 106 ++ drivers/mmc/mmc.c | 311 +++-- drivers/mmc/mmc_legacy.c | 108 ++ drivers/mmc/mmc_private.h | 33 +- drivers/mmc/mmc_write.c | 18 +- drivers/mmc/omap_hsmmc.c | 1 + drivers/mmc/pic32_sdhci.c | 7 +- drivers/mmc/rockchip_dw_mmc.c | 1 + drivers/mmc/sandbox_mmc.c | 134 +- drivers/mmc/socfpga_dw_mmc.c | 1 + drivers/mmc/uniphier-sd.c | 1 + drivers/mmc/zynq_sdhci.c | 1 + drivers/mtd/Kconfig | 7 + drivers/mtd/Makefile | 1 + drivers/mtd/pic32_flash.c | 444 +++++++ drivers/pci/pci.c | 4 - drivers/pinctrl/Kconfig | 18 + drivers/pinctrl/Makefile | 1 + drivers/pinctrl/ath79/Makefile | 6 + drivers/pinctrl/ath79/pinctrl_ar933x.c | 136 ++ drivers/pinctrl/ath79/pinctrl_qca953x.c | 156 +++ drivers/serial/Kconfig | 18 + drivers/serial/Makefile | 1 + drivers/serial/mcfuart.c | 188 ++- drivers/serial/serial_ar933x.c | 243 ++++ drivers/spi/Kconfig | 9 + drivers/spi/Makefile | 1 + drivers/spi/ath79_spi.c | 228 ++++ drivers/spi/omap3_spi.c | 23 +- drivers/spi/soft_spi.c | 55 +- drivers/spi/spi-uclass.c | 28 +- drivers/usb/common/Makefile | 1 + drivers/usb/common/common.c | 40 + drivers/video/tegra.c | 7 + dts/Kconfig | 1 + examples/api/Makefile | 4 + examples/api/crt0.S | 13 +- examples/api/glue.c | 18 +- examples/standalone/stubs.c | 18 + fs/fat/fat.c | 2 +- include/asm-generic/gpio.h | 19 +- include/ata.h | 2 +- include/blk.h | 263 +++- include/config_cmd_all.h | 2 +- include/config_distro_bootcmd.h | 6 +- include/config_fallbacks.h | 2 +- include/configs/MPC8544DS.h | 2 +- include/configs/MPC8572DS.h | 2 +- include/configs/MPC8610HPCD.h | 2 +- include/configs/MPC8641HPCN.h | 4 +- include/configs/PIP405.h | 2 +- include/configs/am57xx_evm.h | 2 +- include/configs/ap121.h | 86 ++ include/configs/ap143.h | 90 ++ include/configs/axs101.h | 1 - include/configs/cm_fx6.h | 11 + include/configs/cm_t335.h | 11 + include/configs/cm_t35.h | 11 + include/configs/cm_t3517.h | 11 + include/configs/cm_t43.h | 11 + include/configs/cm_t54.h | 13 +- include/configs/db-88f6820-gp.h | 2 +- include/configs/dra7xx_evm.h | 2 +- include/configs/efi-x86.h | 2 +- include/configs/galileo.h | 2 +- include/configs/highbank.h | 2 +- include/configs/ls1043aqds.h | 2 +- include/configs/ls2080aqds.h | 2 +- include/configs/ls2080ardb.h | 2 +- include/configs/omap5_uevm.h | 2 +- include/configs/qemu-mips.h | 4 + include/configs/qemu-mips64.h | 4 + include/configs/qemu-x86.h | 2 +- include/configs/sandbox.h | 25 + include/configs/sbc8641d.h | 2 - include/configs/socfpga_common.h | 1 - include/configs/spear-common.h | 1 - include/configs/sunxi-common.h | 2 +- include/configs/theadorable.h | 1 + include/configs/tplink_wdr4300.h | 93 ++ include/configs/x600.h | 1 - include/configs/x86-common.h | 2 +- include/configs/xilinx_zynqmp.h | 2 +- include/dm/device.h | 16 + include/dm/platform_data/serial_coldfire.h | 23 + include/dm/uclass-id.h | 2 +- include/eeprom_field.h | 39 + include/eeprom_layout.h | 33 + include/flash.h | 5 +- include/ide.h | 8 + include/iotrace.h | 5 +- include/linux/usb/otg.h | 9 + include/mmc.h | 38 +- include/part.h | 33 - include/spi.h | 52 + include/systemace.h | 17 - include/usb.h | 1 - lib/efi_loader/efi_disk.c | 27 +- scripts/basic/fixdep.c | 6 +- test/dm/blk.c | 4 +- test/dm/mmc.c | 19 + tools/buildman/README | 42 + tools/buildman/builder.py | 10 +- tools/buildman/builderthread.py | 24 +- tools/buildman/cmdline.py | 4 + tools/buildman/control.py | 4 +- tools/imagetool.c | 3 +- tools/imagetool.h | 1 + tools/mkimage.c | 5 +- 288 files changed, 13582 insertions(+), 3126 deletions(-) ------------------------------------------------------------------------------- commit ec8fb48ce98987065493b27422200897cf0909f8 Author: Tom Rini <trini@konsulko.com> Date: 2016-05-24 08:20:43 -0400 Merge branch 'master' of git://www.denx.de/git/u-boot-microblaze Base directory -> / arch/arm/Kconfig | 1 + arch/arm/cpu/armv8/zynqmp/Makefile | 1 + arch/arm/cpu/armv8/zynqmp/spl.c | 107 + arch/arm/dts/zynq-7000.dtsi | 2 +- arch/arm/dts/zynqmp.dtsi | 9 +- arch/arm/include/asm/arch-zynqmp/sys_proto.h | 2 + arch/arm/mach-zynq/Kconfig | 48 +- arch/arm/mach-zynq/spl.c | 25 + board/xilinx/zynq/Makefile | 12 +- .../zynq/MicroZed_hw_platform/ps7_init_gpl.c | 12963 ------------------ .../zynq/MicroZed_hw_platform/ps7_init_gpl.h | 117 - board/xilinx/zynq/ZC702_hw_platform/ps7_init_gpl.c | 13296 ------------------- board/xilinx/zynq/ZC702_hw_platform/ps7_init_gpl.h | 117 - board/xilinx/zynq/ZC706_hw_platform/ps7_init_gpl.c | 13203 ------------------ board/xilinx/zynq/ZC706_hw_platform/ps7_init_gpl.h | 117 - board/xilinx/zynq/custom_hw_platform/.gitignore | 1 - board/xilinx/zynq/zed_hw_platform/ps7_init_gpl.c | 12861 ------------------ board/xilinx/zynq/zed_hw_platform/ps7_init_gpl.h | 117 - board/xilinx/zynq/zybo_hw_platform/ps7_init_gpl.c | 13045 ------------------ board/xilinx/zynq/zybo_hw_platform/ps7_init_gpl.h | 98 - board/xilinx/zynq/zynq-microzed/ps7_init_gpl.c | 12963 ++++++++++++++++++ board/xilinx/zynq/zynq-microzed/ps7_init_gpl.h | 117 + board/xilinx/zynq/zynq-zc702/ps7_init_gpl.c | 13296 +++++++++++++++++++ board/xilinx/zynq/zynq-zc702/ps7_init_gpl.h | 117 + board/xilinx/zynq/zynq-zc706/ps7_init_gpl.c | 13203 ++++++++++++++++++ board/xilinx/zynq/zynq-zc706/ps7_init_gpl.h | 117 + board/xilinx/zynq/zynq-zed/ps7_init_gpl.c | 12861 ++++++++++++++++++ board/xilinx/zynq/zynq-zed/ps7_init_gpl.h | 117 + board/xilinx/zynq/zynq-zybo/ps7_init_gpl.c | 13045 ++++++++++++++++++ board/xilinx/zynq/zynq-zybo/ps7_init_gpl.h | 98 + board/xilinx/zynqmp/Makefile | 23 +- board/xilinx/zynqmp/xil_io.h | 35 + board/xilinx/zynqmp/zynqmp.c | 17 + common/bootm.c | 10 + common/image-fit.c | 11 +- common/image.c | 94 + common/spl/spl.c | 51 +- configs/xilinx_zynqmp_ep_defconfig | 9 + configs/xilinx_zynqmp_zc1751_xm015_dc1_defconfig | 8 + configs/xilinx_zynqmp_zc1751_xm016_dc2_defconfig | 3 + configs/xilinx_zynqmp_zc1751_xm019_dc5_defconfig | 3 + configs/xilinx_zynqmp_zcu102_defconfig | 8 + configs/xilinx_zynqmp_zcu102_revB_defconfig | 8 + configs/zynq_microzed_defconfig | 2 +- configs/zynq_picozed_defconfig | 2 +- configs/zynq_zc702_defconfig | 1 + configs/zynq_zc706_defconfig | 2 +- configs/zynq_zc770_xm010_defconfig | 2 +- configs/zynq_zc770_xm011_defconfig | 2 +- configs/zynq_zc770_xm012_defconfig | 2 +- configs/zynq_zc770_xm013_defconfig | 2 +- configs/zynq_zed_defconfig | 2 +- configs/zynq_zybo_defconfig | 2 +- doc/uImage.FIT/multi-with-fpga.its | 67 + doc/uImage.FIT/source_file_format.txt | 3 + drivers/fpga/fpga.c | 2 +- drivers/gpio/zynq_gpio.c | 22 + drivers/net/phy/broadcom.c | 34 +- drivers/net/phy/davicom.c | 9 +- drivers/net/phy/et1011c.c | 10 +- drivers/net/phy/lxt.c | 9 +- drivers/net/phy/marvell.c | 39 +- drivers/net/phy/micrel.c | 7 +- drivers/net/phy/natsemi.c | 18 +- drivers/net/phy/phy.c | 15 +- drivers/net/phy/realtek.c | 28 +- drivers/net/phy/smsc.c | 10 +- drivers/net/phy/vitesse.c | 8 +- drivers/net/xilinx_emaclite.c | 6 +- drivers/net/zynq_gem.c | 8 +- include/bootstage.h | 1 + include/configs/xilinx_zynqmp.h | 59 +- include/configs/xilinx_zynqmp_zcu102.h | 6 + include/configs/zynq-common.h | 6 +- include/image.h | 7 +- include/spl.h | 1 + scripts/Makefile.spl | 7 + tools/Makefile | 1 + tools/zynqmpimage.c | 269 + 79 files changed, 66934 insertions(+), 66093 deletions(-) ------------------------------------------------------------------------------- commit c98dc5a13399414fb651a80d05fa682236c4444e Author: Tom Rini <trini@konsulko.com> Date: 2016-05-24 07:22:55 -0400 Merge branch 'master' of git://git.denx.de/u-boot-atmel Base directory -> / arch/arm/mach-at91/Kconfig | 6 + arch/arm/mach-at91/Makefile | 2 +- arch/arm/mach-at91/armv7/clock.c | 11 + arch/arm/mach-at91/bootparams_atmel.S | 18 ++ arch/arm/mach-at91/include/mach/clk.h | 2 + arch/arm/mach-at91/include/mach/sama5_sfr.h | 24 ++ arch/arm/mach-at91/include/mach/sama5d2.h | 17 ++ arch/arm/mach-at91/spl.c | 36 +++ board/atmel/sama5d2_ptc/Kconfig | 15 ++ board/atmel/sama5d2_ptc/MAINTAINERS | 7 + board/atmel/sama5d2_ptc/Makefile | 8 + board/atmel/sama5d2_ptc/sama5d2_ptc.c | 285 ++++++++++++++++++++++++ board/atmel/sama5d2_xplained/sama5d2_xplained.c | 5 +- configs/sama5d2_ptc_nandflash_defconfig | 12 + configs/sama5d2_ptc_spiflash_defconfig | 12 + configs/sama5d2_xplained_mmc_defconfig | 1 + configs/sama5d2_xplained_spiflash_defconfig | 1 + configs/sama5d3_xplained_mmc_defconfig | 1 + configs/sama5d3_xplained_nandflash_defconfig | 1 + configs/sama5d3xek_mmc_defconfig | 1 + configs/sama5d3xek_nandflash_defconfig | 1 + configs/sama5d3xek_spiflash_defconfig | 1 + configs/sama5d4_xplained_mmc_defconfig | 1 + configs/sama5d4_xplained_nandflash_defconfig | 1 + configs/sama5d4_xplained_spiflash_defconfig | 1 + configs/sama5d4ek_mmc_defconfig | 1 + configs/sama5d4ek_nandflash_defconfig | 1 + configs/sama5d4ek_spiflash_defconfig | 1 + include/configs/sama5d2_ptc.h | 155 +++++++++++++ 29 files changed, 625 insertions(+), 3 deletions(-) ------------------------------------------------------------------------------- commit ad5b5801264e573bfbf17a20b04c546985c5bfc1 Author: Michal Simek <michal.simek@xilinx.com> Date: 2016-05-20 14:59:33 +0200 ARM: zynq: Simplify zynq configuration Extending Kconfig for adding new platform is a lot of work for nothing. Setting SYS_CONFIG_NAME directly in Kconfig and remove all dependencies on TARGET_ZYNQ_* options including SPL. As a side-effect it also remove custom init folder for ps7_init_gpl.* files. Folder is chosen based on device-tree file. Signed-off-by: Michal Simek <michal.simek@xilinx.com> Base directory -> / arch/arm/mach-zynq/Kconfig | 48 +- board/xilinx/zynq/Makefile | 12 +- .../zynq/MicroZed_hw_platform/ps7_init_gpl.c | 12963 ------------------ .../zynq/MicroZed_hw_platform/ps7_init_gpl.h | 117 - board/xilinx/zynq/ZC702_hw_platform/ps7_init_gpl.c | 13296 ------------------- board/xilinx/zynq/ZC702_hw_platform/ps7_init_gpl.h | 117 - board/xilinx/zynq/ZC706_hw_platform/ps7_init_gpl.c | 13203 ------------------ board/xilinx/zynq/ZC706_hw_platform/ps7_init_gpl.h | 117 - board/xilinx/zynq/custom_hw_platform/.gitignore | 1 - board/xilinx/zynq/zed_hw_platform/ps7_init_gpl.c | 12861 ------------------ board/xilinx/zynq/zed_hw_platform/ps7_init_gpl.h | 117 - board/xilinx/zynq/zybo_hw_platform/ps7_init_gpl.c | 13045 ------------------ board/xilinx/zynq/zybo_hw_platform/ps7_init_gpl.h | 98 - board/xilinx/zynq/zynq-microzed/ps7_init_gpl.c | 12963 ++++++++++++++++++ board/xilinx/zynq/zynq-microzed/ps7_init_gpl.h | 117 + board/xilinx/zynq/zynq-zc702/ps7_init_gpl.c | 13296 +++++++++++++++++++ board/xilinx/zynq/zynq-zc702/ps7_init_gpl.h | 117 + board/xilinx/zynq/zynq-zc706/ps7_init_gpl.c | 13203 ++++++++++++++++++ board/xilinx/zynq/zynq-zc706/ps7_init_gpl.h | 117 + board/xilinx/zynq/zynq-zed/ps7_init_gpl.c | 12861 ++++++++++++++++++ board/xilinx/zynq/zynq-zed/ps7_init_gpl.h | 117 + board/xilinx/zynq/zynq-zybo/ps7_init_gpl.c | 13045 ++++++++++++++++++ board/xilinx/zynq/zynq-zybo/ps7_init_gpl.h | 98 + configs/zynq_microzed_defconfig | 2 +- configs/zynq_picozed_defconfig | 2 +- configs/zynq_zc702_defconfig | 1 + configs/zynq_zc706_defconfig | 2 +- configs/zynq_zc770_xm010_defconfig | 2 +- configs/zynq_zc770_xm011_defconfig | 2 +- configs/zynq_zc770_xm012_defconfig | 2 +- configs/zynq_zc770_xm013_defconfig | 2 +- configs/zynq_zed_defconfig | 2 +- configs/zynq_zybo_defconfig | 2 +- 33 files changed, 65951 insertions(+), 65997 deletions(-) ------------------------------------------------------------------------------- commit 1b008fdb06848c7c84e7c1a4a9b2b76239550555 Author: Michal Simek <michal.simek@xilinx.com> Date: 2016-05-18 14:46:28 +0200 phy: marvell: Do not reset phy after negotiation The patch "net: phy: do not read configuration register on reset" (sha1: a058052c358c3ecf5f394ff37def6a45eb26768c) was causing regression on zynq zc702 board where Marwell 88e1118 phy was resetted after negotiation was setup. Phy reset is done pretty early in phy_connect_dev() and doens't need to be called again in phy code. Signed-off-by: Michal Simek <michal.simek@xilinx.com> Base directory -> / drivers/net/phy/marvell.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) ------------------------------------------------------------------------------- commit 7a673f0b0642fc542b464a91957bdd44179296b2 Author: Michal Simek <michal.simek@xilinx.com> Date: 2016-05-18 14:37:23 +0200 phy: Wire return value from phy_config() Fix zynq_gem driver to handle error from phy_config correctly. Signed-off-by: Michal Simek <michal.simek@xilinx.com> Base directory -> / drivers/net/phy/phy.c | 4 +--- drivers/net/zynq_gem.c | 3 +-- 2 files changed, 2 insertions(+), 5 deletions(-) ------------------------------------------------------------------------------- commit 62afc601883e788f3f22291202d5b2a23c1a8b06 Author: Michal Simek <michal.simek@xilinx.com> Date: 2016-05-17 14:03:50 +0200 image: Add boot_get_fpga() to load fpga with bootm Add function boot_get_fpga() which find and load bitstream to programmable logic if fpga entry is present. Function is supported on Xilinx devices for full and partial bitstreams in BIN and BIT format. Signed-off-by: Michal Simek <michal.simek@xilinx.com> Remove additional blankline in image.h Base directory -> / common/bootm.c | 10 ++++++ common/image-fit.c | 7 ++-- common/image.c | 92 +++++++++++++++++++++++++++++++++++++++++++++++++++++ include/bootstage.h | 1 + include/image.h | 2 ++ 5 files changed, 110 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit b733c278d7adc48c71bd06faf359db3d9e385185 Author: Michal Simek <michal.simek@xilinx.com> Date: 2016-05-18 12:46:12 +0200 net: phy: Handle phy_startup() error codes properly Propagate error code from genphy_update_link() to phy startup(). Signed-off-by: Michal Simek <michal.simek@xilinx.com> Acked-by: Stephen Warren <swarren@nvidia.com> Base directory -> / drivers/net/phy/broadcom.c | 34 ++++++++++++++++++++++------------ drivers/net/phy/davicom.c | 9 ++++++--- drivers/net/phy/et1011c.c | 10 +++++++--- drivers/net/phy/lxt.c | 9 ++++++--- drivers/net/phy/marvell.c | 29 +++++++++++++++++++---------- drivers/net/phy/micrel.c | 7 ++++++- drivers/net/phy/natsemi.c | 18 ++++++++++++------ drivers/net/phy/phy.c | 9 ++++++--- drivers/net/phy/realtek.c | 28 +++++++++++++++++++--------- drivers/net/phy/smsc.c | 10 +++++++--- drivers/net/phy/vitesse.c | 8 +++++--- 11 files changed, 115 insertions(+), 56 deletions(-) ------------------------------------------------------------------------------- commit ef5e821bd89aa059a20841e041221dadbf60aa7d Author: Michal Simek <michal.simek@xilinx.com> Date: 2016-05-18 12:48:57 +0200 phy: Return correct error code when timeout happens Return -ETIMEDOUT if timeout happens. Signed-off-by: Michal Simek <michal.simek@xilinx.com> Acked-by: Stephen Warren <swarren@nvidia.com> Base directory -> / drivers/net/phy/marvell.c | 4 ++-- drivers/net/phy/phy.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) ------------------------------------------------------------------------------- commit 55259e7cda875bff3e0fcfd5fc61478f40872841 Author: Michal Simek <michal.simek@xilinx.com> Date: 2016-05-18 12:37:22 +0200 net: xilinx: Handle error value from phy_startup() Handle error returned by phy_startup() properly. Signed-off-by: Michal Simek <michal.simek@xilinx.com> Acked-by: Stephen Warren <swarren@nvidia.com> Base directory -> / drivers/net/xilinx_emaclite.c | 6 ++++-- drivers/net/zynq_gem.c | 5 ++++- 2 files changed, 8 insertions(+), 3 deletions(-) ------------------------------------------------------------------------------- commit ed0cea7c5271cbfd37089f3a6392ba383eda06f7 Author: Michal Simek <michal.simek@xilinx.com> Date: 2016-05-17 13:58:44 +0200 mkimage: Report information about fpga Add FIT_FPGA_PROP that user can identify an optional entry for fpga. Signed-off-by: Michal Simek <michal.simek@xilinx.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / common/image-fit.c | 4 +++ common/image.c | 1 + doc/uImage.FIT/multi-with-fpga.its | 67 +++++++++++++++++++++++++++++++++++ doc/uImage.FIT/source_file_format.txt | 3 ++ include/image.h | 4 ++- 5 files changed, 78 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 905bca6c2d65fc639cffdca42004602e041eb97a Author: Michal Simek <michal.simek@xilinx.com> Date: 2016-05-17 14:32:00 +0200 fpga: Fix typo in function comment Trivial patch. Signed-off-by: Michal Simek <michal.simek@xilinx.com> Base directory -> / drivers/fpga/fpga.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 293271cbc3080a3d23afe48adafbfba271cd6761 Author: Michal Simek <michal.simek@xilinx.com> Date: 2016-05-17 13:33:11 +0200 ARM64: zynqmp: Enable CLK framework ZynqMP is using fixed clocks now that's why enabling it to be available for drivers. Signed-off-by: Michal Simek <michal.simek@xilinx.com> Base directory -> / configs/xilinx_zynqmp_ep_defconfig | 2 ++ configs/xilinx_zynqmp_zc1751_xm015_dc1_defconfig | 2 ++ configs/xilinx_zynqmp_zc1751_xm016_dc2_defconfig | 2 ++ configs/xilinx_zynqmp_zc1751_xm019_dc5_defconfig | 2 ++ configs/xilinx_zynqmp_zcu102_defconfig | 2 ++ configs/xilinx_zynqmp_zcu102_revB_defconfig | 2 ++ 6 files changed, 12 insertions(+) ------------------------------------------------------------------------------- commit e6a9ed04e78cf87ec97e306fa4e7a1669ef98df6 Author: Michal Simek <michal.simek@xilinx.com> Date: 2015-11-20 13:17:22 +0100 ARM64: zynqmp: Add SPL support support Support RAM and MMC boot mode in SPL also with SPL_FIT images. In MMC boot mode two boot options are available: 1) Boot flow with ATF(EL3) and full U-Boot(EL2): aarch64-linux-gnu-objcopy -O binary bl31.elf bl31.bin mkimage -A arm64 -O linux -T kernel -C none -a 0xfffe5000 -e 0xfffe5000 -d bl31.bin atf.ub cp spl/boot.bin <sdcard fat partition> cp atf.ub <sdcard fat partition> cp u-boot.bin <sdcard fat partition> 2) Boot flow with full U-Boot(EL3): cp spl/boot.bin <sdcard> cp u-boot*.img <sdcard> 3) emmc boot mode dd if=/dev/zero of=sd.img bs=1024 count=1024 parted sd.img mktable msdos parted sd.img mkpart p fat32 0% 100% kpartx -a sd.img mkfs.vfat /dev/mapper/loop0p1 mount /dev/mapper/loop0p1 /mnt/ cp spl/boot.bin /mnt cp u-boot.img /mnt cp u-boot.bin /mnt cp atf.ub /mnt umount /dev/mapper/loop0p1 kpartx -d sd.img cp sd.img /tftpboot/ and program it via u-boot tftpb 10000 sd.img mmcinfo mmc write 10000 0 $filesize mmc rescan mmc part ls mmc 0 psu_init() function contains low level SoC setup generated for every HW design by Xilinx design tools. xil_io.h is only supporting file to fix all dependencies from tools. The same solution was used on Xilinx Zynq. The patch also change CONFIG_SYS_INIT_SP_ADDR to the end of OCM which stays at the same location all the time. Bootrom expects starting address to be at 0xfffc0000 that's why this address is SPL_TEXT_BASE. Signed-off-by: Michal Simek <michal.simek@xilinx.com> Base directory -> / arch/arm/Kconfig | 1 + arch/arm/cpu/armv8/zynqmp/Makefile | 1 + arch/arm/cpu/armv8/zynqmp/spl.c | 107 +++++++++++++++++++++++++++ arch/arm/include/asm/arch-zynqmp/sys_proto.h | 2 + board/xilinx/zynqmp/Makefile | 23 +++++- board/xilinx/zynqmp/xil_io.h | 35 +++++++++ include/configs/xilinx_zynqmp.h | 43 ++++++++++- 7 files changed, 209 insertions(+), 3 deletions(-) ------------------------------------------------------------------------------- commit c9811e14cfee68e3df054fd1597064f58c4e7e27 Author: Michal Simek <michal.simek@xilinx.com> Date: 2016-02-22 09:57:27 +0100 ARM64: zynqmp: Add missing u-boot,dm-pre-reloc to DTSI Add missing u-boot,dm-pre-reloc to get IPs initialized. Signed-off-by: Michal Simek <michal.simek@xilinx.com> Base directory -> / arch/arm/dts/zynqmp.dtsi | 5 +++++ 1 file changed, 5 insertions(+) ------------------------------------------------------------------------------- commit 0a8c4f67f3783eaf5330953b957e232dde747331 Author: Alexander Graf <agraf@suse.de> Date: 2016-05-12 13:44:01 +0200 ARM64: zynqmp: Align gic ranges for 64k in device tree The GIC ranges in the zynqmp device tree are only 4kb aligned. Since commit 12e14066f we automatically deal with aliases GIC regions though, so we can map them transparently into guests even on 64kb page size systems. This patch makes use of that features and sets GICC and GICV to 64kb aligned and sized regions. Signed-off-by: Alexander Graf <agraf@suse.de> Signed-off-by: Michal Simek <michal.simek@xilinx.com> Base directory -> / arch/arm/dts/zynqmp.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit d9b58b303120fb8fe0b7c9799e2b7682da4bec16 Author: Michal Simek <michal.simek@xilinx.com> Date: 2016-04-27 14:03:29 +0200 tools: zynqmpimage: Add Xilinx ZynqMP boot header generation Add support for the zynqmpimage to mkimage. Only basic functionality is supported without encryption and register initialization with one partition which is filled by U-Boot SPL. For more detail information look at Xilinx ZynqMP TRM. Signed-off-by: Michal Simek <michal.simek@xilinx.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / common/image.c | 1 + include/image.h | 3 +- scripts/Makefile.spl | 7 ++ tools/Makefile | 1 + tools/zynqmpimage.c | 269 +++++++++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 280 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 8d16e1d5931bb1323ef5307204563b7afcb3b6c3 Author: Michal Simek <michal.simek@xilinx.com> Date: 2016-04-28 09:54:16 +0200 SPL: FIT: Enable SPL_FIT_LOAD in RAM based boot mode Support loading FIT in SPL for RAM bootmode. CONFIG_SPL_LOAD_FIT_ADRESS points to address where FIT image is stored in memory. Signed-off-by: Michal Simek <michal.simek@xilinx.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com> Base directory -> / common/spl/spl.c | 45 ++++++++++++++++++++++++++++++++++++--------- 1 file changed, 36 insertions(+), 9 deletions(-) ------------------------------------------------------------------------------- commit f44e603f73ea43268f0858b9aa4daf962f1eb347 Author: Michal Simek <michal.simek@xilinx.com> Date: 2016-05-10 07:55:52 +0200 ARM: zynq: Call ps7_post_config() for SPL If ps7_post_config() is defined call it. It is enabling for example level shifters for PL bitstreams. Signed-off-by: Michal Simek <michal.simek@xilinx.com> Base directory -> / arch/arm/mach-zynq/spl.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) ------------------------------------------------------------------------------- commit 27640fda55bf998d1eb5109b3410bf62e445e191 Author: Michal Simek <michal.simek@xilinx.com> Date: 2016-05-10 09:50:35 +0200 ARM64: zynqmp: Enable option to overwrite default variables Enable overwriting variables out of main config file. Signed-off-by: Michal Simek <michal.simek@xilinx.com> Base directory -> / include/configs/xilinx_zynqmp.h | 2 ++ 1 file changed, 2 insertions(+) ------------------------------------------------------------------------------- commit 3a3b9147892cb47f96dff1075f1494dca17b6eaf Author: Michal Simek <michal.simek@xilinx.com> Date: 2016-05-10 07:54:20 +0200 spl: Introduce new function spl_board_prepare_for_boot Call this function before passing control from SPL. For fpga case it is necessary to enable for example level shifters when bitstream is programmed. Signed-off-by: Michal Simek <michal.simek@xilinx.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / common/spl/spl.c | 6 ++++++ include/spl.h | 1 + 2 files changed, 7 insertions(+) ------------------------------------------------------------------------------- commit bd483780d3925d62dc896cc9bf1351b8a8c01ed8 Author: Michal Simek <michal.simek@xilinx.com> Date: 2016-05-04 12:33:22 +0200 ARM64: zynqmp: Add debug uart for zc1751-dc1 It is helpful for debugging. Signed-off-by: Michal Simek <michal.simek@xilinx.com> Base directory -> / configs/xilinx_zynqmp_zc1751_xm015_dc1_defconfig | 5 +++++ 1 file changed, 5 insertions(+) ------------------------------------------------------------------------------- commit 71eb243be3edffdc32f3c7b577e86d9f76f6f289 Author: Michal Simek <michal.simek@xilinx.com> Date: 2016-03-17 23:02:37 +0100 ARM64: zynqmp: Enable SPI_FLASH and FLASH_BAR for ep108 Add missing SPI flash options. Signed-off-by: Michal Simek <michal.simek@xilinx.com> Base directory -> / configs/xilinx_zynqmp_ep_defconfig | 2 ++ 1 file changed, 2 insertions(+) ------------------------------------------------------------------------------- commit 013642c2d4a652878a4e7583fe125ea76582ce55 Author: Michal Simek <michal.simek@xilinx.com> Date: 2016-04-29 13:04:02 +0200 ARM64: zynqmp: Remove CONFIG_PREBOOT CONFIG_PREBOOT variable is breaking ./test/py framework. Remove it. Signed-off-by: Michal Simek <michal.simek@xilinx.com> Base directory -> / include/configs/xilinx_zynqmp.h | 1 - 1 file changed, 1 deletion(-) ------------------------------------------------------------------------------- commit 9a23f458cbddfbfb67033a2aa60397821698a8a7 Author: Michal Simek <michal.simek@xilinx.com> Date: 2016-05-03 14:20:17 +0200 ARM: zynq: Add support for SPL_LOAD_FIT Enable minimal function to be able to compile SPL_LOAD_FIT. Signed-off-by: Michal Simek <michal.simek@xilinx.com> Base directory -> / arch/arm/mach-zynq/spl.c | 10 ++++++++++ 1 file changed, 10 insertions(+) ------------------------------------------------------------------------------- commit 73dc3fa6fe37baed8fc5ddeedea7295efd9bbd17 Author: Michal Simek <michal.simek@xilinx.com> Date: 2016-04-22 08:50:45 +0200 ARM64: zynqmp: Wire up debug_uart setup It has to be enabled by debug_uart_init(). Signed-off-by: Michal Simek <michal.simek@xilinx.com> Base directory -> / configs/xilinx_zynqmp_ep_defconfig | 5 +++++ configs/xilinx_zynqmp_zcu102_defconfig | 5 +++++ configs/xilinx_zynqmp_zcu102_revB_defconfig | 5 +++++ 3 files changed, 15 insertions(+) ------------------------------------------------------------------------------- commit 926782cdf8be8769ae2f9a40ec7a62af1b91ac77 Author: Michal Simek <michal.simek@xilinx.com> Date: 2016-04-26 16:03:42 +0200 ARM64: zynqmp: Enable eMMC boot partitions commands Enable some additional features of the eMMC boot partitions. Signed-off-by: Michal Simek <michal.simek@xilinx.com> Base directory -> / include/configs/xilinx_zynqmp.h | 1 + 1 file changed, 1 insertion(+) ------------------------------------------------------------------------------- commit 6919b4bf36357463b419c4b848b5778d7ba0874e Author: Michal Simek <michal.simek@xilinx.com> Date: 2016-04-22 11:48:49 +0200 ARM64: zynqmp: Add support for reading MAC from eeprom Add support for on board eeprom with programmed MAC for using in u-boot to have uniq address for every board. Most of the time uniq MAC address is on a label on the board. If address is not programmed use these command to program it. On zcu102: ZynqMP> mm.b 0 00000000: 00 ? 00 00000001: a0 ? 0a 00000002: 35 ? 35 00000003: 02 ? 02 00000004: 00 ? ef 00000005: 00 ? 67 00000006: 00 ? q i2c dev 5 i2c write 0 54 20 6 i2c md 54 20 Signed-off-by: Michal Simek <michal.simek@xilinx.com> Base directory -> / board/xilinx/zynqmp/zynqmp.c | 17 +++++++++++++++++ include/configs/xilinx_zynqmp_zcu102.h | 6 ++++++ 2 files changed, 23 insertions(+) ------------------------------------------------------------------------------- commit a1207de0e6d6526e470361fac42f2c077b43a0ad Author: Michal Simek <michal.simek@xilinx.com> Date: 2016-04-22 14:28:17 +0200 ARM64: zynqmp: Enable missing distro default options Enable all options which distros requires. Signed-off-by: Michal Simek <michal.simek@xilinx.com> Base directory -> / include/configs/xilinx_zynqmp.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) ------------------------------------------------------------------------------- commit af3b4cd6b5ca548105ace3b593a745775347951c Author: Michal Simek <michal.simek@xilinx.com> Date: 2016-04-22 13:04:42 +0200 ARM64: zynqmp: Enable HUSH parser for all zynqmp targets Enable HUSH for all zynqmp boards which don't have it. Signed-off-by: Michal Simek <michal.simek@xilinx.com> Base directory -> / configs/xilinx_zynqmp_zc1751_xm015_dc1_defconfig | 1 + configs/xilinx_zynqmp_zc1751_xm016_dc2_defconfig | 1 + configs/xilinx_zynqmp_zc1751_xm019_dc5_defconfig | 1 + configs/xilinx_zynqmp_zcu102_defconfig | 1 + configs/xilinx_zynqmp_zcu102_revB_defconfig | 1 + 5 files changed, 5 insertions(+) ------------------------------------------------------------------------------- commit 621a93e14068787fe07dd31079da9fdf0b312dea Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-04-25 12:14:43 +0900 ARM: dts: zynq: describe SLCR as simple-mfd rather than simple-bus Commit 9f56917ab88a ("dm: core: make simple-bus compatible to simple-mfd") made possible to import the following commit: Linux commit: bc5ba9b98435bf76d92e0954da1784695aa449f1 The SLCR (System-Level Control Registers) block is an MFD (Multi Function Device) rather than a bus. "simple-mfd" seems a more suitable compatible string than "simple-bus". Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com> Base directory -> / arch/arm/dts/zynq-7000.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit a6b9587bad47749118229da32c7cc3c25a16d962 Author: Michal Simek <michal.simek@xilinx.com> Date: 2016-03-04 15:56:50 +0100 gpio: zynq: Add support for reading gpio pin state Add zynq_gpio_get_function() which return status on gpio pin. This function enables gpio status command. Signed-off-by: Michal Simek <michal.simek@xilinx.com> Base directory -> / drivers/gpio/zynq_gpio.c | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) ------------------------------------------------------------------------------- commit 7f307d93ed147fc831425189463d92e50d5c7566 Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-04-14 06:52:26 +0900 ARM: zynq: load u-boot.img whether CONFIG_OF_SEPARATE is defined or not Since commit ad1ecd2063da ("fdt: Build a U-Boot binary without device tree"), u-boot-dtb.img is identical to u-boot.img, so SPL can always load u-boot.img whether CONFIG_OF_SEPARATE is defined or not. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com> Base directory -> / include/configs/zynq-common.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) ------------------------------------------------------------------------------- commit bb0c63a5f3b05770e8cb6171be57ca69995bd447 Author: Marek Vasut <marex@denx.de> Date: 2016-04-22 21:56:21 +0200 ARM: sama5d2: Implement boot device autodetection Implement support for saving ARM register R4 early during boot using save_boot_params . Implement support for decoding the stored register R4 value in spl_boot_device() to obtain boot device from which the SoC booted. This way, the SPL will always load U-Boot from the same device from which the SPL itself booted instead of using hard-coded boot device. This functionality is useful for example when booting sama5d2-xplained from SD card, where by default the SPL would try loading the U-Boot from eMMC and fail. This is because eMMC is on SDHCI0 (BOOT_DEVICE_MMC1), while SD slot is on SDHCI1 (BOOT_DEVICE_MMC2) and the SPL was hard-wired to always boot from BOOT_DEVICE_MMC1. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Andreas Bießmann <andreas.devel@googlemail.com> Cc: Wenyou Yang <wenyou.yang@atmel.com> Reviewed-by: Andreas Bießmann <andreas@biessmann.org> Base directory -> / arch/arm/mach-at91/Makefile | 2 +- arch/arm/mach-at91/bootparams_atmel.S | 18 ++++++++++++++++ arch/arm/mach-at91/include/mach/sama5d2.h | 12 +++++++++++ arch/arm/mach-at91/spl.c | 36 +++++++++++++++++++++++++++++++ 4 files changed, 67 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 12328f25f257c347c79562ebc7f66c1a0f48bc2b Author: Marek Vasut <marex@denx.de> Date: 2016-04-18 18:30:41 +0200 ARM: atmel: Enable FIT image support for SAMA5Dx Enable the fitImage support for the entire SAMA5Dx lineup of CPUs. The fitImage is superior image format to uImage and it is useful to have it available. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Andreas Bießmann <andreas.devel@googlemail.com> Cc: Wenyou Yang <wenyou.yang@atmel.com> Reviewed-by: Andreas Bießmann <andreas@biessmann.org> [rebase on current ToT] Signed-off-by: Andreas Bießmann <andreas@biessmann.org> Base directory -> / configs/sama5d2_xplained_mmc_defconfig | 1 + configs/sama5d2_xplained_spiflash_defconfig | 1 + configs/sama5d3_xplained_mmc_defconfig | 1 + configs/sama5d3_xplained_nandflash_defconfig | 1 + configs/sama5d3xek_mmc_defconfig | 1 + configs/sama5d3xek_nandflash_defconfig | 1 + configs/sama5d3xek_spiflash_defconfig | 1 + configs/sama5d4_xplained_mmc_defconfig | 1 + configs/sama5d4_xplained_nandflash_defconfig | 1 + configs/sama5d4_xplained_spiflash_defconfig | 1 + configs/sama5d4ek_mmc_defconfig | 1 + configs/sama5d4ek_nandflash_defconfig | 1 + configs/sama5d4ek_spiflash_defconfig | 1 + 13 files changed, 13 insertions(+) ------------------------------------------------------------------------------- commit c043d8d8ce8bf1c1946c87a89b6639db3ebb4243 Author: Wenyou Yang <wenyou.yang@atmel.com> Date: 2016-04-11 16:41:33 +0800 board: sama5d2_xplained: change SDHCI GCK's clock source to UPLL Change the clock source of the SDHCI's generated clock from PLLA to UPLL clock to align to Linux driver. Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com> Reviewed-by: Andreas Bießmann <andreas@biessmann.org> Base directory -> / board/atmel/sama5d2_xplained/sama5d2_xplained.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit 7a91e1a3835413aac3e7c894ca1ba205e6ade887 Author: Wenyou Yang <wenyou.yang@atmel.com> Date: 2016-04-11 16:41:32 +0800 ARM: at91: clock: complete the GCK's clock sources Add the UPLL clock and master clock as a clock source for getting the generated clock frequency to complete its clock sources support. Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com> Reviewed-by: Andreas Bießmann <andreas@biessmann.org> Base directory -> / arch/arm/mach-at91/armv7/clock.c | 6 ++++++ arch/arm/mach-at91/include/mach/clk.h | 2 ++ 2 files changed, 8 insertions(+) ------------------------------------------------------------------------------- commit 4adf6a715796de4f0e858e0246c3abf5e3c118f3 Author: Wenyou Yang <wenyou.yang@atmel.com> Date: 2016-04-11 16:41:31 +0800 ARM: at91: clock: fix the GCK's clock source Before enabling a generated clock whose source is from the UPLL clock, check and enable the UPLL clock. Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com> Reviewed-by: Andreas Bießmann <andreas@biessmann.org> Base directory -> / arch/arm/mach-at91/armv7/clock.c | 5 +++++ 1 file changed, 5 insertions(+) ------------------------------------------------------------------------------- commit a9c89bf1669cbeb7bce6ae7a626eb9f2120af73f Author: Wenyou Yang <wenyou.yang@atmel.com> Date: 2016-04-11 14:07:17 +0800 board: atmel: sama5d2_xplained: fix the missing pin config of SDMMC0 Fix the missing pin config of the SDMMC0 interface. Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com> Reviewed-by: Andreas Bießmann <andreas@biessmann.org> Base directory -> / board/atmel/sama5d2_xplained/sama5d2_xplained.c | 1 + 1 file changed, 1 insertion(+) ------------------------------------------------------------------------------- commit 9989c1567d53a2558b872fabc39d1f8a9383c3ca Author: Wenyou Yang <wenyou.yang@atmel.com> Date: 2016-02-26 17:20:26 +0800 board: atmel: add SAMA5D2 PTC Engineering board The board supports following features: - Boot media support: NAND Flash/SPI Flash - Support ethernet - Support USB mass storage Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com> Reviewed-by: Andreas Bießmann <andreas@biessmann.org> Base directory -> / arch/arm/mach-at91/Kconfig | 6 + board/atmel/sama5d2_ptc/Kconfig | 15 ++ board/atmel/sama5d2_ptc/MAINTAINERS | 7 + board/atmel/sama5d2_ptc/Makefile | 8 + board/atmel/sama5d2_ptc/sama5d2_ptc.c | 285 ++++++++++++++++++++++++++++++++ configs/sama5d2_ptc_nandflash_defconfig | 12 ++ configs/sama5d2_ptc_spiflash_defconfig | 12 ++ include/configs/sama5d2_ptc.h | 155 +++++++++++++++++ 8 files changed, 500 insertions(+) ------------------------------------------------------------------------------- commit cc434ad5c1c97baa9d7020db35f74a4998f2146a Author: Wenyou Yang <wenyou.yang@atmel.com> Date: 2016-02-26 17:20:25 +0800 ARM: at91: sama5d2: add macro & field definitions They will be used on SAMA5D2 PTC board. Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com> Reviewed-by: Andreas Bießmann <andreas@biessmann.org> Base directory -> / arch/arm/mach-at91/include/mach/sama5_sfr.h | 24 ++++++++++++++++++++++++ arch/arm/mach-at91/include/mach/sama5d2.h | 5 +++++ 2 files changed, 29 insertions(+) ------------------------------------------------------------------------------- commit 6d54868eeb2697c9a905c4d3521efbacc44c5258 Author: Tom Rini <trini@konsulko.com> Date: 2016-05-23 18:32:47 -0400 Merge branch 'master' of git://git.denx.de/u-boot-x86 Base directory -> / Makefile | 1 + arch/x86/Kconfig | 47 +- arch/x86/cpu/baytrail/Makefile | 1 + arch/x86/cpu/baytrail/acpi.c | 163 + arch/x86/cpu/baytrail/valleyview.c | 8 - arch/x86/cpu/broadwell/pch.c | 3 +- arch/x86/cpu/broadwell/sdram.c | 5 - arch/x86/cpu/coreboot/coreboot.c | 20 +- arch/x86/cpu/cpu.c | 27 + arch/x86/cpu/interrupts.c | 8 +- arch/x86/cpu/irq.c | 31 + arch/x86/cpu/ivybridge/lpc.c | 1 - arch/x86/cpu/ivybridge/model_206ax.c | 3 - arch/x86/cpu/ivybridge/northbridge.c | 1 - arch/x86/cpu/ivybridge/sdram.c | 5 - arch/x86/cpu/lapic.c | 35 +- arch/x86/cpu/mp_init.c | 8 +- arch/x86/cpu/qemu/Makefile | 3 +- arch/x86/cpu/qemu/cpu.c | 2 +- arch/x86/cpu/qemu/e820.c | 43 + arch/x86/cpu/qemu/fw_cfg.c | 570 ---- arch/x86/cpu/qemu/qemu.c | 50 +- arch/x86/cpu/quark/quark.c | 13 +- arch/x86/dts/bayleybay.dts | 5 +- arch/x86/dts/conga-qeval20-qa3-e3845.dts | 5 +- arch/x86/dts/crownbay.dts | 1 + arch/x86/dts/galileo.dts | 13 + arch/x86/dts/microcode/m0130673322.dtsi | 3284 -------------------- arch/x86/dts/microcode/m0130673325.dtsi | 3284 ++++++++++++++++++++ arch/x86/dts/microcode/m0130679901.dtsi | 3284 -------------------- arch/x86/dts/microcode/m0130679907.dtsi | 3284 ++++++++++++++++++++ arch/x86/dts/minnowmax.dts | 5 +- arch/x86/dts/qemu-x86_q35.dts | 2 + arch/x86/include/asm/acpi.h | 24 - arch/x86/include/asm/acpi/debug.asl | 136 + arch/x86/include/asm/acpi/globutil.asl | 113 + arch/x86/include/asm/acpi/statdef.asl | 82 + arch/x86/include/asm/acpi_table.h | 446 ++- arch/x86/include/asm/arch-baytrail/acpi/gpio.asl | 95 + .../include/asm/arch-baytrail/acpi/irq_helper.h | 111 + .../include/asm/arch-baytrail/acpi/irqlinks.asl | 493 +++ .../include/asm/arch-baytrail/acpi/irqroute.asl | 48 + arch/x86/include/asm/arch-baytrail/acpi/irqroute.h | 27 + arch/x86/include/asm/arch-baytrail/acpi/lpc.asl | 181 ++ .../include/asm/arch-baytrail/acpi/platform.asl | 36 + .../include/asm/arch-baytrail/acpi/sleepstates.asl | 13 + .../asm/arch-baytrail/acpi/southcluster.asl | 211 ++ arch/x86/include/asm/arch-baytrail/acpi/usb.asl | 34 + arch/x86/include/asm/arch-baytrail/acpi/xhci.asl | 31 + arch/x86/include/asm/arch-baytrail/device.h | 74 + arch/x86/include/asm/arch-baytrail/iomap.h | 70 + arch/x86/include/asm/arch-baytrail/irq.h | 86 + arch/x86/include/asm/coreboot_tables.h | 19 + arch/x86/include/asm/fw_cfg.h | 157 - arch/x86/include/asm/global_data.h | 4 + arch/x86/include/asm/irq.h | 4 + arch/x86/lib/Makefile | 4 +- arch/x86/lib/acpi_table.c | 380 ++- arch/x86/lib/bootm.c | 9 - arch/x86/lib/coreboot_table.c | 31 + arch/x86/lib/pirq_routing.c | 4 - arch/x86/lib/smbios.c | 10 +- arch/x86/lib/tables.c | 3 +- board/congatec/conga-qeval20-qa3-e3845/.gitignore | 3 + board/congatec/conga-qeval20-qa3-e3845/Makefile | 1 + .../conga-qeval20-qa3-e3845/acpi/mainboard.asl | 13 + board/congatec/conga-qeval20-qa3-e3845/dsdt.asl | 14 + board/intel/bayleybay/.gitignore | 3 + board/intel/bayleybay/Makefile | 1 + board/intel/bayleybay/acpi/mainboard.asl | 11 + board/intel/bayleybay/dsdt.asl | 14 + board/intel/galileo/Kconfig | 11 + board/intel/minnowmax/.gitignore | 3 + board/intel/minnowmax/Makefile | 1 + board/intel/minnowmax/acpi/mainboard.asl | 11 + board/intel/minnowmax/dsdt.asl | 14 + cmd/Kconfig | 7 + cmd/Makefile | 1 + cmd/qfw.c | 194 ++ configs/bayleybay_defconfig | 2 + configs/conga-qeval20-qa3-e3845_defconfig | 2 + configs/crownbay_defconfig | 3 - configs/galileo_defconfig | 3 + configs/minnowmax_defconfig | 2 + configs/qemu-x86_defconfig | 1 + configs/sandbox_defconfig | 1 + doc/README.x86 | 121 +- doc/device-tree-bindings/misc/intel,irq-router.txt | 5 + drivers/misc/Kconfig | 6 + drivers/misc/Makefile | 1 + drivers/misc/qfw.c | 386 +++ include/configs/minnowmax.h | 2 +- include/configs/x86-common.h | 9 +- include/qfw.h | 176 ++ scripts/Makefile.lib | 8 +- 95 files changed, 10255 insertions(+), 7926 deletions(-) ------------------------------------------------------------------------------- commit d7d000311285e4b8d11e089ca13ea456a01be3b8 Author: Tom Rini <trini@konsulko.com> Date: 2016-05-20 20:43:27 -0400 Merge branch 'master' of git://git.denx.de/u-boot-mips Base directory -> / api/api.c | 58 +- arch/mips/Kconfig | 48 +- arch/mips/Makefile | 4 + arch/mips/cpu/cpu.c | 1 - arch/mips/cpu/start.S | 22 +- arch/mips/dts/Makefile | 3 + arch/mips/dts/ap121.dts | 43 + arch/mips/dts/ap143.dts | 43 + arch/mips/dts/ar933x.dtsi | 115 ++ arch/mips/dts/ar934x.dtsi | 112 ++ arch/mips/dts/qca953x.dtsi | 84 ++ arch/mips/dts/tplink_wdr4300.dts | 53 + arch/mips/include/asm/global_data.h | 6 + arch/mips/lib/cache_init.S | 2 +- arch/mips/mach-ath79/Kconfig | 55 + arch/mips/mach-ath79/Makefile | 11 + arch/mips/mach-ath79/ar933x/Makefile | 7 + arch/mips/mach-ath79/ar933x/clk.c | 89 ++ arch/mips/mach-ath79/ar933x/ddr.c | 333 ++++++ arch/mips/mach-ath79/ar933x/lowlevel_init.S | 280 +++++ arch/mips/mach-ath79/ar934x/Makefile | 7 + arch/mips/mach-ath79/ar934x/clk.c | 334 ++++++ arch/mips/mach-ath79/ar934x/cpu.c | 10 + arch/mips/mach-ath79/ar934x/ddr.c | 163 +++ arch/mips/mach-ath79/cpu.c | 142 +++ arch/mips/mach-ath79/dram.c | 16 + arch/mips/mach-ath79/include/mach/ar71xx_regs.h | 1263 ++++++++++++++++++++ arch/mips/mach-ath79/include/mach/ath79.h | 149 +++ arch/mips/mach-ath79/include/mach/ddr.h | 13 + arch/mips/mach-ath79/include/mach/reset.h | 14 + arch/mips/mach-ath79/qca953x/Makefile | 7 + arch/mips/mach-ath79/qca953x/clk.c | 111 ++ arch/mips/mach-ath79/qca953x/ddr.c | 472 ++++++++ arch/mips/mach-ath79/qca953x/lowlevel_init.S | 186 +++ arch/mips/mach-ath79/reset.c | 208 ++++ board/imgtec/malta/lowlevel_init.S | 1 - board/qca/ap121/Kconfig | 12 + board/qca/ap121/MAINTAINERS | 6 + board/qca/ap121/Makefile | 5 + board/qca/ap121/ap121.c | 50 + board/qca/ap143/Kconfig | 12 + board/qca/ap143/MAINTAINERS | 6 + board/qca/ap143/Makefile | 5 + board/qca/ap143/ap143.c | 66 + board/tplink/wdr4300/Kconfig | 15 + board/tplink/wdr4300/MAINTAINERS | 6 + board/tplink/wdr4300/Makefile | 5 + board/tplink/wdr4300/wdr4300.c | 74 ++ cmd/bdinfo.c | 2 + configs/ap121_defconfig | 47 + configs/ap143_defconfig | 47 + configs/tplink_wdr4300_defconfig | 43 + .../serial/qca,ar9330-uart.txt | 24 + doc/device-tree-bindings/spi/spi-ath79.txt | 19 + drivers/mtd/Kconfig | 7 + drivers/mtd/Makefile | 1 + drivers/mtd/pic32_flash.c | 444 +++++++ drivers/pinctrl/Kconfig | 18 + drivers/pinctrl/Makefile | 1 + drivers/pinctrl/ath79/Makefile | 6 + drivers/pinctrl/ath79/pinctrl_ar933x.c | 136 +++ drivers/pinctrl/ath79/pinctrl_qca953x.c | 156 +++ drivers/serial/Kconfig | 18 + drivers/serial/Makefile | 1 + drivers/serial/serial_ar933x.c | 243 ++++ drivers/spi/Kconfig | 9 + drivers/spi/Makefile | 1 + drivers/spi/ath79_spi.c | 228 ++++ examples/api/Makefile | 4 + examples/api/crt0.S | 13 +- examples/api/glue.c | 18 +- examples/standalone/stubs.c | 18 + include/ata.h | 2 +- include/configs/ap121.h | 86 ++ include/configs/ap143.h | 90 ++ include/configs/qemu-mips.h | 4 + include/configs/qemu-mips64.h | 4 + include/configs/tplink_wdr4300.h | 93 ++ include/flash.h | 5 +- 79 files changed, 6448 insertions(+), 67 deletions(-) ------------------------------------------------------------------------------- commit d38fca40c84e6d5f73dfe43cef4c46d42f90aa66 Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-05-20 12:13:10 +0900 ARM: fix ifdef in ARMv8 lowlevel_init() again Commit 116611937faa ("ARM: fix ifdefs in ARMv8 lowlevel_init()") accidentally inverted the logic of CONFIG_ARMV8_MULTIENTRY. Fixes: 116611937faa ("ARM: fix ifdefs in ARMv8 lowlevel_init()") Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Stephen Warren <swarren@nvidia.com> Base directory -> / arch/arm/cpu/armv8/start.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit d550e82e4efebf5995809e38e8fb029b8fe6e861 Author: Tom Rini <trini@konsulko.com> Date: 2016-05-23 11:51:13 -0400 SPL: fat: Fix spl_parse_image_header() return value handling The spl_parse_image_header() can return 0 and it is not an error. Only treat non-zero return value as an error. Signed-off-by: Marek Vasut <marex@denx.de> Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com> Reviewed-by: Peng Fan <van.freenix@gmail.com> Reviewed-by: Stefano Babic <sbabic@denx.de> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / common/spl/spl_fat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 5f89a15e1630e9050c8b1b5307ccd800e4596ce5 Author: Martin Hejnfelt <mh@newtec.dk> Date: 2016-05-19 09:11:58 +0200 omap3: Fix SPI registers on am33xx and am43xx When the base registers are read from device tree the base is not 0x48030100 as the driver expects, but 0x48030000, resulting in non functioning SPI. To deal with this, use same idea as how this is done in the linux kernel (drivers/spi/spi-omap2-mcspi.c) and add a structure with a field that is used to shift the registers on these systems. v2: Fixed commit subject line to correct cpu Signed-off-by: Martin Hejnfelt <mh@newtec.dk> Base directory -> / drivers/spi/omap3_spi.c | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) ------------------------------------------------------------------------------- commit c1420f8b2b0f3c833c024979495ab22db34a5dbe Author: Tom Rini <trini@konsulko.com> Date: 2016-05-13 10:54:04 -0400 kbuild: fixdep: Check fstat(2) return value Coverity has recently added a check that will find when we don't check the return code from fstat(2). Copy/paste the checking logic that print_deps() has with an appropriate re-wording of the perror() message. [ Linux commit : 46fe94ad18aa7ce6b3dad8c035fb538942020f2b ] Signed-off-by: Tom Rini <trini@konsulko.com> Signed-off-by: Michal Marek <mmarek@suse.com> Base directory -> / scripts/basic/fixdep.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit c409bd015c295ba088af75b117d1dd6ebd8080ba Author: Michal Simek <michal.simek@xilinx.com> Date: 2016-05-04 15:14:11 +0200 spl: Setup default value for OF_LIST OF_LIST can't remain empty that's why setup it up to default DTB. If it is empty u-boot.img is created without FDT partition: For example: ./tools/mkimage -f auto -A arm -T firmware -C none -O u-boot -a 0x8000000 -e 0 -n "U-Boot 2016.05-rc3 ..." -E -b -d u-boot-nodtb.bin u-boot.img Can't set 'timestamp' property for '' node (FDT_ERR_NOSPACE) FIT description: Firmware image with one or more FDT blobs Created: Wed May 4 15:02:52 2016 Image 0 (firmware@1) Description: U-Boot 2016.05-rc3-00080-gff2e12ae22a8-dirty for zynqmp board Created: Wed May 4 15:02:52 2016 Type: Firmware Compression: uncompressed Data Size: unavailable Architecture: ARM Load Address: 0x08000000 Default Configuration: 'conf@1' Configuration 0 (conf@1) Description: unavailable Kernel: unavailable And then image like this doesn't contain description and link to FDT and can't boot. Signed-off-by: Michal Simek <michal.simek@xilinx.com> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / dts/Kconfig | 1 + 1 file changed, 1 insertion(+) ------------------------------------------------------------------------------- commit 5adfa265793d2e41fd1619cafcd9cf4e18f80341 Author: Michal Simek <michal.simek@xilinx.com> Date: 2016-05-04 15:08:00 +0200 spl: fit: Print error message when FDT is not present When FDT is not present in the image user doesn't get any error what's wrong. Print error message if LIBCOMMON_SUPPORT is enabled. Signed-off-by: Michal Simek <michal.simek@xilinx.com> Seris-cc: uboot Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / common/spl/spl_fit.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit bd6e14209445853f9024574b756bba3184bc215c Author: Simon Glass <sjg@chromium.org> Date: 2016-05-01 13:55:38 -0600 mkimage: Add a quiet mode Some build systems want to be quiet unless there is a problem. At present mkimage displays quite a bit of information when generating a FIT file. Add a '-q' flag to silence this. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Joe Hershberger <joe.hershberger@ni.com> Base directory -> / tools/imagetool.c | 3 ++- tools/imagetool.h | 1 + tools/mkimage.c | 5 ++++- 3 files changed, 7 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit 8df81e17f81ba0542f6dbb7636db64fa56c12d8a Author: Simon Glass <sjg@chromium.org> Date: 2016-05-01 13:55:37 -0600 image-fit: Don't display an error in fit_set_timestamp() This function returns an error code and its caller may be able to fix the error. For example fit_handle_file() expands the device tree to fit if there is a lack of space. In this case the caller does not want an error displayed. It is confusing, since it suggests that something is wrong, when it fact everything is fine. Drop the error. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / common/image-fit.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) ------------------------------------------------------------------------------- commit 034eda867f47986e04be13087d193d2c12e3b9aa Author: Stephen Warren <swarren@nvidia.com> Date: 2016-04-25 15:55:42 -0600 malloc: improve memalign fragmentation fix Commit 4f144a416469 "malloc: work around some memalign fragmentation issues" enhanced memalign() so that it can succeed in more cases where heap fragmentation is present. However, it did not solve as many cases as it could. This patch enhances the code to cover more cases. The alignment code works by allocating more space than the user requests, then adjusting the returned pointer to achieve alignment. In general, one must allocate "alignment" bytes more than the user requested in order to guarantee that alignment is possible. This is what the original code does. The previous enhancement attempted a second allocation if the padded allocation failed, and succeeded if that allocation just happened to be aligned; a fluke that happened often in practice. There are still cases where this could fail, yet where it is still possible to honor the user's allocation request. In particular, if the heap contains a free region that is large enough for the user's request, and for leading padding to ensure alignment, but has no or little space for any trailing padding. In this case, we can make a third(!) allocation attempt after calculating exactly the size of the leading padding required to achieve alignment, which is the minimal over-allocation needed for the overall memalign() operation to succeed if the third and second allocations end up at the same location. This patch isn't checkpatch-clean, since it conforms to the existing coding style in dlmalloc.c, which is different to the rest of U-Boot. Signed-off-by: Stephen Warren <swarren@nvidia.com> Reviewed-by: Tom Rini <trini@konsulko.com> Base directory -> / common/dlmalloc.c | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit 8216b11cdd50515fbc423a4b2709a00865b8621d Author: Bin Meng <bmeng.cn@gmail.com> Date: 2016-05-22 01:45:39 -0700 x86: galileo: Override SMBIOS product name Override the default product name U-Boot reports in the SMBIOS table, to be compatible with the Intel provided UEFI BIOS, as Linux kernel drivers (drivers/mfd/intel_quark_i2c_gpio.c and drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c) make use of it to do different board level configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / board/intel/galileo/Kconfig | 11 +++++++++++ 1 file changed, 11 insertions(+) ------------------------------------------------------------------------------- commit 4cdce9f5b455195357fd7b5e89205888fe3115b8 Author: Bin Meng <bmeng.cn@gmail.com> Date: 2016-05-22 01:45:38 -0700 x86: Switch to use SMBIOS Kconfig options when writing SMBIOS tables Make use of the newly added Kconfig options of board manufacturer and product name to write SMBIOS tables. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/x86/lib/smbios.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) ------------------------------------------------------------------------------- commit 5ce378cfcfc88284bd90cf8c02e473945aec9d35 Author: Bin Meng <bmeng.cn@gmail.com> Date: 2016-05-22 01:45:37 -0700 x86: kconfig: Add two options for SMBIOS manufacturer and product name This introduces two Kconfig options to be used by SMBIOS tables: board manufacturer and product name. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/x86/Kconfig | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) ------------------------------------------------------------------------------- commit 84c299940d63bb3dfff4469a9b509c78b7016bc0 Author: Bin Meng <bmeng.cn@gmail.com> Date: 2016-05-22 01:45:36 -0700 x86: galileo: Enable MP table generation Now that we have added CPU uclass driver and fixed the IOAPIC ID conflict, enable MP table generation so that IOAPIC can be used by the Linux kernel. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / configs/galileo_defconfig | 1 + 1 file changed, 1 insertion(+) ------------------------------------------------------------------------------- commit b813ea9a14eaa9a6c071a9ab48a18d9a17dcef08 Author: Bin Meng <bmeng.cn@gmail.com> Date: 2016-05-22 01:45:35 -0700 x86: broadwell: Correct I/O APIC ID Currently ID 2 is assgined to broadwell I/O APIC, however per chromebook_samus.dts 2 is the core#2 LAPIC ID. Now we change I/O APIC ID to 4 to avoid conflict. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/x86/cpu/broadwell/pch.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 911d6f693292dbf9b54de43f18ac95427e9accd8 Author: Bin Meng <bmeng.cn@gmail.com> Date: 2016-05-22 01:45:34 -0700 x86: quark: Assign a unique I/O APIC ID After power-on, both LAPIC and I/O APIC appear with the same APIC ID zero, which creates an ID conflict. When generating MP table, U-Boot reports zero as the LAPIC ID in the processor entry, and zero as the I/O APIC ID in the I/O APIC as well as the I/O interrupt assignment entries. Such MP table confuses Linux kernel and finally a kernel panic is seen during boot: BUG: unable to handle kernel paging request at ffff9000 IP: [<c101d462>] native_io_apic_write+0x22/0x30 *pdpt = 00000000014fb001 *pde = 00000000014ff067 *pte = 0000000000000000 Oops: 0002 [#1] Modules linked in: Pid: 1, comm: swapper Tainted: G W 3.8.7 #3 intel galileo/galileo EIP: 0060:[<c101d462>] EFLAGS: 00010086 CPU: 0 EIP is at native_io_apic_write+0x22/0x30 ... Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000009 Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/x86/cpu/quark/quark.c | 4 ++++ 1 file changed, 4 insertions(+) ------------------------------------------------------------------------------- commit e2126711af40ae669610d3500fe23c81b7ad6307 Author: Bin Meng <bmeng.cn@gmail.com> Date: 2016-05-22 01:45:33 -0700 x86: Call lapic_setup() in interrupt_init() Let's configure LAPIC in a common place - interrupt_init(). Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/x86/cpu/interrupts.c | 8 +++++--- arch/x86/cpu/ivybridge/model_206ax.c | 2 -- arch/x86/cpu/mp_init.c | 2 -- 3 files changed, 5 insertions(+), 7 deletions(-) ------------------------------------------------------------------------------- commit aaaa55751ab1e5a5cfa0962d604593a7e6f33ff6 Author: Bin Meng <bmeng.cn@gmail.com> Date: 2016-05-22 01:45:32 -0700 x86: Remove SMP limitation in lapic_setup() At present LAPIC is enabled and configured as virtual wire mode in lapic_setup() only when CONFIG_SMP is on. This limitation is however not necessary as for uniprocessor this is still needed. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/x86/cpu/lapic.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) ------------------------------------------------------------------------------- commit 3299be2479f9878dd3bb484f2b8f1ef7c0a20fb4 Author: Bin Meng <bmeng.cn@gmail.com> Date: 2016-05-22 01:45:31 -0700 x86: Don't touch IA32_APIC_BASE MSR on Intel Quark Intel Quark processor core provides an integrated Local APIC but does not support the IA32_APIC_BASE MSR. As a result, the Local APIC is always globally enabled and the Local APIC base address is fixed at 0xfee00000. Attempting to access the IA32_APIC_BASE MSR causes a general protection fault. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/x86/cpu/lapic.c | 28 ++++++++++++++++------------ 1 file changed, 16 insertions(+), 12 deletions(-) ------------------------------------------------------------------------------- commit 0ac8d5e552c5642d97ce71658ecebb273d259221 Author: Bin Meng <bmeng.cn@gmail.com> Date: 2016-05-22 01:45:30 -0700 x86: galileo: Enable CPU driver Add a cpu node in the device tree and enable CPU driver. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/x86/dts/galileo.dts | 12 ++++++++++++ configs/galileo_defconfig | 2 ++ 2 files changed, 14 insertions(+) ------------------------------------------------------------------------------- commit bab4b96166037016010238a19c8ab7175386cbc4 Author: Bin Meng <bmeng.cn@gmail.com> Date: 2016-05-23 15:25:20 +0800 x86: Use latest microcode for all BayTrail boards Update board device tree to include latest microcode, and remove the old no longer needed microcode. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Stefan Roese <sr@denx.de> Base directory -> / arch/x86/dts/bayleybay.dts | 4 +- arch/x86/dts/conga-qeval20-qa3-e3845.dts | 4 +- arch/x86/dts/microcode/m0130673322.dtsi | 3284 ------------------------------ arch/x86/dts/microcode/m0130679901.dtsi | 3284 ------------------------------ arch/x86/dts/minnowmax.dts | 4 +- 5 files changed, 6 insertions(+), 6574 deletions(-) ------------------------------------------------------------------------------- commit c88f508f692671bfed4cc9982671998c001fbc1d Author: Bin Meng <bmeng.cn@gmail.com> Date: 2016-05-22 01:45:28 -0700 x86: baytrail: Update to latest microcode Update BayTrail microcde to rev 325 (for CPUID 30673), rev 907 (for CPUID 30679). Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/x86/dts/microcode/m0130673325.dtsi | 3284 +++++++++++++++++++++++++++++++ arch/x86/dts/microcode/m0130679907.dtsi | 3284 +++++++++++++++++++++++++++++++ 2 files changed, 6568 insertions(+) ------------------------------------------------------------------------------- commit 5c60a3abde29844f27c227adda1be088ea80e7dd Author: Bin Meng <bmeng.cn@gmail.com> Date: 2016-05-22 01:45:27 -0700 x86: Add some notes for MRC cache with Intel FSP MRC cache relies on Intel FSP to produce a special GUID that contains the MRC cache data. Add such information in the CONFIG_ENABLE_MRC_CACHE help entry. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/x86/Kconfig | 7 +++++++ 1 file changed, 7 insertions(+) ------------------------------------------------------------------------------- commit 2baf3a5584b5bea0f433d3cc6e217066b88e69ed Author: Bin Meng <bmeng.cn@gmail.com> Date: 2016-05-22 01:45:26 -0700 x86: crownbay: Disable boot stage support It is observed that when enabling boot stage support, occasionally the board reboots during boot over and over again, and eventually boots to shell. This was seen on my board, but not on Jian's board. Debugging shows that the TSC timer calibration against PIT fails as boot stage APIs utilize timer in a very early stage and at that time TSC/PIT may not be stable enough for the calibration to pass. Disable it for now. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Cc: Jian Luo <Jian.Luo4@boschrexroth.de> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / configs/crownbay_defconfig | 3 --- 1 file changed, 3 deletions(-) ------------------------------------------------------------------------------- commit 0fbdaa0e079b0bd83caa5a34ac6c52689e369bb3 Author: Bin Meng <bmeng.cn@gmail.com> Date: 2016-05-22 01:45:25 -0700 acpi: Clean IASL generated intermediate files For boards that support ACPI, there are dsdt.aml, dsdt.asl.tmp and dsdt.c in the board directory after a successful build. These are intermediate files generated by IASL, and should be removed during a 'make clean'. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / Makefile | 1 + 1 file changed, 1 insertion(+) ------------------------------------------------------------------------------- commit efd4be4c82daeab0df91e034e505b1bf8cbcba84 Author: Bin Meng <bmeng.cn@gmail.com> Date: 2016-05-11 07:45:12 -0700 x86: doc: Add porting hints for ACPI with Windows Windows might cache system information and only detect ACPI changes if you modify the ACPI table versions. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / doc/README.x86 | 6 ++++++ 1 file changed, 6 insertions(+) ------------------------------------------------------------------------------- commit 7bfe0da4d21a1f62d65210779b073d8ff2e1ab33 Author: Bin Meng <bmeng.cn@gmail.com> Date: 2016-05-11 07:45:11 -0700 x86: baytrail: Add GPIO ASL description Since BayTrail, Intel starts to use new GPIO IPs in their chipset. This adds the GPIO ASL, so that OS can load corresponding drivers for it. On Linux, this is BayTrail pinctrl driver. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/x86/include/asm/arch-baytrail/acpi/gpio.asl | 95 ++++++++++++++++++++++ .../include/asm/arch-baytrail/acpi/platform.asl | 3 + 2 files changed, 98 insertions(+) ------------------------------------------------------------------------------- commit fa427438bd3f0e2d8a6dfd0f721f52aa950b52ee Author: Bin Meng <bmeng.cn@gmail.com> Date: 2016-05-11 07:45:10 -0700 x86: baytrail: Add internal UART ASL description BayTrail integrates an internal ns15550 compatible UART (PNP0501). Its IRQ is hardwired to IRQ3 in old revision chipset, but in newer revision one IRQ4 is being used for ISA compatibility. Handle this correctly in the ASL file. Linux does not need this ASL, but Windows need this to correctly discover a COM port existing in the system so that Windows can show it in the 'Device Manager' window, and expose this COM port to any terminal emulation application. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / .../include/asm/arch-baytrail/acpi/irqlinks.asl | 4 ++ arch/x86/include/asm/arch-baytrail/acpi/lpc.asl | 60 ++++++++++++++++++++++ 2 files changed, 64 insertions(+) ------------------------------------------------------------------------------- commit bb68dd528f841686a1778d36db38e7e06df38bc9 Author: Bin Meng <bmeng.cn@gmail.com> Date: 2016-05-11 07:45:09 -0700 acpi: Quieten IASL output when 'make -s' is used IASL compiler does not provide a command line option to turn off its non-warning message. To quieten the output when 'make -s', redirect its output to /dev/null. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / scripts/Makefile.lib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 206a3a424678a05f709378feac7c51ae2f491fe4 Author: Bin Meng <bmeng.cn@gmail.com> Date: 2016-05-11 07:45:08 -0700 x86: doc: Mention Ubuntu/Windows installation and boot support As of now, U-Boot can support installing and booting Ubuntu/Windows with the help of SeaBIOS. Update the documentation. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / doc/README.x86 | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) ------------------------------------------------------------------------------- commit da944391e8eddbd1675e980f4aba14be792177b1 Author: Bin Meng <bmeng.cn@gmail.com> Date: 2016-05-11 07:45:07 -0700 x86: baytrail: Enable SeaBIOS on all boards SeaBIOS can be loaded by U-Boot to aid the installation of Ubuntu and Windows to a SATA drive and boot from there. Enable it on all BayTrail boards. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / configs/bayleybay_defconfig | 1 + configs/conga-qeval20-qa3-e3845_defconfig | 1 + configs/minnowmax_defconfig | 1 + 3 files changed, 3 insertions(+) ------------------------------------------------------------------------------- commit 5a6a2c714e74ba18ebd6f890f5f60dc7f0bb0a72 Author: Bin Meng <bmeng.cn@gmail.com> Date: 2016-05-11 07:45:06 -0700 x86: doc: Update information about IGD with SeaBIOS Document how to make SeaBIOS load and run the VGA ROM of Intel IGD device when loaded by U-Boot. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / doc/README.x86 | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) ------------------------------------------------------------------------------- commit 10fcabed8857d2c12a5806c68cf884802f975aae Author: Bin Meng <bmeng.cn@gmail.com> Date: 2016-05-11 07:45:05 -0700 x86: acpi: Remove header length check when writing tables Before moving 'current' pointer during ACPI table writing, we always check the table length to see if it is larger than the table header. Since our purpose is to generate valid tables, the check logic is always true, which can be avoided. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/x86/lib/acpi_table.c | 26 ++++++++++---------------- 1 file changed, 10 insertions(+), 16 deletions(-) ------------------------------------------------------------------------------- commit 17b63c80bffbaad344a4f6dd2363830e13ed8c03 Author: Bin Meng <bmeng.cn@gmail.com> Date: 2016-05-11 07:45:04 -0700 x86: acpi: Remove the unnecessary checksum calculation of DSDT The generated AmlCode[] from IASL already has the calculated DSDT table checksum in place. No need for us to calculate it again. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/x86/lib/acpi_table.c | 6 ------ 1 file changed, 6 deletions(-) ------------------------------------------------------------------------------- commit 6aef68dc36bc93e1c32c1f7119b580f5eda92182 Author: Bin Meng <bmeng.cn@gmail.com> Date: 2016-05-11 07:45:03 -0700 x86: acpi: Switch to ACPI mode by ourselves instead of requested by OSPM Per ACPI spec, during ACPI OS initialization, OSPM can determine that the ACPI hardware registers are owned by SMI (by way of the SCI_EN bit in the PM1_CNT register), in which case the ACPI OS issues the ACPI_ENABLE command to the SMI_CMD port. The SCI_EN bit effectively tracks the ownership of the ACPI hardware registers. However since U-Boot does not support SMI, we report all 3 fields in FADT (SMI_CMD, ACPI_ENABLE, ACPI_DISABLE) as zero, by following the spec who says: these fields are reserved and must be zero on system that does not support System Management mode. U-Boot seems to behave in a correct way that the ACPI spec allows, at least Linux does not complain, but apparently Windows does not think so. During Windows bring up debugging, it is observed that even these 3 fields are zero, Windows are still trying to issue SMI with hardcoded SMI port address and commands, and expecting SCI_EN to be changed by the firmware. Eventually Windows gives us a BSOD (Blue Screen of Death) saying ACPI_BIOS_ERROR and refuses to start. To fix this, turn on the SCI_EN bit by ourselves. With this patch, now U-Boot can install and boot Windows 8.1/10 successfully with the help of SeaBIOS using legacy interface (non-UEFI mode). Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/x86/include/asm/acpi_table.h | 3 +++ arch/x86/lib/acpi_table.c | 26 ++++++++++++++++++++++++++ 2 files changed, 29 insertions(+) ------------------------------------------------------------------------------- commit 644a76742c85ae8bbdd9fcd00d06b7099015d593 Author: Bin Meng <bmeng.cn@gmail.com> Date: 2016-05-11 07:45:02 -0700 x86: Use high_table_malloc() for tables passing to SeaBIOS Now that we already reserved high memory for configuration tables, call high_table_malloc() to allocate tables from the region. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/x86/lib/tables.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) ------------------------------------------------------------------------------- commit d19c90747d8975a523489f863984c521ae72ce39 Author: Bin Meng <bmeng.cn@gmail.com> Date: 2016-05-11 07:45:01 -0700 x86: Reserve configuration tables in high memory When SeaBIOS is on, reserve configuration tables in reserve_arch(). Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/x86/cpu/cpu.c | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) ------------------------------------------------------------------------------- commit 0c2b7eef97b00c3d1e5545518b2647b8fbf42537 Author: Bin Meng <bmeng.cn@gmail.com> Date: 2016-05-11 07:45:00 -0700 x86: Unify reserve_arch() for all x86 boards Instead of asking each platform to provide reserve_arch(), supply it in arch/x86/cpu/cpu.c in a unified way. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/x86/cpu/baytrail/valleyview.c | 8 -------- arch/x86/cpu/broadwell/sdram.c | 5 ----- arch/x86/cpu/cpu.c | 12 ++++++++++++ arch/x86/cpu/ivybridge/sdram.c | 5 ----- arch/x86/cpu/quark/quark.c | 9 --------- 5 files changed, 12 insertions(+), 27 deletions(-) ------------------------------------------------------------------------------- commit 789b6dceccbb852b0be235334b713467f88e2f8e Author: Bin Meng <bmeng.cn@gmail.com> Date: 2016-05-11 07:44:59 -0700 x86: Prepare configuration tables in dedicated high memory region Currently when CONFIG_SEABIOS is on, U-Boot allocates configuration tables via normal malloc(). To simplify, use a dedicated memory region which is reserved on the stack before relocation for this purpose. Add functions for reserve and malloc. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/x86/Kconfig | 14 ++++++++++++++ arch/x86/include/asm/coreboot_tables.h | 19 +++++++++++++++++++ arch/x86/include/asm/global_data.h | 4 ++++ arch/x86/lib/coreboot_table.c | 31 +++++++++++++++++++++++++++++++ 4 files changed, 68 insertions(+) ------------------------------------------------------------------------------- commit 548344912f791ff7f7f932afdaf669f45a20448b Author: Bin Meng <bmeng.cn@gmail.com> Date: 2016-05-11 07:44:58 -0700 x86: Compile coreboot_table.c only for SeaBIOS coreboot_table.c only needs to be built when SeaBIOS is used. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/x86/lib/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 10d569ea1a6083eec6022dfd1e6b35e74c962ee3 Author: Bin Meng <bmeng.cn@gmail.com> Date: 2016-05-11 07:44:57 -0700 x86: Fix up PIRQ routing table checksum earlier PIRQ routing table checksum is fixed up in copy_pirq_routing_table(), which is fine if we only write the configuration table once. But with the SeaBIOS case, when we write the table for the second time, the checksum will be fixed up to zero per the checksum algorithm, which is caused by the checksum field not being zero before fix up, since the checksum has already been calculated in the first run. To fix this, move the checksum fixup to create_pirq_routing_table(), so that copy_pirq_routing_table() only does what its function name suggests: copy the table to somewhere else. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/x86/cpu/irq.c | 4 ++++ arch/x86/lib/pirq_routing.c | 4 ---- 2 files changed, 4 insertions(+), 4 deletions(-) ------------------------------------------------------------------------------- commit 1e2f7b9e8e077cb6937204c305d554ef7a970be5 Author: Bin Meng <bmeng.cn@gmail.com> Date: 2016-05-11 07:44:56 -0700 x86: Call board_final_cleanup() in last_stage_init() At present board_final_cleanup() is called before booting a Linux kernel. This actually needs to be done before booting anything, like SeaBIOS, VxWorks or Windows. Move the call to last_stage_init() instead. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/x86/cpu/coreboot/coreboot.c | 20 +++++++++++--------- arch/x86/cpu/cpu.c | 10 ++++++++++ arch/x86/lib/bootm.c | 9 --------- 3 files changed, 21 insertions(+), 18 deletions(-) ------------------------------------------------------------------------------- commit 91fc5bf652c1e959373cd21df4809a74d31e75fe Author: Bin Meng <bmeng.cn@gmail.com> Date: 2016-05-11 07:44:55 -0700 x86: minnowmax: Adjust U-Boot environment address in SPI flash Currently U-Boot environment address is at offset 0x7fe00 of a 8MB SPI flash. When creating a partial u-boot.rom image without flash descriptor and ME firmware, U-Boot actually occupies the last 1MB of the flash, and reprograming U-Boot causes previous environment settings get lost which is not convenient during testing. Adjust the environment address to 0x6ef000 instead (before the MRC cache data region in the flash). Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Stefan Roese <sr@denx.de> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / doc/README.x86 | 2 +- include/configs/minnowmax.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit f7e20f6628c679bd2617c0a58b44e8d9407b475d Author: Miao Yan <yanmiaobest@gmail.com> Date: 2016-05-22 19:37:22 -0700 config: sandbox: enable qfw and cmd_qfw for testing This patch enables qfw and cmd_qfw on sandbox for build coverage test Signed-off-by: Miao Yan <yanmiaobest@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Base directory -> / configs/sandbox_defconfig | 1 + 1 file changed, 1 insertion(+) ------------------------------------------------------------------------------- commit 494ec0d0933784b4d14cfb40380fb77408a8b7ef Author: Miao Yan <yanmiaobest@gmail.com> Date: 2016-05-22 19:37:21 -0700 x86: qemu: rename qemu/acpi_table.c Rename qemu/acpi_table.c to qemu/e820.c, because ACPI stuff is moved to qfw core, this file only contains code for installing e820 table. Signed-off-by: Miao Yan <yanmiaobest@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Base directory -> / arch/x86/cpu/qemu/Makefile | 3 +-- arch/x86/cpu/qemu/acpi_table.c | 43 ------------------------------------------ arch/x86/cpu/qemu/e820.c | 43 ++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 44 insertions(+), 45 deletions(-) ------------------------------------------------------------------------------- commit eece493a7ac14f5049a8bd7031ba37e2c6e2460a Author: Miao Yan <yanmiaobest@gmail.com> Date: 2016-05-22 19:37:20 -0700 cmd: qfw: bring ACPI generation code into qfw core Loading ACPI table from QEMU's fw_cfg interface is not x86 specific (ARM64 may also make use of it). So move the code to common place. Signed-off-by: Miao Yan <yanmiaobest@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Base directory -> / arch/x86/cpu/qemu/acpi_table.c | 209 ----------------------------------------- drivers/misc/qfw.c | 206 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 206 insertions(+), 209 deletions(-) ------------------------------------------------------------------------------- commit d6ccb14e5a8f3b782f9f09b88d5ca6695039a5f6 Author: Miao Yan <yanmiaobest@gmail.com> Date: 2016-05-22 19:37:19 -0700 cmd: qfw: do not depend on x86 The qfw command interface used to depend on X86, this patch removes this restriction so it can be built for sandbox for testing. For normal usage, it can only be used with CONFIG_QEMU. Signed-off-by: Miao Yan <yanmiaobest@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Base directory -> / cmd/Kconfig | 1 - 1 file changed, 1 deletion(-) ------------------------------------------------------------------------------- commit 86e30e67ad068ebedd1e6cc8833ba413ea28ed75 Author: Miao Yan <yanmiaobest@gmail.com> Date: 2016-05-22 19:37:18 -0700 cmd: qfw: do not require default macros when building qfw command The qfw command interface makes use of CONFIG_LOADADDR and CONFIG_RAMDISKADDR to setup kernel. But not all boards have these macros, which causes build problem on those platforms. This patch fixes this issue. Signed-off-by: Miao Yan <yanmiaobest@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Base directory -> / cmd/qfw.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) ------------------------------------------------------------------------------- commit 1868659002a6b7ab3b1da7be74f53d3e10e915be Author: Miao Yan <yanmiaobest@gmail.com> Date: 2016-05-22 19:37:17 -0700 cmd: qfw: rename qemu_fw_cfg.[c|h] to qfw.[c|h] Make file names consistent with CONFIG_QFW and CONFIG_CMD_QFW Signed-off-by: Miao Yan <yanmiaobest@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Base directory -> / arch/x86/cpu/mp_init.c | 2 +- arch/x86/cpu/qemu/acpi_table.c | 2 +- arch/x86/cpu/qemu/cpu.c | 2 +- arch/x86/cpu/qemu/qemu.c | 2 +- cmd/Kconfig | 2 +- cmd/Makefile | 2 +- cmd/qfw.c | 2 +- configs/qemu-x86_defconfig | 2 +- drivers/misc/Kconfig | 2 +- drivers/misc/Makefile | 2 +- drivers/misc/qemu_fw_cfg.c | 180 ----------------------------------------- drivers/misc/qfw.c | 180 +++++++++++++++++++++++++++++++++++++++++ include/qemu_fw_cfg.h | 176 ---------------------------------------- include/qfw.h | 176 ++++++++++++++++++++++++++++++++++++++++ 14 files changed, 366 insertions(+), 366 deletions(-) ------------------------------------------------------------------------------- commit 331ba7db6c19992b9800e9c53373d31794ce11ae Author: Miao Yan <yanmiaobest@gmail.com> Date: 2016-05-22 19:37:16 -0700 x86: qemu: add comment about qfw register endianness This patch adds some comments about qfw register endianness for clarity. Signed-off-by: Miao Yan <yanmiaobest@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Base directory -> / arch/x86/cpu/qemu/qemu.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 2e82e745a4cf6bad10d9fe5a53db6592f40ff903 Author: Miao Yan <yanmiaobest@gmail.com> Date: 2016-05-22 19:37:15 -0700 x86: qemu: move x86 specific operations out of qfw core The original implementation of qfw includes several x86 specific operations, like directly calling outb/inb and using some inline assembly code which prevents it being ported to other architectures. This patch adds callback functions and moves those to arch/x86/ Signed-off-by: Miao Yan <yanmiaobest@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Base directory -> / arch/x86/cpu/qemu/qemu.c | 39 ++++++++++++++++++++++++++++++++++++++- drivers/misc/qemu_fw_cfg.c | 30 +++++++++++++----------------- include/qemu_fw_cfg.h | 15 +++++++++------ 3 files changed, 60 insertions(+), 24 deletions(-) ------------------------------------------------------------------------------- commit fcf5c04193b48c3f5e2d337a85d28c4026f90ac3 Author: Miao Yan <yanmiaobest@gmail.com> Date: 2016-05-22 19:37:14 -0700 x86: qemu: split qfw command interface and qfw core This patch splits qfw command interface and qfw core function into two files, and introduces a new Kconfig option (CONFIG_QFW) for qfw core. Now when qfw command interface is enabled, it will automatically select qfw core. This patch also makes the ACPI table generation select CONFIG_QFW. Signed-off-by: Miao Yan <yanmiaobest@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Base directory -> / arch/x86/Kconfig | 2 +- arch/x86/cpu/mp_init.c | 4 +- arch/x86/cpu/qemu/Makefile | 3 +- arch/x86/cpu/qemu/qemu.c | 2 + cmd/Kconfig | 1 + cmd/Makefile | 2 +- cmd/qemu_fw_cfg.c | 353 --------------------------------------------- cmd/qfw.c | 181 +++++++++++++++++++++++ drivers/misc/Kconfig | 6 + drivers/misc/Makefile | 1 + drivers/misc/qemu_fw_cfg.c | 184 +++++++++++++++++++++++ 11 files changed, 381 insertions(+), 358 deletions(-) ------------------------------------------------------------------------------- commit d3ad06239291d89c1c598248d577cde5470ac1ee Author: Miao Yan <yanmiaobest@gmail.com> Date: 2016-05-22 19:37:13 -0700 cmd: qfw: make fwcfg_present and fwcfg_dma_present public This patch is part of the qfw refactor work. This patch makes qemu_fwcfg_present() and qemu_fwcfg_dma_present() public functions. Signed-off-by: Miao Yan <yanmiaobest@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Base directory -> / cmd/qemu_fw_cfg.c | 37 ++++++++++++++++++++----------------- include/qemu_fw_cfg.h | 3 +++ 2 files changed, 23 insertions(+), 17 deletions(-) ------------------------------------------------------------------------------- commit 05dd6f183c8c20f0176a67ac885f8143c0052203 Author: Miao Yan <yanmiaobest@gmail.com> Date: 2016-05-22 19:37:12 -0700 cmd: qfw: remove qemu_fwcfg_free_files() This patch is part of the qfw refactor work. The qemu_fwcfg_free_files() function is only used in error handling in ACPI table generation, let's not make this a core function and move it to the right place. Signed-off-by: Miao Yan <yanmiaobest@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Base directory -> / arch/x86/cpu/qemu/acpi_table.c | 13 +++++++++++-- cmd/qemu_fw_cfg.c | 12 ------------ include/qemu_fw_cfg.h | 1 - 3 files changed, 11 insertions(+), 15 deletions(-) ------------------------------------------------------------------------------- commit 099b2196e4a693968fd6205ac6d61f6eaab79fb1 Author: Miao Yan <yanmiaobest@gmail.com> Date: 2016-05-22 19:37:11 -0700 cmd: qfw: add API to iterate firmware list This patch is part of the refactor work of qfw. It adds 3 APIs to qfw core to iterate firmware list. Signed-off-by: Miao Yan <yanmiaobest@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Base directory -> / cmd/qemu_fw_cfg.c | 25 ++++++++++++++++++++++--- include/qemu_fw_cfg.h | 9 +++++++++ 2 files changed, 31 insertions(+), 3 deletions(-) ------------------------------------------------------------------------------- commit 34865a65c44d9c0dffb9b5346e66ea9b7757b880 Author: Miao Yan <yanmiaobest@gmail.com> Date: 2016-05-22 19:37:10 -0700 x86: qemu: fix ACPI Kconfig options CONFIG_GENENRATE_ACPI_TABLE controls the generation of ACPI table which uses U-Boot's built-in methods and CONFIG_QEMU_ACPI_TABLE controls whether to load ACPI table from QEMU's fw_cfg interface. But with commit "697ec431469ce0a4c2fc2c02d8685d907491af84 x86: qemu: Drop our own ACPI implementation", there is only one way to support ACPI table for QEMU targets which is the fw_cfg interface. Having two Kconfig options for this purpose is not necessary any more, so this patch consolidates the two. Signed-off-by: Miao Yan <yanmiaobest@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Base directory -> / arch/x86/Kconfig | 10 +--------- arch/x86/cpu/qemu/Makefile | 2 +- arch/x86/lib/Makefile | 2 +- 3 files changed, 3 insertions(+), 11 deletions(-) ------------------------------------------------------------------------------- commit dd6f3abbb81d4d0f8883a523e26fd45833a6b0d3 Author: Tom Rini <trini@konsulko.com> Date: 2016-05-06 10:40:22 -0400 x86: qemu: Move qfw command over to cmd and add Kconfig entry - Move the command portion of arch/x86/cpu/qemu/fw_cfg.c into cmd/qemu_fw_cfg.c - Move arch/x86/include/asm/fw_cfg.h to include/qemu_fw_cfg.h - Rename ACPI table portion to arch/x86/cpu/qemu/acpi_table.c Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Base directory -> / arch/x86/cpu/mp_init.c | 2 +- arch/x86/cpu/qemu/Makefile | 3 +- arch/x86/cpu/qemu/acpi_table.c | 243 ++++++++++++++++++ arch/x86/cpu/qemu/cpu.c | 2 +- arch/x86/cpu/qemu/fw_cfg.c | 570 ----------------------------------------- arch/x86/cpu/qemu/qemu.c | 2 +- arch/x86/include/asm/fw_cfg.h | 157 ------------ arch/x86/lib/acpi_table.c | 2 +- cmd/Kconfig | 7 + cmd/Makefile | 1 + cmd/qemu_fw_cfg.c | 343 +++++++++++++++++++++++++ configs/qemu-x86_defconfig | 1 + include/qemu_fw_cfg.h | 162 ++++++++++++ 13 files changed, 763 insertions(+), 732 deletions(-) ------------------------------------------------------------------------------- commit 49d929bbc49ebab3ffbc9ad2d0f13ba296d61d02 Author: Bin Meng <bmeng.cn@gmail.com> Date: 2016-05-07 07:46:37 -0700 x86: doc: Document ACPI support Remove ACPI from the TODO list and add a new section to document current ACPI support in U-Boot. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / doc/README.x86 | 44 +++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 43 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit eda995a8b021fdc9f8d862bdb86babb06d8ef5d1 Author: Bin Meng <bmeng.cn@gmail.com> Date: 2016-05-07 07:46:36 -0700 x86: doc: Minor update for accuracy This updates the doc for the following places: - Mention CRB for Bayley Bay - Mention Congatec QEVAL 2.0 & conga-QA3/E3845 - Limit part of the QEMU paragraphs to 80 cols - Correct some typos (drive, it's, Ubuntu) - Add description for "console=ttyS0,115200" - Remove CONFIG_BOOTDELAY description which is already in x86-common.h Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Stefan Roese <sr@denx.de> Tested-by: Stefan Roese <sr@denx.de> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / doc/README.x86 | 41 ++++++++++++++++++----------------------- 1 file changed, 18 insertions(+), 23 deletions(-) ------------------------------------------------------------------------------- commit 030b9e34c97e94c0a1a30ed391058b130ba6d314 Author: Bin Meng <bmeng.cn@gmail.com> Date: 2016-05-07 07:46:35 -0700 x86: Remove acpi=off boot parameter when ACPI is on Remove the kernel boot parameter acpi=off so that kernel can turn on ACPI support. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Stefan Roese <sr@denx.de> Tested-by: Stefan Roese <sr@denx.de> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / include/configs/x86-common.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit 7a47a0827ddc047ec6c722ac4567b4c19e699412 Author: Bin Meng <bmeng.cn@gmail.com> Date: 2016-05-07 07:46:34 -0700 x86: baytrail: Add .gitignore for ACPI enabled boards Let git ignore dsdt.aml, dsdt.asl.tmp and dsdt.c files. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Stefan Roese <sr@denx.de> Tested-by: Stefan Roese <sr@denx.de> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / board/congatec/conga-qeval20-qa3-e3845/.gitignore | 3 +++ board/intel/bayleybay/.gitignore | 3 +++ board/intel/minnowmax/.gitignore | 3 +++ 3 files changed, 9 insertions(+) ------------------------------------------------------------------------------- commit ad3098f7b8167915f59c2a2cb59fdac26730f601 Author: Bin Meng <bmeng.cn@gmail.com> Date: 2016-05-07 07:46:33 -0700 x86: baytrail: Enable ACPI table generation for all boards Enable ACPI table generation by creating a DSDT table for all baytrail boards: conga-qeval20-qa3-e3845, bayleybay and minnowmax. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Stefan Roese <sr@denx.de> Tested-by: Stefan Roese <sr@denx.de> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / board/congatec/conga-qeval20-qa3-e3845/Makefile | 1 + board/congatec/conga-qeval20-qa3-e3845/acpi/mainboard.asl | 13 +++++++++++++ board/congatec/conga-qeval20-qa3-e3845/dsdt.asl | 14 ++++++++++++++ board/intel/bayleybay/Makefile | 1 + board/intel/bayleybay/acpi/mainboard.asl | 11 +++++++++++ board/intel/bayleybay/dsdt.asl | 14 ++++++++++++++ board/intel/minnowmax/Makefile | 1 + board/intel/minnowmax/acpi/mainboard.asl | 11 +++++++++++ board/intel/minnowmax/dsdt.asl | 14 ++++++++++++++ configs/bayleybay_defconfig | 1 + configs/conga-qeval20-qa3-e3845_defconfig | 1 + configs/minnowmax_defconfig | 1 + 12 files changed, 83 insertions(+) ------------------------------------------------------------------------------- commit 4470f2d51c26b80953e76c8eb54ed4e6947f4223 Author: Bin Meng <bmeng.cn@gmail.com> Date: 2016-05-07 07:46:32 -0700 x86: baytrail: Generate ACPI FADT/MADT tables FADT/MADT tables are platform specific. Generate them for BayTrail. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/x86/cpu/baytrail/Makefile | 1 + arch/x86/cpu/baytrail/acpi.c | 163 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 164 insertions(+) ------------------------------------------------------------------------------- commit 42f8ebfd23a525c24011830b0d221c8d8cbcc5c9 Author: Bin Meng <bmeng.cn@gmail.com> Date: 2016-05-07 07:46:31 -0700 x86: baytrail: Add platform ASL files This adds basic BayTrail platform ASL files. They are intended to be included in dsdt.asl of any board that is based on this platform. Note: ACPI mode support for GPIO/LPSS/SCC/LPE are not supported for now. They will be added in the future. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / .../include/asm/arch-baytrail/acpi/irq_helper.h | 111 +++++ .../include/asm/arch-baytrail/acpi/irqlinks.asl | 489 +++++++++++++++++++++ .../include/asm/arch-baytrail/acpi/irqroute.asl | 48 ++ arch/x86/include/asm/arch-baytrail/acpi/irqroute.h | 27 ++ arch/x86/include/asm/arch-baytrail/acpi/lpc.asl | 121 +++++ .../include/asm/arch-baytrail/acpi/platform.asl | 33 ++ .../include/asm/arch-baytrail/acpi/sleepstates.asl | 13 + .../asm/arch-baytrail/acpi/southcluster.asl | 211 +++++++++ arch/x86/include/asm/arch-baytrail/acpi/usb.asl | 34 ++ arch/x86/include/asm/arch-baytrail/acpi/xhci.asl | 31 ++ arch/x86/include/asm/arch-baytrail/device.h | 74 ++++ arch/x86/include/asm/arch-baytrail/iomap.h | 70 +++ arch/x86/include/asm/arch-baytrail/irq.h | 86 ++++ 13 files changed, 1348 insertions(+) ------------------------------------------------------------------------------- commit fc4f5cccd87abf4c72b13f64b49719fde9107cad Author: Bin Meng <bmeng.cn@gmail.com> Date: 2016-05-07 07:46:30 -0700 x86: acpi: Return table length in acpi_create_madt_lapics() Like other MADT table write routines, make acpi_create_madt_lapics() return how many bytes it has written instead of the table end addr. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/x86/include/asm/acpi_table.h | 2 +- arch/x86/lib/acpi_table.c | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) ------------------------------------------------------------------------------- commit 9e70a11622eb01c90c5152c08c3166adc60aed1e Author: Bin Meng <bmeng.cn@gmail.com> Date: 2016-05-07 07:46:29 -0700 x86: acpi: Add some generic ASL libraries This adds several generic ASL libraries that can be included by other ASL files, which are: - debug.asl: for debug output using POST I/O port and legacy serial port - globutil.asl: for string compare routines - statdef.asl: for _STA status values Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Stefan Roese <sr@denx.de> Tested-by: Stefan Roese <sr@denx.de> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/x86/include/asm/acpi/debug.asl | 136 +++++++++++++++++++++++++++++++++ arch/x86/include/asm/acpi/globutil.asl | 113 +++++++++++++++++++++++++++ arch/x86/include/asm/acpi/statdef.asl | 82 ++++++++++++++++++++ 3 files changed, 331 insertions(+) ------------------------------------------------------------------------------- commit 7e6343ef94e7f495f91ee20e2f5e76cfab409134 Author: Bin Meng <bmeng.cn@gmail.com> Date: 2016-05-07 07:46:28 -0700 x86: acpi: Clean up table header revisions The comment of initializing table header revision says: /* ACPI 1.0/2.0: 1, ACPI 3.0: 2, ACPI 4.0: 3 */ which might mislead it may increase per ACPI spec revision. However this is not the case. It's actually a fixed number as defined in ACPI spec, and in the laest ACPI spec 6.1, some table header revisions are still 1. Clean these up. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/x86/include/asm/acpi_table.h | 6 ------ arch/x86/lib/acpi_table.c | 16 ++++------------ 2 files changed, 4 insertions(+), 18 deletions(-) ------------------------------------------------------------------------------- commit 25e133ecb760a46f6b4a88b4b17aecfb0d6af8dd Author: Bin Meng <bmeng.cn@gmail.com> Date: 2016-05-07 07:46:27 -0700 x86: acpi: Align FACS table to a 64 byte boundary Per ACPI spec, the FACS table address must be aligned to a 64 byte boundary (Windows checks this, but Linux does not). Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Stefan Roese <sr@denx.de> Tested-by: Stefan Roese <sr@denx.de> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/x86/lib/acpi_table.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 7e79a6bc2edb7a7dd82cdabaceaa34dbb4ab5a55 Author: Bin Meng <bmeng.cn@gmail.com> Date: 2016-05-07 07:46:26 -0700 x86: acpi: Use u32 in table write routines Use u32 instead of unsigned long in the table write routines, as other routines do. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/x86/include/asm/acpi_table.h | 4 ++-- arch/x86/lib/acpi_table.c | 14 +++++++------- 2 files changed, 9 insertions(+), 9 deletions(-) ------------------------------------------------------------------------------- commit ab5efd576c4e65f056f71eb1ecb7024affaa9a92 Author: Bin Meng <bmeng.cn@gmail.com> Date: 2016-05-07 07:46:25 -0700 x86: acpi: Adjust order in acpi_table.c Rearrange the routine order a little bit, to follow the order in which ACPI table is defined in acpi_table.h. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Stefan Roese <sr@denx.de> Tested-by: Stefan Roese <sr@denx.de> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/x86/include/asm/acpi_table.h | 14 +-- arch/x86/lib/acpi_table.c | 236 +++++++++++++++++++------------------- 2 files changed, 126 insertions(+), 124 deletions(-) ------------------------------------------------------------------------------- commit dfbb18bcf6bf36c96b4e51d05b285a2d50ab61a9 Author: Bin Meng <bmeng.cn@gmail.com> Date: 2016-05-07 07:46:24 -0700 x86: acpi: Change fill_header() Rename fill_header() to acpi_fill_header() for consistency. Change its signature to remove the 'length' parameter and make it a public API. Also remove the unnecessary include files, and improve the AmlCode[] comment a little bit. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Stefan Roese <sr@denx.de> Tested-by: Stefan Roese <sr@denx.de> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/x86/include/asm/acpi_table.h | 1 + arch/x86/lib/acpi_table.c | 22 ++++++++-------------- 2 files changed, 9 insertions(+), 14 deletions(-) ------------------------------------------------------------------------------- commit cea91319c25a044c50be8da980d9abd00727d121 Author: Bin Meng <bmeng.cn@gmail.com> Date: 2016-05-07 07:46:23 -0700 x86: acpi: Remove acpi_create_ssdt_generator() This acpi_create_ssdt_generator() currently does nothing. Remove this for now. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Stefan Roese <sr@denx.de> Tested-by: Stefan Roese <sr@denx.de> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/x86/include/asm/acpi_table.h | 3 --- arch/x86/lib/acpi_table.c | 33 --------------------------------- 2 files changed, 36 deletions(-) ------------------------------------------------------------------------------- commit 728c4afc39a865e20a3dda2a3b4f0139f5ef4c56 Author: Bin Meng <bmeng.cn@gmail.com> Date: 2016-05-07 07:46:22 -0700 x86: acpi: Reorder code in acpi_table.h Reorder the ACPI tables appearance by following the order: RSDP, RSDT, XSDT, FADT, FACS, MADT, MCFG. And adjust the table flag defines accordingly. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Stefan Roese <sr@denx.de> Tested-by: Stefan Roese <sr@denx.de> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/x86/include/asm/acpi_table.h | 347 +++++++++++++++++++------------------- 1 file changed, 169 insertions(+), 178 deletions(-) ------------------------------------------------------------------------------- commit 8a8c0352556cb63c941d9bf1ff58d45c4d27d61d Author: Bin Meng <bmeng.cn@gmail.com> Date: 2016-05-07 07:46:21 -0700 x86: acpi: Various changes to acpi_table.h - Use "U-BOOT" and "U-BOOTBL" for the OEM ID and OEM table ID. - Do not typedef acpi_header_t, instead use struct acpi_table_hader. - Use a shorter name aslc_id and aslc-revision. - Change MCFG base address to use 32-bit value pairs (_l and _h). - Apply ACPI_APIC_ prefix to MADT APIC type macros and make their names to be more readable. - Apply __packed to struct acpi_madt_irqoverride and struct acpi_madt_lapic_nmi tables, as they are not naturally aligned by the compiler which leads to wrong sizeof(struct). - Rename model to res1 as it is reserved after ACPI spec 1.0. - Apply ACPI_ prefix to the PM profile macros and change them to enum. - Add ospm_flags to FACS structure which is defined since ACPI 4.0. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Stefan Roese <sr@denx.de> Tested-by: Stefan Roese <sr@denx.de> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/x86/include/asm/acpi_table.h | 72 +++++++++++++++++++++------------------ arch/x86/lib/acpi_table.c | 71 ++++++++++++++++++++------------------ 2 files changed, 75 insertions(+), 68 deletions(-) ------------------------------------------------------------------------------- commit f4446629c9d60cd92d2c5d3221aed7b4ce07c552 Author: Bin Meng <bmeng.cn@gmail.com> Date: 2016-05-07 07:46:20 -0700 x86: acpi: Remove unused codes - Remove #include <> header files. - Remove APM_CNT register defines, which should not be here as they are SMI related. - Remove MP_IRQ_ defines as they are duplicates of the same ones in asm/mpspec.h. - Remove ACTL register defines, which should not be here as they are chipset specific. - Remove functional fixed hardware defines, which are not used. - Remove dev_scope related defines, which are not used. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Stefan Roese <sr@denx.de> Tested-by: Stefan Roese <sr@denx.de> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/x86/include/asm/acpi_table.h | 68 --------------------------------------- 1 file changed, 68 deletions(-) ------------------------------------------------------------------------------- commit 5dafcb8f7d73a844f9f0b14054b1dfe4586238eb Author: Bin Meng <bmeng.cn@gmail.com> Date: 2016-05-07 07:46:19 -0700 acpi: Output all errors/warnings/remarks when compiling ASL Remove -va option when invoking IASL compiler so that we can see errors/warnings/remarks in the build log. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Stefan Roese <sr@denx.de> Tested-by: Stefan Roese <sr@denx.de> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / scripts/Makefile.lib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 8c4cc21c1fabaa2824456d722943e2083c96c712 Author: Bin Meng <bmeng.cn@gmail.com> Date: 2016-05-07 07:46:18 -0700 acpi: Specify U-Boot include path for ASL files It will be much easier if we split the whole dsdt.asl file into multiple smaller ASL parts and have access to U-Boot include files. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Stefan Roese <sr@denx.de> Tested-by: Stefan Roese <sr@denx.de> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / scripts/Makefile.lib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 3a2a3d0b485e8c810e9133eb0c86af33f5d46a14 Author: Bin Meng <bmeng.cn@gmail.com> Date: 2016-05-07 07:46:17 -0700 acpi: Explicitly spell out dsdt.c in the make rule Currently the make rule for dsdt.c uses a wildcard, as below: $(obj)/%.c: $(src)/%.asl To avoid any side effect, explicitly mention dsdt.c as this is the file we intend to use for ACPI DSDT AML generation. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Stefan Roese <sr@denx.de> Tested-by: Stefan Roese <sr@denx.de> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / scripts/Makefile.lib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 68af8d887c463c688f3f1dc02edf04cb58f8bf5d Author: Bin Meng <bmeng.cn@gmail.com> Date: 2016-05-07 07:46:16 -0700 acpi: Change build log for ASL files Currently when compiling U-Boot with ASL file, the build log says: ASL board/intel/bayleybay/dsdt.c This looks odd as ASL compiler's input is ASL file, not C file. Change the make rule to use $< instead. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Stefan Roese <sr@denx.de> Tested-by: Stefan Roese <sr@denx.de> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / scripts/Makefile.lib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit ce8dd77d996f8920b290d7070d4bfe744249a871 Author: Bin Meng <bmeng.cn@gmail.com> Date: 2016-05-07 07:46:15 -0700 x86: dts: Update to include ACTL register details This updates all x86 boards that currently have IRQ router in the dts files to include ACTL register details. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Stefan Roese <sr@denx.de> Tested-by: Stefan Roese <sr@denx.de> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/x86/dts/bayleybay.dts | 1 + arch/x86/dts/conga-qeval20-qa3-e3845.dts | 1 + arch/x86/dts/crownbay.dts | 1 + arch/x86/dts/galileo.dts | 1 + arch/x86/dts/minnowmax.dts | 1 + arch/x86/dts/qemu-x86_q35.dts | 2 ++ 6 files changed, 7 insertions(+) ------------------------------------------------------------------------------- commit d4e61f505b8fd8662142b6e27ef443f88f73176e Author: Bin Meng <bmeng.cn@gmail.com> Date: 2016-05-07 07:46:14 -0700 x86: irq: Enable SCI on IRQ9 By default SCI is disabled after power on. ACTL is the register to enable SCI and route it to PIC/APIC. To support both ACPI in PIC mode and APIC mode, configure SCI to use IRQ9. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Stefan Roese <sr@denx.de> Tested-by: Stefan Roese <sr@denx.de> Base directory -> / arch/x86/cpu/irq.c | 22 ++++++++++++++++++++++ arch/x86/include/asm/irq.h | 4 ++++ doc/device-tree-bindings/misc/intel,irq-router.txt | 5 +++++ 3 files changed, 31 insertions(+) ------------------------------------------------------------------------------- commit 07ac84eaaa5daeae4a56ff70649a3e50fc470db5 Author: Bin Meng <bmeng.cn@gmail.com> Date: 2016-05-07 07:46:13 -0700 x86: irq: Reserve IRQ9 for ACPI in PIC mode Reserve IRQ9 which is to be used as SCI interrupt number for ACPI in PIC mode. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Stefan Roese <sr@denx.de> Tested-by: Stefan Roese <sr@denx.de> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/x86/cpu/irq.c | 5 +++++ 1 file changed, 5 insertions(+) ------------------------------------------------------------------------------- commit dca4d1a2ce920544b8158d7a5d359d41a6d35330 Author: Bin Meng <bmeng.cn@gmail.com> Date: 2016-05-07 07:46:12 -0700 x86: acpi: Fix compiler warnings in write_acpi_tables() Fix the following two build warnings in function 'write_acpi_tables': warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'u32' [-Wformat=] Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Stefan Roese <sr@denx.de> Tested-by: Stefan Roese <sr@denx.de> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/x86/lib/acpi_table.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) ------------------------------------------------------------------------------- commit 5cb0f0dc88f816a08003a06cef8bd5310425e573 Author: Bin Meng <bmeng.cn@gmail.com> Date: 2016-05-07 07:46:11 -0700 x86: Fix build warning in tables.c when CONFIG_SEABIOS The following build warning is seen in tables.c: warning: implicit declaration of function 'memalign' Add the missing header file to fix it. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Stefan Roese <sr@denx.de> Tested-by: Stefan Roese <sr@denx.de> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/x86/lib/tables.c | 1 + 1 file changed, 1 insertion(+) ------------------------------------------------------------------------------- commit b6524477df87eeec436d01dd361017468c7f915f Author: Bin Meng <bmeng.cn@gmail.com> Date: 2016-05-07 07:46:10 -0700 x86: Drop asm/acpi.h Remove asm/acpi.h which is never used. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Stefan Roese <sr@denx.de> Tested-by: Stefan Roese <sr@denx.de> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/x86/cpu/ivybridge/lpc.c | 1 - arch/x86/cpu/ivybridge/model_206ax.c | 1 - arch/x86/cpu/ivybridge/northbridge.c | 1 - arch/x86/include/asm/acpi.h | 24 ------------------------ 4 files changed, 27 deletions(-) ------------------------------------------------------------------------------- commit 83b6a43e6efdce32c7f824263ad40c86d03901f9 Author: Fabio Estevam <fabio.estevam@nxp.com> Date: 2016-05-17 10:51:44 -0300 pico-imx6ul: Select CONFIG_HUSH_PARSER option Select CONFIG_HUSH_PARSER option in order to fix the following problem: Unknown command 'if' - try 'help' Unknown command 'then' - try 'help' Unknown command 'else' - try 'help' Unknown command 'fi' - try 'help' Reported-by: Daiane Angolini <daiane.angolini@nxp.com> Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com> Tested-by: Daiane Angolini <daiane.angolini@nxp.com> Base directory -> / configs/pico-imx6ul_defconfig | 1 + 1 file changed, 1 insertion(+) ------------------------------------------------------------------------------- commit 3dc9be82088f826dd7927bd1f947a838c9ef72b0 Author: Nikita Kiryanov <nikita@compulab.co.il> Date: 2016-04-16 17:55:13 +0300 eeprom: merge cmdline parsing of eeprom commands Merge the parsing of layout aware and layout unaware eeprom commands into one parsing function. With this change, layout aware commands now follow the eeprom read and eeprom write conventions of making i2c bus and i2c address parameters optional. Cc: Heiko Schocher <hs@denx.de> Cc: Marek Vasut <marex@denx.de> Cc: Simon Glass <sjg@chromium.org> Cc: Igor Grinberg <grinberg@compulab.co.il> Cc: Tom Rini <trini@konsulko.com> Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il> Base directory -> / cmd/eeprom.c | 117 +++++++++++++++++++++++++++-------------------------------- 1 file changed, 53 insertions(+), 64 deletions(-) ------------------------------------------------------------------------------- commit e7c2729bb358064ef7baf6081e6a47cf3f878e5c Author: Nikita Kiryanov <nikita@compulab.co.il> Date: 2016-04-16 17:55:12 +0300 eeprom: use eeprom_execute_command for all eeprom functions Update eeprom_execute_command() and related code to accommodate both layout aware and layout unaware functions. No functional changes. Cc: Heiko Schocher <hs@denx.de> Cc: Marek Vasut <marex@denx.de> Cc: Simon Glass <sjg@chromium.org> Cc: Igor Grinberg <grinberg@compulab.co.il> Cc: Tom Rini <trini@konsulko.com> Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il> [trini: Make eeprom_execute_command have ulong for i2c_addr] Signed-off-by: Tom Rini <trini@konsulko.com> Base directory -> / cmd/eeprom.c | 61 +++++++++++++++++++++++++++++++++++++++--------------------- 1 file changed, 40 insertions(+), 21 deletions(-) ------------------------------------------------------------------------------- commit 40ba13c98627055465709acd67872e381b42f928 Author: Paul Burton <paul.burton@imgtec.com> Date: 2016-05-16 10:52:14 +0100 malta: Support MIPS32r6 configurations Both real Malta boards & QEMU's Malta emulation can feature MIPS32r6 CPUs. Allow building U-Boot for such systems by selecting CONFIG_SUPPORTS_CPU_MIPS32_R6 for Malta. Signed-off-by: Paul Burton <paul.burton@imgtec.com> Base directory -> / arch/mips/Kconfig | 1 + 1 file changed, 1 insertion(+) ------------------------------------------------------------------------------- commit 4685d4e90d615adbca417826a7b777ec431e48a5 Author: Paul Burton <paul.burton@imgtec.com> Date: 2016-05-16 10:52:13 +0100 malta: Remove ".set mips32" directive We always build for a mips32 or higher ISA, so this ".set mips32" directive is redundant. Once MIPSr6 support is added it will become harmful since some instruction encodings change & this directive will cause the older encodings to be incorrectly emitted instead of the appropriate ones for the build. In preparation for supporting MIPSr6, remove this redundant directive. Signed-off-by: Paul Burton <paul.burton@imgtec.com> Base directory -> / board/imgtec/malta/lowlevel_init.S | 1 - 1 file changed, 1 deletion(-) ------------------------------------------------------------------------------- commit c52ebea1ccb6f8cdd0b1d883056d215c715a5920 Author: Paul Burton <paul.burton@imgtec.com> Date: 2016-05-16 10:52:12 +0100 MIPS: Support for targetting MIPSr6 Add support for targetting MIPS32r6 & MIPS64r6 systems, in the same way that we currently select release 1 or release 2 targets. MIPSr6 is not entirely backwards compatible with earlier releases of the architecture. Some instructions are encoded differently, some are removed, some are reused, so it is not practical to run U-Boot built for earlier revisions on a MIPSr6 system. Update their Kconfig help text to reflect that. Signed-off-by: Paul Burton <paul.burton@imgtec.com> Base directory -> / arch/mips/Kconfig | 34 ++++++++++++++++++++++++++++------ arch/mips/Makefile | 2 ++ 2 files changed, 30 insertions(+), 6 deletions(-) ------------------------------------------------------------------------------- commit 20286cdff766d64dc718a9d855b049580dfeb3cc Author: Paul Burton <paul.burton@imgtec.com> Date: 2016-05-16 10:52:11 +0100 MIPS: Simplify CONFIG_SYS_CPU values Rather than having the values for CONFIG_SYS_CPU depend upon each architecture revision, have them depend upon the more general CONFIG_CPU_MIPS32 & CONFIG_CPU_MIPS64 which in turn depend upon the architecture revisions. This is done in preparation for adding MIPSr6 support, which would otherwise need to introduce new cases here. Signed-off-by: Paul Burton <paul.burton@imgtec.com> Base directory -> / arch/mips/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit 9f8ac82452d8bb5eccc38a0c3c0a8f82e1774452 Author: Paul Burton <paul.burton@imgtec.com> Date: 2016-05-16 10:52:10 +0100 MIPS: Use unchecked immediate addition/subtraction In MIPS assembly there have historically been 2 variants of immediate addition - the standard "addi" which traps if an overflow occurs, and the unchecked "addiu" which does not trap on overflow. In release 6 of the MIPS architecture the trapping variants of immediate addition & subtraction have been removed. In preparation for supporting MIPSr6, stop using the trapping instructions from assembly & switch to their unchecked variants. Signed-off-by: Paul Burton <paul.burton@imgtec.com> Base directory -> / arch/mips/cpu/start.S | 22 ++++++++++++---------- arch/mips/lib/cache_init.S | 2 +- 2 files changed, 13 insertions(+), 11 deletions(-) ------------------------------------------------------------------------------- commit 400df3099896bdd43dd72dbb5d3930cf573d14f0 Author: Marek Vasut <marex@denx.de> Date: 2016-05-06 20:10:41 +0200 mips: ath79: Add support for TPLink WDR4300 Add support for the TPLink WDR4300 router, which is based on the AR9344 MIPS 74Kc CPU and has 128 MiB of RAM. The USB is supported on this system as well. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> Cc: Wills Wang <wills.wang@live.com> Base directory -> / arch/mips/dts/Makefile | 1 + arch/mips/dts/tplink_wdr4300.dts | 53 +++++++++++++++++++++++ arch/mips/mach-ath79/Kconfig | 5 +++ board/tplink/wdr4300/Kconfig | 15 +++++++ board/tplink/wdr4300/MAINTAINERS | 6 +++ board/tplink/wdr4300/Makefile | 5 +++ board/tplink/wdr4300/wdr4300.c | 74 ++++++++++++++++++++++++++++++++ configs/tplink_wdr4300_defconfig | 43 +++++++++++++++++++ include/configs/tplink_wdr4300.h | 93 ++++++++++++++++++++++++++++++++++++++++ 9 files changed, 295 insertions(+) ------------------------------------------------------------------------------- commit e08539b791336c45ca05ebdf55137a26baaba95e Author: Marek Vasut <marex@denx.de> Date: 2016-05-06 20:10:40 +0200 mips: ath79: Add AR934x support Add support for the Atheros AR934x WiSoCs. This patchs adds complete system init, including PLL and DRAM init, both of which happen from full C environment, since the AR934x has proper SRAM. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> Cc: Wills Wang <wills.wang@live.com> Base directory -> / arch/mips/dts/ar934x.dtsi | 112 ++++++++ arch/mips/mach-ath79/Kconfig | 9 + arch/mips/mach-ath79/Makefile | 3 +- arch/mips/mach-ath79/ar934x/Makefile | 7 + arch/mips/mach-ath79/ar934x/clk.c | 334 ++++++++++++++++++++++++ arch/mips/mach-ath79/ar934x/cpu.c | 10 + arch/mips/mach-ath79/ar934x/ddr.c | 163 ++++++++++++ arch/mips/mach-ath79/include/mach/ar71xx_regs.h | 43 +++ arch/mips/mach-ath79/include/mach/ath79.h | 3 + 9 files changed, 683 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 4771bbee5d7f7857de47794e9636783d55c438f6 Author: Marek Vasut <marex@denx.de> Date: 2016-05-06 20:10:39 +0200 mips: ath79: Add support for ungating ethernet on ar933x and ar934x Add code to ungate the ethernet controller on ar933x and ar934x . Signed-off-by: Marek Vasut <marex@denx.de> Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> Cc: Wills Wang <wills.wang@live.com> Base directory -> / arch/mips/mach-ath79/include/mach/ar71xx_regs.h | 1 + arch/mips/mach-ath79/include/mach/ath79.h | 1 + arch/mips/mach-ath79/reset.c | 78 +++++++++++++++++++++++++ 3 files changed, 80 insertions(+) ------------------------------------------------------------------------------- commit 2986a9d4bd2197ff3db16c8a4f61574b5a5cca49 Author: Marek Vasut <marex@denx.de> Date: 2016-05-06 20:10:38 +0200 mips: ath79: dts: Add ethernet MAC nodes for ar933x Add node for both ethernet controllers in the ar933x. The PHY is attached only to the first ethernet controller. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> Cc: Wills Wang <wills.wang@live.com> Base directory -> / arch/mips/dts/ar933x.dtsi | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) ------------------------------------------------------------------------------- commit 6b699742d4795804d553deaf5163a0923bd27274 Author: Marek Vasut <marex@denx.de> Date: 2016-05-06 20:10:37 +0200 mips: ath79: Add support for ungating USB on ar933x and ar934x Add code to ungate the USB controller on ar933x and ar934x . Signed-off-by: Marek Vasut <marex@denx.de> Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> Cc: Wills Wang <wills.wang@live.com> Base directory -> / arch/mips/mach-ath79/include/mach/ath79.h | 2 ++ arch/mips/mach-ath79/reset.c | 59 +++++++++++++++++++++++++++++++ 2 files changed, 61 insertions(+) ------------------------------------------------------------------------------- commit c31558780b50883bbbbb657592dc3391b2551353 Author: Marek Vasut <marex@denx.de> Date: 2016-05-06 20:10:36 +0200 mips: ath79: dts: Add generic-ehci node Add generic EHCI node for the ChipIdea EHCI controller in the ath79. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> Cc: Wills Wang <wills.wang@live.com> Base directory -> / arch/mips/dts/ar933x.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) ------------------------------------------------------------------------------- commit 43a092ffdd5edd6a66e8e9ec34372f3abd396486 Author: Marek Vasut <marex@denx.de> Date: 2016-05-06 20:10:35 +0200 mips: ath79: Fix compiler warning on const assignment The assignment const T var; var = value; is illegal, since var is constant. Drop the const to fix the compiler warning. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> Cc: Wills Wang <wills.wang@live.com> Base directory -> / arch/mips/mach-ath79/reset.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 0a6767efabedbddc2351d14695aa3a7d63657e2c Author: Marek Vasut <marex@denx.de> Date: 2016-05-06 20:10:34 +0200 mips: ath79: Fix ar71xx_regs.h indent The indent in this file triggers my OCD, so fix it. Replace multiple spaces with tabs and align the values in one column. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> Cc: Wills Wang <wills.wang@live.com> Base directory -> / arch/mips/mach-ath79/include/mach/ar71xx_regs.h | 2103 ++++++++++++----------- 1 file changed, 1069 insertions(+), 1034 deletions(-) ------------------------------------------------------------------------------- commit 0a0a958b68ee9d78a7cbccb5f72b95e1d488c9bd Author: Marek Vasut <marex@denx.de> Date: 2016-05-06 20:10:33 +0200 mips: Add MIPS 74Kc tune Add MIPS 74Kc tune Kconfig option. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> Cc: Wills Wang <wills.wang@live.com> [added missing tune-y entry in arch/mips/Makefile] Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> Base directory -> / arch/mips/Kconfig | 3 +++ arch/mips/Makefile | 1 + 2 files changed, 4 insertions(+) ------------------------------------------------------------------------------- commit 5760fc7850a9ad98a8852200ea879bfccd66df26 Author: Marek Vasut <marex@denx.de> Date: 2016-05-05 20:14:00 +0200 mips: Fix compiler warning in cpu.c There really is zero reason for including netdev.h in generic mips CPU code. Removing the netdev.h from cpu.c also fixes the following compiler warning: In file included from arch/mips/cpu/cpu.c:10:0: include/netdev.h:204:41: warning: 'struct eth_device' declared inside parameter list [enabled by default] int fecmxc_register_mii_postcall(struct eth_device *dev, int (*cb)(int)); ^ include/netdev.h:204:41: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default] Signed-off-by: Marek Vasut <marex@denx.de> Cc: Paul Burton <paul.burton@imgtec.com> Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> Base directory -> / arch/mips/cpu/cpu.c | 1 - 1 file changed, 1 deletion(-) ------------------------------------------------------------------------------- commit 59e4080c7e4d85bd29c343ea9167794feceadc3e Author: Wills Wang <wills.wang@live.com> Date: 2016-04-12 18:24:10 +0800 ath79: add readonly attribute for ath79_soc_desc use 'const' keywork to qualify readonly attribute for lookup-table member Signed-off-by: Wills Wang <wills.wang@live.com> Base directory -> / arch/mips/mach-ath79/cpu.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) ------------------------------------------------------------------------------- commit 5691d10a0166d5a324f96d98757f206c6dedc989 Author: Wills Wang <wills.wang@live.com> Date: 2016-04-12 11:09:20 +0800 ath79: ar933x: use BIT macro for bit shift operation used a uniform BIT macro for register bit-field shift Signed-off-by: Wills Wang <wills.wang@live.com> Base directory -> / arch/mips/mach-ath79/ar933x/ddr.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) ------------------------------------------------------------------------------- commit 773f3b25384363d53e457f1faae77c91db76e0c4 Author: Wills Wang <wills.wang@live.com> Date: 2016-04-12 11:09:19 +0800 ar933x: serial: Remove the explicit pinctrl setting The correct pinctrl is handled automatically so we don't need to do it in the driver. Signed-off-by: Wills Wang <wills.wang@live.com> Base directory -> / drivers/serial/serial_ar933x.c | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) ------------------------------------------------------------------------------- commit 5fabf2e7da1b738c6e0353b6a5a17b1a77ecc2e9 Author: Wills Wang <wills.wang@live.com> Date: 2016-04-12 11:09:18 +0800 ath79: spi: Remove the explicit pinctrl setting The correct pinctrl is handled automatically so we don't need to do it in the driver. Signed-off-by: Wills Wang <wills.wang@live.com> Base directory -> / drivers/spi/ath79_spi.c | 12 ------------ 1 file changed, 12 deletions(-) ------------------------------------------------------------------------------- commit 8cf7a418bcff0492285d7dd2687bd42aaa377e5d Author: Tim Chick <tim.chick@mediatek.com> Date: 2016-03-31 12:51:20 +0100 mips: Report reloc information in bdinfo Signed-off-by: Tim Chick <tim.chick@mediatek.com> Base directory -> / cmd/bdinfo.c | 2 ++ 1 file changed, 2 insertions(+) ------------------------------------------------------------------------------- commit 5c990456999c5672b8e626f945b0e8e17162e02f Author: Purna Chandra Mandal <purna.mandal@microchip.com> Date: 2016-03-18 18:36:08 +0530 drivers: mtd: add Microchip PIC32 internal non-CFI flash driver. PIC32 internal flash devices are parallel NOR flash divided into number of banks to allow erase-programming in one while fetch and execution continues on other. As the flash banks are memory mapped stored code can be executed directly from flash (XIP), also there is additional hardware logic to prefetch and cache contents to improve execution performance. These flash can also be used to store user data (like environment). Flash erase and programming are handled by on-chip NVM controller. Driver implemented driver model but MTD is not really support. Signed-off-by: Purna Chandra Mandal <purna.mandal@microchip.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/mtd/Kconfig | 7 + drivers/mtd/Makefile | 1 + drivers/mtd/pic32_flash.c | 444 ++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 452 insertions(+) ------------------------------------------------------------------------------- commit 30fd42cba6e7d4147e2dd4e9dbe9728efbcd24fe Author: Purna Chandra Mandal <purna.mandal@microchip.com> Date: 2016-03-18 18:36:07 +0530 flash: add device ID for Microchip PIC32 internal flash. Microchip PIC32 has internal parallel flash (non-CFI compliant). These flash devices do not support any identifier command so no standard IDs. Added unique IDs to seperate these flash devices from others supported by U-Boot. Signed-off-by: Purna Chandra Mandal <purna.mandal@microchip.com> Base directory -> / include/flash.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit a2277cc30cdb40298aca80344f3764db6a0cfb8d Author: Wills Wang <wills.wang@live.com> Date: 2016-03-16 17:00:00 +0800 mips: ath79: add AP143 reference board This patch add board-level code and base DT for AP143. Signed-off-by: Wills Wang <wills.wang@live.com> [updated defconfig, enabled CONFIG_USE_PRIVATE_LIBGCC=y] Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> Base directory -> / arch/mips/dts/Makefile | 1 + arch/mips/dts/ap143.dts | 43 +++++++++++++++++++++ arch/mips/dts/qca953x.dtsi | 84 +++++++++++++++++++++++++++++++++++++++++ arch/mips/mach-ath79/Kconfig | 5 +++ board/qca/ap143/Kconfig | 12 ++++++ board/qca/ap143/MAINTAINERS | 6 +++ board/qca/ap143/Makefile | 5 +++ board/qca/ap143/ap143.c | 66 ++++++++++++++++++++++++++++++++ configs/ap143_defconfig | 47 +++++++++++++++++++++++ include/configs/ap143.h | 90 ++++++++++++++++++++++++++++++++++++++++++++ 10 files changed, 359 insertions(+) ------------------------------------------------------------------------------- commit 6a7b52bc8d30090633d098f9e988276beb7a53d5 Author: Wills Wang <wills.wang@live.com> Date: 2016-03-16 16:59:59 +0800 mips: ath79: add AP121 reference board This patch add board-level code and base DT for AP121. Signed-off-by: Wills Wang <wills.wang@live.com> [updated defconfig, enabled CONFIG_USE_PRIVATE_LIBGCC=y] Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> Base directory -> / arch/mips/dts/Makefile | 1 + arch/mips/dts/ap121.dts | 43 ++++++++++++++++++++++ arch/mips/dts/ar933x.dtsi | 82 ++++++++++++++++++++++++++++++++++++++++++ arch/mips/mach-ath79/Kconfig | 11 ++++++ board/qca/ap121/Kconfig | 12 +++++++ board/qca/ap121/MAINTAINERS | 6 ++++ board/qca/ap121/Makefile | 5 +++ board/qca/ap121/ap121.c | 50 ++++++++++++++++++++++++++ configs/ap121_defconfig | 47 ++++++++++++++++++++++++ include/configs/ap121.h | 86 ++++++++++++++++++++++++++++++++++++++++++++ 10 files changed, 343 insertions(+) ------------------------------------------------------------------------------- commit b85dc4607268ffc49af642ab702d44c8b5ef3719 Author: Wills Wang <wills.wang@live.com> Date: 2016-03-16 16:59:58 +0800 drivers: spi: add spi support for QCA/Atheros ath79 SOCs This patch add a compatible spi driver for ath79 series SOC. Signed-off-by: Wills Wang <wills.wang@live.com> Reviewed-by: Thomas Chou <thomas@wytron.com.tw> Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> Base directory -> / doc/device-tree-bindings/spi/spi-ath79.txt | 19 +++ drivers/spi/Kconfig | 9 ++ drivers/spi/Makefile | 1 + drivers/spi/ath79_spi.c | 240 +++++++++++++++++++++++++++++ 4 files changed, 269 insertions(+) ------------------------------------------------------------------------------- commit 60b49761e9d2f0d16ac5cef934504bc895ac3913 Author: Wills Wang <wills.wang@live.com> Date: 2016-03-16 16:59:57 +0800 drivers: serial: add serial driver for ar933x SOC This patch add support for ar933x serial. Signed-off-by: Wills Wang <wills.wang@live.com> Reviewed-by: Thomas Chou <thomas@wytron.com.tw> Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / .../serial/qca,ar9330-uart.txt | 24 ++ drivers/serial/Kconfig | 18 ++ drivers/serial/Makefile | 1 + drivers/serial/serial_ar933x.c | 255 +++++++++++++++++++++ 4 files changed, 298 insertions(+) ------------------------------------------------------------------------------- commit c102453aebe92530962de41539ce4f198d27b9c7 Author: Wills Wang <wills.wang@live.com> Date: 2016-03-16 16:59:56 +0800 drivers: pinctrl: Add simple pinctrl driver for Qualcomm/Atheros qca953x. This is a simple pinctrl driver, it just support uart and spi pin-mux now. Signed-off-by: Wills Wang <wills.wang@live.com> Reviewed-by: Simon Glass <sjg@chromium.org> [fixed typo in commit subject line] Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> Base directory -> / drivers/pinctrl/Kconfig | 9 ++ drivers/pinctrl/ath79/Makefile | 1 + drivers/pinctrl/ath79/pinctrl_qca953x.c | 156 ++++++++++++++++++++++++++++++++ 3 files changed, 166 insertions(+) ------------------------------------------------------------------------------- commit a79d0643f4cac19711cb8d1c2088fc907d47500f Author: Wills Wang <wills.wang@live.com> Date: 2016-03-16 16:59:55 +0800 drivers: pinctrl: Add simple pinctrl driver for Qualcomm/Atheros ar933x. This is a simple pinctrl driver, it just support uart and spi pin-mux now. Signed-off-by: Wills Wang <wills.wang@live.com> Reviewed-by: Simon Glass <sjg@chromium.org> [fixed typo in commit subject line] Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> Base directory -> / drivers/pinctrl/Kconfig | 9 +++ drivers/pinctrl/Makefile | 1 + drivers/pinctrl/ath79/Makefile | 5 ++ drivers/pinctrl/ath79/pinctrl_ar933x.c | 136 +++++++++++++++++++++++++++++++++ 4 files changed, 151 insertions(+) ------------------------------------------------------------------------------- commit 9b03f802ae63cf9c053c0125a1edd2b4c7852b9a Author: Wills Wang <wills.wang@live.com> Date: 2016-03-16 16:59:54 +0800 mips: ath79: add support for QCA953x SOCs This patch enable work for qca953x SOC. Signed-off-by: Wills Wang <wills.wang@live.com> Base directory -> / arch/mips/mach-ath79/Kconfig | 9 + arch/mips/mach-ath79/Makefile | 3 +- arch/mips/mach-ath79/qca953x/Makefile | 7 + arch/mips/mach-ath79/qca953x/clk.c | 111 +++++++ arch/mips/mach-ath79/qca953x/ddr.c | 472 +++++++++++++++++++++++++++ arch/mips/mach-ath79/qca953x/lowlevel_init.S | 186 +++++++++++ 6 files changed, 787 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit ee7bb5be35af71df46733b0b3f3e8c96b7b4066d Author: Wills Wang <wills.wang@live.com> Date: 2016-03-16 16:59:53 +0800 mips: ath79: add support for AR933x SOCs This patch enable work for ar933x SOC. Signed-off-by: Wills Wang <wills.wang@live.com> Base directory -> / arch/mips/mach-ath79/Kconfig | 9 + arch/mips/mach-ath79/Makefile | 2 + arch/mips/mach-ath79/ar933x/Makefile | 7 + arch/mips/mach-ath79/ar933x/clk.c | 89 ++++++++ arch/mips/mach-ath79/ar933x/ddr.c | 333 ++++++++++++++++++++++++++++ arch/mips/mach-ath79/ar933x/lowlevel_init.S | 280 +++++++++++++++++++++++ 6 files changed, 720 insertions(+) ------------------------------------------------------------------------------- commit 1d3d0f1f1cd8bac8ea0135c92a2bcd5020abfb1d Author: Wills Wang <wills.wang@live.com> Date: 2016-03-16 16:59:52 +0800 mips: add base support for QCA/Atheros ath79 SOCs This patch add some common code for QCA/Atheros ath79 SOCs such as DDR tuning, chip reset and CPU detection. Signed-off-by: Wills Wang <wills.wang@live.com> Base directory -> / arch/mips/Kconfig | 6 + arch/mips/Makefile | 1 + arch/mips/include/asm/global_data.h | 6 + arch/mips/mach-ath79/Kconfig | 7 + arch/mips/mach-ath79/Makefile | 7 + arch/mips/mach-ath79/cpu.c | 142 +++ arch/mips/mach-ath79/dram.c | 16 + arch/mips/mach-ath79/include/mach/ar71xx_regs.h | 1184 +++++++++++++++++++++++ arch/mips/mach-ath79/include/mach/ath79.h | 143 +++ arch/mips/mach-ath79/include/mach/ddr.h | 13 + arch/mips/mach-ath79/include/mach/reset.h | 14 + arch/mips/mach-ath79/reset.c | 71 ++ 12 files changed, 1610 insertions(+) ------------------------------------------------------------------------------- commit 4a48cfc4e57b4b247d94a614b2fbfcf03aa45ea1 Author: Stanislav Galabov <sgalabov@gmail.com> Date: 2016-02-17 15:23:33 +0200 Add support for 64-bit MIPS to examples/standalone Signed-off-by: Stanislav Galabov <sgalabov@gmail.com> Base directory -> / examples/standalone/stubs.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) ------------------------------------------------------------------------------- commit 78757d52c8b27f7f33ab4035706796a414c81128 Author: Stanislav Galabov <sgalabov@gmail.com> Date: 2016-02-17 15:23:31 +0200 Fix FreeBSD loader API so that it works on both 32-bit and 64-bit targets. Specifically tested on MIPS under QEMU (works with all combination of bit-ness and endian-ness) Signed-off-by: Stanislav Galabov <sgalabov@gmail.com> Base directory -> / api/api.c | 58 +++++++++++++++++++++++++-------------------------- examples/api/Makefile | 4 ++++ examples/api/crt0.S | 13 ++++++------ examples/api/glue.c | 18 ++++++++-------- 4 files changed, 49 insertions(+), 44 deletions(-) ------------------------------------------------------------------------------- commit 713a9e15bba4a5b6582d5e85fef2f282782cbed7 Author: Stanislav Galabov <sgalabov@gmail.com> Date: 2016-02-17 15:23:30 +0200 Use CONFIG_IDE_SWAP_IO when running on big-endian MIPS (32 or 64-bit) in QEMU so that IDE transfers work properly Signed-off-by: Stanislav Galabov <sgalabov@gmail.com> Base directory -> / include/configs/qemu-mips.h | 4 ++++ include/configs/qemu-mips64.h | 4 ++++ 2 files changed, 8 insertions(+) ------------------------------------------------------------------------------- commit d92ea983b9dfc99063373c167dae6b7705bc552b Author: Stanislav Galabov <sgalabov@gmail.com> Date: 2016-02-17 15:23:29 +0200 Properly calculate ATA_SECTORWORDS, using a fixed-size integer, so it works for both 32-bit and 64-bit targets Signed-off-by: Stanislav Galabov <sgalabov@gmail.com> Base directory -> / include/ata.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit c40f03723fba2f77bccd92dd87fcd48c37d13cdc Author: Nikita Kiryanov <nikita@compulab.co.il> Date: 2016-04-16 17:55:11 +0300 eeprom: refactor i2c bus and devaddr parsing Introduce parse_i2c_bus_addr() to generalize the parsing of i2c bus number and i2c device address. This is done in preparation for merging layout aware and layout unaware command parsing into one function. No functional changes. Cc: Heiko Schocher <hs@denx.de> Cc: Marek Vasut <marex@denx.de> Cc: Simon Glass <sjg@chromium.org> Cc: Igor Grinberg <grinberg@compulab.co.il> Cc: Tom Rini <trini@konsulko.com> Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il> Base directory -> / cmd/eeprom.c | 79 ++++++++++++++++++++++++++++++++++++++++-------------------- 1 file changed, 53 insertions(+), 26 deletions(-) ------------------------------------------------------------------------------- commit 2d9a76b614c33e660b5556b5f96bd5ee4810953e Author: Nikita Kiryanov <nikita@compulab.co.il> Date: 2016-04-16 17:55:10 +0300 arm: cm-t43: add support for eeprom layout comands Add support for EEPROM and EEPROM layout commands for CM-T43. Cc: Igor Grinberg <grinberg@compulab.co.il> Cc: Tom Rini <trini@konsulko.com> Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il> Base directory -> / include/configs/cm_t43.h | 11 +++++++++++ 1 file changed, 11 insertions(+) ------------------------------------------------------------------------------- commit bcb447e157edd50106a7995f7a4045a0b63914c7 Author: Nikita Kiryanov <nikita@compulab.co.il> Date: 2016-04-16 17:55:09 +0300 arm: cm-t35: add support for eeprom layout comands Add support for EEPROM and EEPROM layout commands for CM-T35. Cc: Igor Grinberg <grinberg@compulab.co.il> Cc: Tom Rini <trini@konsulko.com> Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il> Base directory -> / include/configs/cm_t35.h | 11 +++++++++++ 1 file changed, 11 insertions(+) ------------------------------------------------------------------------------- commit 19a90ed67390f230373b736d328f5ca482f0f779 Author: Nikita Kiryanov <nikita@compulab.co.il> Date: 2016-04-16 17:55:08 +0300 arm: cm-t3517: add support for eeprom layout comands Add support for EEPROM and EEPROM layout commands for CM-T3517. Cc: Igor Grinberg <grinberg@compulab.co.il> Cc: Tom Rini <trini@konsulko.com> Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il> Base directory -> / include/configs/cm_t3517.h | 11 +++++++++++ 1 file changed, 11 insertions(+) ------------------------------------------------------------------------------- commit 66b7e4201d90ed06ce10b7dff488c5e8932c38b2 Author: Nikita Kiryanov <nikita@compulab.co.il> Date: 2016-04-16 17:55:07 +0300 arm: cm-t54: add support for eeprom layout comands Add support for EEPROM and EEPROM layout commands for CM-T54. Cc: Igor Grinberg <grinberg@compulab.co.il> Cc: Tom Rini <trini@konsulko.com> Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il> Base directory -> / include/configs/cm_t54.h | 11 +++++++++++ 1 file changed, 11 insertions(+) ------------------------------------------------------------------------------- commit 0e656b825e76a9ac583c60c5110f9723d9a9f5d1 Author: Nikita Kiryanov <nikita@compulab.co.il> Date: 2016-04-16 17:55:06 +0300 arm: cm-t335: add support for eeprom layout comands Add support for EEPROM and EEPROM layout commands for CM-T335. Cc: Igor Grinberg <grinberg@compulab.co.il> Cc: Tom Rini <trini@konsulko.com> Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il> Base directory -> / include/configs/cm_t335.h | 11 +++++++++++ 1 file changed, 11 insertions(+) ------------------------------------------------------------------------------- commit 126165312524305d1a5f2fc535e526fb92a3f8e0 Author: Nikita Kiryanov <nikita@compulab.co.il> Date: 2016-04-16 17:55:05 +0300 arm: cm-fx6: add support for eeprom layout comands Add support for EEPROM and EEPROM layout commands for CM-FX6. Cc: Igor Grinberg <grinberg@compulab.co.il> Cc: Tom Rini <trini@konsulko.com> Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il> Base directory -> / include/configs/cm_fx6.h | 11 +++++++++++ 1 file changed, 11 insertions(+) ------------------------------------------------------------------------------- commit 8af5734b4e9322a9af8640ba1af48ebe14ebf6c3 Author: Nikita Kiryanov <nikita@compulab.co.il> Date: 2016-04-16 17:55:04 +0300 compulab: add support for layout aware eeprom commands Add layout definitions and implement functions for field printing/updating, layout detection, layout assignment, and layout parsing. Cc: Igor Grinberg <grinberg@compulab.co.il> Cc: Tom Rini <trini@konsulko.com> Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il> Base directory -> / board/compulab/common/eeprom.c | 344 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 344 insertions(+) ------------------------------------------------------------------------------- commit aa9e60441095ee3f20a109742e3ba5cdfd28458b Author: Nikita Kiryanov <nikita@compulab.co.il> Date: 2016-04-16 17:55:03 +0300 cmd: eeprom: add support for layout aware commands Introduce the (optional) eeprom print and eeprom update commands. These commands are eeprom layout aware: * The eeprom print command prints the contents of the eeprom in a human readable way (eeprom layout fields, and data formatted to be fit for human consumption). * The eeprom update command allows user to update eeprom fields by specifying the field name, and providing the new data in a human readable format (same format as displayed by the eeprom print command). * Both commands can either auto detect the layout, or be told which layout to use. New CONFIG options: CONFIG_CMD_EEPROM_LAYOUT - enables commands. CONFIG_EEPROM_LAYOUT_HELP_STRING - tells user what layout names are supported Feature API: __weak int parse_layout_version(char *str) - override to provide your own layout name parsing __weak void __eeprom_layout_assign(struct eeprom_layout *layout, int layout_version); - override to setup the layout metadata based on the version __weak int eeprom_layout_detect(unsigned char *data) - override to provide your own algorithm for detecting layout version eeprom_field.c - contains various printing and updating functions for common types of eeprom fields. Can be used for defining custom layouts. Cc: Heiko Schocher <hs@denx.de> Cc: Marek Vasut <marex@denx.de> Cc: Simon Glass <sjg@chromium.org> Cc: Igor Grinberg <grinberg@compulab.co.il> Cc: Tom Rini <trini@konsulko.com> Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il> Base directory -> / README | 1 + cmd/eeprom.c | 148 ++++++++++++++++++++++++- common/Makefile | 3 + common/eeprom/eeprom_field.c | 250 ++++++++++++++++++++++++++++++++++++++++++ common/eeprom/eeprom_layout.c | 125 +++++++++++++++++++++ include/eeprom_field.h | 39 +++++++ include/eeprom_layout.h | 33 ++++++ 7 files changed, 598 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 2636ac65a84f2bbab4b6a773384cfc630b9b6d7b Author: Nikita Kiryanov <nikita@compulab.co.il> Date: 2016-04-16 17:55:02 +0300 cmd: eeprom: add bus switching support for all i2c drivers The i2c_init function is always provided when CONFIG_SYS_I2C is defined. No need to limit ourselves to just one supported I2C driver (soft_i2c). Update the #ifdef conditions to support bus switching for all I2C drivers. Cc: Heiko Schocher <hs@denx.de> Cc: Marek Vasut <marex@denx.de> Cc: Igor Grinberg <grinberg@compulab.co.il> Cc: Tom Rini <trini@konsulko.com> Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il> Base directory -> / cmd/eeprom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit fbaf42724f372ee3fb0d7cd83107f5bae416028f Author: Stefan Roese <sr@denx.de> Date: 2016-04-13 11:02:20 +0200 arm: mvebu: theadorable: Enable CONFIG_ZERO_BOOTDELAY_CHECK Enable bootdelay 0 check so that booting can be interrupted even with bootdelay configured to 0. Signed-off-by: Stefan Roese <sr@denx.de> Base directory -> / include/configs/theadorable.h | 1 + 1 file changed, 1 insertion(+) ------------------------------------------------------------------------------- commit 29b59353fe7cd62c74960b76e7b56bbc368429d2 Author: Marek Vasut <marex@denx.de> Date: 2016-04-30 14:45:42 +0200 arm: mvebu: a38x: Weed out floating point use For reason unknown, recently, the DDR init code writers are really fond of hiding some small floating point operating deep in their creations. This patch removes one from the Marvell A38x code. Instead of returning size of chip as float from ddr3_get_device_size() in GiB units, return it as int in MiB units. Since this would interfere with the huge switch code in ddr3_calc_mem_cs_size(), rework the code to match the change. Before this patch, the cs_mem_size variable could have these values: ( { 16, 32 } x { 8, 16 } x { 0.01, 0.5, 1, 2, 4, 8 } ) / 8 = { 0.000000, 0.001250, 0.002500, 0.005000, 0.062500, 0.125000, 0.250000, 0.500000, 1.000000, 2.000000, 4.000000, } The switch code checked for a subset of the resulting RAM sizes, which is in range 128 MiB ... 2048 MiB. With this patch, the cs_mem_size variable can have these values: ( { 16, 32 } x { 8, 16 } x { 0, 512, 1024, 2048, 4096, 8192 } ) / 8 = { 0, 64, 128, 256, 512, 1024, 2048, 4096 } To retain previous behavior, filter out 0 MiB (invalid size), 64 MiB and 4096 MiB options. Removing the floating point stuff also saves 1.5k from text segment: clearfog : spl/u-boot-spl:all -1592 spl/u-boot-spl:text -1592 Signed-off-by: Marek Vasut <marex@denx.de> Cc: Dirk Eibach <dirk.eibach@gdsys.cc> Cc: Stefan Roese <sr@denx.de> Signed-off-by: Stefan Roese <sr@denx.de> Base directory -> / drivers/ddr/marvell/a38x/ddr3_init.c | 29 ++++++++++------------------- 1 file changed, 10 insertions(+), 19 deletions(-) ------------------------------------------------------------------------------- commit 46caebc1dff8f456b4f076bbebbb2ba32236d06d Author: York Sun <york.sun@nxp.com> Date: 2016-04-07 09:52:11 -0700 powerpc/t2080qds: Enable qixis commands to reboot from NAND and SD Signed-off-by: York Sun <york.sun@nxp.com> CC: Shengzhou Liu <Shengzhou.Liu@nxp.com> Base directory -> / include/configs/T208xQDS.h | 4 ++++ 1 file changed, 4 insertions(+) ------------------------------------------------------------------------------- commit 9272611e991d6be1c5f53f3ef8a580513ff65a39 Author: York Sun <york.sun@nxp.com> Date: 2016-04-07 09:53:28 -0700 powerpc/t208xrdb: Update MAINTAINERS file Signed-off-by: York Sun <york.sun@nxp.com> CC: Shengzhou Liu <Shengzhou.Liu@nxp.com> Base directory -> / board/freescale/t208xrdb/MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit a4d3074209f84038c488b3015d494ff1bb8bb7ee Author: York Sun <york.sun@nxp.com> Date: 2016-04-07 09:53:27 -0700 powerpc/t208xqds: Update MAINTAINERS file Signed-off-by: York Sun <york.sun@nxp.com> CC: Shengzhou Liu <Shengzhou.Liu@nxp.com> Base directory -> / board/freescale/t208xqds/MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit cb1629f91a487e34284868a2d246bc3b122c6395 Author: York Sun <york.sun@nxp.com> Date: 2016-04-07 09:56:48 -0700 powerpc: Disable flush or invalidate dcache by range for some SoCs Commit ac337168a unified functions to flush and invalidate dcache by range. These two functions were no-op for SoCs other than 4xx and MPC86xx. Adding these functions seemed to be correct but introduced issues when the dcache is flushed. While the root cause is under investigation, disable these functions for affected SoCs so various drivers can work. Signed-off-by: York Sun <york.sun@nxp.com> Base directory -> / arch/powerpc/lib/ppccache.S | 4 ++++ 1 file changed, 4 insertions(+) ------------------------------------------------------------------------------- commit bc323b3fa7cbf1008f02d342c0505231961b5fa6 Author: Po Liu <po.liu@nxp.com> Date: 2016-05-18 10:09:38 +0800 armv8: ls1043ardb: enable scsi command and pcie to sata converter Enable scsi command and pcie to sata chip 88SE9170. Signed-off-by: Po Liu <po.liu@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / include/configs/ls1043ardb.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) ------------------------------------------------------------------------------- commit 019a147b658631921a5d9d429a9097b33e142d78 Author: Shengzhou Liu <Shengzhou.Liu@nxp.com> Date: 2016-05-10 16:03:47 +0800 driver/ddr/fsl: Add workaround for erratum A-010165 During DDR-2133 operation, the transmit data eye margins determined during the memory controller initialization may be sub-optimal, set DEBUG_29[12] and DEBUG_29[13:16] = 4'b0100 before MEM_EN is set. Signed-off-by: Shengzhou Liu <Shengzhou.Liu@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / arch/arm/include/asm/arch-fsl-layerscape/config.h | 1 + drivers/ddr/fsl/fsl_ddr_gen4.c | 10 +++++++++- 2 files changed, 10 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 397b0d9e2971e6956399b7efd7737c962dd63c81 Author: Alison Wang <b18965@freescale.com> Date: 2016-05-04 12:45:55 +0800 arm: ls1021a: Enable CONFIG_OF_LIBFDT and CONFIG_FIT in defconfig In defconfig, enable CONFIG_OF_LIBFDT to support booting DT linux kernel and enable COFNIG_FIT to support FIT image. Signed-off-by: Alison Wang <alison.wang@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / configs/ls1021aqds_ddr4_nor_defconfig | 3 +++ configs/ls1021aqds_ddr4_nor_lpuart_defconfig | 3 +++ configs/ls1021aqds_nand_defconfig | 2 ++ configs/ls1021aqds_nor_SECURE_BOOT_defconfig | 2 ++ configs/ls1021aqds_nor_defconfig | 3 +++ configs/ls1021aqds_nor_lpuart_defconfig | 3 +++ configs/ls1021aqds_qspi_defconfig | 3 +++ configs/ls1021aqds_sdcard_ifc_defconfig | 3 +++ configs/ls1021aqds_sdcard_qspi_defconfig | 3 +++ configs/ls1021atwr_nor_SECURE_BOOT_defconfig | 2 ++ configs/ls1021atwr_nor_defconfig | 3 +++ configs/ls1021atwr_nor_lpuart_defconfig | 3 +++ configs/ls1021atwr_qspi_defconfig | 3 +++ configs/ls1021atwr_sdcard_ifc_defconfig | 2 ++ configs/ls1021atwr_sdcard_qspi_defconfig | 3 +++ 15 files changed, 41 insertions(+) ------------------------------------------------------------------------------- commit 7942550a146f3eaf00add0e13442946365cc9775 Author: Shaohui Xie <Shaohui.Xie@nxp.com> Date: 2016-04-29 22:07:21 +0800 armv8: ls1043ardb: invert irq pin polarity for AQR105 PHY To use AQR105 PHY's interrupt, we need to invert the IRQ pin polarity by setting relative bit in SCFG_INTPCR register, because AQR105 interrupt is low active but GIC accepts high active. Signed-off-by: Shaohui Xie <Shaohui.Xie@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / board/freescale/ls1043ardb/ls1043ardb.c | 4 ++++ include/configs/ls1043ardb.h | 1 + 2 files changed, 5 insertions(+) ------------------------------------------------------------------------------- commit 76394c9c9139b82e21a6e52da0e7341a3374f4be Author: Alex Porosanu <alexandru.porosanu@freescale.com> Date: 2016-04-29 15:18:00 +0300 crypto/fsl: add support for multiple SEC engines initialization For SoCs that contain multiple SEC engines, each of them needs to be initialized (by means of initializing among others the random number generator). Signed-off-by: Alex Porosanu <alexandru.porosanu@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / arch/powerpc/cpu/mpc85xx/cpu_init.c | 9 ++ drivers/crypto/fsl/jr.c | 271 +++++++++++++++++++++--------------- drivers/crypto/fsl/jr.h | 3 + include/fsl_sec.h | 6 +- 4 files changed, 172 insertions(+), 117 deletions(-) ------------------------------------------------------------------------------- commit 404bf4547ecb4c1409ae0936444fe02ba978e510 Author: Alex Porosanu <alexandru.porosanu@freescale.com> Date: 2016-04-29 15:17:59 +0300 arch/arm, arch/powerpc: add # of SEC engines on the SOC Some SOCs, specifically the ones in the C29x familiy can have multiple security engines. This patch adds a system configuration define which indicates the maximum number of SEC engines that can be found on a SoC. Signed-off-by: Alex Porosanu <alexandru.porosanu@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / arch/arm/include/asm/arch-fsl-layerscape/config.h | 2 ++ arch/arm/include/asm/arch-ls102xa/config.h | 1 + arch/powerpc/include/asm/config_mpc85xx.h | 6 ++++++ board/freescale/c29xpcie/c29xpcie.c | 2 +- 4 files changed, 10 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit e99d7193593cf6331ea04cd394a9a4cf18886ef0 Author: Alex Porosanu <alexandru.porosanu@freescale.com> Date: 2016-04-29 15:17:58 +0300 arch/arm: add SEC JR0 offset Freescale PPC SoCs do not hard-code security engine's Job Ring 0 address, rather a define is used. This patch adds the same functionality to the ARM based SoCs (i.e. LS1/LS2 and i.MX parts) Signed-off-by: Alex Porosanu <alexandru.porosanu@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / arch/arm/include/asm/arch-fsl-layerscape/immap_lsch2.h | 9 +++++++-- arch/arm/include/asm/arch-fsl-layerscape/immap_lsch3.h | 8 ++++++-- arch/arm/include/asm/arch-ls102xa/config.h | 1 + arch/arm/include/asm/arch-mx6/imx-regs.h | 9 +++++++-- arch/arm/include/asm/arch-mx7/imx-regs.h | 11 +++++++---- 5 files changed, 28 insertions(+), 10 deletions(-) ------------------------------------------------------------------------------- commit 56747bfdbd6f2c5bc391d0c9d5eb20a6a2d50505 Author: Qianyu Gong <qianyu.gong@nxp.com> Date: 2016-04-27 09:44:51 +0800 armv7: ls102xa: spl: fix the macro name of MMC mode MMCSD_MODE_FAT has been renamed to MMCSD_MODE_FS by commit 205b4f33. Signed-off-by: Gong Qianyu <Qianyu.Gong@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / arch/arm/cpu/armv7/ls102xa/spl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit f504227c9630edd7f05530b3f4dd99155ac58591 Author: Qianyu Gong <qianyu.gong@nxp.com> Date: 2016-04-27 09:45:23 +0800 armv8: fsl-layerscape: spl: fix the macro name of MMC mode MMCSD_MODE_FAT has be renmaed to MMCSD_MODE_FS by commit 205b4f33. Signed-off-by: Gong Qianyu <Qianyu.Gong@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / arch/arm/cpu/armv8/fsl-layerscape/spl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 1f49dc3e91c4d3a35fcddaf468bc1b615ced8a6b Author: Qianyu Gong <qianyu.gong@nxp.com> Date: 2016-04-27 09:43:11 +0800 armv8: fsl-layerscape: spl: remove duplicate init_early_memctl_regs() init_early_memctl_regs() is also be called in board_early_init_f(). So remove the duplicated call in spl code. Signed-off-by: Gong Qianyu <Qianyu.Gong@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / arch/arm/cpu/armv8/fsl-layerscape/spl.c | 3 --- 1 file changed, 3 deletions(-) ------------------------------------------------------------------------------- commit 9718650f8c37fe53727bde26ffc0ecba814008b5 Author: Qianyu Gong <qianyu.gong@nxp.com> Date: 2016-04-26 12:51:43 +0800 armv8: ls1043ardb: fix types of variables Using u16 for cfg_rcw_src and u8 for sd1refclk_sel is enough. Signed-off-by: Gong Qianyu <Qianyu.Gong@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / board/freescale/ls1043ardb/ls1043ardb.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) ------------------------------------------------------------------------------- commit ec93abe6f722e6e0103f96ee01bcd376e246f111 Author: Qianyu Gong <qianyu.gong@nxp.com> Date: 2016-04-26 12:51:42 +0800 armv8: ls1043a: remove redundant code in board files gd->env_addr will be initialized in env_init() in common/env_nowhere.c if CONFIG_ENV_IS_NOWHERE is defined. So no need to do it again. Signed-off-by: Gong Qianyu <Qianyu.Gong@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / board/freescale/ls1043aqds/ls1043aqds.c | 4 ---- board/freescale/ls1043ardb/ls1043ardb.c | 5 ----- 2 files changed, 9 deletions(-) ------------------------------------------------------------------------------- commit 1297cdb452fcdc6e7149c6761e43629f9c732010 Author: Qianyu Gong <qianyu.gong@nxp.com> Date: 2016-04-25 16:53:53 +0800 armv8: ls1043a: copy kernel from QSPI when booting with QSPI enabled IFC won't be initialized in U-Boot if QSPI is enabled on LS1043AQDS. So this patch could fix 'sync abort' caused by autoboot that tries to access IFC address. Signed-off-by: Gong Qianyu <Qianyu.Gong@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / include/configs/ls1043a_common.h | 5 +++++ 1 file changed, 5 insertions(+) ------------------------------------------------------------------------------- commit 869bf86811a7c942dc48b294d5c0442b1f57ab53 Author: Qianyu Gong <qianyu.gong@nxp.com> Date: 2016-04-25 16:38:35 +0800 armv8/ls1043ardb: fix the limitation of using 'cpld reset' The current 'cpld reset' will just write global_rst register but couldn't switch to NOR boot if the board's switches are for NAND/SD boot. So need to write rcw source registers for NOR boot as well. Signed-off-by: Gong Qianyu <Qianyu.Gong@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / board/freescale/ls1043ardb/cpld.c | 26 ++++++++++++++++++++++++-- board/freescale/ls1043ardb/cpld.h | 1 + 2 files changed, 25 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit 12cbf20d78f93c86e287d86ff863926e5cde9355 Author: Vincent Siles <vincent.siles@provenrun.com> Date: 2016-04-22 09:52:07 +0200 arm: uniform usage of u32 in ls102x caam config Mix usage of uint32_t and u32 fixed in favor of u32. Signed-off-by: Vincent Siles <vincent.siles@provenrun.com> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / board/freescale/common/ls102xa_stream_id.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 15b96ad8318d8670d3a776e72dbf8edaca74e4a7 Author: Vincent Siles <vincent.siles@provenrun.com> Date: 2016-04-22 09:52:06 +0200 arm: Fix SCFG ICID reg addresses On the LS102x boards, in order to initialize the ICID values of masters, the dev_stream_id array holds absolute offsets from the base of SCFG. In ls102xa_config_ssmu_stream_id, the base pointer is cast to uint32_t * before adding the offset, leading to an invalid address. Casting it to void * solves the issue. Signed-off-by: Vincent Siles <vincent.siles@provenrun.com> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / board/freescale/common/ls102xa_stream_id.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit acb8f5e914814ac6c697edb86701958da251a223 Author: Alison Wang <b18965@freescale.com> Date: 2016-04-22 10:37:25 +0800 armv8: fsl-layerscape: Remove unnecessary flushing dcache As the issue about the stack will get corrupted when switching between the early and final mmu tables is fixed by commit 70e21b064, the workaround to flush dcache is unnecessary and should be removed. Signed-off-by: Alison Wang <alison.wang@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / arch/arm/cpu/armv8/fsl-layerscape/cpu.c | 3 --- 1 file changed, 3 deletions(-) ------------------------------------------------------------------------------- commit 7ad9cc969b00cd5e238f4a194f0e974d74706b8e Author: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com> Date: 2016-04-19 08:53:42 +0530 armv8: ls2080a: update eth prime As per new PHY framework, DPNI naming convetion is no more used. Use new naming convention. Signed-off-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / include/configs/ls2080aqds.h | 2 +- include/configs/ls2080ardb.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit bcb55f67f22b297d6c10e039bfcef9847a20fbfb Author: Aneesh Bansal <aneesh.bansal@nxp.com> Date: 2016-04-06 22:25:51 +0530 armv8: ls2080: enable sec_init in U-Boot Define CONFIG_FSL_CAAM for LS2080 which would enable call to sec_init() during U-Boot. Signed-off-by: Aneesh Bansal <aneesh.bansal@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / include/configs/ls2080a_common.h | 8 ++++++++ 1 file changed, 8 insertions(+) ------------------------------------------------------------------------------- commit 87e566d77347173cc901e5c9cd325c5d83f65f7e Author: Yuan Yao <yao.yuan@nxp.com> Date: 2016-03-15 14:36:44 +0800 armv8/ls1043a: update the node for QSPI support The address value and size value set for QSPI dts node "reg" property have type of u64 on arm64. Signed-off-by: Yuan Yao <yao.yuan@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / arch/arm/dts/fsl-ls1043a.dtsi | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit 80c1bfd2332e71dfe669cac53ba06b7435a7ca39 Author: Yuan Yao <yao.yuan@nxp.com> Date: 2016-03-15 14:36:43 +0800 sf: Disable 4-KB erase command for SPANSION S25FS-S family The S25FS-S family physical sectors may be configured as a hybrid combination of eight 4-kB parameter sectors at the top or bottom of the address space with all but one of the remaining sectors being uniform size. The default status of the flash is in this hybrid architecture. The parameter sectors and the uniform sectors have different erase commands. This patch disable the hybrid sector architecture then the flash will has uniform sector size and uniform erase command. This configuration is temporary, the flash will revert to hybrid architecture after power on reset. Signed-off-by: Yuan Yao <yao.yuan@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / drivers/mtd/spi/spi_flash.c | 72 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) ------------------------------------------------------------------------------- commit febffe8dd1c7ba841890eec578b050bb6faa3273 Author: Yuan Yao <yao.yuan@nxp.com> Date: 2016-03-15 14:36:42 +0800 spi: fsl_qspi: Enable Spansion S25FS-S family flashes The flash type of LS2085AQDS QSPI is S25FS256S. It has special write any device register command and read any device register command. This patch enable support for those commands. Signed-off-by: Yuan Yao <yao.yuan@nxp.com> Signed-off-by: Prabhakar Kushwaha <prabhakar@freescale.com> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / drivers/mtd/spi/sf_internal.h | 5 ++++ drivers/spi/fsl_qspi.c | 58 ++++++++++++++++++++++++++++++++++++++----- 2 files changed, 57 insertions(+), 6 deletions(-) ------------------------------------------------------------------------------- commit 4e14741833607f49eaccdfd4add9cb39e103c2db Author: Yuan Yao <yao.yuan@nxp.com> Date: 2016-03-15 14:36:41 +0800 spi: fsl_qspi: Assign AMBA mem according CS num in dts QSPI controller automatic enable the chipselect signal according the dest AMBA memory address. Now we distribute the AMBA memory zone averagely to every chipselect slave device according chipselect numbers got from dts node. Signed-off-by: Yuan Yao <yao.yuan@nxp.com> Signed-off-by: Prabhakar Kushwaha <prabhakar@freescale.com> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / drivers/spi/fsl_qspi.c | 55 +++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 43 insertions(+), 12 deletions(-) ------------------------------------------------------------------------------- commit bf9bffa9784411ba743b127adc031bcb6e27735d Author: Yuan Yao <yao.yuan@nxp.com> Date: 2016-03-15 14:36:40 +0800 spi: fsl_qspi: Fix issues on arm64 The address value and size value get from dts "reg" property have type of u64 on arm64. If we assign those values to "u32" variables, driver can't work correctly. Converting the type of those variables to fdt_xxx_t. Signed-off-by: Yuan Yao <yao.yuan@nxp.com> Signed-off-by: Prabhakar Kushwaha <prabhakar@freescale.com> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / drivers/spi/fsl_qspi.c | 46 +++++++++++++++++++++++++++------------------- 1 file changed, 27 insertions(+), 19 deletions(-) ------------------------------------------------------------------------------- commit d15a244b059e361475302bccd471e65a48ee2b1f Author: Peng Fan <van.freenix@gmail.com> Date: 2016-05-03 11:13:04 +0800 imx: correct speed grading info for i.MX6UL Correct speed grading info for i.MX6UL Signed-off-by: Peng Fan <peng.fan@nxp.com> Cc: Stefano Babic <sbabic@denx.de> Base directory -> / arch/arm/cpu/armv7/mx6/soc.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) ------------------------------------------------------------------------------- commit 4b6e1fda107e5244e80ebc41865650ac2873dc88 Author: Tom Rini <trini@konsulko.com> Date: 2016-05-17 13:58:27 -0400 Merge git://git.denx.de/u-boot-dm Base directory -> / README | 4 +- api/api_storage.c | 2 +- arch/arm/dts/exynos4210-universal_c210.dts | 10 +- arch/arm/dts/tegra20-seaboard.dts | 4 - arch/arm/include/asm/arch-ls102xa/config.h | 2 +- arch/m68k/cpu/mcf5227x/start.S | 25 +- arch/m68k/cpu/mcf523x/start.S | 27 +- arch/m68k/cpu/mcf52x2/start.S | 26 +- arch/m68k/cpu/mcf530x/cpu_init.c | 2 +- arch/m68k/cpu/mcf530x/start.S | 25 +- arch/m68k/cpu/mcf532x/start.S | 27 +- arch/m68k/cpu/mcf5445x/start.S | 27 +- arch/m68k/cpu/mcf547x_8x/start.S | 25 +- arch/m68k/include/asm/config.h | 2 - arch/sandbox/include/asm/io.h | 15 + arch/x86/Kconfig | 3 + arch/x86/cpu/broadwell/sata.c | 2 +- arch/x86/cpu/intel_common/cpu.c | 2 +- arch/x86/cpu/ivybridge/bd82x6x.c | 2 +- arch/x86/cpu/ivybridge/sata.c | 2 +- board/cm5200/fwupdate.c | 2 +- board/mpl/pip405/README | 6 +- board/sandbox/MAINTAINERS | 7 + cmd/Makefile | 8 +- cmd/disk.c | 2 +- cmd/ide.c | 1352 +--------------------------- cmd/mmc.c | 18 +- cmd/sata.c | 142 +-- cmd/scsi.c | 753 ++-------------- cmd/usb.c | 16 +- common/Makefile | 6 + common/board_r.c | 4 +- common/env_mmc.c | 6 +- common/ide.c | 1231 +++++++++++++++++++++++++ common/sata.c | 115 +++ common/scsi.c | 592 ++++++++++++ common/spl/spl_mmc.c | 2 +- common/spl/spl_sata.c | 2 +- common/spl/spl_usb.c | 2 +- common/usb_storage.c | 37 +- configs/sandbox_defconfig | 2 + configs/sandbox_noblk_defconfig | 168 ++++ disk/part.c | 83 +- drivers/Makefile | 2 + drivers/block/Kconfig | 5 +- drivers/block/Makefile | 8 +- drivers/block/ahci-uclass.c | 14 + drivers/block/blk-uclass.c | 361 ++++++++ drivers/block/blk_legacy.c | 261 ++++++ drivers/block/disk-uclass.c | 14 - drivers/block/sandbox.c | 103 ++- drivers/block/sandbox_scsi.c | 29 + drivers/block/sata_sandbox.c | 33 + drivers/block/sym53c8xx.c | 2 +- drivers/block/systemace.c | 110 ++- drivers/core/device-remove.c | 2 + drivers/core/device.c | 10 +- drivers/core/lists.c | 4 + drivers/dfu/dfu_mmc.c | 13 +- drivers/gpio/74x164_gpio.c | 193 ++++ drivers/gpio/Kconfig | 30 + drivers/gpio/Makefile | 3 + drivers/gpio/gpio-uclass.c | 30 +- drivers/gpio/intel_broadwell_gpio.c | 10 - drivers/gpio/omap_gpio.c | 11 - drivers/gpio/pca953x_gpio.c | 351 ++++++++ drivers/gpio/pic32_gpio.c | 10 - drivers/gpio/rk_gpio.c | 11 - drivers/gpio/s5p_gpio.c | 11 - drivers/mmc/Kconfig | 11 +- drivers/mmc/Makefile | 12 +- drivers/mmc/mmc-uclass.c | 106 +++ drivers/mmc/mmc.c | 311 ++++--- drivers/mmc/mmc_legacy.c | 108 +++ drivers/mmc/mmc_private.h | 33 +- drivers/mmc/mmc_write.c | 18 +- drivers/mmc/omap_hsmmc.c | 1 + drivers/mmc/pic32_sdhci.c | 7 +- drivers/mmc/rockchip_dw_mmc.c | 1 + drivers/mmc/sandbox_mmc.c | 134 ++- drivers/mmc/socfpga_dw_mmc.c | 1 + drivers/mmc/uniphier-sd.c | 1 + drivers/mmc/zynq_sdhci.c | 1 + drivers/pci/pci.c | 4 - drivers/serial/mcfuart.c | 188 +++- drivers/spi/soft_spi.c | 55 +- drivers/spi/spi-uclass.c | 28 +- drivers/usb/common/Makefile | 1 + drivers/usb/common/common.c | 40 + drivers/video/tegra.c | 7 + fs/fat/fat.c | 2 +- include/asm-generic/gpio.h | 19 +- include/blk.h | 263 +++++- include/config_cmd_all.h | 2 +- include/config_distro_bootcmd.h | 6 +- include/config_fallbacks.h | 2 +- include/configs/MPC8544DS.h | 2 +- include/configs/MPC8572DS.h | 2 +- include/configs/MPC8610HPCD.h | 2 +- include/configs/MPC8641HPCN.h | 4 +- include/configs/PIP405.h | 2 +- include/configs/am57xx_evm.h | 2 +- include/configs/cm_t54.h | 2 +- include/configs/db-88f6820-gp.h | 2 +- include/configs/dra7xx_evm.h | 2 +- include/configs/efi-x86.h | 2 +- include/configs/galileo.h | 2 +- include/configs/highbank.h | 2 +- include/configs/ls1043aqds.h | 2 +- include/configs/ls2080aqds.h | 2 +- include/configs/ls2080ardb.h | 2 +- include/configs/omap5_uevm.h | 2 +- include/configs/qemu-x86.h | 2 +- include/configs/sandbox.h | 25 + include/configs/sbc8641d.h | 2 - include/configs/sunxi-common.h | 2 +- include/configs/x86-common.h | 2 +- include/configs/xilinx_zynqmp.h | 2 +- include/dm/device.h | 16 + include/dm/platform_data/serial_coldfire.h | 23 + include/dm/uclass-id.h | 2 +- include/ide.h | 8 + include/iotrace.h | 5 +- include/linux/usb/otg.h | 9 + include/mmc.h | 38 +- include/part.h | 33 - include/spi.h | 52 ++ include/systemace.h | 17 - include/usb.h | 1 - lib/efi_loader/efi_disk.c | 27 +- test/dm/blk.c | 4 +- test/dm/mmc.c | 19 + tools/buildman/README | 42 + tools/buildman/builder.py | 10 +- tools/buildman/builderthread.py | 24 +- tools/buildman/cmdline.py | 4 + tools/buildman/control.py | 4 +- 137 files changed, 5430 insertions(+), 2760 deletions(-) ------------------------------------------------------------------------------- commit f13c99c2a265d0586702523fab56a3562de31f86 Author: Alex Porosanu <alexandru.porosanu@nxp.com> Date: 2016-04-11 10:42:50 +0300 armv8/fdt: add fixup_crypto_node For Qoriq PPC&ARM v7 platforms, the crypto node is being fixup'ed in order to update the SEC internal version (aka SEC ERA). This patch adds the same functionality to the ARMv8 SoCs. Signed-off-by: Alex Porosanu <alexandru.porosanu@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / arch/arm/cpu/armv8/fsl-layerscape/fdt.c | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) ------------------------------------------------------------------------------- commit 6f3819fe30763bd0d0515997eb4d4fece06abb56 Author: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com> Date: 2016-04-10 20:26:22 +0530 armv8: ls2080a: Update MAINTAINERS file Update MAINTAINERS file for ls2080aqds and ls2080ardb platforms. Signed-off-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / board/freescale/ls2080aqds/MAINTAINERS | 2 +- board/freescale/ls2080ardb/MAINTAINERS | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit aa7a2226b5a7829915d189d727ee9320dc3a198b Author: Shengzhou Liu <Shengzhou.Liu@nxp.com> Date: 2016-04-07 14:41:30 +0800 armv8/ls2080ardb: Update DDR timing to support more UDIMMs Optimize DDR timing for good margins to support new Transcend and Apacer DDR4 UDIMM besides current Micron UDIMM. Verified 1333MT/s, 1600MT/s, 1866MT/s, 2133MT/s rate with following UDIMM on LS2080ARDB. - Micron UDIMM: MTA18ASF1G72AZ-2G1A1Z - Apacer UDIMM: 78.C1GM4.AF10B - Transcend UDIMM: TS1GLH72V1H Signed-off-by: Shengzhou Liu <Shengzhou.Liu@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / board/freescale/ls2080ardb/ddr.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) ------------------------------------------------------------------------------- commit 5fc62fe57097e195a8047859cd3c278a5d6790b6 Author: Shengzhou Liu <Shengzhou.Liu@nxp.com> Date: 2016-03-16 13:50:23 +0800 driver/ddr/fsl: Add workaround for erratum A-009801 The initial training for the DDRC may provide results that are not optimized. The workaround provides better read timing margins. Signed-off-by: Shengzhou Liu <Shengzhou.Liu@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / arch/arm/include/asm/arch-fsl-layerscape/config.h | 1 + drivers/ddr/fsl/fsl_ddr_gen4.c | 7 +++++++ include/fsl_ddr_sdram.h | 4 ++++ 3 files changed, 12 insertions(+) ------------------------------------------------------------------------------- commit 4a68489e12313a7fa8740463dee0eea2985eb563 Author: Shengzhou Liu <Shengzhou.Liu@nxp.com> Date: 2016-03-16 13:50:22 +0800 drivers/ddr/fsl: update workaround for erratum A-008511 Per the latest erratum document, update step 4 and step 8, only DEBUG_29[21] is changed, all other bits should not be changed. Signed-off-by: Shengzhou Liu <Shengzhou.Liu@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / drivers/ddr/fsl/fsl_ddr_gen4.c | 10 +++++++--- include/fsl_ddr_sdram.h | 3 +++ 2 files changed, 10 insertions(+), 3 deletions(-) ------------------------------------------------------------------------------- commit 074596c0b5f4e9a3642a3159a9fc7f8b8064c18a Author: Shengzhou Liu <Shengzhou.Liu@nxp.com> Date: 2016-04-07 16:22:21 +0800 armv8/ls1043: Add workaround for DDR erratum A-008850 Barrier transactions from CCI400 need to be disabled till the DDR is configured, otherwise it may lead to system hang. The patch adds workaround to fix the erratum. Signed-off-by: Shengzhou Liu <Shengzhou.Liu@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com> Base directory -> / arch/arm/cpu/armv8/fsl-layerscape/soc.c | 36 +++++++++++++++++++++++ arch/arm/include/asm/arch-fsl-layerscape/config.h | 1 + board/freescale/ls1043aqds/ddr.c | 1 + board/freescale/ls1043aqds/ddr.h | 2 ++ board/freescale/ls1043aqds/ls1043aqds.c | 8 ----- board/freescale/ls1043ardb/ddr.c | 2 ++ board/freescale/ls1043ardb/ddr.h | 3 ++ board/freescale/ls1043ardb/ls1043ardb.c | 8 ----- include/fsl_ddr_sdram.h | 4 +++ 9 files changed, 49 insertions(+), 16 deletions(-) ------------------------------------------------------------------------------- commit 27bec5c12757c80f598b704477c1bc6c250bcb4c Author: Tom Rini <trini@konsulko.com> Date: 2016-05-17 12:10:35 -0400 Merge branch 'master' of git://www.denx.de/git/u-boot-imx Base directory -> / README | 4 ++++ arch/arm/cpu/armv7/mx7/clock_slice.c | 2 +- arch/arm/imx-common/cpu.c | 2 +- arch/arm/include/asm/arch-mx6/mx6sl_pins.h | 1 + arch/arm/include/asm/arch-mx7/mx7d_pins.h | 8 ++++---- common/spl/spl.c | 6 +++++- common/spl/spl_ext.c | 6 +++++- common/spl/spl_fat.c | 4 +++- common/spl/spl_mmc.c | 6 +++++- common/spl/spl_nand.c | 9 +++++++-- common/spl/spl_net.c | 4 +--- common/spl/spl_nor.c | 9 +++++++-- common/spl/spl_onenand.c | 5 ++++- common/spl/spl_ymodem.c | 7 +++++-- drivers/mtd/spi/spi_spl_load.c | 10 ++++++++-- drivers/video/ipu_common.c | 4 +++- include/configs/imx6_spl.h | 4 ++++ include/configs/novena.h | 2 +- include/configs/tqma6.h | 1 - include/spl.h | 2 +- tools/imximage.c | 2 +- 21 files changed, 71 insertions(+), 27 deletions(-) ------------------------------------------------------------------------------- commit 341392dd115f1385c31bb0b034ec15f542730e30 Author: Simon Glass <sjg@chromium.org> Date: 2016-05-01 13:52:44 -0600 dm: mmc: test: Add tests for MMC Add a simple test which checks that a sandbox-emulated SD card can be used correctly. This tests plumbing through the MMC stack's block-device implementaion. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / test/dm/Makefile | 4 +--- test/dm/mmc.c | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+), 3 deletions(-) ------------------------------------------------------------------------------- commit afa2c3122db1ef5243e717b84d698353da412d92 Author: Simon Glass <sjg@chromium.org> Date: 2016-05-01 13:52:43 -0600 dm: sandbox: mmc: Enable building MMC code for sandbox Enable building the MMC code for sandbox. This increases build coverage for sandbox. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / configs/sandbox_defconfig | 2 ++ include/configs/sandbox.h | 2 ++ test/dm/blk.c | 4 ++-- 3 files changed, 6 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit f376a3cbbf34d3114d92789540ba2d2e9e904758 Author: Simon Glass <sjg@chromium.org> Date: 2016-05-01 13:52:42 -0600 dm: mmc: sandbox: Add an SD-card emulation Add an emulation of an SD card to sandbox, allowing MMC to be used in tests. The emulation is very simple, supporting only card detection and reading test data. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/mmc/Kconfig | 11 +++- drivers/mmc/sandbox_mmc.c | 134 +++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 143 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit 33fb211dd2706e666db4008801dc0d5903fd82f6 Author: Simon Glass <sjg@chromium.org> Date: 2016-05-01 13:52:41 -0600 dm: mmc: Add support for driver-model block devices Add support for enabling CONFIG_BLK with MMC. This involves changing a few functions to use struct udevice and adding a MMC block device driver. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/mmc/mmc.c | 48 +++++++++++++++++++++++++++++++++++++---------- drivers/mmc/mmc_private.h | 9 +++++++-- drivers/mmc/mmc_write.c | 9 +++++++++ include/mmc.h | 4 ++++ include/part.h | 18 ------------------ 5 files changed, 58 insertions(+), 30 deletions(-) ------------------------------------------------------------------------------- commit ad27dd5e13436b554f0f3cb9cd3e79634494072d Author: Simon Glass <sjg@chromium.org> Date: 2016-05-01 13:52:40 -0600 dm: mmc: Add a way to bind MMC devices with driver model Binding an MMC device when CONFIG_BLK is enabled requires that a block device be bound as a child of the MMC device. Add a function to do this. The mmc_create() method will be used only when DM_BLK is disabled. Add an unbind method also. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/mmc/mmc.c | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ include/mmc.h | 22 ++++++++++++++++++++++ 2 files changed, 70 insertions(+) ------------------------------------------------------------------------------- commit 8ef761ed4cda2d078b3d8b098d105472cbad8fb5 Author: Simon Glass <sjg@chromium.org> Date: 2016-05-01 13:52:39 -0600 dm: mmc: Implement the MMC functions for block devices Implement the functions in mmc_legacy.c for driver-model block devices, so that MMC can use driver model for these. This allows CONFIG_BLK to be enabled with DM_MMC. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/mmc/Makefile | 4 +- drivers/mmc/mmc-uclass.c | 106 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 109 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit f8b7752e8f42c6f0bb8725f2488e398c849a7bf4 Author: Simon Glass <sjg@chromium.org> Date: 2016-05-01 13:52:38 -0600 dm: sandbox: Only enable the sandbox MMC driver when valid This driver will require generic MMC and block-device support in a future commit. To avoid test errors, make this change now. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/mmc/Makefile | 4 ++++ test/dm/Makefile | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit fdbb139f0ce10325b44dd3ec76993f8c8e798395 Author: Simon Glass <sjg@chromium.org> Date: 2016-05-01 13:52:37 -0600 dm: mmc: Adjust mmc_switch_part() to use a struct mmc Instead of looking up the MMC device by number, just pass it in. This makes it possible to use this function with driver model. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/mmc/mmc.c | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) ------------------------------------------------------------------------------- commit 1598dfcb101c2c3aaac68a4ac8fc9bdef2293eaa Author: Simon Glass <sjg@chromium.org> Date: 2016-05-01 13:52:36 -0600 dm: blk: Use the correct error code for blk_get_device_by_str() Return -EINVAL instead of -1 in this function, to provide a more meaningful error. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / disk/part.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) ------------------------------------------------------------------------------- commit c40fdca6b7db469d3982cc44fd68a269adb41b25 Author: Simon Glass <sjg@chromium.org> Date: 2016-05-01 13:52:35 -0600 dm: mmc: Move the device list into a separate file At present the MMC subsystem maintains its own list of MMC devices. This cannot work with driver model, which needs to maintain this itself. Move the list code into a separate 'legacy' file. The core MMC code remains, and will be shared with the driver-model implementation. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / cmd/mmc.c | 8 +-- drivers/mmc/Makefile | 4 ++ drivers/mmc/mmc.c | 149 +++++++++++----------------------------------- drivers/mmc/mmc_legacy.c | 108 +++++++++++++++++++++++++++++++++ drivers/mmc/mmc_private.h | 24 ++++++++ drivers/mmc/mmc_write.c | 4 +- 6 files changed, 176 insertions(+), 121 deletions(-) ------------------------------------------------------------------------------- commit cffe5d86cfe853ae9271d37522f8bc5795cc4c69 Author: Simon Glass <sjg@chromium.org> Date: 2016-05-01 13:52:34 -0600 dm: mmc: Set up the device pointer when using the MMC uclass Update the existing drivers to set up this new pointer. This will be required by the MMC uclass. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/mmc/omap_hsmmc.c | 1 + drivers/mmc/pic32_sdhci.c | 7 ++++++- drivers/mmc/rockchip_dw_mmc.c | 1 + drivers/mmc/socfpga_dw_mmc.c | 1 + drivers/mmc/uniphier-sd.c | 1 + drivers/mmc/zynq_sdhci.c | 1 + include/mmc.h | 3 +++ 7 files changed, 14 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit b6694a33c45530e4c260c7fd6c77cc8472c9412f Author: Simon Glass <sjg@chromium.org> Date: 2016-05-01 13:52:33 -0600 dm: blk: Add a comment as to why the bdev member is needed This member should be explained, since it is not obvious why it is needed. Add a comment. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / include/blk.h | 5 +++++ 1 file changed, 5 insertions(+) ------------------------------------------------------------------------------- commit 6dd9faf8f97e1aad9961a480775612f6cbde27de Author: Simon Glass <sjg@chromium.org> Date: 2016-05-01 13:52:32 -0600 dm: part: Drop the block_drvr table This is not needed since we can use the functions provided by the legacy block device support. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / disk/part.c | 67 ++++++++++------------------------------------- lib/efi_loader/efi_disk.c | 27 +++++++++++-------- 2 files changed, 30 insertions(+), 64 deletions(-) ------------------------------------------------------------------------------- commit 1fde473da7a5de1e6ad1c72d1b84763642bb1a9f Author: Simon Glass <sjg@chromium.org> Date: 2016-05-01 13:52:31 -0600 dm: part: Use the legacy block driver for hardware partition support Drop use of the table in part.c for this feature. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / disk/part.c | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) ------------------------------------------------------------------------------- commit cd0fb55b640b2991c1d29122d252a360037ed903 Author: Simon Glass <sjg@chromium.org> Date: 2016-05-01 13:52:30 -0600 dm: blk: Add functions to select a hardware partition The block device uclass does not currently support selecting a particular hardware partition but this is needed for MMC. Add it so that the blk API can support MMC properly. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/block/blk-uclass.c | 29 +++++++++++++++++++++++++++++ include/blk.h | 30 ++++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+) ------------------------------------------------------------------------------- commit 69f45cd53b8ad8bc3afef2cf2410baf58fe75a6f Author: Simon Glass <sjg@chromium.org> Date: 2016-05-01 13:52:29 -0600 dm: mmc: Use the new select_hwpart() API Avoid calling directly into the MMC code - use the new API call instead. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / cmd/mmc.c | 8 +++++--- common/env_mmc.c | 6 +++--- common/spl/spl_mmc.c | 2 +- drivers/dfu/dfu_mmc.c | 13 +++++++++---- drivers/mmc/mmc.c | 2 +- drivers/mmc/mmc_write.c | 5 +++-- include/mmc.h | 1 - 7 files changed, 22 insertions(+), 15 deletions(-) ------------------------------------------------------------------------------- commit 0776167ec5541a2b4fa099dfea5a1aad2d4b7c72 Author: Simon Glass <sjg@chromium.org> Date: 2016-05-01 13:52:28 -0600 dm: mmc: spl: Use the legacy block interface in SPL Bring this in for SPL so that we can use generic code for loading from block devices. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/Makefile | 1 + 1 file changed, 1 insertion(+) ------------------------------------------------------------------------------- commit cb5ec33d9096f1f57c5ccc97d44ca0fb771729f5 Author: Simon Glass <sjg@chromium.org> Date: 2016-05-01 13:52:27 -0600 dm: mmc: Add a function to obtain the block device The MMC block device is contained within struct mmc. But with driver model this will not be the case. Add a function to obtain the block device. We can later implement this for CONFIG_BLK. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/mmc/mmc.c | 5 +++++ include/mmc.h | 8 ++++++++ 2 files changed, 13 insertions(+) ------------------------------------------------------------------------------- commit e17d1143c1a3f6f9bb1b21acb50e5e6a79855023 Author: Simon Glass <sjg@chromium.org> Date: 2016-05-01 13:52:26 -0600 dm: mmc: Implement the select_hwpart() method Implement this method so that hardware partitions will work correctly with MMC. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/mmc/mmc.c | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) ------------------------------------------------------------------------------- commit ff3882ac23fcfda81284f372924063036bea507b Author: Simon Glass <sjg@chromium.org> Date: 2016-05-01 13:52:25 -0600 dm: mmc: Move mmc_switch_part() above its callers This function is defined after it is used. In preparation for making it static, move it up a little. Also drop the printf() which should not appear in a driver. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/mmc/mmc.c | 45 +++++++++++++++++++++------------------------ 1 file changed, 21 insertions(+), 24 deletions(-) ------------------------------------------------------------------------------- commit d0773524e18d2439390c88611b49f23ca46a82be Author: Simon Glass <sjg@chromium.org> Date: 2016-05-01 13:52:24 -0600 dm: blk: Free the block device name when unbound Mark the device name as allocated so that it will be freed correctly when the device is unbound. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/block/blk-uclass.c | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit a2040facd23b88082b9b40f0aa9bcfd495eab88e Author: Simon Glass <sjg@chromium.org> Date: 2016-05-01 13:52:23 -0600 dm: core: Allow device names to be freed automatically Some devices have a name that is stored in allocated memory. At present there is no mechanism to free this memory when the device is unbound. Add a device flag to track whether a name is allocated and a function to add the flag. Free the memory when the device is unbound. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/core/device-remove.c | 2 ++ drivers/core/device.c | 6 ++++++ include/dm/device.h | 16 ++++++++++++++++ 3 files changed, 24 insertions(+) ------------------------------------------------------------------------------- commit 72a85c0d2dfe965c831670f06d3803aaad7bb5b1 Author: Simon Glass <sjg@chromium.org> Date: 2016-05-01 13:52:22 -0600 dm: blk: Fix allocation of block-device numbering Due to code ordering the block devices are not numbered sequentially. Fix this. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/block/blk-uclass.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) ------------------------------------------------------------------------------- commit cd995a8aa0127128132bb50f485c53bfb9593312 Author: Simon Glass <sjg@chromium.org> Date: 2016-05-01 11:36:32 -0600 dm: sandbox: Enable systemace Enable building the systemace code for sandbox. This increases build coverage for sandbox. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / include/configs/sandbox.h | 4 ++++ 1 file changed, 4 insertions(+) ------------------------------------------------------------------------------- commit 4560ee470f021cfc3f6be37890c1391731c26f38 Author: Simon Glass <sjg@chromium.org> Date: 2016-05-01 11:36:31 -0600 dm: systemace: Add driver-mode block-device support Add support for CONFIG_BLK to the systemace driver. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/block/systemace.c | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) ------------------------------------------------------------------------------- commit a0ff24c4672654fa6d13498e3a3367935bdc7334 Author: Simon Glass <sjg@chromium.org> Date: 2016-05-01 11:36:30 -0600 dm: systemace: Reorder function to avoid forward declarataions Move the systemace_get_dev() function below systemace_read() so that we can avoid a forward declaration. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/block/systemace.c | 57 +++++++++++++++++++++-------------------------- 1 file changed, 26 insertions(+), 31 deletions(-) ------------------------------------------------------------------------------- commit 9107c973d32c72a6f7ac909fc4a6884a42e4e607 Author: Simon Glass <sjg@chromium.org> Date: 2016-05-01 11:36:29 -0600 dm: blk: Add a easier way to create a named block device Add a function that automatically builds the device name given the parent and a supplied string. Most callers will want to do this, so putting this functionality in one place makes more sense. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / common/usb_storage.c | 13 +++++-------- drivers/block/blk-uclass.c | 15 +++++++++++++++ include/blk.h | 17 +++++++++++++++++ 3 files changed, 37 insertions(+), 8 deletions(-) ------------------------------------------------------------------------------- commit 52138fd4072b64448855eac4c2c9815b46f5b43c Author: Simon Glass <sjg@chromium.org> Date: 2016-05-01 11:36:28 -0600 dm: blk: Allow blk_create_device() to allocate the device number Allow a devnum parameter of -1 to indicate that the device number should be alocated automatically. The next highest available device number for that interface type is used. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/block/blk-uclass.c | 29 +++++++++++++++++++++++++++++ include/blk.h | 15 ++++++++++++++- 2 files changed, 43 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 199a1201ab901413a80c64a9eee72f82977ba8d3 Author: Simon Glass <sjg@chromium.org> Date: 2016-05-01 11:36:27 -0600 dm: sandbox: Enable SATA Enable building the SATA code for sandbox. This increases build coverage for sandbox. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / include/configs/sandbox.h | 3 +++ 1 file changed, 3 insertions(+) ------------------------------------------------------------------------------- commit f5a14af9c42be077404dbbeaebbb629f7ddcbed6 Author: Simon Glass <sjg@chromium.org> Date: 2016-05-01 11:36:26 -0600 dm: sata: Add support for driver-model block devices Add driver-model block-device support to the SATA implementation. This is just a dummy implementation for now, since the SATA low-level API uses numbered devices and that doesn't fit with driver model. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / common/sata.c | 31 ++++++++++++++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit e8c0a2509c6ec62a5c58a39c338cc1127bc83e1a Author: Simon Glass <sjg@chromium.org> Date: 2016-05-01 11:36:25 -0600 dm: sandbox: Enable SCSI Enable building the SCSI code for sandbox. This increases build coverage for sandbox. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / include/configs/sandbox.h | 6 ++++++ 1 file changed, 6 insertions(+) ------------------------------------------------------------------------------- commit 535556b2aa64966970ff75a8307549506a1a168a Author: Simon Glass <sjg@chromium.org> Date: 2016-05-01 11:36:24 -0600 dm: scsi: Add support for driver-model block devices Add driver-model block-device support to the SCSI implementation. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / common/scsi.c | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) ------------------------------------------------------------------------------- commit 74c6dc14447e8386dd0799611d316eae5aad1e10 Author: Simon Glass <sjg@chromium.org> Date: 2016-05-01 11:36:23 -0600 dm: sandbox: Enable IDE Enable building the IDE code for sandbox. This is for build coverage only. It does not currently work. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / include/configs/sandbox.h | 10 ++++++++++ 1 file changed, 10 insertions(+) ------------------------------------------------------------------------------- commit 145df842b443a2f2323a11f6e61223e3767dc55c Author: Simon Glass <sjg@chromium.org> Date: 2016-05-01 11:36:22 -0600 dm: ide: Add support for driver-model block devices Add driver-model block-device support to the IDE implementation. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / common/ide.c | 32 ++++++++++++++++++++++++++++++++ include/ide.h | 8 ++++++++ 2 files changed, 40 insertions(+) ------------------------------------------------------------------------------- commit 38bd29beaaf51f92d986ef63e5539f0bd0d371d8 Author: Simon Glass <sjg@chromium.org> Date: 2016-05-01 11:36:21 -0600 dm: part: Drop the get_dev() method This is now handled by the legacy block driver. The get_dev() method is no-longer used. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / include/part.h | 1 - 1 file changed, 1 deletion(-) ------------------------------------------------------------------------------- commit f1d86fd3b15c2af53964d948c72c9a0a63511927 Author: Simon Glass <sjg@chromium.org> Date: 2016-05-01 11:36:20 -0600 dm: sandbox: Drop the host_get_dev() function This function is implemented by the legacy block functions now. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / disk/part.c | 2 +- drivers/block/sandbox.c | 10 ---------- include/part.h | 2 -- 3 files changed, 1 insertion(+), 13 deletions(-) ------------------------------------------------------------------------------- commit ae9ffccdac12b21ad55401d8554b5d835c9c8f22 Author: Simon Glass <sjg@chromium.org> Date: 2016-05-01 11:36:19 -0600 dm: blk: Drop the systemace.h header This has nothing of consequence. Remove it and its only inclusion site. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/block/systemace.c | 1 - include/systemace.h | 10 ---------- 2 files changed, 11 deletions(-) ------------------------------------------------------------------------------- commit f6d000edbeaddfe8e5b5e3be9fd3f6c76fdff6d2 Author: Simon Glass <sjg@chromium.org> Date: 2016-05-01 11:36:18 -0600 dm: systemace: Drop the get_dev() function This function is implemented by the legacy block functions now. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / disk/part.c | 2 +- drivers/block/systemace.c | 14 +++----------- include/part.h | 2 -- include/systemace.h | 7 ------- 4 files changed, 4 insertions(+), 21 deletions(-) ------------------------------------------------------------------------------- commit 4e7189d4d8c2ab46c4c580ae300c14d1a9c20b11 Author: Simon Glass <sjg@chromium.org> Date: 2016-05-01 11:36:17 -0600 dm: sata: Drop the get_dev() function This function is implemented by the legacy block functions now. Drop it. We cannot yet make sata_dev_desc[] private to common/sata.c as it is used by the SATA drivers. This will require the SATA interface to be reworked. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / disk/part.c | 2 +- include/part.h | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) ------------------------------------------------------------------------------- commit edd82ab3547e27b4c1ab1ee7e620f982db9126ad Author: Simon Glass <sjg@chromium.org> Date: 2016-05-01 11:36:16 -0600 dm: scsi: Drop the get_dev() function This function is implemented by the legacy block functions now. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / common/scsi.c | 7 ------- common/spl/spl_sata.c | 2 +- disk/part.c | 2 +- include/part.h | 2 -- 4 files changed, 2 insertions(+), 11 deletions(-) ------------------------------------------------------------------------------- commit 3c457f4d2e47cc91385abe15d3c825d0ce1a2b6f Author: Simon Glass <sjg@chromium.org> Date: 2016-05-01 11:36:15 -0600 dm: mmc: Drop the get_dev() function This function is implemented by the legacy block functions now. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / cmd/mmc.c | 2 +- disk/part.c | 1 - drivers/mmc/mmc.c | 16 ++-------------- include/part.h | 2 -- 4 files changed, 3 insertions(+), 18 deletions(-) ------------------------------------------------------------------------------- commit 74001a2570ccbc120366e66dd40e8c66e3a6820c Author: Simon Glass <sjg@chromium.org> Date: 2016-05-01 11:36:14 -0600 dm: ide: Drop the get_dev() function This function is implemented by the legacy block functions now. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / common/ide.c | 7 ------- disk/part.c | 2 +- include/part.h | 2 -- 3 files changed, 1 insertion(+), 10 deletions(-) ------------------------------------------------------------------------------- commit 57ebf67bad82da0b3ade1728fb39a64d1c29822f Author: Simon Glass <sjg@chromium.org> Date: 2016-05-01 11:36:13 -0600 dm: usb: Drop the get_dev() function This function is implemented by the legacy block functions now. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / board/cm5200/fwupdate.c | 2 +- cmd/usb.c | 16 ++++++++++------ common/spl/spl_usb.c | 2 +- common/usb_storage.c | 17 ----------------- disk/part.c | 2 +- drivers/Makefile | 1 + include/part.h | 2 -- include/usb.h | 1 - 8 files changed, 14 insertions(+), 29 deletions(-) ------------------------------------------------------------------------------- commit a6331fa83cb4a1557df4acfa4214d556f4596904 Author: Simon Glass <sjg@chromium.org> Date: 2016-05-01 11:36:12 -0600 dm: disk: Use legacy block driver info for block device access Instead of calling xx_get_dev() functions for each interface type, use the new legacy block driver which can provide the device through its interface. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / disk/part.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) ------------------------------------------------------------------------------- commit d97dc8a0e6d38d11848ee78669639324edc0df01 Author: Simon Glass <sjg@chromium.org> Date: 2016-05-01 11:36:11 -0600 dm: sata: Separate the non-command code into its own file At present the SATA command code includes both the command-processing code and the core SATA functions and data structures. Separate the latter into its own file, adding functions as needed to avoid the command code accessing data structures directly. With this commit: - All CONFIG option are referenced from the non-command code - The concept of a 'current SATA device' is confined to the command code This will make it easier to convert this code to driver model. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / cmd/sata.c | 138 ++++++++------------------------------------------------ common/Makefile | 1 + common/sata.c | 86 +++++++++++++++++++++++++++++++++++ 3 files changed, 107 insertions(+), 118 deletions(-) ------------------------------------------------------------------------------- commit e9be1ee75ed27c4281cad5168b6c51d26b2e8a15 Author: Simon Glass <sjg@chromium.org> Date: 2016-05-01 11:36:10 -0600 dm: ide: Separate the non-command code into its own file At present the IDE command code includes both the command-processing code and the core IDE functions and data structures. Separate the latter into its own file, adding functions as needed to avoid the command code accessing data structures directly. With this commit: - Most CONFIG option are referenced from the non-command code - The concept of a 'current IDE device' is confined to the command code This will make it easier to convert this code to driver model. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / cmd/ide.c | 1297 +------------------------------------------------------ common/Makefile | 1 + common/ide.c | 1206 +++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 1228 insertions(+), 1276 deletions(-) ------------------------------------------------------------------------------- commit 11f610edf01abc96ca10e82e1752648ee911705b Author: Simon Glass <sjg@chromium.org> Date: 2016-05-01 11:36:09 -0600 dm: scsi: Separate the non-command code into its own file At present the SCSI command code includes both the command-processing code and the core SCSI functions and data structures. Separate the latter into its own file, adding functions as needed to avoid the command code accessing data structures directly. This functions use the new legacy block functions. With this commit: - There is no CONFIG option referenced from the command code - The concept of a 'current SCSI device' is confined to the command code This will make it easier to convert this code to driver model. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / cmd/Makefile | 6 - cmd/scsi.c | 626 +++----------------------------------------------------- common/Makefile | 4 + common/scsi.c | 567 ++++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 600 insertions(+), 603 deletions(-) ------------------------------------------------------------------------------- commit d508c82ba90dd92fa3b70875d3419c9d1b5493c0 Author: Simon Glass <sjg@chromium.org> Date: 2016-05-01 11:36:08 -0600 dm: mmc: Add an implementation of the 'devnum' functions Now that the MMC code accesses devices by number, we can implement this same interface for driver model, allowing MMC to support using driver model for block devices. Add the required functions to the uclass. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/block/blk-uclass.c | 280 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 280 insertions(+) ------------------------------------------------------------------------------- commit 663acabdc548216d61a9d2b1f789d4e6606f7a52 Author: Simon Glass <sjg@chromium.org> Date: 2016-05-01 11:36:07 -0600 dm: mmc: Add a legacy block interface for MMC Add a legacy block interface for MMC. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/mmc/mmc.c | 30 +++++++++++++++++++++++++++--- 1 file changed, 27 insertions(+), 3 deletions(-) ------------------------------------------------------------------------------- commit c0543bf6be4bac277d65c601f9150c7faf3d125e Author: Simon Glass <sjg@chromium.org> Date: 2016-05-01 11:36:06 -0600 dm: usb: Add a legacy block interface for USB storage Add a legacy block interface for USB storage. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / common/usb_storage.c | 7 +++++++ 1 file changed, 7 insertions(+) ------------------------------------------------------------------------------- commit 0cc65a7cc23bfbaab709d8934a6b8c73084852ea Author: Simon Glass <sjg@chromium.org> Date: 2016-05-01 11:36:05 -0600 dm: sandbox: Add a legacy host block interface Add a legacy block interface for sandbox host. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/block/sandbox.c | 7 +++++++ 1 file changed, 7 insertions(+) ------------------------------------------------------------------------------- commit 3ef85e377201c1ebe84e74bfb785c95ccbc37b13 Author: Simon Glass <sjg@chromium.org> Date: 2016-05-01 11:36:04 -0600 dm: systemace: Add a legacy block interface Add a legacy block interface for systemace. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/block/systemace.c | 14 ++++++++++++++ include/blk.h | 1 + 2 files changed, 15 insertions(+) ------------------------------------------------------------------------------- commit 6eef6eac1fc137c97bf1993304ed83b8e483c80a Author: Simon Glass <sjg@chromium.org> Date: 2016-05-01 11:36:03 -0600 dm: blk: Add a legacy block interface There is quite a bit of duplicated common code related to block devices in the IDE and SCSI implementations. Create some helper functions that can be used to reduce the duplication. These rely on a linker list of interface-type drivers Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/block/Makefile | 4 + drivers/block/blk_legacy.c | 261 +++++++++++++++++++++++++++++++++++++++++++++ include/blk.h | 195 +++++++++++++++++++++++++++++++++ 3 files changed, 460 insertions(+) ------------------------------------------------------------------------------- commit c649e3c91cdc96a86ca2665fcfafaca5c4b384b1 Author: Simon Glass <sjg@chromium.org> Date: 2016-05-01 11:36:02 -0600 dm: scsi: Rename CONFIG_CMD_SCSI to CONFIG_SCSI This option currently enables both the command and the SCSI functionality. Rename the existing option to CONFIG_SCSI since most of the code relates to the feature. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / README | 4 ++-- api/api_storage.c | 2 +- arch/arm/include/asm/arch-ls102xa/config.h | 2 +- board/mpl/pip405/README | 6 +++--- cmd/Makefile | 4 ++-- cmd/disk.c | 2 +- common/board_r.c | 4 ++-- disk/part.c | 2 +- drivers/block/sym53c8xx.c | 2 +- fs/fat/fat.c | 2 +- include/config_cmd_all.h | 2 +- include/config_distro_bootcmd.h | 6 +++--- include/config_fallbacks.h | 2 +- include/configs/MPC8544DS.h | 2 +- include/configs/MPC8572DS.h | 2 +- include/configs/MPC8610HPCD.h | 2 +- include/configs/MPC8641HPCN.h | 2 +- include/configs/PIP405.h | 2 +- include/configs/am57xx_evm.h | 2 +- include/configs/cm_t54.h | 2 +- include/configs/db-88f6820-gp.h | 2 +- include/configs/dra7xx_evm.h | 2 +- include/configs/efi-x86.h | 2 +- include/configs/galileo.h | 2 +- include/configs/highbank.h | 2 +- include/configs/ls1043aqds.h | 2 +- include/configs/ls2080aqds.h | 2 +- include/configs/ls2080ardb.h | 2 +- include/configs/omap5_uevm.h | 2 +- include/configs/qemu-x86.h | 2 +- include/configs/sunxi-common.h | 2 +- include/configs/x86-common.h | 2 +- include/configs/xilinx_zynqmp.h | 2 +- 33 files changed, 40 insertions(+), 40 deletions(-) ------------------------------------------------------------------------------- commit 2765c4d147011c9ac80cc014661321829056ee25 Author: Simon Glass <sjg@chromium.org> Date: 2016-05-01 11:36:01 -0600 dm: sata: Fix code style problems in cmd/sata.c This file has a few coding style problems. Fix these to make future updates easier. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / cmd/sata.c | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) ------------------------------------------------------------------------------- commit ed73508dec40afee7c90048fac510796bf91314d Author: Simon Glass <sjg@chromium.org> Date: 2016-05-01 11:36:00 -0600 dm: ide: Remove the forward declarations Reorder the code to avoid needing forward declarations. Fix up code style as needed. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / cmd/ide.c | 1924 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 946 insertions(+), 978 deletions(-) ------------------------------------------------------------------------------- commit 53dbcdd0cd4b90077b0b3893bcf25354ed825cec Author: Simon Glass <sjg@chromium.org> Date: 2016-05-01 11:35:59 -0600 dm: ide: Correct various code style problems Adjust common/ide.c so that it passes most checkpatch.pl checks. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / cmd/ide.c | 57 +++++++++++++++++++++++++++++---------------------------- 1 file changed, 29 insertions(+), 28 deletions(-) ------------------------------------------------------------------------------- commit f1d4d9379e1f83118307012a3edcc4ea20e12d92 Author: Simon Glass <sjg@chromium.org> Date: 2016-05-01 11:35:58 -0600 dm: scsi: Fix up code style Update the code style of this file so that it passes checkpatch.pl. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / cmd/scsi.c | 459 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 226 insertions(+), 233 deletions(-) ------------------------------------------------------------------------------- commit 73a9cfde783421aa7355143bc5b535ae81126d2c Author: Simon Glass <sjg@chromium.org> Date: 2016-05-01 11:35:57 -0600 dm: scsi: Remove the forward declarations Reorder the code to avoid needing forward declarations. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / cmd/scsi.c | 764 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 371 insertions(+), 393 deletions(-) ------------------------------------------------------------------------------- commit a31e2c93cb9eb1d4fe732b5586316235dad537ea Author: Simon Glass <sjg@chromium.org> Date: 2016-05-01 11:35:56 -0600 sandbox: Add dummy SATA functions Add some functions needed by the SATA code. This allows it to be compiled for sandbox, thus increasing build coverage. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/block/Makefile | 2 +- drivers/block/sata_sandbox.c | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 84d39cbd30a49390457232b44031e95abfa46e77 Author: Simon Glass <sjg@chromium.org> Date: 2016-05-01 11:35:55 -0600 sandbox: Add dummy SCSI functions Add some functions needed by the SCSI code. This allows it to be compiled for sandbox, thus increasing build coverage. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/block/Makefile | 2 +- drivers/block/sandbox_scsi.c | 29 +++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit e54094f2f9e812ae7b0d2ab2353ca11c0502849a Author: Simon Glass <sjg@chromium.org> Date: 2016-05-01 11:35:54 -0600 sandbox: Add string and 16-bit I/O functions Add outsw() and insw() functions for sandbox, as these are needed by the IDE code. The functions will not do anything useful if called, but allow the code to be compiled. Also add out16() and in16(), required by systemace. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/sandbox/include/asm/io.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) ------------------------------------------------------------------------------- commit 709e98b7b2461c2535d4ac2bb0311c3b3f53dbbb Author: Simon Glass <sjg@chromium.org> Date: 2016-05-01 11:35:53 -0600 Allow iotrace byte access to use an address of any size If an address is used with readb() and writeb() which is smaller than the expected size (e.g. 32-bit value on a machine with 64-bit addresses), a warning results. Fix this by adding a cast. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / include/iotrace.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit a219639d4216e59a0c55f0b7d2c8a21f9cb0bb06 Author: Simon Glass <sjg@chromium.org> Date: 2016-05-01 11:35:52 -0600 dm: Rename disk uclass to ahci This started as 'ahci' and was renamed to 'disk' during code review. But it seems that this is too generic. Now that we have a 'blk' uclass, we can use that as the generic piece, and revert to ahci for this. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/x86/Kconfig | 3 +++ arch/x86/cpu/broadwell/sata.c | 2 +- arch/x86/cpu/intel_common/cpu.c | 2 +- arch/x86/cpu/ivybridge/bd82x6x.c | 2 +- arch/x86/cpu/ivybridge/sata.c | 2 +- drivers/block/Kconfig | 5 ++--- drivers/block/Makefile | 2 +- drivers/block/ahci-uclass.c | 14 ++++++++++++++ drivers/block/disk-uclass.c | 14 -------------- include/dm/uclass-id.h | 2 +- 10 files changed, 25 insertions(+), 23 deletions(-) ------------------------------------------------------------------------------- commit cf63084492377108698619f6d33967af2119e584 Author: Simon Glass <sjg@chromium.org> Date: 2016-05-01 11:35:51 -0600 pci: Drop CONFIG_SYS_SCSI_SCAN_BUS_REVERSE This option is not used by any board. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Base directory -> / drivers/pci/pci.c | 4 ---- include/configs/MPC8641HPCN.h | 2 -- include/configs/sbc8641d.h | 2 -- 3 files changed, 8 deletions(-) ------------------------------------------------------------------------------- commit f960ca0a5fde2d1ec673d335a06a0f408734b3b3 Author: Simon Glass <sjg@chromium.org> Date: 2016-05-01 11:35:50 -0600 dm: sandbox: Add a board for sandbox without CONFIG_BLK While the driver-model block device support is in progress, it is useful to build sandbox both with and without CONFIG_BLK. Add a separate board for the latter. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / board/sandbox/MAINTAINERS | 7 ++ configs/sandbox_noblk_defconfig | 168 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 175 insertions(+) ------------------------------------------------------------------------------- commit e161356bffd5b6757a43b9c55a81903227ddd20c Author: Simon Glass <sjg@chromium.org> Date: 2016-05-01 11:35:49 -0600 Revert "dm: sandbox: Drop the pre-DM host implementation" Bring this support back so that sandbox can be compiled with CONFIG_BLK. This allows sandbox to have greater build coverage during the block-device transition. This can be removed again later. This reverts commit 33cf727b1634dbd9cd68a6ebc444a88f053822d7. Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/block/sandbox.c | 90 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 90 insertions(+) ------------------------------------------------------------------------------- commit f8353033884a25bedfef20e1fcc509db38a15218 Author: Eric Nelson <eric@nelint.com> Date: 2016-04-20 08:37:39 -0700 gpio: exynos(s5p): remove gpio_xlate routine With the addition of GPIO_ACTIVE_LOW parsing in gpio-uclass, the Exynos/S5P gpio driver doesn't need a custom xlate routine. Signed-off-by: Eric Nelson <eric@nelint.com> Acked-by: Simon Glass <sjg@chromium.org> Acked-by: Minkyu Kang <mk7.kang@samsung.com> Base directory -> / drivers/gpio/s5p_gpio.c | 11 ----------- 1 file changed, 11 deletions(-) ------------------------------------------------------------------------------- commit 6c3dd3caf0e6469fa65819aec300210f97ad7536 Author: Eric Nelson <eric@nelint.com> Date: 2016-04-20 08:37:38 -0700 gpio: rk: remove gpio_xlate routine With the addition of GPIO_ACTIVE_LOW parsing in gpio-uclass, the Rockchip gpio driver doesn't need a custom xlate routine. Signed-off-by: Eric Nelson <eric@nelint.com> Acked-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/gpio/rk_gpio.c | 11 ----------- 1 file changed, 11 deletions(-) ------------------------------------------------------------------------------- commit 5206e7bff575e3c0b96b8db89c80d4f020ed7539 Author: Eric Nelson <eric@nelint.com> Date: 2016-04-20 08:37:37 -0700 gpio: pic32: remove gpio_xlate routine With the addition of GPIO_ACTIVE_LOW parsing in gpio-uclass, the pic32 gpio driver doesn't need a custom xlate routine. Signed-off-by: Eric Nelson <eric@nelint.com> Acked-by: Simon Glass <sjg@chromium.org> Reviewed-by: Purna Chandra Mandal <purna.mandal@microchip.com> Base directory -> / drivers/gpio/pic32_gpio.c | 10 ---------- 1 file changed, 10 deletions(-) ------------------------------------------------------------------------------- commit 86222f6140895e451eafefc25437a33fa394dba5 Author: Eric Nelson <eric@nelint.com> Date: 2016-04-20 08:37:36 -0700 gpio: omap: remove gpio_xlate routine With the addition of GPIO_ACTIVE_LOW parsing in gpio-uclass, the omap gpio driver doesn't need a custom xlate routine. Signed-off-by: Eric Nelson <eric@nelint.com> Acked-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/gpio/omap_gpio.c | 11 ----------- 1 file changed, 11 deletions(-) ------------------------------------------------------------------------------- commit 8376aaddaf29b5ec296759f2b374cf940b932962 Author: Eric Nelson <eric@nelint.com> Date: 2016-04-20 08:37:35 -0700 gpio: intel_broadwell: remove gpio_xlate routine With the addition of GPIO_ACTIVE_LOW parsing in gpio-uclass, the intel_broadwell driver doesn't need a custom xlate routine. Signed-off-by: Eric Nelson <eric@nelint.com> Acked-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/gpio/intel_broadwell_gpio.c | 10 ---------- 1 file changed, 10 deletions(-) ------------------------------------------------------------------------------- commit 6c880b7719d73dc4bf4bf828b6341e086e6f5eb6 Author: Eric Nelson <eric@nelint.com> Date: 2016-04-24 16:32:40 -0700 dm: gpio: add a default gpio xlate routine Many drivers use a common form of offset + flags for device tree nodes. e.g.: <&gpio1 2 GPIO_ACTIVE_LOW> This patch adds a common implementation of this type of parsing and calls it when a gpio driver doesn't supply its' own xlate routine. This will allow removal of the driver-specific versions in a handful of drivers and simplify the addition of new drivers. Signed-off-by: Eric Nelson <eric@nelint.com> Reviewed-by: Stephen Warren <swarren@nvidia.com> Acked-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/gpio/gpio-uclass.c | 30 +++++++++++++++++++++++------- include/asm-generic/gpio.h | 19 ++++++++++++++----- 2 files changed, 37 insertions(+), 12 deletions(-) ------------------------------------------------------------------------------- commit c0c62d923344d5a68f43259282e68a827318db01 Author: Mugunthan V N <mugunthanvnm@ti.com> Date: 2016-04-12 16:01:19 +0530 drivers: usb: common: add common code for usb drivers to use Add common usb code which usb drivers makes use of it. Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/usb/common/Makefile | 1 + drivers/usb/common/common.c | 40 ++++++++++++++++++++++++++++++++++++++++ include/linux/usb/otg.h | 9 +++++++++ 3 files changed, 50 insertions(+) ------------------------------------------------------------------------------- commit 9300f711baac8a181f70d7f64978e4bbadd4ac5c Author: Peng Fan <van.freenix@gmail.com> Date: 2016-05-03 10:02:23 +0800 dm: gpio: introduce 74x164 driver Introduce driver to support "fairchild,74hc595" devices. 1. Take linux drivers/drivers/gpio/gpio-74x164.c as reference. 2. Following the naming used in Linux driver with gen_7x164 as the prefix. 3. Enable CONFIG_DM_74X164 to use this driver. 4. Follow Documentation/devicetree/bindings/gpio/gpio-74x164.txt to add device nodes 5. Tested on i.MX6 UltraLite with 74LV595 using gpio command and oscillograph. Signed-off-by: Peng Fan <van.freenix@gmail.com> Cc: Simon Glass <sjg@chromium.org> Cc: Masahiro Yamada <yamada.masahiro@socionext.com> Cc: Chin Liang See <clsee@altera.com> Cc: Bhuvanchandra DV <bhuvanchandra.dv@toradex.com> Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> Cc: Fabio Estevam <fabio.estevam@nxp.com> Cc: Stefano Babic <sbabic@denx.de> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/gpio/74x164_gpio.c | 193 +++++++++++++++++++++++++++++++++++++++++++++ drivers/gpio/Kconfig | 8 ++ drivers/gpio/Makefile | 1 + 3 files changed, 202 insertions(+) ------------------------------------------------------------------------------- commit 7a3eff4ce962de50bd9a1d83a9fce178c04999d3 Author: Peng Fan <van.freenix@gmail.com> Date: 2016-05-03 10:02:22 +0800 dm: spi: introduce dm api Introduce dm_spi_claim_bus, dm_spi_release_bus and dm_spi_xfer Convert spi_claim_bus, spi_release_bus and spi_xfer to use the new API. Signed-off-by: Peng Fan <van.freenix@gmail.com> Cc: Simon Glass <sjg@chromium.org> Cc: Jagan Teki <jteki@openedev.com> Acked-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/spi/spi-uclass.c | 28 +++++++++++++++++++------- include/spi.h | 52 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 73 insertions(+), 7 deletions(-) ------------------------------------------------------------------------------- commit 102412c415b5e51b01ed5797c965d0feaa065439 Author: Peng Fan <van.freenix@gmail.com> Date: 2016-05-03 10:02:21 +0800 dm: spi: soft_spi: switch to use linux compatible string 1. Support compatible string "spi-gpio" which is used by Linux Linux use different bindings, so use UBOOT_COMPAT and LINUX_COMPAT to differentiate them. 2. Introduce SPI_MASTER_NO_RX and SPI_MASTER_NO_TX to handle no rx or no tx case. 3. Tested on i.MX6 UltraLite board with 74LV595 spi-gpio chip. Signed-off-by: Peng Fan <van.freenix@gmail.com> Cc: Simon Glass <sjg@chromium.org> Cc: Przemyslaw Marczak <p.marczak@samsung.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/arm/dts/exynos4210-universal_c210.dts | 10 ++++---- drivers/spi/soft_spi.c | 38 ++++++++++++++++++++++-------- 2 files changed, 33 insertions(+), 15 deletions(-) ------------------------------------------------------------------------------- commit b6d54d527325f27c460777b882e23d21a935765a Author: Peng Fan <van.freenix@gmail.com> Date: 2016-05-03 10:02:20 +0800 dm: spi: soft_spi bug fix When doing xfer, should use device->parent, but not device When doing bit xfer, should use "!!(tmpdout & 0x80)", but not "(tmpdout & 0x80)" Signed-off-by: Peng Fan <van.freenix@gmail.com> Cc: Simon Glass <sjg@chromium.org> Cc: Jagan Teki <jteki@openedev.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/spi/soft_spi.c | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) ------------------------------------------------------------------------------- commit 35732098db382b48e3fb4f3595fc108f69ea4457 Author: Stephen Warren <swarren@nvidia.com> Date: 2016-04-28 16:04:15 -0600 fdt: fix dev_get_addr_name node offset Use the device's own DT offset, not the device's parent's. Fixes: 43c4d44e3330 ("fdt: implement dev_get_addr_name()") Signed-off-by: Stephen Warren <swarren@nvidia.com> Acked-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/core/device.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit 54693cbdca5724b8946d0522a736e8a49fa14c0c Author: Stephen Warren <swarren@nvidia.com> Date: 2016-04-19 16:19:30 -0600 video: tegra: refuse to bind to disabled dcs This prevents the following boot-time message on any board where only the first DC is in use, yet the DC's DT node is enabled: stdio_add_devices: Video device failed (ret=-22) (This happens on at least Harmony, Ventana, and likely any other Tegra20 board with display enabled other than Seaboard). The Tegra DC's DT node represents a display controller. It may itself drive an integrated RGB display output, or be used by some other display controller such as HDMI. For this reason the DC node itself is not enabled/disabled in DT; the DC itself is considered a shared resource, not the final (board-specific) display output. The node should instantiate a display output driver only if the rgb subnode is enabled. Other output drivers are free to use the DC if they are enabled and their DT node references the DC's DT node. Adapt the Tegra display drivers' bind() routine to only bind to the DC's DT node if the RGB subnode is enabled. Now that the display driver does the right thing, remove the workaround for this issue from Seaboard's DT file. Cc: Thierry Reding <treding@nvidia.com> Signed-off-by: Stephen Warren <swarren@nvidia.com> Acked-by: Thierry Reding <treding@nvidia.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/arm/dts/tegra20-seaboard.dts | 4 ---- drivers/video/tegra.c | 7 +++++++ 2 files changed, 7 insertions(+), 4 deletions(-) ------------------------------------------------------------------------------- commit 9fdfadf8fc83b173b3ba55aa82739ca92d8a273d Author: Stephen Warren <swarren@nvidia.com> Date: 2016-04-19 16:19:29 -0600 dm: core: allow drivers to refuse to bind In some cases, drivers may not want to bind to a device. Allow bind() to return -ENODEV in this case, and don't treat this as an error. This can be useful in situations where some information source other than the DT node's main status property indicates whether the device should be enabled, for example other DT properties might indicate this, or the driver might query non-DT sources such as system fuses or a version number register. Signed-off-by: Stephen Warren <swarren@nvidia.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/core/lists.c | 4 ++++ 1 file changed, 4 insertions(+) ------------------------------------------------------------------------------- commit f79f1e0c0ea06de3af79094bc80be6e218b5f6ef Author: Stephen Warren <swarren@nvidia.com> Date: 2016-04-11 10:48:44 -0600 buildman: allow more incremental building One use-case for buildman is to continually run it interactively after each small step in a large refactoring operation. This gives more immediate feedback than making a number of commits and then going back and testing them. For this to work well, buildman needs to be extremely fast. At present, a couple issues prevent it being as fast as it could be: 1) Each time buildman runs "make %_defconfig", it runs "make mrproper" first. This throws away all previous build results, requiring a from-scratch build. Optionally avoiding this would speed up the build, at the cost of potentially causing or missing some build issues. 2) A build tree is created per thread rather than per board. When a thread switches between building different boards, this often causes many files to be rebuilt due to changing config options. Using a separate build tree for each board would avoid this. This does put more strain on the system's disk cache, but it is worth it on my system at least. This commit adds two command-line options to implement the changes described above; -I ("--incremental") turns of "make mrproper" and -P ("--per-board-out-dir") creats a build directory per board rather than per thread. Tested: ./tools/buildman/buildman.py tegra ./tools/buildman/buildman.py -I -P tegra ./tools/buildman/buildman.py -b tegra_dev tegra ./tools/buildman/buildman.py -b tegra_dev -I -P tegra ... each once after deleting the buildman result/work directory, and once "incrementally" after a previous identical invocation. Signed-off-by: Stephen Warren <swarren@nvidia.com> Reviewed-by: Tom Rini <trini@konsulko.com> Acked-by: Simon Glass <sjg@chromium.org> # v1 Tested-by: Simon Glass <sjg@chromium.org> # v1 Acked-by: Simon Glass <sjg@chromium.org> Base directory -> / tools/buildman/README | 42 +++++++++++++++++++++++++++++++++++++++++ tools/buildman/builder.py | 10 ++++++++-- tools/buildman/builderthread.py | 24 +++++++++++++++-------- tools/buildman/cmdline.py | 4 ++++ tools/buildman/control.py | 4 +++- 5 files changed, 73 insertions(+), 11 deletions(-) ------------------------------------------------------------------------------- commit e27802af54c2ff2d4d58e4bc217644b75c04ac4c Author: angelo@sysam.it <angelo@sysam.it> Date: 2016-04-27 21:51:13 +0200 m68k: add DM model serial driver Boards can now use DM serial driver, or still legacy mcf uart driver version. Signed-off-by: Angelo Dureghello <angelo@sysam.it> Acked-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/serial/mcfuart.c | 188 ++++++++++++++++++++++------- include/dm/platform_data/serial_coldfire.h | 23 ++++ 2 files changed, 167 insertions(+), 44 deletions(-) ------------------------------------------------------------------------------- commit 5044c9cc6c4dffb2959769a785663f46cb418461 Author: angelo@sysam.it <angelo@sysam.it> Date: 2016-04-27 21:50:44 +0200 m68k: add malloc memory for early malloc To use serial uclass and DM, CONFIG_SYS_MALLOC_F must be used. So CONFIG_SYS_GENERIC_GLOBAL_DATA has been undefined and call to board_init_f_mem() is added for all cpu's. Signed-off-by: Angelo Dureghello <angelo@sysam.it> Acked-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/m68k/cpu/mcf5227x/start.S | 25 ++++++++++++++++++++----- arch/m68k/cpu/mcf523x/start.S | 27 ++++++++++++++++++++++----- arch/m68k/cpu/mcf52x2/start.S | 26 ++++++++++++++++++++++---- arch/m68k/cpu/mcf530x/cpu_init.c | 2 +- arch/m68k/cpu/mcf530x/start.S | 25 ++++++++++++++++++------- arch/m68k/cpu/mcf532x/start.S | 27 ++++++++++++++++++++++----- arch/m68k/cpu/mcf5445x/start.S | 27 ++++++++++++++++++++++----- arch/m68k/cpu/mcf547x_8x/start.S | 25 ++++++++++++++++++++----- arch/m68k/include/asm/config.h | 2 -- 9 files changed, 147 insertions(+), 39 deletions(-) ------------------------------------------------------------------------------- commit 037734393ef6181e87d85be15468af4baee70b42 Author: Peng Fan <van.freenix@gmail.com> Date: 2016-04-14 21:45:06 +0800 dm: gpio: pca953x: introduce driver model support for pca953x Introduce a new driver that supports driver model for pca953x. The pca953x chips are used as I2C I/O expanders. This driver is designed to support the following chips: " 4 bits: pca9536, pca9537 8 bits: max7310, max7315, pca6107, pca9534, pca9538, pca9554, pca9556, pca9557, pca9574, tca6408, xra1202 16 bits: max7312, max7313, pca9535, pca9539, pca9555, pca9575, tca6416 24 bits: tca6424 40 bits: pca9505, pca9698 " But for now this driver only supports max 24 bits and pca953x compatible chips. pca957x compatible chips are not supported now. These can be addressed when we need to add such support for the different chips. This driver has been tested on i.MX6 SoloX Sabreauto board with max7310 i2c expander using gpio command as following: =>gpio status -a Bank gpio@30_: gpio@30_0: input: 1 [ ] => dm tree: i2c [ ] | | `-- i2c@021a8000 gpio [ ] | | |-- gpio@30 gpio [ ] | | `-- gpio@32 Signed-off-by: Peng Fan <van.freenix@gmail.com> Cc: Simon Glass <sjg@chromium.org> Cc: Masahiro Yamada <yamada.masahiro@socionext.com> Cc: Wenyou Yang <wenyou.yang@atmel.com> Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> Cc: Purna Chandra Mandal <purna.mandal@microchip.com> Cc: Thomas Chou <thomas@wytron.com.tw> Cc: Bhuvanchandra DV <bhuvanchandra.dv@toradex.com> Cc: Andrea Scian <andrea.scian@dave.eu> Cc: Michal Simek <michal.simek@xilinx.com> Cc: Stefano Babic <sbabic@denx.de> Cc: Fabio Estevam <fabio.estevam@nxp.com> Acked-by: Simon Glass <sjg@chromium.org> Tested-by: Michal Simek <michal.simek@xilinx.com> #on ZynqMP zcu102 Base directory -> / drivers/gpio/Kconfig | 22 +++ drivers/gpio/Makefile | 2 + drivers/gpio/pca953x_gpio.c | 351 ++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 375 insertions(+) ------------------------------------------------------------------------------- commit 291000894ed4d6257830baba547764b86e335b5c Author: Marek Vasut <marex@denx.de> Date: 2016-04-29 00:44:56 +0200 ARM: mx6: Enable MMC and SATA extfs boot support Enable support for booting U-Boot image from ext filesystem when either SD/MMC or SATA support is compiled into the SPL. This will allow easy transition from loading U-Boot image from ad-hoc offset on the card to loading U-Boot image from the filesystem. VFAT support is intently not enabled. The boot order is tweaked so that raw is tested first and if the raw has no signature, FS boot is attempted. To install just the SPL on i.MX6 board, perform the following operation $ dd if=SPL of=/dev/sdX seek=2 bs=512 To install the U-Boot image, copy u-boot.img to the first partition of the SD/MMC/SATA drive. The partition must be formated to extfs. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Fabio Estevam <fabio.estevam@nxp.com> Cc: Peng Fan <van.freenix@gmail.com> Cc: Stefano Babic <sbabic@denx.de> Cc: Tom Rini <trini@konsulko.com> Base directory -> / include/configs/imx6_spl.h | 4 ++++ include/configs/novena.h | 1 - include/configs/tqma6.h | 1 - 3 files changed, 4 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit e072751515d489b799c50b8c254367d4373403ee Author: Marek Vasut <marex@denx.de> Date: 2016-04-29 00:44:55 +0200 SPL: Add CONFIG_SPL_ABORT_ON_RAW_IMAGE When defined, SPL will proceed to another boot method if the image it has loaded does not have a signature. This is useful if the subsequent boot methods are much more complex. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Tom Rini <trini@konsulko.com> Cc: Stefano Babic <sbabic@denx.de> Cc: Peng Fan <van.freenix@gmail.com> Cc: Fabio Estevam <fabio.estevam@nxp.com> Base directory -> / README | 4 ++++ common/spl/spl.c | 3 +++ 2 files changed, 7 insertions(+) ------------------------------------------------------------------------------- commit 7e0f22674ae871460706f9cc8653487bb51e0804 Author: Marek Vasut <marex@denx.de> Date: 2016-04-29 00:44:54 +0200 SPL: Let spl_parse_image_header() return value Allow the spl_parse_image_header() to return value. This is convenient for controlling the SPL boot flow if the loaded image is corrupted. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Fabio Estevam <fabio.estevam@nxp.com> Cc: Peng Fan <van.freenix@gmail.com> Cc: Stefano Babic <sbabic@denx.de> Cc: Tom Rini <trini@konsulko.com> Base directory -> / common/spl/spl.c | 3 ++- common/spl/spl_ext.c | 6 +++++- common/spl/spl_fat.c | 4 +++- common/spl/spl_mmc.c | 6 +++++- common/spl/spl_nand.c | 9 +++++++-- common/spl/spl_net.c | 4 +--- common/spl/spl_nor.c | 9 +++++++-- common/spl/spl_onenand.c | 5 ++++- common/spl/spl_ymodem.c | 7 +++++-- drivers/mtd/spi/spi_spl_load.c | 10 ++++++++-- include/spl.h | 2 +- 11 files changed, 48 insertions(+), 17 deletions(-) ------------------------------------------------------------------------------- commit 249092fa81f3dd3fee94fd05973833e30405f3c4 Author: Stefan Agner <stefan@agner.ch> Date: 2016-05-06 11:21:50 -0700 imx: imx-common: print i.MX 7 SoC names consistently According to the product website, the full names are i.MX 7Solo and i.MX 7Dual, whereas the short form is i.MX7S and i.MX7D. Be consistent and print the short form for both supported i.MX 7 SoCs. Signed-off-by: Stefan Agner <stefan@agner.ch> Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com> Base directory -> / arch/arm/imx-common/cpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit f716bf11f3f96e487772d9e47d413c7b30f26b6c Author: Stefan Agner <stefan@agner.ch> Date: 2016-05-05 13:42:45 -0700 imx: imx7d: fix ahb clock mux 1 The clock parent of the AHB root clock when using mux option 1 is the SYS PLL 270MHz clock. This is specified in Table 5-11 Clock Root Table of the i.MX 7Dual Applications Processor Reference Manual. While it could be a documentation error, the 270MHz parent is also mentioned in the boot ROM configuration in Table 6-28: The clock is by default at 135MHz due to a POST_PODF value of 1 (=> divider of 2). Signed-off-by: Stefan Agner <stefan@agner.ch> Base directory -> / arch/arm/cpu/armv7/mx7/clock_slice.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 1fb51333952ec59fb83312c777bb3665e68f818d Author: Stefan Agner <stefan@agner.ch> Date: 2016-05-05 13:32:09 -0700 imx: iomux-v3: fix UART input selects Several UART input selects are missing. The fourth input select for UART2_TX_DATA_ALT0 is actually also missing in the documentation. (at least in Rev. B of the i.MX 7Dual Reference Manual). However, when looking at the tables of other input selects, it is very natural that there must be an input select for the UART2_TX_DATA_ALT0 pad. The Colibri iMX7 also uses that pad for UART2 RX (in DTE mode), and it was required to set that particular input select register to get a working UART2. Base directory -> / arch/arm/include/asm/arch-mx7/mx7d_pins.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) ------------------------------------------------------------------------------- commit fdb396aae8e024303bb17baa6409c686ffc376be Author: Marek Vasut <marex@denx.de> Date: 2016-04-28 00:50:28 +0200 ARM: mx6: Enable STDIO deregistering on Novena Novena supports USB keyboard, which is a pluggable device and can be unplugged. Thus, we need to be able to deregister it's stdio device. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Stefano Babic <sbabic@denx.de> Base directory -> / include/configs/novena.h | 1 + 1 file changed, 1 insertion(+) ------------------------------------------------------------------------------- commit 9f623326eb67b3475797940a21bb405649c0729b Author: Eric Nelson <eric@nelint.com> Date: 2016-04-24 10:54:19 -0700 imx: mx6: mx6sl_pins: add GPIO variant for SD1_DAT5 This patch adds the IOMUX setting for using SD1_DAT5 as GPIO5:9. Signed-off-by: Eric Nelson <eric@nelint.com> Reviewed-by: Peng Fan <van.freenix@gmail.com> Base directory -> / arch/arm/include/asm/arch-mx6/mx6sl_pins.h | 1 + 1 file changed, 1 insertion(+) ------------------------------------------------------------------------------- commit 0782a8803d555d80f1a68887a18cc32fc7185627 Author: Adrian Alonso <adrian.alonso@nxp.com> Date: 2016-05-02 10:29:14 -0500 imx: tools: imximage: fix CLR bit command Fix incorrect parametr in CMD_CHECK_BITS_CLR command Pass CLR parameter to DCD header for CMD_CHECK_BITS_CLR Signed-off-by: Adrian Alonso <adrian.alonso@nxp.com> Base directory -> / tools/imximage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 52b1eaf93d6b55e1467f97b8eefdc2f8b6031c43 Author: Stefano Babic <sbabic@denx.de> Date: 2016-05-17 17:51:44 +0200 Merge branch 'master' of git://git.denx.de/u-boot Base directory -> / .mailmap | 1 + MAINTAINERS | 4 +- Makefile | 4 +- arch/arm/cpu/armv7/am33xx/clock.c | 1 + arch/arm/cpu/armv7/omap-common/boot-common.c | 2 + .../arm/cpu/armv8/fsl-layerscape/fsl_lsch3_speed.c | 2 +- arch/arm/cpu/armv8/start.S | 2 + arch/arm/dts/socfpga_cyclone5_socrates.dts | 1 + arch/arm/imx-common/Makefile | 2 +- arch/arm/imx-common/cache.c | 9 +- arch/arm/include/asm/arch-tegra/gpu.h | 2 +- arch/arm/include/asm/armv7.h | 21 +- arch/arm/include/asm/barriers.h | 44 ++++ arch/arm/lib/stack.c | 2 +- arch/arm/mach-at91/arm920t/at91rm9200_devices.c | 2 +- arch/arm/mach-at91/arm920t/cpu.c | 2 +- arch/arm/mach-rockchip/rk3288/sdram_rk3288.c | 14 +- arch/arm/mach-socfpga/misc.c | 2 +- arch/arm/mach-sunxi/dram_helpers.c | 2 + arch/arm/mach-tegra/board2.c | 20 +- arch/arm/mach-tegra/gpu.c | 15 +- arch/arm/mach-uniphier/boot-mode/boot-mode-ld20.c | 2 +- arch/arm/mach-uniphier/boot-mode/boot-mode.c | 2 +- arch/arm/mach-uniphier/early-clk/early-clk-ld20.c | 4 + arch/arm/mach-uniphier/early-pinctrl/Makefile | 1 + .../early-pinctrl/early-pinctrl-ld20.c | 32 +++ .../early-pinctrl/early-pinctrl-sld3.c | 2 + arch/arm/mach-uniphier/init.h | 7 +- arch/arm/mach-uniphier/init/init-ld20.c | 2 + arch/arm/mach-uniphier/init/init-sld3.c | 5 +- arch/arm/mach-uniphier/sbc/Makefile | 4 +- arch/arm/mach-uniphier/sbc/sbc-sld3.c | 17 -- arch/avr32/cpu/mmc.c | 2 +- arch/avr32/lib/bootm.c | 2 +- arch/avr32/lib/dram_init.c | 2 +- arch/mips/Kconfig | 2 +- arch/powerpc/cpu/ppc4xx/denali_spd_ddr2.c | 2 +- arch/powerpc/lib/stack.c | 2 +- board/altera/cyclone5-socdk/qts/pinmux_config.h | 38 +-- board/altera/cyclone5-socdk/qts/pll_config.h | 34 +-- board/atmel/at91rm9200ek/MAINTAINERS | 2 +- board/atmel/at91rm9200ek/at91rm9200ek.c | 2 +- board/atmel/at91rm9200ek/led.c | 2 +- board/atmel/atngw100mkii/MAINTAINERS | 2 +- board/atmel/atngw100mkii/atngw100mkii.c | 2 +- board/bf533-ezkit/flash.c | 2 +- board/freescale/common/fsl_validate.c | 4 +- board/freescale/mx28evk/README | 2 +- board/in-circuit/grasshopper/MAINTAINERS | 2 +- board/mpl/pip405/pip405.c | 2 +- board/nvidia/jetson-tk1/jetson-tk1.c | 3 + board/nvidia/jetson-tk1/pinmux-config-jetson-tk1.h | 12 +- board/tqc/tqm5200/cmd_stk52xx.c | 2 +- cmd/eeprom.c | 4 + cmd/fdc.c | 8 +- cmd/fdt.c | 2 +- cmd/mmc.c | 2 +- cmd/mtdparts.c | 2 +- common/fdt_support.c | 20 +- common/kgdb.c | 2 +- common/usb.c | 18 +- common/usb_hub.c | 3 +- configs/A13-OLinuXino_defconfig | 1 + configs/CHIP_defconfig | 1 + configs/socfpga_socrates_defconfig | 1 + configs/warp7_defconfig | 1 + doc/README.at91-soc | 2 +- doc/README.atmel_pmecc | 2 +- doc/README.commands.spl | 2 +- doc/README.marubun-pcmcia | 2 +- doc/README.mxs | 4 +- doc/SPI/README.sandbox-spi | 2 +- doc/SPI/README.ti_qspi_flash | 2 +- doc/git-mailrc | 2 +- doc/mkimage.1 | 6 +- drivers/bios_emulator/x86emu/decode.c | 2 +- drivers/ddr/marvell/a38x/ddr3_init.h | 2 +- drivers/ddr/marvell/axp/ddr3_hw_training.h | 2 +- drivers/dfu/Kconfig | 6 +- drivers/dfu/dfu.c | 4 +- drivers/i2c/kona_i2c.c | 2 +- drivers/mtd/nand/omap_gpmc.c | 4 +- drivers/net/4xx_enet.c | 4 +- drivers/net/enc28j60.c | 2 +- drivers/net/ldpaa_eth/ldpaa_eth.c | 1 + drivers/net/macb.c | 2 +- drivers/net/ne2000_base.c | 4 +- drivers/net/sh_eth.c | 2 +- drivers/net/sh_eth.h | 2 +- drivers/pci/pci_tegra.c | 21 +- drivers/spi/cadence_qspi_apb.c | 254 +++++++-------------- drivers/thermal/Kconfig | 2 +- drivers/usb/gadget/f_dfu.c | 10 +- drivers/usb/gadget/mpc8xx_udc.c | 2 +- drivers/usb/host/dwc2.c | 49 +++- drivers/usb/host/ehci-mx6.c | 7 +- drivers/usb/musb/musb_hcd.c | 6 +- drivers/video/am335x-fb.c | 30 ++- fs/ext4/ext4_common.c | 2 +- include/configs/B4860QDS.h | 2 +- include/configs/BSC9132QDS.h | 2 +- include/configs/C29XPCIE.h | 2 +- include/configs/MPC8536DS.h | 6 +- include/configs/MPC8544DS.h | 6 +- include/configs/MPC8548CDS.h | 2 +- include/configs/MPC8572DS.h | 6 +- include/configs/MPC8610HPCD.h | 2 +- include/configs/MPC8641HPCN.h | 4 +- include/configs/P1010RDB.h | 4 +- include/configs/P1022DS.h | 6 +- include/configs/P1023RDB.h | 6 +- include/configs/P2041RDB.h | 6 +- include/configs/T102xQDS.h | 6 +- include/configs/T102xRDB.h | 8 +- include/configs/T1040QDS.h | 8 +- include/configs/T104xRDB.h | 8 +- include/configs/T208xQDS.h | 8 +- include/configs/T208xRDB.h | 8 +- include/configs/T4240RDB.h | 6 +- include/configs/am335x_evm.h | 9 +- include/configs/atngw100mkii.h | 2 +- include/configs/controlcenterd.h | 2 +- include/configs/corenet_ds.h | 4 +- include/configs/cyrus.h | 4 +- include/configs/duovero.h | 1 + include/configs/hikey.h | 2 +- include/configs/km/kmp204x-common.h | 4 +- include/configs/ls1021aqds.h | 4 +- include/configs/ls1021atwr.h | 4 +- include/configs/ls2080a_common.h | 8 +- include/configs/omap3_igep00x0.h | 7 + include/configs/omap3_logic.h | 4 +- include/configs/omap3_overo.h | 2 +- include/configs/p1_p2_rdb_pc.h | 4 +- include/configs/p1_twr.h | 4 +- include/configs/pengwyn.h | 2 +- include/configs/sbc8641d.h | 4 +- include/configs/t4qds.h | 6 +- include/configs/ti_armv7_common.h | 4 +- include/configs/ti_omap4_common.h | 5 +- include/configs/xpedite517x.h | 4 +- include/configs/xpedite537x.h | 4 +- include/configs/xpedite550x.h | 2 +- include/env_flags.h | 4 +- include/fdtdec.h | 2 +- include/linux/fb.h | 4 +- include/linux/mtd/omap_gpmc.h | 2 +- include/net.h | 16 +- include/test/ut.h | 12 +- include/usbdevice.h | 2 +- lib/hang.c | 2 +- scripts/Makefile.spl | 2 +- test/py/tests/test_dfu.py | 2 + test/py/u_boot_utils.py | 1 + tools/atmel_pmecc_params.c | 2 +- tools/atmelimage.c | 2 +- tools/env/fw_env.c | 3 + tools/fit_image.c | 1 - tools/mkimage.c | 38 ++- tools/moveconfig.py | 4 +- tools/tbot/README | 10 + tools/tbot/README.install | 246 ++++++++------------ 162 files changed, 720 insertions(+), 703 deletions(-) ------------------------------------------------------------------------------- commit d6b7757e41d22e08f21f58d3fe9183a150582f61 Author: Chris Packham <judge.packham@gmail.com> Date: 2016-05-13 15:19:31 +1200 i2c: mvtwsi: Eliminate twsi_control_flags In a system where the initial u-boot location is genuinely NOR flash (as opposed to RAM or a cache-line setup by a pre-bootloader) writes to the data section are problematic. At best these writes have no effect, at worst they put the flash memory into a status mode which changes the executable code underneath us. Pass around a stack variable from the top of the twsi i2c driver to avoid writing to global data. Signed-off-by: Chris Packham <judge.packham@gmail.com> Base directory -> / drivers/i2c/mvtwsi.c | 62 ++++++++++++++++++++++++---------------------------- 1 file changed, 29 insertions(+), 33 deletions(-) ------------------------------------------------------------------------------- commit 3a3705280d1d06e4d9a62fbe895dbe03939ad00e Author: Stefan Roese <sr@denx.de> Date: 2016-04-28 09:47:19 +0200 i2c: Select SYS_I2C_DW_ENABLE_STATUS_UNSUPPORTED for SPEAr The DW I2C controller in the SPEAr SoCs doesn't support the enable status register check. This patch selects SYS_I2C_DW_ENABLE_STATUS_UNSUPPORTED for these boards. Signed-off-by: Stefan Roese <sr@denx.de> Cc: Heiko Schocher <hs@denx.de> Base directory -> / drivers/i2c/Kconfig | 10 ++++++++++ 1 file changed, 10 insertions(+) ------------------------------------------------------------------------------- commit 4d5e9b39e21152734ffa4b533efbb83f278df18b Author: Stefan Roese <sr@denx.de> Date: 2016-04-28 09:47:18 +0200 i2c: config: Move SYS_I2C_DW to Kconfig This patch moves all appearances of CONFIG_SYS_I2C_DW from the config header to the defconfig files. Signed-off-by: Stefan Roese <sr@denx.de> Cc: Heiko Schocher <hs@denx.de> Cc: Alexey Brodkin <abrodkin@synopsys.com> Base directory -> / configs/axs101_defconfig | 1 + configs/axs103_defconfig | 1 + configs/socfpga_arria5_defconfig | 1 + configs/socfpga_cyclone5_defconfig | 1 + configs/socfpga_de0_nano_soc_defconfig | 1 + configs/socfpga_mcvevk_defconfig | 1 + configs/socfpga_sockit_defconfig | 1 + configs/socfpga_socrates_defconfig | 1 + configs/socfpga_sr1500_defconfig | 1 + configs/spear300_defconfig | 1 + configs/spear300_nand_defconfig | 1 + configs/spear300_usbtty_defconfig | 1 + configs/spear300_usbtty_nand_defconfig | 1 + configs/spear310_defconfig | 1 + configs/spear310_nand_defconfig | 1 + configs/spear310_pnor_defconfig | 1 + configs/spear310_usbtty_defconfig | 1 + configs/spear310_usbtty_nand_defconfig | 1 + configs/spear310_usbtty_pnor_defconfig | 1 + configs/spear320_defconfig | 1 + configs/spear320_nand_defconfig | 1 + configs/spear320_pnor_defconfig | 1 + configs/spear320_usbtty_defconfig | 1 + configs/spear320_usbtty_nand_defconfig | 1 + configs/spear320_usbtty_pnor_defconfig | 1 + configs/spear600_defconfig | 1 + configs/spear600_nand_defconfig | 1 + configs/spear600_usbtty_defconfig | 1 + configs/spear600_usbtty_nand_defconfig | 1 + configs/x600_defconfig | 1 + include/configs/axs101.h | 1 - include/configs/socfpga_common.h | 1 - include/configs/spear-common.h | 1 - include/configs/x600.h | 1 - 34 files changed, 30 insertions(+), 4 deletions(-) ------------------------------------------------------------------------------- commit e32d0db7985eece55ad099c6c86d00d441fdf48c Author: Stefan Roese <sr@denx.de> Date: 2016-04-28 09:47:17 +0200 i2c: Add entry for Designware I2C driver in Kconfig This patch adds an entry for the Designware I2C driver in Kconfig. Signed-off-by: Stefan Roese <sr@denx.de> Cc: Heiko Schocher <hs@denx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Base directory -> / drivers/i2c/Kconfig | 8 ++++++++ 1 file changed, 8 insertions(+) ------------------------------------------------------------------------------- commit dbc82ce31b4e90ed171c10e02d382d36bf201dc4 Author: mario.six@gdsys.cc <mario.six@gdsys.cc> Date: 2016-04-25 08:31:09 +0200 dm: fsl_i2c: Enable DM for FSL I2C Signed-off-by: Mario Six <mario.six@gdsys.cc> Base directory -> / arch/powerpc/include/asm/fsl_i2c.h | 10 ++++ drivers/i2c/Kconfig | 7 +++ drivers/i2c/fsl_i2c.c | 103 +++++++++++++++++++++++++++++++++++++ 3 files changed, 120 insertions(+) ------------------------------------------------------------------------------- commit ecf591e303ed576817f0638ade56e2fab7d910c8 Author: mario.six@gdsys.cc <mario.six@gdsys.cc> Date: 2016-04-25 08:31:08 +0200 dm: fsl_i2c: Factor out adap parameter Signed-off-by: Mario Six <mario.six@gdsys.cc> Base directory -> / drivers/i2c/fsl_i2c.c | 116 +++++++++++++++++++++----------------------------- 1 file changed, 49 insertions(+), 67 deletions(-) ------------------------------------------------------------------------------- commit ad7e657cec8587b63dbf82d793cda54b74413a0a Author: mario.six@gdsys.cc <mario.six@gdsys.cc> Date: 2016-04-25 08:31:07 +0200 dm: fsl_i2c: Prepare compatibility functions Signed-off-by: Mario Six <mario.six@gdsys.cc> Base directory -> / drivers/i2c/fsl_i2c.c | 47 +++++++++++++++++++++++++++++++++++++++-------- 1 file changed, 39 insertions(+), 8 deletions(-) ------------------------------------------------------------------------------- commit 00b61553f1248e7a57c3de6bf050a1489823db11 Author: mario.six@gdsys.cc <mario.six@gdsys.cc> Date: 2016-04-25 08:31:06 +0200 dm: fsl_i2c: Rename methods for reading/writing data Signed-off-by: Mario Six <mario.six@gdsys.cc> Base directory -> / drivers/i2c/fsl_i2c.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) ------------------------------------------------------------------------------- commit 16579ecbccb96a677ab468eba3e5a8e260751126 Author: mario.six@gdsys.cc <mario.six@gdsys.cc> Date: 2016-04-25 08:31:05 +0200 dm: fsl_i2c: Rename probe method Signed-off-by: Mario Six <mario.six@gdsys.cc> Base directory -> / drivers/i2c/fsl_i2c.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) ------------------------------------------------------------------------------- commit 03a112aad6893ab1059e716b7bfc36fe759eaec5 Author: mario.six@gdsys.cc <mario.six@gdsys.cc> Date: 2016-04-25 08:31:04 +0200 dm: fsl_i2c: Remove unnecessary variable Signed-off-by: Mario Six <mario.six@gdsys.cc> Base directory -> / drivers/i2c/fsl_i2c.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) ------------------------------------------------------------------------------- commit 386b276918541f4108b56f0c7c422b64396f64f2 Author: mario.six@gdsys.cc <mario.six@gdsys.cc> Date: 2016-04-25 08:31:03 +0200 dm: fsl_i2c: Reword and clarify comment Signed-off-by: Mario Six <mario.six@gdsys.cc> Base directory -> / drivers/i2c/fsl_i2c.c | 20 ++++++-------------- 1 file changed, 6 insertions(+), 14 deletions(-) ------------------------------------------------------------------------------- commit 2b21e960348998fbaefc802613c37bfb6321969b Author: mario.six@gdsys.cc <mario.six@gdsys.cc> Date: 2016-04-25 08:31:02 +0200 dm: fsl_i2c: Use clearer parameter names Signed-off-by: Mario Six <mario.six@gdsys.cc> Base directory -> / drivers/i2c/fsl_i2c.c | 63 ++++++++++++++++++++++++++------------------------- 1 file changed, 32 insertions(+), 31 deletions(-) ------------------------------------------------------------------------------- commit ec2c81c5d4681274f9f9d079b08ed259ff20dc69 Author: mario.six@gdsys.cc <mario.six@gdsys.cc> Date: 2016-04-25 08:31:01 +0200 dm: fsl_i2c: Rename I2C register structure Signed-off-by: Mario Six <mario.six@gdsys.cc> Base directory -> / arch/m68k/include/asm/fsl_i2c.h | 2 +- arch/powerpc/include/asm/fsl_i2c.h | 2 +- arch/powerpc/include/asm/immap_85xx.h | 4 +- arch/powerpc/include/asm/immap_86xx.h | 4 +- board/keymile/km83xx/km83xx_i2c.c | 28 ++++---- drivers/i2c/fsl_i2c.c | 123 ++++++++++++++++++---------------- 6 files changed, 87 insertions(+), 76 deletions(-) ------------------------------------------------------------------------------- commit b6a77b0ce8ac21c154f02907c364b6d3e3c8af5e Author: Stefan Roese <sr@denx.de> Date: 2016-04-27 09:02:12 +0200 i2c: designware_i2c: Optionally check enable status register Some platforms don't implement the enable status register at offset 0x9c. The SPEAr600 platform is one of them. The recently added check to this status register can't be performend on these platforms. This patch introduces a new config option that can be enabled on such platforms not supporting this register. Signed-off-by: Stefan Roese <sr@denx.de> Cc: Heiko Schocher <hs@denx.de> Reviewed-by: Heiko Schocher <hs@denx.de> Base directory -> / drivers/i2c/designware_i2c.c | 9 +++++++++ 1 file changed, 9 insertions(+) ------------------------------------------------------------------------------- commit d79ac324789839b4b10b37e2ff64dd9e4a92441e Author: Michal Simek <michal.simek@xilinx.com> Date: 2016-04-25 10:50:42 +0200 i2c: muxes: Add support for TI PCA954X mux Add support for common TI i2c mux which is available on ZynqMP zcu102 board. DM i2c mux core code is selecting/deselecting bus before/after every command is performed that's why only one channel is active at a time. That's also the reason why deselect is just disable all available channels. Signed-off-by: Michal Simek <michal.simek@xilinx.com> Reviewed-by: Heiko Schocher <hs@denx.de> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / drivers/i2c/muxes/Kconfig | 10 ++++++ drivers/i2c/muxes/Makefile | 1 + drivers/i2c/muxes/pca954x.c | 79 +++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 90 insertions(+) ------------------------------------------------------------------------------- commit ad72e7622bd587dc798fbac0351b558fb18caa97 Author: Michal Simek <michal.simek@xilinx.com> Date: 2016-04-14 14:15:49 +0200 i2c: cdns: Support different bus speeds 400kHz is maximum freq which can be used on Xilinx ZynqMP. Support it with standard divider calculator. Input freq is hardcoded to 100MHz input freq till we have clock driver which can provide this information for exact configuration. Signed-off-by: Michal Simek <michal.simek@xilinx.com> Reviewed-by: Heiko Schocher <hs@denx.de> Base directory -> / drivers/i2c/i2c-cdns.c | 76 +++++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 69 insertions(+), 7 deletions(-) ------------------------------------------------------------------------------- commit 6150be9094bb155022da3843b56e6314edf54305 Author: Michal Simek <michal.simek@xilinx.com> Date: 2016-04-14 14:15:48 +0200 i2c: cdns: Moving speed setup from probe to set_bus_speed function set_bus_speed is the right function where bus speed should be setup. This move enable option to remove probe and remove functions which are empty. Signed-off-by: Michal Simek <michal.simek@xilinx.com> Base directory -> / drivers/i2c/i2c-cdns.c | 48 +++++++++++------------------------------------- 1 file changed, 11 insertions(+), 37 deletions(-) ------------------------------------------------------------------------------- commit a13767bc0ee8ccaf4e7f64192e7f1d408dc7f900 Author: Michal Simek <michal.simek@xilinx.com> Date: 2016-04-14 14:15:47 +0200 i2c: cdns: Read address from DT in ofdata_to_platdata Extract reading IP base address in function which is designed for it. Also enable option to read more information from DT in this function. Signed-off-by: Michal Simek <michal.simek@xilinx.com> Reviewed-by: Heiko Schocher <hs@denx.de> Base directory -> / drivers/i2c/i2c-cdns.c | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) ------------------------------------------------------------------------------- commit aeaec0e682f45b9e0c62c522fafea353931f73ed Author: Tom Rini <trini@konsulko.com> Date: 2016-05-16 10:40:32 -0400 Prepare v2016.05 Signed-off-by: Tom Rini <trini@konsulko.com> Base directory -> / Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit f0a711ec40a6af4ea438db0bd776886c32780ddd Author: Hans de Goede <hdegoede@redhat.com> Date: 2016-05-12 19:23:47 +0200 sunxi: Enable USB host in CHIP defconfig Reported-and-tested-by: Dennis Gilmore <dennis@ausil.us> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Ian Campbell <ijc@hellion.org.uk> Base directory -> / configs/CHIP_defconfig | 1 + 1 file changed, 1 insertion(+) ------------------------------------------------------------------------------- commit 4cf4600f2569d7677a6f3cd933d7a189de6e7973 Author: Heiko Schocher <hs@denx.de> Date: 2016-04-28 08:17:28 +0200 test, tools: update tbot documentation update tbot documentation in U-Boot, as I just merged the event system into tbots master branch. Signed-off-by: Heiko Schocher <hs@denx.de> Base directory -> / tools/tbot/README | 10 ++ tools/tbot/README.install | 246 ++++++++++++++++++---------------------------- 2 files changed, 103 insertions(+), 153 deletions(-) ------------------------------------------------------------------------------- commit b8218a9146814ad1dba0c21facddce9adca680ef Author: Heiko Schocher <hs@denx.de> Date: 2016-05-09 10:08:24 +0200 tests: py: fix NameError exception if bdi cmd is not supported test/py raises an error, if a board has not enabled bdi command > pytest.skip('bdinfo command not supported') E NameError: global name 'pytest' is not defined import pytest in test/py/u_boot_utils.py fixes this. Signed-off-by: Heiko Schocher <hs@denx.de> Reviewed-by: Stephen Warren <swarren@nvidia.com> Base directory -> / test/py/u_boot_utils.py | 1 + 1 file changed, 1 insertion(+) ------------------------------------------------------------------------------- commit 1ea4fac5a34604e67504ee6537bb01e809528cd4 Author: Andre Przywara <andre.przywara@arm.com> Date: 2016-05-12 12:14:41 +0100 arm/arm64: Move barrier instructions into separate header Commit bfb33f0bc45b ("sunxi: mctl_mem_matches: Add missing memory barrier") broke compilation for the Pine64, as dram_helper.c now includes <asm/armv7.h>, which does not compile on arm64. Fix this by moving all barrier instructions into a separate header file, which can easily be shared between arm and arm64. Also extend the inline assembly to take the "sy" argument, which is optional for ARMv7, but mandatory for v8. This fixes compilation for 64-bit sunxi boards (Pine64). Acked-by: Ian Campbell <ijc@hellion.org.uk> Signed-off-by: Andre Przywara <andre.przywara@arm.com> Base directory -> / arch/arm/include/asm/armv7.h | 21 +----------------- arch/arm/include/asm/barriers.h | 44 ++++++++++++++++++++++++++++++++++++++ arch/arm/mach-sunxi/dram_helpers.c | 2 +- 3 files changed, 46 insertions(+), 21 deletions(-) ------------------------------------------------------------------------------- commit 4baca92001bff3c32a05001a7dc58996623e3ef8 Author: Dinh Nguyen <dinguyen@kernel.org> Date: 2016-05-10 15:13:59 -0500 arm: socfpga: Update iomux and pll for c5 socdk RevE Update the pinmux and pll configuration for the Cyclone5 RevE or later devkit. Signed-off-by: Dinh Nguyen <dinguyen@opensource.altera.com> Base directory -> / board/altera/cyclone5-socdk/qts/pinmux_config.h | 38 ++++++++++++------------- board/altera/cyclone5-socdk/qts/pll_config.h | 34 +++++++++++----------- 2 files changed, 36 insertions(+), 36 deletions(-) ------------------------------------------------------------------------------- commit e8bd2a0bf6e334adaf7703c517989433e730091b Author: Fabio Estevam <fabio.estevam@nxp.com> Date: 2016-05-10 13:31:40 -0300 warp7: Fix boot by selecting CONFIG_OF_LIBFDT CONFIG_OF_LIBFDT needs to be selected to avoid the following boot problem: reading zImage 6346216 bytes read in 118 ms (51.3 MiB/s) Booting from mmc ... reading imx7d-warp.dtb 32593 bytes read in 11 ms (2.8 MiB/s) Kernel image @ 0x80800000 [ 0x000000 - 0x60d5e8 ] FDT and ATAGS support not compiled in - hanging ### ERROR ### Please RESET the board ### Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com> Base directory -> / configs/warp7_defconfig | 1 + 1 file changed, 1 insertion(+) ------------------------------------------------------------------------------- commit 15e8cb70b4ebe79aced432323eaafcd176341017 Author: Tom Rini <trini@konsulko.com> Date: 2016-05-06 22:12:29 -0400 Merge branch 'master' of git://git.denx.de/u-boot-socfpga Base directory -> / arch/arm/dts/socfpga_cyclone5_socrates.dts | 1 + arch/arm/mach-socfpga/misc.c | 2 +- configs/socfpga_socrates_defconfig | 1 + drivers/spi/cadence_qspi_apb.c | 254 ++++++++++------------------- 4 files changed, 90 insertions(+), 168 deletions(-) ------------------------------------------------------------------------------- commit 7b4f17bf3653ffff0d5d7b76bb8c2d8c293db4ce Author: Tom Rini <trini@konsulko.com> Date: 2016-05-06 22:12:15 -0400 Merge branch 'master' of git://git.denx.de/u-boot-usb Base directory -> / common/usb.c | 18 +++++++++++++++++- common/usb_hub.c | 1 + drivers/dfu/dfu.c | 4 +++- drivers/usb/gadget/f_dfu.c | 10 +--------- drivers/usb/host/dwc2.c | 9 +++++++++ drivers/usb/host/ehci-mx6.c | 7 +++++-- 6 files changed, 36 insertions(+), 13 deletions(-) ------------------------------------------------------------------------------- commit 12ff19dbfd93abdb62b7b326fee3f5bfa659a75e Author: Peng Fan <van.freenix@gmail.com> Date: 2016-05-03 10:25:22 +0800 usb: gadget: dfu: discard dead code Reported by Coverity: Logically dead code (DEADCODE) dead_error_line: Execution cannot reach this statement: (f_dfu->strings + --i).s = .... If calloc failed, i is still 0 and no need to call free, so discard the dead code. Signed-off-by: Peng Fan <van.freenix@gmail.com> Cc: "Łukasz Majewski" <l.majewski@samsung.com> Cc: Marek Vasut <marex@denx.de> Base directory -> / drivers/usb/gadget/f_dfu.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) ------------------------------------------------------------------------------- commit 5d8fae79163e94671956c99654abf48cf49757ba Author: Peng Fan <van.freenix@gmail.com> Date: 2016-05-03 10:24:52 +0800 dfu: avoid memory leak When dfu_fill_entity fail, need to free dfu to avoid memory leak. Reported by Coverity: " Resource leak (RESOURCE_LEAK) leaked_storage: Variable dfu going out of scope leaks the storage it points to. " Signed-off-by: Peng Fan <van.freenix@gmail.com> Cc: "Łukasz Majewski" <l.majewski@samsung.com> Cc: Marek Vasut <marex@denx.de> Base directory -> / drivers/dfu/dfu.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 2bf352f0c1b7f58d4610bc0777e8febbd2dfd5ff Author: Stefan Roese <sr@denx.de> Date: 2016-05-06 13:53:37 +0200 usb: dwc2: Add delay to fix the USB detection problem on SoCFPGA With patch c998da0d (usb: Change power-on / scanning timeout handling), the USB scanning is started earlier and with a smaller timeout. This resulted on SoCFPGA (using the DWC2 driver) in some USB sticks not getting detected any more. This patch now adds a 1 second delay (in the host mode only) to the DWC2 driver before the scanning is started. With this delay, now all problematic USB keys are detected successfully again. And there is no need any more to change the delay / timeout in the common USB code (usb_hub.c). Signed-off-by: Stefan Roese <sr@denx.de> Cc: Chin Liang See <clsee@altera.com> Cc: Dinh Nguyen <dinguyen@opensource.altera.com> Cc: Hans de Goede <hdegoede@redhat.com> Cc: Stephen Warren <swarren@nvidia.com> Cc: Marek Vasut <marex@denx.de> Base directory -> / drivers/usb/host/dwc2.c | 9 +++++++++ 1 file changed, 9 insertions(+) ------------------------------------------------------------------------------- commit d81db48d418edc30301961781d8a64d7cc109dd4 Author: Marek Vasut <marex@denx.de> Date: 2016-05-03 22:22:59 +0200 usb: hub: Don't continue on get_port_status failure The code shouldn't continue probing the port if get_port_status() failed. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Chin Liang See <clsee@altera.com> Cc: Dinh Nguyen <dinguyen@opensource.altera.com> Cc: Hans de Goede <hdegoede@redhat.com> Cc: Stefan Roese <sr@denx.de> Cc: Stephen Warren <swarren@nvidia.com> Base directory -> / common/usb_hub.c | 1 + 1 file changed, 1 insertion(+) ------------------------------------------------------------------------------- commit ef71290be9b70d8cfa63b506c7d93c5069f63c42 Author: Marek Vasut <marex@denx.de> Date: 2016-04-27 03:32:56 +0200 usb: Assure Get Descriptor request is in separate microframe The Kingston DT Ultimate USB 3.0 stick is sensitive to this first Get Descriptor request and if the request is not in a separate microframe, the stick refuses to operate. Add slight delay, which is enough for one microframe to pass on any USB spec revision. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Chin Liang See <clsee@altera.com> Cc: Dinh Nguyen <dinguyen@opensource.altera.com> Cc: Hans de Goede <hdegoede@redhat.com> Cc: Stefan Roese <sr@denx.de> Cc: Stephen Warren <swarren@nvidia.com> Base directory -> / common/usb.c | 8 ++++++++ 1 file changed, 8 insertions(+) ------------------------------------------------------------------------------- commit f647bf0ba36a5236d4bc7f93d39bfacfb1cfe6c7 Author: Marek Vasut <marex@denx.de> Date: 2016-04-27 03:08:12 +0200 usb: Wait after sending Set Configuration request Some devices, like the SanDisk Cruzer Pop need some time to process the Set Configuration request, so wait a little until they are ready. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Chin Liang See <clsee@altera.com> Cc: Dinh Nguyen <dinguyen@opensource.altera.com> Cc: Hans de Goede <hdegoede@redhat.com> Cc: Stefan Roese <sr@denx.de> Cc: Stephen Warren <swarren@nvidia.com> Base directory -> / common/usb.c | 8 ++++++++ 1 file changed, 8 insertions(+) ------------------------------------------------------------------------------- commit 5289c5fa5371dada10e9cbdcdbf3fb010905ea2d Author: Anatolij Gustschin <agust@denx.de> Date: 2016-05-06 17:16:31 +0200 socfpga: fix broken build if CONFIG_ETH_DESIGNWARE disabled Building without ethernet driver doesn't work. Fix it. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Marek Vasut <marex@denx.de> Base directory -> / arch/arm/mach-socfpga/misc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 5a824c493a31d06f04a6736fab8f67bf78145003 Author: Marek Vasut <marex@denx.de> Date: 2016-04-27 23:38:05 +0200 mtd: cqspi: Simplify indirect read code The indirect read code is a pile of nastiness. This patch replaces the whole unmaintainable indirect read implementation with the one from upcoming Linux CQSPI driver, which went through multiple rounds of thorough review and testing. All the patch does is it plucks out duplicate ad-hoc code distributed across the driver and replaces it with more compact code doing exactly the same thing. There is no speed change of the read operation. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Anatolij Gustschin <agust@denx.de> Cc: Chin Liang See <clsee@altera.com> Cc: Dinh Nguyen <dinguyen@opensource.altera.com> Cc: Jagan Teki <jteki@openedev.com> Cc: Pavel Machek <pavel@denx.de> Cc: Stefan Roese <sr@denx.de> Cc: Vignesh R <vigneshr@ti.com> Base directory -> / drivers/spi/cadence_qspi_apb.c | 128 ++++++++++++++++++----------------------- 1 file changed, 57 insertions(+), 71 deletions(-) ------------------------------------------------------------------------------- commit 26da6353e17111d7f0882866950cf26a679b8d5f Author: Marek Vasut <marex@denx.de> Date: 2016-04-27 23:18:55 +0200 mtd: cqspi: Simplify indirect write code The indirect write code is buggy pile of nastiness which fails horribly when the system runs fast enough to saturate the controller. The failure results in some pages (256B) not being written to the flash. This can be observed on systems which run with Dcache enabled and L2 cache enabled, like the Altera SoCFPGA. This patch replaces the whole unmaintainable indirect write implementation with the one from upcoming Linux CQSPI driver, which went through multiple rounds of thorough review and testing. While this makes the patch look terrifying and violates all best-practices of software development, all the patch does is it plucks out duplicate ad-hoc code distributed across the driver and replaces it with more compact code doing exactly the same thing. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Anatolij Gustschin <agust@denx.de> Cc: Chin Liang See <clsee@altera.com> Cc: Dinh Nguyen <dinguyen@opensource.altera.com> Cc: Jagan Teki <jteki@openedev.com> Cc: Pavel Machek <pavel@denx.de> Cc: Stefan Roese <sr@denx.de> Cc: Vignesh R <vigneshr@ti.com> Base directory -> / drivers/spi/cadence_qspi_apb.c | 126 ++++++++++------------------------------- 1 file changed, 30 insertions(+), 96 deletions(-) ------------------------------------------------------------------------------- commit 8b1a07493f0ad56fafaccce640a0403500e57a78 Author: Stefan Roese <sr@denx.de> Date: 2016-04-28 07:17:16 +0200 arm: socfpga: socrates: Add 'time' command The time command is very helpful for performance and regressions tests. So lets enable it on SoCrates. Signed-off-by: Stefan Roese <sr@denx.de> Cc: Marek Vasut <marex@denx.de> Base directory -> / configs/socfpga_socrates_defconfig | 1 + 1 file changed, 1 insertion(+) ------------------------------------------------------------------------------- commit 268da813c7f963c8318778de99be382d6b51055d Author: Marek Vasut <marex@denx.de> Date: 2016-04-27 15:07:03 +0200 ARM: socfpga: Disable USB OC protection on SoCrates This is mandatory, otherwise the USB does not work. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Stefan Roese <sr@denx.de> Cc: Dinh Nguyen <dinguyen@kernel.org> Base directory -> / arch/arm/dts/socfpga_cyclone5_socrates.dts | 1 + 1 file changed, 1 insertion(+) ------------------------------------------------------------------------------- commit 2f1b4302e352800b8b651a300281a7fae67cdf80 Author: Marek Vasut <marex@denx.de> Date: 2016-04-27 01:55:10 +0200 usb: Don't init pointer to zero, but NULL The pointer should always be inited to NULL, not zero (0). These are two different things and not necessarily equal. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Chin Liang See <clsee@altera.com> Cc: Dinh Nguyen <dinguyen@opensource.altera.com> Cc: Hans de Goede <hdegoede@redhat.com> Cc: Stefan Roese <sr@denx.de> Cc: Stephen Warren <swarren@nvidia.com> Base directory -> / common/usb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 79d867c2e683f7080a8724a54a4a12ac0ce1f837 Author: Stefan Agner <stefan@agner.ch> Date: 2016-05-05 16:59:12 -0700 usb: ehci-mx6: allow board_ehci_hcd_init to fail There could be runtime determined board specific reason why a EHCI initialization fails (e.g. ENODEV if a Port is not available). In this case, properly return the error code. While at it, that function (board_ehci_hcd_init) has actually two documentation blocks... Use the correct function name for the documentation block of board_usb_phy_mode. Signed-off-by: Stefan Agner <stefan@agner.ch> Base directory -> / drivers/usb/host/ehci-mx6.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit ad7af5d7e4caf49581c7403d5a8edc0f11a5f652 Author: Peng Fan <peng.fan@nxp.com> Date: 2016-05-04 15:27:50 +0800 imx6: cache: disable L2 before touching Auxiliary Control Register According PL310 TRM, Auxiliary Control Register " The register must be written to using a secure access, and it can be read using either a secure or a NS access. If you write to this register with a NS access, it results in a write response with a DECERR response, and the register is not updated. Writing to this register with the L2 cache enabled, that is, bit[0] of L2 Control Register set to 1, results in a SLVERR. " So If L2 cache is already enabled by ROM, chaning value of ACR will cause SLVERR and uboot hang. Signed-off-by: Peng Fan <peng.fan@nxp.com> Cc: Stefano Babic <sbabic@denx.de> Cc: Fabio Estevam <fabio.estevam@nxp.com> Base directory -> / arch/arm/imx-common/cache.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) ------------------------------------------------------------------------------- commit daa69f5f5dba48406836b1879434fc4af4bb7df7 Author: Stephen Warren <swarren@nvidia.com> Date: 2016-05-05 17:02:06 -0600 test/py: dfu: wait for USB device to go away at boot It can take a while for a host machine to notice that a USB device has disconnected, and process the change. At the end of the DFU test, we wait up to 10 seconds for this to happen. This change makes the test wait the same (up to) 10 seconds at the start of the test for any previously active USB device-mode session to be cleaned up. Such as session might have been used to download U-Boot into memory for example; this is certainly true on my Tegra test systems. This changes should solve the DFU test intermittency issues I've been seeing on some Tegra devices. Signed-off-by: Stephen Warren <swarren@nvidia.com> Base directory -> / test/py/tests/test_dfu.py | 2 ++ 1 file changed, 2 insertions(+) ------------------------------------------------------------------------------- commit b67d6b003cfdaf04335c3aaca3b27f15e7c6f204 Author: Russ Dill <russ.dill@ti.com> Date: 2016-05-05 08:52:10 -0500 ARM: am33xx: Fix DDR initialization delays The current delays in the DDR initialization routines for am33xx architectures are sometimes not running long enough leading to DDR init errors. On am437x, this shows up as an L3 NOC error after the kernel boots. This is due to the timer not being initialized properly, but instead still containing the timer init values from the boot ROM which cause timers to expire in 1/4th the time required. timer_init is typically not called until board_init_r, however on am33xx/am43xx udelay is required in sdram_init which is called from board_init_f, so a call to timer_init is required earlier. Note that this issue introduced in v2015.01 by: b352dde "am33xx: Drop timer_init call from s_init". Although this could instead fixed by reverting said commit, it would cause timer_init to be called twice in both SPL and non-SPL cases. This gives a little more fine grained control and also matches what is being done on omap-command and fsl-layerscape. Signed-off-by: Russ Dill <russ.dill@ti.com> Base directory -> / arch/arm/cpu/armv7/am33xx/clock.c | 1 + 1 file changed, 1 insertion(+) ------------------------------------------------------------------------------- commit 116611937faab3a0b2adf4db612aeb4cf1391941 Author: Stephen Warren <swarren@nvidia.com> Date: 2016-04-28 12:45:44 -0600 ARM: fix ifdefs in ARMv8 lowlevel_init() Commit 724219a65f55 "ARM: always perform per-CPU GIC init" removed some ifdefs to unify the MULTIENTRY-vs-non-MULTIENTRY paths. However, the wrong endif was removed. This patch adds back that missing endif, and adds a new ifdef to match the endif the now-correctly-terminated block used to match against. Use "git show -U25 724219a65f55" to see enough context to make the original issue clear. In practical terms, this makes no difference to runtime behaviour. The code that was incorrectly compiled into the binary when ifndef MULTIENTRY is a no-op for other cases, since branch_if_master evaluates to a hard- coded jump. The only issues were: - A few extra instructions were added to the binary. - The comment on the endif at the very end of the function, indicating which ifdef it matched, were wrong. An alternative might be to simply fix the comment on that trailing ifdef, but that only addresses the second point above, not the first. Fixes: 724219a65f55 ("ARM: always perform per-CPU GIC init") Cc: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Stephen Warren <swarren@nvidia.com> Reviewed-by: Masahiro Yamada <yamada.masahiro@socionext.com> Base directory -> / arch/arm/cpu/armv8/start.S | 2 ++ 1 file changed, 2 insertions(+) ------------------------------------------------------------------------------- commit 1cc0a9f49657734c54939f03fc1e3ca0ec9d7eef Author: Robert P. J. Day <rpjday@crashcourse.ca> Date: 2016-05-04 04:47:31 -0400 Fix various typos, scattered over the code. Spelling corrections for (among other things): * environment * override * variable * ftd (should be "fdt", for flattened device tree) * embedded * FTDI * emulation * controller Base directory -> / arch/arm/cpu/armv8/fsl-layerscape/fsl_lsch3_speed.c | 2 +- arch/arm/mach-uniphier/boot-mode/boot-mode.c | 2 +- arch/mips/Kconfig | 2 +- arch/powerpc/cpu/ppc4xx/denali_spd_ddr2.c | 2 +- board/freescale/common/fsl_validate.c | 4 ++-- board/freescale/mx28evk/README | 2 +- cmd/fdt.c | 2 +- cmd/mtdparts.c | 2 +- doc/README.commands.spl | 2 +- doc/README.marubun-pcmcia | 2 +- doc/README.mxs | 4 ++-- doc/SPI/README.sandbox-spi | 2 +- doc/SPI/README.ti_qspi_flash | 2 +- drivers/bios_emulator/x86emu/decode.c | 2 +- drivers/dfu/Kconfig | 6 +++--- drivers/net/macb.c | 2 +- drivers/net/sh_eth.c | 2 +- drivers/net/sh_eth.h | 2 +- drivers/thermal/Kconfig | 2 +- include/configs/hikey.h | 2 +- include/configs/omap3_logic.h | 2 +- include/configs/pengwyn.h | 2 +- include/fdtdec.h | 2 +- tools/moveconfig.py | 4 ++-- 24 files changed, 29 insertions(+), 29 deletions(-) ------------------------------------------------------------------------------- commit b955e42bad81a2ddad2f82c1843771de9bdfe6d4 Author: Marek Vasut <marex@denx.de> Date: 2016-05-04 16:35:25 +0200 mmc: Fix error in RPMB code Since we do not build any board with CONFIG_SUPPORT_EMMC_RPMB , this piece of code evaded conversion. Fix the following compiler error: cmd/mmc.c: In function 'do_mmcrpmb': cmd/mmc.c:316:32: error: 'struct blk_desc' has no member named 'part_num' original_part = mmc->block_dev.part_num; ^ Signed-off-by: Marek Vasut <marex@denx.de> Cc: Pantelis Antoniou <panto@antoniou-consulting.com> Cc: Tom Rini <trini@konsulko.com> Base directory -> / cmd/mmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 4bf11dc88c246c354ab6060309018a8feb97ec10 Author: Ash Charles <ashcharles@gmail.com> Date: 2016-05-05 11:58:07 -0700 omap4: duovero: Disable EFI booting The DuoVero board fails to compile with EFI enabled as the generated binaries are too large. As this platform doesn't currently need EFI, disable this feature. Signed-off-by: Ash Charles <ashcharles@gmail.com> Base directory -> / include/configs/duovero.h | 1 + 1 file changed, 1 insertion(+) ------------------------------------------------------------------------------- commit ea948590a3e0bd08021f110db9784a6d201ea810 Author: Ash Charles <ashcharles@gmail.com> Date: 2016-05-05 11:58:06 -0700 omap4: load files for legacy boot Be sure to load the zImage and fdtfile prior to actually booting in case we are doing a legacy boot. Signed-off-by: Ash Charles <ashcharles@gmail.com> Base directory -> / include/configs/ti_omap4_common.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit bbca7108db79076d3a9a9c112792d7c4608a665c Author: Stephen Warren <swarren@nvidia.com> Date: 2016-04-21 16:03:37 -0600 ARM: tegra: import latest Jetson TK1 spreadsheet This imports v11 of "Jetson TK1 Development Platform Pin Mux" from https://developer.nvidia.com/embedded/downloads. The new version defines the mux option for the MIPI pad ctrl selection. The OWR pin no longer has an entry in the configuration table because the only mux option it support is OWR, that feature isn't supported, and hence can't conflict with any other pin. This pin can only usefully be used as a GPIO. Signed-off-by: Stephen Warren <swarren@nvidia.com> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Warren <twarren@nvidia.com> Base directory -> / board/nvidia/jetson-tk1/jetson-tk1.c | 3 +++ board/nvidia/jetson-tk1/pinmux-config-jetson-tk1.h | 12 +++++++++++- 2 files changed, 14 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit f5c6db84e71c60bfc7ae746bfb2cd1090d0b8765 Author: Stephen Warren <swarren@nvidia.com> Date: 2016-04-20 15:46:50 -0600 pci: tegra: fix DM conversion issues on Tegra20 Tegra20's PCIe controller has a couple of quirks. There are workarounds in the driver for these, but they don't work after the DM conversion: 1) The PCI_CLASS value is wrong in HW. This is worked around in pci_tegra_read_config() by patching up the value read from that register. Pre-DM, the PCIe core always read this via a 16-bit access to the 16-bit offset 0xa. With DM, 32-bit accesses are used, so we need to check for offset 0x8 instead. Mask the offset value back to 32-bit alignment to make this work in all cases. 2) Accessing devices other than dev 1 causes a data abort. Pre-DM, this was worked around in pci_skip_dev(), which the PCIe core code called during enumeration while iterating over a bus. The DM PCIe core doesn't use this function. Instead, enhance tegra_pcie_conf_address() to validate the bdf being accessed, and refuse to access invalid devices. Since pci_skip_dev() isn't used, delete it. I've also validated that both these WARs are only needed for Tegra20, by testing on Tegra30/Cardhu and Tegra124/Jetson TKx. So, compile them in conditionally. Fixes: e81ca88451cf ("dm: tegra: pci: Convert tegra boards to driver model for PCI") Signed-off-by: Stephen Warren <swarren@nvidia.com> Reviewed-by: Thierry Reding <treding@nvidia.com> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Warren <twarren@nvidia.com> Base directory -> / drivers/pci/pci_tegra.c | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) ------------------------------------------------------------------------------- commit d9b6f58efd21adf892c2507a46a0d04dd1441650 Author: Stephen Warren <swarren@nvidia.com> Date: 2016-04-12 11:17:39 -0600 ARM: tegra: enable GPU node by compatible value In current Linux kernel Tegra DT files, 64-bit addresses are represented in unit addresses as a pair of comma-separated 32-bit values. Apparently this is no longer the correct representation for simple busses, and the unit address should be represented as a single 64-bit value. If this is changed in the DTs, arm/arm/mach-tegra/board2.c:ft_system_setup() will no longer be able to find and enable the GPU node, since it looks up the node by name. Fix that function to enable nodes based on their compatible value rather than their node name. This will work no matter what the node name is, i.e for DTs both before and after any rename operation. Cc: Thierry Reding <treding@nvidia.com> Cc: Alexandre Courbot <acourbot@nvidia.com> Signed-off-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Tom Warren <twarren@nvidia.com> Base directory -> / arch/arm/include/asm/arch-tegra/gpu.h | 2 +- arch/arm/mach-tegra/board2.c | 20 +++++++++++++------- arch/arm/mach-tegra/gpu.c | 15 ++++++++------- 3 files changed, 22 insertions(+), 15 deletions(-) ------------------------------------------------------------------------------- commit b38eaec53570821043c94ad44eabcb23747d9969 Author: Robert P. J. Day <rpjday@crashcourse.ca> Date: 2016-05-03 19:52:49 -0400 include/configs: Numerous typo fixes: "controler" -> "controller". Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Base directory -> / include/configs/B4860QDS.h | 2 +- include/configs/BSC9132QDS.h | 2 +- include/configs/C29XPCIE.h | 2 +- include/configs/MPC8536DS.h | 6 +++--- include/configs/MPC8544DS.h | 6 +++--- include/configs/MPC8548CDS.h | 2 +- include/configs/MPC8572DS.h | 6 +++--- include/configs/MPC8610HPCD.h | 2 +- include/configs/MPC8641HPCN.h | 4 ++-- include/configs/P1010RDB.h | 4 ++-- include/configs/P1022DS.h | 6 +++--- include/configs/P1023RDB.h | 6 +++--- include/configs/P2041RDB.h | 6 +++--- include/configs/T102xQDS.h | 6 +++--- include/configs/T102xRDB.h | 8 ++++---- include/configs/T1040QDS.h | 8 ++++---- include/configs/T104xRDB.h | 8 ++++---- include/configs/T208xQDS.h | 8 ++++---- include/configs/T208xRDB.h | 8 ++++---- include/configs/T4240RDB.h | 6 +++--- include/configs/controlcenterd.h | 2 +- include/configs/corenet_ds.h | 4 ++-- include/configs/cyrus.h | 4 ++-- include/configs/km/kmp204x-common.h | 4 ++-- include/configs/ls1021aqds.h | 4 ++-- include/configs/ls1021atwr.h | 4 ++-- include/configs/ls2080a_common.h | 8 ++++---- include/configs/p1_p2_rdb_pc.h | 4 ++-- include/configs/p1_twr.h | 4 ++-- include/configs/sbc8641d.h | 4 ++-- include/configs/t4qds.h | 6 +++--- include/configs/xpedite517x.h | 4 ++-- include/configs/xpedite537x.h | 4 ++-- include/configs/xpedite550x.h | 2 +- 34 files changed, 82 insertions(+), 82 deletions(-) ------------------------------------------------------------------------------- commit 700877a62bfa88ef6e0267749db49f4dc63e2ea2 Author: Stefan Agner <stefan@agner.ch> Date: 2016-04-13 16:38:02 -0700 net: increase maximum frame size to accomediate VLAN packets Ethernet packages with IEEE 802.1Q VLAN support may be up to 1522 bytes long. Increase the default size used to allocate packet storage by 4 bytes. While at it, let git care about history and rewrite the comment to represent the situation today only. Signed-off-by: Stefan Agner <stefan@agner.ch> Reviewed-by: Tom Rini <trini@konsulko.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com> Base directory -> / include/net.h | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) ------------------------------------------------------------------------------- commit 0299cee53014f12a60c5b7d317eb2e6ea97c530d Author: Stefan Agner <stefan@agner.ch> Date: 2016-04-13 16:38:01 -0700 net: fix vlan validation VLAN identifiers are 12-bit decimal numbers, not IP addresses. Signed-off-by: Stefan Agner <stefan@agner.ch> Reviewed-by: Tom Rini <trini@konsulko.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com> Base directory -> / include/env_flags.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit 31a48cf4e158160e0482415457ef0f69f079368d Author: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com> Date: 2016-03-28 14:11:05 +0530 drivers: net: ldpaa: Memset pools_params as "0" before use Memset pools_params as "0" to avoid garbage value in dpni_set_pools. Signed-off-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com> Reported-by: Jose Rivera <german.rivera@nxp.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com> Base directory -> / drivers/net/ldpaa_eth/ldpaa_eth.c | 1 + 1 file changed, 1 insertion(+) ------------------------------------------------------------------------------- commit a434fd1d282fd32d81296c6d4c2e0911f6e488b3 Author: Lev Iserovich <Lev.Iserovich@deshawresearch.com> Date: 2016-01-07 18:04:16 -0500 fdt: fix setting MAC addresses for multiple interfaces For multiple ethernet interfaces the FDT offset of '/aliases' will change as we are adding MAC addresses to the FDT. Therefore only the first interface ('ethernet0') will get properly updated in the FDT, with the rest getting FDT errors when we try to set their MAC address. Signed-off-by: Lev Iserovich <iserovil@deshawresearch.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com> Base directory -> / common/fdt_support.c | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) ------------------------------------------------------------------------------- commit e96e064f51139c4af39f14499564ef76e40bbc29 Author: Marek Vasut <marex@denx.de> Date: 2016-04-26 03:02:35 +0200 usb: dwc2: Init desc_before_addr Initialize desc_before_addr, otherwise the USB core won't send the first 64B Get Device Descriptor request in common/usb.c function usb_setup_descriptor() . There are some USB devices which expect this sequence and otherwise can misbehave. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Dinh Nguyen <dinguyen@opensource.altera.com> Cc: Tom Rini <trini@konsulko.com> Base directory -> / drivers/usb/host/dwc2.c | 3 +++ 1 file changed, 3 insertions(+) ------------------------------------------------------------------------------- commit b4fbd089e4b7ead53d4a27148f6df9c18572b1ce Author: Marek Vasut <marex@denx.de> Date: 2016-04-27 14:58:49 +0200 usb: dwc2: Make OC protection configurable Introduce a new flag in the controller private data, which allows selectively disabling the OC protection. Use the standard 'disable-over-current' OF prop to set this flag. This OC protection must be disabled on EBV SoCrates rev 1. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Stefan Roese <sr@denx.de> Cc: Dinh Nguyen <dinguyen@kernel.org> Base directory -> / drivers/usb/host/dwc2.c | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) ------------------------------------------------------------------------------- commit 618da5630b5629d1c506be17f642502b483dab1a Author: Marek Vasut <marex@denx.de> Date: 2016-04-27 14:55:57 +0200 usb: dwc2: Pull Ext VBUS macro from dwc_otg_core_init() Introduce a boolean flag in the dwc2 controller private data and set it according to the macro (for now) instead of having this macro directly in the dwc_otg_core_init(). This will let us configure the flag from DT or such later on, if needed. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Stefan Roese <sr@denx.de> Cc: Dinh Nguyen <dinguyen@kernel.org> Base directory -> / drivers/usb/host/dwc2.c | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) ------------------------------------------------------------------------------- commit 559019894b8db38a2cf3f74bed78be505d4f9a27 Author: Marek Vasut <marex@denx.de> Date: 2016-04-27 14:53:33 +0200 usb: dwc2: Pass private data into dwc_otg_core_init() Pass the whole bulk of private data instead of just the regs, since the private data will soon contain important configuration flags. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Stefan Roese <sr@denx.de> Cc: Dinh Nguyen <dinguyen@kernel.org> Base directory -> / drivers/usb/host/dwc2.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit e7fbcbc2566ab4bbcb07889a5791972ac49fa407 Author: Enric Balletbo i Serra <enric.balletbo@collabora.com> Date: 2016-05-03 08:59:24 +0200 igep00x0: Use the SRAM available for SPL. Move CONFIG_SPL_TEXT_BASE down to 0x40200000 and set CONFIG_SPL_MAX_SIZE to (SRAM_SCRATCH_SPACE_ADDR - CONFIG_SPL_TEXT_BASE), so that it's clear what the limit is. This will also help some compilers to fit all the code into the allocated space. Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com> Base directory -> / include/configs/omap3_igep00x0.h | 7 +++++++ 1 file changed, 7 insertions(+) ------------------------------------------------------------------------------- commit 8edeac86db306482b9bcb860d572320a8c3ed95d Author: Andreas Bießmann <andreas@biessmann.org> Date: 2016-05-03 15:17:03 +0200 mkimage: fix generation of FIT image Commit 7a439cadcf3192eb012a2432ca34670b676c74d2 broke generation of SPL loadable FIT images (CONFIG_SPL_LOAD_FIT). Fix it by removing the unnecessary storage of expected image type. This was a left over of the previous implementation. It is not longer necessary since the mkimage -b switch always has one parameter. Tested-by: Lokesh Vutla <lokeshvutla@ti.com> Signed-off-by: Andreas Bießmann <andreas@biessmann.org> Base directory -> / tools/mkimage.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) ------------------------------------------------------------------------------- commit a6e7b7744e158c4c02f91fcbf991845cad4dc6e3 Author: Mario Six <six@gdsys.de> Date: 2016-04-20 10:44:52 +0200 i2c/eeprom: Always define I2C_RXTX_LEN I2C_RXTX_LEN from include/i2c.h is not defined if CONFIG_DM_I2C is enabled. This leads to a compilation error on boards that enable both CONFIG_CMD_EEPROM and CONFIG_DM_I2C. To avoid this, we define I2C_RXTX_LEN in cmd/eeprom.c if it is not already defined. Signed-off-by: Mario Six <mario.six@gdsys.cc> Base directory -> / cmd/eeprom.c | 4 ++++ 1 file changed, 4 insertions(+) ------------------------------------------------------------------------------- commit 58abb988ce24525474f0d515d2a36c1b3acf893f Author: Fabio Estevam <fabio.estevam@nxp.com> Date: 2016-04-20 22:48:13 -0300 mx6ul_evk: Remove CONFIG_SUPPORT_EMMC_BOOT mx6ul_evk does not come with a eMMC populated, so we should not define CONFIG_SUPPORT_EMMC_BOOT as it causes SPL to not be able to boot some brands of SD cards, such as SanDisk microSD HC - 8GB: U-Boot SPL 2016.05-rc1-28384-g108f841 (Apr 19 2016 - 11:19:11) Trying to boot from MMC1 spl: mmc block read error SPL: failed to boot from all boot devices ### ERROR ### Please RESET the board ### When CONFIG_SUPPORT_EMMC_BOOT is defined spl_boot_mode() returns MMCSD_MODE_EMMCBOOT, so remove this option to have a reliable boot via SD card. Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com> Base directory -> / include/configs/mx6ul_14x14_evk.h | 1 - 1 file changed, 1 deletion(-) ------------------------------------------------------------------------------- commit fd2d1e0d47d585eac936a7239eb2bdad7e07a8cc Author: Michal Simek <michal.simek@xilinx.com> Date: 2016-04-28 09:08:18 +0200 kbuild: Do not append dtb for OF_EMBED case dtb is already included in binary that's why there is no need to replace u-boot-spl.bin with u-boot-spl-dtb.bin. This is only needed for OF_SEPARATE is enabled. Only copy -nodtb.bin version which is straight output from objcopy -O binary. Signed-off-by: Michal Simek <michal.simek@xilinx.com> Reviewed-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / scripts/Makefile.spl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 4c1dc1a90fb60c2e5f28351b6ff2ae187dc587ef Author: Simon Glass <sjg@chromium.org> Date: 2016-05-01 17:12:24 -0600 fit_image: Fix a double close() on the error path There is an extra close() call which is not needed. Reported-by: Coverity (CID: 143065) Signed-off-by: Simon Glass <sjg@chromium.org> Base directory -> / tools/fit_image.c | 1 - 1 file changed, 1 deletion(-) ------------------------------------------------------------------------------- commit 925c97c248527391de32c2926f7e1911850fd4b0 Author: Anatolij Gustschin <agust@denx.de> Date: 2016-04-29 22:00:11 +0200 tools: env: fix config file loading in env library env library is broken as the config file pointer is only initialized in main(). When running in the env library parse_config() fails: Cannot parse config file '(null)': Bad address Ensure that config file pointer is always initialized. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Stefano Babic <sbabic@denx.de> Base directory -> / tools/env/fw_env.c | 3 +++ 1 file changed, 3 insertions(+) ------------------------------------------------------------------------------- commit f9f9d2d625056b674145b6773fe2d91852e4a7fa Author: matwey.kornilov@gmail.com <matwey.kornilov@gmail.com> Date: 2016-05-01 19:58:31 +0300 config: am335x_evm: detect BoneGreen using BBG1 Since 770e68c0a37fded897d4bdda661614fc81cb33d2 BoneGreen is detected in board_late_init as board_name 'BBG1' Signed-off-by: Matwey V. Kornilov <matwey.kornilov@gmail.com> Base directory -> / include/configs/am335x_evm.h | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) ------------------------------------------------------------------------------- commit eae4b2b67bc8c68e2440616a447ca6c6898ad188 Author: Vagrant Cascadian <vagrant@debian.org> Date: 2016-04-30 19:18:00 -0700 Fix spelling of "occurred". Signed-off-by: Vagrant Cascadian <vagrant@debian.org> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / board/bf533-ezkit/flash.c | 2 +- board/mpl/pip405/pip405.c | 2 +- board/tqc/tqm5200/cmd_stk52xx.c | 2 +- cmd/fdc.c | 8 ++++---- common/kgdb.c | 2 +- common/usb_hub.c | 2 +- drivers/ddr/marvell/a38x/ddr3_init.h | 2 +- drivers/ddr/marvell/axp/ddr3_hw_training.h | 2 +- drivers/i2c/kona_i2c.c | 2 +- drivers/mtd/nand/omap_gpmc.c | 4 ++-- drivers/net/4xx_enet.c | 4 ++-- drivers/net/enc28j60.c | 2 +- drivers/net/ne2000_base.c | 4 ++-- drivers/usb/gadget/mpc8xx_udc.c | 2 +- drivers/usb/musb/musb_hcd.c | 6 +++--- include/linux/fb.h | 4 ++-- include/test/ut.h | 12 ++++++------ include/usbdevice.h | 2 +- 18 files changed, 32 insertions(+), 32 deletions(-) ------------------------------------------------------------------------------- commit 09c2b8f3e39925e5bdff12cb90add09bc9e117d4 Author: Andreas Bießmann <andreas.devel@googlemail.com> Date: 2016-05-01 03:46:16 +0200 Change my mailaddress I'll switch my mails to my own server, so drop all gmail references. Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com> Base directory -> / .mailmap | 1 + MAINTAINERS | 4 ++-- arch/arm/lib/stack.c | 2 +- arch/arm/mach-at91/arm920t/at91rm9200_devices.c | 2 +- arch/arm/mach-at91/arm920t/cpu.c | 2 +- arch/avr32/cpu/mmc.c | 2 +- arch/avr32/lib/bootm.c | 2 +- arch/avr32/lib/dram_init.c | 2 +- arch/powerpc/lib/stack.c | 2 +- board/atmel/at91rm9200ek/MAINTAINERS | 2 +- board/atmel/at91rm9200ek/at91rm9200ek.c | 2 +- board/atmel/at91rm9200ek/led.c | 2 +- board/atmel/atngw100mkii/MAINTAINERS | 2 +- board/atmel/atngw100mkii/atngw100mkii.c | 2 +- board/in-circuit/grasshopper/MAINTAINERS | 2 +- doc/README.at91-soc | 2 +- doc/README.atmel_pmecc | 2 +- doc/git-mailrc | 2 +- include/configs/atngw100mkii.h | 2 +- include/linux/mtd/omap_gpmc.h | 2 +- lib/hang.c | 2 +- tools/atmel_pmecc_params.c | 2 +- tools/atmelimage.c | 2 +- 23 files changed, 24 insertions(+), 23 deletions(-) ------------------------------------------------------------------------------- commit 7a439cadcf3192eb012a2432ca34670b676c74d2 Author: Andreas Bießmann <andreas.devel@googlemail.com> Date: 2016-05-01 03:01:27 +0200 mkimage: fix argument parsing on BSD systems The getopt(3) optstring '-' is a GNU extension which is not available on BSD systems like OS X. Remove this dependency by implementing argument parsing in another way. This will also change the lately introduced '-b' switch behaviour. Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Base directory -> / Makefile | 2 +- doc/mkimage.1 | 6 +++--- tools/mkimage.c | 33 ++++++++++++--------------------- 3 files changed, 16 insertions(+), 25 deletions(-) ------------------------------------------------------------------------------- commit f1ab00fb537251b782147830dd6019087fc75fdc Author: Tom Rini <trini@konsulko.com> Date: 2016-05-02 18:36:07 -0400 arch/arm/imx-common/Makefile: Update u-boot.uim MKIMAGEFLAGS We need to be passing -T firmware here and aren't. Signed-off-by: Tom Rini <trini@konsulko.com> Base directory -> / arch/arm/imx-common/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 37f23885e4905ff500a8524328aa3084ac11cdb4 Author: Ronald Zachariah <rozachar@cisco.com> Date: 2016-04-28 07:08:34 +0200 fs: ext4: fix symlink read function The function ext4fs_read_symlink was unable to handle a symlink which had target name of exactly 60 characters. Signed-off-by: Ronald Zachariah <rozachar@cisco.com> Signed-off-by: Stefan Roese <sr@denx.de> Reviewed-by: Stephen Warren <swarren@nvidia.com> Cc: Tom Rini <trini@konsulko.com> Base directory -> / fs/ext4/ext4_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit b525556e6325aa71427c0519f36247981cd444df Author: Vagrant Cascadian <vagrant@debian.org> Date: 2016-04-15 13:43:25 -0700 Revert "rockchip: rk3288: correct sdram setting" This reverts commit b5788dc0dd9570e98552833767f4373db965985d. Ram size is incorrectly reported as 512MB on a firefly-rk3288 board with 2GB of ram. Reverting this patch displays the full amount of ram. Signed-off-by: Vagrant Cascadian <vagrant@debian.org> Acked-by: Simon Glass <sjg@chromium.org> Base directory -> / arch/arm/mach-rockchip/rk3288/sdram_rk3288.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) ------------------------------------------------------------------------------- commit 9a1f4bae0bded0ce354dd4b098d4b4a3b81d4d9a Author: Tom Rini <trini@konsulko.com> Date: 2016-05-02 12:18:43 -0400 Merge branch 'master' of git://git.denx.de/u-boot-uniphier Base directory -> / arch/arm/mach-uniphier/boot-mode/boot-mode-ld20.c | 2 +- arch/arm/mach-uniphier/early-clk/early-clk-ld20.c | 4 +++ arch/arm/mach-uniphier/early-pinctrl/Makefile | 1 + .../early-pinctrl/early-pinctrl-ld20.c | 32 ++++++++++++++++++++++ .../early-pinctrl/early-pinctrl-sld3.c | 2 ++ arch/arm/mach-uniphier/init.h | 7 +---- arch/arm/mach-uniphier/init/init-ld20.c | 2 ++ arch/arm/mach-uniphier/init/init-sld3.c | 5 ++-- arch/arm/mach-uniphier/sbc/Makefile | 4 +-- arch/arm/mach-uniphier/sbc/sbc-sld3.c | 17 ------------ 10 files changed, 47 insertions(+), 29 deletions(-) ------------------------------------------------------------------------------- commit 821c89d38cb6832f162b5b20ec86f07610407c25 Author: Tom Rini <trini@konsulko.com> Date: 2016-05-02 10:52:51 -0400 Revert "omap3: Use raw SPL by default for mmc1" Unfortunately with this change we now are unable to do FS mode boots from MMC1 as with the way the code works today we will always load and assume that the hard-coded raw location contains U-Boot. Further, we cannot fix this by just changing other logic to try FS-then-RAW as it would also make us have to ignore what order the ROM is telling us to try. This reverts commit 22d90d560a2b01c47f180e196e6c6485eb8e65db. Signed-off-by: Tom Rini <trini@konsulko.com> Base directory -> / arch/arm/cpu/armv7/omap-common/boot-common.c | 2 ++ 1 file changed, 2 insertions(+) ------------------------------------------------------------------------------- commit f188357a155a5b7d6906f081c6e7265f6d6086ec Author: Tom Rini <trini@konsulko.com> Date: 2016-05-02 08:49:53 -0400 Revert "ti_armv7_common.h: Fix U-Boot location on eMMC" We cannot change the long standing hard-coded offset for raw boot mode for everyone to accommodate how Android expects things to be done here. This reverts commit ef5ebe951bec72631cdbc7cef9079e6c684e5d0b. Signed-off-by: Tom Rini <trini@konsulko.com> Base directory -> / include/configs/ti_armv7_common.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit bef4b024e9839ea7afe689b050fc95118eeb0b01 Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-04-28 15:37:16 +0900 ARM: uniphier: move pin-mux code into pin_init function The code in uniphier_sld3_sbc_init() is pin-muxing, so it would be a better fit in uniphier_sld3_early_pin_init(). Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Base directory -> / .../mach-uniphier/early-pinctrl/early-pinctrl-sld3.c | 2 ++ arch/arm/mach-uniphier/init.h | 6 ------ arch/arm/mach-uniphier/init/init-sld3.c | 5 ++--- arch/arm/mach-uniphier/sbc/Makefile | 2 +- arch/arm/mach-uniphier/sbc/sbc-sld3.c | 17 ----------------- 5 files changed, 5 insertions(+), 27 deletions(-) ------------------------------------------------------------------------------- commit 5eb4150e84e55057a3504b2cb06d7f5c145c866f Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-04-28 15:37:15 +0900 ARM: uniphier: allow to use System Bus for ROM boot mode of PH1-LD20 The System Bus is not available by default on the ROM boot mode of PH1-LD20. To use devices connected to the System Bus, such as the Micro Support Card, it is necessary to set up pin-muxing and some System Bus Controller register. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Base directory -> / arch/arm/mach-uniphier/early-pinctrl/Makefile | 1 + .../early-pinctrl/early-pinctrl-ld20.c | 32 ++++++++++++++++++++++ arch/arm/mach-uniphier/init.h | 1 + arch/arm/mach-uniphier/init/init-ld20.c | 2 ++ arch/arm/mach-uniphier/sbc/Makefile | 2 +- 5 files changed, 37 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 1dce5eb9de72eff89a42546186d511f24835816d Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-04-28 15:37:14 +0900 ARM: uniphier: enable Peripherl clock to use UART in SPL This is needed to use UART on SPL. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Base directory -> / arch/arm/mach-uniphier/early-clk/early-clk-ld20.c | 4 ++++ 1 file changed, 4 insertions(+) ------------------------------------------------------------------------------- commit 68340966e6766f1add5ab5137693abf02c9f9ab6 Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: 2016-04-28 15:37:13 +0900 ARM: uniphier: fix boot mode table of PH1-LD20 PH1-LD20 does not have the dedicated boot swap select latch. Instead, it is controlled from the boot mode select. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Base directory -> / arch/arm/mach-uniphier/boot-mode/boot-mode-ld20.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ------------------------------------------------------------------------------- commit fccdb287f5f5f2349d3ca1c7cdf972015417d46d Author: Tom Rini <trini@konsulko.com> Date: 2016-04-28 13:15:52 -0400 Merge branch 'master' of git://git.denx.de/u-boot-video Base directory -> / drivers/video/am335x-fb.c | 30 +++++++++++++++++++++++------- 1 file changed, 23 insertions(+), 7 deletions(-) ------------------------------------------------------------------------------- commit 87ef76568c95b8d5e5f02b6f8628745a967dfc24 Author: Tom Rini <trini@konsulko.com> Date: 2016-04-28 13:15:41 -0400 Merge branch 'master' of http://git.denx.de/u-boot-sunxi Base directory -> / arch/arm/mach-sunxi/dram_helpers.c | 2 ++ configs/A13-OLinuXino_defconfig | 1 + 2 files changed, 3 insertions(+) ------------------------------------------------------------------------------- commit 3d47b2d741683023de05f08f9adb4bd25c189c46 Author: Martin Pietryka <martin.pietryka@chello.at> Date: 2016-04-27 21:39:16 +0200 drivers/video/am335x-fb: Properly point framebuffer behind palette The DMA was outputting the palette on the screen because the base for the DMA was not after the palette. In addition to that, the ceiling was also too high, this led that the output on the screen was shifted. NOTE: According to the TRM, even in 16/24bit mode a palette is required in the first 32 bytes of the framebuffer. See also: https://e2e.ti.com/support/arm/sitara_arm/f/791/p/234967/834483#834483 "In this mode, the LCDC will assume all information is data and thus you need to ensure that the DMA points to the first pixel of data and not the first entry in the frame buffer which is the beginning of the 512 byte palette." Signed-off-by: Martin Pietryka <martin.pietryka@chello.at> Reviewed-by: Hannes Schmelzer <oe5hpm@oevsv.at> Tested-by: Hannes Schmelzer <oe5hpm@oevsv.at> Base directory -> / drivers/video/am335x-fb.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) ------------------------------------------------------------------------------- commit 7d045170ac1bf512ed148e97432b7a8d772943e9 Author: Martin Pietryka <martin.pietryka@chello.at> Date: 2016-04-27 21:39:15 +0200 drivers/video/am335x-fb: Add support for 16bpp format To support 16bpp we just need to change the raster_ctrl register accordingly. Also 32bpp mode should work as well, but was not tested. According to the TRM the uppermost byte will be ignored when LCD_TFT_24BPP_UNPACK is set. The switch logic is based on the Linux kernel tilcdc driver: drivers/gpu/drm/tilcdc/tilcdc_crtc.c: lines 407 through 419 (kernel was checked out at commit: bcc981e9ed8) Signed-off-by: Martin Pietryka <martin.pietryka@chello.at> Reviewed-by: Hannes Schmelzer <oe5hpm@oevsv.at> Tested-by: Hannes Schmelzer <oe5hpm@oevsv.at> Base directory -> / drivers/video/am335x-fb.c | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) ------------------------------------------------------------------------------- commit aaeadd3f7b248aeb1c72c36183ab9c6e77da6ce2 Author: Fabio Estevam <fabio.estevam@nxp.com> Date: 2016-04-20 22:48:13 -0300 mx6ul_evk: Remove CONFIG_SUPPORT_EMMC_BOOT mx6ul_evk does not come with a eMMC populated, so we should not define CONFIG_SUPPORT_EMMC_BOOT as it causes SPL to not be able to boot some brands of SD cards, such as SanDisk microSD HC - 8GB: U-Boot SPL 2016.05-rc1-28384-g108f841 (Apr 19 2016 - 11:19:11) Trying to boot from MMC1 spl: mmc block read error SPL: failed to boot from all boot devices ### ERROR ### Please RESET the board ### When CONFIG_SUPPORT_EMMC_BOOT is defined spl_boot_mode() returns MMCSD_MODE_EMMCBOOT, so remove this option to have a reliable boot via SD card. Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com> Base directory -> / include/configs/mx6ul_14x14_evk.h | 1 - 1 file changed, 1 deletion(-) ------------------------------------------------------------------------------- commit c510f2e436008e55a50b063f2180cb1e63984224 Author: Peng Fan <van.freenix@gmail.com> Date: 2016-04-28 10:07:53 +0800 video: ipu_common: fix build error Some toolchains fail to build "clk->rate = (u64)(clk->parent->rate * 16) / div;" And the cast usage is wrong. Use the following code to fix the issue, " do_div(parent_rate, div); clk->rate = parent_rate; " Reported-by: Peter Robinson <pbrobinson@gmail.com> Signed-off-by: Peng Fan <van.freenix@gmail.com> Cc: Stefano Babic <sbabic@denx.de> Cc: Fabio Estevam <fabio.estevam@nxp.com> Cc: Tom Rini <trini@konsulko.com> Cc: Anatolij Gustschin <agust@denx.de> Cc: Peter Robinson <pbrobinson@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> Tested-by: Peter Robinson <pbrobinson@gmail.com> Base directory -> / drivers/video/ipu_common.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 2489a7e9f3055da15a8a8a0e54babf29ff5f6f14 Author: Tom Rini <trini@konsulko.com> Date: 2016-04-27 18:44:32 -0400 omap3: Reduce logic/overo SPL max image size While the OMAP3 has 64KiB of SRAM, per the TRM the download area is only from 0x40200000 to 0x4020F000 and exceeding that will cause failure to boot. Further, we need to make sure that we don't run into SRAM_SCRATCH_SPACE_ADDR as once SPL is running we will write values there and would corrupt our running image. Cc: Adam Ford <aford173@gmail.com> Cc: Steve Sakoman <sakoman@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Base directory -> / include/configs/omap3_logic.h | 2 +- include/configs/omap3_overo.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------- commit ad14166426ab8ca40424ede741d27fdcfb4fc2c6 Author: Hans de Goede <hdegoede@redhat.com> Date: 2016-04-14 16:49:47 +0200 sunxi: Enable LDO3 at 3.3V on A13-OLinuXino board LDO3 is used for the VGA output, this fixes a regression where the VGA output on these boards would no longer work. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Ian Campbell <ijc@hellion.org.uk> Base directory -> / configs/A13-OLinuXino_defconfig | 1 + 1 file changed, 1 insertion(+) ------------------------------------------------------------------------------- commit bfb33f0bc45b9ee92ed2f85107cf20b9bfdf9f8a Author: Hans de Goede <hdegoede@redhat.com> Date: 2016-04-14 18:53:32 +0200 sunxi: mctl_mem_matches: Add missing memory barrier We are running with the caches disabled when mctl_mem_matches gets called, but the cpu's write buffer is still there and can still get in the way, add a memory barrier to fix this. This avoids mctl_mem_matches always returning false in some cases, which was resulting in: U-Boot SPL 2015.07 (Apr 14 2016 - 18:47:26) DRAM: 1024 MiB U-Boot 2015.07 (Apr 14 2016 - 18:47:26 +0200) Allwinner Technology CPU: Allwinner A23 (SUN8I) DRAM: 512 MiB Where 512 MiB is the right amount, but the DRAM controller would be initialized for 1024 MiB. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Ian Campbell <ijc@hellion.org.uk> Base directory -> / arch/arm/mach-sunxi/dram_helpers.c | 2 ++ 1 file changed, 2 insertions(+) ------------------------------------------------------------------------------- |
||
|
|
e586d80a71 |
Update feed [ feed_inteno_packages ] package [ u-boot ]
-------------------------------------------------------------------------------
* 6b4c4d5 Fix compile error on openwrt_master
-------------------------------------------------------------------------------
commit 6b4c4d551c0fbb0b9f25169b29f0f290d6f18d64
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2016-09-13 14:45:01 +0200
Fix compile error on openwrt_master
Base directory -> /
include/configs/ex300.h | 24 ++++++++++++------------
1 file changed, 12 insertions(+), 12 deletions(-)
-------------------------------------------------------------------------------
|