[U-Boot] [PATCH 2/4] nds32: Add bitwise operation macros for drivers

2013-06-07 Thread Kuan-Yu Kuo
Add clrbits_* setbits_* clrsetbits_* for peripheral drivers Signed-off-by: Kuan-Yu Kuo Cc: Macpaul Lin --- arch/nds32/include/asm/io.h | 38 ++ 1 file changed, 38 insertions(+) diff --git a/arch/nds32/include/asm/io.h b/arch/nds32/include/asm/io.h index 39

[U-Boot] [PATCH 3/4] nds32: Enable SDIO and EXT2 command support for Andes board

2013-06-07 Thread Kuan-Yu Kuo
Signed-off-by: Kuan-Yu Kuo Cc: Macpaul Lin --- include/configs/adp-ag101.h |2 ++ include/configs/adp-ag101p.h |2 ++ 2 files changed, 4 insertions(+) diff --git a/include/configs/adp-ag101.h b/include/configs/adp-ag101.h index 1b84b04..85dbad2 100644 --- a/include/configs/adp-ag101.h

[U-Boot] [PATCH 4/4] nds32: Enable the function of passing parameters to Linux

2013-06-07 Thread Kuan-Yu Kuo
Add a header file, setup.h, which copy from Linux source code, this file contain structures are used to pass initialisation parameters to Linux. Enable this function on adp-ag101/adp-ag101p target Signed-off-by: Kuan-Yu Kuo Cc: Macpaul Lin --- arch/nds32/include/asm/setup.h | 192 +

[U-Boot] [PATCH 1/4] nds32: Enable two banks of SDRAM on Andes board

2013-06-07 Thread Kuan-Yu Kuo
The original adp-ag101/adp-ag101p initialize only one bank(64MB) by default at boot time, but it is not enough for some application, so increasing to two banks(128M). Signed-off-by: Kuan-Yu Kuo Cc: Macpaul Lin --- arch/nds32/cpu/n1213/ag101/lowlevel_init.S |6 +- board/AndesTech/adp-ag1

Re: [U-Boot] [PATCH 5/8] powerpc: spl: deleted unused symbol CONFIG_SPL_NAND_MINIMAL and introduced new symbol CONFIG_SPL_MINIMAL

2013-06-07 Thread Zhang Ying-B40530
-Original Message- From: Wood Scott-B07421 Sent: Saturday, June 08, 2013 1:21 AM To: Zhang Ying-B40530 Cc: u-boot@lists.denx.de; aflem...@gmail.com; Xie Xiaobo-R63061; Zhang Ying-B40530 Subject: Re: [PATCH 5/8] powerpc: spl: deleted unused symbol CONFIG_SPL_NAND_MINIMAL and introduced

Re: [U-Boot] [U-BOOT] mmc: sdhci: Enable 8-bit bus width only for 3.0 spec onwards

2013-06-07 Thread Simon Glass
Hi, On Wed, May 29, 2013 at 4:42 AM, Jagan Teki wrote: > Any help on this, was this a useful fix. > > Thanks, > Jagan. > > On Mon, May 27, 2013 at 10:49 AM, Jagannadha Sutradharudu Teki > wrote: > > Request for an update on this. > > > > Thanks, > > Jagan. > > > >> -Original Message- > >

Re: [U-Boot] [PATCH v2 06/16] sf: Update sf to support all sizes of flashes

2013-06-07 Thread Simon Glass
Hi Jagan, On Fri, May 31, 2013 at 5:52 AM, Jagannadha Sutradharudu Teki < jagannadha.sutradharudu-t...@xilinx.com> wrote: > Updated the spi_flash framework to handle all sizes of flashes > using bank/extd addr reg facility > > The current implementation in spi_flash supports 3-byte address mode >

Re: [U-Boot] [PATCH] cmd_bootm: Add command line arguments to Plan 9

2013-06-07 Thread Steven Stallion
On Fri, Jun 7, 2013 at 2:57 PM, Wolfgang Denk wrote: > Dear Steven, > > In message > you > wrote: >> >> Hmm. Are you arguing against supporting command line arguments to bootm, or >> that bootm should copy these arguments to bootargs prior to boot? This has >> actually been very useful to test

Re: [U-Boot] [PATCH] cmd_bootm: Add command line arguments to Plan 9

2013-06-07 Thread Wolfgang Denk
Dear Steven, In message you wrote: > > Hmm. Are you arguing against supporting command line arguments to bootm, or > that bootm should copy these arguments to bootargs prior to boot? This has > actually been very useful to test changes without having to update my > bootargs environment variable.

[U-Boot] Please pull u-boot-ti/master

2013-06-07 Thread Tom Rini
Hello, The following changes since commit 3da0e5750b24a9491058df6126c7be577a276c09: arm: factorize relocate_code routine (2013-05-30 20:24:38 +0200) are available in the git repository at: git://git.denx.de/u-boot-ti.git master for you to fetch changes up to 80dd596d1b442ff53dbeb33eccdb8ef

Re: [U-Boot] pull request: u-boot-arm/master

2013-06-07 Thread Tom Rini
On Wed, Jun 05, 2013 at 05:02:02PM +0200, Albert ARIBAUD wrote: > Hello Tom, > > The following changes since commit > 3da0e5750b24a9491058df6126c7be577a276c09: > > arm: factorize relocate_code routine (2013-05-30 20:24:38 +0200) > > are available in the git repository at: > > git://git.den

Re: [U-Boot] Pull request: u-boot-video/master

2013-06-07 Thread Tom Rini
On Thu, Jun 06, 2013 at 12:38:23AM +0200, Anatolij Gustschin wrote: > Hey Tom, > > The following changes since commit 5ed6f447af60aabd2669d913f673793c1ce48f47: > > P1022DS: Set CONFIG_SPL_MAX_SIZE directly (2013-05-03 09:19:43 -0400) > > are available in the git repository at: > > git://gi

Re: [U-Boot] [PATCH] am33xx/omap4+: Move SRAM_SCRATCH_SPACE_ADDR to

2013-06-07 Thread Tom Rini
On Thu, Jun 06, 2013 at 09:19:31AM -0400, Tom Rini wrote: > The location of valid scratch space is dependent on SoC, so move that > there. On OMAP4+ we continue to use SRAM_SCRATCH_SPACE_ADDR. On > am33xx/ti814x we want to use what the ROM defines as "public stack" > which is the area after our

Re: [U-Boot] [PATCH] checkpatch.pl: Add 'printf' to logFunctions

2013-06-07 Thread Tom Rini
On Thu, Jun 06, 2013 at 09:28:49AM -0400, Tom Rini wrote: > Signed-off-by: Tom Rini > --- > tools/checkpatch.pl |1 + > 1 file changed, 1 insertion(+) > > diff --git a/tools/checkpatch.pl b/tools/checkpatch.pl > index 9f23901..896e2bc 100755 > --- a/tools/checkpatch.pl > +++ b/tools/checkpa

Re: [U-Boot] Pull request: nand flash

2013-06-07 Thread Tom Rini
On Thu, Jun 06, 2013 at 11:33:47AM -0500, Scott Wood wrote: > The following changes since commit d6639d10dbfa42dc888f8917012550b632a88959: > > Merge branch 'master' of git://git.denx.de/u-boot-nand-flash (2013-05-31 > 18:28:47 -0400) > > are available in the git repository at: > > > git:/

Re: [U-Boot] [U-Boot, v2] pci: introduce CONFIG_PCI_INDIRECT_BRIDGE option

2013-06-07 Thread Tom Rini
On Thu, May 30, 2013 at 07:06:12AM -, Gabor Juhos wrote: > The pci_indirect.c file is always compiled when > CONFIG_PCI is defined although the indirect PCI > bridge support is not needed by every board. > > Introduce a new CONFIG_PCI_INDIRECT_BRIDGE > config option and only compile indirect

Re: [U-Boot] fdt: remove unaligned access in fdt_fixup_ethernet()

2013-06-07 Thread Tom Rini
On Mon, May 27, 2013 at 06:01:19PM -, Stephen Warren wrote: > Some ARM compilers may emit code that makes unaligned accesses when > faced with constructs such as: > > char mac[16] = "ethaddr"; > > Replace this with a strcpy() call instead to avoid this. strcpy() is > used here, rather than r

Re: [U-Boot] [PATCH] input: Finish simplifing key_matrix_decode_fdt()

2013-06-07 Thread Tom Rini
On Thu, Jun 06, 2013 at 10:49:32AM -0400, Tom Rini wrote: > From: Stephen Warren > > [trini: Applied v1 of the series rather than v2, this commit is the > delta from v1 to v2] > > Signed-off-by: Stephen Warren > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.a

Re: [U-Boot] [PATCHv3 0/6] Falcon boot mode for spl_mmc

2013-06-07 Thread Tom Rini
On Mon, May 13, 2013 at 08:36:24PM +0200, Peter Korsgaard wrote: > This patch series adds falcon boot mode for MMC (raw and FAT), similar to > the existing nand support. > > As an example, it adds falcon boot support for the am335x evm board, which > is the platform that has been used to test the

Re: [U-Boot] generic_board: reduce the redundancy of gd_t struct members

2013-06-07 Thread Tom Rini
On Mon, May 27, 2013 at 12:37:30AM -, Masahiro Yamada wrote: > This commit refactors common/board_f.c and common/board_r.c > in order to delete the dest_addr and dest_addr_sp from > gd_t struct. > > As mentioned as follows in include/asm-generic/global_data.h, > > /* TODO: is this the same

Re: [U-Boot] [PATCH v2] SPL: Makefile: Build a separate autoconf.mk for SPL

2013-06-07 Thread Tom Rini
On Tue, May 28, 2013 at 06:51:47PM -0500, Joel A Fernandes wrote: > SPL defines CONFIG_SPL_BUILD but this does not percolate to the > autoconf.mk Makefile. As a result the build breaks when > CONFIG_SPL_BUILD is used in the board-specific include header file. > With this, there is a possibility o

Re: [U-Boot] [PATCH v2 5/8] sf: winbond: Update the names for W25Q 0x40XX ID's flash parts

2013-06-07 Thread Jagan Teki
On Thu, Jun 6, 2013 at 11:02 AM, Michal Simek wrote: > move this discussion back to mailing list. > > On 06/05/2013 05:56 PM, Jagan Teki wrote: > And are your ok with below representation for common id's parts ? > + .name = "W25Q80BL/W25Q80BV", > +

Re: [U-Boot] [PATCH 5/8] powerpc: spl: deleted unused symbol CONFIG_SPL_NAND_MINIMAL and introduced new symbol CONFIG_SPL_MINIMAL

2013-06-07 Thread Scott Wood
On 06/07/2013 04:25:17 AM, ying.zh...@freescale.com wrote: diff --git a/README b/README index e30e787..fbb50fb 100644 --- a/README +++ b/README @@ -2911,6 +2911,11 @@ FIT uImage format: CONFIG_SPL_INIT_MINIMAL Arch init code should be built for a very small image

Re: [U-Boot] [PATCH] cmd_bootm: Add command line arguments to Plan 9

2013-06-07 Thread Steven Stallion
On Fri, Jun 7, 2013 at 1:16 AM, Wolfgang Denk wrote: > In message ceumhu8u4enqyj3wt3rqyvdzatw...@mail.gmail.com> you wrote: > > > > > Please make this code configurable, so that people who never intend to > > > use Plan 9 do not suffer from the increased code size. > > > > This is already done,

[U-Boot] [PATCH] cfi_flash: Fix detection of 8-bit bus flash devices via address shift

2013-06-07 Thread Jagannadha Sutradharudu Teki
We had a problem detecting 8/16bit flash devices connected only via 8bits to the SoC for quite a while. Commit 239cb9d9 [mtd: cfi_flash: Fix CFI flash driver for 8-bit bus support] finally fixed this 8-bit bus support. But also broke some other boards using this cfi driver. So this patch had to be

Re: [U-Boot] [PATCH v5 0/7] Add cros-ec protocol driver and enable it in smdk5250

2013-06-07 Thread Tom Rini
On Wed, May 15, 2013 at 06:27:27PM +0800, Hung-ying Tyan wrote: > This patch series adds the drivers for the cros-ec protocol that is used to > communicate with the Chrome OS Embedded Controller (EC). The series also > enables > its use in Google Snow which is based on smdk5250. > > The last pat

[U-Boot] [PATCH v2 2/2] exynos5250: arndale: Add mmc support

2013-06-07 Thread Inderpal Singh
This patch adds mmc support to the arndale board. Signed-off-by: Inderpal Singh --- board/samsung/arndale/arndale.c | 14 ++ board/samsung/dts/exynos5250-arndale.dts | 18 ++ 2 files changed, 32 insertions(+) diff --git a/board/samsung/arndale/arndale.c

[U-Boot] [PATCH v2 0/2] Add Arndale board support

2013-06-07 Thread Inderpal Singh
The Arndale board is based on samsung's exynos5250 SOC. This patchset depends on basic clean up patch at [1]. First patch provides the basic arndale board support. The second patch adds the MMC support to arndale and it depends on the first 6 patches of [2] for dwmmc support. Changes in v2:

[U-Boot] [PATCH v2] exynos5250: remove redundant SPI and PMIC related configs

2013-06-07 Thread Inderpal Singh
They have been defined once already. Hence remove the redundant definitions. Signed-off-by: Inderpal Singh --- v1 was posted as the first patch of [1] Changes in v2: - split from the patchset at [1] - removed redundant configs for PMIC - rebased to latest u-boot-samsung m

[U-Boot] [PATCH v2] exynos5250: move board specific configs to board specific config file

2013-06-07 Thread Inderpal Singh
Not all boards based on exynos5250 have SPI flash, same serial port and might not require display and the same lds script. Hence move them to board specific config file. Signed-off-by: Inderpal Singh --- v1 was posted as the second patch of [1] Changes in v2: - split from the patchset at

[U-Boot] [PATCH] Origen: Set FIMD as the default display path

2013-06-07 Thread Tushar Behera
On EXYNOS4210, there are three paths for display data to be processed, namely MIE, MDNIE and FIMD. On Origen board, FIMD display controller is used. Signed-off-by: Tushar Behera --- This patch is rebased on master branch of u-boot-samsung tree. board/samsung/origen/lowlevel_init.S | 13 ++

Re: [U-Boot] [PATCH 0/3] Add Arndale board support

2013-06-07 Thread Inderpal Singh
Dear Minkyu Kang, Thanks for the comments. On 21 May 2013 18:23, Minkyu Kang wrote: > On 26/03/13 18:37, Inderpal Singh wrote: > > The Arndale board is based on samsung's exynos5250 SOC. > > > > First patch just removes the redundant SPI configs from common exynos5250 > > config file. Second p

[U-Boot] [PATCH] Origen: Set FIMD as the default display path

2013-06-07 Thread Tushar Behera
On EXYNOS4210, there are three paths for display data to be processed, namely MIE, MDNIE and FIMD. On Origen board, FIMD display controller is used. Signed-off-by: Tushar Behera --- This patch is rebased on master branch of u-boot-samsung tree. board/samsung/origen/lowlevel_init.S | 13 ++

Re: [U-Boot] [PATCH 4/6] ARM: add SMP support for non-secure switch

2013-06-07 Thread TigerLiu
Hi, experts: Do these patch code exist in current u-boot code base? Or, i have to download linaro version uboot? Best wishes, -邮件原件- 发件人: u-boot-boun...@lists.denx.de [mailto:u-boot-boun...@lists.denx.de] 代表 Andre Przywara 发送时间: 2013年5月31日 17:33 收件人: Christoffer Dall 抄送: geoff.lev...@lin

[U-Boot] [PATCH] ARM: DRA7: Add Maintainer

2013-06-07 Thread Lokesh Vutla
Adding Maintainer for DRA7xx. Signed-off-by: Lokesh Vutla --- MAINTAINERS |4 1 file changed, 4 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index d86f0f1..2f4ea84 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -960,6 +960,10 @@ Hugo Villeneuve SFFSDR ARM926E

[U-Boot] [PATCH 2/8 v2] powerpc/mpc85xx: modify the functionality clear_bss and aligning the end address of the BSS

2013-06-07 Thread ying.zhang
From: Ying Zhang There will clear the BSS in the function clear_bss(), the reset address of the BSS started from the __bss_start, and increased by four-byte increments, finally stoped depending on the address is equal to the _bss_end. If the end address __bss_end is not alignment to 4byte, it wil

[U-Boot] [PATCH 8/8] powerpc/p1022ds: boot from spi flash with SPL

2013-06-07 Thread ying.zhang
From: Ying Zhang Support to boot from spi flash. This patch is on top of the patch: powerpc/p1022ds: boot from SD Card with SPL Signed-off-by: Ying Zhang --- board/freescale/p1022ds/spl.c | 12 +- drivers/mtd/spi/Makefile |1 + drivers/mtd/spi/fsl_espi_spl.c | 79 ++

[U-Boot] [PATCH 6/8 v2] spl: env_common.c: make CONFIG_SPL_BUILD contain function env_import

2013-06-07 Thread ying.zhang
From: Ying Zhang The functionality env_import will be used in the SPL. They had been excluded by ifndef CONFIG_SPL_BUILD. Now, put it into the SPL. Signed-off-by: Ying Zhang --- Compared with the previous version, split into two separate patches. this pactch only enables function env_import in

[U-Boot] [PATCH 5/8] powerpc: spl: deleted unused symbol CONFIG_SPL_NAND_MINIMAL and introduced new symbol CONFIG_SPL_MINIMAL

2013-06-07 Thread ying.zhang
From: Ying Zhang 1. The symbol CONFIG_SPL_NAND_MINIMAL is unused, so deleted it. 2. Introduced a new symbol CONFIG_SPL_MINIMAL: It is different from the common SPL. If set, only a tiny part code of the SPL is built and to avoid unreferenced functions. For example: mpc85xx nand SPL. It bel

Re: [U-Boot] TFTP timeouts, i.mx fec problem?

2013-06-07 Thread Eric Bénard
Hi Ruud, Le Fri, 7 Jun 2013 11:28:54 +0200, Ruud Commandeur a écrit : > I have not come any further yet in finding the real cause. For now, I just > tested with workarounds like lowering the ARP timeout and skipping the phy > reset (or only reset for the 1st transfer). Note that also the phy re

[U-Boot] Booting ELF image of Integrity on p2041rdb using u-boot

2013-06-07 Thread Zvi Vered
Hello, According to "README" in /board/freescale/p2041rdb there are 2 files I should burn except uboot.bin: rcw.bin ucode.bin I tried to google those file names and found nothing. 1. Can you tell (a link will be great) what is the purpose of those files ? How should I create them ? Using

Re: [U-Boot] TFTP timeouts, i.mx fec problem?

2013-06-07 Thread Ruud Commandeur
Hi Fabio, I have not come any further yet in finding the real cause. For now, I just tested with workarounds like lowering the ARP timeout and skipping the phy reset (or only reset for the 1st transfer). Note that also the phy reset and waiting for "link-up" takes about 2 seconds every time. I

Re: [U-Boot] [PATCH] cmd_bootm: Add command line arguments to Plan 9

2013-06-07 Thread Wolfgang Denk
Dear Steven, please always keep the mailing list on Cc: - this is especially important for patch reviews, where such messages need to be picked up for patchwork, too. In message you wrote: > > > Please make this code configurable, so that people who never intend to > > use Plan 9 do not suffer

Re: [U-Boot] pull request for u-boot-tegra/master into ARM/master

2013-06-07 Thread Albert ARIBAUD
Hi Tom, On Thu, 6 Jun 2013 09:30:51 -0700, Tom Warren wrote: > Albert, > > Please pull u-boot-tegra/master into ARM/master. Thanks! > > ./MAKEALL -s tegra AOK, checkpatch.pl is clean. > > The following changes since commit 4596dcc1d4ea5763e0f92cf5becd9fc7d4c6e674: > > am33xx/omap: Move sav

[U-Boot] [u-boot V4] spi/arm-pl022: Add support for ARM PL022 spi controller

2013-06-07 Thread Armando Visconti
This patch adds the support for the ARM PL022 SPI controller for the standard variant (0x00041022), which has a 16bit wide and 8 locations deep TX/RX FIFO. Signed-off-by: Armando Visconti Signed-off-by: Vipin Kumar Acked-by: Stefan Roese --- v3->v4 Just removed all warnings when running checkpa

Re: [U-Boot] dfu: make data buffer size configurable

2013-06-07 Thread Wolfgang Denk
Dear Heiko, In message <51b17815.8060...@denx.de> you wrote: > > and I see no longer the above error! So I see two solutions > for my problem: > > - make DFU_DATA_BUF_SIZE in U-Boot smaller or configurable > - make the timeout in dfu-util bigger or configurable I think we have just learned that

Re: [U-Boot] [PATCH] cmd_bootm: Add command line arguments to Plan 9

2013-06-07 Thread Wolfgang Denk
Dear Steven Stallion, In message <1370563140-31368-1-git-send-email-sstall...@gmail.com> you wrote: > This patch introduces support for command line arguments to Plan 9. > Plan 9 generally dedicates a small region of kernel memory (known > as CONFADDR) for runtime configuration. A new environment

Re: [U-Boot] uboot ERROR nfs: Cannot umount error

2013-06-07 Thread Wolfgang Denk
Dear jinghui shi, please, can you post your messages just _once_ ? Thanks. In message you wrote: > > if there is a "Cannot umount" error(NetState = NETLOOP_FAIL), the net > core does not call the "halt" function of the driver, > that means the ethernet driver is still working. But before the

Re: [U-Boot] [PATCH 1/2] mx28evk: Convert to PHYLIB

2013-06-07 Thread Stefano Babic
On 07/06/2013 02:25, Fabio Estevam wrote: > Hi Stefano, > > On Thu, Jun 6, 2013 at 9:04 PM, Fabio Estevam wrote: >> From: Fabio Estevam >> >> Phylib framework is more appropriate for handling the PHYs, so let's use it >> on mx28evk. >> >> Signed-off-by: Fabio Estevam > > Please discard this on