Re: [U-Boot] [PATCH 0/7] Add STMicroelectronics STiH410-B2260 board support

2017-01-31 Thread Patrice CHOTARD
Hi Tom It's a gentle reminder for reviewing this series. Thanks Patrice On 01/20/2017 05:05 PM, patrice.chot...@st.com wrote: > From: Patrice Chotard > > This boards is a 96boards based on STiH410 SoC. > This series adds basic support with serial, mmc and pinctrl

Re: [U-Boot] Build failure with u-boot master branch

2017-01-31 Thread Jaehoon Chung
Hi, On 02/01/2017 01:44 PM, maitysancha...@gmail.com wrote: > Hello, > > Any suggestions on the issue? I'm not sure..but it seems that already fixed. Refer to below commit. commit 80d2ae5e1f14c6caf96c9eb6cb68e8f68b2e5788 Refs: v2017.01-270-g80d2ae5 Author: Emmanuel Vadot

Re: [U-Boot] Build failure with u-boot master branch

2017-01-31 Thread maitysanchayan
Hello, Any suggestions on the issue? Thanks & Regards, Sanchayan. On 17-01-27 12:11:03, maitysancha...@gmail.com wrote: > Hello, > > I have been working on adding DCU support for Vybrid and during the process > of rebasing to latest master for sending out patches, the build for u-boot >

Re: [U-Boot] [PATCH] drivers: net: cpsw: Fix reading of mac address for am43 SoCs

2017-01-31 Thread Lokesh Vutla
+ Joe On Wednesday 01 February 2017 09:20 AM, Lokesh Vutla wrote: > cpsw driver tries to get macid for am43xx SoCs using the compatible > ti,am4372. But not all variants of am43x uses this complatible like > epos evm uses ti,am438x. So use a generic compatible ti,am43 to get > macid for all am43

[U-Boot] [PATCH] drivers: net: cpsw: Fix reading of mac address for am43 SoCs

2017-01-31 Thread Lokesh Vutla
cpsw driver tries to get macid for am43xx SoCs using the compatible ti,am4372. But not all variants of am43x uses this complatible like epos evm uses ti,am438x. So use a generic compatible ti,am43 to get macid for all am43 based platforms. Tested-by: Aparna Balasubramanian

[U-Boot] [PATCH] serial: 16550: properly initialize fcr field of ns16550_platdata

2017-01-31 Thread Oleksandr Tymoshenko
Default fcr value is initialized in ns16550_serial_ofdata_to_platdata but this function is only called if OF_CONTROL option is enabled while the field is used whenever DM_SERIAL is set. So for configs that do not have OF_CONTROL default fcr value is set to zero which leads to loosing characters

[U-Boot] [PATCH v3 13/13] sunxi: configs: add basic OrangePi PC 2 defconfig

2017-01-31 Thread Andre Przywara
The OrangePi PC 2 is a typical SBC with the 64-bit Allwinner H5 SoC. Add a (64-bit only) defconfig defining the required options to build the U-Boot proper. Signed-off-by: Andre Przywara --- board/sunxi/MAINTAINERS| 5 + configs/orangepi_pc2_defconfig | 16

[U-Boot] [PATCH v3 12/13] sunxi: dts: add basic OrangePi PC 2 device tree file

2017-01-31 Thread Andre Przywara
The OrangePi PC 2 is a typical SBC with the 64-bit Allwinner H5 SoC. Create a new .dts file for it by including the (32-bit) H3 SoC .dtsi and changing the differing components accordingly. This is a preliminary device tree mostly for U-Boot's own sake, it is expected to be updated once the

[U-Boot] [PATCH v3 07/13] sunxi: provide ARMv8 mem_map for every ARM64 board

2017-01-31 Thread Andre Przywara
Every armv8 board needs the memory map, so change the #ifdef to ARM64 to avoid enumerating every single board or SoC. Signed-off-by: Andre Przywara Acked-by: Maxime Ripard --- arch/arm/mach-sunxi/board.c | 2 +- 1 file changed, 1

[U-Boot] [PATCH v3 09/13] sunxi: DRAM: add Allwinner H5 support

2017-01-31 Thread Andre Przywara
The DRAM controller in the Allwinner H5 SoC is again very similar to the one in the H3 and A64. Based on the existing socid parameter, add support for this controller by reusing the bulk of the code and only deviating where needed. These new bits set or cleared here and there have been mostly

[U-Boot] [PATCH v3 11/13] sunxi: introduce Allwinner H5 config option

2017-01-31 Thread Andre Przywara
The Allwinner H5 Soc is bascially an H3 with high SRAM and ARMv8 cores. As the peripherals and the pinmuxing are almost identical, we piggy back on the shared MACH_SUN8I_H3_H5 config symbol. Signed-off-by: Andre Przywara --- arch/arm/mach-sunxi/cpu_info.c | 2 ++

[U-Boot] [PATCH v3 08/13] SPI: SPL: sunxi: fix 64-bit build

2017-01-31 Thread Andre Przywara
Addresses passed on to readl and writel are expected to be of the same size as a pointer. Change the parameter types of sunxi_spi0_read_data() to make the compiler happy and allow a warning-free aarch64 compile. Signed-off-by: Andre Przywara Reviewed-by: Simon Glass

[U-Boot] [PATCH v3 10/13] sunxi: prepare for sharing MACH_SUN8I_H3 config symbol

2017-01-31 Thread Andre Przywara
The Allwinner H5 is very close to the H3 SoC, but has ARMv8 cores. To allow sharing the clocks, GPIO and driver code easily, create an architecture agnostic MACH_SUNXI_H3_H5 Kconfig symbol. Rename the existing symbol to MACH_SUNXI_H3_H5 where code is shared and let it be selected by a new shared

[U-Boot] [PATCH v3 06/13] sunxi: Kconfig: introduce CONFIG_SUNXI_HIGH_SRAM

2017-01-31 Thread Andre Przywara
Traditionally Allwinner SoCs have their boot ROM mapped just below 4GB, while the first SRAM region is mapped at address 0. With the extended physical memory support of the A80 this was changed, so the BROM is now at address 0 and the SRAM region starts right behind this at 64KB. This

[U-Boot] [PATCH v3 04/13] sunxi: simplify ACTLR.SMP bit set #ifdef

2017-01-31 Thread Andre Przywara
Instead of enumerating all SoC families that need that bit set, let's just express this more clearly: The SMP bits needs to be set on SMP capable ARMv7 CPUs. It's much easier in Kconfig to express it the other way round, so we use ! CPU_IS_UP and ! ARM64. Signed-off-by: Andre Przywara

[U-Boot] [PATCH v3 05/13] sunxi: configs: merge sun9i and sun50i SPL memory definitions

2017-01-31 Thread Andre Przywara
For some reason we were pretty conservative when defining the maximum SPL size for the Allwinner A80(sun9i) SoC. According to the manual the SRAM A1 is even 40KB, but the BROM probably still has the 32 KiB load limit. For the sake of simplicity, merge the SPL memory definitions for the A64 and A80

[U-Boot] [PATCH v3 03/13] fsl: ls102x: remove redundant GENERIC_TIMER_CLK

2017-01-31 Thread Andre Przywara
Some Freescale boards used an extra version of the constant to hold the Generic Timer frequency. This can easily be covered by the now unified COUNTER_FREQUENCY constant, so remove this extra variable from those boards. Signed-off-by: Andre Przywara Reviewed-by: York Sun

[U-Boot] [PATCH v3 01/13] sunxi: fix ACTLR.SMP assembly routine

2017-01-31 Thread Andre Przywara
If we take the liberty to use register r0 to perform our bit set, we should be nice enough to tell the compiler about it. Add r0 to the clobber list to avoid potential mayhem. Signed-off-by: Andre Przywara Acked-by: Maxime Ripard ---

[U-Boot] [PATCH v3 02/13] ARM: rename CONFIG_TIMER_CLK_FREQ to COUNTER_FREQUENCY

2017-01-31 Thread Andre Przywara
Many ARMv8 boards define a constant COUNTER_FREQUENCY to specify the frequency of the ARM Generic Timer (aka. arch timer). ARMv7 boards traditionally used CONFIG_TIMER_CLK_FREQ for the same purpose. It seems useful to unify them. Since there are less occurences of the latter version, lets convert

[U-Boot] [PATCH v3 00/13] sunxi: Allwinner H5 and OrangePi PC2 support

2017-01-31 Thread Andre Przywara
Hi, some small changes as requested by reviewers (many thanks for that!) Maxime, Jagan, given I get some ACKs or RBs on the remaining patches, is this good to go for 2017.03 still? Cheers, Andre. -- This series introduces support for the Allwinner H5 SoC with four

[U-Boot] [GIT PULL] Please pull u-boot-mmc master

2017-01-31 Thread Jaehoon Chung
Dear Tom, Could you pull these patches on your master branch? I have tested a buildman with all case. The following changes since commit 794c6e2c96c20f8fc62890a5e13cc71ab99a2e57: Prepare v2017.03-rc1 (2017-01-30 19:05:43 -0500) are available in the git repository at:

Re: [U-Boot] [RFC] cmd: fdt: memory fixup

2017-01-31 Thread Ladislav Michl
On Tue, Jan 31, 2017 at 03:35:51AM +0100, Ladislav Michl wrote: > To get Falcon mode working with zImage is currently non trivial as zImages > do not fit into U-Boot's image concept too well. Fortunately at least for > ARM boards it seems getting memory node right is quite sufficient. > What about

Re: [U-Boot] [u-boot] AR8033 SerDes Test and System Mode Control setting issue

2017-01-31 Thread Ken.Lin
> -Original Message- > From: Sekhar Nori [mailto:nsek...@ti.com] > Sent: Tuesday, January 17, 2017 3:23 AM > To: Ken.Lin; joe.hershber...@ni.com > Cc: Peter.Stretz; mugunthan...@ti.com; Peter.Chiang; Chiming.Lee; u- > b...@lists.denx.de; albert.u.ub...@aribaud.net; w...@denx.de > Subject:

Re: [U-Boot] [PATCH 2/3] pcie-layerscape: Define stream-ids for Layerscape Chasis-2

2017-01-31 Thread Mike Caraman
> From: U-Boot on behalf of Bharat Bhushan > > Sent: Monday, January 30, 2017 12:43 PM > To: york sun; Z.Q. Hou; M.H. Lian; u-boot@lists.denx.de > Cc: albert.u.b...@aribaud.net > Subject: [U-Boot] [PATCH 2/3] pcie-layerscape: Define

Re: [U-Boot] [PATCH 1/3] fsl-lsch3: rename ls2080a_stream_id.h to stream_id_lsch3.h

2017-01-31 Thread Mike Caraman
> From: U-Boot on behalf of Bharat Bhushan > > Sent: Monday, January 30, 2017 12:43 PM > To: york sun; Z.Q. Hou; M.H. Lian; u-boot@lists.denx.de > Cc: albert.u.b...@aribaud.net > Subject: [U-Boot] [PATCH 1/3] fsl-lsch3: rename

Re: [U-Boot] [PATCH 4/5][v7] arch: powerpc: Move CONFIG_FSL_ELBC to Kconfig

2017-01-31 Thread york sun
On 01/31/2017 01:27 AM, Prabhakar Kushwaha wrote: > Enable ELBC from Kconfig. > > Signed-off-by: Prabhakar Kushwaha > --- > Changes for v5: Added first time in the patch set > Changes for v6: Sending as it is > Changes for v7: Fix compiliation error > >

[U-Boot] [PATCH v2 08/15] fs: use get_nand_dev_by_index()

2017-01-31 Thread Grygorii Strashko
As part of preparation for nand DM conversion the new API has been introduced to remove direct access to nand_info array. So, use it here instead of accessing to nand_info array directly. Signed-off-by: Grygorii Strashko --- fs/jffs2/jffs2_1pass.c | 9 +++--

Re: [U-Boot] [u-boot PATCH v2 2/8] ti: common: board_detect: commodify ethaddr environment setting code

2017-01-31 Thread Tom Rini
On Mon, Jan 30, 2017 at 05:15:10PM +0200, Roger Quadros wrote: > Keystone and OMAP platforms will need this to set ethernet > MAC addresses from board EEPROM. > > Signed-off-by: Roger Quadros Reviewed-by: Tom Rini -- Tom signature.asc Description:

[U-Boot] [PATCH v2 04/15] dfu: dfu_nand: use get_nand_dev_by_index()

2017-01-31 Thread Grygorii Strashko
As part of preparation for nand DM conversion the new API has been introduced to remove direct access to nand_info array. So, use it here instead of accessing to nand_info array directly. Signed-off-by: Grygorii Strashko --- drivers/dfu/dfu_nand.c | 12 +--- 1

[U-Boot] [PATCH v2 01/15] cmd: bootm: fix build when CONFIG_CMD_IMLS_NAND

2017-01-31 Thread Grygorii Strashko
Now when CONFIG_CMD_IMLS_NAND is enabled the u-boot build will fail, because nand_read_skip_bad() function has been changed to accept more parameters, hence fix it. CC cmd/bootm.o cmd/bootm.c: In function 'nand_imls_legacyimage': cmd/bootm.c:390:8: error: too few arguments to function

Re: [U-Boot] [PATCH] ARM: dts: k2*: Rename the k2* files to keystone-k2* files

2017-01-31 Thread Tom Rini
On Tue, Jan 31, 2017 at 09:32:57AM +0530, Lokesh Vutla wrote: > As reported in [1], rename the k2* dts files to keystone-* files > this will force consistency throughout. > > Script for the same (and hand modified for Makefile and config > files): > for i in arch/arm/dts/k2* > do >

Re: [U-Boot] [u-boot PATCH v2 8/8] ti: common: board_detect: Rename EEPROM scratch start macro

2017-01-31 Thread Tom Rini
On Mon, Jan 30, 2017 at 05:15:16PM +0200, Roger Quadros wrote: > From: Lokesh Vutla > > Non OMAP platforms i.e. Keystone will also need to use the board > EEPROM helpers so let's make the macro platform independent. > > Signed-off-by: Roger Quadros >

[U-Boot] [PATCH v2 10/15] drivers: nand: implement a NAND uclass

2017-01-31 Thread Grygorii Strashko
From: Mugunthan V N Implement a NAND uclass so that the NAND devices can be accessed via the DM framework. Signed-off-by: Mugunthan V N Signed-off-by: Grygorii Strashko --- drivers/mtd/nand/Kconfig | 10 ++

[U-Boot] [PATCH v2 13/15] defconfig: am43xx_evm: enable NAND driver model

2017-01-31 Thread Grygorii Strashko
From: Mugunthan V N Enable NAND driver model for am43xx_evm as omap_gpmc supports driver model. Signed-off-by: Mugunthan V N Signed-off-by: Grygorii Strashko --- configs/am43xx_evm_defconfig | 1 + 1 file changed, 1

[U-Boot] [PATCH v2 12/15] am43xx_evm: nand: do not define DM_NAND for spl

2017-01-31 Thread Grygorii Strashko
From: Mugunthan V N Since OMAP's spl doesn't support DM currently, do not define DM_NAND for spl build. Signed-off-by: Mugunthan V N Signed-off-by: Grygorii Strashko --- include/configs/am43xx_evm.h | 1 + 1 file changed, 1

[U-Boot] [PATCH v2 14/15] am335x_evm: nand: do not define DM_NAND for spl

2017-01-31 Thread Grygorii Strashko
From: Mugunthan V N Since OMAP's spl doesn't support DM currently, do not define DM_NAND for spl build. Signed-off-by: Mugunthan V N Signed-off-by: Grygorii Strashko --- include/configs/am335x_evm.h | 1 + 1 file changed, 1

[U-Boot] [PATCH v2 09/15] cmd: nand: remove direct access to struct mtd_info->priv

2017-01-31 Thread Grygorii Strashko
Replace direct access to struct mtd_info->priv with proper accessor mtd_to_nand(). Signed-off-by: Grygorii Strashko --- cmd/nand.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/nand.c b/cmd/nand.c index f2b440e..d9de978 100644 --- a/cmd/nand.c

[U-Boot] [PATCH v2 02/15] cmd: nand: abstract global variable usage for dm conversion

2017-01-31 Thread Grygorii Strashko
From: Mugunthan V N nand_info is used all over the file so abstract it with get_nand_dev_by_index() which will help for DM conversion. Signed-off-by: Mugunthan V N Signed-off-by: Grygorii Strashko --- cmd/nand.c

[U-Boot] [PATCH v2 00/15] nand: device model bringup on am335x evm and am437x gpevm

2017-01-31 Thread Grygorii Strashko
This patch seires adds nand uclass driver and enables omap_gpmc to adopt driver model. This has been tested on AM335x GP EVM and AM437x GP EVM. As preparation for introducing nand uclass driver the new API get_nand_dev_by_index() was added to avoid direct acces to nand_info array and u-boot core

[U-Boot] [PATCH v2 15/15] defconfig: am335x_evm: enable NAND driver model

2017-01-31 Thread Grygorii Strashko
From: Mugunthan V N Enable NAND driver model for am335x_evm as omap_gpmc supports driver model. Signed-off-by: Mugunthan V N Signed-off-by: Grygorii Strashko --- configs/am335x_evm_defconfig | 1 + 1 file changed, 1

[U-Boot] [PATCH v2 05/15] cmd: bootm: use get_nand_dev_by_index()

2017-01-31 Thread Grygorii Strashko
As part of preparation for nand DM conversion the new API has been introduced to remove direct access to nand_info array. So, use it here instead of accessing to nand_info array directly. Signed-off-by: Grygorii Strashko --- cmd/bootm.c | 2 +- 1 file changed, 1

[U-Boot] [PATCH v2 07/15] common: use get_nand_dev_by_index()

2017-01-31 Thread Grygorii Strashko
As part of preparation for nand DM conversion the new API has been introduced to remove direct access to nand_info array. So, use it here instead of accessing to nand_info array directly. Signed-off-by: Grygorii Strashko --- common/fb_nand.c | 2 +-

[U-Boot] [PATCH v2 03/15] common: env_nand: use get_nand_dev_by_index()

2017-01-31 Thread Grygorii Strashko
As part of preparation for nand DM conversion the new API has been introduced to remove direct access to nand_info array. So, use it here instead of accessing to nand_info array directly. Signed-off-by: Grygorii Strashko --- common/env_nand.c | 33

[U-Boot] [PATCH v2 06/15] cmd: jffs2: use get_nand_dev_by_index()

2017-01-31 Thread Grygorii Strashko
As part of preparation for nand DM conversion the new API has been introduced to remove direct access to nand_info array. So, use it here instead of accessing to nand_info array directly. Signed-off-by: Grygorii Strashko --- cmd/jffs2.c | 7 --- 1 file changed, 4

[U-Boot] [PATCH v2 11/15] drivers: nand: omap_gpmc: convert driver to adopt driver model

2017-01-31 Thread Grygorii Strashko
From: Mugunthan V N adopt omap_gpmc driver to driver model. Signed-off-by: Mugunthan V N Signed-off-by: Grygorii Strashko --- drivers/mtd/nand/omap_gpmc.c | 205 +++ 1 file changed,

[U-Boot] [PATCH 0/1] Introducing Spell check for checkpatch from LK

2017-01-31 Thread Dan Murphy
All This is the codespell and codespellfile code from the Linux kernel. I am not sure if I have formatted the commit message properly enough to give the original authors of the code the credit they deserve. I sited the patches I could find and had to add some additional variables that were part

[U-Boot] [PATCH 1/1] checkpatch: Port spelling to checkpatch

2017-01-31 Thread Dan Murphy
Pick commit 66b47b4a9dad0 checkpatch: look for common misspellings from the Linux kernel for spelling check from Kees Cook In addition pulled in additional changes commit ebfd7d6237531 checkpatch: add optional --codespell dictionary to find more typos from the Linux kernel for codespell from Joe

[U-Boot] [PATCH] arm: socfpga: set the mpuclk divider in the Altera group register

2017-01-31 Thread Dinh Nguyen
The mpuclk register in the Altera group of the clock manager divides the mpu_clk that is generated from the C0 output of the main pll. Without this patch, the default value of the register is 1, so the mpuclk will always get divided by 2 if the correct value is not set. For example, on the Arria5

Re: [U-Boot] [PATCH 1/5][v7] arch: powerpc: Move CONFIG_FSL_IFC to Kconfig

2017-01-31 Thread york sun
On 01/31/2017 01:27 AM, Prabhakar Kushwaha wrote: > Enable IFC from Kconfig. > > Signed-off-by: Prabhakar Kushwaha > --- > Changes for v5: Added first time > Changes for v6: Sending as it is > Changes for v7: Sending as it is > > arch/powerpc/cpu/mpc85xx/Kconfig | 17

Re: [U-Boot] [PATCH 1/3] drivers: timer: Introduce ARC timer driver

2017-01-31 Thread Alexey Brodkin
Hi Simon, On Tue, 2017-01-31 at 14:44 +, Vlad Zakharov wrote: > Hi Simon, > > On Fri, 2017-01-20 at 20:51 -0700, Simon Glass wrote: > > > > > > > > +   switch (priv->timer_id) { > > > +   case 0: > > > +   /* Disable timer if CPU is halted */ > > > +  

Re: [U-Boot] [PATCH 1/3] drivers: timer: Introduce ARC timer driver

2017-01-31 Thread Vlad Zakharov
Hi Simon, On Fri, 2017-01-20 at 20:51 -0700, Simon Glass wrote: > > +   switch (priv->timer_id) { > > +   case 0: > > +   /* Disable timer if CPU is halted */ > > +   write_aux_reg(ARC_AUX_TIMER0_CTRL, NH_MODE); > > +   /* Set max value for

Re: [U-Boot] [PATCH v3 1/3] mmc: meson: update Meson GXBB / Odroid-C2 DT with latest Linux version

2017-01-31 Thread Jaehoon Chung
On 01/28/2017 05:55 AM, Heiner Kallweit wrote: > As a prerequisite for adding a Meson GX MMC driver update the > Meson GXBB / Odroid-C2 device tree in Uboot with the latest > version from Linux. > > Signed-off-by: Heiner Kallweit Hmm..There are Neil, Carlo and Andreas as

Re: [U-Boot] [PATCH v3 2/3] mmc: meson: add MMC driver for Meson GX (S905)

2017-01-31 Thread Jaehoon Chung
On 01/28/2017 05:55 AM, Heiner Kallweit wrote: > This driver implements MMC support on Meson GX (S905) based systems. > It's based on Carlo Caione's work, changes: > - BLK support added > - general refactoring > > Signed-off-by: Carlo Caione > Signed-off-by: Andreas Färber

Re: [U-Boot] [PATCH v2 3/4] mmc: meson: add MMC driver for Meson GX (S905)

2017-01-31 Thread Jaehoon Chung
On 01/27/2017 08:04 AM, Andreas Färber wrote: > Am 25.01.2017 um 20:54 schrieb Heiner Kallweit: >> This driver implements MMC support on Meson GX (S905) based systems. >> It's based on Carlo Caione's work, changes: >> - BLK support added >> - general refactoring >> >> Original author: Carlo Caione

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

2017-01-31 Thread Jaehoon Chung
Hi Wenyou, On 01/25/2017 03:15 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. Sorry for late. I had holidays. Conflict

Re: [U-Boot] [PATCH 1/7] mmc: move CONFIG_GENERIC_MMC to Kconfig

2017-01-31 Thread Jaehoon Chung
Hi Masahiro, On 01/30/2017 07:46 PM, Masahiro Yamada wrote: > Now, CONFIG_GENERIC_MMC seems equivalent to CONFIG_MMC. > > Let's create an entry for "config GENERIC_MMC" with "default MMC", > then convert all macro defines in headers to Kconfig. Almost all > of the defines will go away. > > I

Re: [U-Boot] [PATCH 2/7] mmc: sandbox: rename CONFIG, fix dependency, and use it in Makefile

2017-01-31 Thread Jaehoon Chung
On 01/30/2017 07:46 PM, Masahiro Yamada wrote: > [1] Rename CONFIG_SANDBOX_MMC to CONFIG_MMC_SANDBOX for consistency > I want all MMC driver options prefixed with CONFIG_MMC_. > > [2] Fix dependency > Add necessary depends on to avoid compile error. > Instead "depends on MMC" is

Re: [U-Boot] [PATCH] mmc: init mmc block devices on probe

2017-01-31 Thread Jaehoon Chung
Hi Fiach, On 01/25/2017 06:00 PM, Fiach Antaw wrote: > MMC devices accessed exclusively via the driver model were not > being initialized before being exposed as block devices, causing > issues in scenarios where the MMC device is first accessed via the > uclass block interface. > >

Re: [U-Boot] [PATCH 6/7] mmc: pic32: rename CONFIG_PIC32_SDHCI to CONFIG_MMC_SDHCI_PIC32

2017-01-31 Thread Jaehoon Chung
On 01/30/2017 07:46 PM, Masahiro Yamada wrote: > Make the naming scheme consistent; all SDHCI-base drivers prefixed > with CONFIG_MMC_SDHCI_. > > Signed-off-by: Masahiro Yamada Applied on u-boot-mmc. Thanks! Best Regards, Jaehoon Chung > --- > > Changes in

Re: [U-Boot] [PATCH 7/7] mmc: atmel: rename CONFIG_ATMEL_SDHCI to CONFIG_MMC_SDHCI_ATMEL

2017-01-31 Thread Jaehoon Chung
On 01/30/2017 07:46 PM, Masahiro Yamada wrote: > Make the naming scheme consistent; all SDHCI-base drivers prefixed > with CONFIG_MMC_SDHCI_. > > While we are here, add "depends on ARCH_AT91". > > Signed-off-by: Masahiro Yamada Applied on u-boot-mmc. Thanks!

Re: [U-Boot] [PATCH 4/7] mmc: rockchip: rename CONFIG_ROCKCHIP_SDHCI to CONFIG_MMC_SDHCI_ROCKCHIP

2017-01-31 Thread Jaehoon Chung
On 01/30/2017 07:46 PM, Masahiro Yamada wrote: > Make the naming scheme consistent; all SDHCI-base drivers prefixed > with CONFIG_MMC_SDHCI_. > > While we are here, add "depends on ARCH_ROCKCHIP". > > Signed-off-by: Masahiro Yamada Applied on u-boot-mmc. Thanks!

Re: [U-Boot] [PATCH 5/7] mmc: msm: rename CONFIG_MSM_SDHCI to CONFIG_MMC_SDHCI_MSM

2017-01-31 Thread Jaehoon Chung
On 01/30/2017 07:46 PM, Masahiro Yamada wrote: > Make the naming scheme consistent; all SDHCI-base drivers prefixed > with CONFIG_MMC_SDHCI_. > > Signed-off-by: Masahiro Yamada Applied on u-boot-mmc. Thanks! Best Regards, Jaehoon Chung > --- > > Changes in v2:

Re: [U-Boot] [PATCH 3/7] mmc: zynq: rename CONFIG_ZYNQ_SDHCI to CONFIG_MMC_SDHCI_ZYNQ

2017-01-31 Thread Jaehoon Chung
On 01/30/2017 07:46 PM, Masahiro Yamada wrote: > Make the naming scheme consistent; all SDHCI-base drivers prefixed > with CONFIG_MMC_SDHCI_. > > While we are here, add "depends on ARCH_ZYNQ || ARCH_ZYNQMP". > > Signed-off-by: Masahiro Yamada Applied on

Re: [U-Boot] [PATCH v4 0/5] Add FreeBSD kconfig options

2017-01-31 Thread Alexander Graf
On 31/01/2017 12:17, Emmanuel Vadot wrote: This series of patches add the needed bits for booting the FreeBSD loader and kernel. FreeBSD loader and kernel needs the U-Boot API and dcache/icache flushed for it to run so add this operation in go/bootelf command and when closing the API. Also add

[U-Boot] [PATCH v4 1/5] kconfig: Add API kconfig file

2017-01-31 Thread Emmanuel Vadot
Add kconfig file to enable API support Signed-off-by: Emmanuel Vadot --- Kconfig | 2 ++ api/Kconfig | 9 + 2 files changed, 11 insertions(+) create mode 100644 api/Kconfig diff --git a/Kconfig b/Kconfig index 8f9ea97f3d..2a65f07044 100644 --- a/Kconfig +++

[U-Boot] [PATCH v4 3/5] api: bootelf: go: flush cache before starting

2017-01-31 Thread Emmanuel Vadot
From: Warner Losh Some application might load some code at location that contain stale cache entries. Before running a elf or raw binary, flush the caches if they are enabled. Reviewed-by: Tom Rini Signed-off-by: Emmanuel Vadot ---

[U-Boot] [PATCH v4 5/5] kconfig: Add a DISTRO_FREEBSD option

2017-01-31 Thread Emmanuel Vadot
Add a FreeBSD option that enables the API and the data cache command as both are needed to boot the FreeBSD loader. Signed-off-by: Emmanuel Vadot --- common/Kconfig | 11 +++ 1 file changed, 11 insertions(+) diff --git a/common/Kconfig b/common/Kconfig index

[U-Boot] [PATCH v4 4/5] distro_bootcmd: Add command to run FreeBSD

2017-01-31 Thread Emmanuel Vadot
Add commands that scans for the FreeBSD loader and run it if found. FreeBSD has two loader: ubldr which is an ELF binary and ubldr.bin which is a PIE binary. Signed-off-by: Emmanuel Vadot --- include/config_distro_bootcmd.h | 32 1 file

[U-Boot] [PATCH v4 2/5] api: Convert to Kconfig

2017-01-31 Thread Emmanuel Vadot
Now that we have a Kconfig for the API, convert the two boards that are using this to Kconfig and remove CONFIG_API from the whitelist. Signed-off-by: Emmanuel Vadot --- configs/PMC440_defconfig | 1 + configs/lsxhl_defconfig | 1 + include/configs/PMC440.h |

[U-Boot] [PATCH v4 0/5] Add FreeBSD kconfig options

2017-01-31 Thread Emmanuel Vadot
This series of patches add the needed bits for booting the FreeBSD loader and kernel. FreeBSD loader and kernel needs the U-Boot API and dcache/icache flushed for it to run so add this operation in go/bootelf command and when closing the API. Also add some some boot command that locate and run the

[U-Boot] [PATCH] kbuild: beautify the log of config whitelist check

2017-01-31 Thread Masahiro Yamada
Use the kbuild style log. Prior to this commit: ./scripts/check-config.sh u-boot.cfg \ ./scripts/config_whitelist.txt . 1>&2 With this commit: CFGCHK u-boot.cfg Signed-off-by: Masahiro Yamada --- Makefile| 7 +--

Re: [U-Boot] [PATCH v3] SPL: add support to boot from a partition type

2017-01-31 Thread Alexander Graf
On 31/01/2017 09:41, Dalon Westergreen wrote: From: Dalon Westergreen the socfpga bootrom supports mmc booting from either a raw image starting at 0x0, or from a partition of type 0xa2. This patch adds support for locating the boot image in the first type 0xa2

[U-Boot] [PATCH 3/5][v7] arch: arm: update the IFC IP input clock

2017-01-31 Thread Prabhakar Kushwaha
IFC IP clock is always a constant divisor of platform clock pre-defined per SoC. Clock control register (CCR) used in current implementation governs IFC IP output clock. Update sys_info->freq_localbus to represent IFC input clock with value constant divisor of platform clock. Signed-off-by:

[U-Boot] [PATCH 2/5][v7] arch: powerpc: update the IFC IP input clock

2017-01-31 Thread Prabhakar Kushwaha
IFC IP clock is always a constant divisor of platform clock pre-defined per SoC. Clock control register (CCR) used in current implementation governs IFC IP output clock. Update sys_info->freq_localbus to represent IFC input clock with value constant divisor of platform clock. Signed-off-by:

[U-Boot] [PATCH 4/5][v7] arch: powerpc: Move CONFIG_FSL_ELBC to Kconfig

2017-01-31 Thread Prabhakar Kushwaha
Enable ELBC from Kconfig. Signed-off-by: Prabhakar Kushwaha --- Changes for v5: Added first time in the patch set Changes for v6: Sending as it is Changes for v7: Fix compiliation error arch/powerpc/cpu/mpc85xx/Kconfig| 20

[U-Boot] [PATCH 5/5][v7] arch: powerpc: update the eLBC IP input clock

2017-01-31 Thread Prabhakar Kushwaha
eLBC IP clock is always a constant divisor of platform clock pre-defined per SoC. Clock ratio register (LCRR) used in current implementation governs eLBC IP output cloc. Update sys_info->freq_localbus to represent eLBC input clock with value constant divisor of platform clock. Signed-off-by:

[U-Boot] [PATCH 1/5][v7] arch: powerpc: Move CONFIG_FSL_IFC to Kconfig

2017-01-31 Thread Prabhakar Kushwaha
Enable IFC from Kconfig. Signed-off-by: Prabhakar Kushwaha --- Changes for v5: Added first time Changes for v6: Sending as it is Changes for v7: Sending as it is arch/powerpc/cpu/mpc85xx/Kconfig | 17 + include/configs/B4860QDS.h | 1 -

Re: [U-Boot] [PATCH v3] SPL: add support to boot from a partition type

2017-01-31 Thread Alexander Graf
On 31/01/2017 09:41, Dalon Westergreen wrote: From: Dalon Westergreen Changes in V3: - Add depends on DOS_PARTITION - Ensure that PARTTION_TYPE defaults to non-zero - Add ifdef around sys_ind in disk_partition structure Changes in V2: - Merge partition search

[U-Boot] [PATCH v3] SPL: add support to boot from a partition type

2017-01-31 Thread Dalon Westergreen
From: Dalon Westergreen the socfpga bootrom supports mmc booting from either a raw image starting at 0x0, or from a partition of type 0xa2. This patch adds support for locating the boot image in the first type 0xa2 partition found. Assigned a partition number of -1

[U-Boot] [PATCH v3] SPL: add support to boot from a partition type

2017-01-31 Thread Dalon Westergreen
From: Dalon Westergreen Changes in V3: - Add depends on DOS_PARTITION - Ensure that PARTTION_TYPE defaults to non-zero - Add ifdef around sys_ind in disk_partition structure Changes in V2: - Merge partition search into single partition function Dalon