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)

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/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

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/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

[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

[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 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.

[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] [PATCH] arm: exynos: Use the generic lowlevel_init instead of the specific one

2016-09-20 Thread Alexander Graf
> Am 20.09.2016 um 07:51 schrieb Thomas Abraham : > > Hi Alison, > > >> On Mon, Sep 19, 2016 at 7:38 PM, Alexander Graf wrote: >> >> >>> On 09.09.16 10:48, Alison Wang wrote: >>> This patch is to use the the generic lowlevel_init instead of the >>>

[U-Boot] [PATCH v2] 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

Re: [U-Boot] [PATCH] arm: exynos: Use the generic lowlevel_init instead of the specific one

2016-09-20 Thread Thomas Abraham
On Tue, Sep 20, 2016 at 11:35 AM, Alexander Graf wrote: > > > Am 20.09.2016 um 07:51 schrieb Thomas Abraham : > > Hi Alison, > > > On Mon, Sep 19, 2016 at 7:38 PM, Alexander Graf wrote: > > > > On 09.09.16 10:48, Alison Wang wrote: > > This

[U-Boot] [PATCH] cmd: ubi: add option to specify volume id

2016-09-20 Thread Ladislav Michl
Signed-off-by: Ladislav Michl --- diff --git a/cmd/ubi.c b/cmd/ubi.c index 4a92d84..b66bc62 100644 --- a/cmd/ubi.c +++ b/cmd/ubi.c @@ -162,7 +162,7 @@ bad: return err; } -static int ubi_create_vol(char *volume, int64_t size, int dynamic) +static int

[U-Boot] [PATCH] cmd/onenand.c: block align warning

2016-09-20 Thread Ladislav Michl
An attempt to write non block aligned data fails silently, add warning and set result. Signed-off-by: Ladislav Michl --- cmd/onenand.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/cmd/onenand.c b/cmd/onenand.c index feab01a..090f835 100644 --- a/cmd/onenand.c

[U-Boot] [PATCH 3/3] igep00x0: add Hynix timings

2016-09-20 Thread Ladislav Michl
Tested on IGEPv2 with Micron MT29F4G16ABBDA3W and Hynix H27S4G6F2DKA-BM Signed-off-by: Ladislav Michl --- board/isee/igep00x0/igep00x0.c | 20 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/board/isee/igep00x0/igep00x0.c

Re: [U-Boot] [PATCH] arm: exynos: Use the generic lowlevel_init instead of the specific one

2016-09-20 Thread Thomas Abraham
On Tue, Sep 20, 2016 at 12:03 PM, Alexander Graf wrote: > > > On 20.09.16 08:25, Thomas Abraham wrote: >> On Tue, Sep 20, 2016 at 11:35 AM, Alexander Graf wrote: >>> >>> >>> Am 20.09.2016 um 07:51 schrieb Thomas Abraham : >>> >>> Hi Alison, >>>

Re: [U-Boot] [PATCH 0/2] Add TOPIC Miami boards

2016-09-20 Thread Mike Looijmans
On 15-09-16 09:41, Mike Looijmans wrote: On 15-09-16 08:54, Michal Simek wrote: Hi Mike, On 15.9.2016 08:02, Mike Looijmans wrote: These patches add support for the Miami range of boards from TOPIC. The boards are based on Xilinx Zynq SoCs, these two patches are for the 7-series, the

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

2016-09-20 Thread Heiko Schocher
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 Albert ARIBAUD

Re: [U-Boot] [PATCH] arm: exynos: Use the generic lowlevel_init instead of the specific one

2016-09-20 Thread Thomas Abraham
On Tue, Sep 20, 2016 at 2:31 PM, Alexander Graf wrote: > > > On 20.09.16 10:45, Thomas Abraham wrote: >> On Tue, Sep 20, 2016 at 12:03 PM, Alexander Graf wrote: >>> >>> >>> On 20.09.16 08:25, Thomas Abraham wrote: On Tue, Sep 20, 2016 at 11:35 AM, Alexander

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

2016-09-20 Thread Ladislav Michl
Update defconfigs and drop NAND specific defconfig as flash type is runtime detected. Signed-off-by: Ladislav Michl --- configs/igep0030_defconfig | 5 - configs/igep0030_nand_defconfig | 30 -- configs/igep0032_defconfig | 4

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

2016-09-20 Thread 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 Michl --- board/isee/igep00x0/igep00x0.c | 18

Re: [U-Boot] [PATCH v6] spi: pl022_spi: Add support for ARM PL022 spi controller

2016-09-20 Thread Michael Brandl
No sry, ports are not configured yet and I don't know which clock to use. I just created the structure looking on other implementations. That's what I neeed your help for! Michael On 19.09.2016 16:14, Armando Visconti wrote: Ciao Michael, Did you test it? It seems that all the platform

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

2016-09-20 Thread Heiko Schocher
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: http://lists.denx.de/pipermail/u-boot/2016-June/258119.html result: Boards

Re: [U-Boot] [PATCH] arm: exynos: Use the generic lowlevel_init instead of the specific one

2016-09-20 Thread Alexander Graf
On 20.09.16 08:25, Thomas Abraham wrote: > On Tue, Sep 20, 2016 at 11:35 AM, Alexander Graf wrote: >> >> >> Am 20.09.2016 um 07:51 schrieb Thomas Abraham : >> >> Hi Alison, >> >> >> On Mon, Sep 19, 2016 at 7:38 PM, Alexander Graf wrote: >> >>

Re: [U-Boot] [PATCH v2 7/7] mmc: atmel_sdhci: Remove unneccessary clock calling

2016-09-20 Thread Jaehoon Chung
On 09/18/2016 03:53 PM, Wenyou Yang wrote: > Due to the peripheral and generated clock driver improvement, > remove the unneccessary clock calling. s/unneccessary/unnecessary Also subject.. :) > > Signed-off-by: Wenyou Yang Reviewed-by: Jaehoon Chung

Re: [U-Boot] [PATCH 0/2] Add TOPIC Miami boards

2016-09-20 Thread Michal Simek
On 20.9.2016 08:51, Mike Looijmans wrote: > On 15-09-16 09:41, Mike Looijmans wrote: >> On 15-09-16 08:54, Michal Simek wrote: >>> Hi Mike, >>> >>> On 15.9.2016 08:02, Mike Looijmans wrote: These patches add support for the Miami range of boards from TOPIC. The boards are based on Xilinx

Re: [U-Boot] [PATCH] arm: exynos: Use the generic lowlevel_init instead of the specific one

2016-09-20 Thread Alexander Graf
On 20.09.16 10:45, Thomas Abraham wrote: > On Tue, Sep 20, 2016 at 12:03 PM, Alexander Graf wrote: >> >> >> On 20.09.16 08:25, Thomas Abraham wrote: >>> On Tue, Sep 20, 2016 at 11:35 AM, Alexander Graf wrote: Am 20.09.2016 um 07:51 schrieb Thomas

Re: [U-Boot] [PATCH] dfu: Migrate to Kconfig

2016-09-20 Thread Lukasz Majewski
Hi Tom, > On Mon, Sep 19, 2016 at 01:31:30PM -0400, Tom Rini wrote: > > > Introduce a hidden USB_FUNCTION_DFU Kconfig option and select it for > > CMD_DFU (as we must have the DFU command enabled to do anything > > DFU). Make all of the entries in drivers/dfu/Kconfig depend on > > CMD_DFU and

Re: [U-Boot] [PATCH] dfu: Migrate to Kconfig

2016-09-20 Thread Lukasz Majewski
Hi Tom, > Introduce a hidden USB_FUNCTION_DFU Kconfig option and select it for > CMD_DFU (as we must have the DFU command enabled to do anything DFU). > Make all of the entries in drivers/dfu/Kconfig depend on CMD_DFU and > add options for all of the back end choices that DFU can make use of. >

Re: [U-Boot] [PATCH 14/28] video: Drop the s3c-fb driver

2016-09-20 Thread Minkyu Kang
On 20/09/16 07:32, Simon Glass wrote: > This is not used in U-Boot. > > Signed-off-by: Simon Glass > --- > > drivers/video/Makefile | 1 - > drivers/video/cfb_console.c | 2 +- > drivers/video/s3c-fb.c | 172 > > 3

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

2016-09-20 Thread Hannes Schmelzer
s...@google.com schrieb am 19.09.2016 02:57:09: > > Hi Hannes, Hi Simon, > [...] > > diff --git a/include/fdt_support.h b/include/fdt_support.h > > index e9f3497..2957fbc 100644 > > --- a/include/fdt_support.h > > +++ b/include/fdt_support.h > > @@ -167,7 +167,7 @@ void ft_pci_setup(void

Re: [U-Boot] [PATCH] WIP: usb: xhci-pci: Add DM support

2016-09-20 Thread Stefan Roese
On 22.07.2016 05:21, Simon Glass wrote: On 18 July 2016 at 04:51, Stefan Roese wrote: This patch adds DM support to the xHCI PCI driver. Enabling its use e.g. in x86 platforms Status: On the congatec BayTrail SoM, xHCI still does not work correctly with this patch. Some internal

Re: [U-Boot] [PATCH v3 1/6] dm: i2c: Add u8 read/write i2c functions

2016-09-20 Thread Keerthy
On Tuesday 20 September 2016 05:23 PM, Simon Glass wrote: Hi, On 19 September 2016 at 00:17, Keerthy wrote: Add u8 i2c read/write hooks. Signed-off-by: Keerthy --- drivers/i2c/i2c-uclass.c | 10 ++ include/i2c.h| 24

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

2016-09-20 Thread Tom Rini
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 > --- > configs/igep0030_defconfig | 5 - > configs/igep0030_nand_defconfig

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

2016-09-20 Thread Marek Vasut
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 09:27 AM, Chin Liang See wrote: > Adding new handoff for SDRAM

Re: [U-Boot] [PATCH v3 1/6] dm: i2c: Add u8 read/write i2c functions

2016-09-20 Thread Simon Glass
Hi, On 19 September 2016 at 00:17, Keerthy wrote: > Add u8 i2c read/write hooks. > > Signed-off-by: Keerthy > --- > drivers/i2c/i2c-uclass.c | 10 ++ > include/i2c.h| 24 > 2 files changed, 34 insertions(+) > >

Re: [U-Boot] [PATCH] WIP: usb: xhci-pci: Add DM support

2016-09-20 Thread Marek Vasut
On 09/20/2016 01:15 PM, Stefan Roese wrote: > On 22.07.2016 05:21, Simon Glass wrote: >> On 18 July 2016 at 04:51, Stefan Roese wrote: >>> This patch adds DM support to the xHCI PCI driver. Enabling its use >>> e.g. in x86 platforms >>> >>> Status: On the congatec BayTrail SoM, xHCI

Re: [U-Boot] [PATCH 06/15] usb: ehci: ehci-marvell.c: Add Armada 3700 support (ARMv8)

2016-09-20 Thread Stefan Roese
Hi Marek, On 18.09.2016 12:47, Marek Vasut wrote: On 09/16/2016 03:09 PM, Stefan Roese wrote: This patch adds DM based support for the Armada 3700 EHCI controller. The address windows don't need to get configured in this case. The difference here is detected via DT compatible property at

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

[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] [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 > --- > >

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] 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] [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 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 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 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. > >

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] [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] [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] 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] 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 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] [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 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 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] [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] [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

[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 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

[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 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 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 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

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] 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 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

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] 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] [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-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] 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] 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 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

[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 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 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 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

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 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/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 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 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 > > >

[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 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

[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] [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 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 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 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 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

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

  1   2   >