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

2014-02-03 Thread aneesh.ban...@freescale.com
> -Original Message- > From: Wood Scott-B07421 > Sent: Tuesday, February 04, 2014 4:32 AM > To: Bansal Aneesh-B39320 > Cc: u-boot@lists.denx.de; Sun York-R58495; Gupta Ruchika-R66431 > Subject: Re: [PATCH][v3] powerpc/mpc85xx: SECURE BOOT- Add secure boot > target for B4860QDS > > On Mon,

Re: [U-Boot] [PATCH 4/6] usb:udc:samsung: Zero copy approach for data passed to Samsung's UDC driver

2014-02-03 Thread Lukasz Majewski
Hi Marek, > On Monday, February 03, 2014 at 12:06:59 PM, Lukasz Majewski wrote: > > Hi Marek, > > > > > On Saturday, February 01, 2014 at 12:05:29 PM, Lukasz Majewski > > > wrote: > > > > On Sat, 1 Feb 2014 03:55:20 +0100 > > > > > > > > Marek Vasut wrote: > > > > > On Friday, January 31, 2014

[U-Boot] Clarification

2014-02-03 Thread JYOTI DUBEY
Is Internal boot mode (Switch configuration 1 0) same as Serial boot mode for i.mx6 board? Thanks in Advance! ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2 4/6] i2c: kona: Add Kona I2C driver

2014-02-03 Thread Heiko Schocher
Hello Darwin, Am 03.02.2014 23:12, schrieb Darwin Rambo: Add support for the Kona I2C controller found on Broadcom mobile SoCs. Signed-off-by: Darwin Rambo Reviewed-by: Steve Rae Reviewed-by: Tim Kryger --- What has changed in the v2 of your patch? drivers/i2c/Makefile |1 + driver

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

2014-02-03 Thread Wolfgang Denk
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 CONFIG_RAMBOOT_PBL option? > > I agree it should be documented, but it's not new to

[U-Boot] U-Boot DWC2 warning removal

2014-02-03 Thread Stephen Warren
Oleksandr, I made the following changes to remove some warnings from your DWC2 driver. I'm not sure they're correct; perhaps they expose some bugs... > diff --git a/drivers/usb/host/dwc_otg-hcd.c b/drivers/usb/host/dwc_otg-hcd.c > index a964681..e3c26f3 100644 > --- a/drivers/usb/host/dwc_otg-hcd.

[U-Boot] U-Boot DWC2 unused variables

2014-02-03 Thread Stephen Warren
Oleksandr, Thanks for the quick response on the s-o-b lines. Another question: The compiler is complaining about hprt0 being written but then not used in the functions below. I assume the second parameter passed to dwc_write_reg32() should be hprt0.d32 rather than val? > void dwc_otg_set_prtpower

Re: [U-Boot] [PATCH] serial: s5p: set automatically clears after resetting Rx FIFO

2014-02-03 Thread Lukasz Majewski
Hi Inha, > This patch fix the u-boot shell problem on TRATS2 board. > - If hold the key while booting is in progress, >white spaces are written in u-boot shell. > > Set Automatically clears after resetting Rx FIFO. Acked-by: Lukasz Majewski Tested-by: Lukasz Majewski > > Signed-off-by:

Re: [U-Boot] Signed-off-by for RPI U-Boot USB patches

2014-02-03 Thread Lukasz Majewski
Hi Stephen, > On 02/03/2014 01:23 AM, Lukasz Majewski wrote: > > Hi Stephen, > > > >> (Sorry for the spam; resending with the correct U-Boot mailing list > >> in CC) > >> > >> On 02/01/2014 11:14 PM, Stephen Warren wrote: > >>> Oleksandr, I'm starting to look at getting USB support enabled for >

Re: [U-Boot] [PATCH 2/6] usb:udc:samsung: Remove redundant cache operation from Samsung UDC driver

2014-02-03 Thread Lukasz Majewski
Hi Marek, > On Monday, February 03, 2014 at 09:05:06 AM, Lukasz Majewski wrote: > > [...] > > > > > To sum up: > > > > > > > > 1. s3c_udc_ep0_zlp - EP0 ZLP packets don't need to invalidate > > > > the cache (since it is zero length transmission) > > > > > > > > 2. s3c_udc_pre_setup - cache inv

[U-Boot] [PATCH] serial: s5p: set automatically clears after resetting Rx FIFO

2014-02-03 Thread Inha Song
This patch fix the u-boot shell problem on TRATS2 board. - If hold the key while booting is in progress, white spaces are written in u-boot shell. Set Automatically clears after resetting Rx FIFO. Signed-off-by: Inha Song Signed-off-by: Jaehoon Chung --- drivers/serial/serial_s5p.c |4

[U-Boot] [PATCH] Added 64-bit MMIO accessors for ARMv8

2014-02-03 Thread J. German Rivera
From: "J. German Rivera" This is needed for accessing peripherals with 64-bit MMIO registers, from ARMv8 processors. Change-Id: I685b96f708fa07e9098547f8e594ded084a044cb Signed-off-by: J. German Rivera --- arch/arm/include/asm/io.h |8 1 file changed, 8 insertions(+) diff --git a

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

2014-02-03 Thread Scott Wood
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 > speed of the CPUs. Take that as CPU speed, system speed and ddr speed so that > we have some meaningful values there at all. > > The CPU speed is important because

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

2014-02-03 Thread Scott Wood
On Fri, 2014-01-31 at 12:16 +0100, Alexander Graf wrote: > The definition of our ppce500 PV machine is that every address is dynamically > determined through device tree bindings. > > So don't hardcode where PCI devices are in our physical memory layout but > instead > read them dynamically from

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

2014-02-03 Thread Scott Wood
On Fri, 2014-01-31 at 12:16 +0100, Alexander Graf wrote: > The definition of our ppce500 PV machine is that every address is dynamically > determined through device tree bindings. > > So don't hardcode where CCSR is in our physical memory layout but instead > read it dynamically from the device tr

Re: [U-Boot] [PATCH v2 3/6] PPC 85xx: Add qemu-ppce500 machine

2014-02-03 Thread Scott Wood
On Fri, 2014-01-31 at 12:16 +0100, Alexander Graf wrote: > +void pci_init_board(void) > +{ > + struct fsl_pci_info pci_info; > + const void *fdt = get_fdt(); > + int pci_node; > + > + puts("\n"); > + > + pci_node = fdt_path_offset(fdt, "/pci"); > + if (pci_node < 0) { > +

Re: [U-Boot] [PATCH] relocate-rela: replace a magic number with sizeof(Elf64_Rela)

2014-02-03 Thread Scott Wood
On Tue, 2014-02-04 at 10:58 +0900, Masahiro Yamada wrote: > Signed-off-by: Masahiro Yamada > Cc: Scott Wood > Cc: David Feng > --- > tools/relocate-rela.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/tools/relocate-rela.c b/tools/relocate-rela.c > index 93b4c39..670

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

2014-02-03 Thread Scott Wood
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 an e500v2 or an e500mc core plugged in. > > This means that the IVOR setup can't be based on compile time decisions, > so instead we have to do a runtime check whic

[U-Boot] [PATCH] relocate-rela: replace a magic number with sizeof(Elf64_Rela)

2014-02-03 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada Cc: Scott Wood Cc: David Feng --- tools/relocate-rela.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/relocate-rela.c b/tools/relocate-rela.c index 93b4c39..670b9fd 100644 --- a/tools/relocate-rela.c +++ b/tools/relocate-rela.c @@ -120,

Re: [U-Boot] [PATCH v1 5/6] mmc: kona: Add Kona mmc driver

2014-02-03 Thread Jaehoon Chung
On 02/04/2014 06:03 AM, Darwin Rambo wrote: > Add support for the Kona SDHCI found on Broadcom mobile SoCs. > > Signed-off-by: Darwin Rambo > Reviewed-by: Steve Rae > Reviewed-by: Tim Kryger > --- > drivers/mmc/Makefile |1 + > drivers/mmc/kona_sdhci.c | 125 > +++

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

2014-02-03 Thread Jaehoon Chung
Acked-by: Jaehoon Chung On 01/31/2014 08: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 Warre

Re: [U-Boot] [PATCH] pci: mx6: Implement reset callback

2014-02-03 Thread Eric Nelson
On 02/03/2014 04:34 PM, Marek Vasut wrote: On Monday, February 03, 2014 at 09:54:33 PM, Eric Nelson wrote: Hi Marek, On 02/03/2014 01:16 PM, Marek Vasut wrote: On Monday, February 03, 2014 at 08:57:30 PM, Eric Nelson wrote: [...] I like having this bit included, but do you need to attribute

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

2014-02-03 Thread Jaehoon Chung
Acked-by: Jaehoon Chung On 01/31/2014 06:31 AM, 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]). > > Signed-off-by: Tom Rini > --- > common/cmd_mmc.c | 29 +

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

2014-02-03 Thread Jaehoon Chung
On 01/31/2014 06:31 AM, 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' from an strncmp

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

2014-02-03 Thread Jaehoon Chung
Acked-by: Jaehoon Chung On 01/31/2014 06:31 AM, Tom Rini wrote: > Rename 'bootpart' to 'bootpart-resize' to better reflect what this > command is for. > > Signed-off-by: Tom Rini > --- > common/cmd_mmc.c |8 > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/commo

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

2014-02-03 Thread Jaehoon Chung
Acked-by: Jaehoon Chung On 01/31/2014 06:31 AM, Tom Rini wrote: > 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 > --- a/common/cmd_

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

2014-02-03 Thread Jaehoon Chung
Looks good to me. Acked-by: Jaehoon Chung Best Regards, Jaehoon Chung On 01/31/2014 06:32 AM, 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 seri

Re: [U-Boot] [PATCH] pci: mx6: Implement reset callback

2014-02-03 Thread Marek Vasut
On Monday, February 03, 2014 at 09:54:33 PM, Eric Nelson wrote: > Hi Marek, > > On 02/03/2014 01:16 PM, Marek Vasut wrote: > > On Monday, February 03, 2014 at 08:57:30 PM, Eric Nelson wrote: > > > > [...] > > I like having this bit included, but do you need to attribute copyright > for this bloc

Re: [U-Boot] [PATCH v2 3/6] PPC 85xx: Add qemu-ppce500 machine

2014-02-03 Thread Scott Wood
On Fri, 2014-01-31 at 10:05 -0800, York Sun wrote: > On 01/31/2014 03:16 AM, Alexander Graf wrote: > > +/* > > + * DDR Setup > > + */ > > +#define CONFIG_VERY_BIG_RAM > > +#define CONFIG_SYS_DDR_SDRAM_BASE 0x > > +#define CONFIG_SYS_SDRAM_BASE CONFIG_SYS_DDR_SDRAM_BASE > > + >

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

2014-02-03 Thread Scott Wood
On Mon, 2014-02-03 at 19:58 +0100, Wolfgang Denk wrote: > Dear Aneesh Bansal, > > In message <1391419033-14283-1-git-send-email-aneesh.ban...@freescale.com> > you wrote: > > Changes: > > 1. L2 cache is being invalidated by Boot ROM code for e6500 core. > >So removing the invalidation from sta

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

2014-02-03 Thread Scott Wood
On Mon, 2014-02-03 at 14:47 +0530, Aneesh Bansal wrote: > Changes: > 1. L2 cache is being invalidated by Boot ROM code for e6500 core. >So removing the invalidation from start.S > 2. Clear the LAW and corresponding configuration for CPC. Boot ROM >code uses it as hosekeeping area. > 3. For

Re: [U-Boot] [PATCH v3 7/9] arc: add AXS101 board support

2014-02-03 Thread Wolfgang Denk
Dear Alexey, In message <1391457382.2357.46.ca...@abrodkin-8560l.internal.synopsys.com> you wrote: > > > > +#define CONFIG_SYS_MAXARGS 16 > > > > You define this pretty much inconsistentlyu across your boards. Is > > this intentionally? > > Not clear what do you mean. > All 3 boards have

Re: [U-Boot] [PATCH v3 6/9] arc: add Arcangel4 board support

2014-02-03 Thread Wolfgang Denk
Dear Alexey, In message <1391457010.2357.41.ca...@abrodkin-8560l.internal.synopsys.com> you wrote: > > On Mon, 2014-02-03 at 20:15 +0100, Wolfgang Denk wrote: > > Dear Alexey Brodkin, > > > > In message <1391445368-10545-7-git-send-email-abrod...@synopsys.com> you > > wrote: > > > Arcangel4 is

[U-Boot] [PATCH v2 5/6] mmc: kona: Add Kona mmc driver

2014-02-03 Thread Darwin Rambo
Add support for the Kona SDHCI found on Broadcom mobile SoCs. Signed-off-by: Darwin Rambo Reviewed-by: Steve Rae Reviewed-by: Tim Kryger --- drivers/mmc/Makefile |1 + drivers/mmc/kona_sdhci.c | 125 ++ 2 files changed, 126 insertions(+) cr

[U-Boot] [PATCH v2 4/6] i2c: kona: Add Kona I2C driver

2014-02-03 Thread Darwin Rambo
Add support for the Kona I2C controller found on Broadcom mobile SoCs. Signed-off-by: Darwin Rambo Reviewed-by: Steve Rae Reviewed-by: Tim Kryger --- drivers/i2c/Makefile |1 + drivers/i2c/kona_i2c.c | 730 2 files changed, 731 insertions

[U-Boot] [PATCH v2 3/6] gpio: kona: Add Kona gpio driver

2014-02-03 Thread Darwin Rambo
Add support for the Kona GPIO controller found on Broadcom mobile SoCs. Signed-off-by: Darwin Rambo Reviewed-by: Steve Rae Reviewed-by: Markus Mayer Reviewed-by: Tim Kryger --- drivers/gpio/Makefile|1 + drivers/gpio/kona_gpio.c | 141 ++ 2

[U-Boot] [PATCH v2 6/6] board: bcm28155_ap: Add board files

2014-02-03 Thread Darwin Rambo
Add support for the bcm28155_ap reference board. Signed-off-by: Darwin Rambo Reviewed-by: Steve Rae Reviewed-by: Tim Kryger --- board/broadcom/bcm28155_ap/Makefile |7 ++ board/broadcom/bcm28155_ap/bcm28155_ap.c | 87 +++ boards.cfg |

[U-Boot] [PATCH v2 0/6] Introducing the Broadcom bcm281xx Architecture

2014-02-03 Thread Darwin Rambo
This patchset introduces the Broadcom bcm281xx family of mobile SoC chips. Broadcom kona hardware blocks are often found in Broadcom mobile SoC chips including the bcm281xx family, so support for some of these kona blocks is also provided here. These patches work on u-boot master as well as the u

[U-Boot] [PATCH v2 2/6] arch: bcm281xx: Initial commit of bcm281xx architecture code

2014-02-03 Thread Darwin Rambo
Add bcm281xx architecture support code including a clock framework and chip reset. Define register block base addresses for the bcm281xx architecture and create an empty gpio header file required when CONFIG_CMD_GPIO is set. Signed-off-by: Darwin Rambo Reviewed-by: Steve Rae Reviewed-by: Tim Kr

[U-Boot] [PATCH v2 1/6] arch: kona: Initial commit of kona-common architecture code

2014-02-03 Thread Darwin Rambo
The Kona architecture is present on a number of Broadcom mobile SoCs including the bcm281xx family of chips. Signed-off-by: Darwin Rambo Reviewed-by: Steve Rae Reviewed-by: Tim Kryger --- arch/arm/cpu/armv7/Makefile|1 + arch/arm/cpu/armv7/kona-common/Makefile|

Re: [U-Boot] [PATCH v1 0/6] Introducing the Broadcom bcm281xx Architecture

2014-02-03 Thread Darwin Rambo
Sorry folks, I missed my morning caffeine and mislabeled the patch version in the subject as v1. I will be resending the series with the proper v2 versioning asap to avoid confusion. Regards, Darwin > -Original Message- > From: Darwin Rambo [mailto:dra...@broadcom.com] > Sent: Monday,

Re: [U-Boot] [PATCH][v2] driver/ifc:Change accessor function to take care of endianness

2014-02-03 Thread York Sun
On 02/03/2014 01:35 PM, Scott Wood wrote: > On Mon, 2014-02-03 at 12:28 -0800, York Sun wrote: >> On 01/17/2014 10:58 PM, Prabhakar Kushwaha wrote: >>> IFC registers can be of type Little Endian or big Endian depending upon >>> Freescale SoC. Here SoC defines the register type of IFC IP. >>> >>> So

Re: [U-Boot] [PATCH][v2] driver/ifc:Change accessor function to take care of endianness

2014-02-03 Thread Scott Wood
On Mon, 2014-02-03 at 12:28 -0800, York Sun wrote: > On 01/17/2014 10:58 PM, Prabhakar Kushwaha wrote: > > IFC registers can be of type Little Endian or big Endian depending upon > > Freescale SoC. Here SoC defines the register type of IFC IP. > > > > So update acessor functions with common IFC ac

Re: [U-Boot] [PATCH 3/4] ARM: tegra: fix NV_PA_CSITE_BASE for Tegra124

2014-02-03 Thread Stephen Warren
On 02/03/2014 02:18 PM, Tom Warren wrote: > Nice catch, fortunately I don't see this base addr used anywhere (yet) in > T124. It's used to define CSITE_CPU_DBG*_LAR, and those are used in code. (The internal Tegra simulator I'm running complains about the incorrect register accesses when booting

Re: [U-Boot] [PATCH 2/2] config: add config_distro_defaults.h

2014-02-03 Thread Stephen Warren
On 01/24/2014 07:58 AM, Dennis Gilmore wrote: > Hi Wolfgang, > > > El Fri, 24 Jan 2014 14:50:10 +0100 > Wolfgang Denk escribió: >> Dear Dennis Gilmore, >> >> In message <1390501358-4564-3-git-send-email-den...@ausil.us> you >> wrote: >>> describe a set of default features that distros can rely o

Re: [U-Boot] [PATCH] README: document CONFIG_CMD_FS_GENERIC

2014-02-03 Thread Stephen Warren
On 01/24/2014 08:46 PM, Stephen Warren wrote: > From: Stephen Warren > > This enables generic filesystem commands such as load and ls, which > automatically work with multiple filesystem types, without having to > be told which is present, unlike e.g. ext2load, fatls. Are there any comments on t

Re: [U-Boot] [PATCH 1/2] cmd_pxe.c add any option for filesystem with sysboot uses generic load

2014-02-03 Thread Stephen Warren
On 01/24/2014 06:59 AM, Tom Rini wrote: > On 01/24/2014 08:49 AM, Wolfgang Denk wrote: >> Dear Dennis Gilmore, > >> In message <1390501358-4564-2-git-send-email-den...@ausil.us> you wrote: >>> Signed-off-by: Dennis Gilmore > >> "add any option for filesystem with sysboot uses generic load" ? >

Re: [U-Boot] [PATCH 3/4] ARM: tegra: fix NV_PA_CSITE_BASE for Tegra124

2014-02-03 Thread Tom Warren
Nice catch, fortunately I don't see this base addr used anywhere (yet) in T124. > -Original Message- > From: Stephen Warren [mailto:swar...@wwwdotorg.org] > Sent: Monday, February 03, 2014 2:03 PM > To: u-boot@lists.denx.de; Simon Glass; Tom Warren; Stephen Warren > Subject: [PATCH 3/4] AR

[U-Boot] [PATCH v1 6/6] board: bcm28155_ap: Add board files

2014-02-03 Thread Darwin Rambo
Add support for the bcm28155_ap reference board. Signed-off-by: Darwin Rambo Reviewed-by: Steve Rae Reviewed-by: Tim Kryger --- board/broadcom/bcm28155_ap/Makefile |7 ++ board/broadcom/bcm28155_ap/bcm28155_ap.c | 87 +++ boards.cfg |

[U-Boot] [PATCH v1 5/6] mmc: kona: Add Kona mmc driver

2014-02-03 Thread Darwin Rambo
Add support for the Kona SDHCI found on Broadcom mobile SoCs. Signed-off-by: Darwin Rambo Reviewed-by: Steve Rae Reviewed-by: Tim Kryger --- drivers/mmc/Makefile |1 + drivers/mmc/kona_sdhci.c | 125 ++ 2 files changed, 126 insertions(+) cr

[U-Boot] [PATCH v1 4/6] i2c: kona: Add Kona I2C driver

2014-02-03 Thread Darwin Rambo
Add support for the Kona I2C controller found on Broadcom mobile SoCs. Signed-off-by: Darwin Rambo Reviewed-by: Steve Rae Reviewed-by: Tim Kryger --- drivers/i2c/Makefile |1 + drivers/i2c/kona_i2c.c | 730 2 files changed, 731 insertions

[U-Boot] [PATCH v1 2/6] arch: bcm281xx: Initial commit of bcm281xx architecture code

2014-02-03 Thread Darwin Rambo
Add bcm281xx architecture support code including a clock framework and chip reset. Define register block base addresses for the bcm281xx architecture and create an empty gpio header file required when CONFIG_CMD_GPIO is set. Signed-off-by: Darwin Rambo Reviewed-by: Steve Rae Reviewed-by: Tim Kr

[U-Boot] [PATCH v1 3/6] gpio: kona: Add Kona gpio driver

2014-02-03 Thread Darwin Rambo
Add support for the Kona GPIO controller found on Broadcom mobile SoCs. Signed-off-by: Darwin Rambo Reviewed-by: Steve Rae Reviewed-by: Markus Mayer Reviewed-by: Tim Kryger --- drivers/gpio/Makefile|1 + drivers/gpio/kona_gpio.c | 141 ++ 2

[U-Boot] [PATCH 2/4] ARM: tegra: fix pmc_pwrgate_timer_mult register definition

2014-02-03 Thread Stephen Warren
From: Stephen Warren Register pmc_pwrgate_timer_mult has a different layout on Tegra114 and Tegra124. Reflect this in pmc.h. Also, simply write the whole of the register in start_cpu() rather than doing a read-modify-write; the register is simple enough that the code can easily construct the ent

[U-Boot] [PATCH 1/4] ARM: tegra: move CONFIG_TEGRAnn

2014-02-03 Thread Stephen Warren
From: Stephen Warren needs to use CONFIG_TEGRA* to conditionalize some definitions, since some modules moved between generations. Move the definition of CONFIG_TEGRAnn to a header that's included earlier, so that it's set by the time tegra.h needs to use it. Signed-off-by: Stephen Warren ---

[U-Boot] [PATCH 4/4] ARM: tegra: simplify halt_avp()

2014-02-03 Thread Stephen Warren
From: Stephen Warren In order to completely halt the AVP processor, we should simply write FLOW_MODE_STOP without any extra options that allow wakeup. Amend the code to do this. I believe that enabling FIQ_1 and IRQ_1 allow the CPU to be awoken by interrupts. We don't want this; if later SW wish

[U-Boot] [PATCH v1 1/6] arch: kona: Initial commit of kona-common architecture code

2014-02-03 Thread Darwin Rambo
The Kona architecture is present on a number of Broadcom mobile SoCs including the bcm281xx family of chips. Signed-off-by: Darwin Rambo Reviewed-by: Steve Rae Reviewed-by: Tim Kryger --- arch/arm/cpu/armv7/Makefile|1 + arch/arm/cpu/armv7/kona-common/Makefile|

[U-Boot] [PATCH 3/4] ARM: tegra: fix NV_PA_CSITE_BASE for Tegra124

2014-02-03 Thread Stephen Warren
From: Stephen Warren Tegra124 moved the CSITE block's base address. Fix U-Boot to use the correct address. Signed-off-by: Stephen Warren --- arch/arm/include/asm/arch-tegra/tegra.h | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/include/asm/arch-tegra/tegra.h b/arch/arm/incl

[U-Boot] [PATCH v1 0/6] Introducing the Broadcom bcm281xx Architecture

2014-02-03 Thread Darwin Rambo
This patchset introduces the Broadcom bcm281xx family of mobile SoC chips. Broadcom kona hardware blocks are often found in Broadcom mobile SoC chips including the bcm281xx family, so support for some of these kona blocks is also provided here. These patches work on u-boot master as well as the u

Re: [U-Boot] [PATCH] pci: mx6: Implement reset callback

2014-02-03 Thread Eric Nelson
Hi Marek, On 02/03/2014 01:16 PM, Marek Vasut wrote: On Monday, February 03, 2014 at 08:57:30 PM, Eric Nelson wrote: [...] I like having this bit included, but do you need to attribute copyright for this block? " 6.6.1. Conventional Reset Conventional Reset includes all reset mechanisms o

[U-Boot] [PATCH V2] pci: mx6: Implement reset callback

2014-02-03 Thread Marek Vasut
Add a callback so that a board can implement it's own specific routine to toggle the port's #PERST line or #define a GPIO to do so. Signed-off-by: Marek Vasut --- drivers/pci/pcie_imx.c | 47 --- 1 file changed, 44 insertions(+), 3 deletions(-) V2: -

Re: [U-Boot] powerpc/usb: Enable dual phy for T1040

2014-02-03 Thread York
On 01/27/2014 01:51 AM, Nikhil Badola wrote: > Define CONFIG_SYS_FSL_USB_DUAL_PHY_ENABLE macro for enabling dual > phy in t1040 > > Signed-off-by: Nikhil Badola > Applied to u-boot-mpc85xx master branch. York ___ U-Boot mailing list U-Boot@lists.d

Re: [U-Boot] [PATCH V3 04/12] cmd_test: use table lookup for parsing

2014-02-03 Thread Simon Glass
Hi Stephen, On 3 February 2014 13:19, Stephen Warren wrote: > > On 01/31/2014 05:03 PM, Simon Glass wrote: > > Hi Stephen, > > > > On 27 January 2014 13:49, Stephen Warren wrote: > >> From: Stephen Warren > >> > >> do_test() currently uses strcmp() twice to determine which operator is > >> pres

[U-Boot] [PATCH V4 04/12] cmd_test: use table lookup for parsing

2014-02-03 Thread Stephen Warren
From: Stephen Warren do_test() currently uses strcmp() twice to determine which operator is present; once to determine how many arguments the operator needs, then a second time to actually decode the operator and implement it. Rewrite the code so that a table lookup is used to translate the oper

Re: [U-Boot] [PATCH][v2] driver/ifc:Change accessor function to take care of endianness

2014-02-03 Thread York Sun
On 01/17/2014 10:58 PM, Prabhakar Kushwaha wrote: > IFC registers can be of type Little Endian or big Endian depending upon > Freescale SoC. Here SoC defines the register type of IFC IP. > > So update acessor functions with common IFC acessor functions to take care > both type of endianness. > >

Re: [U-Boot] [PATCH v4 3/9] kmp204x: I2C deblocking support

2014-02-03 Thread York Sun
On 02/02/2014 11:45 PM, Valentin Longchamp wrote: > From: Rainer Boschung > > This patch adds support for using some GPIOs that are connected to the > I2C bus to force the bus lines state and perform some bus deblocking > sequences. > > The KM common deblocking algorithm from board/keymile/commo

Re: [U-Boot] [PATCH v2 8/9] kmp204x: enable support for SPANSION SPI NOR

2014-02-03 Thread York Sun
On 01/27/2014 02:49 AM, Valentin Longchamp wrote: > The new prototype and the final series was moved from Micron to Spansion > to have a better reset sequence that is easier to support. > > Signed-off-by: Valentin Longchamp > --- > > Changes in v2: None > Applied to u-boot-mpc85xx master branc

Re: [U-Boot] [PATCH v2 9/9] kmp204x: initial support for PCIe FPGA configuration

2014-02-03 Thread York Sun
On 01/27/2014 02:49 AM, Valentin Longchamp wrote: > The PEXHC PCIe configuration mechanism ensures that the FPGA get > configured at power-up. Since all the PCIe devices should be configured > when the kernel start, u-boot has to take care that the FPGA gets > configured also in other reset scenari

[U-Boot] [PATCH 1/2] unit-test: fix 'env default' invocation

2014-02-03 Thread Stephen Warren
From: Stephen Warren "env default -f" doesn't work any more; replace it with "env default -f -a". This avoids the following when running the ut command: do_ut_cmd: Testing commands env - environment handling commands Usage: env default [-f] -a - [forcibly] reset default environment ... Signed-

Re: [U-Boot] [PATCH v2 7/9] KM: add the KM_UBI_PART_BOOT_OPTS #define

2014-02-03 Thread York Sun
On 01/27/2014 02:49 AM, Valentin Longchamp wrote: > This define can be used if the ubi boot partition (defined for all > Keymile boards with KM_UBI_PARTITION_NAME_BOOT #define to ubi0) needs > some additionnal boot options. > > This is the case for the kmp204x boards since u-boot does not support

Re: [U-Boot] [PATCH v2 5/9] kmp204x: add support for the kmcoge4 board

2014-02-03 Thread York Sun
On 01/27/2014 02:49 AM, Valentin Longchamp wrote: > The kmcoge4 board is the product board derived from the kmlion1 > prototype. The main difference between the 2 boards is that the kmcoge4 > does not configure the Local Bus controller for LCS2. > > Signed-off-by: Valentin Longchamp > --- > > Ch

[U-Boot] [PATCH 2/2] unit-test: add lots of tests for the Hush 'test' command

2014-02-03 Thread Stephen Warren
From: Stephen Warren I recently re-wrote cmd_test() to add new features. Add a bunch of unit- tests to make sure I didn't break anything. Suggested-by: Simon Glass Signed-off-by: Stephen Warren --- This patch depends on my 12-entry patch series that implements "test -e", since it tests that ne

[U-Boot] [PATCH v4] OMAP24xx I2C: Add support for set-speed

2014-02-03 Thread Hannes Petermaier
Adds support for set-speed on the OMAP24xx I2C Adapter. Changes to omap24_i2c_write(...) for polling ARDY Bit from IRQ-Status. Otherwise on a subsequent call the transfer of last byte from the predecessor is aborted and therefore lost. For exmaple when i2c_write(...) is followed by a i2c_setspeed(

Re: [U-Boot] [PATCH v2 6/9] kmp204x: update I2C field of RCW

2014-02-03 Thread York Sun
On 01/27/2014 02:49 AM, Valentin Longchamp wrote: > On the previous HW revision (now unsupported), there was a need for > external DMA signals and thus the I2C3/4 signals were used > DMA1_DONE/ACK/REQ. > > These signals now are configured as GPIO[16:19]. > > Signed-off-by: Valentin Longchamp > -

Re: [U-Boot] [PATCH v2 2/9] kmp204x: introduce QRIO GPIO functions

2014-02-03 Thread York Sun
On 01/27/2014 02:49 AM, Valentin Longchamp wrote: > The QRIO GPIO functions can be of general interest. They are thus added > to a qrio.c and their prototype are available from kmp204x.h. The QRIO > prst function are also included in this file, as well as the functions > required for the I2C debloc

[U-Boot] [PATCH V4 12/12] fat: implement exists() for FAT fs

2014-02-03 Thread Stephen Warren
From: Stephen Warren This hooks into the generic "file exists" support added in an earlier patch, and provides an implementation for the FAT filesystem. Signed-off-by: Stephen Warren Acked-by: Simon Glass --- v4: No change. v3: * s/ext/fat/ in the commit description too:-( * Invert return valu

[U-Boot] [PATCH V4 11/12] ext4: implement exists() for ext4fs

2014-02-03 Thread Stephen Warren
From: Stephen Warren This hooks into the generic "file exists" support added in an earlier patch, and provides an implementation for the ext4 filesystem. Signed-off-by: Stephen Warren Acked-by: Simon Glass --- v4: No change. v3: Invert return value of exists(), per change to previous patch. v2

Re: [U-Boot] [PATCH v2 4/9] kmp204x: implement workaround for A-006559

2014-02-03 Thread York Sun
On 01/27/2014 02:49 AM, Valentin Longchamp wrote: > According to the errata, some bits of an undocumented register in the > DCSR must be set for every core in order to avoid a possible data or > instruction corruption. > > This is required for the 2.0 revision of the P2041 that should be used > as

[U-Boot] [PATCH V4 09/12] sandbox: implement exists() function

2014-02-03 Thread Stephen Warren
From: Stephen Warren This hooks into the generic "file exists" support added in an earlier patch, and provides an implementation for the sandbox test environment. Signed-off-by: Stephen Warren Acked-by: Simon Glass --- v4: No change. v3: * Remove "sb exists" command; it's part of "test" now. *

Re: [U-Boot] [PATCH v2 1/9] kmp204x: support for QRIO1 bootcounter

2014-02-03 Thread York Sun
On 01/27/2014 02:49 AM, Valentin Longchamp wrote: > From: Rainer Boschung > > - make use of the QRIO1 32bit register at 0x20 as bootcounter register > - check for BOOTCOUNT_MAGIC pattern when before bootcounter value is read > > Signed-off-by: Rainer Boschung > Signed-off-by: Valentin Longchamp

[U-Boot] [PATCH V4 06/12] cmd_test: implement ! on sub-expressions

2014-02-03 Thread Stephen Warren
From: Stephen Warren Currently, ! can only be parsed as the first operator in an expression. This prevents the following from working: $ if test ! ! 1 -eq 1; then echo yes; else echo no; fi yes $ if test ! 1 -eq 2 -a ! 3 -eq 4; then echo yes; else echo no; fi yes Fix this by parsing ! like any

[U-Boot] [PATCH V4 02/12] fs: implement infrastructure for an 'exists' function

2014-02-03 Thread Stephen Warren
From: Stephen Warren This could be used in scripts such as: if test -e mmc 0:1 /boot/boot.scr; then load mmc 0:1 ${scriptaddr} /boot/boot.scr source ${scriptaddr} fi rather than: if load mmc 0:1 ${scriptaddr} /boot/boot.scr; then source ${scriptaddr} fi This prevents errors being

[U-Boot] [PATCH V4 08/12] cmd_test: implement -e test for file existence

2014-02-03 Thread Stephen Warren
From: Stephen Warren This is much like a regular shell's -e operator, except that it takes multiple arguments to specify the device type and device/partition ID in addition to the usual filename: if test -e mmc 0:1 /boot/boot.scr; then echo yes; else echo no; fi Signed-off-by: Stephen Warren

[U-Boot] [PATCH V4 10/12] sandbox: enable CONFIG_CMD_FS_GENERIC

2014-02-03 Thread Stephen Warren
From: Stephen Warren Since the generic ls command no longer segfaults sandbox, enable it. Signed-off-by: Stephen Warren Acked-by: Simon Glass --- v4: No change. v3: New patch. --- include/configs/sandbox.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/sandbox.h b/include

[U-Boot] [PATCH V4 07/12] cmd_test: evaluate to false without any arguments

2014-02-03 Thread Stephen Warren
From: Stephen Warren This emulates bash: $ if test; then echo yes; else echo no; fi no Currently, the code sets expr = -1 in this case, which gets mapped to 0 (true) at the end of do_test() by the logical -> shell exit code conversion. Signed-off-by: Stephen Warren --- v4: No change. v3: New p

[U-Boot] [PATCH V4 03/12] fs: don't pass NULL dev_desc to most filesystems

2014-02-03 Thread Stephen Warren
From: Stephen Warren FAT and ext4 expect that the passed in block device descriptor not be NULL. This causes problems on sandbox, where get_device_and_partition() succeeds for the "host" device, yet passes back a NULL device descriptor. Add special handling for this situation, so that the generic

[U-Boot] [PATCH V4 05/12] cmd_test: check for binary operators before unary

2014-02-03 Thread Stephen Warren
From: Stephen Warren This better mirrors the behaviour of bash, for example: $ if test -z = -z; then echo yes; else echo no; fi yes This is parsed as a string comparison of "-z" and "-z", since the check for the binary "=" operator occurs first. Without this change, the command would be parsed

[U-Boot] [PATCH V4 01/12] fs: fix generic save command implementation

2014-02-03 Thread Stephen Warren
From: Stephen Warren Fix a few issues with the generic "save" shell command, and fs_write() function. 1) fstypes[].write wasn't filled in for some file-systems, and isn't checked when used, which could cause crashes/... if executing save on e.g. fat/ext filesystems. 2) fs_write() requires

Re: [U-Boot] [PATCH V3 04/12] cmd_test: use table lookup for parsing

2014-02-03 Thread Stephen Warren
On 01/31/2014 05:03 PM, Simon Glass wrote: > Hi Stephen, > > On 27 January 2014 13:49, Stephen Warren wrote: >> From: Stephen Warren >> >> do_test() currently uses strcmp() twice to determine which operator is >> present; once to determine how many arguments the operator needs, then >> a second

Re: [U-Boot] powerpc/usb: Enable dual phy for T1040

2014-02-03 Thread York Sun
On 01/27/2014 01:51 AM, Nikhil Badola wrote: > Define CONFIG_SYS_FSL_USB_DUAL_PHY_ENABLE macro for enabling dual > phy in t1040 > > Signed-off-by: Nikhil Badola > Applied to u-boot-mpc85xx master branch. York ___ U-Boot mailing list U-Boot@lists.d

Re: [U-Boot] [PATCH][v2] powerpc/t104xrdb: Add basic ethernet support

2014-02-03 Thread York Sun
On 01/29/2014 10:00 PM, Priyanka Jain wrote: > This covers only non-L2 switch ethernet interfaces i.e. > RGMII and SGMII interface for both > -T1040RDB > -T1042RDB_PI > > T1040RDB is configured as serdes protocol 0x66 which can > support following interfaces > -2 RGMIIS on DTSEC4, DTSEC5 > -1 SGM

Re: [U-Boot] [PATCH] pci: mx6: Implement reset callback

2014-02-03 Thread Marek Vasut
On Monday, February 03, 2014 at 08:57:30 PM, Eric Nelson wrote: [...] > > " > > 6.6.1. Conventional Reset > > > > Conventional Reset includes all reset mechanisms other than Function > > Level Reset. There are two categories of Conventional Resets: > > Fundamental Reset and resets that are not F

Re: [U-Boot] [PATCH] powerpc/mpc85xx:Fix README to show correct flash memory map

2014-02-03 Thread York Sun
On 01/24/2014 10:41 PM, Prabhakar Kushwaha wrote: > Due to increased size of u-boot, FMAN ucode start address has been shifted > by 256KB causing a overlap with rootfs start address. > > Update rootfs start address to reflect correct memory map. > > Also fix minor typo in README > > Signed-off-b

Re: [U-Boot] [PATCH][v0] powerpc/mpc85xx: Update LIODNs for T1040

2014-02-03 Thread York Sun
On 01/23/2014 12:54 PM, Poonam Aggrwal wrote: > Removed LIODNs for RMAN, RIO, 10G. T1040 has 10 QMAN portals so assigned > LIODNs accordingly. > > Signed-off-by: Poonam Aggrwal > --- Applied to u-boot-mpc85xx master branch. York ___ U-Boot mailing l

Re: [U-Boot] [U-Boot, v2] powerpc/t104xrdb: Update T1042RDB.h in config folder

2014-02-03 Thread York Sun
On 01/27/2014 01:11 AM, Prabhakar Kushwaha wrote: > -Add usb2 node entry in "hwconfig string" > > -Remove controller interleaving from hwconfig string as T1040 > has only one DDR conroller > > -SPI related macros which were earlier under #ifdef CONFIG_SPIFLASH > are move outside so that they ar

Re: [U-Boot] [U-Boot, v2] powerpc/t104xrdb: Update T1040RDB.h in config folder

2014-02-03 Thread York Sun
On 01/27/2014 12:37 AM, Priyanka Jain wrote: > -Add usb2 node entry in "hwconfig string" > > -Remove controller interleaving from hwconfig string as T1040 > has only one DDR conroller > > -SPI related macros which were earlier under #ifdef CONFIG_SPIFLASH > are move outside so that they are def

Re: [U-Boot] [PATCH] driver/fsl_pci:Update print to display PCIe generation

2014-02-03 Thread York Sun
On 01/24/2014 11:23 PM, Prabhakar Kushwaha wrote: > Current print only display width of PCIe device. Add print to display > PCIe generation supported by the device. > > Signed-off-by: Prabhakar Kushwaha > --- Applied to u-boot-mpc85xx master branch. York _

Re: [U-Boot] [U-Boot, 2/2, v2] boards/t1040qds: Adds ethernet support for T1040

2014-02-03 Thread York Sun
On 01/27/2014 02:25 AM, Prabhakar Kushwaha wrote: > Enable entherent for T1040QDS. It enables FM1@DTSEC3, FM1@DTSEC4, FM1@DTSEC5 > - Define MDIO related configs > - Added eth.c file > - Update t1040.c to support RGMII and SGMII > - Update t1040qds.c to support ethernet > - Define the PHY addre

Re: [U-Boot] [PATCH] pci: mx6: Implement reset callback

2014-02-03 Thread Stefano Babic
Hi Marek, On 03/02/2014 19:17, Marek Vasut wrote: Well ... SL and N6X both. For all I care, we can have #define MX6_PCIE_RESET_GPIO and if that's not defined, puke out this warning. And ultimatelly let this function be overriden anyway in case people used some GPIO expander or whatnot. So the c

Re: [U-Boot] [PATCH] powerpc/mpc85xx: Update serdes protocols for T1040

2014-02-03 Thread York Sun
On 01/24/2014 04:21 AM, Prabhakar Kushwaha wrote: > T1040 has only one SerDes block. so update the code accordingly. > > Also, add support of SerDes Protocol 0x00, 0x06, 0x40, 0x69 0x85, > 0xA7 and 0xAA > > Signed-off-by: Arpit Goel > Signed-off-by: Poonam Aggrwal > Signed-off-by: Priyanka Jain

  1   2   >