Re: [U-Boot] Porting a freescale sabrelite-like board to master ?

2014-02-24 Thread Yan, Miao
Hi Eric Are you referring to **another** manufacturer? We have support for SABRE Lite in main-line and are actively maintaining it. What about i.MX6DL SABRE Auto ? Is it in main-line too ? If yes, which config file should I use ? By looking at boards.cfg, I could find mx6qsabreauto,

Re: [U-Boot] [PATCH v2 1/2] nand/denali: Adding Denali NAND driver support

2014-02-24 Thread Masahiro Yamada
Hello Michal, These files were imported from Linux Kernel. (drivers/mtd/nand/denali.[ch]) I guess Chin does not want to change the code unless it is really necessary. (And I like this way. We can easily find which parts were adjusted by diffing.) But, good catch! I think your feedback is

Re: [U-Boot] [PATCH v2 1/2] nand/denali: Adding Denali NAND driver support

2014-02-24 Thread Michal Simek
Hi Masahiro. On 02/24/2014 09:06 AM, Masahiro Yamada wrote: Hello Michal, These files were imported from Linux Kernel. (drivers/mtd/nand/denali.[ch]) then they should be fixed too. Or better fix kernel driver first and then add these changes to u-boot. Checkpatch in the u-boot is just the

Re: [U-Boot] [PATCH V2 05/12] board:samsung:common: remove unused max77686 init function

2014-02-24 Thread Minkyu Kang
On 24/02/14 15:39, Piotr Wilczek wrote: Dear Minkyu Kang, -Original Message- From: Minkyu Kang [mailto:mk7.k...@samsung.com] Sent: Saturday, February 22, 2014 8:38 AM To: Rajeshwari Birje; Piotr Wilczek; Rajeshwari S Shinde Cc: Jaehoon Chung; u-boot@lists.denx.de; Kyungmin Park

[U-Boot] [PATCH v2 2/6] zynq: Do not use SPL OF initialization

2014-02-24 Thread Michal Simek
Disable CONFIG_OF_CONTROL for SPL compilation. Signed-off-by: Michal Simek michal.si...@xilinx.com --- Changes in v2: - Do not init SPL from DTB - not supported now - New patch in this series include/configs/zynq-common.h | 1 + 1 file changed, 1 insertion(+) diff --git

[U-Boot] [PATCH v2 4/6] mmc: zynq: Add OF initialization support

2014-02-24 Thread Michal Simek
Enable initialize sdhci from DTB. Signed-off-by: Michal Simek michal.si...@xilinx.com --- Changes in v2: None arch/arm/include/asm/arch-zynq/sys_proto.h | 1 + drivers/mmc/zynq_sdhci.c | 29 + 2 files changed, 30 insertions(+) diff --git

[U-Boot] [PATCH v2 1/6] net: emaclite: Fix OF initialization

2014-02-24 Thread Michal Simek
- Add xilinx_emaclite_of_init to netdev.h - Remove global data pointer from the driver - Add better handling for error state. Signed-off-by: Michal Simek michal.si...@xilinx.com --- Changes in v2: - Remove bis parameter which was causing compilation error drivers/net/xilinx_emaclite.c | 17

[U-Boot] [PATCH v2 5/6] zynq: Add OF ram initialization support

2014-02-24 Thread Michal Simek
Read ram size directly from DTB. Signed-off-by: Michal Simek michal.si...@xilinx.com --- Changes in v2: None board/xilinx/zynq/board.c | 22 +- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/board/xilinx/zynq/board.c b/board/xilinx/zynq/board.c index

[U-Boot] [PATCH v2 3/6] net: gem: Add OF initialization support

2014-02-24 Thread Michal Simek
Gem can be directly initialized from DTB. Signed-off-by: Michal Simek michal.si...@xilinx.com --- Changes in v2: None drivers/net/zynq_gem.c | 42 ++ include/netdev.h | 1 + 2 files changed, 43 insertions(+) diff --git a/drivers/net/zynq_gem.c

[U-Boot] [PATCH v2 6/6] serial: zynq: Add OF initialization support

2014-02-24 Thread Michal Simek
Add console selection from DTB which is enough to have OF driven solution. Signed-off-by: Michal Simek michal.si...@xilinx.com --- Changes in v2: None drivers/serial/serial_zynq.c | 28 1 file changed, 28 insertions(+) diff --git a/drivers/serial/serial_zynq.c

[U-Boot] [PATCH] kbuild: fix SPL link bug when USE_PRIVATE_LIBGCC is yes

2014-02-24 Thread Masahiro Yamada
Commit 6825a95 (kbuild: use Linux Kernel build scripts) changed the behavior of linkage when USE_PRIAVATE_LIBGCC is defined as yes. (It dropped arch/arm/lib/eabi_compat.o from the target library.) Affected boards are all Tegra boards. This commit gets back the same behavior as before Kbuild

Re: [U-Boot] [PATCH v2 03/15] kbuild: move asm-offsets.h rules to ./Kbuild

2014-02-24 Thread Masahiro Yamada
Hello Wolfgang, Can we use here documents in cases like this, so the number of shell command executions could be greatly reduced? Does something like this work? define cmd_generic-offsets\ cat _END_ $@\ #ifndef __GENERIC_ASM_OFFSETS_H__ \ #define

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

2014-02-24 Thread Albert ARIBAUD
Hi Tom, On Fri, 21 Feb 2014 14:16:45 -0500, Tom Rini tr...@ti.com wrote: Hey, The following changes since commit 3e11350255d9c5d4bd03c2a65769da84c05d3294: Merge branch 'u-boot/master' into 'u-boot-arm/master' (2014-02-20 13:16:05 +0100) are available in the git repository at:

[U-Boot] [PATCH] power: fix: Do not execute pmic command when not all necessary parameters are passed

2014-02-24 Thread Lukasz Majewski
Lack of this check resulted in a data abort when CPU tried to execute the following command (without further mandatory input): 'pmic MAX77686_PMIC'. Only the 'pmic list' command requires one passed parameter. Other require at least two valid parameters for correct operation. Signed-off-by:

[U-Boot] [PATCH] x86: coreboot: delete unused coreboot/config.mk

2014-02-24 Thread Masahiro Yamada
HOSTCFLAGS_autoconf.mk.dep was added by commit 422322f but it has never been used. Cc: Vadim Bendebury vben...@chromium.org Cc: Simon Glass s...@chromium.org Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- Hello Vadim, Simon. I cannot understand what the hell this macro is used

[U-Boot] [PATCH] arm: delete unused macro CONFIG_ARCH_DEVICE_TREE

2014-02-24 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Cc: Tom Warren twar...@nvidia.com Cc: Stephen Warren swar...@nvidia.com Cc: Rajeshwari Birje rajeshwar...@samsung.com Cc: Inderpal Singh inderpal.si...@linaro.org --- Hi. I grepped the whole tree and found

[U-Boot] [PATCH 2/2] kbuild: Move linker sciript check to prepare1

2014-02-24 Thread Masahiro Yamada
Same as the previous commit. Move sanity check to prepare1 target to avoid nasty troubles. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- Makefile | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index fffeb7e..b034a36 100644 ---

[U-Boot] [PATCH 0/2] Kbuild: Fix a false error of sanity check

2014-02-24 Thread Masahiro Yamada
Masahiro Yamada (2): kbuild: Fix a false error of generic board support kbuild: Move linker sciript check to prepare1 Makefile | 22 +++--- 1 file changed, 11 insertions(+), 11 deletions(-) -- 1.8.3.2 ___ U-Boot mailing list

[U-Boot] [PATCH 1/2] kbuild: Fix a false error of generic board support

2014-02-24 Thread Masahiro Yamada
Before this commit, make terminated with an error where it shouldn't under some condition. This bug happened when we built a board unsupporting generic board right after building with generic board. For example, the following sequence failed. (harmony uses generic board but microblaze-generic

Re: [U-Boot] [PATCH] arm64 patch: gicv3 support

2014-02-24 Thread FengHua
-Original Messages- From: Albert ARIBAUD albert.u.b...@aribaud.net Sent Time: 2014-02-22 00:38:05 (Saturday) To: feng...@phytium.com.cn Cc: u-boot@lists.denx.de, tr...@ti.com Subject: Re: [PATCH] arm64 patch: gicv3 support Hi feng...@phytium.com.cn, On Wed, 15 Jan 2014

[U-Boot] [PATCH] boards.cfg: Keep arc entries sorted

2014-02-24 Thread Fabio Estevam
Run tools/reformat.py -i -d '-' -s 8 boards.cfg boards0.cfg mv boards0.cfg boards.cfg in order to keep arc entries sorted. Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- boards.cfg | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/boards.cfg b/boards.cfg

Re: [U-Boot] [linux-sunxi] Re: [PATCH v2 3/3] ahci: provide sunxi SATA driver using AHCI platform framework

2014-02-24 Thread Ian Campbell
On Thu, 2014-02-20 at 14:06 -0600, Rob Herring wrote: On Thu, Feb 20, 2014 at 10:06 AM, Ian Campbell i...@hellion.org.uk wrote: On Thu, 2014-02-20 at 09:24 -0600, Rob Herring wrote: +#define AHCI_PHYCS0R 0x00c0 +#define AHCI_PHYCS1R 0x00c4 +#define AHCI_PHYCS2R 0x00c8 [...]

Re: [U-Boot] [RFC] [PATCH] rewrite doc/README.arm-unaligned-accesses

2014-02-24 Thread Tom Rini
On Sat, Feb 22, 2014 at 01:17:50PM +0100, Albert ARIBAUD wrote: [snip] Again -- I do insist -- I understand your viewpoint, which is that compilers can always be made to produce correct code from packed structs with unaligned fields, therefore such unaligned fields are not a problem and we

[U-Boot] [Regression][ext4] Regression at EXT4 filesystem code

2014-02-24 Thread Lukasz Majewski
Dear All, In the newest master u-boot (SHA1: 1674df60d17e0e72396c961d5390bb62b184ad95) I've found a regression with writing to EXT4 file system: Writing uImage to ext4 partition - created with Debian's mkfs.ext4 /dev/sdd2 (size 58M) dfu-util -R -a2 -D arch/arm/boot/uImage uImage size - 4.8

Re: [U-Boot] [PATCH v2] part_efi: fix protective mbr struct allocation

2014-02-24 Thread Lukasz Majewski
Hi Tom, The calloc() call was allocating space for the sizeof the struct pointer rather than for the struct contents. Besides, since this buffer is passed to mmc for writing and some platforms may use cache, the legacy_mbr struct should be cache-aligned. Is there any problem with this

Re: [U-Boot] [PATCH v2] part_efi: fix protective mbr struct allocation

2014-02-24 Thread Tom Rini
On Mon, Feb 24, 2014 at 04:46:05PM +0100, Lukasz Majewski wrote: Hi Tom, The calloc() call was allocating space for the sizeof the struct pointer rather than for the struct contents. Besides, since this buffer is passed to mmc for writing and some platforms may use cache, the

Re: [U-Boot] [PATCH V2] disk:efi: avoid unaligned access on efi partition

2014-02-24 Thread Lukasz Majewski
Hi Tom, -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 02/19/2014 10:03 AM, Tom Rini wrote: On 02/19/2014 09:56 AM, Hector Palacios wrote: On 01/28/2014 01:46 PM, Piotr Wilczek wrote: This patch fixes part_efi code to avoid unaligned access exception on some ARM platforms.

Re: [U-Boot] [PATCH v4 2/2] ventana: Add Gateworks Ventana family support

2014-02-24 Thread Fabio Estevam
Hi Stefano, On Wed, Feb 19, 2014 at 10:19 AM, Tom Rini tr...@ti.com wrote: I see now in patchworks that PF100's patch is assigned to Tom - this makes sense because it is not strictly i.MX code. I can apply it myself if Tom agrees. Go ahead and take it, thanks! Will PF100 PMIC support enter

Re: [U-Boot] [PATCH v4 2/2] ventana: Add Gateworks Ventana family support

2014-02-24 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 02/24/2014 11:09 AM, Fabio Estevam wrote: Hi Stefano, On Wed, Feb 19, 2014 at 10:19 AM, Tom Rini tr...@ti.com wrote: I see now in patchworks that PF100's patch is assigned to Tom - this makes sense because it is not strictly i.MX code. I can

Re: [U-Boot] [PATCH V2] disk:efi: avoid unaligned access on efi partition

2014-02-24 Thread Tom Rini
On Mon, Feb 24, 2014 at 04:56:57PM +0100, Lukasz Majewski wrote: Hi Tom, -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 02/19/2014 10:03 AM, Tom Rini wrote: On 02/19/2014 09:56 AM, Hector Palacios wrote: On 01/28/2014 01:46 PM, Piotr Wilczek wrote: This patch fixes part_efi

Re: [U-Boot] [Regression][ext4] Regression at EXT4 filesystem code

2014-02-24 Thread Ionut Nicu
Hi, On 24.02.2014 16:13, ext Lukasz Majewski wrote: Dear All, In the newest master u-boot (SHA1: 1674df60d17e0e72396c961d5390bb62b184ad95) I've found a regression with writing to EXT4 file system: Writing uImage to ext4 partition - created with Debian's mkfs.ext4 /dev/sdd2 (size

Re: [U-Boot] [PATCH] powerpc/t104xrdb: Update DDR initialization related settings

2014-02-24 Thread York Sun
On 02/21/2014 03:27 AM, Priyanka Jain wrote: @@ -62,11 +60,18 @@ static const struct board_specific_parameters udimm0[] = { * num| hi| rank| clk| wrlvl | wrlvl | wrlvl | cpo |wrdata|2T * ranks| mhz| GB |adjst| start | ctl2| ctl3 | |delay | */ -

Re: [U-Boot] [PATCH] board/t104xRDB:remove CONFIG_SYS_FLASH_USE_BUFFER_WRITE for NOR

2014-02-24 Thread York Sun
On 02/20/2014 03:25 AM, Prabhakar Kushwaha wrote: Micron NOR flash present on T1040RDB and T1042RDB_PI do not support write read command running at same time. CONFIG_SYS_FLASH_USE_BUFFER_WRITE reads NOR flash before performing write. So, remove CONFIG_SYS_FLASH_USE_BUFFER_WRITE

Re: [U-Boot] [PATCH] arm: delete unused macro CONFIG_ARCH_DEVICE_TREE

2014-02-24 Thread Stephen Warren
On 02/24/2014 05:45 AM, Masahiro Yamada wrote: Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Commit description? Acked-by: Stephen Warren swar...@nvidia.com FWIW, this config option was used prior to: 8ad723acd7e9 dts/Makefile: don't define ARCH_CPU_DTS, BOARD_DTS 6e8e0311ccc7 dt:

[U-Boot] u-boot.dtb vs. dts/dt.dtb output filename, also O= vs BUILD_DIR=

2014-02-24 Thread Stephen Warren
Masahiro, Prior the to kbuild conversion, U-Boot used to produce file u-boot.dtb in the root of the object tree. Now it doesn't, but I think puts the same file in dts/dt.dtb instead. Was this a deliberate change? We have some flashing utilities that build U-Boot, then copy this result file. This

Re: [U-Boot] [PATCH] kbuild: fix SPL link bug when USE_PRIVATE_LIBGCC is yes

2014-02-24 Thread Stephen Warren
On 02/24/2014 04:44 AM, Masahiro Yamada wrote: Commit 6825a95 (kbuild: use Linux Kernel build scripts) changed the behavior of linkage when USE_PRIAVATE_LIBGCC is defined as yes. (It dropped arch/arm/lib/eabi_compat.o from the target library.) Affected boards are all Tegra boards. This

Re: [U-Boot] [PATCH v2 3/7] usb: eth: introduce support for Moschip USB ethernet

2014-02-24 Thread Marek Vasut
On Sunday, February 23, 2014 at 09:16:20 PM, Gerhard Sittig wrote: On Mon, Feb 17, 2014 at 21:57 +0100, Marek Vasut wrote: On Monday, February 17, 2014 at 08:35:23 PM, Gerhard Sittig wrote: [...] +int mcs7830_eth_get_info(struct usb_device *dev, struct ueth_data *ss, +

Re: [U-Boot] [PATCH v8 03/14] yaffs: Remove private list implementation

2014-02-24 Thread Marek Vasut
On Monday, February 17, 2014 at 11:06:37 PM, Simon Glass wrote: U-Boot already has a list implementation, and files which include both that and the yaffs implementation will get errors: In file included from ydirectenv.h:80:0, from yportenv.h:81, from

Re: [U-Boot] [RFC PATCH 1/3] add file with a default boot environment based heavily on Stephen Warrens recent tegra work.

2014-02-24 Thread Stephen Warren
On 02/22/2014 01:20 AM, Dennis Gilmore wrote: On Wed, 19 Feb 2014 10:40:15 -0700 Stephen Warren swar...@wwwdotorg.org wrote: On 02/17/2014 10:56 AM, Dennis Gilmore wrote: diff --git a/include/config_distro_bootcmd.h +#define BOOTCMDS_COMMON \ + rootpart=1\0 \ We should really stop

Re: [U-Boot] [PATCH v4 3/3] usb: tegra: combine header file

2014-02-24 Thread Stephen Warren
On 02/22/2014 01:53 PM, Stefan Agner wrote: Combine the Tegra USB header file into one header file for all SoCs. Use ifdef to account for the difference, especially Tegra20 is quite different from newer SoCs. This avoids duplication especially between Tegra30 and newer devices. Reviewed-by:

Re: [U-Boot] [PATCH v8 03/14] yaffs: Remove private list implementation

2014-02-24 Thread Simon Glass
Hi Marek, On 24 February 2014 09:54, Marek Vasut ma...@denx.de wrote: On Monday, February 17, 2014 at 11:06:37 PM, Simon Glass wrote: U-Boot already has a list implementation, and files which include both that and the yaffs implementation will get errors: In file included from

Re: [U-Boot] [U-Boot, 2/3] mpc85xx: Add deep sleep framework support

2014-02-24 Thread Scott Wood
On Mon, 2014-02-24 at 15:47 +0800, Tang Yuantian-B29983 wrote: On 2014/2/15 星期六 6:21, Scott Wood wrote: On Thu, 2014-02-13 at 01:05 -0600, Tang Yuantian-B29983 wrote: Thanks for your review. Please see the reply inline. Thanks, Yuantian -Original Message- From: Wood

Re: [U-Boot] [U-Boot, 2/3] mpc85xx: Add deep sleep framework support

2014-02-24 Thread Scott Wood
On Mon, 2014-02-24 at 14:44 +0800, Tang Yuantian-B29983 wrote: On 2014/2/18 星期二 3:18, Scott Wood wrote: On Sun, 2014-02-16 at 21:35 -0600, Tang Yuantian-B29983 wrote: -Original Message- From: Wood Scott-B07421 To: Tang Yuantian-B29983 Cc: Sun York-R58495; Li Yang-Leo-R58472;

Re: [U-Boot] [PATCH v4] socfpga: Add socfpga preloader signing to mkimage

2014-02-24 Thread Charles Manning
Hello Wolfgang On Monday 24 February 2014 19:48:36 Wolfgang Denk wrote: Dear Charles, In message 1393194939-29786-1-git-send-email-cdhmann...@gmail.com you wrote: Like many platforms, the Altera socfpga platform requires that the preloader be signed in a certain way or the built-in boot

Re: [U-Boot] u-boot.dtb vs. dts/dt.dtb output filename, also O= vs BUILD_DIR=

2014-02-24 Thread Tom Rini
On Mon, Feb 24, 2014 at 10:44:04AM -0700, Stephen Warren wrote: Masahiro, Prior the to kbuild conversion, U-Boot used to produce file u-boot.dtb in the root of the object tree. Now it doesn't, but I think puts the same file in dts/dt.dtb instead. Was this a deliberate change? Not exactly,

Re: [U-Boot] [RFC PATCH 1/3] add file with a default boot environment based heavily on Stephen Warrens recent tegra work.

2014-02-24 Thread Tom Rini
On Mon, Feb 24, 2014 at 11:40:02AM -0700, Stephen Warren wrote: On 02/22/2014 01:20 AM, Dennis Gilmore wrote: [snip] I fully agree, we should be able to work it out later. I also renamed it to bootpart since it is where we will boot from, which may or may not be the root filesystem Just

Re: [U-Boot] [PATCH v4] socfpga: Add socfpga preloader signing to mkimage

2014-02-24 Thread Charles Manning
Hello Wolfgang I have some further observations to my last email... Your input would be vastly appreciated. Please see below. On Tue, Feb 25, 2014 at 8:18 AM, Charles Manning cdhmann...@gmail.comwrote: Hello Wolfgang On Monday 24 February 2014 19:48:36 Wolfgang Denk wrote: Dear Charles,

Re: [U-Boot] [PATCH v3] powerpc/t2081qds: Add T2081 QDS board support

2014-02-24 Thread York Sun
On 02/20/2014 09:16 PM, Shengzhou Liu wrote: T2081 QDS is a high-performance computing evaluation, development and test platform supporting the T2081 QorIQ Power Architecture processor. T2081QDS board Overview --- - T2081 SoC integrating four 64-bit dual-threads e6500

Re: [U-Boot] [PATCH] powerpc/usb: Workaround for erratum-A006261

2014-02-24 Thread York Sun
On 01/30/2014 11:13 AM, Scott Wood wrote: On Thu, 2014-01-30 at 10:42 +0530, Suresh Gupta wrote: +#ifdef CONFIG_SYS_FSL_ERRATUM_A006261 +static inline bool has_erratum_a006261(void) +{ +u32 svr = get_svr(); +u32 soc = SVR_SOC_VER(svr); + +switch (soc) { +case SVR_P1010: +

Re: [U-Boot] [PATCH 2/2] powerpc/t1040qds: Add Video - HDMI support

2014-02-24 Thread York Sun
On 01/30/2014 02:10 AM, Priyanka Jain wrote: T1040 has internal display interface unit (DIU) for driving video. T1040QDS supports video mode via -LCD using TI enconder -HDMI type interface via HDMI encoder Chrontel, CH7301C encoder which is I2C programmable is used as HDMI connector on

Re: [U-Boot] [PATCH v3] powerpc/t2081qds: Add T2081 QDS board support

2014-02-24 Thread York Sun
On 02/20/2014 09:16 PM, Shengzhou Liu wrote: T2081 QDS is a high-performance computing evaluation, development and test platform supporting the T2081 QorIQ Power Architecture processor. T2081QDS board Overview --- - T2081 SoC integrating four 64-bit dual-threads e6500

Re: [U-Boot] [PATCH 1/2] powerpc/t208x: some update to support t2081

2014-02-24 Thread York Sun
On 01/20/2014 10:11 PM, Shengzhou Liu wrote: - fix serdes definition for t2081. - fix clock speed for t2081. - update ids, as CONFIG_FSL_SATA_V2 is needed only for t2080, T2081 has no SATA. Signed-off-by: Shengzhou Liu shengzhou@freescale.com --- Applied to u-boot-mpc85xx/master.

Re: [U-Boot] [PATCH 1/4 v2] SPL: powerpc: expand SPL's length to 128K

2014-02-24 Thread York Sun
On 01/23/2014 11:50 PM, ying.zh...@freescale.com wrote: From: Ying Zhang b40...@freescale.com 1. The SPL's length of SDCARD boot has not enough,expand the SPL's length to 128K. 2. deleted unused symbol: CONFIG_SYS_RUN_INDDR Signed-off-by: Ying Zhang b40...@freescale.com --- Change from

Re: [U-Boot] [PATCH 3/4 v2] SPL: P1022DS: fix the problem booting from spi flash

2014-02-24 Thread York Sun
On 01/23/2014 11:50 PM, ying.zh...@freescale.com wrote: From: Ying Zhang b40...@freescale.com There was no enough memory for malloc in SPL booting from spi flash, so relayout the memory in SPL: reduce the memory for global data from 16K Bytes to 4K Bytes, save the space for malloc.

Re: [U-Boot] [PATCH 4/4 v2] powerpc: p1010rdb: Enable p1010rdb to start from NAND/SD/SPI flash with SPL

2014-02-24 Thread York Sun
On 01/23/2014 11:50 PM, ying.zh...@freescale.com wrote: From: Ying Zhang b40...@freescale.com In the previous patches, we introduced the SPL/TPL fraamework. For SD/SPI flash booting way, we introduce the SPL to enable a loader stub. The SPL was loaded by the code from the internal on-chip

Re: [U-Boot] [PATCH 2/4 v2] SPL: P2020RDB: fix the problem booting from spi flash

2014-02-24 Thread York Sun
On 01/23/2014 11:50 PM, ying.zh...@freescale.com wrote: From: Ying Zhang b40...@freescale.com There was no enough stack in SPL, so the buffer needed in SPL is to malloc from memory pool and to repalce the temporary variable. Signed-off-by: Ying Zhang b40...@freescale.com --- Change from

Re: [U-Boot] [PATCH] ar8031/8033/phy:enable autonegotiation for ar8031/8033

2014-02-24 Thread York Sun
On 12/22/2013 11:51 PM, Zhao Qiang wrote: Function genphy_parse_link() used if (mii_reg BMSR_ANEGCAPABLE) before while if (phydev-supported SUPPORTED_Autoneg) now. So assign phydev-supported to phydev-drv-features for ar8031/8033 to enable autonegotiation. Signed-off-by: Zhao Qiang

Re: [U-Boot] [PATCH] powerpc/mpc8536DS:Increase binary size for mpc8536DS board

2014-02-24 Thread York Sun
On 02/12/2014 05:03 PM, Haijun Zhang wrote: u-boot binary size for Freescale mpc8536DS platforms is 512KB. This has been reached to upper limit of the platforms and causig linker error. So increase the u-boot binary size to 768KB. Signed-off-by: Haijun Zhang haijun.zh...@freescale.com ---

Re: [U-Boot] [PATCH][v2] fsl/usb: Limit phy_type comparison to first four characters

2014-02-24 Thread York Sun
On 02/17/2014 03:28 AM, Nikhil Badola wrote: Use first four characters for phy_type comparison. Strcmp() should not be used to check the phy_type string which maybe parsed by hwconfig_subarg(). Hwconfig_subarg() returns part of hwconfig string starting from phy_type value till the end of the

Re: [U-Boot] [PATCH 1/2] kbuild: Fix a false error of generic board support

2014-02-24 Thread Masahiro Yamada
Hello Tom, On Mon, 24 Feb 2014 22:11:45 +0900 Masahiro Yamada yamad...@jp.panasonic.com wrote: Before this commit, make terminated with an error where it shouldn't under some condition. This bug happened when we built a board unsupporting generic board right after building with generic

Re: [U-Boot] [PATCH] arm: delete unused macro CONFIG_ARCH_DEVICE_TREE

2014-02-24 Thread Masahiro Yamada
Hello Stephen On Mon, 24 Feb 2014 10:26:46 -0700 Stephen Warren swar...@wwwdotorg.org wrote: On 02/24/2014 05:45 AM, Masahiro Yamada wrote: Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Commit description? This patch looked trivial so I did not write commit description. Sorry

Re: [U-Boot] [PATCH] kbuild: fix SPL link bug when USE_PRIVATE_LIBGCC is yes

2014-02-24 Thread Masahiro Yamada
Hello Stephen, On Mon, 24 Feb 2014 11:02:25 -0700 Stephen Warren swar...@wwwdotorg.org wrote: On 02/24/2014 04:44 AM, Masahiro Yamada wrote: Commit 6825a95 (kbuild: use Linux Kernel build scripts) changed the behavior of linkage when USE_PRIAVATE_LIBGCC is defined as yes. (It dropped

Re: [U-Boot] u-boot.dtb vs. dts/dt.dtb output filename, also O= vs BUILD_DIR=

2014-02-24 Thread Masahiro Yamada
Hello Stephen, Prior the to kbuild conversion, U-Boot used to produce file u-boot.dtb in the root of the object tree. Now it doesn't, but I think puts the same file in dts/dt.dtb instead. Was this a deliberate change? The patch is already on Patchwork and I think it should be applied soon.

[U-Boot] [PATCH] arm: omap: delete unincluded omap-common/config.mk

2014-02-24 Thread Masahiro Yamada
arch/arm/cpu/armv7/omap-common/config.mk is never included because omap-common is not SoC name. If we want to add OMAP-specific compiler flags, they must be added to omap3/config.mk, omap4/config.mk, omap5/config.mk. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Cc: Tom Rini

[U-Boot] [PATCH][v2] board/t104xrdb: Add support of CPLD

2014-02-24 Thread Prabhakar Kushwaha
T1040RDB and T1042RDB_PI has CPLD. Here CPLD controls board mux/features. This support of CPLD includes - files and register defintion - Commands to swtich alternate bank and default bank Signed-off-by: Prabhakar Kushwaha prabha...@freescale.com --- Changes for v2: - Updated the cpld