[U-Boot] [PATCH] serial: arc: Convert to use default_serial_puts

2014-02-07 Thread Axel Lin
Use default_serial_puts() instead of duplicating the implementation. Signed-off-by: Axel Lin --- drivers/serial/serial_arc.c | 8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/drivers/serial/serial_arc.c b/drivers/serial/serial_arc.c index e63d25d..fd56ca3 100644 --- a/dr

[U-Boot] [PATCH] axs101: change command prompt marker to match marketing name of the board

2014-02-07 Thread Alexey Brodkin
Proper spelling of the boad marketing name is with upper case. So changing it from lower case to upper case here. Cc: Tom Rini Signed-off-by: Alexey Brodkin --- include/configs/axs101.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/axs101.h b/include/confi

[U-Boot] [PATCH] axs101: fix dw gmac instantiation for updated dw gmac driver

2014-02-07 Thread Alexey Brodkin
With accepted change to DW GMAC driver - 92a190aaab3536d695c51e0739f925910eb49889 (net/designware - switch driver to phylib usage) we need to update this board because "designware_initialize" now accepts only 2 parameters instead of 4. Cc: Vineet Gupta Cc: Tom Rini Signed-off-by: Alexey Brodkin

[U-Boot] [PATCH 0/2] Post-mainline updates of serial_arc driver

2014-02-07 Thread Alexey Brodkin
serial_arc driver didn't exist in U-Boot Master branch until supoort of ARC700 architecture was accepted yesterday. Because of that there was no way to apply pathes to initially approved version searial_arc driver. So now when driver is in U-Boot source tree it's time to submit 2 minor fixes that

[U-Boot] [PATCH 2/2] serial/serial_arc: switch from {read|write}l to {read|write}b accessors

2014-02-07 Thread Alexey Brodkin
This is required for proper functionality on big-endian targets. Memory-mapped registres of ARC UART are not 32-bit words but 8-bit bytes so on little-endian target either acessor (_l or _b) works fine. On big-endian only _b accessors works as expected. Signed-off-by: Alexey Brodkin Cc: Vineet G

[U-Boot] [PATCH 1/2] serial/serial_arc: add work-around of ISS bug

2014-02-07 Thread Alexey Brodkin
Explanation is in in-lined comment. Signed-off-by: Alexey Brodkin Cc: Vineet Gupta Cc: Noam Camus Cc: Tom Rini --- drivers/serial/serial_arc.c | 16 1 file changed, 16 insertions(+) diff --git a/drivers/serial/serial_arc.c b/drivers/serial/serial_arc.c index e63d25d..55d076

[U-Boot] [U-Boot:RESEND][[PATCH 1/7] fdt: call ft_board_setup_ex() at the end of image_setup_libfdt()

2014-02-07 Thread Murali Karicheri
From: Vitaly Andrianov The keystone2 SOC requires to fix all 32 bit aliased addresses to their 36 physical format. This has to happen after all fdt nodes are added or modified. Signed-off-by: Vitaly Andrianov --- - Resending with some more in cc common/image-fdt.c|5 + include/fdt

[U-Boot] [U-Boot:RESEND][[PATCH 3/7 v1] tools: mkimage: add support for gpimage format

2014-02-07 Thread Murali Karicheri
This patch add support for gpimage format as a preparatory patch for porting u-boot for keystone2 devices and is based on omapimage format. It re-uses gph header to store the size and loadaddr as done in omapimage.c Signed-off-by: Vitaly Andrianov Signed-off-by: Murali Karicheri --- - Resending

[U-Boot] [U-Boot:RESEND][[PATCH 2/7] tools: sort the entries in Makefile

2014-02-07 Thread Murali Karicheri
The NOPED_OBJ_FILES, dumpimage and mkimage object file entries are to be kept sorted. This patch fix this issue. Signed-off-by: Murali Karicheri --- - Resend with some more in cc - As per review comments tools/Makefile | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) dif

[U-Boot] [U-Boot:RESEND][[PATCH 5/7 v1] NAND: DaVinci: allow forced disable of subpage writes

2014-02-07 Thread Murali Karicheri
This patch introduces a configurable mechanism to disable subpage writes in the DaVinci NAND driver. Signed-off-by: Vitaly Andrianov Signed-off-by: Murali Karicheri --- - Resend with some more in cc - Updated README to include the option as per review comments README

[U-Boot] [U-Boot: RESEND][PATCH 0/7] Add support for Keystone2 SoC and K2HK EVM

2014-02-07 Thread Murali Karicheri
- Resending since I missed some in the CC This patch series add support for keystone2 SoC and K2HK EVM. Following patches were reviewed before in this list and v1 of the same is send with review comments incorporated:- - tools: mkimage: add support for gpimage format - arm: add support for a

[U-Boot] [U-Boot:RESEND][[PATCH 4/7 v1] arm: add support for arch timer

2014-02-07 Thread Murali Karicheri
From: Vitaly Andrianov This patch add basic support for the architecture timer found on recent ARMv7 based SoCs. Signed-off-by: Vitaly Andrianov Signed-off-by: Murali Karicheri --- - Resending with some more in cc - Resending the patch along with SoC/board patch arch/arm/lib/Makefile |

[U-Boot] [[PATCH 3/7 v1] tools: mkimage: add support for gpimage format

2014-02-07 Thread Murali Karicheri
This patch add support for gpimage format as a preparatory patch for porting u-boot for keystone2 devices and is based on omapimage format. It re-uses gph header to store the size and loadaddr as done in omapimage.c Signed-off-by: Vitaly Andrianov Signed-off-by: Murali Karicheri --- - Addressed

[U-Boot] [[PATCH 2/7] tools: sort the entries in Makefile

2014-02-07 Thread Murali Karicheri
The NOPED_OBJ_FILES, dumpimage and mkimage object file entries are to be kept sorted. This patch fix this issue. Signed-off-by: Murali Karicheri --- - As per review comments tools/Makefile | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/tools/Makefile b/tool

[U-Boot] [[PATCH 5/7 v1] NAND: DaVinci: allow forced disable of subpage writes

2014-02-07 Thread Murali Karicheri
This patch introduces a configurable mechanism to disable subpage writes in the DaVinci NAND driver. Signed-off-by: Vitaly Andrianov Signed-off-by: Murali Karicheri --- - Updated README to include the option as per review comments README |5 + drivers/mtd/nand/

[U-Boot] [[PATCH 1/7] fdt: call ft_board_setup_ex() at the end of image_setup_libfdt()

2014-02-07 Thread Murali Karicheri
From: Vitaly Andrianov The keystone2 SOC requires to fix all 32 bit aliased addresses to their 36 physical format. This has to happen after all fdt nodes are added or modified. Signed-off-by: Vitaly Andrianov --- common/image-fdt.c|5 + include/fdt_support.h |1 + 2 files chang

[U-Boot] [[PATCH 4/7 v1] arm: add support for arch timer

2014-02-07 Thread Murali Karicheri
From: Vitaly Andrianov This patch add basic support for the architecture timer found on recent ARMv7 based SoCs. Signed-off-by: Vitaly Andrianov Signed-off-by: Murali Karicheri --- - Resending the patch along with SoC/board patch arch/arm/lib/Makefile |1 + arch/arm/lib/arch_timer.c

[U-Boot] [PATCH 0/7] Add support for Keystone2 SoC and K2HK EVM

2014-02-07 Thread Murali Karicheri
This patch series add support for keystone2 SoC and K2HK EVM. Following patches were reviewed before in this list and v1 of the same is send with review comments incorporated:- - tools: mkimage: add support for gpimage format - arm: add support for arch timer - NAND: DaVinci: allow forced di

[U-Boot] [[PATCH 7/7] keystone2: net: add keystone ethernet driver

2014-02-07 Thread Murali Karicheri
The network driver consists of multicore navigator driver and the ethernet sub system driver. Multicore navigator consists of Network Coprocessor (NetCP) and Queue Manager sub system. More details on the hardware can be obtained from the following links:- Network Coprocessor: http://www.ti.com/lit

Re: [U-Boot] [PATCH][v3] powerpc/mpc85xx: SECURE BOOT- Add secure boot target for B4860QDS

2014-02-07 Thread Scott Wood
On Tue, 2014-02-04 at 08:03 +0100, Wolfgang Denk wrote: > Dear Scott, > > In message <1391469528.6733.97.ca...@snotra.buserror.net> you wrote: > > > > > > +#if defined(CONFIG_RAMBOOT_PBL) > > > > + disable_cpc_sram(); > > > > +#endif > > > > > > What is the meaning of this undocumented CONF

[U-Boot] [PATCH] mmc: Add 'mmc rst-function' sub-command

2014-02-07 Thread Tom Rini
Some eMMC chips may need the RST_n_FUNCTION bit set to a non-zero value in order for warm reset of the system to work. Details on this being required will be part of the eMMC datasheet. Also add using this command to the dra7xx README. Signed-off-by: Tom Rini --- board/ti/dra7xx/README |1

Re: [U-Boot] [Qemu-ppc] [PATCH v2 5/6] PPC 85xx: Find PCI host controllers on ppce500 from device tree

2014-02-07 Thread Scott Wood
On Fri, 2014-02-07 at 16:00 +0100, Alexander Graf wrote: > On 07.02.2014, at 15:54, Alexander Graf wrote: > > > > > On 06.02.2014, at 23:52, Scott Wood wrote: > > > >> On Thu, 2014-02-06 at 14:26 +0100, Alexander Graf wrote: > > How about using fdt_translate_address() or other exist

Re: [U-Boot] [PATCH v2 5/6] PPC 85xx: Find PCI host controllers on ppce500 from device tree

2014-02-07 Thread Scott Wood
On Fri, 2014-02-07 at 13:25 +0100, Alexander Graf wrote: > On 06.02.2014, at 23:52, Scott Wood wrote: > > > On Thu, 2014-02-06 at 14:26 +0100, Alexander Graf wrote: > >> On 04.02.2014, at 03:47, Scott Wood wrote: > >> > >>> On Fri, 2014-01-31 at 12:16 +0100, Alexander Graf wrote: > The def

Re: [U-Boot] [PATCH v2 2/3] dts: move device tree sources to arch/$(ARCH)/dts/

2014-02-07 Thread Scott Wood
On Wed, 2014-02-05 at 14:47 -0700, Simon Glass wrote: > Hi Masahiro, > > On 4 February 2014 02:38, Masahiro Yamada wrote: > > Unlike Linux Kernel, U-Boot historically had *.dts files under > > board/$(VENDOR)/dts/ and *.dtsi files under arch/$(ARCH)/dts/. > > > > I think arch/$(ARCH)/dts dicretor

Re: [U-Boot] serial/serial_arc - add driver for ARC UART

2014-02-07 Thread Tom Rini
On Fri, Feb 07, 2014 at 05:35:21PM +, Alexey Brodkin wrote: > Hello Tom, > > On Fri, 2014-02-07 at 08:35 -0500, Tom Rini wrote: > > On Fri, Dec 13, 2013 at 10:35:11AM +0400, Alexey Brodkin wrote: > > > > > Driver for non-standard on-chip UART, instantiated in the ARC (Synopsys) > > > FPGA Boa

Re: [U-Boot] [PATCH v3 1/2] env_mmc: make board configurable the partition for the environment

2014-02-07 Thread Palacios, Hector
Hi Antoniou, On 02/07/2014 05:26 PM, Pantelis Antoniou wrote: > Hi Hector, > > On Jan 23, 2014, at 2:39 PM, Hector Palacios wrote: > >> This complements commit 9404a5fc7cb58 "env_mmc: allow environment to be >> in an eMMC partition" by allowing boards to accommodate the partition >> to use for the

Re: [U-Boot] [PATCH v4 0/9] Add support for the ARC700 architecture

2014-02-07 Thread Alexey Brodkin
Dear Tom. On Fri, 2014-02-07 at 08:36 -0500, Tom Rini wrote: > On Tue, Feb 04, 2014 at 12:56:12PM +0400, Alexey Brodkin wrote: > > I've applied the series to u-boot/master. But please note that with the > toolchain links above, MAKEALL doesn't agree that axs101 builds without > error (but doing

Re: [U-Boot] serial/serial_arc - add driver for ARC UART

2014-02-07 Thread Alexey Brodkin
Hello Tom, On Fri, 2014-02-07 at 08:35 -0500, Tom Rini wrote: > On Fri, Dec 13, 2013 at 10:35:11AM +0400, Alexey Brodkin wrote: > > > Driver for non-standard on-chip UART, instantiated in the ARC (Synopsys) > > FPGA Boards such as ARCAngel4/ML50x > > > > Signed-off-by: Alexey Brodkin > > Appli

Re: [U-Boot] [PATCH v2 1/6] PPC 85xx: Detect e500v2 / e500mc during runtime

2014-02-07 Thread Scott Wood
On Fri, 2014-02-07 at 12:52 +0100, Alexander Graf wrote: > On 07.02.2014, at 01:51, Scott Wood wrote: > > > On Thu, 2014-02-06 at 12:40 +0100, Alexander Graf wrote: > >> On 04.02.2014, at 02:59, Scott Wood wrote: > >> > >>> On Fri, 2014-01-31 at 12:16 +0100, Alexander Graf wrote: > With th

[U-Boot] [PATCH V2] ush: ehci: initialize altnext pointers in QH

2014-02-07 Thread Stephen Warren
From: Stephen Warren Section 4.10.2 "Advance Queue" of ehci-specification-for-usb.pdf specifies how an EHCI controller loads a new QTD for processing if the QH is not already marked as active. It states: = If the field Bytes to Transfer is not zero and the T-bit in the Alternate Next qTD Poi

Re: [U-Boot] [PATCH v2 6/6] PPC 85xx: Find CPU speed on ppce500 from device tree

2014-02-07 Thread Scott Wood
On Fri, 2014-02-07 at 12:50 +0100, Alexander Graf wrote: > On 07.02.2014, at 02:33, Scott Wood wrote: > > > On Thu, 2014-02-06 at 12:11 +0100, Alexander Graf wrote: > >> On 04.02.2014, at 03:52, Scott Wood wrote: > >> > >>> On Fri, 2014-01-31 at 12:16 +0100, Alexander Graf wrote: > The onl

Re: [U-Boot] [PATCH 1/2] ush: ehci: initialize altnext pointers in QH

2014-02-07 Thread Stephen Warren
On 02/07/2014 06:50 AM, Marek Vasut wrote: > On Friday, February 07, 2014 at 07:47:14 AM, Stephen Warren wrote: >> On 02/06/2014 07:53 PM, Marek Vasut wrote: >>> On Thursday, February 06, 2014 at 09:13:05 PM, Stephen Warren wrote: From: Stephen Warren A QH's overlay QTD altnext poin

[U-Boot] Pull request: u-boot-mmc 07022014

2014-02-07 Thread Pantelis Antoniou
Hi Tom, The following changes since commit dbf3de2dd26cae37d16b00b348828c883b658cc5: include/usb/s3c_udc.h: Add (2014-02-06 14:26:05 -0500) are available in the git repository at: git://git.denx.de/u-boot-mmc.git master for you to fetch changes up to b818d9ab8d96471c40ccbd4541a46dfa415eda

Re: [U-Boot] [PATCH v3 1/2] env_mmc: make board configurable the partition for the environment

2014-02-07 Thread Pantelis Antoniou
Hi Hector, On Jan 23, 2014, at 2:39 PM, Hector Palacios wrote: > This complements commit 9404a5fc7cb58 "env_mmc: allow environment to be > in an eMMC partition" by allowing boards to accommodate the partition > to use for the environment in different scenarios (similarly to what is > done with th

Re: [U-Boot] [PATCH 2/2] usb: ehci: fully align interrupt QHs/QTDs

2014-02-07 Thread Stephen Warren
On 02/07/2014 06:48 AM, Marek Vasut wrote: > On Friday, February 07, 2014 at 07:48:06 AM, Stephen Warren wrote: >> On 02/06/2014 07:53 PM, Marek Vasut wrote: >>> On Thursday, February 06, 2014 at 09:13:06 PM, Stephen Warren wrote: From: Stephen Warren These data structures are passe

Re: [U-Boot] [PATCH v3 6/8] cmd_mmc.c: Drop open/close mmc sub-commands

2014-02-07 Thread Pantelis Antoniou
Hi Tom, On Feb 5, 2014, at 5:24 PM, Tom Rini wrote: > The open and close mmc sub-commands implement a hard-coded set of values > specific to the SMDK5250 platform. Remove these commands as what they > did can be done instead with a series of mmc dev / bootpart / bootbus > commands instead now. >

Re: [U-Boot] [PATCH v3 7/8] omap5_uevm: Add CONFIG_SUPPORT_EMMC_BOOT, document usage

2014-02-07 Thread Pantelis Antoniou
Hi Tom, On Feb 5, 2014, at 5:24 PM, Tom Rini wrote: > Add a README to the board which lists the commands required to enable > booting from the eMMC boot partitions found on the board. > > Signed-off-by: Tom Rini > --- > board/ti/omap5_uevm/README | 25 + > include/con

Re: [U-Boot] [PATCH v3 8/8] dra7xx_evm: Add CONFIG_SUPPORT_EMMC_BOOT, document usage

2014-02-07 Thread Pantelis Antoniou
Hi Tom, On Feb 5, 2014, at 5:24 PM, Tom Rini wrote: > Add a README to the board which lists the commands required to enable > booting from the eMMC boot partitions found on the board. > > Cc: Lokesh Vutla > Signed-off-by: Tom Rini > --- > board/ti/dra7xx/README | 25 +++

Re: [U-Boot] [PATCH v3 3/8] cmd_mmc.c: Rename 'bootpart' to 'bootpart-resize'

2014-02-07 Thread Pantelis Antoniou
Hi Tom, On Feb 5, 2014, at 5:24 PM, Tom Rini wrote: > Rename 'bootpart' to 'bootpart-resize' to better reflect what this > command is for. > > Acked-by: Jaehoon Chung > Signed-off-by: Tom Rini > --- > common/cmd_mmc.c |8 > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff

Re: [U-Boot] [PATCH v3 2/8] cmd_mmc.c: Change 'bootpart' code to match normal coding style

2014-02-07 Thread Pantelis Antoniou
Hi Tom, On Feb 5, 2014, at 5:24 PM, Tom Rini wrote: > Acked-by: Jaehoon Chung > Signed-off-by: Tom Rini > --- > common/cmd_mmc.c | 15 +++ > 1 file changed, 11 insertions(+), 4 deletions(-) > > diff --git a/common/cmd_mmc.c b/common/cmd_mmc.c > index da5fef9..e118252 100644 > ---

Re: [U-Boot] [PATCH v3 4/8] cmd_mmc.c: Add 'partconf' command to mmc

2014-02-07 Thread Pantelis Antoniou
Hi Tom, On Feb 5, 2014, at 5:24 PM, Tom Rini wrote: > Add a partconf sub-command to the mmc command to allow for setting > the boot_ack, boot_partition and partition_access fields of > PARTITION_CONFIG (formerly BOOT_CONFIG, EXT_CSD[179]). Part of this > requires changing the check for 'part' fr

Re: [U-Boot] [PATCH v3 5/8] cmd_mmc.c: Add bootbus mmc sub-command

2014-02-07 Thread Pantelis Antoniou
Hi Tom, On Feb 5, 2014, at 5:24 PM, Tom Rini wrote: > Add a bootbus sub-command to the mmc command to allow for setting > the boot_bus_width, reset_boot_bus_width and boot_mode fields of > BOOT_BUS_WIDTH (EXT_CSD[177]). > > Acked-by: Jaehoon Chung > Signed-off-by: Tom Rini > --- > common/cmd_m

Re: [U-Boot] [PATCH v3 1/8] SPL: Add CONFIG_SUPPORT_EMMC_BOOT support to CONFIG_SPL_FRAMEWORK

2014-02-07 Thread Pantelis Antoniou
Hi Tom, On Feb 5, 2014, at 5:24 PM, Tom Rini wrote: > We use the switch CONFIG_SUPPORT_EMMC_BOOT today to enable some > additional features of the eMMC boot partitions. Add support for being > told that we have booted from one of these partitions to the spl > framework and implement this on TI O

Re: [U-Boot] [PATCH] mmc: Enabled quirk SDHCI_QUIRK_BROKEN_R1B

2014-02-07 Thread Pantelis Antoniou
Hi Michal, On Jan 22, 2014, at 10:17 AM, Michal Simek wrote: > From: Siva Durga Prasad Paladugu > > As per the below commit > "mmc: sdhci: add the quirk for broken r1b response" > (sha1: 3a6383207be3f71b39004e64464a6e99290b16fa) > need to add quirk SDHCI_QUIRK_BROKEN_R1B, when the > response t

Re: [U-Boot] [PATCH RESEND] MMC: DWMMC: Correct the CLKDIV register value

2014-02-07 Thread Pantelis Antoniou
Hi Rajesh, Sorry for the delay, patch looks good. On Feb 5, 2014, at 7:18 AM, Rajeshwari Shinde wrote: > From: Rajeshwari S Shinde > > This patch corrects the divider value written to CLKDIV register. > Since SDCLKIN is divided inside controller by the DIVRATIO value set > in the CLKSEL regist

Re: [U-Boot] [PATCH] mmc: set rca to 1 for MMC cards

2014-02-07 Thread Pantelis Antoniou
Looks good. On Jan 31, 2014, at 1:11 AM, Stephen Warren wrote: > From: Stephen Warren > > U-Boot currently sets MMC cards' RCA register to 0. This value is > reserved according to the specification. Use a value of 1 instead, just > like the Linux kernel. > > Signed-off-by: Stephen Warren > --

Re: [U-Boot] [Qemu-ppc] [PATCH v2 5/6] PPC 85xx: Find PCI host controllers on ppce500 from device tree

2014-02-07 Thread Alexander Graf
On 07.02.2014, at 15:54, Alexander Graf wrote: > > On 06.02.2014, at 23:52, Scott Wood wrote: > >> On Thu, 2014-02-06 at 14:26 +0100, Alexander Graf wrote: How about using fdt_translate_address() or other existing functionality? >>> >>> Mind to show exactly how? >> >> I guess you

Re: [U-Boot] [PATCH v2 5/6] PPC 85xx: Find PCI host controllers on ppce500 from device tree

2014-02-07 Thread Alexander Graf
On 06.02.2014, at 23:52, Scott Wood wrote: > On Thu, 2014-02-06 at 14:26 +0100, Alexander Graf wrote: >> On 04.02.2014, at 03:47, Scott Wood wrote: >> >>> On Fri, 2014-01-31 at 12:16 +0100, Alexander Graf wrote: The definition of our ppce500 PV machine is that every address is dynam

Re: [U-Boot] [PATCH] zynq: Add support for U-BOOT SPL

2014-02-07 Thread Tom Rini
On Fri, Feb 07, 2014 at 02:56:34PM +0100, Michal Simek wrote: > SPL is using ps7_init.c/h files which are generated > from design tools which have to be copied to > boards/xilinx/zynq folder before compilation. > > BSS section is moved to SDRAM because fat support > requires more space than SRAM

Re: [U-Boot] [PATCH] x600: Switch to CONFIG_PHYLIB

2014-02-07 Thread Tom Rini
On Fri, Feb 07, 2014 at 09:03:23AM -0500, Tom Rini wrote: > Now that the designware ethernet driver uses phylib we need to turn it > on here. > > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___

Re: [U-Boot] [U-Boot, v3] net/designware: make driver compatible with data cache

2014-02-07 Thread Tom Rini
On Wed, Jan 22, 2014 at 08:49:09PM +0400, Alexey Brodkin wrote: > From: Alexey Brodkin > > Up until now this driver only worked with data cache disabled. > To make it work with enabled data cache following changes were required: > > * Flush Tx/Rx buffer descriptors their modification > * Inva

Re: [U-Boot] [U-Boot, v2] net/designware - switch driver to phylib usage

2014-02-07 Thread Tom Rini
On Wed, Jan 22, 2014 at 08:54:06PM +0400, Alexey Brodkin wrote: > With this change driver will benefit from existing phylib and thus > custom phy functionality implemented in the driver will go away: > * Instantiation of the driver is now much shorter - 2 parameters > instead of 4. > * Simplifie

Re: [U-Boot] net: execute "miiphy_init" if CONFIG_PHYLIB defined

2014-02-07 Thread Tom Rini
On Fri, Jan 10, 2014 at 07:58:11PM +0400, Alexey Brodkin wrote: > In "common/Makefile" "miiphyutil.o" gets built if any of the following > items enabled: > * CONFIG_PHYLIB > * CONFIG_MII > * CONFIG_CMD_MII > > So it's possible to not define CONFIG_MII or CONFIG_CMD_MII and still > use function

Re: [U-Boot] net/designware: add explicit reset of {tx|rx}_currdescnum

2014-02-07 Thread Tom Rini
On Mon, Jan 13, 2014 at 01:28:38PM +0400, Alexey Brodkin wrote: > Driver "init" function might be called multiple times. > On every "init" Tx/Rx buffer descriptors are initialized: "descs_init" > -> "{tx|rx}_descs_init". > > In its turn those init functions set MAC's "{tx|rx}desclistaddr" to > po

Re: [U-Boot] [PATCH] x600: Switch to CONFIG_PHYLIB

2014-02-07 Thread Stefan Roese
On 07.02.2014 15:03, Tom Rini wrote: Now that the designware ethernet driver uses phylib we need to turn it on here. Signed-off-by: Tom Rini Acked-by: Stefan Roese Thanks, Stefan ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/m

Re: [U-Boot] [uBoot] [PATCH v2 1/2] common: spl: Add spl sata boot support

2014-02-07 Thread Dan Murphy
Roger On 02/07/2014 03:48 AM, Roger Quadros wrote: > Hi Dan, > > On 02/03/2014 02:59 PM, Dan Murphy wrote: >> Add spl_sata to read a fat partition from a bootable SATA >> drive. >> >> Signed-off-by: Dan Murphy >> --- > I got some check-patch errors with this one. > Once that is fixed you can plea

[U-Boot] [PATCH] x600: Switch to CONFIG_PHYLIB

2014-02-07 Thread Tom Rini
Now that the designware ethernet driver uses phylib we need to turn it on here. Signed-off-by: Tom Rini --- include/configs/x600.h |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/configs/x600.h b/include/configs/x600.h index 39540e3..00b938a 100644 --- a/include/

[U-Boot] [PATCH] zynq: Add support for U-BOOT SPL

2014-02-07 Thread Michal Simek
SPL is using ps7_init.c/h files which are generated from design tools which have to be copied to boards/xilinx/zynq folder before compilation. BSS section is moved to SDRAM because fat support requires more space than SRAM size. Added: - MMC and QSPI support - Boot OS directly from SPL - Enable S

Re: [U-Boot] [PATCH 1/2] ush: ehci: initialize altnext pointers in QH

2014-02-07 Thread Marek Vasut
On Friday, February 07, 2014 at 07:47:14 AM, Stephen Warren wrote: > On 02/06/2014 07:53 PM, Marek Vasut wrote: > > On Thursday, February 06, 2014 at 09:13:05 PM, Stephen Warren wrote: > >> From: Stephen Warren > >> > >> A QH's overlay QTD altnext pointer should be explicitly marked invalid > >>

Re: [U-Boot] [PATCH 2/2] usb: ehci: fully align interrupt QHs/QTDs

2014-02-07 Thread Marek Vasut
On Friday, February 07, 2014 at 07:48:06 AM, Stephen Warren wrote: > On 02/06/2014 07:53 PM, Marek Vasut wrote: > > On Thursday, February 06, 2014 at 09:13:06 PM, Stephen Warren wrote: > >> From: Stephen Warren > >> > >> These data structures are passed to cache-flushing routines, and hence > >>

Re: [U-Boot] Pull request: u-boot-blackfin

2014-02-07 Thread Tom Rini
On Fri, Feb 07, 2014 at 11:33:57AM +0800, Sonic Zhang wrote: > Hi Tom, > > Please pull the following patches for Blackfin from u-boot-blackfin > into your tree. > > Thanks > > Sonic Zhang > > > The following changes since commit dbf3de2dd26cae37d16b00b348828c883b658cc5: > > include/usb/s3c

Re: [U-Boot] serial/serial_arc - add driver for ARC UART

2014-02-07 Thread Tom Rini
On Fri, Dec 13, 2013 at 10:35:11AM +0400, Alexey Brodkin wrote: > Driver for non-standard on-chip UART, instantiated in the ARC (Synopsys) > FPGA Boards such as ARCAngel4/ML50x > > Signed-off-by: Alexey Brodkin Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital sign

Re: [U-Boot] [PATCH v4 0/9] Add support for the ARC700 architecture

2014-02-07 Thread Tom Rini
On Tue, Feb 04, 2014 at 12:56:12PM +0400, Alexey Brodkin wrote: > This patch series adds support for the Synopsys DesignWare ARC700 > architecture. > > DesignWare ARC700 is family of 32-bit CPUs developed by Synopsys, Inc. > > Since version 3.9 ARC architecture is supported in mainline Linux de

[U-Boot] [PATCH 02/15] kbuild: abolish "depend" target

2014-02-07 Thread Masahiro Yamada
This commit moves include/generated/{generic-asm-offsets.h, asm-offsets.h} from "depend" targets to "prepare" targets and deletes "depend" targets. Signed-off-by: Masahiro Yamada --- Makefile | 27 +++ 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/Makef

[U-Boot] [PATCH 06/15] kbuild: use shorten logs objcopy rules

2014-02-07 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada --- Makefile | 41 + examples/api/Makefile| 6 -- examples/standalone/Makefile | 10 ++ spl/Makefile | 19 +-- 4 files changed, 56 insertions(+), 20 del

[U-Boot] [PATCH 13/15] kbuild: refactor more IMX image rules

2014-02-07 Thread Masahiro Yamada
This commit avoids generating ./SPL twice. - Fist time descending to spl/ - Second time as a prerequisite of u-boot-with-spl.imx, u-boot-with-nand-spl.imx. Signed-off-by: Masahiro Yamada --- Makefile | 5 - arch/arm/config.mk | 10 ++ a

[U-Boot] [PATCH 07/15] kbuild: use shorten logs for mkimage rules

2014-02-07 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada --- Makefile| 38 +++-- arch/arm/cpu/armv7/am33xx/config.mk | 4 ++-- arch/arm/cpu/armv7/omap3/config.mk | 2 +- arch/arm/cpu/armv7/omap4/config.mk | 2 +- arch/arm/cpu/armv7/omap5/config.mk | 2 +-

[U-Boot] [PATCH 10/15] kbuild: use shorten log for linking u-boot

2014-02-07 Thread Masahiro Yamada
Move sandbox-specific link rule to arch/sandbox/config.mk. Signed-off-by: Masahiro Yamada --- Makefile | 33 ++--- arch/sandbox/config.mk | 4 2 files changed, 18 insertions(+), 19 deletions(-) diff --git a/Makefile b/Makefile index 364b9be..c470

[U-Boot] [PATCH 11/15] kbuild: use shorten logs for misc targets

2014-02-07 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada --- Makefile | 7 +-- arch/blackfin/cpu/Makefile | 6 +- examples/api/Makefile| 40 +--- examples/standalone/Makefile | 25 +++-- spl/Makefile | 6 +

[U-Boot] [PATCH 01/15] kbuild: consolidate version and timestamp headers generation

2014-02-07 Thread Masahiro Yamada
- Generate include/generated/{timestamp.h, version.h} more simply by using filechk rule. - Add $(UBOOTRELEASE) variable and re-write u-boot.imx rule more simply. - Rename U_BOOT_VERSION in Makefile to UBOOTVERSION Before this commit, the same variable name, "U_BOOT_VERSION" was us

[U-Boot] [PATCH 05/15] kbuild: Add $(Q) when descending into subdirectories

2014-02-07 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada --- Makefile | 21 - spl/Makefile | 4 ++-- 2 files changed, 10 insertions(+), 15 deletions(-) diff --git a/Makefile b/Makefile index beca991..edb6868 100644 --- a/Makefile +++ b/Makefile @@ -791,7 +791,7 @@ u-boot.img: u-boot.bin

[U-Boot] [PATCH 14/15] kbuild: support building signle targets

2014-02-07 Thread Masahiro Yamada
Import build rules of single targets from Linux 3.13. Signed-off-by: Masahiro Yamada --- Makefile | 52 1 file changed, 52 insertions(+) diff --git a/Makefile b/Makefile index ad9c315..be61a15 100644 --- a/Makefile +++ b/Makefile @@ -1268,6

[U-Boot] [PATCH 12/15] kbuild: use shorten logs for IMX images

2014-02-07 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada --- Makefile | 4 +- arch/arm/cpu/arm1136/config.mk | 2 +- arch/arm/cpu/arm926ejs/config.mk | 2 +- arch/arm/cpu/armv7/config.mk | 2 +- arch/arm/imx-common/Makefile | 85 spl/Makefile

[U-Boot] [PATCH 04/15] kbuild: rename OBJCFLAGS to OBJCOPYFLAGS

2014-02-07 Thread Masahiro Yamada
Rename OBJCFLAGS to OBJCOPYFLAGS beforehand to use "cmd_objcopy" in scripts/Makefile.lib in an upcoming commit. Signed-off-by: Masahiro Yamada --- Makefile | 16 arch/arm/config.mk| 4 ++-- arch/arm/cpu/pxa/confi

[U-Boot] [PATCH 15/15] kbuild: add misc targets, help, ubootrelease, ubootversion

2014-02-07 Thread Masahiro Yamada
"help" target has been copied from Linux 3.13 and adjusted for U-Boot. Unlike Linux, cleaning is done on 4 levels: clean, clobber, mrproper, distclean. Signed-off-by: Masahiro Yamada --- Makefile | 65 +--- 1 file changed, 58 insertion

[U-Boot] [PATCH 08/15] kbuild: use shorten logs for cat rules

2014-02-07 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada --- Makefile | 23 +++ 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/Makefile b/Makefile index d43d09b..80c0b1b 100644 --- a/Makefile +++ b/Makefile @@ -751,14 +751,17 @@ quiet_cmd_mkimage = UIMAGE $@ cmd_mkimage = $(objtree)/

[U-Boot] [PATCH 03/15] kbuild: move asm-offsets.h rules to ./Kbuild

2014-02-07 Thread Masahiro Yamada
Generate include/generated/generic-asm-offsets.h and include/generated/asm-offsets.h in ./Kbuild. This commit also changes the include guard. Before this commit, __ASM_OFFSETS_H__ was used for both of them. So we could not include generic-asm-offsets.h and asm-offsets.h at the same time. This co

[U-Boot] [PATCH 09/15] kbuild: use shorten logs for combined rules of mkimage, padding and cat

2014-02-07 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada --- Makefile | 79 +--- 1 file changed, 41 insertions(+), 38 deletions(-) diff --git a/Makefile b/Makefile index 80c0b1b..364b9be 100644 --- a/Makefile +++ b/Makefile @@ -754,6 +754,11 @@ cmd_mkimage = $(

[U-Boot] [PATCH 0/15] Follow-up for Kbuild series: more misc targets and short logs

2014-02-07 Thread Masahiro Yamada
Kbuild series must be applied before this series. This series refactors a little, imports more Kbuild features and convert many rules to Kbuild style. I think most of rules will be displayed in short log formats by applying this series. (But I know there are still some old style rules. I need mor

[U-Boot] [PATCH v2] Add support for B&R KWB Motherboard

2014-02-07 Thread Hannes Petermaier
Adds support for Bernecker & Rainer Industrieelektronik GmbH KWB Motherboard, using TI's AM3352 SoC. Most of code is derived from TI's AM335x_EVM Signed-off-by: Hannes Petermaier Cc: tr...@ti.com --- --- Changes for v2: - Coding Style cleanup - using common/shared code sections of other B&

Re: [U-Boot] [PATCH v2 5/6] PPC 85xx: Find PCI host controllers on ppce500 from device tree

2014-02-07 Thread Alexander Graf
On 06.02.2014, at 23:52, Scott Wood wrote: > On Thu, 2014-02-06 at 14:26 +0100, Alexander Graf wrote: >> On 04.02.2014, at 03:47, Scott Wood wrote: >> >>> On Fri, 2014-01-31 at 12:16 +0100, Alexander Graf wrote: The definition of our ppce500 PV machine is that every address is dynam

Re: [U-Boot] [PATCH v2 1/6] PPC 85xx: Detect e500v2 / e500mc during runtime

2014-02-07 Thread Alexander Graf
On 07.02.2014, at 01:51, Scott Wood wrote: > On Thu, 2014-02-06 at 12:40 +0100, Alexander Graf wrote: >> On 04.02.2014, at 02:59, Scott Wood wrote: >> >>> On Fri, 2014-01-31 at 12:16 +0100, Alexander Graf wrote: With the qemu-ppce500 machine type we can run the same board with either

Re: [U-Boot] [PATCH v2 6/6] PPC 85xx: Find CPU speed on ppce500 from device tree

2014-02-07 Thread Alexander Graf
On 07.02.2014, at 02:33, Scott Wood wrote: > On Thu, 2014-02-06 at 12:11 +0100, Alexander Graf wrote: >> On 04.02.2014, at 03:52, Scott Wood wrote: >> >>> On Fri, 2014-01-31 at 12:16 +0100, Alexander Graf wrote: The only thing we know in our PV machine through device tree is the clock >>>

Re: [U-Boot] uboot/linux version compatibilty

2014-02-07 Thread Wolfgang Denk
Dear santosh, In message you wrote: > > Currently our production device has uboot 1.1.2 and Linux kernel 2.6.10. > > We are planning to upgrade Linux kernel to 2.6.18 without upgrading > uboot version. > > Can you please let us know incompatibility issues if any? U-Boot v1.1.2 is more than

Re: [U-Boot] arm64 patch: gicv3 support

2014-02-07 Thread Arnab Basu
Hi David Sorry for the late review, please find some comments inline. On 15-Jan-14 1:40 PM, feng...@phytium.com.cn wrote: > From: David Feng > > This patch add gicv3 support to uboot armv8 platform. > Modifications cover 4 source files, as follows: > gic.S: gicv3 initialization and sgi interr

Re: [U-Boot] [PATCH v2] common: Remove invalid endianess conversion

2014-02-07 Thread Rommel G Custodio
Dear Christian Eggers Christian Eggers gmx.de> writes: > > do_bootm_standanlone() calls ntohl(images->ep) which is wrong because > endianess conversion has already been done: > > do_bootm() > \-do_bootm_states() > +-bootm_find_os() > | \-images.ep = image_get_ep(); > | \-uimage_to_cpu(

Re: [U-Boot] [PATCH 5/9] arm:exynos: add common board file for exynos 4

2014-02-07 Thread Minkyu Kang
On 07/02/14 17:40, Piotr Wilczek wrote: > Dear Minkyu Kang, > >> -Original Message- >> From: Minkyu Kang [mailto:mk7.k...@samsung.com] >> Sent: Friday, February 07, 2014 8:53 AM >> To: Piotr Wilczek >> Cc: u-boot@lists.denx.de; Kyungmin Park; Lukasz Majewski; Jaehoon >> Chung; Inha Song; C

Re: [U-Boot] [uBoot] [PATCH v2 1/2] common: spl: Add spl sata boot support

2014-02-07 Thread Roger Quadros
Hi Dan, On 02/03/2014 02:59 PM, Dan Murphy wrote: > Add spl_sata to read a fat partition from a bootable SATA > drive. > > Signed-off-by: Dan Murphy > --- I got some check-patch errors with this one. Once that is fixed you can please add Reviewed-by: Roger Quadros cheers, -roger > > v2 - Re

Re: [U-Boot] [uBoot] [PATCH v2 2/2] ARM: O5/dra7xx: Add SATA boot support

2014-02-07 Thread Roger Quadros
On 02/03/2014 02:59 PM, Dan Murphy wrote: > Add the SATA boot support for OMAP5 and dra7xx. > > Renamed the omap_sata_init to the common init_sata(int dev) > for commonality in with sata stack. > > Added the ROM boot device ID for SATA. > > Signed-off-by: Dan Murphy Reviewed-by: Roger Quadros

[U-Boot] uboot/linux version compatibilty

2014-02-07 Thread santosh
Dear all, Currently our production device has uboot 1.1.2 and Linux kernel 2.6.10. We are planning to upgrade Linux kernel to 2.6.18 without upgrading uboot version. Can you please let us know incompatibility issues if any? Thanks, Santosh ___ U-Boot

Re: [U-Boot] [PATCH 2/9] video:mipidsim:fdt: Add DT support for mipi dsim driver

2014-02-07 Thread Piotr Wilczek
Dear Minkyu Kang, > -Original Message- > > On 27/01/14 23:15, Piotr Wilczek wrote: > > This patch enables parsing mipi data from device tree. > > Non device tree case is still supported. > > > > Signed-off-by: Piotr Wilczek > > Signed-off-by: Kyungmin Park > > Cc: Minkyu Kang > > --- >

Re: [U-Boot] [PATCH 5/9] arm:exynos: add common board file for exynos 4

2014-02-07 Thread Piotr Wilczek
Dear Minkyu Kang, > -Original Message- > From: Minkyu Kang [mailto:mk7.k...@samsung.com] > Sent: Friday, February 07, 2014 8:53 AM > To: Piotr Wilczek > Cc: u-boot@lists.denx.de; Kyungmin Park; Lukasz Majewski; Jaehoon > Chung; Inha Song; Chanho Park > Subject: Re: [PATCH 5/9] arm:exynos:

[U-Boot] [PATCH] configs: Delete unused CONFIG_SYS_64BIT_{VSPRINTF, STRTOUL}

2014-02-07 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada --- include/configs/M54418TWR.h | 1 - include/configs/p1_twr.h| 3 --- include/configs/vl_ma2sc.h | 1 - include/configs/x600.h | 1 - 4 files changed, 6 deletions(-) diff --git a/include/configs/M54418TWR.h b/include/configs/M54418TWR.h index 031672e..3

Re: [U-Boot] [PATCH 3/9] video:exynos_fb:fdt: add additional fdt data

2014-02-07 Thread Piotr Wilczek
Dear Minkyu Kang, > On 27/01/14 23:15, Piotr Wilczek wrote: > > This patch adds additional data parsing from DTB. > > > > Signed-off-by: Piotr Wilczek > > Signed-off-by: Kyungmin Park > > Cc: Minkyu Kang > > --- > > drivers/video/exynos_fb.c | 19 +++ > > 1 file changed, 19 i