Re: [U-Boot] [PATCH v2] dm/mmc: gen_atmel_mci: Add driver model support for mci

2016-09-20 Thread Wenyou.Yang
Hi Stephen, > -Original Message- > From: Stephen Warren [mailto:swar...@wwwdotorg.org] > Sent: 2016年9月21日 5:15 > To: Wenyou Yang - A41535 > Cc: U-Boot Mailing List ; Stephen Warren > > Subject: Re: [U-Boot] [PATCH v2]

Re: [U-Boot] [PATCH v2 0/6] mmc: sdhci: some fixes for CONFIG_BLK migration and macro renaming

2016-09-20 Thread Jaehoon Chung
Hi Masahiro On 09/21/2016 12:59 PM, Masahiro Yamada wrote: > Hi Jaehoon, > > > 2016-08-30 18:40 GMT+09:00 Jaehoon Chung : >> Hi Masahiro, >> >> On 08/25/2016 04:07 PM, Masahiro Yamada wrote: >>> Changes in v2: >>> - Adjust comment block >>> >>> Masahiro Yamada (6): >>>

Re: [U-Boot] [PATCH v2 0/6] mmc: sdhci: some fixes for CONFIG_BLK migration and macro renaming

2016-09-20 Thread Masahiro Yamada
Hi Jaehoon, 2016-08-30 18:40 GMT+09:00 Jaehoon Chung : > Hi Masahiro, > > On 08/25/2016 04:07 PM, Masahiro Yamada wrote: >> Changes in v2: >> - Adjust comment block >> >> Masahiro Yamada (6): >> mmc: sdhci: move sdhci_reset() call to sdhci_init() >> mmc: sdhci: move

[U-Boot] ad-hoc config error

2016-09-20 Thread york sun
Tom and Simon, After commit 371244cb19f9804711dd66e4281ff7979915fd2e, all merges with new macros defined will have the compiling error. How shall we fix it? Some macros can be added to Kconfig. But some are for local use, better than magic numbers. Adding them to the white-list doesn't sound

[U-Boot] [PATCH 2/2] rk3399: move the USB_XHCI_ROCKCHIP into Kconfig

2016-09-20 Thread Kever Yang
Move USB_XHCI_ROCKCHIP define from soc header file into board defconfig. Signed-off-by: Kever Yang --- configs/evb-rk3399_defconfig| 2 ++ include/configs/rk3399_common.h | 4 2 files changed, 2 insertions(+), 4 deletions(-) diff --git

[U-Boot] [PATCH 0/2] Kconfig USB_XHCI_ROCKCHIP fixup

2016-09-20 Thread Kever Yang
New config option must using Kconfig, move USB_XHCI_ROCKCHIP into Kconfig to follow the rule. Kever Yang (2): usb: host: add Kconfig for USB_XHCI_ROCKCHIP rk3399: move the USB_XHCI_ROCKCHIP into Kconfig configs/evb-rk3399_defconfig| 2 ++ drivers/usb/host/Kconfig| 7 +++

[U-Boot] [PATCH 1/2] usb: host: add Kconfig for USB_XHCI_ROCKCHIP

2016-09-20 Thread Kever Yang
Add a Kconfig for Rockchip xhci controller. Signed-off-by: Kever Yang --- drivers/usb/host/Kconfig | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/usb/host/Kconfig b/drivers/usb/host/Kconfig index e0699d4..afb2e97 100644 ---

Re: [U-Boot] [PATCH v2 1/3] rk3288: config change for enable dram capacity auto-detect.

2016-09-20 Thread Kever Yang
Hi Sandy, On 09/20/2016 09:21 PM, Sandy Patterson wrote: You're probably going to need to change this around now that the Kconfig stuff has been applied to master. Suggest following patch instead: I didn't enable the BACK_TO_BROM for all of rk3288 board, because boards like firefly and

Re: [U-Boot] [PATCH v2 0/3] Add sdram capacity auto detect for rk3288

2016-09-20 Thread Kever Yang
Hi Sandy, On 09/20/2016 11:04 PM, Sandy Patterson wrote: I can confirm that this boots on rock2 with current master branch. 9b1b6d42256a4c2e59c803afdbf90d39371e61ba Thanks for your test. It doesn't boot for me using rock2 on v2016.09 tag. I get: U-Boot SPL 2016.09-2-g690a8a3 (Sep 20

[U-Boot] Persisting data across a reset

2016-09-20 Thread Lorna McNeill
Is it possible to persist data across a reset for my own purposes (a counter that u-boot could increment if it fails to load the linux kernel, and check before it attempts to load the kernel), perhaps I can use an environment variable? I'm not on one of the Power processors that supports the boot

[U-Boot] [RESEND PATCH 03/10] treewide: replace #include with

2016-09-20 Thread Masahiro Yamada
Now, arch/${ARCH}/include/asm/errno.h and include/linux/errno.h have the same content. (both just wrap ) Replace all include directives for with . Signed-off-by: Masahiro Yamada --- arch/arm/cpu/arm1136/mx35/generic.c | 2 +-

[U-Boot] [RESEND PATCH 00/10] Consolidate errno.h headers, improvements of rest and ehci-generic

2016-09-20 Thread Masahiro Yamada
First, my motivation was to add reset control to drivers/usb/host/ehci-generic. I found build errors because the reset framework does not have no-op stubs for !CONFIG_DM_RESET case. When I was adding ENOTSUPP to include/reset.h, I noticed this macro define is sitting in include/linux/compat.t,

[U-Boot] [PATCH 0/8] Consolidate errno.h headers, improvements of rest and ehci-generic

2016-09-20 Thread Masahiro Yamada
First, my motivation was to add reset control to drivers/usb/host/ehci-generic. I found build errors because the reset framework does not have no-op stubs for !CONFIG_DM_RESET case. When I was adding ENOTSUPP to include/reset.h, I noticed this macro define is sitting in include/linux/compat.t,

[U-Boot] [PATCH 1/8] treewide: replace #include with

2016-09-20 Thread Masahiro Yamada
Now, arch/${ARCH}/include/asm/errno.h and include/linux/errno.h have the same content. (both just wrap ) Replace all include directives for with . Signed-off-by: Masahiro Yamada --- arch/arm/cpu/arm1136/mx35/generic.c | 2 +-

Re: [U-Boot] [RFC PATCH] kconfig: introduce kconfig for UBI

2016-09-20 Thread Tom Rini
On Tue, Sep 20, 2016 at 09:26:15AM -0500, Andrew F. Davis wrote: > On 09/20/2016 12:50 AM, Heiko Schocher wrote: > > Hello Andrew, > > > > Am 19.09.2016 um 18:03 schrieb Andrew F. Davis: > >> BTW, the following addresses that bounce should be removed from wherever > >> you found them or added to

[U-Boot] [RESEND PATCH 09/10] reset: add no-op stubs for optional reset control

2016-09-20 Thread Masahiro Yamada
My motivation for this patch is to make reset control handling optional for generic drivers. I want to add reset control to drivers/usb/host/ehci-generic.c, but it is used by several platforms, some will implement a reset controller driver, some will not. Add no-op stubs in order to avoid link

[U-Boot] [RESEND PATCH 04/10] Remove arch/${ARCH}/include/asm/errno.h

2016-09-20 Thread Masahiro Yamada
Unlike Linux, nothing about errno.h is arch-specific in U-Boot. As you see, all of arch/${ARCH}/include/asm/errno.h is just a wrapper of . Actually, U-Boot does not export headers to user-space, so we just have to care about the consistency in the U-Boot tree. Now all of include directives for

[U-Boot] [RESEND PATCH 05/10] treewide: replace #include with

2016-09-20 Thread Masahiro Yamada
Now, include/linux/errno.h is a wrapper of . Replace all include directives for with . is supposed to be included from when arch-headers fall back into generic implementation. Generally, they should not be directly included from .c files. Signed-off-by: Masahiro Yamada

[U-Boot] [RESEND PATCH 08/10] errno.h: sync error macros with linux 4.8-rc7

2016-09-20 Thread Masahiro Yamada
For synchronization, import macros from - include/uapi/asm-generic/errno-base.h - include/uapi/asm-generic/errno.h - include/linux/errno.h of Linux 4.8-rc7. Signed-off-by: Masahiro Yamada --- include/linux/errno.h | 57

[U-Boot] [RESEND PATCH 06/10] Move error macros from to

2016-09-20 Thread Masahiro Yamada
There are no files that include any more. Move error macro defines to include/linux/errno.h and remove include/asm-generic/errno.h. Going forward, please include when you need error macros. Signed-off-by: Masahiro Yamada --- include/asm-generic/errno.h | 139

[U-Boot] [RESEND PATCH 02/10] Add as a wrapper of

2016-09-20 Thread Masahiro Yamada
This will be used to consolidate errno.h variants. Signed-off-by: Masahiro Yamada --- include/linux/errno.h | 6 ++ 1 file changed, 6 insertions(+) create mode 100644 include/linux/errno.h diff --git a/include/linux/errno.h b/include/linux/errno.h new file

[U-Boot] [RESEND PATCH 10/10] usb: ehci-generic: support reset control for generic EHCI

2016-09-20 Thread Masahiro Yamada
This driver is designed in a generic manner, so resets should be handled generically as well. Signed-off-by: Masahiro Yamada --- drivers/usb/host/ehci-generic.c | 13 + 1 file changed, 13 insertions(+) diff --git a/drivers/usb/host/ehci-generic.c

[U-Boot] [RESEND PATCH 07/10] Move ENOTSUPP defines to include/linux/errno.h

2016-09-20 Thread Masahiro Yamada
Collect a couple of duplicated defines into a single place. Signed-off-by: Masahiro Yamada --- drivers/usb/gadget/rndis.c | 2 -- include/linux/compat.h | 2 -- include/linux/errno.h | 2 ++ include/usb/lin_gadget_compat.h | 2 -- 4 files

[U-Boot] [RESEND PATCH 01/10] treewide: use #include <...> to include public headers

2016-09-20 Thread Masahiro Yamada
We are supposed to use #include <...> to include headers in the public include paths. We should use #include "..." only for headers in local directories. Signed-off-by: Masahiro Yamada --- arch/powerpc/cpu/mpc83xx/qe_io.c | 8

[U-Boot] [PATCH v3 8/9] arm: socfpga: de0-nano-soc: Adding handoff for SDRAM ctrlcfg.extratime1

2016-09-20 Thread Chin Liang See
Adding new handoff for SDRAM ctrcfg.extratime1 which is required for stable LPDDR2 operation. Since the board is using DDR3, the handoff is set to default value 0. Signed-off-by: Chin Liang See Cc: Marek Vasut Cc: Dinh Nguyen ---

[U-Boot] [PATCH v3 9/9] arm: socfpga: sockit: Adding handoff for SDRAM ctrlcfg.extratime1

2016-09-20 Thread Chin Liang See
Adding new handoff for SDRAM ctrcfg.extratime1 which is required for stable LPDDR2 operation. Since the board is using DDR3, the handoff is set to default value 0. Signed-off-by: Chin Liang See Cc: Marek Vasut Cc: Dinh Nguyen ---

[U-Boot] [PATCH v3 7/9] arm: socfpga: sr1500: Adding handoff for SDRAM ctrlcfg.extratime1

2016-09-20 Thread Chin Liang See
Adding new handoff for SDRAM ctrcfg.extratime1 which is required for stable LPDDR2 operation. Since the board is using DDR3, the handoff is set to default value 0. Signed-off-by: Chin Liang See Cc: Marek Vasut Cc: Dinh Nguyen ---

[U-Boot] [PATCH v3 6/9] arm: socfpga: vining_fpga: Adding handoff for SDRAM ctrlcfg.extratime1

2016-09-20 Thread Chin Liang See
Adding new handoff for SDRAM ctrcfg.extratime1 which is required for stable LPDDR2 operation. Since the board is using DDR3, the handoff is set to default value 0. Signed-off-by: Chin Liang See Cc: Marek Vasut Cc: Dinh Nguyen ---

[U-Boot] [PATCH v3 2/9] arm: socfpga: Adding handoff for SDRAM ctrlcfg.extratime1

2016-09-20 Thread Chin Liang See
Adding new handoff for SDRAM ctrcfg.extratime1 which is required for stable LPDDR2 operation. Since the board is using DDR3, the handoff is set to default value 0. Signed-off-by: Chin Liang See Cc: Marek Vasut Cc: Dinh Nguyen ---

[U-Boot] [PATCH v3 4/9] arm: socfpga: socrates: Adding handoff for SDRAM ctrlcfg.extratime1

2016-09-20 Thread Chin Liang See
Adding new handoff for SDRAM ctrcfg.extratime1 which is required for stable LPDDR2 operation. Since the board is using DDR3, the handoff is set to default value 0. Signed-off-by: Chin Liang See Cc: Marek Vasut Cc: Dinh Nguyen ---

[U-Boot] [PATCH v3 5/9] arm: socfpga: is1: Adding handoff for SDRAM ctrlcfg.extratime1

2016-09-20 Thread Chin Liang See
Adding new handoff for SDRAM ctrcfg.extratime1 which is required for stable LPDDR2 operation. Since the board is using DDR3, the handoff is set to default value 0. Signed-off-by: Chin Liang See Cc: Marek Vasut Cc: Dinh Nguyen ---

[U-Boot] [PATCH v3 3/9] arm: socfpga: mcvevk: Adding handoff for SDRAM ctrlcfg.extratime1

2016-09-20 Thread Chin Liang See
Adding new handoff for SDRAM ctrcfg.extratime1 which is required for stable LPDDR2 operation. Since the board is using DDR3, the handoff is set to default value 0. Signed-off-by: Chin Liang See Cc: Marek Vasut Cc: Dinh Nguyen ---

[U-Boot] [PATCH v3 1/9] ddr: altera: Configuring SDRAM extra cycles timing parameters

2016-09-20 Thread Chin Liang See
To enable configuration of sdr.ctrlcfg.extratime1 register which enable extra clocks for read to write command timing. This is critical to ensure successful LPDDR2 interface Signed-off-by: Chin Liang See Cc: Marek Vasut Cc: Dinh Nguyen

[U-Boot] [PATCH 4/8] Move error macros from to

2016-09-20 Thread Masahiro Yamada
There are no files that include any more. Move error macro defines to include/linux/errno.h and remove include/asm-generic/errno.h. Going forward, please include when you need error macros. Signed-off-by: Masahiro Yamada --- include/asm-generic/errno.h | 139

[U-Boot] [PATCH 8/8] usb: ehci-generic: support reset control for generic EHCI

2016-09-20 Thread Masahiro Yamada
This driver is designed in a generic manner, so resets should be handled generically as well. Signed-off-by: Masahiro Yamada --- drivers/usb/host/ehci-generic.c | 13 + 1 file changed, 13 insertions(+) diff --git a/drivers/usb/host/ehci-generic.c

[U-Boot] [PATCH 2/8] Remove arch/${ARCH}/include/asm/errno.h

2016-09-20 Thread Masahiro Yamada
Unlike Linux, nothing about errno.h is arch-specific in U-Boot. As you see, all of arch/${ARCH}/include/asm/errno.h is just a wrapper of . Actually, U-Boot does not export headers to user-space, so we just have to care about the consistency in the U-Boot tree. Now all of include directives for

[U-Boot] [PATCH 5/8] Move ENOTSUPP defines to include/linux/errno.h

2016-09-20 Thread Masahiro Yamada
Collect a couple of duplicated defines into a single place. Signed-off-by: Masahiro Yamada --- drivers/usb/gadget/rndis.c | 2 -- include/linux/compat.h | 2 -- include/linux/errno.h | 2 ++ include/usb/lin_gadget_compat.h | 2 -- 4 files

[U-Boot] [PATCH 6/8] errno.h: sync error macros with linux 4.8-rc7

2016-09-20 Thread Masahiro Yamada
For synchronization, import macros from - include/uapi/asm-generic/errno-base.h - include/uapi/asm-generic/errno.h - include/linux/errno.h of Linux 4.8-rc7. Signed-off-by: Masahiro Yamada --- include/linux/errno.h | 57

[U-Boot] [PATCH 7/8] reset: add no-op stubs for optional reset control

2016-09-20 Thread Masahiro Yamada
My motivation for this patch is to make reset control handling optional for generic drivers. I want to add reset control to drivers/usb/host/ehci-generic.c, but it is used by several platforms, some will implement a reset controller driver, some will not. Add no-op stubs in order to avoid link

[U-Boot] [PATCH 3/8] treewide: replace #include with

2016-09-20 Thread Masahiro Yamada
Now, include/linux/errno.h is a wrapper of . Replace all include directives for with . is supposed to be included from when arch-headers fall back into generic implementation. Generally, they should not be directly included from .c files. Signed-off-by: Masahiro Yamada

Re: [U-Boot] [PATCH v2] ddr: altera: Configuring SDRAM extra cycles timing parameters

2016-09-20 Thread Chin Liang See
On Wed, 2016-09-21 at 03:20 +0200, Marek Vasut wrote: > On 09/20/2016 08:05 AM, Chin Liang See wrote: > > To enable configuration of sdr.ctrlcfg.extratime1 register which > > enable > > extra clocks for read to write command timing. This is critical to > > ensure successful LPDDR2 interface > > >

Re: [U-Boot] [PATCH v2] ddr: altera: Configuring SDRAM extra cycles timing parameters

2016-09-20 Thread Marek Vasut
On 09/20/2016 08:05 AM, Chin Liang See wrote: > To enable configuration of sdr.ctrlcfg.extratime1 register which enable > extra clocks for read to write command timing. This is critical to > ensure successful LPDDR2 interface > > Signed-off-by: Chin Liang See > Cc: Marek Vasut

Re: [U-Boot] [PATCH 2/9] arm: socfpga: Adding handoff for SDRAM ctrlcfg.extratime1

2016-09-20 Thread Marek Vasut
On 09/20/2016 11:13 AM, Chin Liang See wrote: > On Tue, 2016-09-20 at 09:52 +0200, Marek Vasut wrote: >> On 09/20/2016 07:37 AM, Chin Liang See wrote: >>> On Mon, 2016-09-19 at 20:52 +0200, Marek Vasut wrote: On 09/19/2016 12:12 PM, Chin Liang See wrote: > On Mon, 2016-09-19 at 16:24

Re: [U-Boot] [PATCH 1/9] ddr: altera: Configuring SDRAM extra cycles timing parameters

2016-09-20 Thread Marek Vasut
On 09/20/2016 07:50 AM, Chin Liang See wrote: > On Mon, 2016-09-19 at 20:54 +0200, Marek Vasut wrote: >> On 09/19/2016 12:11 PM, Chin Liang See wrote: >>> On Mon, 2016-09-19 at 16:22 +0200, Marek Vasut wrote: On 09/15/2016 09:26 AM, Chin Liang See wrote: > To enable configuration of

Re: [U-Boot] [PATCH] ARMv7: LS102xA: Move two macros from header files to Kconfig

2016-09-20 Thread york sun
On 09/19/2016 09:59 PM, macro.wav...@gmail.com wrote: > From: Hongbo Zhang > > ARMV7_PSCI depends on ARMV7_NONSEC && ARCH_SUPPORT_PSCI, and ARMV7_NONSEC > depends on CPU_V7_HAS_NONSEC, LS102XA didn't enable CPU_V7_HAS_NONSEC, but > defined ARMV7_NONSEC in a internal header

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

2016-09-20 Thread Tom Rini
On Wed, Sep 21, 2016 at 01:52:21AM +0200, Ladislav Michl wrote: > On Tue, Sep 20, 2016 at 07:45:14PM -0400, Tom Rini wrote: > > On Wed, Sep 21, 2016 at 12:44:17AM +0200, Ladislav Michl wrote: > [snip] > > > Gah... I have to screw it up while resolving conflicts with upstream > > > changes. > > >

Re: [U-Boot] [PATCH 2/9] arm: socfpga: Adding handoff for SDRAM ctrlcfg.extratime1

2016-09-20 Thread Chin Liang See
On Tue, 2016-09-20 at 09:52 +0200, Marek Vasut wrote: > On 09/20/2016 07:37 AM, Chin Liang See wrote: > > On Mon, 2016-09-19 at 20:52 +0200, Marek Vasut wrote: > > > On 09/19/2016 12:12 PM, Chin Liang See wrote: > > > > On Mon, 2016-09-19 at 16:24 +0200, Marek Vasut wrote: > > > > > On 09/15/2016

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

2016-09-20 Thread Ladislav Michl
On Tue, Sep 20, 2016 at 07:45:14PM -0400, Tom Rini wrote: > On Wed, Sep 21, 2016 at 12:44:17AM +0200, Ladislav Michl wrote: [snip] > > Gah... I have to screw it up while resolving conflicts with upstream > > changes. > > Obviously MACH_TYPE has to remain the same. Will do v2. I'm sorry for that.

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

2016-09-20 Thread Tom Rini
On Wed, Sep 21, 2016 at 12:44:17AM +0200, Ladislav Michl wrote: > On Tue, Sep 20, 2016 at 08:52:21AM -0400, Tom Rini wrote: > > On Tue, Sep 20, 2016 at 11:07:57AM +0200, Ladislav Michl wrote: > > > Update defconfigs and drop NAND specific defconfig as flash type > > > is runtime detected. > > > >

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

2016-09-20 Thread Ladislav Michl
Hi Enric, On Tue, Sep 20, 2016 at 05:41:02PM +0200, Enric Balletbo Serra wrote: > Hi Ladis, > > I must NACK for now these series, meanwhile I don't find time to look > at this deeply. I think this will break lots of things. For example, > will this u-boot boot a non-device tree based kernel

Re: [U-Boot] Please pull u-boot-fsl-qoriq master

2016-09-20 Thread york sun
On 09/20/2016 12:55 PM, york@nxp.com wrote: > On 09/20/2016 12:30 PM, Tom Rini wrote: >> On Tue, Sep 20, 2016 at 06:09:47PM +, york sun wrote: >> >>> Tom, >>> >>> The following changes since commit >>> 8cbb389bb3da80cbf8911f8386cbff92c6a78afe: >>> >>>Prepare v2016.09 (2016-09-12

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

2016-09-20 Thread Ladislav Michl
On Tue, Sep 20, 2016 at 08:52:21AM -0400, Tom Rini wrote: > On Tue, Sep 20, 2016 at 11:07:57AM +0200, Ladislav Michl wrote: > > Update defconfigs and drop NAND specific defconfig as flash type > > is runtime detected. > > > > Signed-off-by: Ladislav Michl > > --- > >

Re: [U-Boot] [PATCHv2 1/5] fsl: serdes: ensure accessing the initialized maps of serdes protocol

2016-09-20 Thread york sun
On 08/02/2016 04:14 AM, Zhiqiang Hou wrote: > From: Hou Zhiqiang > > Up to now, the function is_serdes_configed() doesn't check if the map > of serdes protocol is initialized before accessing it. The function > is_serdes_configed() will get wrong result when it was called

Re: [U-Boot] ad-hoc config error

2016-09-20 Thread Tom Rini
On Tue, Sep 20, 2016 at 09:40:00PM +, york sun wrote: > On 09/20/2016 02:36 PM, Tom Rini wrote: > > On Tue, Sep 20, 2016 at 09:22:09PM +, york sun wrote: > > > >> Tom and Simon, > >> > >> After commit 371244cb19f9804711dd66e4281ff7979915fd2e, all merges with > >> new macros defined will

Re: [U-Boot] Please pull u-boot-fsl-qoriq master

2016-09-20 Thread york sun
On 09/20/2016 12:30 PM, Tom Rini wrote: > On Tue, Sep 20, 2016 at 06:09:47PM +, york sun wrote: > >> Tom, >> >> The following changes since commit 8cbb389bb3da80cbf8911f8386cbff92c6a78afe: >> >>Prepare v2016.09 (2016-09-12 10:05:51 -0400) >> >> are available in the git repository at: >> >>

Re: [U-Boot] ad-hoc config error

2016-09-20 Thread york sun
On 09/20/2016 02:36 PM, Tom Rini wrote: > On Tue, Sep 20, 2016 at 09:22:09PM +, york sun wrote: > >> Tom and Simon, >> >> After commit 371244cb19f9804711dd66e4281ff7979915fd2e, all merges with >> new macros defined will have the compiling error. How shall we fix it? >> Some macros can be added

Re: [U-Boot] [UBOOT PATCH 1/4] armv7: psci: make v7_flush_dcache_all public for all psci code

2016-09-20 Thread york sun
On 08/19/2016 02:20 AM, macro.wav...@gmail.com wrote: > From: Hongbo Zhang > > The v7_flush_dcache_all function will be called by ls102xa platform system > suspend, it is necessary to make it a public call instead of a local one, but > changing the LENTRY to ENTRY isn't

Re: [U-Boot] ad-hoc config error

2016-09-20 Thread Tom Rini
On Tue, Sep 20, 2016 at 09:22:09PM +, york sun wrote: > Tom and Simon, > > After commit 371244cb19f9804711dd66e4281ff7979915fd2e, all merges with > new macros defined will have the compiling error. How shall we fix it? > Some macros can be added to Kconfig. But some are for local use,

Re: [U-Boot] [PATCH] armv8: fsl-layerscape: Update ddr erratum a008336

2016-09-20 Thread york sun
On 08/26/2016 03:42 AM, Shengzhou Liu wrote: > DDR erratum A008336 only applies to DDR controller v5.2.0. > DDR controller v5.2.1 already has default 0x43b30002 in > EDDRTQCR1 register for optimal performance. > > Signed-off-by: Shengzhou Liu > --- Applied to fsl-qoriq

Re: [U-Boot] [PATCH v2 2/7] clk: at91: Improve the clock implementation

2016-09-20 Thread Stephen Warren
On 09/18/2016 12:53 AM, Wenyou Yang wrote: For the peripheral clock, provide the clock ops for the clock provider, such as spi0_clk. The .of_xlate is to get the clk->id, the .enable is to enable the spi0 peripheral clock, the .get_rate is to get the clock frequency. The driver for periph32ck

Re: [U-Boot] [PATCH v2] dm/mmc: gen_atmel_mci: Add driver model support for mci

2016-09-20 Thread Stephen Warren
On 09/19/2016 09:05 PM, Wenyou Yang wrote: Add the driver model support for Atmel mci 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. diff --git a/drivers/mmc/Kconfig b/drivers/mmc/Kconfig

[U-Boot] [PATCH v4 6/7] sf: Add CONFIG_SPI_FLASH_USE_4K_SECTORS in spi_flash

2016-09-20 Thread Jagan Teki
From: Jagan Teki Add CONFIG_SPI_FLASH_USE_4K_SECTORS in spi_flash code from header file. Cc: Simon Glass Cc: Bin Meng Cc: Michal Simek Cc: Siva Durga Prasad Paladugu Cc: Vignesh R

[U-Boot] [PATCH v4 7/7] sf: Move flags macro's to spi_flash_params{} members

2016-09-20 Thread Jagan Teki
From: Jagan Teki This patch moves flags macro's to respective member position on spi_flash_params{}, for better readabilty and finding the respective member macro's easily. Cc: Simon Glass Cc: Bin Meng Cc: Michal Simek

[U-Boot] [PATCH v4 5/7] sf: Remove SECT_32K

2016-09-20 Thread Jagan Teki
From: Jagan Teki SECT_32K never used anywhere in the code. Cc: Simon Glass Cc: Bin Meng Cc: Michal Simek Cc: Siva Durga Prasad Paladugu Cc: Vignesh R Cc: Mugunthan V N

[U-Boot] [PATCH v4 4/7] spi: Remove SPI_RX_FAST

2016-09-20 Thread Jagan Teki
From: Jagan Teki Removed SPI_RX_FAST since default read for spi slaves are always 1-wire fast read. Cc: Simon Glass Cc: Bin Meng Cc: Michal Simek Cc: Siva Durga Prasad Paladugu Cc:

[U-Boot] [PATCH v4 3/7] spi: Use mode for rx mode flags

2016-09-20 Thread Jagan Teki
From: Jagan Teki Make rx mode flags as generic to spi, earlier mode_rx is maintained separately because of some flash specific code. Cc: Simon Glass Cc: Bin Meng Cc: Michal Simek Cc: Siva Durga Prasad

[U-Boot] [PATCH v4 1/7] sf: Simplify fastest read cmd code

2016-09-20 Thread Jagan Teki
From: Jagan Teki Fastest read command code look for fastest read command taking inputs from spi->mode_rx and flags from param table and controller mode_rx is always been a priority. Since mode_rx is always set from controller side this optimized code doesn't require much and

[U-Boot] [PATCH v4 2/7] sf: Remove e_rd_cmd from param table

2016-09-20 Thread Jagan Teki
From: Jagan Teki e_rd_cmd is maintained separately for fastest read command code, since the read commands are computed normally this e_rd_cmd is not required in spi_flash_params table. Cc: Simon Glass Cc: Bin Meng Cc: Michal Simek

Re: [U-Boot] [PATCH v1] ARM: at91/dt: sama5d2: Fix the warning from dtc

2016-09-20 Thread Stephen Warren
On 09/18/2016 01:37 AM, Wenyou Yang wrote: Fix the warning from dtc like, ---8< Warning (unit_address_vs_reg): Node /ahb/apb/pmc@f0014000/periph64ck/sdmmc0_hclk has a reg or ranges property, but no unit name --->8 Acked-by: Stephen Warren I think this same

[U-Boot] [PATCH v4 0/7] spi/sf: Code removal/update

2016-09-20 Thread Jagan Teki
This series is the spilt one of v3 "spi/sf: Update on flash detection" [1] and deals with Code remove and update. Changes for v3: - New patches - Fix checkpatch.pl - Fix BIT positions in spi.h - Fix ti_qspi.c mode - Fix commit Nit: s/becuase/because

Re: [U-Boot] [RFC PATCH] kconfig: introduce kconfig for UBI

2016-09-20 Thread Evgeni Dobrev
On Wed, Sep 14, 2016 at 07:03:06AM +0200, Heiko Schocher wrote: > move the UBI config options into Kconfig. > > Signed-off-by: Heiko Schocher > --- > Tested with tbot: > http://lists.denx.de/pipermail/u-boot/2016-June/258119.html > > result: > Boards : 1196 > compile err : 36

Re: [U-Boot] [PATCH 2/3] ARM: tegra: fix USB controller aliases

2016-09-20 Thread Marcel Ziswiler
Hi Stephen Cool, it's all working again. You saved my day! Tegra20 (Harmony) # usb tree USB device tree:   1  Hub (480 Mb/s, 0mA)  u-boot EHCI Host Controller        1  Hub (480 Mb/s, 0mA)   |  u-boot EHCI Host Controller    |   +-2  Hub (12 Mb/s, 94mA) |  Broadcom BCM2046B1  |

Re: [U-Boot] Please pull u-boot-fsl-qoriq master

2016-09-20 Thread Tom Rini
On Tue, Sep 20, 2016 at 06:09:47PM +, york sun wrote: > Tom, > > The following changes since commit 8cbb389bb3da80cbf8911f8386cbff92c6a78afe: > >Prepare v2016.09 (2016-09-12 10:05:51 -0400) > > are available in the git repository at: > >git://git.denx.de/u-boot-fsl-qoriq.git > >

Re: [U-Boot] Please pull u-boot-rockchip

2016-09-20 Thread Tom Rini
On Sun, Sep 18, 2016 at 09:09:46PM -0600, Simon Glass wrote: > Hi Tom, > > Here is some more RK3399 support and a few other changes. > > > The following changes since commit 9a6535e05f17acf03e891266a650cb6029124743: > > Merge branch 'master' of git://git.denx.de/u-boot-uniphier >

Re: [U-Boot] [PATCH v2 1/2] board: ls1043ardb: move sec_init to board_init

2016-09-20 Thread york sun
On 09/01/2016 03:36 AM, Sumit Garg wrote: > sec_init() which was earlier called in misc_init_r() > is now done in board_init() before PPA init as SEC > block will be used during PPA image validation. > > Signed-off-by: Aneesh Bansal > Signed-off-by: Sumit Garg

Re: [U-Boot] [PATCH] armv7:ls1021a: Enable workaround for DDR erratum A-009942

2016-09-20 Thread york sun
On 09/01/2016 12:02 AM, Shengzhou Liu wrote: > Signed-off-by: Shengzhou Liu > --- Applied to fsl-qoriq master. Awaiting upstream. Thanks. York ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [PATCH v2 2/2] ls1043ardb: PPA: add PPA validation in case of secure boot

2016-09-20 Thread york sun
On 09/01/2016 03:36 AM, Sumit Garg wrote: > As part of Secure Boot Chain of trust, PPA image must be validated > before the image is started. > The code for the same has been added. > > Signed-off-by: Aneesh Bansal > Signed-off-by: Sumit Garg > --- > >

[U-Boot] Please pull u-boot-fsl-qoriq master

2016-09-20 Thread york sun
Tom, The following changes since commit 8cbb389bb3da80cbf8911f8386cbff92c6a78afe: Prepare v2016.09 (2016-09-12 10:05:51 -0400) are available in the git repository at: git://git.denx.de/u-boot-fsl-qoriq.git for you to fetch changes up to 126fe70d7746d7e60a6331391cab6713368b78dc:

Re: [U-Boot] [RESEND Patch v2] net: fm: fix spi flash probe for using driver model

2016-09-20 Thread york sun
On 09/01/2016 11:26 PM, Gong Qianyu wrote: > The current code would always use the speed and mode set by > CONFIG_ENV_SPI_MAX_HZ and CONFIG_ENV_SPI_MODE. But if using > SPI driver model it should get the values from DT. > > Signed-off-by: Gong Qianyu > Reviewed-by: Jagan Teki

Re: [U-Boot] [PATCH 1/2] driver/ddr/fsl: Add more debug registers

2016-09-20 Thread york sun
On 08/29/2016 02:16 AM, Shengzhou Liu wrote: > From: York Sun > > 32 more debug registers are added for newer DDR controllers. > > Signed-off-by: York Sun > Signed-off-by: Shengzhou Liu > --- Applied to fsl-qoriq master. Awaiting

Re: [U-Boot] [Patch v6 0/9] Add LS1046ARDB board support

2016-09-20 Thread york sun
On 09/07/2016 03:08 AM, Gong Qianyu wrote: > Hi all, > > This is version 6 patchset mainly to add support for both LS1046ARDB > board. > It should be based on two DDR patches to work well on LS1046ARDB or > LS1046AQDS. > The two patches are: > http://patchwork.ozlabs.org/patch/663534/ >

Re: [U-Boot] [PATCH] driver/ddr/fsl: Add general MMDC driver and reuse common MMDC driver for ls1012a

2016-09-20 Thread york sun
On 08/26/2016 03:42 AM, Shengzhou Liu wrote: > This general MMDC driver adds basic support for Freescale MMDC > (Multi Mode DDR Controller). Currently MMDC is integrated on ARMv8 > LS1012A SoC for DDR3L, there will be a update to this driver to > support more flexible configuration if new features

Re: [U-Boot] [PATCH] armv8: ls2080a: Remove debug server support

2016-09-20 Thread york sun
On 08/03/2016 12:33 PM, York Sun wrote: > Debug server feature has been dropped from roadmap. > > Signed-off-by: York Sun > --- Applied to fsl-qoriq master. Awaiting upstream. York ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [PATCH 2/2] driver/ddr/fsl: Revise workaround A008511 for A009803

2016-09-20 Thread york sun
On 08/29/2016 02:16 AM, Shengzhou Liu wrote: > From: York Sun > > DDR controller 5.2.1 has this erratum A008511 partially fixed. > The workaround needs to be adjusted to take advantage of Vref > training. This patch enables the training and force output > enable to be off. > >

[U-Boot] [PATCH] image-fit: Fix fit_get_node_from_config semantics

2016-09-20 Thread Paul Burton
Commit bac17b78dace ("image-fit: switch ENOLINK to ENOENT") changed fit_get_node_from_config to return -ENOENT when a property doesn't exist, but didn't change any of its callers which check return values. Notably it didn't change boot_get_ramdisk, which leads to U-Boot failing to boot FIT images

Re: [U-Boot] [ANN] U-Boot v2016.09.01 is released

2016-09-20 Thread Fabio Estevam
On Mon, Sep 19, 2016 at 2:01 PM, Tom Rini wrote: > I've poked Wolfgang about why these aren't migrating over to the public > git side, but they are available on the github mirror. Wolfgang? ___ U-Boot mailing list

[U-Boot] [PATCH v2] cmd/fdt: add possibilty to have 'extrasize' on fdt resize

2016-09-20 Thread Hannes Schmelzer
From: Hannes Schmelzer Sometimes devicetree nodes and or properties are added out of the u-boot console, maybe through some script or manual interaction. The devicetree as loaded or embedded is quite small, so the devicetree has to be resized to take up those

Re: [U-Boot] [PATCHv5 4/4] Add support the Avionic Design Meerkat COM and Kein Baseboard

2016-09-20 Thread Stephen Warren
On 09/19/2016 07:35 AM, Julian Scheel wrote: On 12.09.2016 18:54, Stephen Warren wrote: On 09/12/2016 08:03 AM, Julian Scheel wrote: On 06.09.2016 19:15, Stephen Warren wrote: diff --git a/board/avionic-design/common/meerkat.c b/board/avionic-design/common/meerkat.c +void pinmux_init(void)

[U-Boot] [PATCH v2 1/2] board: amcore: update to use dm serial driver

2016-09-20 Thread Angelo Dureghello
Update amcore board to use dm serial driver. Signed-off-by: Angelo Dureghello --- Changes for v2: - None --- board/sysam/amcore/amcore.c | 15 ++- configs/amcore_defconfig| 4 2 files changed, 18 insertions(+), 1 deletion(-) diff --git

[U-Boot] [PATCH v2 2/2] board: amcore: add update scripts

2016-09-20 Thread Angelo Dureghello
Add some useful update scripts. Signed-off-by: Angelo Dureghello --- Changes for v2: - Fix syntax error on upgrade_jffs2 script --- include/configs/amcore.h | 13 - 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/include/configs/amcore.h

Re: [U-Boot] [PATCH v1 2/3] arm: mvebu: add DB-88F6820-AMC board

2016-09-20 Thread Stefan Roese
Hi Chris, On 19.09.2016 03:28, Chris Packham wrote: On Mon, Sep 19, 2016 at 12:58 PM, Simon Glass wrote: Hi Chris, On 13 September 2016 at 19:42, Chris Packham wrote: This board is a plug in card for Marvell's switch system development kits.

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

2016-09-20 Thread Enric Balletbo Serra
Hi Ladis, 2016-09-20 11:04 GMT+02:00 Ladislav Michl : > As a single U-Boot binary can now run on various board modifications, > drop CONFIG_DISPLAY_BOARDINFO as there's no known way to distinguish > between them. Also saves few bytes as a bonus. > > Signed-off-by: Ladislav

[U-Boot] [PATCH v2] common/xyzModem.c: Fix delay timeout calculation

2016-09-20 Thread Andrew F. Davis
When waiting for input in CYGACC_COMM_IF_GETC_TIMEOUT we delay 2 seconds by incrementing and checking a counter variable every 20 uSeconds. The overhead in the loop calling tstc() thousands of times causes the timeout to be closer to 20 seconds. Delay longer per iteration to reduce overhead and

Re: [U-Boot] [PATCH] common/xyzModem.c: Fix delay timeout calculation

2016-09-20 Thread Andrew F. Davis
On 08/26/2016 08:43 AM, Stefan Roese wrote: > Hi Andrew, > > On 26.08.2016 15:40, Andrew F. Davis wrote: >> On 08/26/2016 12:18 AM, Stefan Roese wrote: >>> On 25.08.2016 20:43, Andrew F. Davis wrote: When waiting for input in CYGACC_COMM_IF_GETC_TIMEOUT we delay 2 seconds by

Re: [U-Boot] [PATCH 1/5] arm: mvebu: add support for Synology DS109 board

2016-09-20 Thread Stefan Roese
Hi Walter, On 06.09.2016 23:34, Walter Schweizer wrote: > Synology DS109 is based on MV88F6281. The code > is based on Dreamplug code with modificatons > from Synologys open source repository. > > Signed-off-by: Walter Schweizer > --- I'm trying to apply your

Re: [U-Boot] [PATCH v2 0/3] Add sdram capacity auto detect for rk3288

2016-09-20 Thread Sandy Patterson
I can confirm that this boots on rock2 with current master branch. 9b1b6d42256a4c2e59c803afdbf90d39371e61ba It doesn't boot for me using rock2 on v2016.09 tag. I get: U-Boot SPL 2016.09-2-g690a8a3 (Sep 20 2016 - 10:47:44) Trying to boot from MMC1 It continues to detect 2GB of ram. on master.

Re: [U-Boot] [RFC PATCH] kconfig: introduce kconfig for UBI

2016-09-20 Thread Andrew F. Davis
On 09/20/2016 12:50 AM, Heiko Schocher wrote: > Hello Andrew, > > Am 19.09.2016 um 18:03 schrieb Andrew F. Davis: >> BTW, the following addresses that bounce should be removed from wherever >> you found them or added to .get_maintainer.ignore if they are part of >> old commits: >> >> Bo Shen

Re: [U-Boot] [RFC PATCH] kconfig: introduce kconfig for UBI

2016-09-20 Thread Andrew F. Davis
On 09/20/2016 12:26 AM, Heiko Schocher wrote: > Hello Andrew, > > Am 19.09.2016 um 17:38 schrieb Andrew F. Davis: >> On 09/14/2016 12:03 AM, Heiko Schocher wrote: >>> move the UBI config options into Kconfig. >>> >>> Signed-off-by: Heiko Schocher >>> --- >>> Tested with tbot: >>>

Re: [U-Boot] [PATCH v2 1/3] rk3288: config change for enable dram capacity auto-detect.

2016-09-20 Thread Sandy Patterson
You're probably going to need to change this around now that the Kconfig stuff has been applied to master. Suggest following patch instead: diff --git a/arch/arm/mach-rockchip/Kconfig b/arch/arm/mach-rockchip/Kconfig index 1aac3c8..dc471d6 100644 --- a/arch/arm/mach-rockchip/Kconfig +++

Re: [U-Boot] [PATCH 0/2] Add sdram capacity auto detect for rk3288

2016-09-20 Thread Sandy Patterson
> > 1) It seems the BACK_TO_BROM feature is broken. It doesn't boot using the >> 2016.09. I'm afraid I don't have the time to track it down. >> > It works fine on my evb, do you flash the image correctly? it's different > with the way you don't use BACK_TO_BROM. > Well, I tested again on the

  1   2   >