Re: [U-Boot] [PATCH V13 01/12] Add cmd_spl command

2012-02-14 Thread Stefano Babic
On 13/02/2012 08:54, Wolfgang Denk wrote: Dear Stefano Babic, In message 1328350963-30989-2-git-send-email-sba...@denx.de you wrote: From: Simon Schwarz simonschwarz...@googlemail.com This adds a spl command to the u-boot. Related config: CONFIG_CMD_CPL activate/deactivate the

Re: [U-Boot] [PATCH] i.MX28: Fix ref_cpu clock setup

2012-02-14 Thread Robert Deliën
Robert, I tested first three patches on my board and it refuses to boot. Why? The problem is in here: io_reg = MXC_IOCLK1 - io; /* Register order is reversed */ I will rework and resubmit the patches 'soon'. I'm a bit numb of reworking and resubmitting and I just received a board to bringup

Re: [U-Boot] [PATCH] i.MX28: Fix ref_cpu clock setup

2012-02-14 Thread Marek Vasut
Robert, I tested first three patches on my board and it refuses to boot. Why? The problem is in here: io_reg = MXC_IOCLK1 - io; /* Register order is reversed */ I will rework and resubmit the patches 'soon'. I'm a bit numb of reworking and resubmitting and I just received a board to

Re: [U-Boot] [PATCH] Remove execute permissions from source files

2012-02-14 Thread Marek Vasut
be nice if we could define git hooks to reject this stuff outright ... Patch is welcome Mike :) Acked-by: Mike Frysinger vap...@gentoo.org -mike ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] mx6: consolidating and extending anadig/analog/anatop register defs

2012-02-14 Thread Marek Vasut
Hi, Wolfgang, -Original Message- From: u-boot-boun...@lists.denx.de [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Wolfgang Grandegger Sent: Monday, February 13, 2012 8:08 PM To: U-Boot Subject: [U-Boot] mx6: consolidating and extending anadig/analog/anatop register defs

Re: [U-Boot] mx6: consolidating and extending anadig/analog/anatop register defs

2012-02-14 Thread Wolfgang Grandegger
Hi Marek, On 02/14/2012 01:37 PM, Marek Vasut wrote: Hi, Wolfgang, -Original Message- From: u-boot-boun...@lists.denx.de [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Wolfgang Grandegger Sent: Monday, February 13, 2012 8:08 PM To: U-Boot Subject: [U-Boot] mx6: consolidating

Re: [U-Boot] mx6: consolidating and extending anadig/analog/anatop register defs

2012-02-14 Thread Wolfgang Grandegger
On 02/14/2012 02:07 PM, Marek Vasut wrote: Hi Marek, On 02/14/2012 01:37 PM, Marek Vasut wrote: Hi, Wolfgang, -Original Message- From: u-boot-boun...@lists.denx.de [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Wolfgang Grandegger Sent: Monday, February 13, 2012 8:08 PM To:

Re: [U-Boot] [PATCH] Remove execute permissions from source files

2012-02-14 Thread Stefano Babic
On 13/02/2012 19:21, Thomas Weber wrote: Signed-off-by: Thomas Weber we...@corscience.de --- 0 files changed, 0 insertions(+), 0 deletions(-) mode change 100755 = 100644 arch/arm/cpu/armv7/imx-common/timer.c mode change 100755 = 100644 drivers/fpga/ivm_core.c mode change 100755 = 100644

Re: [U-Boot] mx6: consolidating and extending anadig/analog/anatop register defs

2012-02-14 Thread Stefano Babic
On 14/02/2012 14:01, Wolfgang Grandegger wrote: Unfortunately, I did not get hold of a RM yet :(. It's still under NDA, I believe. Therefore I will postpone my consolidation activities for the time being. The USB support patch I sent does work, as Dirk confirmed, and therefore I suggest to

Re: [U-Boot] [PATCH] i.MX28: Fix ref_cpu clock setup

2012-02-14 Thread Robert Deliën
Hi Marek, git rebase -i HEAD~3 (if you have the patch you want to rework 3 patches deep) Change pick to the left of the patch to edit Do the change in the file. git add file git rebase --continue submit May be tonight, at my hotel room. Lowering the clock to what ? Down to 137MHz works

Re: [U-Boot] [PATCH] to correct Issue with PowerPc implementation of resetting the watchdog in the decrementer exception handler

2012-02-14 Thread Wolfgang Denk
Dear Eric, please don't top-post / full quote! In message CAOzkcmGNEmMGUvp7ETPTZnWj7ApiMRRD0=7jjg8vxmcnex2...@mail.gmail.com you wrote: Sorry about not being clear in my earlier message. Let me attempt to point out why I think the current code is incorrect. From a systems point of view

Re: [U-Boot] [PATCH] powerpc/85xx:Add PSC9131 RDB Support

2012-02-14 Thread Wolfgang Denk
Dear Prabhakar Kushwaha, In message 1329200040-23039-1-git-send-email-prabha...@freescale.com you wrote: PSC9131RDB is a Freescale reference design board for PSC9131 SoC. PSC9131 SOC is an integrated device that targets Femto base station market. It combines Power Architecture e500v2 and

Re: [U-Boot] mx6: consolidating and extending anadig/analog/anatop register defs

2012-02-14 Thread Marek Vasut
Hi Marek, On 02/14/2012 01:37 PM, Marek Vasut wrote: Hi, Wolfgang, -Original Message- From: u-boot-boun...@lists.denx.de [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Wolfgang Grandegger Sent: Monday, February 13, 2012 8:08 PM To: U-Boot Subject:

Re: [U-Boot] [PATCH v2 2/6] config.mk: Make cc-option create a file under include/generated

2012-02-14 Thread Tom Rini
On Mon, Feb 13, 2012 at 10:43 PM, Mike Frysinger vap...@gentoo.org wrote: On Monday 13 February 2012 18:02:02 Tom Rini wrote: isnt possible with /dev/null. isn't --- a/config.mk +++ b/config.mk -cc-option-sys = $(shell if $(CC) $(CFLAGS) $(1) -S -o /dev/null -xc /dev/null \ -          

[U-Boot] Q: Bad bits in Nand Write

2012-02-14 Thread Ran Shalit
Hello, I am using Micron Nand MT29F1G08ABC , with OMAP-L138 board, and I write the Nand with the following sequence in U-Boot: 1. erase block 2, read complete page change the first byte and then write back the complete page (2048 bytes) 3, read complete page change the next byte and then write

Re: [U-Boot] [PATCH] Remove execute permissions from source files

2012-02-14 Thread Mike Frysinger
On Tuesday 14 February 2012 07:35:56 Marek Vasut wrote: be nice if we could define git hooks to reject this stuff outright ... Patch is welcome Mike :) we'd have to push the hooks in the remote git repos on the denx servers and i don't think devs can access that ... we'd need an admin to

Re: [U-Boot] OMAP USB, beagle-xm fail

2012-02-14 Thread T Krishnamoorthy, Balaji
On Mon, Feb 13, 2012 at 5:16 PM, Patil, Rachna rac...@ti.com wrote: Hi Govindraj, On Mon, Feb 13, 2012 at 14:29:56, Govindraj wrote: Hi Peter, On Mon, Feb 13, 2012 at 1:52 PM, Peter Meerwald pme...@pmeerw.net wrote: Hello, the recent OMAP USB changes

Re: [U-Boot] [PATCH] Remove execute permissions from source files

2012-02-14 Thread Marek Vasut
On Tuesday 14 February 2012 07:35:56 Marek Vasut wrote: be nice if we could define git hooks to reject this stuff outright ... Patch is welcome Mike :) we'd have to push the hooks in the remote git repos on the denx servers and i don't think devs can access that ... we'd need an admin

Re: [U-Boot] [PATCH] Remove execute permissions from source files

2012-02-14 Thread Wolfgang Denk
Dear Marek Vasut, In message 201202141616.46286.marek.va...@gmail.com you wrote: On Tuesday 14 February 2012 07:35:56 Marek Vasut wrote: be nice if we could define git hooks to reject this stuff outright ... Patch is welcome Mike :) we'd have to push the hooks in the remote git

Re: [U-Boot] [STATUS] [ARM]

2012-02-14 Thread Rob Herring
Albert, On 02/12/2012 04:18 AM, Albert ARIBAUD wrote: Hi all, I just did a ./MAKEALL arm with ELDK42 on the u-boot-arm/master for which I just sent a pull request. The raw result is: - SUMMARY Boards compiled: 283 Boards with warnings

Re: [U-Boot] nand: current mainline show new startup output

2012-02-14 Thread Scott Wood
On 02/14/2012 12:38 AM, Heiko Schocher wrote: Hello Scott, Scott Wood wrote: The problem isn't (just) the prints, which have always been there, but when we do the scanning. I suspect this patch accidentally reversed a U-Boot local change to defer bad block scanning to first use. Yes,

[U-Boot] [PATCH v3 0/6] SPL-related documentation / checking

2012-02-14 Thread Tom Rini
Hey all, The following series (v3) is an attempt to make it easier for developers and users to use SPL. At the end of the series, we have filled in some missing CONFIG options for SPL, explained how the sequence works on OMAP3 and similar platforms and added an explanation on how to check stack

[U-Boot] [PATCH v3 1/6] .gitignore: Add .su files

2012-02-14 Thread Tom Rini
The '-fstack-usage' option to gcc will generate .su files, ignore them. Acked-by: Mike Frysinger vap...@gentoo.org Signed-off-by: Tom Rini tr...@ti.com --- .gitignore |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/.gitignore b/.gitignore index e4e95e2..0f32fd8 100644

[U-Boot] [PATCH v3 2/6] config.mk: Make cc-option create a file under include/generated

2012-02-14 Thread Tom Rini
Testing for -fstack-usage requires the creation of an output file, which isn't possible with /dev/null. Signed-off-by: Tom Rini tr...@ti.com --- Changes for v3: - Change to use outputing a file but compiling /dev/null - isnt - isn't (both per Mike Frysinger) --- config.mk |7 +++

[U-Boot] [PATCH v3 3/6] config.mk: Check for -fstack-usage support

2012-02-14 Thread Tom Rini
Acked-by: Mike Frysinger vap...@gentoo.org Signed-off-by: Tom Rini tr...@ti.com --- Changes for v2: - Move check from arch/arm/config.mk to config.mk, reword summary Changes for v3: - Drop trailing comma in cc-option call (per Mike Frysinger) --- config.mk |4 1 files changed, 4

[U-Boot] [PATCH v3 6/6] SPL: Add README.omap3

2012-02-14 Thread Tom Rini
This document describes the SPL process for OMAP3 (and related) boards as well as a partial memory map and how to verify certain aspects outside of running on the target. Signed-off-by: Tom Rini tr...@ti.com --- Changes for v2: - Wording changes from Peter Meerwald --- doc/SPL/README.omap3 |

[U-Boot] [PATCH v3 5/6] README: document more SPL config options

2012-02-14 Thread Tom Rini
Signed-off-by: Tom Rini tr...@ti.com --- Changes for v3: - Better summaru (per Mike Frysinger) - Add more NAND/MMC related options, move CONFIG_SYS_NAND_HW_ECC_OOBFIRST to be with the rest of SPL --- README | 69 ++- 1

[U-Boot] [PATCH v3 4/6] spl.c: Use __noreturn decorator

2012-02-14 Thread Tom Rini
Acked-by: Mike Frysinger vap...@gentoo.org Signed-off-by: Tom Rini tr...@ti.com --- arch/arm/cpu/armv7/omap-common/spl.c |5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/arch/arm/cpu/armv7/omap-common/spl.c b/arch/arm/cpu/armv7/omap-common/spl.c index 9c1f7e3..3a2d957

Re: [U-Boot] [PATCH] Tricorder: Switch env to generic mmc driver

2012-02-14 Thread Tom Rini
On Mon, Feb 13, 2012 at 6:16 AM, Thomas Weber we...@corscience.de wrote: Because the tricorder uses the CONFIG_OMAP_HSMMC the initialization command is mmc rescan and not mmc init. Signed-off-by: Thomas Weber we...@corscience.de ---  include/configs/tricorder.h |    7 ---  1 files

[U-Boot] Please pull u-boot-staging/tr...@ti.com

2012-02-14 Thread Tom Rini
The following changes since commit 9a3aae22edf1eda6326cc51c28631ca5c23b7706: Christian Riesch (1): arm, davinci: Add support for the Calimain board from OMICRON electronics are available in the git repository at: git://git.denx.de/u-boot-staging tr...@ti.com Peter Meerwald (3):

Re: [U-Boot] [PATCH v3 6/6] SPL: Add README.omap3

2012-02-14 Thread Mike Frysinger
On Tuesday 14 February 2012 12:29:41 Tom Rini wrote: +Estimating stack usage +-- isn't this usable for any target and not just omap3 ? +With gcc 4.6 (and later) and the use of GNU cflow it is possible to estimate stack usage at various points in run sequence of SPL. The

Re: [U-Boot] [PATCH v3 6/6] SPL: Add README.omap3

2012-02-14 Thread Tom Rini
On 02/14/2012 11:43 AM, Mike Frysinger wrote: On Tuesday 14 February 2012 12:29:41 Tom Rini wrote: +Estimating stack usage +-- isn't this usable for any target and not just omap3 ? To a degree, yes. If you try this on full u-boot instead it highlights some of the funny

Re: [U-Boot] [PATCH v4 2/9] Rename run_command() to builtin_run_command()

2012-02-14 Thread Simon Glass
Hi Mike, On Sat, Feb 4, 2012 at 7:19 PM, Mike Frysinger vap...@gentoo.org wrote: On Saturday 14 January 2012 01:45:50 Simon Glass wrote: The current run_command() is only one of the options, with hush providing the other. i can't grok this sentence -mike OK I will reword it. Regards,

Re: [U-Boot] [PATCH v4 6/9] Create a single cmd_call() function to handle command execution

2012-02-14 Thread Simon Glass
Hi Mike, On Sat, Feb 4, 2012 at 7:22 PM, Mike Frysinger vap...@gentoo.org wrote: On Saturday 14 January 2012 01:45:54 Simon Glass wrote: --- a/common/command.c +++ b/common/command.c +int cmd_call(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) +{ + int result; +

Re: [U-Boot] [PATCH v4 4/9] Stop using builtin_run_command()

2012-02-14 Thread Simon Glass
Hi Mike, On Sat, Feb 4, 2012 at 7:23 PM, Mike Frysinger vap...@gentoo.org wrote: On Saturday 14 January 2012 01:45:52 Simon Glass wrote: This function is only one of the parser options, so use run_command() instead. It knows how to use hush if selected. i can't grok this either :/ -mike

Re: [U-Boot] [PATCH v4 4/9] Stop using builtin_run_command()

2012-02-14 Thread Simon Glass
Hi Michael, On Sat, Jan 21, 2012 at 8:07 AM, Michael Walle mich...@walle.cc wrote: Hi Simon, Am Samstag 14 Januar 2012, 07:45:52 schrieb Simon Glass: diff --git a/common/cmd_source.c b/common/cmd_source.c index 481241c..32fff5c 100644 --- a/common/cmd_source.c +++

[U-Boot] [PATCH] env: Add the ability to merge the saved env with the default.

2012-02-14 Thread Doug Anderson
This is a useful mechanism any time you have a way to update the saved environment outside of u-boot. This can be a tool like fw_setenv or could be a tool like we use in Chrome OS that modifies the variables in a binary image before flashing (see factory_setup/update_firmware_vars.py in

[U-Boot] do mx28evk/m28evk start with battery?

2012-02-14 Thread lau
Hi all: I want to know whether the git tree of imx support the start from battery like bootstream (power_prep)? Thanks Best Regards, Alex ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] do mx28evk/m28evk start with battery?

2012-02-14 Thread Marek Vasut
Hi all: I want to know whether the git tree of imx support the start from battery like bootstream (power_prep)? No. M Thanks Best Regards, Alex ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] do mx28evk/m28evk start with battery?

2012-02-14 Thread lau
Hi: Will m28evk/mx28evk support start from battery in the future? i.mx28 has power management on chip, and developer can use it instead of external PMIC. BTW, did power management module remove from linux kernel? I can't find it since version 2.6.38. At 2012-02-15 09:10:04,Marek Vasut

[U-Boot] [PATCH v5 0/9] Unified command execution in one place

2012-02-14 Thread Simon Glass
At present two parsers have similar code to execute commands. Also cmd_usage() is called all over the place. This series adds a single function which processes commands called cmd_process(). This new function understands return codes, and in particular CMD_RET_USAGE to indicate a usage error. So

[U-Boot] [PATCH v5 2/9] Rename run_command() to builtin_run_command()

2012-02-14 Thread Simon Glass
The current run_command() is only one of the parsing options - the other is hush. We should not call run_command() when the hush parser is being used. So we rename this function to better explain its purpose. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v4: - Minor comment change

[U-Boot] [PATCH v5 8/9] Add cmd_process() to process commands in one place

2012-02-14 Thread Simon Glass
We currently have the same code in hush.c and main.c. This brings the code into one place. As an added feature, if the command function returns CMD_RET_USAGE then cmd_process() will print a usage message for the command before returning the standard failure code of 1. ARM code size increases

[U-Boot] [PATCH v5 3/9] Rename run_command2() to run_command()

2012-02-14 Thread Simon Glass
This is a more sensible name, so rename it. Signed-off-by: Simon Glass s...@chromium.org --- common/cmd_pxe.c |2 +- common/main.c| 10 +- include/common.h |2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/common/cmd_pxe.c b/common/cmd_pxe.c index

[U-Boot] [PATCH v5 5/9] Don't include standard parser if hush is used

2012-02-14 Thread Simon Glass
This saves about 1KB of code space on ARM with CONFIG_SYS_HUSH_PARSER defined. Signed-off-by: Simon Glass s...@chromium.org --- common/main.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/common/main.c b/common/main.c index 10ee12c..637da2b 100644 --- a/common/main.c

[U-Boot] [PATCH v5 9/9] Convert cmd_usage() calls in common to use a return value

2012-02-14 Thread Simon Glass
Change all files in common/ to use CMD_RET_USAGE instead of calling cmd_usage() directly. This saves about 100 byte or so on ARM. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v2: - Fix minor errors one of which created a warning - Squash i2c patch into the common/ patch Changes in

[U-Boot] [PATCH v5 6/9] Create a single cmd_call() function to handle command execution

2012-02-14 Thread Simon Glass
We should aim for a single point of entry to the commands, whichever parser is used. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v5: - Move cmd_call() prototype inside existing #ifdef __ASSEMBLY__ - Tidy up function comment to bring in changes in a later patch common/command.c

[U-Boot] [PATCH v5 7/9] Remove interleave of non-U-Boot code in hush

2012-02-14 Thread Simon Glass
There is a nasty interleave of #ifdefs in hush.c where the two code paths have different indents. Remove this ickiness. Signed-off-by: Simon Glass s...@chromium.org Acked-by: Mike Frysinger vap...@gentoo.org --- common/hush.c | 24 +++- 1 files changed, 11 insertions(+),

[U-Boot] [PATCH v5 4/9] Stop using builtin_run_command()

2012-02-14 Thread Simon Glass
Boards can select either the 'built-in' parser or the hush parser. We should not call builtin_run_command() if we are using the hush parser. We use run_command() instead, since it knows how to call the correct parser. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v5: - Add function

Re: [U-Boot] [PATCH v4 4/9] Stop using builtin_run_command()

2012-02-14 Thread Simon Glass
Hi Michael, On Tue, Feb 14, 2012 at 2:42 PM, Simon Glass s...@chromium.org wrote: Hi Michael, On Sat, Jan 21, 2012 at 8:07 AM, Michael Walle mich...@walle.cc wrote: Hi Simon, Am Samstag 14 Januar 2012, 07:45:52 schrieb Simon Glass: diff --git a/common/cmd_source.c b/common/cmd_source.c

[U-Boot] [PATCH v5 1/9] Remove CMD_PXE's static on run_command()

2012-02-14 Thread Simon Glass
It really isn't clear why this is here and there is no comment, so drop it. Signed-off-by: Simon Glass s...@chromium.org --- common/main.c|3 --- include/common.h |2 -- 2 files changed, 0 insertions(+), 5 deletions(-) diff --git a/common/main.c b/common/main.c index

[U-Boot] [PATCH 1/2] Add run_command_list() to run a list of commands

2012-02-14 Thread Simon Glass
This new function runs a list of commands separated by semicolon. We move this out of cmd_source so that it can be used by other code. The PXE also uses the new function. Suggested-by: Michael Walle mich...@walle.cc Signed-off-by: Simon Glass s...@chromium.org --- common/cmd_pxe.c| 20

[U-Boot] [PATCH 2/2] Allow newlines within command environment vars

2012-02-14 Thread Simon Glass
The environment variables preboot, bootcmd and menucmd can hold a command to execute. This change permits these variables to have newlines so that they work the same as the 'source' command. Signed-off-by: Simon Glass s...@chromium.org --- common/main.c |6 +++--- 1 files changed, 3

Re: [U-Boot] [PATCH v2 1/8] sandbox: fdt: Add support for CONFIG_OF_CONTROL

2012-02-14 Thread Simon Glass
Hi Mike, On Sun, Jan 22, 2012 at 11:32 PM, Mike Frysinger vap...@gentoo.org wrote: On Monday 23 January 2012 00:27:56 Simon Glass wrote: On Fri, Jan 20, 2012 at 10:54 AM, Mike Frysinger wrote: On Tuesday 10 January 2012 19:45:45 Simon Glass wrote: This adds support for a controlling

Re: [U-Boot] do mx28evk/m28evk start with battery?

2012-02-14 Thread Marek Vasut
Hi: Will m28evk/mx28evk support start from battery in the future? Yes. i.mx28 has power management on chip, and developer can use it instead of external PMIC. BTW, did power management module remove from linux kernel? FSL kernel? No idea, it was never mainline though. M I can't

Re: [U-Boot] [PATCH v2 2/8] sandbox: config: Enable fdt and snprintf() options

2012-02-14 Thread Simon Glass
Hi Mike, On Tue, Jan 24, 2012 at 1:24 PM, Mike Frysinger vap...@gentoo.org wrote: On Monday 23 January 2012 00:30:32 Simon Glass wrote: On Fri, Jan 20, 2012 at 10:54 AM, Mike Frysinger wrote: On Tuesday 10 January 2012 19:45:46 Simon Glass wrote: +#define CONFIG_LMB do we need

Re: [U-Boot] [PATCH 1/5 v2.1] sandbox: add lseek helper

2012-02-14 Thread Simon Glass
On Fri, Feb 3, 2012 at 3:26 AM, Mike Frysinger vap...@gentoo.org wrote: Follow up patches want to be able to seek fd's. Signed-off-by: Mike Frysinger vap...@gentoo.org Acked-by: Simon Glass s...@chromium.org --- v2.1 - fix thinko in os_seek_xxx defines arch/sandbox/cpu/os.c |

Re: [U-Boot] [PATCH 2/2] Allow newlines within command environment vars

2012-02-14 Thread Wolfgang Denk
Dear Simon Glass, In message 1329286030-32560-2-git-send-email-...@chromium.org you wrote: The environment variables preboot, bootcmd and menucmd can hold a command to execute. This change permits these variables to have newlines so that they work the same as the 'source' command.

Re: [U-Boot] [PATCH] sh: i2c: Add support I2C controller of SH7734

2012-02-14 Thread Nobuhiro Iwamatsu
Hi, Thanks for your comment. 2012/2/6 Heiko Schocher h...@denx.de: Hello Nobuhiro, Nobuhiro Iwamatsu wrote: Renesas SH7734 has two I2C interfaceis. This supports these I2C. Signed-off-by: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com ---  drivers/i2c/Makefile        |    1 +  

[U-Boot] [PATCH v2] sh: i2c: Add support I2C controller of SH7734

2012-02-14 Thread Nobuhiro Iwamatsu
Renesas SH7734 has two I2C interfaceis. This supports these I2C. Signed-off-by: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com --- V2: - Changed bit control to use the clr|set|clrsetbits_* functions. - Fix wrong comment style. - Add new line before for loop in i2c_read.

[U-Boot] [PATCH] sh: Add bit control functions

2012-02-14 Thread Nobuhiro Iwamatsu
This provide bit control functions as clrbits_*, setbits_* and clrsetbits_*. Signed-off-by: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com --- arch/sh/include/asm/io.h | 37 + 1 files changed, 37 insertions(+), 0 deletions(-) diff --git

Re: [U-Boot] [PATCH] net: sh_eth: Fix build warnings and whitespace for sh_eth

2012-02-14 Thread Nobuhiro Iwamatsu
Hi, 2012/2/3 Mike Frysinger vap...@gentoo.org: On Friday 03 February 2012 02:30:48 Nobuhiro Iwamatsu wrote: @@ -564,8 +569,10 @@ static int sh_eth_bb_init(struct bb_miiphy_bus *bus)  static int sh_eth_bb_mdio_active(struct bb_miiphy_bus *bus)  { +     int port;       struct sh_eth_dev *eth

Re: [U-Boot] [PATCH] sh: Fix sh7264 clock speed and related serial setting

2012-02-14 Thread Nobuhiro Iwamatsu
Hi, Applied this patch to my repository. Thanks! Nobuhiro 2012/2/13 Phil Edworthy phil.edwor...@renesas.com: The generalised calculation of the serial bit rate reg also applies to sh7264, it was just the clock speed that was set incorrectly. Signed-off-by: Phil Edworthy

Re: [U-Boot] [PATCH v2] sh: i2c: Add support I2C controller of SH7734

2012-02-14 Thread Heiko Schocher
Hello Nobuhiro, Nobuhiro Iwamatsu wrote: Renesas SH7734 has two I2C interfaceis. This supports these I2C. Signed-off-by: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com --- V2: - Changed bit control to use the clr|set|clrsetbits_* functions. - Fix wrong comment style. - Add

Re: [U-Boot] [PATCH] sh: Add bit control functions

2012-02-14 Thread Heiko Schocher
Hello Nobuhiro, Nobuhiro Iwamatsu wrote: This provide bit control functions as clrbits_*, setbits_* and clrsetbits_*. Signed-off-by: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com --- arch/sh/include/asm/io.h | 37 + 1 files changed, 37