Re: [U-Boot] [PATCH v2 05/10] arm: ls102xa: Add esdhc support for LS102xA

2014-08-10 Thread AlisonWang
On 07/03/2014 12:24 AM, Alison Wang wrote: Missing commit message here. You should explain why we need this change. It will help us search the log later. [Alison Wang] I will add commit message in v3. > Signed-off-by: Alison Wang <[hidden email]> > --- Best Regards, Alison Wang -- View t

Re: [U-Boot] [PATCH v2 0/9] arm: ls102xa: Add Freescale LS102xA SoC and LS1021AQDS/TWR board support

2014-08-10 Thread AlisonWang
Hi, York, On 07/03/2014 12:24 AM, Alison Wang wrote: > This series contain the support for Freescale LS102xA SoC and > LS1021AQDS/TWR board. > Alison, Please respin your patches. It has been a while since you submitted them. For your convenience, I have rebased your patches to v2014.10-rc1 a

Re: [U-Boot] [PATCH v2 04/10] arm: ls102xa: Add etsec support for LS102xA

2014-08-10 Thread AlisonWang
On 07/03/2014 12:24 AM, Alison Wang wrote: Missing commit message here. [Alison Wang] Yes, I will add in v3. > Signed-off-by: Alison Wang <[hidden email]> > --- > Change log: > v2: Add private mdio read and write support. > > drivers/net/fsl_mdio.c | 24 +++- > driv

[U-Boot] [RFC/PATCH 1/1] sunxi: Populate the default environment for sunxi-based systems

2014-08-10 Thread Karsten Merker
Predefine a set of standard environment variables (kernel_addr_r, ramdisk_addr_r, fdt_addr_r and scriptaddr) to sensible values on sunxi-based systems and provide a default environment that allows autobooting of existing boot scripts which were written for pre-mainlining u-boot-sunxi versions. Sig

Re: [U-Boot] [PATCH v2 09/10] arm: ls102xa: Add basic support for LS1021AQDS board

2014-08-10 Thread AlisonWang
Hi, York, On 07/03/2014 12:24 AM, Alison Wang wrote: > diff --git a/lib/lmb.c b/lib/lmb.c > index 081e418..0903222 100644 > --- a/lib/lmb.c > +++ b/lib/lmb.c > @@ -295,7 +295,7 @@ phys_addr_t __lmb_alloc_base(struct lmb *lmb, > phys_size_t size, ulong align, phy >if (max_addr == LM

[U-Boot] [RFC/PATCH] sunxi: Populate the default environment for sunxi-based systems

2014-08-10 Thread Karsten Merker
Hello, in the following email you can find a patch to populate the default environment for sunxi-based systems about which I would apprechiate your opinion. With the current progress in mainlining sunxi platform support, mainline u-boot will probably soon be able to replace u-boot-sunxi (https://

Re: [U-Boot] [PATCH v2 17/25] i2c: mvtwsi: Add support for Marvell Armada XP

2014-08-10 Thread Heiko Schocher
Hello Stefan, Am 05.08.2014 09:10, schrieb Stefan Roese: To support the Armada XP SoC, we just need to include the correct header. Signed-off-by: Stefan Roese Cc: Heiko Schocher --- Changes in v2: None drivers/i2c/mvtwsi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Acked-by: H

Re: [U-Boot] [PATCH 1/3] config: introduce a generic $bootcmd

2014-08-10 Thread Dennis Gilmore
On Wed, 06 Aug 2014 10:01:09 -0600 Stephen Warren wrote: > On 07/30/2014 04:37 PM, Stephen Warren wrote: > > From: Dennis Gilmore > > > > This generic $bootcmd, and associated support macros, automatically > > searches a defined set of storage devices (or network protocols) > > for an extlinux c

[U-Boot] Pull request v2: u-boot-blackfin

2014-08-10 Thread Sonic Zhang
Hi Tom, Please pull the following patches for Blackfin from u-boot-blackfin into your tree. Thanks Sonic Zhang The following changes since commit e76b933e02e1b38e48754c435e9dba1c0deeb3c6: Prepare v2014.10-rc1 (2014-08-06 09:12:58 -0400) are available in the git repository at: git://git.

Re: [U-Boot] Removing the need for boards.cfg

2014-08-10 Thread Simon Glass
Hi Tom, On 8 August 2014 07:04, Tom Rini wrote: > On Fri, Aug 01, 2014 at 12:48:44PM +0100, Simon Glass wrote: > >> Hi, >> >> At present, as a work-around, we generate boards.cfg if needed. This >> is quite a slow process since each board config must be fully >> processed. >> >> What can we do to

Re: [U-Boot] Removing the need for boards.cfg

2014-08-10 Thread Simon Glass
Hi Tom, On 8 August 2014 05:59, Tom Rini wrote: > On Fri, Aug 08, 2014 at 05:06:03AM -0600, Simon Glass wrote: >> Hi Masahiro, >> >> On 1 August 2014 06:22, Masahiro Yamada wrote: >> > Hi. >> > >> > >> > >> > On Fri, 1 Aug 2014 12:48:44 +0100 >> > Simon Glass wrote: >> > >> >> Hi, >> >> >> >> A

Re: [U-Boot] Removing the need for boards.cfg

2014-08-10 Thread Simon Glass
Hi Tom, On 8 August 2014 05:59, Tom Rini wrote: > On Fri, Aug 08, 2014 at 05:06:03AM -0600, Simon Glass wrote: >> Hi Masahiro, >> >> On 1 August 2014 06:22, Masahiro Yamada wrote: >> > Hi. >> > >> > >> > >> > On Fri, 1 Aug 2014 12:48:44 +0100 >> > Simon Glass wrote: >> > >> >> Hi, >> >> >> >> A

[U-Boot] [PATCH 2/2 v2] fastboot: Flash command support

2014-08-10 Thread Dileep Katta
Flash command internally uses DFU, and Fastboot command initialization is modified to add DFU and partition initialization Added oem format functionality for GPT table creation partitioning code is added as disk/part_fastboot.c for better usability Fastboot flash command code is enabled and being

[U-Boot] [PATCH 1/2 v2] arm: BeagleBone Black: enable fastboot support

2014-08-10 Thread Dileep Katta
Enable Android Fastboot support on am335x_evm board Signed-off-by: Dileep Katta --- Changes for v2: -None include/configs/am335x_evm.h | 10 ++ 1 file changed, 10 insertions(+) diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h index 35ae0e6..399940

Re: [U-Boot] [PATCH V2 00/18] Introduce cm-fx6 board (partial V2 cont.)

2014-08-10 Thread Simon Glass
Hi Nikita, On 10 August 2014 11:12, Nikita Kiryanov wrote: > This partial V2 completes the previous partial V2. It contains some final > preparational steps, and the introduction of cm-fx6 board. > > Changes in V2: > - Update commit message of "arm: mx6: ddr: configure MMDC for slow_pd" >

Re: [U-Boot] env_fat.c: Make sure our buffer is cache aligned

2014-08-10 Thread Tom Rini
On Fri, Aug 01, 2014 at 01:59:10PM -0400, Tom Rini wrote: > We must ensure the buffer we read the env into is aligned or we may get > warnings later on. > > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [U-Boot, v3, 4/4] get_maintainer.pl: add support for scanning multiple MAINTAINERS files

2014-08-10 Thread Tom Rini
On Fri, Aug 01, 2014 at 02:24:11AM +0200, Daniel Schwierzeck wrote: > Signed-off-by: Daniel Schwierzeck Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.

Re: [U-Boot] lib: lmb: fix overflow in __lmb_alloc_base w/ large RAM

2014-08-10 Thread Tom Rini
On Thu, Jul 31, 2014 at 01:40:07PM -0600, Stephen Warren wrote: > From: Stephen Warren > > If a 32-bit system has 2GB of RAM, and the base address of that RAM is > 2GB, then start+size will overflow a 32-bit value (to a value of 0). > > __lmb_alloc_base is affected by this; it calculates the mi

Re: [U-Boot] [U-Boot, v3, 2/4] get_maintainer.pl: import script from linux 3.15

2014-08-10 Thread Tom Rini
On Fri, Aug 01, 2014 at 02:24:09AM +0200, Daniel Schwierzeck wrote: > Signed-off-by: Daniel Schwierzeck > Acked-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@li

Re: [U-Boot] [U-Boot,3/3] ARM: rpi_b: use new generic $bootcmd

2014-08-10 Thread Tom Rini
On Wed, Jul 30, 2014 at 04:37:16PM -0600, Stephen Warren wrote: > From: Stephen Warren > > Replace the custom $bootcmd with that from . > There should be no functional change, since the new generic $bootcmd was > derived strongly from tegra-common-post.h, after which this part of > rpi_b.h was m

Re: [U-Boot] [U-Boot,2/3] ARM: tegra: use new generic $bootcmd

2014-08-10 Thread Tom Rini
On Wed, Jul 30, 2014 at 04:37:15PM -0600, Stephen Warren wrote: > From: Stephen Warren > > Replace the custom $bootcmd with that from . > There should be no functional change, since the new generic $bootcmd was > derived strongly from tegra-common-post.h. > > Signed-off-by: Stephen Warren > Ac

Re: [U-Boot] [U-Boot,v3,1/4] MAINTAINERS: add initial version

2014-08-10 Thread Tom Rini
On Fri, Aug 01, 2014 at 02:24:08AM +0200, Daniel Schwierzeck wrote: > MAINTAINERS contains all currently known custodians based on > infos from wiki [1] and u-boot git forks [2]. > > [1] http://www.denx.de/wiki/U-Boot/Custodians > [2] http://git.denx.de/?p=u-boot.git;a=forks > > Signed-off-by: D

Re: [U-Boot] [U-Boot, v3, 3/4] get_maintainer.pl: adapt to U-Boot tree

2014-08-10 Thread Tom Rini
On Fri, Aug 01, 2014 at 02:24:10AM +0200, Daniel Schwierzeck wrote: > Switch core maintainer to Tom Rini. Adapt directory layout for > git tree detection. > > Signed-off-by: Daniel Schwierzeck > Acked-by: Simon Glass > Tested-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signat

Re: [U-Boot] [U-Boot,2/2] fdt: Sync up with libfdt

2014-08-10 Thread Tom Rini
On Wed, Jul 30, 2014 at 03:59:03AM -0600, Simon Glass wrote: > This brings in changes up to commit f9e91a48 in the libfdt repo. > Mostly this is whitespace/minor changes. But there are a few new > features: > > - fdt_size_cells() and fdt_address_cells() > - fdt_resize() > > Signed-off-by: Simon

Re: [U-Boot] [U-Boot, 1/2] fdt: Rename fdt_resize() to fdt_shrink_to_minimum()

2014-08-10 Thread Tom Rini
On Wed, Jul 30, 2014 at 03:59:02AM -0600, Simon Glass wrote: > Since libfdt now has an fdt_resize() function, we need to rename the > U-Boot one. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] cosmetic: update doc/README.scrapyard

2014-08-10 Thread Tom Rini
On Tue, Jul 29, 2014 at 07:41:24PM +0900, Masahiro Yamada wrote: > - Add 'p1023rds' to the list since commit d0bc5140 dropped >the board support but missed to update this file > - Fill the Commit and Removed Date fields for boards removed >by earlier commits > - Move 'incaip' to keep the

Re: [U-Boot] [U-Boot,1/3] config: introduce a generic $bootcmd

2014-08-10 Thread Tom Rini
On Wed, Jul 30, 2014 at 04:37:14PM -0600, Stephen Warren wrote: > From: Dennis Gilmore > > This generic $bootcmd, and associated support macros, automatically > searches a defined set of storage devices (or network protocols) for an > extlinux configuration file or U-Boot boot script in various

Re: [U-Boot] rsa: Fix two errors in the implementation

2014-08-10 Thread Tom Rini
On Wed, Jul 30, 2014 at 10:00:17AM -0600, Simon Glass wrote: > 1. Failure to set the return code correctly > 2. Failure to detect the loop end condition when the value is equal to > the modulus. > > Reported-by: Jeroen Hofstee > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! --

Re: [U-Boot] omap: clean-up dead configs

2014-08-10 Thread Tom Rini
On Wed, Jul 30, 2014 at 07:11:41PM +0900, Masahiro Yamada wrote: > The following configs are not defined at all. > > - CONFIG_OMAP1510 > - CONFIG_OMAP_1510P1 > - CONFIG_OMAP_SX1 > - CONFIG_OMAP3_DMA > - CONFIG_OMAP3_ZOOM2 > - CONFIG_OMAP_INNOVATOR > > Signed-off-by: Masahiro Yamada > Cc:

Re: [U-Boot] ext4load: fix help text

2014-08-10 Thread Tom Rini
On Tue, Jul 29, 2014 at 12:37:25PM +0200, Pavel Machek wrote: > Fix ext4load help text. > > Signed-off-by: Pavel Machek Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.

Re: [U-Boot] [U-Boot,2/2] git-mailrc: Add myself as dm maintainer

2014-08-10 Thread Tom Rini
On Tue, Jul 29, 2014 at 12:03:12AM -0600, Simon Glass wrote: > Add a subsystem entry for dm with myself as maintainer. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot

Re: [U-Boot] [U-Boot,v2] board_r: Add missing return to initr_doc

2014-08-10 Thread Tom Rini
On Thu, Jul 24, 2014 at 09:29:57AM +0100, Ian Campbell wrote: > I happened to spot this while working in the area. > > Signed-off-by: Ian Campbell > Acked-by: Simon Glass > Cc: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature __

Re: [U-Boot] net: BOOTP retry timeout improvements

2014-08-10 Thread Tom Rini
On Fri, Jul 25, 2014 at 05:30:48PM -0600, Stephen Warren wrote: > From: Stephen Warren > > Currently, the BOOTP code sends out its initial request as soon as the > Ethernet driver indicates "link up". If this packet is lost or not > replied to for some reason, the code waits for a 1s timeout bef

Re: [U-Boot] [U-Boot,1/2] git-mailrc: Change fdt maintainer

2014-08-10 Thread Tom Rini
On Tue, Jul 29, 2014 at 12:03:11AM -0600, Simon Glass wrote: > Add myself as fdt maintainer. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.

Re: [U-Boot] emif.h: remove duplicated argument to |

2014-08-10 Thread Tom Rini
On Thu, Jul 24, 2014 at 02:09:05PM +0200, maxin.j...@enea.com wrote: > Remove the duplicated argument to | in two places. Reported > by Coccinelle (http://coccinelle.lip6.fr/). > > Signed-off-by: Maxin B. John Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signa

Re: [U-Boot] vitesse: remove duplicated argument to ||

2014-08-10 Thread Tom Rini
On Thu, Jul 24, 2014 at 12:26:05PM +0200, maxin.j...@enea.com wrote: > Remove the duplicated argument to || check > > Signed-off-by: Maxin B. John Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mai

Re: [U-Boot] Makefile: use u-boot.map for binary_size_check

2014-08-10 Thread Tom Rini
On Thu, Jul 24, 2014 at 05:27:07PM +1200, Chris Packham wrote: > u-boot.map is generated automatically by the compiler and more > importantly can handle addresses >4GB. Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature __

Re: [U-Boot] ext4: trats: trats2: Modify dfu_alt_info's file names to have absolute path

2014-08-10 Thread Tom Rini
On Tue, Jul 22, 2014 at 10:17:06AM +0200, Ɓukasz Majewski wrote: > After the clean up performed in the commit 1151b7ac10b81ecbb the DFU subsystem > requires absolute patch for correct operation. > > Signed-off-by: Lukasz Majewski Applied to u-boot/master, thanks! -- Tom signature.asc Descri

Re: [U-Boot] doc: README.android-fastboot: Add note about vendor ID

2014-08-10 Thread Tom Rini
On Tue, Jul 22, 2014 at 11:23:56AM -0400, Barnes, Clifton A. wrote: > The Android fastboot client only communicates with specific vendor IDs. > This addition to the documentation points out that fact so everyone is > aware that not just any vendor ID will work and where to find the IDs > that will

Re: [U-Boot] pxe: clear Bootfile before returning

2014-08-10 Thread Tom Rini
On Tue, Jul 22, 2014 at 06:06:46PM -0600, Stephen Warren wrote: > From: Stephen Warren > > When "pxe boot" downloads the initrd/kernel/DTB, netboot_common() saves > the downloaded filename to global variable BootFile. If the boot > operation is aborted, this global state is not cleared. If "dhcp

Re: [U-Boot] [U-Boot, v2] Makefile: use $(shell ...) for determining file_size

2014-08-10 Thread Tom Rini
On Thu, Jul 24, 2014 at 12:44:25PM +1200, Chris Packham wrote: > file_size was being calculated using back-ticks but map_size uses > $(shell ...). Update the file_size calculation to use $(shell ...). > > From: Jeroen Hofstee > > The binary_size_check target relies on stat -c %s > to return the

Re: [U-Boot] [U-Boot, v3] Implement generalised RSA public exponents for verified boot

2014-08-10 Thread Tom Rini
On Wed, Jul 02, 2014 at 10:17:26AM +0200, Michael van der Westhuizen wrote: > From: Michael van der Westhuizen > > Remove the verified boot limitation that only allows a single > RSA public exponent of 65537 (F4). This change allows use with > existing PKI infrastructure and has been tested wit

Re: [U-Boot] [U-Boot,3/3] bootm: use genimg_get_kernel_addr()

2014-08-10 Thread Tom Rini
On Thu, Jul 31, 2014 at 05:40:00PM -0700, Bryan Wu wrote: > Use the new API which is originally taken out from boot_get_kernel > of bootm.c > > Signed-off-by: Bryan Wu > Tested-by: Stephen Warren > Reviewed-by: Stephen Warren After doing the following to fix warnings: diff --git a/common/boot

Re: [U-Boot] [U-Boot, 2/3] pxe: detect image format before calling bootm/bootz

2014-08-10 Thread Tom Rini
On Thu, Jul 31, 2014 at 05:39:59PM -0700, Bryan Wu wrote: > Trying bootm for zImage will print out several error message which > is not necessary for this case. So detect image format firstly, only > try bootm for legacy and FIT format image then try bootz for others. > > This patch needs new fun

Re: [U-Boot] [U-Boot, 1/3] image: introduce genimg_get_kernel_addr()

2014-08-10 Thread Tom Rini
On Thu, Jul 31, 2014 at 05:39:58PM -0700, Bryan Wu wrote: > Kernel address is normally stored as a string argument of bootm or bootz. > This function is taken out from boot_get_kernel() of bootm.c, which can be > reused by others. > > Signed-off-by: Bryan Wu After doing the following to fix war

Re: [U-Boot] [GIT] Pull request: u-boot-dfu

2014-08-10 Thread Marek Vasut
On Sunday, August 10, 2014 at 06:10:11 PM, Lukasz Majewski wrote: > On Wed, 06 Aug 2014 09:54:23 -0600 > > Stephen Warren wrote: > > On 07/23/2014 12:15 PM, Marek Vasut wrote: > > > On Wednesday, July 16, 2014 at 09:18:56 AM, Lukasz Majewski wrote: > > >> Dear Marek, > > >> > > >> The following

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

2014-08-10 Thread Marek Vasut
On Friday, August 08, 2014 at 11:08:56 PM, Tom Rini wrote: > On Thu, Aug 07, 2014 at 04:37:06PM +0200, Marek Vasut wrote: [..] > > 28 files changed, 626 insertions(+), 90 deletions(-) > > create mode 100644 drivers/dfu/dfu_sf.c > > create mode 100644 test/dfu/README > > create mode 100755 test/

Re: [U-Boot] [PATCH] pci: mx6: fix occasional link failures

2014-08-10 Thread Marek Vasut
On Saturday, August 09, 2014 at 09:11:49 PM, Fabio Estevam wrote: > On Sat, Aug 9, 2014 at 12:37 PM, Fabio Estevam wrote: > > Ok, so with the debug patch applied I let it running overnight and it > > ran 39k+ times without PCI linkup failures. > > > > I agree with your comments and now I am doing

Re: [U-Boot] [PATCH v4 4/5] usb/gadget: fastboot: add sparse image definitions

2014-08-10 Thread Marek Vasut
On Saturday, August 09, 2014 at 06:53:24 PM, Steve Rae wrote: > ( Google agreed to submit a patch with BSD3 license stay tuned!!! ) Thank you for your work and perseverance, really ! Best regards, Marek Vasut ___ U-Boot mailing list U-Boot@lists.de

Re: [U-Boot] [PATCH V2 12/18] arm: mx6: add support for Compulab cm-fx6 CoM

2014-08-10 Thread Marek Vasut
On Sunday, August 10, 2014 at 07:12:54 PM, Nikita Kiryanov wrote: > Add initial support for Compulab CM-FX6 CoM. > Support includes MMC, SPI flash, and SPL with dynamic DRAM detection. > > Cc: Igor Grinberg > Cc: Stefano Babic > Cc: Tom Rini > Cc: Marek Vasut > Signed-off-by: Nikita Kiryanov

Re: [U-Boot] [PATCH V2 1/9] spl: replace CONFIG_SPL_SPI_* with CONFIG_SF_DEFAULT_*

2014-08-10 Thread Marek Vasut
On Sunday, August 10, 2014 at 05:19:38 PM, Nikita Kiryanov wrote: > On 07/08/14 16:49, Marek Vasut wrote: > > On Thursday, August 07, 2014 at 03:05:28 PM, Nikita Kiryanov wrote: > >> Currently, CONFIG_SPL_SPI_* #defines are used for controlling SPI boot > >> in SPL. These #defines do not allow the

Re: [U-Boot] [PATCH V2 2/9] mx6: add clock enabling functions

2014-08-10 Thread Nikita Kiryanov
On 07/08/14 17:11, Igor Grinberg wrote: Hi Nikita, On 08/07/14 16:05, Nikita Kiryanov wrote: Add functions to enable/disable clocks for UART, SPI, ENET, and MMC. Cc: Stefano Babic Signed-off-by: Nikita Kiryanov --- Changes in V2: - No changes. arch/arm/cpu/armv7/mx6/clock.c

[U-Boot] [PATCH V2 14/18] arm: mx6: cm_fx6: add ethernet support

2014-08-10 Thread Nikita Kiryanov
Add ethernet support for Compulab CM-FX6 CoM Cc: Igor Grinberg Cc: Stefano Babic Cc: Tom Rini Signed-off-by: Nikita Kiryanov --- Changes in V2: - No changes board/compulab/cm_fx6/cm_fx6.c | 100 + board/compulab/cm_fx6/common.h | 1 + include

[U-Boot] [PATCH V2 13/18] arm: mx6: cm_fx6: add nand support

2014-08-10 Thread Nikita Kiryanov
Add NAND support for Compulab CM-FX6 CoM. Cc: Igor Grinberg Cc: Stefano Babic Cc: Tom Rini Signed-off-by: Nikita Kiryanov --- Changes in V2: - No changes board/compulab/cm_fx6/cm_fx6.c | 37 + board/compulab/cm_fx6/spl.c| 9 + include/

[U-Boot] [PATCH V2 00/18] Introduce cm-fx6 board (partial V2 cont.)

2014-08-10 Thread Nikita Kiryanov
This partial V2 completes the previous partial V2. It contains some final preparational steps, and the introduction of cm-fx6 board. Changes in V2: - Update commit message of "arm: mx6: ddr: configure MMDC for slow_pd" - Remove unnecessary line removal from arch/arm/cpu/armv7/mx6/d

[U-Boot] [PATCH V2 12/18] arm: mx6: add support for Compulab cm-fx6 CoM

2014-08-10 Thread Nikita Kiryanov
Add initial support for Compulab CM-FX6 CoM. Support includes MMC, SPI flash, and SPL with dynamic DRAM detection. Cc: Igor Grinberg Cc: Stefano Babic Cc: Tom Rini Cc: Marek Vasut Signed-off-by: Nikita Kiryanov --- Changes in V2: - Remove unnecessary line removal from arch/arm/cpu/arm

[U-Boot] [PATCH V2 11/18] arm: mx6: ddr: fix cs0_end calculation

2014-08-10 Thread Nikita Kiryanov
Current way of calculation CS0_END field for MMDCx_MDASP register is problematic because in most cases the user is forced to define cs_density in an unnatural way: as value - 2, instead of value. This breaks the abstraction provided by struct mx6_ddr_sysinfo because the user is forced to be aware

[U-Boot] [PATCH V2 10/18] arm: mx6: ddr: configure MMDC for slow_pd

2014-08-10 Thread Nikita Kiryanov
According to MX6 TRM, both MMDC and DRAM should be configured to the same powerdown precharge. Currently, mx6_dram_cfg() configures MMDC for fast pd (MDPDC[7] = 0), and the DRAM for 'slow exit (DLL off)' (MR0[12] = 0). Configure MMDC for slow pd. Cc: Stefano Babic Cc: Tim Harvey Signed-off-by:

[U-Boot] [PATCH V2 18/18] arm: mx6: cm_fx6: add sata support

2014-08-10 Thread Nikita Kiryanov
Add support for SATA. Cc: Igor Grinberg Cc: Stefano Babic Cc: Tom Rini Signed-off-by: Nikita Kiryanov --- Changes in V2: - No changes board/compulab/cm_fx6/cm_fx6.c | 90 ++ board/compulab/cm_fx6/common.h | 13 ++ include/configs/cm_fx6.h

[U-Boot] [PATCH V2 17/18] arm: mx6: cm_fx6: use eeprom

2014-08-10 Thread Nikita Kiryanov
Use Compulab eeprom module to obtain revision number, serial number, and mac address from the EEPROM. Cc: Igor Grinberg Cc: Stefano Babic Cc: Tom Rini Signed-off-by: Nikita Kiryanov --- Changes in V2: - No changes board/compulab/cm_fx6/cm_fx6.c | 26 +- includ

[U-Boot] [PATCH V2 15/18] arm: mx6: cm_fx6: add usb support

2014-08-10 Thread Nikita Kiryanov
Add USB and USB OTG host support for Compulab CM-FX6 CoM. Cc: Igor Grinberg Cc: Stefano Babic Cc: Tom Rini Signed-off-by: Nikita Kiryanov --- Changes in V2: - No changes board/compulab/cm_fx6/cm_fx6.c | 75 ++ board/compulab/cm_fx6/common.h |

[U-Boot] [PATCH V2 16/18] arm: mx6: cm_fx6: add i2c support

2014-08-10 Thread Nikita Kiryanov
Add support for all 3 I2C busses on Compulab CM-FX6 CoM. Cc: Igor Grinberg Cc: Stefano Babic Cc: Tom Rini Signed-off-by: Nikita Kiryanov --- Changes in V2: - No changes board/compulab/cm_fx6/cm_fx6.c | 42 ++ include/configs/cm_fx6.h | 11

[U-Boot] [PATCH] mx6: Fix ECSPI typo in soc_boot_modes

2014-08-10 Thread picmaster
From: Nikolay Dimitrov Signed-off-by: Nikolay Dimitrov Cc: Stefano Babic --- arch/arm/cpu/armv7/mx6/soc.c |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/cpu/armv7/mx6/soc.c b/arch/arm/cpu/armv7/mx6/soc.c index f2dee76..99b7c86 100644 --- a/arch/arm/cpu/

Re: [U-Boot] [PATCH 1/3] config: introduce a generic $bootcmd

2014-08-10 Thread Jeroen Hofstee
Hello Stephan, On 10-08-14 05:11, Stephen Warren wrote: The entire point of this series is to prevent distros from having to install bootloader-specific boot configuration files. I fail to see why this is something to pursue. Since the distro knows the boot path, why should u-boot be polling al

Re: [U-Boot] [GIT] Pull request: u-boot-dfu

2014-08-10 Thread Lukasz Majewski
On Wed, 06 Aug 2014 09:54:23 -0600 Stephen Warren wrote: > > On 07/23/2014 12:15 PM, Marek Vasut wrote: > > On Wednesday, July 16, 2014 at 09:18:56 AM, Lukasz Majewski wrote: > >> Dear Marek, > >> > >> The following changes since commit > >> 5ba95541b700d2edecb4d97d4b905f51ed8551b3: > >> > >>

Re: [U-Boot] [PATCH 12/18] arm: mx6: add support for Compulab cm-fx6 CoM

2014-08-10 Thread Nikita Kiryanov
On 08/08/14 10:19, Tim Harvey wrote: On Wed, Aug 6, 2014 at 10:29 AM, Nikita Kiryanov wrote: On 04/08/14 16:36, Nikita Kiryanov wrote: On 04/08/14 07:45, Tim Harvey wrote: On Sun, Aug 3, 2014 at 12:34 AM, Nikita Kiryanov wrote: Add initial support for Compulab CM-FX6 CoM. Support i

Re: [U-Boot] [PATCH V2 1/9] spl: replace CONFIG_SPL_SPI_* with CONFIG_SF_DEFAULT_*

2014-08-10 Thread Nikita Kiryanov
On 07/08/14 16:49, Marek Vasut wrote: On Thursday, August 07, 2014 at 03:05:28 PM, Nikita Kiryanov wrote: Currently, CONFIG_SPL_SPI_* #defines are used for controlling SPI boot in SPL. These #defines do not allow the user to select SPI mode for the SPI flash (there's no CONFIG_SPL_SPI_MODE, so

[U-Boot] [PATCH v2] Makefile: remove generated boards.cfg within make distclean

2014-08-10 Thread Roger Meier
Signed-off-by: Roger Meier CC: Masahiro Yamada CC: Tom Rini CC: Wolfgang Denk --- Changes for v2: - remove boards.cfg within make distclean instead of mrproper - use mrproper instead of distclean within MAKEALL --- MAKEALL |2 +- Makefile |3 ++- 2 files changed, 3 insertions(+

Re: [U-Boot] [RFC PATCH v2 0/2] Make Python scripts compatible with older versions

2014-08-10 Thread Tom Rini
On Sun, Aug 10, 2014 at 11:49:12AM +0300, Igor Grinberg wrote: > > > On 08/07/14 20:33, Stephen Warren wrote: > > On 08/07/2014 10:57 AM, Tom Rini wrote: > >> On Thu, Aug 07, 2014 at 04:17:21PM +0300, Igor Grinberg wrote: > >>> On 08/07/14 13:57, Tom Rini wrote: > > .. > we just need >

Re: [U-Boot] mx6: spl: Rename ncs as ranks and move it to mx6_ddr3_cfg

2014-08-10 Thread Nikolay Dimitrov
Hi Tim, On 08/10/2014 10:47 AM, Tim Harvey wrote: On Sat, Aug 9, 2014 at 7:08 AM, Nikolay Dimitrov wrote: Hi guys, I'm working on adding SO-DIMM SPL support on a custom imx6 board, so I'm thinking on the idea of which DDR3 settings belong to the controller and which belong to the DDR3 memory

Re: [U-Boot] [PATCH 0/25] Introduce driver model support for SPI, SPI flash, cros_ec

2014-08-10 Thread Jagan Teki
On Sun, Aug 10, 2014 at 2:59 AM, Simon Glass wrote: > Hi, > > On 14 July 2014 18:56, Simon Glass wrote: >> Up until now driver model has not been used for any type of bus. Buses >> have some unique properties and needs, so we cannot claim that driver >> model can cover all the common cases unless

Re: [U-Boot] [RFC PATCH v2 0/2] Make Python scripts compatible with older versions

2014-08-10 Thread Igor Grinberg
On 08/07/14 20:33, Stephen Warren wrote: > On 08/07/2014 10:57 AM, Tom Rini wrote: >> On Thu, Aug 07, 2014 at 04:17:21PM +0300, Igor Grinberg wrote: >>> On 08/07/14 13:57, Tom Rini wrote: > .. we just need /usr/bin/env python2 as how we invoke our scripts. >>> >>> This means impose pyth

Re: [U-Boot] mx6: spl: Rename ncs as ranks and move it to mx6_ddr3_cfg

2014-08-10 Thread Tim Harvey
On Sat, Aug 9, 2014 at 7:08 AM, Nikolay Dimitrov wrote: > Hi guys, > > I'm working on adding SO-DIMM SPL support on a custom imx6 board, so I'm > thinking on the idea of which DDR3 settings belong to the controller and > which belong to the DDR3 memory module/chips. > > My proposal is to rename th