Re: [U-Boot] [PATCH 3/6] mtd: nand: Add the sunxi NAND controller driver

2016-06-06 Thread Boris Brezillon
On Mon, 06 Jun 2016 18:54:03 -0500 Scott Wood wrote: > On Mon, 2016-06-06 at 20:31 +0200, Boris Brezillon wrote: > > On Mon, 06 Jun 2016 12:56:48 -0500 > > Scott Wood wrote: > > > > > On Mon, 2016-06-06 at 18:22 +0200, Boris Brezillon wrote: > > > > On

Re: [U-Boot] [PATCH 7/7] mtd: nand: Sync with Linux v4.6

2016-06-06 Thread Heiko Schocher
Hello Boris, Am 06.06.2016 um 18:04 schrieb Boris Brezillon: On Mon, 30 May 2016 13:57:58 -0500 Scott Wood wrote: 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

[U-Boot] [PATCH v3 11/11] sunxi: Add PSCI implementation in C

2016-06-06 Thread Chen-Yu Tsai
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

[U-Boot] [PATCH v3 09/11] sunxi: Add CPUCFG debug lock and sun7i cpu power controls

2016-06-06 Thread Chen-Yu Tsai
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 --- arch/arm/include/asm/arch-sunxi/cpucfg.h | 7 ++- 1 file

[U-Boot] [PATCH v3 08/11] sunxi: Group cpu core related controls together

2016-06-06 Thread Chen-Yu Tsai
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

[U-Boot] [PATCH v3 10/11] sunxi: Add base address for GIC

2016-06-06 Thread Chen-Yu Tsai
Instead of hardcoding the GIC addresses in the PSCI implementation, provide a base address in the cpu header. Signed-off-by: Chen-Yu Tsai --- arch/arm/cpu/armv7/sunxi/psci_sun6i.S | 4 ++-- arch/arm/cpu/armv7/sunxi/psci_sun7i.S | 4 ++--

[U-Boot] [PATCH v3 05/11] sunxi: Make CPUCFG_BASE macro names the same across families

2016-06-06 Thread Chen-Yu Tsai
Use SUNXI_CPUCFG_BASE across all families. This makes writing common PSCI code easier. Signed-off-by: Chen-Yu Tsai --- arch/arm/cpu/armv7/sunxi/psci_sun6i.S | 16 arch/arm/cpu/armv7/sunxi/psci_sun7i.S | 8

[U-Boot] [PATCH v3 07/11] sunxi: Add missing linux/types.h header for cpucfg_sun6i.h

2016-06-06 Thread Chen-Yu Tsai
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 --- arch/arm/include/asm/arch-sunxi/cpucfg_sun6i.h | 2 ++ 1 file changed, 2 insertions(+) diff --git

[U-Boot] [PATCH v3 03/11] ARM: PSCI: export common PSCI function declarations for C code

2016-06-06 Thread Chen-Yu Tsai
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 --- arch/arm/include/asm/psci.h | 7 +++ 1 file changed, 7 insertions(+) diff --git

[U-Boot] [PATCH v3 04/11] ARM: allocate extra space for PSCI stack in secure section during link phase

2016-06-06 Thread Chen-Yu Tsai
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

[U-Boot] [PATCH v3 02/11] ARM: PSCI: save and restore clobbered registers in v7_flush_dcache_all

2016-06-06 Thread Chen-Yu Tsai
Signed-off-by: Chen-Yu Tsai --- arch/arm/cpu/armv7/psci.S | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/cpu/armv7/psci.S b/arch/arm/cpu/armv7/psci.S index cdd001fe3fb0..ab408378fcae 100644 --- a/arch/arm/cpu/armv7/psci.S +++ b/arch/arm/cpu/armv7/psci.S @@ -110,6

[U-Boot] [PATCH v3 00/11] sunxi: PSCI implementation rewrite in C

2016-06-06 Thread Chen-Yu Tsai
Hi everyone, This series rewrites the Allwinner/sunxi PSCI implementation in C, to make it easier to maintain and extend for the currently unsupported multi-cluster SoCs. The SMP code in the BSP kernels are in C. Having the PSCI code in C as well will make it easier to work on. To be able to

[U-Boot] [PATCH v3 06/11] sunxi: Add packed attribute to struct sunxi_prcm_reg

2016-06-06 Thread Chen-Yu Tsai
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 --- arch/arm/include/asm/arch-sunxi/prcm.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git

[U-Boot] [PATCH v3 01/11] ARM: PSCI: use only r0 and r3 in psci_get_cpu_stack_top()

2016-06-06 Thread Chen-Yu Tsai
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

Re: [U-Boot] [PATCH 0/3] This series adds support for fastboot related to USB.

2016-06-06 Thread Marek Vasut
On 06/07/2016 03:28 AM, Eddie Cai wrote: > Hi Lukasz > > I guess you missed this mail thread. So send it again. Can you help to > review this patch set? Hi, please rebase the series and repost. Keep me on CC > 2016-01-18 14:24 GMT+08:00 Eddie Cai : >> Hi Lukasz >>

Re: [U-Boot] [PATCH] arm: mxs: Remove misleading comments

2016-06-06 Thread Peng Fan
Hi Michael > -Original Message- > From: Michael Heimpold [mailto:michael.heimp...@i2se.com] > Sent: Monday, June 06, 2016 8:27 PM > To: u-boot@lists.denx.de > Cc: Michael Heimpold ; Peng Fan > ; Stefano Babic > Subject:

Re: [U-Boot] [PATCH v3 00/11] armv8: ls2080aqds: Enable QSPI boot support

2016-06-06 Thread Yao Yuan
On 06/07/2016 02:41 AM, York Sun wrote: > On 06/06/2016 03:53 AM, Yuan Yao wrote: > > From: Yuan Yao > > > > 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

Re: [U-Boot] u-boot on Minnowboard max

2016-06-06 Thread Bin Meng
+Simon, ML On Mon, Jun 6, 2016 at 10:55 PM, vinoth eswaran wrote: > Hello Mr Bin, > > I have seen your mail in the U-boot minnow board max discussion. > > I am currently working on an embedded project using Minnowboard Max and > facing some issues with u-boot and loading

Re: [U-Boot] [PATCH 0/3] This series adds support for fastboot related to USB.

2016-06-06 Thread Eddie Cai
Hi Lukasz I guess you missed this mail thread. So send it again. Can you help to review this patch set? 2016-01-18 14:24 GMT+08:00 Eddie Cai : > Hi Lukasz > > Have you back to office? Much appreciate if you can review Frank's patch. > > Thanks > Eddie > > 2015-12-30

Re: [U-Boot] [PATCH 1/5] ls2080: Exit dpaa only right before exiting U-Boot

2016-06-06 Thread Prabhakar Kushwaha
Hi Alex, > -Original Message- > From: Alexander Graf [mailto:ag...@suse.de] > Sent: Friday, May 27, 2016 7:58 PM > To: Prabhakar Kushwaha ; u- > b...@lists.denx.de > Cc: york sun > Subject: Re: [U-Boot] [PATCH 1/5] ls2080: Exit dpaa only

Re: [U-Boot] [PATCH v3] usb: dwc2_udc_otg: support 8-bit interface

2016-06-06 Thread Marek Vasut
On 06/07/2016 02:57 AM, Steve Rae wrote: > 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 Acked-by: Marek Vasut > --- btw I'd still like to see the defconfig

Re: [U-Boot] [PATCH v2] usb: dwc2_udc_otg: support 8-bit interface

2016-06-06 Thread Marek Vasut
On 06/07/2016 02:55 AM, Steve Rae wrote: > On Mon, Jun 6, 2016 at 5:38 PM, Marek Vasut wrote: >> On 06/07/2016 01:58 AM, Steve Rae wrote: >>> Define CONFIG_USB_GADGET_DWC2_OTG_PHY_BUS_WIDTH_8 to allow the >>> physical interface to be 8-bit (rather than 16-bit). >>> >>>

[U-Boot] [PATCH v3] usb: dwc2_udc_otg: support 8-bit interface

2016-06-06 Thread Steve Rae
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 --- from [1] (line ~124) /* The Kona PHY supports an 8-bit wide UTMI interface */ [...snip...]

Re: [U-Boot] [PATCH v2] usb: dwc2_udc_otg: support 8-bit interface

2016-06-06 Thread Steve Rae
On Mon, Jun 6, 2016 at 5:38 PM, Marek Vasut wrote: > On 06/07/2016 01:58 AM, Steve Rae wrote: >> 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 > > Hi, minor

Re: [U-Boot] [PATCH v2] usb: dwc2_udc_otg: support 8-bit interface

2016-06-06 Thread Marek Vasut
On 06/07/2016 01:58 AM, Steve Rae wrote: > 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 Hi, minor nits below. > --- > from [1] (line ~124) > > /* The Kona PHY supports

[U-Boot] [PATCH] arm: mxs: Remove misleading comments

2016-06-06 Thread Michael Heimpold
Both comments look like being copy & paste errors. Signed-off-by: Michael Heimpold Cc: Peng Fan Cc: Stefano Babic --- arch/arm/cpu/arm926ejs/mxs/mxs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[U-Boot] [PATCHV5 3/6] ARMv8/layerscape: Add FSL PPA support

2016-06-06 Thread Zhiqiang Hou
From: Hou Zhiqiang The FSL Primary Protected Application (PPA) is a software component loaded during boot which runs in TrustZone and remains resident after boot. Signed-off-by: Hou Zhiqiang --- V5: - Added API sec_firmware_init() implementation.

Re: [U-Boot] [PATCH v2] Make FIT support really optional

2016-06-06 Thread Carlos Santos
> From: "Carlos Santos" > To: "Tom Rini" > Cc: u-boot@lists.denx.de > Sent: Saturday, June 4, 2016 2:39:22 PM > Subject: Re: [U-Boot] [PATCH v2] Make FIT support really optional >> From: "Tom Rini" >> To: "Carlos Santos"

[U-Boot] [PATCHV5 6/6] ARMv8/ls1043ardb: Integrate FSL PPA

2016-06-06 Thread Zhiqiang Hou
From: Hou Zhiqiang So far, the PPA use PSCI to make secondary cores bootup. So when PPA is enabled, add the CONFIG_ARMV8_PSCI to identify the SMP boot-method between PSCI and spin-table. Signed-off-by: Hou Zhiqiang --- V5: - Merged the 7th patch of

[U-Boot] [PATCHV5 4/6] ARMv8/Layerscape: switch SMP method accordingly

2016-06-06 Thread Zhiqiang Hou
From: Hou Zhiqiang If the PSCI and PPA is ready, skip the fixup for spin-table and waking secondary cores. If not, change SMP method to spin-table, and the device node of PSCI will be removed. Signed-off-by: Hou Zhiqiang --- V5: - Changed the

[U-Boot] [PATCHV5 2/6] ARMv8: add the secure monitor firmware framework

2016-06-06 Thread Zhiqiang Hou
From: Hou Zhiqiang The sec_firmware.h is the common header file for secure monitor firmware under ARMv8. The declaration of common APIs can be added to this file. And the implementation of common APIs will be abstracted to sec_firmware.c, up to now there are some weak

[U-Boot] [PATCHV5 5/6] ARMv8/PSCI: Fixup the device tree for PSCI

2016-06-06 Thread Zhiqiang Hou
From: Hou Zhiqiang Set the enable-method in the cpu node to PSCI, and create device node for PSCI. Signed-off-by: Hou Zhiqiang --- V5: - Moved the weak func sec_firmware_support_psci_version to sec_firmware.c. - Correct the PSCI version value in

Re: [U-Boot] [PATCH v2] Make FIT support really optional

2016-06-06 Thread Carlos Santos
> From: "Tom Rini" > To: "Carlos Santos" > Cc: u-boot@lists.denx.de > Sent: Saturday, June 4, 2016 10:06:58 AM > Subject: Re: [U-Boot] [PATCH v2] Make FIT support really optional > On Fri, Jun 03, 2016 at 04:16:26PM -0300, Carlos Santos wrote: > >>

[U-Boot] [PATCHV5 1/6] armv8: fsl-layerscape: add i/d-cache enable function to enable_caches

2016-06-06 Thread Zhiqiang Hou
From: Hou Zhiqiang 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

Re: [U-Boot] [PATCH] arm: rmobile: Fix HDMI output for BLANCHE board

2016-06-06 Thread Nobuhiro Iwamatsu
Applied to u-boot-sh/rmobile, thanks. Best regards, Nobuhiro 2016-05-17 13:53 GMT+09:00 : > This commit fixes HDMI output for BLANCHE board > > Signed-off-by: Masakazu Mochizuki > --- > board/renesas/blanche/blanche.c |

Re: [U-Boot] [PATCH 0/9] sh: Convert generic board

2016-06-06 Thread Nobuhiro Iwamatsu
Hi, again. Same fixes and you had already been taken up by Simon. I'm sorry to reply and confirmation slow. Best regards, Nobuhiro 2016-06-07 9:14 GMT+09:00 Nobuhiro Iwamatsu : > Hi, > > Sorry, my reply was too late. And thanks for your work. > > > > 2016-05-19 21:26

Re: [U-Boot] Potential memory corruption in drivers/net/sh_eth.c ?

2016-06-06 Thread Nobuhiro Iwamatsu
Hi, Sorry, reply was too late. > My complaint is that this requirement is not visible in the code, and > there is no explanation for the magic numbers. The comment just says > > The size of the tx descriptor is determined by how much > padding is used. > 4, 20, or 52

Re: [U-Boot] [PATCH] mmc: rmobile: add a compiler barrier

2016-06-06 Thread Nobuhiro Iwamatsu
Applied, thanks. Best regards, Nobuhiro 2016-04-04 18:49 GMT+09:00 Yannick Gicquel : > 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

Re: [U-Boot] [PATCH 0/9] sh: Convert generic board

2016-06-06 Thread Nobuhiro Iwamatsu
Hi, Sorry, my reply was too late. And thanks for your work. 2016-05-19 21:26 GMT+09:00 Yoshinori Sato : > Hello. > This patch series convert generic board for SH. > Tested on r2dplus target. > > Yoshinori Sato (9): > board_f: Add relocate_code stub Please add

[U-Boot] [PATCH v2] usb: dwc2_udc_otg: support 8-bit interface

2016-06-06 Thread Steve Rae
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 --- from [1] (line ~124) /* The Kona PHY supports an 8-bit wide UTMI interface */ [...snip...]

Re: [U-Boot] ARMv7 Execution Flow

2016-06-06 Thread Simon Glass
Hi James, On 6 June 2016 at 07:38, James Chargin wrote: > Hi James, > > On 06/05/2016 08:48 PM, Lokesh Vutla wrote: >> >> Hi James, >> >> On Saturday 04 June 2016 12:25 AM, James Pollard wrote: >>> >>> Hi, >>> >>> I'm a new U-Boot user. I'm trying to follow the flow of

Re: [U-Boot] [PATCH 3/6] mtd: nand: Add the sunxi NAND controller driver

2016-06-06 Thread Scott Wood
On Mon, 2016-06-06 at 20:31 +0200, Boris Brezillon wrote: > On Mon, 06 Jun 2016 12:56:48 -0500 > Scott Wood wrote: > > > On Mon, 2016-06-06 at 18:22 +0200, Boris Brezillon wrote: > > > On Mon, 6 Jun 2016 17:36:10 +0200 > > > Hans de Goede wrote: > > >

[U-Boot] [ANN] U-Boot v2016.07-rc1 released

2016-06-06 Thread Tom Rini
Hey all, It's release day and v2016.07-rc1 is out and the merge window is closed. I've updated git and the tarballs are also up now. To make sure everyone is on the same page, I'm going to start to get more strict about what comes in, soon enough. I plan to do -rc2 around the 20th and I'll try

[U-Boot] [PATCH v2 4/5] bcm2835 video: Map frame buffer as 32bpp

2016-06-06 Thread Alexander Graf
To enable working efifb support, let's map the frame buffer as 32bpp instead of 16bpp. Signed-off-by: Alexander Graf --- drivers/video/bcm2835.c | 6 +++--- include/configs/rpi.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/video/bcm2835.c

[U-Boot] [PATCH v2 0/5] Raspberry Pi EFI enablement

2016-06-06 Thread Alexander Graf
This is a follow-up to the RTS patch set from yesterday. With this patch set I can successfully boot a Raspberry Pi 3 into Linux, with efifb, efi based reset/power off and spin table secondary bringup working. I've put all of this into a single patch set so it doesn't get lost. In theory most

[U-Boot] [PATCH v2 5/5] bcm2835: Reserve the spin table in efi memory map

2016-06-06 Thread Alexander Graf
Firmware provides a spin table on the raspberry pi. This table shouldn't get overwritten by payloads, so we need to mark it as reserved. Signed-off-by: Alexander Graf --- board/raspberrypi/rpi/rpi.c | 6 ++ 1 file changed, 6 insertions(+) diff --git

[U-Boot] [PATCH v2 3/5] efi_loader: gop: Expose fb when 32bpp

2016-06-06 Thread Alexander Graf
When we're running in 32bpp mode, expose the frame buffer address to our payloads so that Linux efifb can pick it up. Signed-off-by: Alexander Graf --- lib/efi_loader/efi_gop.c | 16 1 file changed, 16 insertions(+) diff --git a/lib/efi_loader/efi_gop.c

[U-Boot] [PATCH v2 2/5] ARM: bcm283x: Implement EFI RTS reset_system

2016-06-06 Thread Alexander Graf
The rpi has a pretty simple way of resetting the whole system. All it takes is to poke a few registers at a well defined location in MMIO space. This patch adds support for the EFI loader implementation to allow an OS to reset and power off the system when we're outside of boot time.

[U-Boot] [PATCH v2 1/5] efi_loader: Allow boards to implement get_time and reset_system

2016-06-06 Thread Alexander Graf
EFI allows an OS to leverage firmware drivers while the OS is running. In the generic code we so far had to stub those implementations out, because we would need board specific knowledge about MMIO setups for it. However, boards can easily implement those themselves. This patch provides the

Re: [U-Boot] [PATCH] usb: dwc2_udc_otg: support 8-bit interface

2016-06-06 Thread Marek Vasut
On 06/06/2016 09:10 PM, Steve Rae wrote: > On Mon, Jun 6, 2016 at 11:58 AM, Steve Rae wrote: >> On Mon, Jun 6, 2016 at 10:03 AM, Marek Vasut wrote: >>> >>> On 06/06/2016 06:50 PM, Steve Rae wrote: On Mon, Jun 6, 2016 at 9:30 AM, Marek Vasut

Re: [U-Boot] [PATCH] usb: dwc2_udc_otg: support 8-bit interface

2016-06-06 Thread Marek Vasut
On 06/06/2016 08:58 PM, Steve Rae wrote: > On Mon, Jun 6, 2016 at 10:03 AM, Marek Vasut wrote: >> >> On 06/06/2016 06:50 PM, Steve Rae wrote: >>> >>> >>> On Mon, Jun 6, 2016 at 9:30 AM, Marek Vasut >> > wrote: >>> >>> On 06/06/2016 06:15

Re: [U-Boot] env: Setup GD_FLG_ENV_DEFAULT flag when default environment are used

2016-06-06 Thread Tom Rini
On Mon, Jun 06, 2016 at 05:28:33PM -0400, Tom Rini wrote: > On Mon, May 30, 2016 at 04:11:53PM +0200, Michal Simek wrote: > > > 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

Re: [U-Boot] ARM: DRA7xx: Enable FIT for hs platforms

2016-06-06 Thread Tom Rini
On Mon, Jun 06, 2016 at 10:54:57AM +0530, Lokesh Vutla wrote: > Use a single defconfig for all DRA7xx hs platforms by enabling FIT and delete > the platform specific defconfigs. > > Signed-off-by: Lokesh Vutla Applied to u-boot/master, thanks! -- Tom signature.asc

Re: [U-Boot] configs: k2*_evm: Update fdt file names

2016-06-06 Thread Tom Rini
On Mon, Jun 06, 2016 at 11:18:42AM +0530, Lokesh Vutla wrote: > 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 Applied to u-boot/master, thanks! --

Re: [U-Boot] efi_loader: Add DM_VIDEO support

2016-06-06 Thread Tom Rini
On Sun, Jun 05, 2016 at 10:34:31PM +0200, Alexander Graf wrote: > 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

Re: [U-Boot] [U-Boot, v1] ti_armv7_common: env: Fix hard coded mmc device for uuid

2016-06-06 Thread Tom Rini
On Fri, Jun 03, 2016 at 08:44:02PM +0530, B, Ravi wrote: > 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 > Reviewed-by: Tom Rini Applied to

Re: [U-Boot] armv7: fix order of OMAP die ID printing

2016-06-06 Thread Tom Rini
On Thu, Jun 02, 2016 at 11:43:16AM +0200, Ladislav Michl wrote: > Signed-off-by: Ladislav Michl > Acked-by: Enric Balletbo i Serra > > diff --git a/arch/arm/cpu/armv7/omap-common/utils.c > b/arch/arm/cpu/armv7/omap-common/utils.c > index

Re: [U-Boot] efi_loader: Move to normal debug infrastructure

2016-06-06 Thread Tom Rini
On Thu, Jun 02, 2016 at 11:38:27AM +0200, Alexander Graf wrote: > 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

Re: [U-Boot] [U-Boot,4/4] strider: Support cpu-dp flavor

2016-06-06 Thread Tom Rini
On Thu, Jun 02, 2016 at 09:05:42AM +0200, Dirk Eibach wrote: > From: Dirk Eibach > > There is new strider cpu flavor with DisplayPort video. > > Signed-off-by: Dirk Eibach > Reviewed-by: Tom Rini Applied to u-boot/master,

Re: [U-Boot] [U-Boot,3/4] strider: Support con-dp flavor

2016-06-06 Thread Tom Rini
On Thu, Jun 02, 2016 at 09:05:41AM +0200, Dirk Eibach wrote: > From: Dirk Eibach > > There is a new strider console flavor with DisplayPort > video. > > Signed-off-by: Dirk Eibach > Reviewed-by: Tom Rini Applied to

Re: [U-Boot] [U-Boot, 2/4] gdsys: osd: Allow osdsize on valid screens only

2016-06-06 Thread Tom Rini
On Thu, Jun 02, 2016 at 09:05:40AM +0200, Dirk Eibach wrote: > From: Dirk Eibach > > Limit "osdsize"-command to access valid screens only. > > Signed-off-by: Dirk Eibach > Reviewed-by: Tom Rini Applied to u-boot/master, thanks!

Re: [U-Boot] [U-Boot,1/4] ioep-fpga: Support intempo compression

2016-06-06 Thread Tom Rini
On Thu, Jun 02, 2016 at 09:05:39AM +0200, Dirk Eibach wrote: > From: Dirk Eibach > > There is a new "intempo" compression type that can > be reported on startup. > > Signed-off-by: Dirk Eibach > Reviewed-by: Tom Rini Applied to

Re: [U-Boot] Fix to davinci_nand.h to place CEnCFG registers at correct

2016-06-06 Thread Tom Rini
On Thu, Jun 02, 2016 at 01:19:26PM +1000, Peter Howard wrote: > Signed-off-by: Peter Howard Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] dm: scsi: if_typename should be scsi

2016-06-06 Thread Tom Rini
On Wed, Jun 01, 2016 at 08:11:24AM -0500, Ed Swarthout wrote: > 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 > Tested-by: George McCollister

Re: [U-Boot] [U-Boot, v4] arm/arm64: implement a boot header capability

2016-06-06 Thread Tom Rini
On Tue, May 31, 2016 at 10:45:06AM -0700, Steve Rae wrote: > From: Andre Przywara > > 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

Re: [U-Boot] [U-Boot,v2] Remove unneeded remnants of bcopy().

2016-06-06 Thread Tom Rini
On Mon, May 30, 2016 at 06:55:53AM -0400, Robert P. J. Day wrote: > Since bcopy() is no longer used, delete all remaining references to > it. > > Signed-off-by: Robert P. J. Day Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] env: Setup GD_FLG_ENV_DEFAULT flag when default environment are used

2016-06-06 Thread Tom Rini
On Mon, May 30, 2016 at 04:11:53PM +0200, Michal Simek wrote: > 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 > Reviewed-by: Alexander Graf

Re: [U-Boot] [U-Boot,v2] lib: make strmhz available in SPL

2016-06-06 Thread Tom Rini
On Tue, May 31, 2016 at 08:30:59PM +1200, Chris Packham wrote: > From: Chris Packham > > 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

Re: [U-Boot] efi_loader: Don't allocate from memory holes

2016-06-06 Thread Tom Rini
On Fri, May 27, 2016 at 12:25:03PM +0200, Alexander Graf wrote: > 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

Re: [U-Boot] [PULL] u-boot-usb/master

2016-06-06 Thread Tom Rini
On Sun, Jun 05, 2016 at 03:56:50AM +0200, Marek Vasut wrote: > The following changes since commit b2f1858455e99a91aeafe59ac73c6c047106d5e8: > > arm: lib: fix push/pop-section directives (2016-06-03 15:14:11 -0400) > > are available in the git repository at: > >

Re: [U-Boot] [U-Boot,1/2] arm: Introduce setjmp/longjmp

2016-06-06 Thread Tom Rini
On Fri, May 20, 2016 at 11:28:22PM +0200, Alexander Graf wrote: > 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

Re: [U-Boot] [U-Boot,2/2] efi_loader: Add exit support

2016-06-06 Thread Tom Rini
On Fri, May 20, 2016 at 11:28:23PM +0200, Alexander Graf wrote: > 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

Re: [U-Boot] [GIT PULL] Xilinx changes

2016-06-06 Thread Tom Rini
On Mon, Jun 06, 2016 at 11:26:53AM +0200, Michal Simek wrote: > Hi Tom, > > please pull these changes to your tree. It is converting ZynqMP targets to > use distro > boot options. > I am still waiting for Marek to apply one USB DWC3 patch to fix usb support > on ZynqMP. > > Thanks, > Michal >

Re: [U-Boot] [PATCH 5/6] cmd: mtdparts: support runtime generated mtdparts

2016-06-06 Thread Ladislav Michl
On Mon, Jun 06, 2016 at 08:50:55PM +0200, Michal Suchanek wrote: > On 6 June 2016 at 09:48, Ladislav Michl wrote: [snip] > > Okay, specifing size in therms of eraseblock would solve my problem > > and I have to admit I'm not aware such a thing exists. Any pointer to > > the

Re: [U-Boot] [PATCH] usb: dwc2_udc_otg: support 8-bit interface

2016-06-06 Thread Steve Rae
On Mon, Jun 6, 2016 at 11:58 AM, Steve Rae wrote: > On Mon, Jun 6, 2016 at 10:03 AM, Marek Vasut wrote: >> >> On 06/06/2016 06:50 PM, Steve Rae wrote: >> > >> > >> > On Mon, Jun 6, 2016 at 9:30 AM, Marek Vasut > > >

Re: [U-Boot] [PATCH] usb: dwc2_udc_otg: support 8-bit interface

2016-06-06 Thread Steve Rae
On Mon, Jun 6, 2016 at 10:03 AM, Marek Vasut wrote: > > On 06/06/2016 06:50 PM, Steve Rae wrote: > > > > > > On Mon, Jun 6, 2016 at 9:30 AM, Marek Vasut > > wrote: > > > > On 06/06/2016 06:15 PM, Steve Rae wrote: > > > On Mon, Jun 6,

Re: [U-Boot] [PATCH 5/6] cmd: mtdparts: support runtime generated mtdparts

2016-06-06 Thread Michal Suchanek
On 6 June 2016 at 09:48, Ladislav Michl wrote: > On Mon, Jun 06, 2016 at 09:08:47AM +0200, Michal Suchanek wrote: >> On 5 June 2016 at 20:23, Ladislav Michl wrote: >> > Unless I'm missing something, partition layout is passed to the kernel >> > from

Re: [U-Boot] [PATCH v2 2/7] spl: nand: rename the SYS_NAND_U_BOOT_OFFS Kconfig option

2016-06-06 Thread Boris Brezillon
On Mon, 06 Jun 2016 12:16:33 -0500 Scott Wood wrote: > On Sat, 2016-06-04 at 13:06 +0200, Boris Brezillon wrote: > > On Sat, 04 Jun 2016 02:14:09 -0500 > > Scott Wood wrote: > > > > > On Sat, 2016-06-04 at 08:06 +0200, Boris Brezillon wrote: > > > > On

Re: [U-Boot] [PATCH v3 00/11] armv8: ls2080aqds: Enable QSPI boot support

2016-06-06 Thread York Sun
On 06/06/2016 03:53 AM, Yuan Yao wrote: > From: Yuan Yao > > 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. > > Yuan Yao (11): > armv8:

Re: [U-Boot] [PATCH 3/6] mtd: nand: Add the sunxi NAND controller driver

2016-06-06 Thread Boris Brezillon
On Mon, 06 Jun 2016 12:56:48 -0500 Scott Wood wrote: > On Mon, 2016-06-06 at 18:22 +0200, Boris Brezillon wrote: > > On Mon, 6 Jun 2016 17:36:10 +0200 > > Hans de Goede wrote: > > > > > > +#ifndef CONFIG_SPL_BUILD > > > > +void sunxi_nand_init(void); >

Re: [U-Boot] [PATCH 3/6] mtd: nand: Add the sunxi NAND controller driver

2016-06-06 Thread Scott Wood
On Mon, 2016-06-06 at 18:22 +0200, Boris Brezillon wrote: > On Mon, 6 Jun 2016 17:36:10 +0200 > Hans de Goede wrote: > > > > +#ifndef CONFIG_SPL_BUILD > > > +void sunxi_nand_init(void); > > > +#endif > > > + > > > > Can we have this in a header somewhere please, and

Re: [U-Boot] [U-Boot,12/12] lib: Enable private libgcc by default

2016-06-06 Thread Michael Zimmermann
> 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. I agree

Re: [U-Boot] [U-Boot,12/12] lib: Enable private libgcc by default

2016-06-06 Thread Simon Glass
On 4 June 2016 at 02:00, Tom Rini wrote: > On Thu, May 26, 2016 at 06:01:47PM +0200, Marek Vasut wrote: > >> 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

Re: [U-Boot] [PATCH v2 2/7] spl: nand: rename the SYS_NAND_U_BOOT_OFFS Kconfig option

2016-06-06 Thread Scott Wood
On Sat, 2016-06-04 at 13:06 +0200, Boris Brezillon wrote: > On Sat, 04 Jun 2016 02:14:09 -0500 > Scott Wood wrote: > > > On Sat, 2016-06-04 at 08:06 +0200, Boris Brezillon wrote: > > > On Fri, 03 Jun 2016 20:08:49 -0500 > > > Scott Wood wrote: > > > > > >

Re: [U-Boot] [PATCH] usb: dwc2_udc_otg: support 8-bit interface

2016-06-06 Thread Marek Vasut
On 06/06/2016 06:50 PM, Steve Rae wrote: > > > On Mon, Jun 6, 2016 at 9:30 AM, Marek Vasut > wrote: > > On 06/06/2016 06:15 PM, Steve Rae wrote: > > On Mon, Jun 6, 2016 at 8:59 AM, Marek Vasut > wrote: >

Re: [U-Boot] [PATCH] usb: dwc2_udc_otg: support 8-bit interface

2016-06-06 Thread Steve Rae
On Mon, Jun 6, 2016 at 9:30 AM, Marek Vasut wrote: > On 06/06/2016 06:15 PM, Steve Rae wrote: > > On Mon, Jun 6, 2016 at 8:59 AM, Marek Vasut wrote: > >> > >> On 06/06/2016 05:57 PM, Steve Rae wrote: > >>> Define CONFIG_USB_GADGET_DWC2_PHY_8_BIT to allow the > >>>

Re: [U-Boot] [PATCH] usb: dwc2_udc_otg: support 8-bit interface

2016-06-06 Thread Marek Vasut
On 06/06/2016 06:15 PM, Steve Rae wrote: > On Mon, Jun 6, 2016 at 8:59 AM, Marek Vasut wrote: >> >> On 06/06/2016 05:57 PM, Steve Rae wrote: >>> Define CONFIG_USB_GADGET_DWC2_PHY_8_BIT to allow the >>> physical interface to be 8-bit (rather than 16-bit). >>> >>> Signed-off-by:

Re: [U-Boot] [PATCH 3/6] mtd: nand: Add the sunxi NAND controller driver

2016-06-06 Thread Boris Brezillon
On Mon, 6 Jun 2016 17:36:10 +0200 Hans de Goede wrote: > > +#ifndef CONFIG_SPL_BUILD > > +void sunxi_nand_init(void); > > +#endif > > + > > Can we have this in a header somewhere please, and without > the #ifdef around it, that is not necessary for prototypes. Hehe, I

Re: [U-Boot] [PATCH] usb: dwc2_udc_otg: support 8-bit interface

2016-06-06 Thread Steve Rae
On Mon, Jun 6, 2016 at 8:59 AM, Marek Vasut wrote: > > On 06/06/2016 05:57 PM, Steve Rae wrote: > > Define CONFIG_USB_GADGET_DWC2_PHY_8_BIT to allow the > > physical interface to be 8-bit (rather than 16-bit). > > > > Signed-off-by: Steve Rae > > Can this config

Re: [U-Boot] [PATCH 7/7] mtd: nand: Sync with Linux v4.6

2016-06-06 Thread Boris Brezillon
On Mon, 30 May 2016 13:57:58 -0500 Scott Wood wrote: > 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,

Re: [U-Boot] [PATCH 5/7] mtd: nand: Add+use mtd_to/from_nand and nand_get/set_controller_data

2016-06-06 Thread Boris Brezillon
On Mon, 30 May 2016 13:57:56 -0500 Scott Wood wrote: > 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

Re: [U-Boot] [PATCH] usb: dwc2_udc_otg: support 8-bit interface

2016-06-06 Thread Marek Vasut
On 06/06/2016 05:57 PM, Steve Rae wrote: > Define CONFIG_USB_GADGET_DWC2_PHY_8_BIT to allow the > physical interface to be 8-bit (rather than 16-bit). > > Signed-off-by: Steve Rae Can this config option be picked from DT rather than hard-coded by some new ad-hoc config option

[U-Boot] [PATCH] usb: dwc2_udc_otg: support 8-bit interface

2016-06-06 Thread Steve Rae
Define CONFIG_USB_GADGET_DWC2_PHY_8_BIT to allow the physical interface to be 8-bit (rather than 16-bit). Signed-off-by: Steve Rae --- drivers/usb/gadget/dwc2_udc_otg.c | 4 include/configs/bcm28155_ap.h | 1 + 2 files changed, 5 insertions(+) diff --git

Re: [U-Boot] [linux-sunxi] [PATCH 0/6] sunxi: Add NAND controller driver

2016-06-06 Thread Hans de Goede
Hi, On 06-06-16 17:21, Boris Brezillon wrote: Hello, This patch series is adding the normal sunxi NAND controller driver to u-boot. It's based on the Linux driver, with a few adaptions to make it work in Linux. It's based on Scott's series syncing the MTD/NAND frameworks with Linux 4.6 [1].

Re: [U-Boot] [PATCH 3/6] mtd: nand: Add the sunxi NAND controller driver

2016-06-06 Thread Hans de Goede
Hi, One small remark inline. On 06-06-16 17:21, Boris Brezillon wrote: 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

[U-Boot] [PATCH 5/6] mtd: nand: Add a full-id entry for the H27QCG8T2E5R‐BCF NAND

2016-06-06 Thread Boris Brezillon
Add a full-id entry for the H27QCG8T2E5R‐BCF NAND. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/nand_ids.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/mtd/nand/nand_ids.c b/drivers/mtd/nand/nand_ids.c index 561d2cd..ce0a14e 100644

[U-Boot] [PATCH 6/6] sunxi: Enable NAND controller on the CHIP

2016-06-06 Thread Boris Brezillon
Enable the NAND controller in the sun5i-r8-chip.dts. Signed-off-by: Boris Brezillon --- arch/arm/dts/sun5i-a10s.dtsi | 14 ++ arch/arm/dts/sun5i-a13-olinuxino.dts | 15 +++ arch/arm/dts/sun5i-r8-chip.dts | 15

[U-Boot] [PATCH 3/6] mtd: nand: Add the sunxi NAND controller driver

2016-06-06 Thread Boris Brezillon
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 --- board/sunxi/board.c|9 +-

[U-Boot] [PATCH 2/6] mtd: nand: add common DT init code

2016-06-06 Thread Boris Brezillon
From: Brian Norris 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

[U-Boot] [PATCH 4/6] sun5i: Add NAND controller to the sun5i DTSI

2016-06-06 Thread Boris Brezillon
From: Maxime Ripard Add the NAND controller definition to sun5i.dtsi. Signed-off-by: Maxime Ripard Signed-off-by: Boris Brezillon --- arch/arm/dts/sun5i.dtsi | 49

  1   2   >