[U-Boot] U-Boot Mainline v2013.01

2013-01-22 Thread Sarvesh Gupta
Dear All, I am using mainline v2013.01 of u-boot for imx53loco. USB host is working, Can anyone suggest the procedure to boot kernel from USB(i.e. usbboot)? How can I make my usb stick bootable? Sarvesh Gupta DISCLAIMER: This email may contain confidential in

Re: [U-Boot] [PATCH 1/2] drivers/net/designware, do an explicit memory access instead of implicit, re-written assignments to use readl() and writel(), all of this as preperation for making the driver

2013-01-22 Thread Albert ARIBAUD
Hi Vipin, > My first feeling is that the descriptors are allocated as Normal > Cachabale memory and it would not help to access them using readl/writel > > Should the desciptors be allocated as non-cachable memory. If yes then > how to do that in u-boot > > I suppose the rest of the code would

Re: [U-Boot] [PATCH v3] sandbox: fix compiler warning

2013-01-22 Thread Albert ARIBAUD
Hi Allen, On Tue, 22 Jan 2013 15:11:21 -0800, Allen Martin wrote: > Add back return statement to fix compiler warning about control flow > reaching end of non void function that was introduced with: > > e05e5de arm: move C runtime setup code in crt0.S > > Signed-off-by: Allen Martin > A

[U-Boot] [PATCH 1/1] console: USB: KBD: Fix incorrect autoboot timeout

2013-01-22 Thread Jim Lin
Autoboot timeout defined by CONFIG_BOOTDELAY will not be accurate if CONFIG_USB_KEYBOARD and CONFIG_SYS_USB_EVENT_POLL are defined in configuration file and when tstc() function for checking key pressed takes longer time than 10 ms (e.g., 50 ms) to finish. Signed-off-by: Jim Lin --- common/main.

Re: [U-Boot] [PATCH 2/2] SMDK5250: Enable SPI Gigabyte device.

2013-01-22 Thread Rajeshwari Birje
Hi All, Kindly ignore this patch as I have forgot to put the version V2. I have corrected the same and resent. Sorry for inconvenience. On Wed, Jan 23, 2013 at 12:00 PM, Rajeshwari Shinde wrote: > This patch enables gigabyte device for SMDK5250. > > Acked-by: Simon Glass > Signed-off-by: Rajes

[U-Boot] [PATCH 2/2 V2] SMDK5250: Enable SPI Gigabyte device.

2013-01-22 Thread Rajeshwari Shinde
This patch enables gigabyte device for SMDK5250. Acked-by: Simon Glass Signed-off-by: Rajeshwari Shinde --- Changes in V2: - None include/configs/exynos5250-dt.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/configs/exynos5250-dt.h b/include/configs/ex

[U-Boot] [PATCH 2/2] SMDK5250: Enable SPI Gigabyte device.

2013-01-22 Thread Rajeshwari Shinde
This patch enables gigabyte device for SMDK5250. Acked-by: Simon Glass Signed-off-by: Rajeshwari Shinde --- Changes in V2: - None include/configs/exynos5250-dt.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/configs/exynos5250-dt.h b/include/configs/ex

[U-Boot] [PATCH 1/2 V2] SF: Add driver for Gigabyte device GD25LQ and GD25Q64B

2013-01-22 Thread Rajeshwari Shinde
This patch adds driver for the gigabyte devices GD25LQ and GD25Q64B required for Snow Board. Signed-off-by: Rajeshwari Shinde --- Changes in V2: - Added U-Boot copyright header to gigadevice.c - Removed unnecessary blank lines. drivers/mtd/spi/Makefile |1 + drive

[U-Boot] [PATCH 0/2 V2] EXYNOS5: Enable Gigabyte device GD25LQ and GD25Q64B

2013-01-22 Thread Rajeshwari Shinde
This patch set adds driver for Gigabyte device GD25LQ and GD25Q64B required for Snow board and enables same in config file. Based on following patches submitted by Simon Glass: "sf: Add spi_flash_alloc() to create a new SPI flash struct" "sf: Use spi_flash_alloc() in each SPI flash driver" Change

Re: [U-Boot] [PATCH 1/2] drivers/net/designware, do an explicit memory access instead of implicit, re-written assignments to use readl() and writel(), all of this as preperation for making the driver

2013-01-22 Thread Vipin Kumar
Provide a short patch title and a longer description in the patch itself. that would be much more readable On 1/22/2013 7:40 PM, Frank Dols wrote: Signed-off-by: Frank Dols --- drivers/net/designware.c | 108 +++--- drivers/net/designware.h |4 +-

Re: [U-Boot] [PATCH 0/2] make u-boot/drivers/net/designware cache supportive

2013-01-22 Thread Vipin Kumar
On 1/22/2013 7:40 PM, Frank Dols wrote: Hello Vipin, As discussed, see included the patches to make your u-boot/drivers/net/designware Ethernet device driver cache support aware. You dont need to write u-boot/drivers in the patch subject. It is anyway implicit :) Vipin First patch is about

Re: [U-Boot] [PATCH 6/6] mxs: mmc: mx23_olinuxino: Add MMC support

2013-01-22 Thread Fabio Estevam
On Wed, Jan 23, 2013 at 1:33 AM, Marek Vasut wrote: > Fabio, do you feel like rolling out the env patch? Sure, I can send it after it reaches Stefano's tree. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 6/6] mxs: mmc: mx23_olinuxino: Add MMC support

2013-01-22 Thread Marek Vasut
Dear Fabio Estevam, > Hi Marek, > > On Tue, Jan 22, 2013 at 11:01 PM, Marek Vasut wrote: > > Add support for the MMC attached to SSP1. > > > > Signed-off-by: Marek Vasut > > Cc: Otavio Salvador > > Cc: Fabio Estevam > > Cc: Stefano Babic > > --- > > > > board/olimex/mx23_olinuxino/mx23_ol

Re: [U-Boot] [PATCH] tegra: pinmux: fix FUNCMUX_NDFLASH_KBC_8_BIT

2013-01-22 Thread Allen Martin
On Tue, Jan 22, 2013 at 02:27:30PM -0800, Lucas Stach wrote: > Am Dienstag, den 22.01.2013, 09:24 -0700 schrieb Stephen Warren: > > On 01/21/2013 05:20 PM, Lucas Stach wrote: > > > Even the 8bit case needs KBCB configured, as pin D7 is located in this > > > pingroup. Also pingroup ATC seems to come

Re: [U-Boot] [PATCH 6/6] mxs: mmc: mx23_olinuxino: Add MMC support

2013-01-22 Thread Fabio Estevam
Hi Marek, On Tue, Jan 22, 2013 at 11:01 PM, Marek Vasut wrote: > Add support for the MMC attached to SSP1. > > Signed-off-by: Marek Vasut > Cc: Otavio Salvador > Cc: Fabio Estevam > Cc: Stefano Babic > --- > board/olimex/mx23_olinuxino/mx23_olinuxino.c | 22 +- > board/

[U-Boot] [PATCH 5/6] mxs: mmc: Fix the MMC driver for MX23

2013-01-22 Thread Marek Vasut
The MX23 has different layout of DMA channels. Fix the MMC driver to support MX23. Signed-off-by: Marek Vasut Cc: Otavio Salvador Cc: Fabio Estevam Cc: Stefano Babic --- drivers/mmc/mxsmmc.c | 27 ++- 1 file changed, 22 insertions(+), 5 deletions(-) diff --git a/dri

[U-Boot] [PATCH 4/6] mxs: mmc: Allow overriding default card detect implementation

2013-01-22 Thread Marek Vasut
Some MXS based boards do not implement the card-detect signal. Allow user to specify alternate card-detect implementation. Signed-off-by: Marek Vasut Cc: Otavio Salvador Cc: Fabio Estevam Cc: Stefano Babic --- arch/arm/include/asm/arch-mxs/sys_proto.h |2 +- board/bluegiga/apx4devkit/apx4

[U-Boot] [PATCH 2/6] mxs: ssp: Add SSP registers map for MX23

2013-01-22 Thread Marek Vasut
The MX23 SSP register layout differs from MX28 in certain bits, adjust the register layout accordingly. Signed-off-by: Marek Vasut Signed-off-by: Otavio Salvador Cc: Fabio Estevam Cc: Stefano Babic --- arch/arm/include/asm/arch-mxs/regs-ssp.h | 36 ++ 1 file chan

[U-Boot] [PATCH 3/6] mxs: mmc: Fix MMC reset on iMX23

2013-01-22 Thread Marek Vasut
From: Otavio Salvador This does the same reset mask as done in v3.7 Linux kernel code. The block is properly configured for MMC operation that way. Signed-off-by: Otavio Salvador Cc: Marek Vasut Cc: Fabio Estevam Cc: Stefano Babic --- drivers/mmc/mxsmmc.c | 16 +++- 1 file cha

[U-Boot] [PATCH 1/6] mxs: dma: Fix APBH DMA driver for MX23

2013-01-22 Thread Marek Vasut
The MX23 has less channels for the APBH DMA, sligtly different register layout and some bits in those registers are placed differently. Reflect this in the driver. This patch fixes MMC/DMA issue on MX23. Signed-off-by: Marek Vasut Cc: Otavio Salvador Cc: Fabio Estevam Cc: Stefano Babic --- ar

[U-Boot] [PATCH 6/6] mxs: mmc: mx23_olinuxino: Add MMC support

2013-01-22 Thread Marek Vasut
Add support for the MMC attached to SSP1. Signed-off-by: Marek Vasut Cc: Otavio Salvador Cc: Fabio Estevam Cc: Stefano Babic --- board/olimex/mx23_olinuxino/mx23_olinuxino.c | 22 +- board/olimex/mx23_olinuxino/spl_boot.c |9 + include/configs/mx23_olin

Re: [U-Boot] [PATCH] tegra: implement pinmux_avoid_func()

2013-01-22 Thread Simon Glass
Hi Stephen, On Tue, Jan 22, 2013 at 4:21 PM, Stephen Warren wrote: > On 01/22/2013 05:03 PM, Simon Glass wrote: >> Hi Stephen, >> >> On Tue, Jan 22, 2013 at 2:14 PM, Stephen Warren >> wrote: >>> On 01/22/2013 02:42 PM, Simon Glass wrote: Hi Stephen, On Tue, Jan 22, 2013 at 1:26 P

Re: [U-Boot] [PATCH V5 03/10] DWMMC: Initialise dwmci and resolve EMMC read write issues

2013-01-22 Thread Simon Glass
On Mon, Jan 21, 2013 at 3:43 AM, Amar wrote: > This patch enumerates dwmci and set auto stop command during > dwmci initialisation. > EMMC read/write is not happening in current implementation > due to improper fifo size computation. Hence Modified the fifo size > computation to resolve EMMC read

Re: [U-Boot] [PATCH] tegra: implement pinmux_avoid_func()

2013-01-22 Thread Stephen Warren
On 01/22/2013 05:03 PM, Simon Glass wrote: > Hi Stephen, > > On Tue, Jan 22, 2013 at 2:14 PM, Stephen Warren wrote: >> On 01/22/2013 02:42 PM, Simon Glass wrote: >>> Hi Stephen, >>> >>> On Tue, Jan 22, 2013 at 1:26 PM, Stephen Warren >>> wrote: On 01/22/2013 02:13 PM, Simon Glass wrote: >>

[U-Boot] [PATCH] MAKEALL: fix kill_children for BSD hosts

2013-01-22 Thread Andreas Bießmann
ps on BSD hosts (like OS X) do not provide the --no-headers switch nor understand the AIX format descriptions. Make the call for ps portable and filter the relevant line from output (including the header) with sed. Also switch from pgrep to ps to get the list of children and use the same mechanism

Re: [U-Boot] [PATCH V5 02/10] EXYNOS5: FDT: Add DWMMC device node data

2013-01-22 Thread Simon Glass
Hi Amar, On Mon, Jan 21, 2013 at 3:43 AM, Amar wrote: > This patch adds DWMMC device node data for exynos5. > This patch also adds binding file for DWMMC device node. > > Signed-off-by: Vivek Gautam > Signed-off-by: Amar Acked-by: Simon Glass Can I suggest in a later patch you add a removabl

Re: [U-Boot] [PATCH] tegra: implement pinmux_avoid_func()

2013-01-22 Thread Simon Glass
Hi Stephen, On Tue, Jan 22, 2013 at 2:14 PM, Stephen Warren wrote: > On 01/22/2013 02:42 PM, Simon Glass wrote: >> Hi Stephen, >> >> On Tue, Jan 22, 2013 at 1:26 PM, Stephen Warren >> wrote: >>> On 01/22/2013 02:13 PM, Simon Glass wrote: Hi Stephen, On Tue, Jan 22, 2013 at 8:21 A

Re: [U-Boot] [PATCH V3 0/9] separate miiphy from ethernet

2013-01-22 Thread Troy Kisky
On 11/10/2012 12:28 AM, Stefano Babic wrote: On 23/10/2012 04:40, Troy Kisky wrote: This series tries to separate the mii regsisters from the ethernet registers as suggested by Andy Fleming. Then, mx6qsabrelite is changed to find the phy address from the possibles 4-7. The V3 series is very dif

[U-Boot] [PATCH v3] sandbox: fix compiler warning

2013-01-22 Thread Allen Martin
Add back return statement to fix compiler warning about control flow reaching end of non void function that was introduced with: e05e5de arm: move C runtime setup code in crt0.S Signed-off-by: Allen Martin Acked-by: Simon Glass --- arch/sandbox/cpu/start.c |3 +++ 1 file changed, 3

Re: [U-Boot] [PATCH] sandbox: fix compiler warning

2013-01-22 Thread Allen Martin
On Tue, Jan 22, 2013 at 02:58:58PM -0800, Simon Glass wrote: > Hi Allen, > > On Tue, Jan 22, 2013 at 2:48 PM, Allen Martin wrote: > > On Tue, Jan 22, 2013 at 01:56:23PM -0800, Simon Glass wrote: > >> On Tue, Jan 22, 2013 at 1:42 PM, Allen Martin wrote: > >> > Fix compiler warning about control f

[U-Boot] [PATCH 1/1] am335x_evm: Add am335x_evm_usbspl boot target

2013-01-22 Thread Tom Rini
With USB SPL support, we need to trim out some features in order to fit within our memory constraints. To allow for the most re-use of the resulting binary, we drop out CPSW ethernet and UART support, along with the extra environment settings as those are unused by SPL. Signed-off-by: Tom Rini -

Re: [U-Boot] [PATCH] sandbox: fix compiler warning

2013-01-22 Thread Simon Glass
Hi Allen, On Tue, Jan 22, 2013 at 2:48 PM, Allen Martin wrote: > On Tue, Jan 22, 2013 at 01:56:23PM -0800, Simon Glass wrote: >> On Tue, Jan 22, 2013 at 1:42 PM, Allen Martin wrote: >> > Fix compiler warning about control flow reaching end of non void >> > function. >> > >> > Signed-off-by: Alle

[U-Boot] [PATCH v2] sandbox: fix compiler warning

2013-01-22 Thread Allen Martin
Add back return statement to fix compiler warning about control flow reaching end of non void function that was introduced with: fec79ac sandbox: drop unused return Signed-off-by: Allen Martin Acked-by: Simon Glass --- arch/sandbox/cpu/start.c |3 +++ 1 file changed, 3 insertions(

Re: [U-Boot] [PATCH] sandbox: fix compiler warning

2013-01-22 Thread Allen Martin
On Tue, Jan 22, 2013 at 01:56:23PM -0800, Simon Glass wrote: > On Tue, Jan 22, 2013 at 1:42 PM, Allen Martin wrote: > > Fix compiler warning about control flow reaching end of non void > > function. > > > > Signed-off-by: Allen Martin > > Should perhaps mention the commit that adding this warnin

[U-Boot] [PATCH v4 1/2] m68k: add support for mcf5307 cpu

2013-01-22 Thread Angelo Dureghello
Add support for freescale coldfire mcf5307 cpu. Signed-off-by: Angelo Dureghello Cc: Jason Jin --- Changes for v2: - Add MAINTAINERS entry - Add boards.cfg entry Changes for v3: - Fix code format issues Changes for v4: - Removed MAINTAINERS file / entry - Fixed macroes adding do {} while(0) - Re

[U-Boot] [PATCH v4 2/2] amcore: add support for amcore board

2013-01-22 Thread Angelo Dureghello
Signed-off-by: Angelo Dureghello Cc: Jason Jin --- Changes for v2: - None Changes for v3: - Fix code format issues Changes for v4: - Added MAINTAINERS file entry - Removed all unnecessary blank lines - Added get_ram_size in sdram init - Reused already existing sdram test routine - Removed custo

Re: [U-Boot] [PATCH] tegra: pinmux: fix FUNCMUX_NDFLASH_KBC_8_BIT

2013-01-22 Thread Lucas Stach
Am Dienstag, den 22.01.2013, 09:24 -0700 schrieb Stephen Warren: > On 01/21/2013 05:20 PM, Lucas Stach wrote: > > Even the 8bit case needs KBCB configured, as pin D7 is located in this > > pingroup. Also pingroup ATC seems to come out of reset with config set > > to NAND, so we need to explictly co

Re: [U-Boot] [PATCH] tegra: implement pinmux_avoid_func()

2013-01-22 Thread Stephen Warren
On 01/22/2013 02:42 PM, Simon Glass wrote: > Hi Stephen, > > On Tue, Jan 22, 2013 at 1:26 PM, Stephen Warren wrote: >> On 01/22/2013 02:13 PM, Simon Glass wrote: >>> Hi Stephen, >>> >>> On Tue, Jan 22, 2013 at 8:21 AM, Stephen Warren >>> wrote: From: Stephen Warren This selects

Re: [U-Boot] [PATCH] sandbox: fix compiler warning

2013-01-22 Thread Simon Glass
On Tue, Jan 22, 2013 at 1:42 PM, Allen Martin wrote: > Fix compiler warning about control flow reaching end of non void > function. > > Signed-off-by: Allen Martin Should perhaps mention the commit that adding this warning (e05e5de7 I think) Acked-by: Simon Glass > --- > arch/sandbox/cpu/sta

Re: [U-Boot] [PATCH v2 4/7] Tegra114: Add common CPU (shared) files

2013-01-22 Thread Simon Glass
Hi Tom, On Tue, Jan 22, 2013 at 1:49 PM, Tom Warren wrote: > Simon, > > On Tue, Jan 22, 2013 at 2:45 PM, Simon Glass wrote: >> Hi Tom, >> >> On Tue, Jan 22, 2013 at 1:37 PM, Tom Warren wrote: >>> Simon, >>> >>> On Tue, Jan 22, 2013 at 1:54 PM, Simon Glass wrote: Hi Tom, On Fri,

Re: [U-Boot] [PATCH v2 4/7] Tegra114: Add common CPU (shared) files

2013-01-22 Thread Tom Warren
Simon, On Tue, Jan 22, 2013 at 2:45 PM, Simon Glass wrote: > Hi Tom, > > On Tue, Jan 22, 2013 at 1:37 PM, Tom Warren wrote: >> Simon, >> >> On Tue, Jan 22, 2013 at 1:54 PM, Simon Glass wrote: >>> Hi Tom, >>> >>> On Fri, Jan 18, 2013 at 1:12 PM, Tom Warren >>> wrote: These files are used

Re: [U-Boot] [PATCH v2 4/7] Tegra114: Add common CPU (shared) files

2013-01-22 Thread Simon Glass
Hi Tom, On Tue, Jan 22, 2013 at 1:37 PM, Tom Warren wrote: > Simon, > > On Tue, Jan 22, 2013 at 1:54 PM, Simon Glass wrote: >> Hi Tom, >> >> On Fri, Jan 18, 2013 at 1:12 PM, Tom Warren wrote: >>> These files are used by both SPL and main U-Boot. >>> >>> Signed-off-by: Tom Warren >>> --- >>> Ch

Re: [U-Boot] [PATCH v2 4/7] Tegra114: Add common CPU (shared) files

2013-01-22 Thread Tom Warren
Simon, On Tue, Jan 22, 2013 at 1:54 PM, Simon Glass wrote: > Hi Tom, > > On Fri, Jan 18, 2013 at 1:12 PM, Tom Warren wrote: >> These files are used by both SPL and main U-Boot. >> >> Signed-off-by: Tom Warren >> --- >> Changes in v2: >> - update all new copyright header dates to 2013 >> - use O

[U-Boot] [PATCH] sandbox: fix compiler warning

2013-01-22 Thread Allen Martin
Fix compiler warning about control flow reaching end of non void function. Signed-off-by: Allen Martin --- arch/sandbox/cpu/start.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/sandbox/cpu/start.c b/arch/sandbox/cpu/start.c index 7603bf9..5287fd5 100644 --- a/arch/sandbox/cpu/s

Re: [U-Boot] [PATCH] tegra: implement pinmux_avoid_func()

2013-01-22 Thread Simon Glass
Hi Stephen, On Tue, Jan 22, 2013 at 1:26 PM, Stephen Warren wrote: > On 01/22/2013 02:13 PM, Simon Glass wrote: >> Hi Stephen, >> >> On Tue, Jan 22, 2013 at 8:21 AM, Stephen Warren >> wrote: >>> From: Stephen Warren >>> >>> This selects the "safe" (non-conflicting) mux function for a pin group

[U-Boot] [PATCH] Fix MCF5235 SDRAM base address macro

2013-01-22 Thread Steve deRosier
SDRAMC_DARCn_BA() macro worked fine when the BA is 0x even though the macro is incorrect. It causes the BA to be set incorrctly for other base addresses. This patch fixes the macro so that base addresses other than zero can be used with the MCF5235. Signed-off-by: Steve deRosier --- arch

Re: [U-Boot] [PATCH] tegra: implement pinmux_avoid_func()

2013-01-22 Thread Stephen Warren
On 01/22/2013 02:13 PM, Simon Glass wrote: > Hi Stephen, > > On Tue, Jan 22, 2013 at 8:21 AM, Stephen Warren wrote: >> From: Stephen Warren >> >> This selects the "safe" (non-conflicting) mux function for a pin group >> if the current setting matches the specified function. >> >> Many signals ca

Re: [U-Boot] [PATCH 2/2] tegra: rename FUNCMUX_UART2_UARTB

2013-01-22 Thread Simon Glass
On Tue, Jan 22, 2013 at 8:20 AM, Stephen Warren wrote: > From: Stephen Warren > > FUNCMUX_ defines should be named after the pin groups they affect, not > after the module they're muxing onto those pin groups. > > Signed-off-by: Stephen Warren Acked-by: Simon Glass

Re: [U-Boot] [PATCH 1/2] tegra: don't hard-code LCD into default TEGRA_DEVICE_SETTINGS

2013-01-22 Thread Simon Glass
On Tue, Jan 22, 2013 at 8:20 AM, Stephen Warren wrote: > From: Stephen Warren > > Only add "lcd" into TEGRA_DEVICE_SETTINGS if CONFIG_VIDEO_TEGRA. > Otherwise, "lcd" is meaningless. > > Signed-off-by: Stephen Warren Acked-by: Simon Glass > --- > include/configs/tegra-common-post.h | 11 +++

Re: [U-Boot] [PATCH] tegra: implement pinmux_avoid_func()

2013-01-22 Thread Simon Glass
Hi Stephen, On Tue, Jan 22, 2013 at 8:21 AM, Stephen Warren wrote: > From: Stephen Warren > > This selects the "safe" (non-conflicting) mux function for a pin group > if the current setting matches the specified function. > > Many signals can be routed to or from multiple different groups. Each

Re: [U-Boot] [PATCH v2 2/7] Tegra114: Add AVP (arm720t) files

2013-01-22 Thread Stephen Warren
On 01/22/2013 01:46 PM, Tom Warren wrote: > Stephen, > > On Fri, Jan 18, 2013 at 5:09 PM, Stephen Warren wrote: >> On 01/18/2013 05:01 PM, Stephen Warren wrote: >>> On 01/18/2013 02:12 PM, Tom Warren wrote: This provides SPL support for T114 boards - AVP early init, plus CPU (A15) init/

Re: [U-Boot] [PATCH v2 1/7] Tegra114: Add arch-tegra114 include files

2013-01-22 Thread Stephen Warren
On 01/22/2013 01:44 PM, Tom Warren wrote: > Stephen, > > On Fri, Jan 18, 2013 at 4:54 PM, Stephen Warren wrote: >> On 01/18/2013 02:12 PM, Tom Warren wrote: >>> Common Tegra files are in arch-tegra, shared between T20/T30/T114. >>> Tegra114-specific headers are in arch-tegra114. Note that some of

Re: [U-Boot] [PATCH 1/2] MIPS: use inline directive for __in*s functions

2013-01-22 Thread Daniel Schwierzeck
2013/1/16 Gabor Juhos : > All other IO accessor functions are using the > 'inline' directive. Use that also for the __in*s > to make it consistent with the other variants. > > Signed-off-by: Gabor Juhos > Cc: Daniel Schwierzeck > > --- > NOTE: checkpatch.pl throwns an error for the patch: > > 0

Re: [U-Boot] [PATCH 2/2] MIPS: convert IO port accessor functions to 'static inline'

2013-01-22 Thread Daniel Schwierzeck
2013/1/16 Gabor Juhos : > The currently used 'extern inline' directive causes > the following compiler warnings if CONFIG_SWAP_IO_SPACE > is defined: > > <...>/include/asm/io.h:345:1: warning: '__fswab32' is static but used in > inline function '__outlc_p' which is not static [enabled by default

Re: [U-Boot] [PATCH 7/7] Tegra114: Add/enable Dalmore build (T114 reference board)

2013-01-22 Thread Simon Glass
Hi Tom, On Tue, Jan 22, 2013 at 12:47 PM, Tom Warren wrote: > Simon, > > On Mon, Jan 21, 2013 at 4:07 PM, Simon Glass wrote: >> Hi Stephen, >> >> On Wed, Jan 16, 2013 at 2:51 PM, Stephen Warren >> wrote: >>> On 01/16/2013 02:14 PM, Tom Warren wrote: This build is stripped down. It boots t

Re: [U-Boot] [PATCH] MIPS: start{, 64}.S: fill branch delay slots with NOP instructions

2013-01-22 Thread Daniel Schwierzeck
2013/1/16 Gabor Juhos : > The romReserved and romExcHandle handlers are > accessed by a branch instruction however the > delay slots of those instructions are not filled. > > Because the start.S uses the 'noreorder' directive, > the assembler will not fill the delay slots either, > and leads to the

Re: [U-Boot] [PATCH v2 4/7] Tegra114: Add common CPU (shared) files

2013-01-22 Thread Simon Glass
Hi Tom, On Fri, Jan 18, 2013 at 1:12 PM, Tom Warren wrote: > These files are used by both SPL and main U-Boot. > > Signed-off-by: Tom Warren > --- > Changes in v2: > - update all new copyright header dates to 2013 > - use ODMDATA correctly in query_dram_size > > arch/arm/cpu/tegra-common/ap.c

Re: [U-Boot] [PATCH 7/7 v5] EXYNOS5: Config: Enable dtt command for TMU

2013-01-22 Thread Simon Glass
On Mon, Jan 21, 2013 at 3:11 AM, Akshay Saraswat wrote: > This enables the dtt command to read the current SOC > temperature with the help of TMU > > Signed-off-by: Akshay Saraswat Acked-by: Simon Glass > --- > Changes since v4: > - Replaced tmu command configs with corresponding dtt c

Re: [U-Boot] [PATCH 6/7 v5] TMU: Add TMU support in dtt command

2013-01-22 Thread Simon Glass
Hi Akshay, On Mon, Jan 21, 2013 at 3:11 AM, Akshay Saraswat wrote: > Add generic TMU support alongwith i2c sensors in dtt command > to enable temperature reading in cases where TMU is present > instead of i2c sensors. > > Signed-off-by: Akshay Saraswat > --- > Changes since v4: > - Remov

Re: [U-Boot] [PATCH 7/7] Tegra114: Add/enable Dalmore build (T114 reference board)

2013-01-22 Thread Tom Warren
Simon, On Mon, Jan 21, 2013 at 4:07 PM, Simon Glass wrote: > Hi Stephen, > > On Wed, Jan 16, 2013 at 2:51 PM, Stephen Warren wrote: >> On 01/16/2013 02:14 PM, Tom Warren wrote: >>> This build is stripped down. It boots to the command prompt. >>> GPIO is the only peripheral supported. Others TBD.

Re: [U-Boot] [PATCH 5/7 v5] EXYNOS5: Config: Enable support for Exynos TMU driver

2013-01-22 Thread Simon Glass
On Mon, Jan 21, 2013 at 3:11 AM, Akshay Saraswat wrote: > Enables TMU driver support for exynos5250 > > Signed-off-by: Akshay Saraswat Acked-by: Simon Glass > --- > Changes since v4: > - Rebased this patch. > > include/configs/exynos5250-dt.h |3 +++ > 1 file changed, 3 insertions

Re: [U-Boot] [PATCH v2 2/7] Tegra114: Add AVP (arm720t) files

2013-01-22 Thread Tom Warren
Stephen, On Fri, Jan 18, 2013 at 5:09 PM, Stephen Warren wrote: > On 01/18/2013 05:01 PM, Stephen Warren wrote: >> On 01/18/2013 02:12 PM, Tom Warren wrote: >>> This provides SPL support for T114 boards - AVP early init, plus >>> CPU (A15) init/jump to main U-Boot. >> >>> +void powerup_cpus(void)

Re: [U-Boot] [PATCH 4/7 v5] EXYNOS5: TMU: Add TMU init and status check

2013-01-22 Thread Simon Glass
On Mon, Jan 21, 2013 at 3:11 AM, Akshay Saraswat wrote: > This adds call to tmu_init() and TMU boot time analysis > for the SoC temperature threshold breach. > > Signed-off-by: Akshay Saraswat Acked-by: Simon Glass > --- > Changes since v4: > - Replaced board polling with initial SoC t

[U-Boot] [PATCH v2 04/10] lcd, pxafb: move the pxafb to drivers/video

2013-01-22 Thread Jeroen Hofstee
Since the lcd code was compiled unconditionally for pxa also add CONFIG_PXA_LCD to the boards using this framebuffer. Since driver/video contains video and lcd drivers, add lcd to the name to make clear it belongs to common/lcd.c. cc: Anatolij Gustschin cc: Cliff Brake cc: Marek Vasut Acked-by:

[U-Boot] [PATCH v2 09/10] api/api_display: use the getters for console size info

2013-01-22 Thread Jeroen Hofstee
cc: Che-Liang Chiou Acked-by: Che-Liang Chiou Signed-off-by: Jeroen Hofstee --- api/api_display.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/api_display.c b/api/api_display.c index 6439170..c167db7 100644 --- a/api/api_display.c +++ b/api/api_display.c @@ -45

[U-Boot] [PATCH v2 08/10] lcd, fb: remove duplicated prototypes and unused code

2013-01-22 Thread Jeroen Hofstee
cc: Anatolij Gustschin cc: Cliff Brake cc: John Zhan cc: Marek Vasut cc: Wolfgang Denk Signed-off-by: Jeroen Hofstee --- board/mcc200/lcd.c |7 --- drivers/video/mpc8xx_lcd.c | 40 drivers/video/pxa_lcd.c| 33 --

[U-Boot] [PATCH v2 06/10] common/lcd.c: remove global lcd_base

2013-01-22 Thread Jeroen Hofstee
lcd_base is available as gd->fb_base as well, there is no need to keep a seperate copy. For completeness the ack of Bo Shen is for the atmel part. Cc: Alessandro Rubini Cc: Anatolij Gustschin Cc: Bo Shen Cc: Haavard Skinnemoen Cc: Kyungmin Park Cc: Marek Vasut Cc: Minkyu Kang Cc: Nikita Kir

[U-Boot] [PATCH v2 05/10] common/lcd.c: cleanup use of global variables

2013-01-22 Thread Jeroen Hofstee
console_col, console_row, lcd_line_length, lcd_console_address had to be declared in board / driver specific code, but were not actually used there. Get rid of the global variables. for completeness, the ack of Bo Shen is for the atmel part Cc: Alessandro Rubini Cc: Anatolij Gustschin Cc: Bo She

[U-Boot] [PATCH v2 03/10] lcd, mpc8xx: move the mpc8xx driver to drivers/video

2013-01-22 Thread Jeroen Hofstee
Since the lcd code was compiled unconditionally in arch also add CONFIG_MPC8XX_LCD to the boards using this driver. cc: Anatolij Gustschin cc: Wolfgang Denk Signed-off-by: Jeroen Hofstee --- arch/powerpc/cpu/mpc8xx/Makefile |1 - drivers/video/Makefile

[U-Boot] [PATCH v2 01/10] lcd, amba: remove this driver since it is not used

2013-01-22 Thread Jeroen Hofstee
Since CONFIG_VIDEO_AMBA is not set by any board, it does not seem to be used, so remove it since there is no way to (compile) test it. cc: Alessandro Rubini cc: Anatolij Gustschin Acked-by: Alessandro Rubini Signed-off-by: Jeroen Hofstee --- drivers/video/Makefile |1 - drivers/video/amba

[U-Boot] [PATCH v2 02/10] lcd, tegra: remove unused cursor functions

2013-01-22 Thread Jeroen Hofstee
cc: Anatolij Gustschin cc: Simon Glass Signed-off-by: Jeroen Hofstee --- drivers/video/tegra.c | 52 - 1 file changed, 52 deletions(-) diff --git a/drivers/video/tegra.c b/drivers/video/tegra.c index 3709d0b..26a96a5 100644 --- a/drivers/video/

[U-Boot] [PATCH v2 00/10] common.lcd: remove globals and cleanup

2013-01-22 Thread Jeroen Hofstee
As mentioned in http://lists.denx.de/pipermail/u-boot/2013-January/143459.html there does not seem to be a good reason why the frame buffer driver provide the variables for the lcd internal logic. So lets just remove it. If there is any good reason for a framebuffer driver to "call up" it should do

Re: [U-Boot] [PATCH v2 1/7] Tegra114: Add arch-tegra114 include files

2013-01-22 Thread Tom Warren
Stephen, On Fri, Jan 18, 2013 at 4:54 PM, Stephen Warren wrote: > On 01/18/2013 02:12 PM, Tom Warren wrote: >> Common Tegra files are in arch-tegra, shared between T20/T30/T114. >> Tegra114-specific headers are in arch-tegra114. Note that some of >> these will be filled in as more T114 support is

Re: [U-Boot] [PATCH v2 3/7] Tegra114: Add CPU (armv7) files

2013-01-22 Thread Simon Glass
On Fri, Jan 18, 2013 at 1:12 PM, Tom Warren wrote: > These files are for code that runs on the CPU (A15) on T114 boards. > At this time, there is no A15-specific code here. > As T114-specific run-time code is added, it'll go here. > > Signed-off-by: Tom Warren Acked-by: Simon Glass > --- > Cha

Re: [U-Boot] [PATCH] tegra: pinmux: fix FUNCMUX_NDFLASH_KBC_8_BIT

2013-01-22 Thread Stephen Warren
On 01/21/2013 05:20 PM, Lucas Stach wrote: > Even the 8bit case needs KBCB configured, as pin D7 is located in this > pingroup. Also pingroup ATC seems to come out of reset with config set > to NAND, so we need to explictly configure some other function to this > group in order to avoid clashing se

[U-Boot] [PATCH] tegra: implement pinmux_avoid_func()

2013-01-22 Thread Stephen Warren
From: Stephen Warren This selects the "safe" (non-conflicting) mux function for a pin group if the current setting matches the specified function. Many signals can be routed to or from multiple different groups. Each signal must be routed to or from only a single group at a given time. Hence, if

[U-Boot] [PATCH 1/2] tegra: don't hard-code LCD into default TEGRA_DEVICE_SETTINGS

2013-01-22 Thread Stephen Warren
From: Stephen Warren Only add "lcd" into TEGRA_DEVICE_SETTINGS if CONFIG_VIDEO_TEGRA. Otherwise, "lcd" is meaningless. Signed-off-by: Stephen Warren --- include/configs/tegra-common-post.h | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/include/configs/tegra-c

[U-Boot] [PATCH 2/2] tegra: rename FUNCMUX_UART2_UARTB

2013-01-22 Thread Stephen Warren
From: Stephen Warren FUNCMUX_ defines should be named after the pin groups they affect, not after the module they're muxing onto those pin groups. Signed-off-by: Stephen Warren --- arch/arm/cpu/tegra-common/board.c |4 ++-- arch/arm/cpu/tegra20-common/funcmux.c |2 +- a

Re: [U-Boot] [PATCH 3/7 v5] EXYNOS5: FDT: Add TMU device node values

2013-01-22 Thread Simon Glass
Hi Akshay, On Mon, Jan 21, 2013 at 3:11 AM, Akshay Saraswat wrote: > Fdt entry for Exynos TMU driver specific pre-defined values used for > calibration of current temperature and defining threshold values. > > Signed-off-by: Akshay Saraswat With nits below fixed Acked-by: Simon Glass > --- >

Re: [U-Boot] [PATCH 2/7 v5] EXYNOS5: Implement board_poweroff for Thermal Management Unit

2013-01-22 Thread Simon Glass
On Mon, Jan 21, 2013 at 3:11 AM, Akshay Saraswat wrote: > Adding API in power for system shutdown when tripping value is reached > in Exynos Thermal Management Unit. > > Signed-off-by: Akshay Saraswat Acked-by: Simon Glass > --- > Changes since v4: > - Changed API name from power_shutd

Re: [U-Boot] [PATCH 1/7 v5] EXYNOS5: TMU: Add driver for Thermal Management Unit

2013-01-22 Thread Simon Glass
Hi Akshay, On Mon, Jan 21, 2013 at 3:11 AM, Akshay Saraswat wrote: > Adding Exynos Thermal Management Unit driver to monitor SOC > temperature and take actions corresponding to states of TMU. > > Signed-off-by: Akshay Saraswat Acked-by: Simon Glass See a few nits below in case you do a v5. >

Re: [U-Boot] Custodians, Maintainers and old platforms

2013-01-22 Thread Detlev Zundel
Hi Marek, [...] >> It brings me to another question though, >> would it be possible to get a custodian tree for OpenRISC? > > CCing Detlev. Sorry for being late here - do we still need/want the OpenRISC tree? Actually I anticipated such a tree nearly five years ago[1] *lol*. Cheers Detlev [

Re: [U-Boot] [PATCH v2] mx6qsabre_common: Let mmc partition be board specific

2013-01-22 Thread Stefano Babic
On 22/01/2013 15:42, Fabio Estevam wrote: > Hi Stefano, > Hi Fabio, > On Mon, Jan 14, 2013 at 4:59 PM, Fabio Estevam wrote: >> From: Fabio Estevam >> >> commit 49ea0ff5 (49ea0ff5) introduced CONFIG_SYS_MMC_ENV_PART into >> mx6qsabresd.h >> to store the mmc partition, but in order for it to ha

Re: [U-Boot] [PATCH 7/7] EXYNOS5: Snow: Add a configuration file

2013-01-22 Thread Simon Glass
Hi Rajeshwari, On Mon, Jan 21, 2013 at 2:52 AM, Rajeshwari Shinde wrote: > This patch adds the configuration file for Snow Board and > defines the same in boards.cfg. > The Audio codec required for SMDK5250 and Snow are different > hence they are defined in the corresponding configuration files.

Re: [U-Boot] [PATCH 6/7] EXYNOS5: Add initial DTS file for Snow.

2013-01-22 Thread Simon Glass
On Mon, Jan 21, 2013 at 2:52 AM, Rajeshwari Shinde wrote: > This patch adds the DTS file for Snow Board. > > Signed-off-by: Rajeshwari Shinde Rajeshwari > --- > board/samsung/dts/exynos5250-snow.dts | 69 > + > 1 files changed, 69 insertions(+), 0 deletions(-

Re: [U-Boot] [PATCH 4/7] EXYNOS5: GPIO to enable MAX98095

2013-01-22 Thread Simon Glass
Hi Rajeshwari, On Mon, Jan 21, 2013 at 2:52 AM, Rajeshwari Shinde wrote: > This patch sets high a GPIO to enable the codec MAX98095 > > Signed-off-by: Rajeshwari Shinde > --- > board/samsung/smdk5250/smdk5250.c | 15 +++ > 1 files changed, 15 insertions(+), 0 deletions(-) > > diff

Re: [U-Boot] [PATCH 1/7] EXYNOS5: Add function to enable XXTI clock source

2013-01-22 Thread Simon Glass
Hi Rajeshwari, On Mon, Jan 21, 2013 at 2:52 AM, Rajeshwari Shinde wrote: > This patch adds funtion to enable XXTI clock source > required by MAX98095 codec. > > Signed-off-by: Rajeshwari Shinde > --- > arch/arm/cpu/armv7/exynos/power.c| 11 +++ > arch/arm/include/asm/arch-exyn

Re: [U-Boot] [PATCH v2] mx6qsabre_common: Let mmc partition be board specific

2013-01-22 Thread Fabio Estevam
Hi Stefano, On Mon, Jan 14, 2013 at 4:59 PM, Fabio Estevam wrote: > From: Fabio Estevam > > commit 49ea0ff5 (49ea0ff5) introduced CONFIG_SYS_MMC_ENV_PART into > mx6qsabresd.h > to store the mmc partition, but in order for it to have effect we should place > it into 'mmcpart' variable. > > Also

[U-Boot] [PATCH 1/2] drivers/net/designware, do an explicit memory access instead of implicit, re-written assignments to use readl() and writel(), all of this as preperation for making the driver able

2013-01-22 Thread Frank Dols
Signed-off-by: Frank Dols --- drivers/net/designware.c | 108 +++--- drivers/net/designware.h |4 +- 2 files changed, 66 insertions(+), 46 deletions(-) diff --git a/drivers/net/designware.c b/drivers/net/designware.c index bf21a08..2f235d5 100644 ---

[U-Boot] [PATCH 2/2] u-boot/drivers/net/designware with cache support.

2013-01-22 Thread Frank Dols
Signed-off-by: Frank Dols --- drivers/net/designware.c | 20 1 files changed, 20 insertions(+), 0 deletions(-) diff --git a/drivers/net/designware.c b/drivers/net/designware.c index 2f235d5..8e0508e 100644 --- a/drivers/net/designware.c +++ b/drivers/net/designware.c @@ -3

[U-Boot] [PATCH 0/2] make u-boot/drivers/net/designware cache supportive

2013-01-22 Thread Frank Dols
Hello Vipin, As discussed, see included the patches to make your u-boot/drivers/net/designware Ethernet device driver cache support aware. First patch is about: do an explicit memory access instead of implicit, I re-written assignments to use readl() and writel(). Second patch is about: making the

Re: [U-Boot] [PATCH 2/2] video: exynos_fb: Make a call to draw_logo only when CONFIG_CMD_BMP is selected

2013-01-22 Thread Simon Glass
Hi Ajay, On Tue, Jan 22, 2013 at 6:11 AM, Ajay kumar wrote: > Hi Simon, > > On Tue, Jan 22, 2013 at 7:13 PM, Simon Glass wrote: >> Hi Ajay, >> >> On Mon, Jan 14, 2013 at 1:32 AM, Ajay Kumar wrote: >>> Previously, the call to draw_logo() was happening irrespective >>> of whether we have selected

Re: [U-Boot] [PATCH v2] arm: fix CONFIG_DELAY_ENVIRONMENT to act like it claims in the README

2013-01-22 Thread Simon Glass
On Tue, Jan 22, 2013 at 2:15 AM, Lucas Stach wrote: > No one expects to end up in a delayed environment if > CONFIG_DELAY_ENVIRONMENT isn't defined. > > Signed-off-by: Lucas Stach Good with me, and solves the immediate problem. Thanks for doing the patch. Acked-by: Simon Glass > --- > v2: kee

Re: [U-Boot] [PATCH 2/2] video: exynos_fb: Make a call to draw_logo only when CONFIG_CMD_BMP is selected

2013-01-22 Thread Ajay kumar
Hi Simon, On Tue, Jan 22, 2013 at 7:13 PM, Simon Glass wrote: > Hi Ajay, > > On Mon, Jan 14, 2013 at 1:32 AM, Ajay Kumar wrote: >> Previously, the call to draw_logo() was happening irrespective >> of whether we have selected logo or LCD console. >> With this patch we call draw_logo() only when C

Re: [U-Boot] [PATCH] Tegra: T20: Remove unused 'SLOW' SoC ID and PLLX table entry

2013-01-22 Thread Simon Glass
On Fri, Jan 18, 2013 at 1:11 PM, Tom Warren wrote: > Signed-off-by: Tom Warren Acked-by: Simon Glass > --- > arch/arm/cpu/arm720t/tegra-common/cpu.c |7 --- > arch/arm/include/asm/arch-tegra/tegra.h |1 - > 2 files changed, 0 insertions(+), 8 deletions(-) > > diff --git a/arch/arm

Re: [U-Boot] [PATCH v2 8/9] tegra: add SPI SLINK driver

2013-01-22 Thread Simon Glass
Hi Stephen, On Mon, Jan 14, 2013 at 10:49 AM, Stephen Warren wrote: > On 01/12/2013 09:56 AM, Simon Glass wrote: >> Hi, >> >> On Sat, Jan 12, 2013 at 1:07 AM, Allen Martin wrote: >>> Add driver for tegra SPI "SLINK" style driver. This controller is >>> similar to the tegra20 SPI "SFLASH" contro

[U-Boot] [PATCH 0/2] Davinci, MAC addr improvements

2013-01-22 Thread Kim Bøndergaard
Two fixes related to MAC address setting on Davinci boards. The following changes since commit 54b08efcf2f4ff532ce99c53f341a59c193331a5: README.mips: update known issues and TODOs (2013-01-16 10:52:08 +0100) are available in the git repository at: git://gitorious.org/~kibo/u-boot-shr/kibos-

[U-Boot] [PATCH 1/2] Davinci: Make MAC address offset in EEPROM configurable, CONFIG_MAC_EEPROM_ADDR

2013-01-22 Thread Kim Bøndergaard
--- arch/arm/cpu/arm926ejs/davinci/misc.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/arch/arm/cpu/arm926ejs/davinci/misc.c b/arch/arm/cpu/arm926ejs/davinci/misc.c index c310c69..d0389a4 100644 --- a/arch/arm/cpu/arm926ejs/davinci/misc.c +++ b/arch/arm/cpu/arm926ejs/da

[U-Boot] [PATCH 2/2] Davinci: Fix, console output confusing while setting MAC address

2013-01-22 Thread Kim Bøndergaard
--- arch/arm/cpu/arm926ejs/davinci/misc.c | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/arch/arm/cpu/arm926ejs/davinci/misc.c b/arch/arm/cpu/arm926ejs/davinci/misc.c index d0389a4..dc74af6 100644 --- a/arch/arm/cpu/arm926ejs/davinci/misc.c +++ b/arch/arm/cpu/arm926e

Re: [U-Boot] [PATCH] Introduce a global bool type

2013-01-22 Thread Måns Rullgård
Albert ARIBAUD writes: > Hi Måns, > >> In other words, boolifying on use rather than on assignment is generally >> safer and usually at least as efficient. > > Except when assigning a C = A & B where A and B happen to have > no common bit set. Which is why I think 'boolifying' as soon as > possib

  1   2   >