Re: [U-Boot] [PATCH] i2c: sh: Remove irq_wait function

2012-10-03 Thread hs
Hello Nobuhiro, Nobuhiro Iwamatsu wrote: irq_wait function is not referred to from anywhere. Reported-by: Albert ARIBAUD Signed-off-by: Nobuhiro Iwamatsu --- drivers/i2c/sh_i2c.c | 16 1 file changed, 16 deletions(-) Good catch! Hmm.. for some reason, I could not find

Re: [U-Boot] [PATCH] sf: winbond: Add support for W25Q64DW

2012-10-03 Thread Michal Simek
Hi Mike, On 09/03/2012 05:17 PM, 402ja...@gmail.com wrote: From: Jagannadha Sutradharudu Teki <402ja...@gmail.com> This patch adds support for Winbond W25Q64DW SPI flash. Signed-off-by: Jagannadha Sutradharudu Teki <402ja...@gmail.com> --- drivers/mtd/spi/winbond.c |5 + 1 files cha

Re: [U-Boot] [PATCH] sf: spansion: Correct the first byte of idcode1 for S25FL256S part

2012-10-03 Thread Michal Simek
Hi Mike, On 09/14/2012 05:16 PM, 402ja...@gmail.com wrote: From: Jagannadha Sutradharudu Teki <402ja...@gmail.com> This patch corrected the first byte of idcode1 for S25FL256S SPI flash. Signed-off-by: Jagannadha Sutradharudu Teki <402ja...@gmail.com> --- drivers/mtd/spi/spansion.c |2 +-

Re: [U-Boot] [PATCH v2] ext4: Rename block group descriptor table from gd to bgd

2012-10-03 Thread Tom Rini
On Wed, Oct 03, 2012 at 02:37:49PM -0700, Simon Glass wrote: > On x86 machines gd is unfortunately a #define, so we should avoid using > gd for anything. This patch changes uses of gd to bgd so that ext4fs > can be used on x86. > > A better fix would be to remove the #define in x86, but I'm not s

Re: [U-Boot] [PATCH V3 27/32] mx6qsabrelite: add support for mx6 solo/duallite

2012-10-03 Thread Otavio Salvador
On Wed, Oct 3, 2012 at 10:47 PM, Troy Kisky wrote: > Signed-off-by: Troy Kisky > --- > board/freescale/mx6qsabrelite/mx6qsabrelite.c | 235 > ++--- > board/freescale/mx6qsabrelite/pads.h | 172 ++ I'd say mx6qsabrelite could be renamed to mx6sabrel

Re: [U-Boot] [PATCH V3 30/32] mx6qsabrelite: change CONFIG_SYS_PROMPT

2012-10-03 Thread Otavio Salvador
On Wed, Oct 3, 2012 at 10:47 PM, Troy Kisky wrote: > The prompt is not appropriate if not running on > a mx6q processor. > > Signed-off-by: Troy Kisky But in this case the board name will change, no? -- Otavio Salvador O.S. Systems E-mail: ota...@ossystems.com.br h

Re: [U-Boot] MAINTAINERS: New maintainer for Samsung's Trats development board.

2012-10-03 Thread Minkyu Kang
Dear Tom and Lukasz, On 3 October 2012 07:07, Tom Rini wrote: > On Tue, Oct 02, 2012 at 06:32:07AM -, Lukasz Majewski wrote: > >> Signed-off-by: Lukasz Majewski >> Signed-off-by: Kyungmin Park >> >> --- >> MAINTAINERS |2 +- >> 1 files changed, 1 insertions(+), 1 deletions(-) > > Applie

[U-Boot] [PATCH V3 27/32] mx6qsabrelite: add support for mx6 solo/duallite

2012-10-03 Thread Troy Kisky
Signed-off-by: Troy Kisky --- board/freescale/mx6qsabrelite/mx6qsabrelite.c | 235 ++--- board/freescale/mx6qsabrelite/pads.h | 172 ++ 2 files changed, 229 insertions(+), 178 deletions(-) create mode 100644 board/freescale/mx6qsabrelite/pads.h dif

[U-Boot] [PATCH V3 28/32] mx6q_4x_mt41j128.cfg: add mx6 solo/duallite support

2012-10-03 Thread Troy Kisky
Signed-off-by: Troy Kisky --- board/freescale/imx/ddr/mx6q_4x_mt41j128.cfg | 120 +++--- 1 file changed, 87 insertions(+), 33 deletions(-) diff --git a/board/freescale/imx/ddr/mx6q_4x_mt41j128.cfg b/board/freescale/imx/ddr/mx6q_4x_mt41j128.cfg index 9e20db0..f45f93e 100644

[U-Boot] [PATCH V3 10/32] imximage: prepare to move static variables to struct data_src

2012-10-03 Thread Troy Kisky
Need to move accesses to the static variables to a function where struct data_src is used. Signed-off-by: Troy Kisky --- v3: new patch --- tools/imximage.c | 24 +--- tools/imximage.h |3 +++ 2 files changed, 16 insertions(+), 11 deletions(-) diff --git a/tools/imxima

[U-Boot] [PATCH V3 30/32] mx6qsabrelite: change CONFIG_SYS_PROMPT

2012-10-03 Thread Troy Kisky
The prompt is not appropriate if not running on a mx6q processor. Signed-off-by: Troy Kisky --- include/configs/mx6qsabrelite.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/mx6qsabrelite.h b/include/configs/mx6qsabrelite.h index 8890e4c..8fd35a6 100644 -

[U-Boot] [PATCH V3 13/32] imximage: move set_dcd_val to struct data_src

2012-10-03 Thread Troy Kisky
Signed-off-by: Troy Kisky --- v3: new patch --- tools/imximage.c |9 - tools/imximage.h |1 + 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/tools/imximage.c b/tools/imximage.c index eb1ab62..6fcb6ee 100644 --- a/tools/imximage.c +++ b/tools/imximage.c @@ -65,7 +6

[U-Boot] [PATCH V3 16/32] imximage: use parse_helper functions

2012-10-03 Thread Troy Kisky
Use parse_helper functions to pulling tokens instead of pushing them. Remove need for switch statements to process commands. Signed-off-by: Troy Kisky --- v2: uses file parse_helper added in previous patch changed patch subject, was cleanup parsing --- tools/imximage.c | 267 ++

[U-Boot] [PATCH V3 31/32] parse_helper: add expression evaluation

2012-10-03 Thread Troy Kisky
Basic expressions with order precedence is now supported. ie. (3 + ((1+2*3)/--2 + --5 *(8/4))) is 16. Signed-off-by: Troy Kisky --- tools/parse_helper.c | 172 +++--- 1 file changed, 162 insertions(+), 10 deletions(-) diff --git a/tools/parse_hel

[U-Boot] [PATCH V3 21/32] mx6q_4x_mt41j128.cfg: skip initiailizing non-existent memory

2012-10-03 Thread Troy Kisky
Sabrelite does not have memory associated with CS1 Signed-off-by: Troy Kisky --- board/freescale/imx/ddr/mx6q_4x_mt41j128.cfg |5 - 1 file changed, 5 deletions(-) diff --git a/board/freescale/imx/ddr/mx6q_4x_mt41j128.cfg b/board/freescale/imx/ddr/mx6q_4x_mt41j128.cfg index 9c622c8..2d0

[U-Boot] [PATCH V3 14/32] imximage: enable word writes for version2 header

2012-10-03 Thread Troy Kisky
Before, only 1 write_dcd_command table was built. Now, a new table is built when the size changes. Signed-off-by: Troy Kisky --- v3: moved static variables together --- tools/imximage.c | 143 ++ tools/imximage.h | 18 +++ 2 files chang

[U-Boot] [PATCH V3 11/32] imximage: change parameters for set_dcd_val/set_imx_hdr

2012-10-03 Thread Troy Kisky
Change 1st argument of set_imx_hdr/set_dcd_val to struct data_src. Signed-off-by: Troy Kisky --- tools/imximage.c | 41 + tools/imximage.h |5 +++-- 2 files changed, 24 insertions(+), 22 deletions(-) diff --git a/tools/imximage.c b/tools/imximage.c

[U-Boot] [PATCH V3 15/32] tools: add parse_helper file

2012-10-03 Thread Troy Kisky
This file can help you parse configuration files. Signed-off-by: Troy Kisky --- tools/Makefile |2 + tools/parse_helper.c | 173 ++ tools/parse_helper.h | 28 3 files changed, 203 insertions(+) create mode 100644 tools/parse_

[U-Boot] [PATCH V3 29/32] Add boards for sabrelite variants mx6s(solo) and mx6dl(duallite)

2012-10-03 Thread Troy Kisky
mx6dlsabrelite - for duallite mx6ssabrelite - for solo Signed-off-by: Troy Kisky --- boards.cfg |4 +++- include/configs/mx6qsabrelite.h |1 - 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/boards.cfg b/boards.cfg index e9e073e..abc95d4 100644 --- a/b

[U-Boot] [PATCH V3 12/32] imximage: move set_imx_hdr to struct data_src

2012-10-03 Thread Troy Kisky
Signed-off-by: Troy Kisky --- v3: new patch --- tools/imximage.c | 13 ++--- tools/imximage.h |1 + 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/tools/imximage.c b/tools/imximage.c index 85d3753..eb1ab62 100644 --- a/tools/imximage.c +++ b/tools/imximage.c @@ -67,

[U-Boot] [PATCH V3 26/32] arch-mx6: add mx6dl_pins.h

2012-10-03 Thread Troy Kisky
Only the values used in the sabrelite board are added currently. Add more as other boards use them. Signed-off-by: Troy Kisky --- arch/arm/include/asm/arch-mx6/mx6dl_pins.h | 118 1 file changed, 118 insertions(+) create mode 100644 arch/arm/include/asm/arch-mx6/mx

[U-Boot] [PATCH V3 32/32] imx-mkimage.h: use base + offset syntax

2012-10-03 Thread Troy Kisky
Now that expression work, we can delete the redundant MMC_P1_xxx defines and just define MMC_P0 and MMC_P1 bases. The other addresses are changed to a base + offset syntax as well. Signed-off-by: Troy Kisky --- arch/arm/include/asm/arch-mx6/imx-mkimage.h | 205 -- boar

[U-Boot] [PATCH V3 09/32] imximage: remove static imximage_version

2012-10-03 Thread Troy Kisky
This variable does not need to have file scope. Signed-off-by: Troy Kisky --- tools/imximage.c | 21 + 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/tools/imximage.c b/tools/imximage.c index 1365b1e..10ccfa9 100644 --- a/tools/imximage.c +++ b/tools/imximag

[U-Boot] [PATCH V3 19/32] mx6q_4x_mt41j128.cfg: add comments

2012-10-03 Thread Troy Kisky
Signed-off-by: Troy Kisky --- board/freescale/imx/ddr/mx6q_4x_mt41j128.cfg | 55 ++ 1 file changed, 47 insertions(+), 8 deletions(-) diff --git a/board/freescale/imx/ddr/mx6q_4x_mt41j128.cfg b/board/freescale/imx/ddr/mx6q_4x_mt41j128.cfg index 84823f8..b859e2f 100644 -

[U-Boot] [PATCH V3 23/32] mx6: soc: update get_cpu_rev and get_imx_type for mx6solo/sololite

2012-10-03 Thread Troy Kisky
Previously, the same value was returned for both mx6dl and mx6solo. Check number of processors to differeniate. Also, a freescale patch says that sololite has its cpu/rev stored at 0x280 instead of 0x260. I don't have a sololite to verify. Signed-off-by: Troy Kisky --- Changed in V3. V2 had cre

[U-Boot] [PATCH V3 08/32] imximage: make header variable length

2012-10-03 Thread Troy Kisky
This makes the dcd table options as well for v2. Also, the header offset is no longer right before the code starts. Before this patch we have 00 402000d1 1780 177ffc2c 10 177ffc20 177ffc00 20 177ff800 00042b58 402803d2 30 042403cc a8050e02 30

[U-Boot] [PATCH V3 24/32] mx6: use CONFIG_MX6 instead of CONFIG_MX6Q

2012-10-03 Thread Troy Kisky
Use CONFIG_MX6 when the particular processor variant isn't important. Reserve the use of CONFIG_MX6Q to specifically test for quad cores variant. Signed-off-by: Troy Kisky --- drivers/gpio/mxc_gpio.c|6 +++--- drivers/video/ipu_regs.h |2 +- include/configs/mx6qarm

[U-Boot] [PATCH V3 20/32] mx6q_4x_mt41j128.cfg: use ddr3 mode for reset

2012-10-03 Thread Troy Kisky
Bits 19-18 of IOMUXC_IOMUXC_SW_PAD_CTL_PAD_DRAM_RESET should be 3 for DDR3 mode. The current value of 0 is reserved in TRM. Signed-off-by: Troy Kisky --- board/freescale/imx/ddr/mx6q_4x_mt41j128.cfg |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/freescale/imx/ddr/mx

[U-Boot] [PATCH V3 18/32] mx6q_4x_mt41j128.cfg: use symbols instead of hardcoded constants

2012-10-03 Thread Troy Kisky
This allows us to generate DCD table data appropriate for MX6Q, MX6DL, or MX6Solo simply by defining CONFIG_MX6Q, CONFIG_MX6DL, or CONFIG_MX6S Signed-off-by: Troy Kisky --- arch/arm/include/asm/arch-mx6/imx-mkimage.h | 156 board/freescale/imx/ddr/mx6q_4x_mt41j128.cfg | 245 +

[U-Boot] [PATCH V3 05/32] imximage: delay setting of image size

2012-10-03 Thread Troy Kisky
When later we change to variable length header, we won't know the file size when set_imx_hdr is called. So this is prep work. Signed-off-by: Troy Kisky --- v3: split into its own patch --- tools/imximage.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tools/

[U-Boot] [PATCH V3 25/32] imx-common: cpu: add imx_ddr_size

2012-10-03 Thread Troy Kisky
Read memory setup registers to determine size of available ram. This routine works for mx53/mx6x I need this because when mx6solo called get_ram_size with a too large maximum size, the system hanged. Signed-off-by: Troy Kisky --- New patch with V3. V2 had code in mx6qsabrelite.c --- arch/arm/i

[U-Boot] [PATCH V3 03/32] imximage: move flash_offset check to common location

2012-10-03 Thread Troy Kisky
Both set_imx_hdr_v1 and set_imx_hdr_v2 perform the same check. Move check to before the set_imx_hdr call. Signed-off-by: Troy Kisky --- v3: split into its own patch --- tools/imximage.c | 19 +-- 1 file changed, 5 insertions(+), 14 deletions(-) diff --git a/tools/imximage.c b

[U-Boot] [PATCH V3 06/32] imximage: change parameters to set_imx_hdr

2012-10-03 Thread Troy Kisky
Call with the value the function will use instead of going through a pointer. Signed-off-by: Troy Kisky --- v3: split into its own patch --- tools/imximage.c | 20 +--- tools/imximage.h |6 ++ 2 files changed, 11 insertions(+), 15 deletions(-) diff --git a/tools/imxim

[U-Boot] [PATCH V3 04/32] imximage: fix size of image to load.

2012-10-03 Thread Troy Kisky
sbuf->st_size already includes sizeof(struct imx_header), so remove extra addition. Signed-off-by: Troy Kisky --- v3: split into its own patch --- tools/imximage.c |6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tools/imximage.c b/tools/imximage.c index 3e9ee6a..7db

[U-Boot] [PATCH V3 22/32] mx6q_4x_mt41j128.cfg: force ZQ calibration

2012-10-03 Thread Troy Kisky
Signed-off-by: Troy Kisky --- board/freescale/imx/ddr/mx6q_4x_mt41j128.cfg |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/board/freescale/imx/ddr/mx6q_4x_mt41j128.cfg b/board/freescale/imx/ddr/mx6q_4x_mt41j128.cfg index 2d03ff7..9e20db0 100644 --- a/board/freescale/im

[U-Boot] [PATCH V3 01/32] imximage: check dcd_len as entries added

2012-10-03 Thread Troy Kisky
Before the len was checked after the entire file was processed, so it could have already overflowed. Signed-off-by: Troy Kisky --- v3 changed to the 1st patch of the series --- tools/imximage.c | 26 +++--- 1 file changed, 11 insertions(+), 15 deletions(-) diff --git a/to

[U-Boot] [PATCH V3 00/32] Add mx6solo/mx6duallite support

2012-10-03 Thread Troy Kisky
This series goal is to add support for mx6solo and mx6duallite variants of mx6qsabrelite board. The new targets are called mx6ssabrelite and mx6dlsabrelite. The 1st 16 patches perform cleanup on imximage The final 2 patches add support for expressions to mkimage. If found not to be worth the effo

[U-Boot] [PATCH V3 02/32] imximage: remove redundant setting of app_dest_ptr

2012-10-03 Thread Troy Kisky
Signed-off-by: Troy Kisky --- v3: split into its own patch --- tools/imximage.c |1 - 1 file changed, 1 deletion(-) diff --git a/tools/imximage.c b/tools/imximage.c index c917036..bda1a75 100644 --- a/tools/imximage.c +++ b/tools/imximage.c @@ -213,7 +213,6 @@ static void set_imx_hdr_v1(str

[U-Boot] [PATCH V3 07/32] imximage: make set_imx_hdr_v1/v2 easier to read

2012-10-03 Thread Troy Kisky
Signed-off-by: Troy Kisky --- v3: split into own patch --- tools/imximage.c | 30 +++--- 1 file changed, 11 insertions(+), 19 deletions(-) diff --git a/tools/imximage.c b/tools/imximage.c index 87a6b59..63f88b6 100644 --- a/tools/imximage.c +++ b/tools/imximage.c @@ -2

Re: [U-Boot] [PATCH 5/9] x86: coreboot: Move non-board specific files to coreboot arch directory

2012-10-03 Thread Graeme Russ
Hi Simon, On Thu, Oct 4, 2012 at 11:17 AM, Simon Glass wrote: > Hi Graeme, > > On Wed, Oct 3, 2012 at 6:12 PM, Graeme Russ wrote: >> Hi Simon, >> >> On Thu, Oct 4, 2012 at 10:39 AM, Simon Glass wrote: >>> From: Stefan Reinauer >>> >>> coreboot.c and coreboot_pci.c don't contain board specific

Re: [U-Boot] [U-Boot, v2] Output strings from echo with puts where easy

2012-10-03 Thread Tom Rini
On Wed, Oct 03, 2012 at 01:09:15PM -, Joe Hershberger wrote: > Change echo to puts characters together where it knows about them > together. This improves netconsole performance by greatly reducing > the number of packets that are sent. > > Signed-off-by: Joe Hershberger Applied to u-boot/

Re: [U-Boot] [U-Boot,v2] Add a command to access the system timer

2012-10-03 Thread Tom Rini
On Wed, Oct 03, 2012 at 12:14:57PM -, Joe Hershberger wrote: > Two sub-commands... start and get. > * start sets the reference. > * get prints out the time since the last start (in "." format). > If get is called without start, returns time since boot. > Simple way to benchmark an operation:

Re: [U-Boot] [U-Boot,v2] Add a new "ini" command

2012-10-03 Thread Tom Rini
On Wed, Oct 03, 2012 at 11:15:51AM -, Joe Hershberger wrote: > This allows you to read ini-formatted data from anywhere and then > import one of the sections into the environment > > This is based on rev 16 at http://code.google.com/p/inih/ > > Signed-off-by: Joe Hershberger Applied to u-bo

Re: [U-Boot] net: fix netconsole filtering

2012-10-03 Thread Tom Rini
On Wed, Oct 03, 2012 at 09:14:03AM -, Joe Hershberger wrote: > Adjustment of Michael Walle's fix patch > > Commit 8a0eccb1056b313b45ab62e3aac400f339aa71b4 breaks netconsole. src_ip > must not be converted to host byte order, because nc_ip is already stored > in network byte order (see string_

Re: [U-Boot] [U-Boot, 1/2] Fix checkpatch.pl complaints in cmd_cache.c

2012-10-03 Thread Tom Rini
On Wed, Oct 03, 2012 at 10:56:16AM -, Joe Hershberger wrote: > Old code that is not compliant. > > Signed-off-by: Joe Hershberger Applied to u-boot/master, along with the rest of the series, thanks! -- Tom signature.asc Description: Digital signature _

Re: [U-Boot] [U-Boot, 1/4] Implement verify option for sha1sum command

2012-10-03 Thread Tom Rini
On Fri, Aug 17, 2012 at 11:00:45AM -, Joe Hershberger wrote: > Loosely based on CONFIG_CRC32_VERIFY. > > The sum to verify against can be in memory, in a variable, or the last > parameter to the function directly. > > Signed-off-by: Joe Hershberger Applied to u-boot/master, along with the

Re: [U-Boot] Change dead code in "test" cmd to debug output

2012-10-03 Thread Tom Rini
On Fri, Aug 17, 2012 at 10:56:12AM -, Joe Hershberger wrote: > Improve debug output for test by indicating the number of parameters > and quoting the parameters to make it clear exactly what each contains > > Signed-off-by: Joe Hershberger Applied to u-boot/master, thanks! -- Tom signat

Re: [U-Boot] Allow runtime configuration of "zero-delay" check

2012-10-03 Thread Tom Rini
On Fri, Aug 17, 2012 at 10:53:12AM -, Joe Hershberger wrote: > Define the new "-2" value for bootdelay to mean autoboot with no delay > and don't check for an abort key (while "0" value means do check). > > Signed-off-by: Joe Hershberger Applied to u-boot/master, thanks! -- Tom signatur

Re: [U-Boot] [PATCH 5/9] x86: coreboot: Move non-board specific files to coreboot arch directory

2012-10-03 Thread Simon Glass
Hi Graeme, On Wed, Oct 3, 2012 at 6:12 PM, Graeme Russ wrote: > Hi Simon, > > On Thu, Oct 4, 2012 at 10:39 AM, Simon Glass wrote: >> From: Stefan Reinauer >> >> coreboot.c and coreboot_pci.c don't contain board specific but only >> coreboot specific code. Hence move it to the coreboot directory

Re: [U-Boot] [PATCH 9/9] x86: coreboot: Enable LPC TPM and CONFIG_NO_RESET_CODE

2012-10-03 Thread Gabe Black
Acked-by: Gabe Black ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 5/9] x86: coreboot: Move non-board specific files to coreboot arch directory

2012-10-03 Thread Graeme Russ
Hi Simon, On Thu, Oct 4, 2012 at 10:39 AM, Simon Glass wrote: > From: Stefan Reinauer > > coreboot.c and coreboot_pci.c don't contain board specific but only > coreboot specific code. Hence move it to the coreboot directory in > arch/x86/cpu (which should probably be moved out of cpu/ in another

Re: [U-Boot] [PATCH 7/9] x86: coreboot: Modify u-boot code to allow building coreboot payload

2012-10-03 Thread Gabe Black
Acked-by: Gabe Black ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 5/9] x86: coreboot: Move non-board specific files to coreboot arch directory

2012-10-03 Thread Gabe Black
Acked-by: Gabe Black ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 1/7] Tegra30: Add AVP (arm720t) files

2012-10-03 Thread Simon Glass
Hi Stephen, On Wed, Oct 3, 2012 at 11:23 AM, Stephen Warren wrote: > On 10/02/2012 04:45 PM, Tom Warren wrote: >> This provides SPL support for T30 boards - AVP early init, plus >> CPU (A9) init/jump to main U-Boot. > >> diff --git a/arch/arm/cpu/arm720t/tegra30/cpu.c >> b/arch/arm/cpu/arm720t/t

Re: [U-Boot] [PATCH 2/9] x86: Add initial memory barrier macros

2012-10-03 Thread Gabe Black
Acked-by: Gabe Black ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 1/9] x86: Change board baud_rate to ulong

2012-10-03 Thread Gabe Black
Acked-by: Gabe Black ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 3/9] x86: Allow excluding reset handling code from u-boot.

2012-10-03 Thread Graeme Russ
Hi Simon, At first I thought this patch dealt with the 'board reset' code but then realised it deals with the 'reset vector' - Can you fix the patch subject please On Thu, Oct 4, 2012 at 10:39 AM, Simon Glass wrote: > From: Gabe Black > > When running from coreboot we don't want this code. > >

Re: [U-Boot] [PATCH 1/7] Tegra30: Add AVP (arm720t) files

2012-10-03 Thread Simon Glass
Hi Tom, On Tue, Oct 2, 2012 at 3:45 PM, Tom Warren wrote: > This provides SPL support for T30 boards - AVP early init, plus > CPU (A9) init/jump to main U-Boot. > > Signed-off-by: Tom Warren > --- > arch/arm/cpu/arm720t/tegra-common/cpu.h| 48 +-- > arch/arm/cpu/arm720t/tegra-comm

[U-Boot] [PATCH 7/9] x86: coreboot: Modify u-boot code to allow building coreboot payload

2012-10-03 Thread Simon Glass
From: Vadim Bendebury This prevents the preprocessor from complaining when processing variadic macros Signed-off-by: Vadim Bendebury Signed-off-by: Simon Glass --- board/chromebook-x86/coreboot/config.mk | 37 +++ 1 files changed, 37 insertions(+), 0 deletions(-)

[U-Boot] [PATCH 4/9] x86: Add some missing includes.

2012-10-03 Thread Simon Glass
From: Gabe Black I suspect these includes were usually available because something else included them earlier or because they were brought in transitively. Signed-off-by: Gabe Black Signed-off-by: Simon Glass --- arch/x86/include/asm/global_data.h |2 ++ arch/x86/include/asm/u-boot.h

[U-Boot] [PATCH 3/9] x86: Allow excluding reset handling code from u-boot.

2012-10-03 Thread Simon Glass
From: Gabe Black When running from coreboot we don't want this code. This version works by ifdef-ing out all of the code that would go into those sections and all the code that refers to it. The sections are then empty, and the linker will either leave them empty for the loader to ignore or remo

[U-Boot] [PATCH 1/9] x86: Change board baud_rate to ulong

2012-10-03 Thread Simon Glass
This is a ulong for some architectures and just unsigned for others. Change x86 to be consistent. Signed-off-by: Simon Glass --- arch/x86/include/asm/u-boot.h |2 +- common/cmd_bdinfo.c |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/include/asm/u

[U-Boot] [PATCH 8/9] x86: coreboot: Implement recursively scanning PCI busses

2012-10-03 Thread Simon Glass
From: Gabe Black A hook is installed to configure PCI bus bridges as they encountered by u-boot. The hook extracts the secondary bus number from the bridge's config space and then recursively scans that bus. On Coreboot, the PCI bus address space has identity mapping with the physical address sp

[U-Boot] [PATCH 9/9] x86: coreboot: Enable LPC TPM and CONFIG_NO_RESET_CODE

2012-10-03 Thread Simon Glass
Coreboot boards have an LPC TPM connected, so enable this. We also need to skip the reset code. Signed-off-by: Simon Glass --- include/configs/coreboot.h |6 +- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/include/configs/coreboot.h b/include/configs/coreboot.h index 2c

[U-Boot] [PATCH 5/9] x86: coreboot: Move non-board specific files to coreboot arch directory

2012-10-03 Thread Simon Glass
From: Stefan Reinauer coreboot.c and coreboot_pci.c don't contain board specific but only coreboot specific code. Hence move it to the coreboot directory in arch/x86/cpu (which should probably be moved out of cpu/ in another commit) Signed-off-by: Stefan Reinauer Signed-off-by: Simon Glass ---

[U-Boot] [PATCH 2/9] x86: Add initial memory barrier macros

2012-10-03 Thread Simon Glass
These are available on other architectures, so add them on x86. Signed-off-by: Simon Glass --- arch/x86/include/asm/io.h |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/arch/x86/include/asm/io.h b/arch/x86/include/asm/io.h index 9b757d4..b12bdd8 100644 --- a/arch/

[U-Boot] [PATCH 6/9] x86: coreboot: Tell u-boot about PCI bus 0 when initializing

2012-10-03 Thread Simon Glass
From: Gabe Black U-boot needs a host controller or "hose" to interact with the PCI busses behind them. This change installs a host controller during initialization of the coreboot "board" which implements some of X86's basic PCI semantics. This relies on some existing generic code, but also dupli

[U-Boot] [PATCH 0/9] x86: Patches to enable running U-Boot from coreboot

2012-10-03 Thread Simon Glass
This series carries on from Gabe Black's work to upstream support for running U-Boot from coreboot. Aditional follow-on patches are also required, depending on feedback here. Gabe Black (4): x86: Allow excluding reset handling code from u-boot. x86: Add some missing includes. x86: coreboot

Re: [U-Boot] [PATCH v2 2/2] tegra: nand: add board pinmux

2012-10-03 Thread Simon Glass
Hi, On Sat, Sep 29, 2012 at 1:02 PM, Lucas Stach wrote: > Boards may require a different pinmux setup for NAND than the default one. > Add a way to call into board specific code to set this up. > > Signed-off-by: Lucas Stach I think this is reasonable as is. Acked-by: Simon Glass Regards, Si

Re: [U-Boot] [PATCH 2/2] ext4: Fix unused variable warnings

2012-10-03 Thread Simon Glass
Hi, On Wed, Oct 3, 2012 at 12:53 PM, Simon Glass wrote: > This patch fixes the following warnings with my gcc 4.6: > > ext4fs.c:932:6: error: variable 'delayed_skipfirst' set but not used > [-Werror=unused-but-set-variable] > ext4_common.c:381:8: error: variable 'ptr' set but not used > [-Werro

Re: [U-Boot] [PATCH] tpm: Remove the LPC TPM driver

2012-10-03 Thread Marek Vasut
Dear Simon Glass, > Hi Marek, > > On Sun, Sep 30, 2012 at 4:24 PM, Marek Vasut wrote: > > Dear Simon Glass, > > > >> Hi Marek, > >> > >> On Sun, Sep 30, 2012 at 11:09 AM, Marek Vasut wrote: > >> > Dear Vadim Bendebury, > >> > > >> >> On Sun, Sep 30, 2012 at 10:36 AM, Marek Vasut wrote: > >>

Re: [U-Boot] [PATCH v4 0/16] tegra: Add display driver and LCD support for Seaboard

2012-10-03 Thread Simon Glass
Hi Stephen, On Wed, Oct 3, 2012 at 4:00 PM, Stephen Warren wrote: > On 09/27/2012 06:44 PM, Simon Glass wrote: >> This series adds support for the Tegra2x's display peripheral. This >> supports the LCD display on Seaboard and we use this to enable console >> output in U-Boot on the LCD. > > Aside

Re: [U-Boot] [PATCH 1/2] ext4: Rename block group descriptor table from gd to bgd

2012-10-03 Thread Simon Glass
Hi, On Wed, Oct 3, 2012 at 4:06 PM, Tom Rini wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 10/03/12 15:59, Graeme Russ wrote: >> Hi Simon, >> >> On Thu, Oct 4, 2012 at 7:44 AM, Graeme Russ >> wrote: >>> Hi Simon, >>> >>> On Oct 4, 2012 6:58 AM, "Simon Glass" wrote: H

Re: [U-Boot] [PATCH v7] h2200: Add USB CDC ethernet support

2012-10-03 Thread Marek Vasut
Dear Lukasz Dalek, > Add support for ethernet over USB which can be used for e.g. booting > process. It works with tftp and dhcp clients code. > > Signed-off-by: Lukasz Dalek I'll apply once -pxa is pulled into -next. Thanks [...] Best regards, Marek Vasut __

[U-Boot] [PATCH 1/6] m68k: Fix relocation errors in start.S

2012-10-03 Thread Marek Vasut
From: Philippe De Muyter When the environment sectors in the flash are big, one get those errors : mcf547x_8x/start.S:173: relocation truncated to fit: R_68K_PC16 against symbol `cpu_init_f' defined in .text section in libmcf547x_8x.a(cpu_init.o) mcf547x_8x/start.S:174: relocation truncated

[U-Boot] [PATCH 6/6] m68k: net: Fix unused variable in mcfmii.c

2012-10-03 Thread Marek Vasut
The following warning was produced, fix it: mcfmii.c: In function 'mcffec_miiphy_write': mcfmii.c:318:8: warning: variable 'rdreg' set but not used [-Wunused-but-set-variable] Signed-off-by: Marek Vasut Cc: "Jin Zhengxiong-R64188" Cc: Jason Jin --- drivers/net/mcfmii.c |4 +--- 1 file ch

[U-Boot] [PATCH 2/6] m68k: Fix wrong assembler instruction in start.S

2012-10-03 Thread Marek Vasut
The jmp _fault generated the following error message, thus change it to bra _fault: start.S: Assembler messages: start.S:310: Error: Conversion of PC relative displacement to absolute Signed-off-by: Marek Vasut Cc: "Jin Zhengxiong-R64188" Cc: Jason Jin --- arch/m68k/cpu/mcf5227x/start.S |

[U-Boot] [PATCH 5/6] m68k: Fix unused variable in board.c

2012-10-03 Thread Marek Vasut
The following warning was produced, fix it: board.c: In function 'board_init_r': board.c:390:8: warning: unused variable 's' [-Wunused-variable] Signed-off-by: Marek Vasut Cc: "Jin Zhengxiong-R64188" Cc: Jason Jin --- arch/m68k/lib/board.c |3 ++- 1 file changed, 2 insertions(+), 1 deleti

[U-Boot] [PATCH 3/6] m68k: Fix unused variable warning

2012-10-03 Thread Marek Vasut
The fbcs variable was unused, producing the following warning: cpu_init.c: In function 'cpu_init_f': cpu_init.c:52:10: warning: unused variable 'fbcs' [-Wunused-variable] Signed-off-by: Marek Vasut Cc: "Jin Zhengxiong-R64188" Cc: Jason Jin --- arch/m68k/cpu/mcf5445x/cpu_init.c |3 ++- 1 f

[U-Boot] [PATCH 4/6] m68k: Fix unused variable warning in speed.c

2012-10-03 Thread Marek Vasut
The following warning was produced, fix it: speed.c: In function 'get_clocks': speed.c:94:15: warning: variable 'bPci' set but not used [-Wunused-but-set-variable] Signed-off-by: Marek Vasut Cc: "Jin Zhengxiong-R64188" Cc: Jason Jin --- arch/m68k/cpu/mcf5445x/speed.c |9 +++-- 1 file

[U-Boot] [PATCH 0/6] m68k: Fixes for the m68k

2012-10-03 Thread Marek Vasut
The m68k wasn't tested for a long time it seems, thus bugs crawled in. This series carries at least some basic fixes, yet bugs still prevail: Configuring for M5282EVB board... make: *** [u-boot] Error 1 m68k-linux-gnu-size: './u-boot': No such file common/libcommon.o:(.data.rel.env_ptr+0x0): undef

Re: [U-Boot] [PATCH v2 4/5] tools/env: Serialize calls to fw_*env

2012-10-03 Thread uboot
On Wed, Oct 03, 2012 at 02:38:49PM -0500, Joe Hershberger wrote: > Use a lock file at /var/lock/fw_printenv.lock. > Avoids seriously confusing the MTD driver. > > Signed-off-by: Joe Hershberger > --- > > tools/env/fw_env_main.c | 59 > +++-- > 1 file

[U-Boot] [PATCH v2] Output strings from echo with puts where easy

2012-10-03 Thread Joe Hershberger
Change echo to puts characters together where it knows about them together. This improves netconsole performance by greatly reducing the number of packets that are sent. Signed-off-by: Joe Hershberger --- Changes in v2: - Check for someone to specify "\c" more than once in each word common/cmd

Re: [U-Boot] [PATCH 1/2] ext4: Rename block group descriptor table from gd to bgd

2012-10-03 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/03/12 15:59, Graeme Russ wrote: > Hi Simon, > > On Thu, Oct 4, 2012 at 7:44 AM, Graeme Russ > wrote: >> Hi Simon, >> >> On Oct 4, 2012 6:58 AM, "Simon Glass" wrote: >>> >>> Hi Graeme, >>> >>> On Wed, Oct 3, 2012 at 1:47 PM, Graeme Russ >>>

Re: [U-Boot] [PATCH v4 0/16] tegra: Add display driver and LCD support for Seaboard

2012-10-03 Thread Stephen Warren
On 09/27/2012 06:44 PM, Simon Glass wrote: > This series adds support for the Tegra2x's display peripheral. This > supports the LCD display on Seaboard and we use this to enable console > output in U-Boot on the LCD. Aside from the comments I made just now, the whole series, Acked-by: Stephen War

Re: [U-Boot] [U-Boot, 4/6] gpt: Support for GPT (GUID Partition Table) restoration

2012-10-03 Thread Tom Rini
On Thu, Aug 23, 2012 at 10:13:13PM -, Lukasz Majewski wrote: > The restoration of GPT table (both primary and secondary) is now possible. > Simple GUID generation is supported. > > Signed-off-by: Lukasz Majewski > Signed-off-by: Kyungmin Park While the changes are fine, tt01 and eb_cpux9k2

Re: [U-Boot] [PATCH 1/2] ext4: Rename block group descriptor table from gd to bgd

2012-10-03 Thread Graeme Russ
Hi Simon, On Thu, Oct 4, 2012 at 7:44 AM, Graeme Russ wrote: > Hi Simon, > > On Oct 4, 2012 6:58 AM, "Simon Glass" wrote: >> >> Hi Graeme, >> >> On Wed, Oct 3, 2012 at 1:47 PM, Graeme Russ wrote: >> > Hi Simon, >> > >> > On Oct 4, 2012 6:40 AM, "Simon Glass" wrote: >> >> >> >> Hi Tom, >> >> >>

Re: [U-Boot] [PATCH v4 14/16] tegra: fdt: Add LCD definitions for Seaboard

2012-10-03 Thread Stephen Warren
On 09/27/2012 06:44 PM, Simon Glass wrote: > The Seaboard has a 1366x768 16bpp LCD. The backlight is controlled > by one of the PWMs. > diff --git a/board/nvidia/dts/tegra20-seaboard.dts > b/board/nvidia/dts/tegra20-seaboard.dts > + host1x { > + dc@5420 { So based on my prev

Re: [U-Boot] [PATCH v4 04/16] tegra: fdt: Add LCD definitions for Tegra

2012-10-03 Thread Stephen Warren
On 09/27/2012 06:44 PM, Simon Glass wrote: > Add LCD definitions and also a proposed binding for LCD displays. > > The PWM is as per what will likely be committed to linux-next soon. > > The displaymode binding comes from a proposal here: > > http://lists.freedesktop.org/archives/dri-devel/2012-

Re: [U-Boot] [PATCH v4 04/16] tegra: fdt: Add LCD definitions for Tegra

2012-10-03 Thread Stephen Warren
On 09/27/2012 06:44 PM, Simon Glass wrote: > Add LCD definitions and also a proposed binding for LCD displays. > > The PWM is as per what will likely be committed to linux-next soon. > > The displaymode binding comes from a proposal here: > > http://lists.freedesktop.org/archives/dri-devel/2012-

Re: [U-Boot] [PATCH 4/7] Tegra30: Add arch-tegra30 include files

2012-10-03 Thread Stephen Warren
On 10/03/2012 03:48 PM, Tom Warren wrote: > Stephen, > > On Wed, Oct 3, 2012 at 1:31 PM, Stephen Warren wrote: >> On 10/02/2012 04:45 PM, Tom Warren wrote: >>> Common Tegra files are in arch-tegra, shared between T20 and T30. >>> Tegra30-specific headers are in arch-tegra30. Note that some of >>>

Re: [U-Boot] [PATCH 6/7] Tegra30: Add generic Tegra30 build support

2012-10-03 Thread Stephen Warren
On 10/03/2012 03:56 PM, Tom Warren wrote: > Stephen, > > On Wed, Oct 3, 2012 at 1:38 PM, Stephen Warren wrote: >> On 10/02/2012 04:45 PM, Tom Warren wrote: >>> This patch adds basic Tegra30 (T30) build support - no specific >>> board is targeted. >>> >> >>> diff --git a/board/nvidia/common/board.

[U-Boot] [PATCH v2] Add a command to access the system timer

2012-10-03 Thread Joe Hershberger
Two sub-commands... start and get. * start sets the reference. * get prints out the time since the last start (in "." format). If get is called without start, returns time since boot. Simple way to benchmark an operation: "timer start;;timer get" Signed-off-by: Joe Hershberger --- Changes in v

Re: [U-Boot] mtest: Print dcache state

2012-10-03 Thread Tom Rini
On Mon, Aug 13, 2012 at 12:59:12AM -, Beno??t Th??baudeau wrote: > mtest tests many types of memory accesses in many different conditions. If > dcache is enabled, memory accesses are likely bursts, and some memory accesses > are simply skipped. Hence, mtest results may change depending on dcac

Re: [U-Boot] [PATCH 6/7] Tegra30: Add generic Tegra30 build support

2012-10-03 Thread Tom Warren
Stephen, On Wed, Oct 3, 2012 at 1:38 PM, Stephen Warren wrote: > On 10/02/2012 04:45 PM, Tom Warren wrote: >> This patch adds basic Tegra30 (T30) build support - no specific >> board is targeted. >> > >> diff --git a/board/nvidia/common/board.c b/board/nvidia/common/board.c > >> +#ifdef CONFIG_US

Re: [U-Boot] [PATCH 5/7] Tegra30: Cardhu: Add DT files

2012-10-03 Thread Tom Warren
Stephen, On Wed, Oct 3, 2012 at 1:36 PM, Stephen Warren wrote: > On 10/02/2012 04:45 PM, Tom Warren wrote: >> These are stripped down for bringup, They'll be filled out later >> to match-up with the kernel DT contents, and/or as devices are >> brought up (mmc, usb, spi, etc.). > >> diff --git a/a

Re: [U-Boot] [PATCH 4/7] Tegra30: Add arch-tegra30 include files

2012-10-03 Thread Tom Warren
Stephen, On Wed, Oct 3, 2012 at 1:31 PM, Stephen Warren wrote: > On 10/02/2012 04:45 PM, Tom Warren wrote: >> Common Tegra files are in arch-tegra, shared between T20 and T30. >> Tegra30-specific headers are in arch-tegra30. Note that some of >> these will be filled in as more T30 support is adde

[U-Boot] [PATCH v7] h2200: Add USB CDC ethernet support

2012-10-03 Thread Lukasz Dalek
Add support for ethernet over USB which can be used for e.g. booting process. It works with tftp and dhcp clients code. Signed-off-by: Lukasz Dalek --- Changes for v7: - Removed CONFIG_H2200_USBETH Changes for v6: - Defined only one entire for board Changes for v5: - Surre

Re: [U-Boot] [PATCH 1/2] ext4: Rename block group descriptor table from gd to bgd

2012-10-03 Thread Graeme Russ
Hi Simon, On Oct 4, 2012 6:58 AM, "Simon Glass" wrote: > > Hi Graeme, > > On Wed, Oct 3, 2012 at 1:47 PM, Graeme Russ wrote: > > Hi Simon, > > > > On Oct 4, 2012 6:40 AM, "Simon Glass" wrote: > >> > >> Hi Tom, > >> > >> On Wed, Oct 3, 2012 at 1:04 PM, Tom Rini wrote: > >> > -BEGIN PGP SIGN

[U-Boot] [PATCH v2] ext4: Rename block group descriptor table from gd to bgd

2012-10-03 Thread Simon Glass
On x86 machines gd is unfortunately a #define, so we should avoid using gd for anything. This patch changes uses of gd to bgd so that ext4fs can be used on x86. A better fix would be to remove the #define in x86, but I'm not sure how to do that. Signed-off-by: Simon Glass --- Changes in v2: - Do

  1   2   3   >