Re: [U-Boot] [PATCH 26/27] ARM64: zynqmp: Add clocks for LPDDMA

2016-11-13 Thread Michal Simek
On 11.11.2016 18:49, Soren Brinkmann wrote: > > >> -Original Message- >> From: Michal Simek [mailto:mon...@monstr.eu] On Behalf Of Michal Simek >> Sent: November 11, 2016 05:42 >> To: u-boot@lists.denx.de >> Cc: Appana Durga Kedareswara Rao ; Naga Sureshkumar >> Relli

Re: [U-Boot] [PATCHv2 03/15] dm: pci: remove pci_bus_to_hose(0) calling

2016-11-13 Thread Z.Q. Hou
Hi Simon, Thanks for your comments! > -Original Message- > From: s...@google.com [mailto:s...@google.com] On Behalf Of Simon Glass > Sent: 2016年11月12日 0:18 > To: Z.Q. Hou > Cc: U-Boot Mailing List ; Albert ARIBAUD >

Re: [U-Boot] [PATCH] arm: sunxi: do not force USB for arch-sunxi

2016-11-13 Thread Hans de Goede
Hi, On 31-10-16 22:33, Yann E. MORIN wrote: Currently, USB is forced-enabled for the sunxi familly, and there is no way to disable it. However, USB takes a long time to initiliase, delaying the boot by up to 5 seconds (without any USB device attached!). This is a very long delay, especially in

Re: [U-Boot] [PATCH] drivers: SPI: sunxi SPL: fix warning

2016-11-13 Thread Hans de Goede
Hi, On 03-11-16 01:58, Andre Przywara wrote: Somehow an int returning function without a return statement sneaked in. Fix it. Signed-off-by: Andre Przywara LGTM: Reviewed-by: Hans de Goede Regards, Hans --- drivers/mtd/spi/sunxi_spi_spl.c

[U-Boot] Please pull: u-boot-video/master

2016-11-13 Thread Anatolij Gustschin
Hi Tom, The following changes since commit 38cacdab3b5a6d8efd16a4b2620f7ab72144a624: Merge branch 'master' of git://git.denx.de/u-boot-tegra (2016-11-08 10:36:57 -0500) are available in the git repository at: git://git.denx.de/u-boot-video.git master for you to fetch changes up to

Re: [U-Boot] [PATCH] sunxi: Use the available Kconfig option for AHCI

2016-11-13 Thread Hans de Goede
Hi, On 31-10-16 21:05, Jelle van der Waa wrote: Use the already available Kconfig option for AHCI. Tested on the BananaPi. Signed-off-by: Jelle van der Waa Patch LGTM: Reviewed-by: Hans de Goede Regards, Hans ---

Re: [U-Boot] [PATCH] spl: mmc: fix build without CONFIG_SPL_LIBCOMMON_SUPPORT

2016-11-13 Thread Tom Rini
On Sun, Nov 13, 2016 at 10:46:19PM +0100, Yann E. MORIN wrote: > When CONFIG_SPL_LIBCOMMON_SUPPORT is disabled, the last case statement > is missing a proper statement, which makes the compiler whine. > > Signed-off-by: "Yann E. MORIN" > Cc: Pantelis Antoniou

Re: [U-Boot] [PATCH 1/4] mmc: Retry the switch command

2016-11-13 Thread Tom Rini
On Sun, Nov 13, 2016 at 07:50:53PM +0100, Hans de Goede wrote: > Hi, > > On 04-11-16 16:18, Maxime Ripard wrote: > >Some eMMC will fail at the first switch, but would succeed in a subsequent > >one. > > > >Make sure we try several times to cover those cases. The number of retries > >(and the

[U-Boot] FDT retrived varaibles appear to have different properties fom other u-boot variables - and are corrupted on get, set, get sequence

2016-11-13 Thread dh
Cédric I move the fdt to 0x100 fdt move ${fdt_addr}  100 fdt addr 100 then fdt get value bootargs /chosen bootargs printenv bootargs bootargs=all the boot args...but setenv abc $bootargs fails...as does printenv $bootargs fdt set bootargs /chosen bootargsfdt get value bootargs

Re: [U-Boot] [PATCH 1/4] mmc: Retry the switch command

2016-11-13 Thread Jaehoon Chung
On 11/14/2016 07:50 AM, Tom Rini wrote: > On Sun, Nov 13, 2016 at 07:50:53PM +0100, Hans de Goede wrote: >> Hi, >> >> On 04-11-16 16:18, Maxime Ripard wrote: >>> Some eMMC will fail at the first switch, but would succeed in a subsequent >>> one. >>> >>> Make sure we try several times to cover

Re: [U-Boot] [PATCH 4/4] sunxi: sina33: Enable the LCD

2016-11-13 Thread Hans de Goede
Hi, On 04-11-16 16:18, Maxime Ripard wrote: The SinA33 comes with an optional 7" display. Enable it in the configuration. Signed-off-by: Maxime Ripard LGTM: Reviewed-by: Hans de Goede Regards, Hans ---

Re: [U-Boot] [PATCH] sunxi: mmc: Set CONFIG_SYS_MMC_MAX_DEVICE

2016-11-13 Thread Hans de Goede
Hi, On 05-11-16 20:51, Emmanuel Vadot wrote: Set CONFIG_SYS_MMC_MAX_DEVICE to 4 for sunxi SoC. This define is needed in the API code. Signed-off-by: Emmanuel Vadot LGTM: Reviewed-by: Hans de Goede Regards, Hans ---

Re: [U-Boot] [PATCH 3/4] sunxi: sina33: Enable the eMMC

2016-11-13 Thread Hans de Goede
Hi, On 04-11-16 16:18, Maxime Ripard wrote: The SinA33 has an 4GB Toshiba eMMC connected to the MMC2 controller. Enable it. Signed-off-by: Maxime Ripard LGTM: Reviewed-by: Hans de Goede Regards, Hans ---

[U-Boot] [PATCH v2 2/4] buildman: Add an option to just create the config

2016-11-13 Thread Simon Glass
Normally buildman does a full build of a board. This includes creating the u-boot.cfg file which contains all the configuration options. Buildman uses this file with the -K option, to show differences in effective configuration for each commit. Doing a full build of U-Boot just to create the

[U-Boot] [PATCH v2 4/4] buildman: Squash useless output from -K

2016-11-13 Thread Simon Glass
When using #define CONFIG_SOME_OPTION, the value it set to '1'. When using defconfig (i.e. CONFIG_SOME_OPTION=y) the value is set to 'y'. This results in differences showing up with -K. These differences are seldom useful. Adjust buildman to suppress these differences by default. Signed-off-by:

[U-Boot] [PATCH v2 3/4] buildman: Add documentation for CONFIG checking

2016-11-13 Thread Simon Glass
The -K option is not mentioned in the README at present. Add some notes to describe how this is used. Signed-off-by: Simon Glass --- Changes in v2: None tools/buildman/README | 37 + 1 file changed, 37 insertions(+) diff --git

[U-Boot] [PATCH] fastboot: simplify the Kconfig logic

2016-11-13 Thread Yann E. MORIN
Currently, the fastboot item in menuconfig is a comment followed by a boolean option withan empty prompt, followed by a menu: *** FASTBOOT *** [*] Fastboot support ---> This is not "nice-looking" at all... Change the logic to make the boolean option a "menuconfig" rather

Re: [U-Boot] [PATCH 1/4] mmc: Retry the switch command

2016-11-13 Thread Hans de Goede
Hi, On 04-11-16 16:18, Maxime Ripard wrote: Some eMMC will fail at the first switch, but would succeed in a subsequent one. Make sure we try several times to cover those cases. The number of retries (and the behaviour) is currently what is being used in Linux. Signed-off-by: Maxime Ripard

Re: [U-Boot] [PATCH 2/4] mmc: sunxi: Enable 8bits bus width for sun8i

2016-11-13 Thread Hans de Goede
Hi, On 04-11-16 16:18, Maxime Ripard wrote: The sun8i SoCs also have a 8 bits capable MMC2 controller. Enable the support for those too. Signed-off-by: Maxime Ripard LGTM: Reviewed-by: Hans de Goede Regards, Hans ---

[U-Boot] [PATCH] sunxi: Mele_M5_defconfig: Drop non existing STATUSLED setting

2016-11-13 Thread Hans de Goede
And also remove it from scripts/config_whitelist.txt as the Mele_M5_defconfig was the only one defining it. Signed-off-by: Hans de Goede --- configs/Mele_M5_defconfig| 2 +- scripts/config_whitelist.txt | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git

Re: [U-Boot] [PATCH 05/10] sunxi: Add PRCM register definition for sun9i/A80

2016-11-13 Thread Hans de Goede
Hi, On 09-11-16 11:21, Chen-Yu Tsai wrote: The A80 has a different PRCM register layout. Signed-off-by: Chen-Yu Tsai LGTM: Reviewed-by: Hans de Goede Regards, Hans --- arch/arm/include/asm/arch-sunxi/prcm_sun9i.h | 55

Re: [U-Boot] [PATCH 06/10] sunxi: Add CPUCFG register definitions for sun9i/A80

2016-11-13 Thread Hans de Goede
Hi, On 09-11-16 11:21, Chen-Yu Tsai wrote: The A80 has a different CPUCFG register layout, likely due to having 2 clusters. Signed-off-by: Chen-Yu Tsai LGTM: Reviewed-by: Hans de Goede Regards, Hans ---

Re: [U-Boot] [PATCH 02/10] sunxi: Add CCI-400 and CPUCFG registers base address for sun9i/A80

2016-11-13 Thread Hans de Goede
Hi, On 09-11-16 11:21, Chen-Yu Tsai wrote: The A80, having 2 clusters of 4 cores each, has an ARM CCI-400 hardware block for cache coherency. Add the base address for CCI-400, and also add the base address for CPUCFG. Signed-off-by: Chen-Yu Tsai LGTM: Reviewed-by: Hans de

Re: [U-Boot] [PATCH 03/10] sunxi: Add base address of secure SRAM B for sun9i/A80

2016-11-13 Thread Hans de Goede
Hi, On 09-11-16 11:21, Chen-Yu Tsai wrote: The A80 has a 256 kiB secure SRAM. However the first 4 kiB are reserved for CPU0 hotplug flags. Signed-off-by: Chen-Yu Tsai LGTM: Reviewed-by: Hans de Goede Regards, Hans ---

Re: [U-Boot] [PATCH 01/10] ARM: PSCI: Set ARMV7_PSCI_NR_CPUS default to 8 for sun9i/A80

2016-11-13 Thread Hans de Goede
Hi, On 09-11-16 11:21, Chen-Yu Tsai wrote: The A80 is a big.LITTLE SoC with 4x Cortex-A7 in cluster 0 and 4x Cortex-A15 in cluster 1. Signed-off-by: Chen-Yu Tsai LGTM: Reviewed-by: Hans de Goede Regards, Hans --- arch/arm/cpu/armv7/Kconfig | 1 +

[U-Boot] FDT retrived varaibles appear to have different properties fom other u-boot variables

2016-11-13 Thread dh
I have retrieved a string  "fdt get value bootargs /chosen bootargs" But, when I try "setenv a $bootargs" I get the error message: setenv [-f] name value... Is appears the variable set by the "fdt get" command hasdifferent properties from a u-boot variable where the content are available with

Re: [U-Boot] [PATCH] sunxi: Mele_M5_defconfig: Drop non existing STATUSLED setting

2016-11-13 Thread Ian Campbell
On Sun, 2016-11-13 at 19:54 +0100, Hans de Goede wrote: > And also remove it from scripts/config_whitelist.txt as the > Mele_M5_defconfig was the only one defining it. > > Signed-off-by: Hans de Goede Acked-by: Ian Campbell

Re: [U-Boot] board: am335x/mux: Do not hang when encountering a bad EEPROM

2016-11-13 Thread Tom Rini
On Tue, Nov 08, 2016 at 08:48:44PM -0800, Alex G. wrote: > In most cases, the SPL and u-boot.img will be on the same boot media. > Since the SPL was loaded by the boot rom, the pinmux will already have > been configured for this media. This, the board will still be able to > boot successfully, or

Re: [U-Boot] ARM: keystone2: PLL: Enable glitch free initialization sequence

2016-11-13 Thread Tom Rini
On Thu, Nov 03, 2016 at 03:32:51PM +0530, Lokesh Vutla wrote: > Update the PLL initialization sequence to avoid glitches while > programming. User guide for the same is available at[1]. > > [1] http://www.ti.com/lit/ug/sprugv2h/sprugv2h.pdf > > Signed-off-by: Lokesh Vutla >

Re: [U-Boot] davinci: omapl138_lcdk: keep booting even when MAC address is invalid

2016-11-13 Thread Tom Rini
On Thu, Nov 10, 2016 at 05:16:35PM +0100, Fabien Parent wrote: > If the MAC address specified on the EEPROM is invalid (multicast or > zero address), then u-boot fails to boot. Having a bad MAC address > in the EEPROM should not prevent the system from booting. > > This commit changes the error

[U-Boot] [PATCH v2 16/22] rockchip: Rename jerry files to veyron

2016-11-13 Thread Simon Glass
At present we have a single rk3288-based Chromebook: chromebook_jerry. But all such Chromebooks can use the same binary with only device-tree differences. The family name is 'veyron', so rename the files accordingly. Also update the device-tree filename since this currently differs from Linux.

[U-Boot] [PATCH v2 12/22] video: Use cache-alignment in video_sync()

2016-11-13 Thread Simon Glass
Sometimes the frame buffer is not a multiple of the cache line size. Adjust the cache-flushing code to avoid cache warnings/errors in this case. Signed-off-by: Simon Glass --- Changes in v2: None drivers/video/video-uclass.c | 3 ++- 1 file changed, 2 insertions(+), 1

[U-Boot] [PATCH v2 15/22] rockchip: Move jerry to use of-platdata

2016-11-13 Thread Simon Glass
Adjust jerry to use of-platdata like other rk3288 boards. This reduces the SPL size enough that it boots again. Signed-off-by: Simon Glass --- Changes in v2: None configs/chromebook_jerry_defconfig | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git

[U-Boot] [PATCH v2 13/22] video: Track whether a display is in use

2016-11-13 Thread Simon Glass
Mark a display as in use when display_enable() is called. This can avoid a display being used by multiple video-output devices. Signed-off-by: Simon Glass --- Changes in v2: None drivers/video/display-uclass.c | 18 +- include/display.h | 10

[U-Boot] [PATCH v2 14/22] rockchip: video: Check for device in use

2016-11-13 Thread Simon Glass
Check whether a display device is in use before using it. Add a comment as to why two displays cannot currently be used at the same time. This allows us to remove the device-tree change that disables vopb on jerry. Signed-off-by: Simon Glass --- Changes in v2: None

[U-Boot] [PATCH v2 19/22] rockchip: clk: Support setting ACLK

2016-11-13 Thread Simon Glass
Add basic support for setting the ARM clock, since this allows us to run at maximum speed in U-Boot. Currently only a single speed is supported (1.8GHz). Signed-off-by: Simon Glass --- Changes in v2: None drivers/clk/rockchip/clk_rk3288.c | 7 +++ 1 file changed, 7

[U-Boot] [PATCH v2 17/22] rockchip: veyron: Add a note about the SDRAM voltage

2016-11-13 Thread Simon Glass
Add a comment to indicate that we are not supporting the PWM regulator yet. Signed-off-by: Simon Glass --- Changes in v2: - Add new patch with note about the SDRAM voltage board/google/veyron/veyron.c | 6 ++ 1 file changed, 6 insertions(+) diff --git

Re: [U-Boot] [PATCH 07/10] sunxi: Add support for TZPC on sun9i/A80

2016-11-13 Thread Hans de Goede
Hi, On 09-11-16 11:21, Chen-Yu Tsai wrote: The A80 also has the TrustZone Protection Controller (TZPC), called the Secure Memory Touch Arbiter (SMTA). Enable non-secure access to all the peripherals at boot time. Signed-off-by: Chen-Yu Tsai LGTM: Reviewed-by: Hans de Goede

Re: [U-Boot] [PATCH 04/10] sunxi: Use secure SRAM B for secure RAM for sun9i/A80

2016-11-13 Thread Hans de Goede
Hi, On 09-11-16 11:21, Chen-Yu Tsai wrote: The A80 has a 256 kiB secure SRAM. However the first 4 kiB are reserved for CPU0 hotplug flags. Signed-off-by: Chen-Yu Tsai LGTM: Reviewed-by: Hans de Goede Regards, Hans --- include/configs/sun9i.h | 4

Re: [U-Boot] [PATCH 08/10] sunxi: Add basic PSCI implementation for A80

2016-11-13 Thread Hans de Goede
Hi, On 09-11-16 11:21, Chen-Yu Tsai wrote: The A80 is a big.LITTLE multi-cluster SoC, with a different layout for the PRCM and CPUCFG registers. As such it needs a different PSCI implementation. This patch adds a basic version that allows bringing up the four cores in the first cluster. The

Re: [U-Boot] [PATCH 09/10] sunxi: Enable PSCI on sun9i/A80

2016-11-13 Thread Hans de Goede
Hi, On 09-11-16 11:21, Chen-Yu Tsai wrote: Now that we have a basic version of PSCI firmware, enable non-secure boot and PSCI on the A80. Signed-off-by: Chen-Yu Tsai LGTM: Reviewed-by: Hans de Goede Regards, Hans --- board/sunxi/Kconfig | 4

Re: [U-Boot] [PATCH] tools: fix mksunxiboot build for tools-all target

2016-11-13 Thread Hans de Goede
Hi, On 10-11-16 13:13, Andre Przywara wrote: Commit fed329aebe3a ("tools: add mksunxiboot to tools-all target") added mksunxiboot to the tools-all target, but used the CONFIG_SUNXI symbol to enable its build. Now commit aec9a0f19f64 ("sunxi: Rename CONFIG_SUNXI to CONFIG_ARCH_SUNXI"), merged

Re: [U-Boot] [U-Boot, PATCHv2, 1/3] igep00x0: disable CONFIG_DISPLAY_BOARDINFO

2016-11-13 Thread Tom Rini
On Fri, Nov 04, 2016 at 12:55:21PM +0100, Ladislav Michl wrote: > As a single U-Boot binary can now run on various board modifications, > drop CONFIG_DISPLAY_BOARDINFO as it prints flash memory information > too early to give us chance to easily detect it. Also saves few bytes > as a bonus. > >

Re: [U-Boot] tools: fix mksunxiboot build for tools-all target

2016-11-13 Thread Tom Rini
On Thu, Nov 10, 2016 at 12:13:23PM +, Andre Przywara wrote: > Commit fed329aebe3a ("tools: add mksunxiboot to tools-all target") added > mksunxiboot to the tools-all target, but used the CONFIG_SUNXI symbol > to enable its build. Now commit aec9a0f19f64 ("sunxi: Rename CONFIG_SUNXI > to

Re: [U-Boot] Please pull: u-boot-video/master

2016-11-13 Thread Tom Rini
On Sun, Nov 13, 2016 at 07:08:41PM +0100, Anatolij Gustschin wrote: > Hi Tom, > > The following changes since commit 38cacdab3b5a6d8efd16a4b2620f7ab72144a624: > > Merge branch 'master' of git://git.denx.de/u-boot-tegra (2016-11-08 > 10:36:57 -0500) > > are available in the git repository

Re: [U-Boot] Pull request: u-boot-spi/master

2016-11-13 Thread Tom Rini
On Sat, Nov 12, 2016 at 05:43:08PM +0530, Jagan Teki wrote: > Hi Tom, > > Please take these fixes. > > thanks! > Jagan. > > The following changes since commit 38cacdab3b5a6d8efd16a4b2620f7ab72144a624: > > Merge branch 'master' of git://git.denx.de/u-boot-tegra (2016-11-08 > 10:36:57 -0500)

Re: [U-Boot] [U-Boot, v2, 1/2] arm: print the cache config option in hex instead of decimal

2016-11-13 Thread Tom Rini
On Sat, Oct 29, 2016 at 03:19:09PM +0530, Keerthy wrote: > Printing the option value in hex makes it more comprehensible. > > Signed-off-by: Keerthy > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital

Re: [U-Boot] mx6ull_14x14_evk: Add README file

2016-11-13 Thread Tom Rini
On Thu, Nov 10, 2016 at 03:05:37PM -0200, Diego Dorta wrote: > Add a README file to help users getting started with the board. > > Signed-off-by: Diego Dorta > Reviewed-by: Fabio Estevam > Reviewed-by: Peng Fan > Reviewed-by: Jagan

[U-Boot] [PATCH] cmd: move CMD_PXE to Kconfig

2016-11-13 Thread Yann E. MORIN
Currently, CMD_PXE is forcibly enabled in config_distro_defaults.h, so that general purpose distributions can rely on it being defined. This header is included, under conditions or not, by various archs or famillies of archs / SoCs. However, it is very possible that boards based on those SoCs

[U-Boot] [PATCH v2 02/22] rockchip: video: Correct VOP clock selection

2016-11-13 Thread Simon Glass
This code incorrectly uses the oscillator. It should use the clock selected in the device tree. Signed-off-by: Simon Glass Fixes: 135aa95 (clk: convert API to match reset/mailbox style) --- Changes in v2: None drivers/video/rockchip/rk_vop.c | 7 +-- 1 file changed, 1

[U-Boot] [PATCH v2 05/22] stdio: Correct code style nits

2016-11-13 Thread Simon Glass
Fix a few code style nits in stdio_get_by_name(). Signed-off-by: Simon Glass --- Changes in v2: None common/stdio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/stdio.c b/common/stdio.c index 8e4a9be..a7d016b 100644 --- a/common/stdio.c +++

[U-Boot] [PATCH v2 03/22] rockchip: Allow jerry to use of-platdata

2016-11-13 Thread Simon Glass
This board always boots from SPI, so update the code to support that with of-platdata. The boot source is not currently available with of-platdata. Signed-off-by: Simon Glass --- Changes in v2: None arch/arm/mach-rockchip/rk3288-board-spl.c | 2 ++ 1 file changed, 2

[U-Boot] [PATCH v2 04/22] dm: core: Handle global_data moving in SPL

2016-11-13 Thread Simon Glass
When CONFIG_SPL_STACK_R is enabled, and spl_init() is called before board_init_r(), spl_relocate_stack_gd() will move global_data to a new place in memory. This affects driver model since it uses a list for the uclasses. Unless this is updated the list will become invalid. When looking for a

[U-Boot] [PATCH v2 01/22] rockchip: video: Correct HDMI data source selection

2016-11-13 Thread Simon Glass
This code currently always selects the second source. It only worked because both sources are set up. With the change to only init video devices that are present in the stdout environment variable, this fails. Fix it. Signed-off-by: Simon Glass --- Changes in v2: None

[U-Boot] [PATCH v2 00/22] rockchip: Add support for Asus Chromebit

2016-11-13 Thread Simon Glass
This series adds support for 'mickey', the Asus Chromebit based on Rockchip RK3288. Some refactoring is included to jerry also. The intent is that all RK3288-based Chromebooks will use the 'veyron' board, with everything common except the device tree. SPI is used to boot, and we move jerry to use

[U-Boot] [PATCH v2 08/22] rockchip: spi: Add support for of-platdata

2016-11-13 Thread Simon Glass
Allow this driver to be used with of-platdata on rk3288. Signed-off-by: Simon Glass --- Changes in v2: None drivers/spi/rk_spi.c | 36 +++- 1 file changed, 35 insertions(+), 1 deletion(-) diff --git a/drivers/spi/rk_spi.c

[U-Boot] [PATCH v2 10/22] spi: Add error checking for invalid bus widths

2016-11-13 Thread Simon Glass
At present an invalid bus width prints a message but does not return an error. This is the opposite of the correct behaviour. Adjust it to avoid code bloat in the common case, and avoid hard-to-debug failure in the uncommon case. Signed-off-by: Simon Glass --- Changes in v2:

[U-Boot] [PATCH v2 11/22] spi: Add a debug() on bind failure

2016-11-13 Thread Simon Glass
This is an uncommon error but we may as well have a debug() message when it happens. Signed-off-by: Simon Glass --- Changes in v2: None drivers/spi/spi-uclass.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/spi/spi-uclass.c

[U-Boot] [PATCH v2 07/22] spi: Add of-platdata support to SPI and SPI flash

2016-11-13 Thread Simon Glass
Some boards may want to use these subsystems with of-platdata in SPL. Add support for this by avoiding any device tree access in this case. Signed-off-by: Simon Glass --- Changes in v2: None drivers/mtd/spi/spi_flash.c | 2 +- drivers/spi/spi-uclass.c| 13 -

[U-Boot] [PATCH v2 09/22] rockchip: spi: Honour the deactivation delay

2016-11-13 Thread Simon Glass
This is not currently implemented. Add support for this so that the Chrome OS EC can be used on jerry. Signed-off-by: Simon Glass --- Changes in v2: None drivers/spi/rk_spi.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/spi/rk_spi.c

[U-Boot] [PATCH v2 06/22] stdio: Correct numbering logic in stdio_probe_device()

2016-11-13 Thread Simon Glass
The current code assumes that the devices are ordered corresponding to their alias value. But (for example) video1 can come before video0 in the device tree. Correct this, by always looking for device 0 first. After that we can fall back to finding the first available device. Signed-off-by:

[U-Boot] [PATCH] spl: mmc: fix build without CONFIG_SPL_LIBCOMMON_SUPPORT

2016-11-13 Thread Yann E. MORIN
When CONFIG_SPL_LIBCOMMON_SUPPORT is disabled, the last case statement is missing a proper statement, which makes the compiler whine. Signed-off-by: "Yann E. MORIN" Cc: Pantelis Antoniou --- common/spl/spl_mmc.c | 1 + 1 file changed, 1

Re: [U-Boot] [U-Boot, v2, 2/2] arm: Set TTB XN bit in case DCACHE_OFF for LPAE mode

2016-11-13 Thread Tom Rini
On Sat, Oct 29, 2016 at 03:19:10PM +0530, Keerthy wrote: > While we setup the mmu initially we mark set_section_dcache with > DCACHE_OFF flag. In case of non-LPAE mode the DCACHE_OFF macro > is rightly defined with TTB_SECT_XN_MASK set so as to mark all the > 4GB XN. In case of LPAE mode

Re: [U-Boot] [U-Boot,PATCHv2,2/3] igep00x0: consolidate defconfigs

2016-11-13 Thread Tom Rini
On Fri, Nov 04, 2016 at 12:57:27PM +0100, Ladislav Michl wrote: > Defconfigs should remain the same except CONFIG_SYS_EXTRA_OPTIONS. > Drop NAND specific defconfig as flash type is runtime detected. > > Signed-off-by: Ladislav Michl > Reviewed-by: Javier Martinez Canillas

Re: [U-Boot] ARM: k2g: Update PLL Multiplier and divider values

2016-11-13 Thread Tom Rini
On Thu, Nov 03, 2016 at 03:35:02PM +0530, Lokesh Vutla wrote: > Only a certain set of PLLM/D values are recommended to configure the DDR > at the required speeds for a given clock input frequency. Updating these > values as specified in Data Sheet[1] Table 5-18 > > [1]

Re: [U-Boot] [U-Boot,PATCHv2,3/3] igep00x0: add Hynix timings

2016-11-13 Thread Tom Rini
On Fri, Nov 04, 2016 at 12:59:46PM +0100, Ladislav Michl wrote: > Tested on IGEPv2 with Micron MT29F4G16ABBDA3W and > Hynix H27S4G6F2DKA-BM > > Signed-off-by: Ladislav Michl > Reviewed-by: Javier Martinez Canillas > Tested-by: Javier Martinez Canillas

[U-Boot] [PATCH v2 22/22] rockchip: Add support for veyron-mickey (Chromebit)

2016-11-13 Thread Simon Glass
This adds support for the Asus Chromebit, and RK3288-based device designed to plug directly into an HDMI monitor. The device tree file comes from Linux v4.8. Signed-off-by: Simon Glass --- Changes in v2: - Enable only the active eMMC port arch/arm/dts/Makefile

[U-Boot] [PATCH v2 0/4] buildman: Threading and output improvements

2016-11-13 Thread Simon Glass
This series includes a few minor improvements to buildman: - Cleaner output and updates on what buildman is doing at the start - a way to generate only the CONFIG options in a build, for speed (-D) - a fix for pressing Ctrl-C during a build (so that it exits cleanly). (all but the second is now

[U-Boot] [PATCH] rockchip: Add support for veyron-minnie (ASUS Chromebook Flip)

2016-11-13 Thread Simon Glass
This adds support for the Asus Chromebook Flip, an RK3288-based clamshell device which can flip into 'tablet' mode. The device tree file comes from Linux v4.8. The SDRAM parameters are for 4GB Samsung LPDDR3. Signed-off-by: Simon Glass --- arch/arm/dts/Makefile

[U-Boot] [PATCH v2 18/22] rockchip: Move jerry SDRAM settings into its own .dts file

2016-11-13 Thread Simon Glass
The SDRAM settings are not common across all veyron models. Move the current settings into Jerry's file. Signed-off-by: Simon Glass --- Changes in v2: None arch/arm/dts/rk3288-veyron-jerry.dts | 11 +++ arch/arm/dts/rk3288-veyron.dtsi | 8 2 files

[U-Boot] [PATCH v2 20/22] rockchip: veyron: Adjust ARM clock after relocation

2016-11-13 Thread Simon Glass
Update board_init() to increase the ARM clock to the maximum speed on veyron boards. This makes quite a large difference in performance. With this change, speed goes from about 750 DMIPS to 2720 DMIPs. Signed-off-by: Simon Glass --- Changes in v2: None

[U-Boot] [PATCH v2 1/4] Makefile: Add a target to create the .cfg files

2016-11-13 Thread Simon Glass
A common requirement when converting CONFIG options to Kconfig is to check that the effective configuration has not changed due to the conversion. Add a target which creates this configuration (in the form of u-boot.cfg) but does not build U-Boot. This speeds up the checking. Signed-off-by: Simon

[U-Boot] [PATCH v2 21/22] rockchip: video: Avoid using u8 in the HDMI driver

2016-11-13 Thread Simon Glass
It makes not sense using u8 to hold a value on a 32-bit or 64-bit machine. It can only bloat the code by forcing the compiler to mask the value. Change it to uint. Signed-off-by: Simon Glass --- Changes in v2: - Add new patch to avoid using u8 in the HDMI driver

Re: [U-Boot] [PATCH v3 3/5] ARMv8: Add basic PSCI framework

2016-11-13 Thread Hongbo Zhang
On Sat, Nov 12, 2016 at 12:06 AM, Tom Rini wrote: > On Mon, Nov 07, 2016 at 12:13:52PM +0800, macro.wav...@gmail.com wrote: > >> From: Hongbo Zhang >> >> This patch introduces a generic ARMv8 PSCI framework, with all functions >> returning a dummy