[U-Boot] [PATCH] tools: moveconfig: a tool to move CONFIGs from headers to defconfigs

2015-05-14 Thread Masahiro Yamada
This tool was originally written for my local use to ease the task of tons of CONFIG moves, but there have been some requests for mainlining it. So, I have tidied up the code with nicer comments, and here it is. See the comment block of the script for usage. The first draft was

Re: [U-Boot] [PATCH v3 01/10] moveconfig: Actually build autoconf.mk

2015-05-14 Thread Masahiro Yamada
2015-05-14 7:28 GMT+09:00 Joe Hershberger joe.hershber...@ni.com: The existing target won't actually build the needed .mk file that is expected by the rest of the script. It seems that silentoldconfig does not actually cause this to be built any longer. Signed-off-by: Joe Hershberger

Re: [U-Boot] [PATCH v3 05/10] moveconfig: Add a parameter to accept a list to build

2015-05-14 Thread Masahiro Yamada
2015-05-14 7:28 GMT+09:00 Joe Hershberger joe.hershber...@ni.com: This is helpful to re-attempt to move failed boards from a previous run without starting over. Signed-off-by: Joe Hershberger joe.hershber...@ni.com I like this idea, but I have just submitted a new version. Would you mind

Re: [U-Boot] [PATCH v3 08/10] moveconfig: Handle moving multiple configs at once

2015-05-14 Thread Masahiro Yamada
Hi Joe, 2015-05-14 7:28 GMT+09:00 Joe Hershberger joe.hershber...@ni.com: Moving configs is a fairly slow process since each board config must pass through a compiler to evaluate the configs. Also, many configs are related in a way that makes sense to atomically move. Add support to

[U-Boot] [PATCH] imx: ventana: use stack relocation

2015-05-14 Thread Tim Harvey
Certain features we desire require a larger stack than is available by using iRAM (most notably for us, env_mmc). Relocate the stack to DRAM so that we can use these features. Signed-off-by: Tim Harvey thar...@gateworks.com --- board/gateworks/gw_ventana/gw_ventana_spl.c | 3 ---

Re: [U-Boot] [PATCH] am33xx, spl, siemens: enable debug uart output again

2015-05-14 Thread Simon Glass
Hi Heiko, On 14 May 2015 at 04:51, Tom Rini tr...@konsulko.com wrote: On Thu, May 14, 2015 at 12:37:40PM +0200, Heiko Schocher wrote: Hello Tom, Am 06.03.2015 08:24, schrieb Heiko Schocher: Hello Tom, Am 05.03.2015 15:50, schrieb Tom Rini: On Thu, Mar 05, 2015 at 09:46:50AM +0100, Heiko

Re: [U-Boot] [PATCH] imx: ventana: use stack relocation

2015-05-14 Thread Simon Glass
On 14 May 2015 at 07:22, Tim Harvey thar...@gateworks.com wrote: Certain features we desire require a larger stack than is available by using iRAM (most notably for us, env_mmc). Relocate the stack to DRAM so that we can use these features. Signed-off-by: Tim Harvey thar...@gateworks.com ---

Re: [U-Boot] [PATCH v3 02/10] moveconfig: Continue moving even if one board fails

2015-05-14 Thread Masahiro Yamada
2015-05-14 7:28 GMT+09:00 Joe Hershberger joe.hershber...@ni.com: Some compilers are hard to come by or have so few boards they are not worth messing with for this tool. Provide a list that need manual intervention and continue moving the bulk of boards. Signed-off-by: Joe Hershberger

Re: [U-Boot] [PATCH] env_mmc: avoid stack allocation for env

2015-05-14 Thread Tim Harvey
On Wed, May 13, 2015 at 8:22 PM, Simon Glass s...@chromium.org wrote: Hi, On 13 May 2015 at 20:02, Simon Glass s...@chromium.org wrote: Hi, On 13 May 2015 at 16:40, Tim Harvey thar...@gateworks.com wrote: On Wed, May 13, 2015 at 12:58 PM, Tim Harvey thar...@gateworks.com wrote: snip Tom,

Re: [U-Boot] [PATCH V4 2/2] imx: mx27 remove redundant macro

2015-05-14 Thread Fabio Estevam
Hi Peng, On Thu, May 14, 2015 at 7:03 AM, Peng Fan peng@freescale.com wrote: Use common macro in iomux-v3.h, remove redundant macro. This is a bit misleading. mx27 iomux is not compatible to iomux-v3.h at all. Regards, Fabio Estevam ___ U-Boot

Re: [U-Boot] [PATCH v3 08/10] moveconfig: Handle moving multiple configs at once

2015-05-14 Thread Joe Hershberger
Hi Masahiro-san, On Thu, May 14, 2015 at 9:37 AM, Masahiro Yamada yamada.masah...@socionext.com wrote: Hi Joe, 2015-05-14 7:28 GMT+09:00 Joe Hershberger joe.hershber...@ni.com: Moving configs is a fairly slow process since each board config must pass through a compiler to evaluate the

Re: [U-Boot] [PATCH 1/2] sunxi: video: Fix lvds panel support for sun6i+

2015-05-14 Thread Ian Campbell
On Thu, 2015-05-14 at 19:04 +0200, Hans de Goede wrote: We've never tested the lvds panel support on sun6i+ SoCs until now, and unsurprisingly the lvds code needed some fixes to work on my ga10h A33 tablet with lvds panel. This makes the panel on that tablet actually work. Signed-off-by:

Re: [U-Boot] [PATCH 2/2] sunxi: Make dram odt-en configurable through Kconfig for A33 based boards

2015-05-14 Thread Ian Campbell
On Thu, 2015-05-14 at 18:55 +0200, Hans de Goede wrote: +config DRAM_ODT_EN + int sunxi dram odt enable + default 0 + ---help--- + Set this to 1 to enable dram odt (on die termination) Why is this an int rather than a bool? Because it is used directly as an int in the code,

[U-Boot] [PATCH 1/2] sunxi: video: Fix lvds panel support for sun6i+

2015-05-14 Thread Hans de Goede
We've never tested the lvds panel support on sun6i+ SoCs until now, and unsurprisingly the lvds code needed some fixes to work on my ga10h A33 tablet with lvds panel. This makes the panel on that tablet actually work. Signed-off-by: Hans de Goede hdego...@redhat.com ---

Re: [U-Boot] [PATCH v3 04/10] moveconfig: Always run savedefconfig on the moved config

2015-05-14 Thread Joe Hershberger
Hi Masahiro-san. On Thu, May 14, 2015 at 10:15 AM, Masahiro Yamada yamada.masah...@socionext.com wrote: 2015-05-14 7:28 GMT+09:00 Joe Hershberger joe.hershber...@ni.com: This will ensure that the order of the defconfig entries will always match that of the Kconfig files. After one slightly

Re: [U-Boot] [PATCH] nand: mxs_nand_spl: support use of env in SPL

2015-05-14 Thread Scott Wood
On Thu, 2015-05-14 at 08:12 -0700, Tim Harvey wrote: It turns out that this is needed because env_nand.c:readenv() calls nand_read_skip_bad, which uses the mtd layer. For SPL the functionality of readenv() is pretty much already in nand_spl_load_image() so I find if do the following (instead

[U-Boot] [PATCH] env_nand: use nand_spl_load_image for readenv if SPL

2015-05-14 Thread Tim Harvey
The readenv() implementation of env_nand uses the mtd layer which is unnecessary overhead in SPL when we already have a nand_spl_load_image() function that doesn't need it. Using this instead eliminates the need to provide a mtd_read for SPL env as well as reduces code (4KB savings in IMX6 SPL).

Re: [U-Boot] [PATCH 2/2] sunxi: Make dram odt-en configurable through Kconfig for A33 based boards

2015-05-14 Thread Hans de Goede
Hi, On 05/13/2015 09:26 PM, Ian Campbell wrote: On Wed, 2015-05-13 at 17:09 +0200, Hans de Goede wrote: diff --git a/board/sunxi/Kconfig b/board/sunxi/Kconfig index 940b6c7..d4ae6c7 100644 --- a/board/sunxi/Kconfig +++ b/board/sunxi/Kconfig @@ -95,6 +95,14 @@ config DRAM_ZQ ---help---

Re: [U-Boot] [PATCH v3 07/10] moveconfig: Ignore duplicate configs when moving

2015-05-14 Thread Joe Hershberger
Hi Masahiro-san, On Thu, May 14, 2015 at 10:36 AM, Masahiro Yamada yamada.masah...@socionext.com wrote: 2015-05-14 7:28 GMT+09:00 Joe Hershberger joe.hershber...@ni.com: When moving configs, it is important to know what was defined in the config header even if it duplicates the configs coming

[U-Boot] [U-boot] [PATCH] env_nand: simplify readenv()

2015-05-14 Thread Tim Harvey
nand_read_skip_bad() already loops over blocks and handles bad block check so eliminate this redundant logic. Signed-off-by: Tim Harvey thar...@gateworks.com --- common/env_nand.c | 32 ++-- 1 file changed, 6 insertions(+), 26 deletions(-) diff --git

Re: [U-Boot] [PATCH v3 10/10] moveconfig: Add a switch to only cleanup headers

2015-05-14 Thread Joe Hershberger
Hi Masahiro-san, On Thu, May 14, 2015 at 9:51 AM, Masahiro Yamada yamada.masah...@socionext.com wrote: 2015-05-14 7:28 GMT+09:00 Joe Hershberger joe.hershber...@ni.com: In some case you may want to only cleanup the headers. Make it possible without waiting for all boards to compile.

[U-Boot] [PATCH 2/2] sunxi: Add ga10h v1.1 defconfig

2015-05-14 Thread Hans de Goede
The ga10h is an 10 tablet with an A33 or A23 soc, 1G RAM, 8G or 16G nand, sdio wifi, 2 micro usb ports, 1 otg and 1 host and 1 micro sd slot. This commit adds a defconfig for the v1.1 pcb with an a33 soc. Signed-off-by: Hans de Goede hdego...@redhat.com --- board/sunxi/MAINTAINERS | 1 +

Re: [U-Boot] [PATCH V4 2/2] imx: mx27 remove redundant macro

2015-05-14 Thread Simon Glass
Hi, On 14 May 2015 at 09:31, Fabio Estevam feste...@gmail.com wrote: Hi Peng, On Thu, May 14, 2015 at 7:03 AM, Peng Fan peng@freescale.com wrote: Use common macro in iomux-v3.h, remove redundant macro. This is a bit misleading. mx27 iomux is not compatible to iomux-v3.h at all. If

Re: [U-Boot] [PATCH v3 04/10] moveconfig: Always run savedefconfig on the moved config

2015-05-14 Thread Masahiro Yamada
2015-05-14 7:28 GMT+09:00 Joe Hershberger joe.hershber...@ni.com: This will ensure that the order of the defconfig entries will always match that of the Kconfig files. After one slightly painful (but still early in the process) pass over all boards, this should keep the defconfigs clean from

Re: [U-Boot] [PATCH v3 07/10] moveconfig: Ignore duplicate configs when moving

2015-05-14 Thread Masahiro Yamada
2015-05-14 7:28 GMT+09:00 Joe Hershberger joe.hershber...@ni.com: When moving configs, it is important to know what was defined in the config header even if it duplicates the configs coming from Kconfig. tools/moveconfig.py now defines KCONFIG_IGNORE_DUPLICATES to prevent the filtering from

Re: [U-Boot] [PATCH V4 1/2] i2c: mxc: refactor i2c driver and support dm

2015-05-14 Thread Simon Glass
Hi Peng, On 14 May 2015 at 04:03, Peng Fan peng@freescale.com wrote: 1. Introduce a new structure `struct mxc_i2c_bus`, this structure will used for non-DM and DM. 2. Remove `struct mxc_i2c_regs` structure, but use register offset to access registers based on `base` entry of `struct

Re: [U-Boot] [PATCH V4 2/2] imx: mx27 remove redundant macro

2015-05-14 Thread Simon Glass
On 14 May 2015 at 04:03, Peng Fan peng@freescale.com wrote: Use common macro in iomux-v3.h, remove redundant macro. Signed-off-by: Peng Fan peng@freescale.com --- Changes v4: New patch. we include mxc_i2c.h in driver/i2c/mxc_i2c.c in patch 1/2. mxc_i2c.h includes iomux-v3.h.

[U-Boot] [PATCH] vexpress64: let Juno wait for root device

2015-05-14 Thread Linus Walleij
The Juno reference design typically plugs the root FS on a USB stick. We need to wait a bit for the root to appear so tell this on the default command line. Signed-off-by: Linus Walleij linus.wall...@linaro.org --- include/configs/vexpress_aemv8a.h | 1 + 1 file changed, 1 insertion(+) diff

Re: [U-Boot] [PATCH v3 10/10] moveconfig: Add a switch to only cleanup headers

2015-05-14 Thread Masahiro Yamada
2015-05-14 7:28 GMT+09:00 Joe Hershberger joe.hershber...@ni.com: In some case you may want to only cleanup the headers. Make it possible without waiting for all boards to compile. Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- Changes in v3: -New for version 3 Changes in v2:

[U-Boot] [PATCH] arch/arm/lib/bootm-fdt.c: Guard the include of asm/armv7.h

2015-05-14 Thread Tom Rini
With d6b72da0 we started including this file unconditionally. This isn't allowed in a file that we also use on armv8. This will get cleaned up a bit better once we really start using these same features (and have similar fdt updates needed) on armv8. Signed-off-by: Tom Rini tr...@konsulko.com

Re: [U-Boot] [PATCH] nand: mxs_nand_spl: support use of env in SPL

2015-05-14 Thread Tim Harvey
On Wed, May 13, 2015 at 4:38 PM, Scott Wood scottw...@freescale.com wrote: On Fri, 2015-05-08 at 14:39 -0700, Tim Harvey wrote: -int nand_spl_load_image(uint32_t offs, unsigned int size, void *buf) +int mtd_read(struct mtd_info *mtd, loff_t offs, size_t size, size_t *retlen, + uchar

[U-Boot] Uboot 2011-12 watchdog enable build failed

2015-05-14 Thread deepak kumar Pradhan
Hi, Pardon me if I am sending this mail to wrong community. I am new to uboot loader and trying to enable watchdog in uboot for freescale P1020RDB_PC cpu for NAND. I enabled the CONFIG_WATCHDOG flag in include/configs/p1_p2_rdb_pc. h file. When I building the uboot source code i am getting the

[U-Boot] Bug: boot_fdt_add_mem_rsv_regions() can drop upper 32 bits of physical addresses

2015-05-14 Thread Dan Hettena
When phys_addr_t is 32 bits wide, boot_fdt_add_mem_rsv_regions() implicitly uses only the low 32 bits of each memory reservation's address and length to determine what to reserve. So, for example, an FDT memory reservation like /memreserve/ 0x18000 0x4000; will actually reserve

[U-Boot] i.MX53 USB Client not working

2015-05-14 Thread Matthew Starr
I have a custom board loosely based off the i.MX53 QSB with a dedicated USB client port and separate dedicated USB host port. I am trying to get USB client functionality working in mainline u-boot 2015.04. I have verified that USB client/gadget functionality works when booted into Linux on

Re: [U-Boot] [U-boot] [PATCH] env_nand: simplify readenv()

2015-05-14 Thread Scott Wood
On Thu, 2015-05-14 at 11:48 -0700, Tim Harvey wrote: nand_read_skip_bad() already loops over blocks and handles bad block check so eliminate this redundant logic. Signed-off-by: Tim Harvey thar...@gateworks.com --- common/env_nand.c | 32 ++-- 1 file changed, 6

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

2015-05-14 Thread Tom Rini
On Wed, May 13, 2015 at 12:23:01PM -0700, Tom Warren wrote: OK, Tom. Ready to be pulled into U-Boot/master. Thanks! ./MAKEALL -s tegra is OK, nyan-big boots to console OK. The following changes since commit bd328eb38274ffaf04caaa8a6ecc09b7e19a650e: Clean all defconfigs with

Re: [U-Boot] [U-Boot, 2/2] Use map_sysmem when accessing memory in setexpr

2015-05-14 Thread Tom Rini
On Mon, May 11, 2015 at 01:53:13PM -0500, Joe Hershberger wrote: The setexpr command used to segfault when accessing memory in sandbox. The pointer accesses should be mapped. Signed-off-by: Joe Hershberger joe.hershber...@ni.com Cc: Simon Glass s...@chromium.org Reviewed-by: Simon Glass

Re: [U-Boot] [PULL] u-boot-atmel/master - u-boot/master

2015-05-14 Thread Tom Rini
On Wed, May 13, 2015 at 01:04:41PM +0200, Andreas Bießmann wrote: Hi Tom, please pull the following changes into u-boot/master. The following changes since commit bd328eb38274ffaf04caaa8a6ecc09b7e19a650e: Clean all defconfigs with savedefconfig (2015-05-12 18:10:26 -0400) are

Re: [U-Boot] please pull u-boot-arc master

2015-05-14 Thread Tom Rini
On Wed, May 13, 2015 at 04:26:41PM +, Alexey Brodkin wrote: Hi Tom, The following changes since commit bd328eb38274ffaf04caaa8a6ecc09b7e19a650e: Clean all defconfigs with savedefconfig (2015-05-12 18:10:26 -0400) are available in the git repository at:

[U-Boot] [PATCH v2] env_nand: simplify readenv()

2015-05-14 Thread Tim Harvey
nand_read_skip_bad() already loops over blocks and handles bad block check so eliminate this redundant logic. Signed-off-by: Tim Harvey thar...@gateworks.com --- v2: fix limit common/env_nand.c | 32 ++-- 1 file changed, 6 insertions(+), 26 deletions(-) diff --git

Re: [U-Boot] [PATCH v2] env_nand: simplify readenv()

2015-05-14 Thread Scott Wood
On Thu, 2015-05-14 at 14:35 -0700, Tim Harvey wrote: nand_read_skip_bad() already loops over blocks and handles bad block check so eliminate this redundant logic. Signed-off-by: Tim Harvey thar...@gateworks.com --- v2: fix limit common/env_nand.c | 32 ++--

Re: [U-Boot] i.MX53 USB Client not working

2015-05-14 Thread Matthew Starr
It appears that setting CONFIG_MXC_USB_PORT to 0 then loads the OTG port on the i.MX53. The code appears to be in drivers/usb/host/ehci-mx5.c.The problem then is that the USB host port is then not usable since my i.MX53 board dedicates the OTG port to USB client functionality only. Now I

Re: [U-Boot] [PATCH V4 2/2] imx: mx27 remove redundant macro

2015-05-14 Thread Fan Peng
Hi, On 5/15/2015 12:31 AM, Simon Glass wrote: Hi, On 14 May 2015 at 09:31, Fabio Estevam feste...@gmail.com wrote: Hi Peng, On Thu, May 14, 2015 at 7:03 AM, Peng Fan peng@freescale.com wrote: Use common macro in iomux-v3.h, remove redundant macro. This is a bit misleading. mx27

Re: [U-Boot] [PATCH v4] dm: sf: Add Atmel DataFlash spi flash driver

2015-05-14 Thread Wang Haikun
On 5/14/2015 6:50 PM, Jagan Teki wrote: On 14 May 2015 at 14:57, Haikun Wang haikun.w...@freescale.com wrote: Atmel DataFlash chips have commands different from common spi flash commands. Atmel DataFlash also have special page-size. This driver add support for accessing Atmel DataFlash. It

[U-Boot] [PATCH V5 1/2] i2c: mxc: refactor i2c driver and support dm

2015-05-14 Thread Peng Fan
1. Introduce a new structure `struct mxc_i2c_bus`, this structure will used for non-DM and DM. 2. Remove `struct mxc_i2c_regs` structure, but use register offset to access registers based on `base` entry of `struct mxc_i2c_bus`. 3. Remove most `#ifdef I2C_QUIRK_REG`. Using driver_data to

[U-Boot] [PATCH V5 2/2] imx: mx27 move GPIO_PORTx to gpio.h

2015-05-14 Thread Peng Fan
These GPIO_PORTx macros should be in gpio.h, but not in imx-regs.h. Also, imx-regs.h and iomux-v3.h has same macro defintion for GPIO_PORTx, and both of them are included in mxc_i2c.c(include mxc_i2c.h). This will incur build warnings with macro redefinition. Since iomux-v3.h is not compatible

[U-Boot] [PATCH v2] tools: moveconfig: a tool to move CONFIGs from headers to defconfigs

2015-05-14 Thread Masahiro Yamada
This tool was originally written for my local use to ease the task of tons of CONFIG moves, but there have been some requests for mainlining it. So, I have tidied up the code with nicer comments, and here it is. See the comment block of the script for usage. The first draft was

[U-Boot] [PATCH][v3] powerpc/b4860qds:Update README for DIP switch information

2015-05-14 Thread Raghav Dogra
The board manual desribes ON as boolean 1 and OFF as boolean 0. Updating README with correct boolean values. Signed-off-by: Raghav Dogra rag...@freescale.com --- Changes for v2: -Reduced the description -Modified the heading Changes for v3: -Modified the description -Modified the subject

Re: [U-Boot] [PATCH v3 07/10] moveconfig: Ignore duplicate configs when moving

2015-05-14 Thread Masahiro Yamada
Hi Joe, 2015-05-15 3:02 GMT+09:00 Joe Hershberger joe.hershber...@gmail.com: Hi Masahiro-san, On Thu, May 14, 2015 at 10:36 AM, Masahiro Yamada yamada.masah...@socionext.com wrote: 2015-05-14 7:28 GMT+09:00 Joe Hershberger joe.hershber...@ni.com: When moving configs, it is important to know

Re: [U-Boot] [PATCH] am33xx, spl, siemens: enable debug uart output again

2015-05-14 Thread Heiko Schocher
Hello Simon, Am 14.05.2015 14:46, schrieb Simon Glass: Hi Heiko, On 14 May 2015 at 04:51, Tom Rini tr...@konsulko.com wrote: On Thu, May 14, 2015 at 12:37:40PM +0200, Heiko Schocher wrote: Hello Tom, Am 06.03.2015 08:24, schrieb Heiko Schocher: Hello Tom, Am 05.03.2015 15:50, schrieb Tom

[U-Boot] [PATCH v2] arm, imx6: add support for aristainetos2 board

2015-05-14 Thread Heiko Schocher
add support for imx6dl based aristainetos2 board U-Boot 2015.04-rc5-00066-g60f6ed4 (Apr 10 2015 - 08:46:27) CPU: Freescale i.MX6DL rev1.1 at 792 MHz Reset cause: WDOG Board: aristaitenos2 Watchdog enabled I2C: ready DRAM: 1 GiB NAND: 1024 MiB MMC: FSL_SDHC: 0 SF: Detected N25Q128A

Re: [U-Boot] [PATCH] net: phy: Add support for all targets which requires MANUAL_RELOC

2015-05-14 Thread Michal Simek
On 05/13/2015 09:32 PM, Joe Hershberger wrote: Hi Michal, On Wed, May 13, 2015 at 6:40 AM, Michal Simek michal.si...@xilinx.com wrote: Targets with CONFIG_NEEDS_MANUAL_RELOC do not use REL/RELA relocation (mostly only GOT) where functions aray are not updated. This patch is fixing function

[U-Boot] [PATCH 1/1] board: Add Toby-Churchill SL50 board support.

2015-05-14 Thread Enric Balletbo i Serra
Add support for Lightwriter SL50 series board, a small, robust and portable Voice Output Communication Aids (VOCA) designed to meet the particular and changing needs of people with speech loss resulting from a wide range of acquired, progressive and congenital conditions. Signed-off-by: Enric

[U-Boot] [PATCH 0/1] Add Toby-Churchill SL50 board support

2015-05-14 Thread Enric Balletbo i Serra
This patch series adds support for SL50 board based on TI AM335x SoC. Best regards, Enric Balletbo i Serra (1): board: Add Toby-Churchill SL50 board support. arch/arm/Kconfig | 6 + board/tcl/sl50/Kconfig| 34 board/tcl/sl50/MAINTAINERS| 6 +

[U-Boot] [PATCH] powerpc/t1024: update fman liodn for mac1

2015-05-14 Thread Shengzhou Liu
MAC1 acts as 1G/10G dual-role MAC on T1024. We introduce macro SET_FMAN_RX_10G_TYPE2_LIODN for 10G MACs which have same Port ID and same offset of address with 1G MAC. Update it to match with the setting of fman in t1024 device tree, otherwise there is no 'fsl,liodn' in

Re: [U-Boot] [PATCH] am33xx, spl, siemens: enable debug uart output again

2015-05-14 Thread Heiko Schocher
Hello Tom, Am 06.03.2015 08:24, schrieb Heiko Schocher: Hello Tom, Am 05.03.2015 15:50, schrieb Tom Rini: On Thu, Mar 05, 2015 at 09:46:50AM +0100, Heiko Schocher wrote: Hello Tom, Am 05.03.2015 07:22, schrieb Heiko Schocher: Hello Tom, Am 04.03.2015 17:40, schrieb Tom Rini: On Wed, Mar

Re: [U-Boot] [PATCH v4] dm: sf: Add Atmel DataFlash spi flash driver

2015-05-14 Thread Jagan Teki
On 14 May 2015 at 14:57, Haikun Wang haikun.w...@freescale.com wrote: Atmel DataFlash chips have commands different from common spi flash commands. Atmel DataFlash also have special page-size. This driver add support for accessing Atmel DataFlash. It is based on the Driver Model. Example: =

Re: [U-Boot] [PATCH] am33xx, spl, siemens: enable debug uart output again

2015-05-14 Thread Tom Rini
On Thu, May 14, 2015 at 12:37:40PM +0200, Heiko Schocher wrote: Hello Tom, Am 06.03.2015 08:24, schrieb Heiko Schocher: Hello Tom, Am 05.03.2015 15:50, schrieb Tom Rini: On Thu, Mar 05, 2015 at 09:46:50AM +0100, Heiko Schocher wrote: Hello Tom, Am 05.03.2015 07:22, schrieb Heiko

Re: [U-Boot] [PATCH] spl: Correct address in spl_relocate_stack_gd()

2015-05-14 Thread Tom Rini
On Wed, May 13, 2015 at 09:15:21PM -0600, Simon Glass wrote: During the Kconfig conversion one of the changes was missed. CONFIG_SPL_STACK_R should be CONFIG_SPL_STACK_R_ADDR since we want the address. Reported-by: Tim Harvey thar...@gateworks.com Signed-off-by: Simon Glass

[U-Boot] [PATCH] arc: gitignore: ignore ARC DTBs

2015-05-14 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada yamada.masah...@socionext.com --- arch/arc/dts/.gitignore | 1 + 1 file changed, 1 insertion(+) create mode 100644 arch/arc/dts/.gitignore diff --git a/arch/arc/dts/.gitignore b/arch/arc/dts/.gitignore new file mode 100644 index 000..b60ed20 --- /dev/null +++

[U-Boot] [PATCH V4 1/2] i2c: mxc: refactor i2c driver and support dm

2015-05-14 Thread Peng Fan
1. Introduce a new structure `struct mxc_i2c_bus`, this structure will used for non-DM and DM. 2. Remove `struct mxc_i2c_regs` structure, but use register offset to access registers based on `base` entry of `struct mxc_i2c_bus`. 3. Remove most `#ifdef I2C_QUIRK_REG`. Using driver_data to

[U-Boot] [PATCH v4] dm: sf: Add Atmel DataFlash spi flash driver

2015-05-14 Thread Haikun Wang
Atmel DataFlash chips have commands different from common spi flash commands. Atmel DataFlash also have special page-size. This driver add support for accessing Atmel DataFlash. It is based on the Driver Model. Example: = sf probe 1:0 SPI DataFlash: Detected AT45DB021B with page size 264 Bytes,

[U-Boot] [PATCH] ls1021atwr: added deep sleep support in uboot

2015-05-14 Thread Yuantian.Tang
From: Tang Yuantian yuantian.t...@freescale.com Signed-off-by: Tang Yuantian yuantian.t...@freescale.com --- arch/arm/include/asm/arch-ls102xa/immap_ls102xa.h | 4 ++ board/freescale/ls1021atwr/ls1021atwr.c | 68 ++- include/configs/ls1021atwr.h

[U-Boot] [PATCH V4 2/2] imx: mx27 remove redundant macro

2015-05-14 Thread Peng Fan
Use common macro in iomux-v3.h, remove redundant macro. Signed-off-by: Peng Fan peng@freescale.com --- Changes v4: New patch. we include mxc_i2c.h in driver/i2c/mxc_i2c.c in patch 1/2. mxc_i2c.h includes iomux-v3.h. Since iomux-v3.h have some macros which also exists in

[U-Boot] [PATCH v2] README.scrapyard: add entries for dead board, T4240EMU and sc3

2015-05-14 Thread Masahiro Yamada
Follow-up commit 7fc63cca611b (mpc85xx/T4240EMU: Remove T4240EMU board), and commit 27e721564591 (ppc4xx: Remove sc3 board), filling the blank fields. Signed-off-by: Masahiro Yamada yamada.masah...@socionext.com --- Changes in v2: - rebased on commit 4588d61a284 doc/README.scrapyard | 8