[U-Boot] [PATCH 8/8] JFFS2: Use merge sort when parsing filesystem

2015-06-28 Thread Mark Tomlinson
When building the file system the existing code does an insertion into a linked list. It attempts to speed this up by keeping a pointer to where the last entry was inserted but it's still slow. Now the nodes are just inserted into the list without searching through for the correct place. This unso

[U-Boot] [PATCH 3/8] JFFS2: Only list each directory entry once

2015-06-28 Thread Mark Tomlinson
If multiple versions of a file exist, only the most recent version should be used. The scheme to write 0 for the inode in older versions did not work, since this would have required writing to flash. The only time this caused an issue was listing a directory, where older versions of the file would

[U-Boot] [PATCH 0/8] JFFS2 fixes and performance improvements

2015-06-28 Thread Mark Tomlinson
These patches fix bugs and improve performance of JFFS2. Some of these improvements can already be found in old mailing lists, but for some reason they have not made their way into the u-boot source. I have the feeling that any one of these patches didn't show enough performance gain to warrant add

[U-Boot] [PATCH 6/8] JFFS2: Change scansize to match linux kernel

2015-06-28 Thread Mark Tomlinson
The scan code is similar to the linux kernel, but the kernel defines a much smaller size to scan through before deciding a sector is blank. Assuming that what is in the kernel is OK, make these two match. On its own, this change makes no difference to scanning of any sectors which have a clean mar

[U-Boot] [PATCH 2/8] JFFS2: Speed up and fix comparison functions

2015-06-28 Thread Mark Tomlinson
Copying complete nodes from flash can be slow if the flash is slow to read. By only reading the data needed, the sorting operation can be made much faster. The directory entry comparison function also had a two bugs. First, it did not ensure the name was copied, so the name comparison may have bee

[U-Boot] [PATCH 7/8] JFFS2: Use CLEANMARKER to reduce scanning time

2015-06-28 Thread Mark Tomlinson
If a sector has a CLEANMARKER at the beginning, it indicates that the entire sector has been erased. Therefore, if this is found, we can skip the entire block. This was not being done before this patch. The code now does the same as the kernel does when encountering a CLEANMARKER. It still checks

[U-Boot] [PATCH 4/8] JFFS2: Improve speed reading flash files

2015-06-28 Thread Mark Tomlinson
jffs2_1pass_read_inode() would read the entire data for each node in the filesystem, regardless of whether it was part of the file to be loaded or not. By only reading the header data for an inode, and then reading the data only when it is found to be part of the file to be loaded, much copying of

[U-Boot] [PATCH 5/8] JFFS2: Optimize building lists during scan

2015-06-28 Thread Mark Tomlinson
If the flash is slow, reading less from the flash into buffers makes the process faster. Signed-off-by: Mark Tomlinson --- fs/jffs2/jffs2_1pass.c | 24 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/fs/jffs2/jffs2_1pass.c b/fs/jffs2/jffs2_1pass.c index 8

[U-Boot] [PATCH 1/8] JFFS2: Return early when file read not necessary

2015-06-28 Thread Mark Tomlinson
If a destination is not provided, jffs2_1pass_read_inode() only returns the length of the file. In this case, avoid reading all the data nodes, and return as soon as the length of the file is known. Signed-off-by: Mark Tomlinson --- fs/jffs2/jffs2_1pass.c | 6 ++ 1 file changed, 6 insertion

Re: [U-Boot] [PATCH v2 1/2] pci: Configure expansion ROM during auto config process

2015-06-28 Thread Bin Meng
Hi Tom, On Tue, Jun 23, 2015 at 11:45 AM, Bin Meng wrote: > Currently PCI expansion ROM address is assigned by a call to > pciauto_setup_rom() outside of the pci auto config process. > This does not work when expansion ROM is on a device behind > PCI bridge where bridge's memory limit register wa

Re: [U-Boot] [PATCH 10/22] dm: usb: Do not assume that first child is always a hub

2015-06-28 Thread Simon Glass
On 17 June 2015 at 13:33, Hans de Goede wrote: > On some single port (otg) controllers there is no emulated root hub, so > the first child (if any) may be one of: UCLASS_MASS_STORAGE, > UCLASS_USB_DEV_GENERIC or UCLASS_USB_HUB. > > All three of these (and in the future others) are suitable for our

Re: [U-Boot] [PATCH 09/22] dm: usb: Allow usb host drivers to implement usb_reset_root_port

2015-06-28 Thread Simon Glass
On 17 June 2015 at 13:33, Hans de Goede wrote: > Allow usb uclass host drivers to implement usb_reset_root_port, this is > used by single port usb hosts which do not emulate a hub, such as otg > controllers. > > Signed-off-by: Hans de Goede > --- > drivers/usb/host/usb-uclass.c | 16 +++-

Re: [U-Boot] [PATCH 15/22] musb: Add device-model support to the musb-host u-boot glue

2015-06-28 Thread Simon Glass
Hi Hans, On 17 June 2015 at 13:33, Hans de Goede wrote: > Add device-model support to the musb-host u-boot glue, note this only > adds device-model support to the musb-core glue code, it does not add > support for device-model to any of the SoC specific musb glue code. > > Signed-off-by: Hans de

Re: [U-Boot] [PATCH 13/22] musb: Rename and wrap public functions

2015-06-28 Thread Simon Glass
On 17 June 2015 at 13:33, Hans de Goede wrote: > Rename and wrap the usb host API public functions, this is a preparation > patch for adding device-model support. > > Signed-off-by: Hans de Goede > --- > drivers/usb/musb-new/musb_uboot.c | 70 > +-- > 1 file

Re: [U-Boot] [PATCH 12/22] musb: Update usb-compat to work with struct usb_device without a parent ptr

2015-06-28 Thread Simon Glass
Hi Hans, On 17 June 2015 at 13:33, Hans de Goede wrote: > When building with CONFIG_DM_USB=y struct usb_device does not have a parent > pointer. This commit adds support to the musb code to deal with this. > > Signed-off-by: Hans de Goede > --- > drivers/usb/musb-new/musb_host.c | 4 +++ > dr

Re: [U-Boot] [PATCH 11/22] musb: Allow musb_platform_enable to return an error code

2015-06-28 Thread Simon Glass
On 17 June 2015 at 13:33, Hans de Goede wrote: > Allow musb_platform_enable to return an error code and propagate it up to > usb_lowlevel_init(). > > This allows moving the checks for an external vbus being present to be > moved from platform_init to platform_enable, so that the user can unplug a

Re: [U-Boot] [PATCH 14/22] musb: Add musb_host_data struct to hold global data

2015-06-28 Thread Simon Glass
Hi Hans, On 17 June 2015 at 13:33, Hans de Goede wrote: > Add a musb_host_data struct to hold all the global data host related musb > data. This is a preparation patch for adding device-model support. > > Signed-off-by: Hans de Goede > --- > drivers/usb/musb-new/musb_uboot.c | 107 > ++

Re: [U-Boot] [PATCH 06/22] dm: Export device_chld_remove / device_chld_unbind

2015-06-28 Thread Simon Glass
Hi Hans, On 17 June 2015 at 13:33, Hans de Goede wrote: > These functions are useful to remove all children from an usb bus before > rescanning the bus. > > Signed-off-by: Hans de Goede > --- > drivers/core/device-remove.c | 18 ++ > include/dm/device-internal.h | 26 +++

Re: [U-Boot] [PATCH 05/22] usb: Add an usb_device parameter to usb_reset_root_port

2015-06-28 Thread Simon Glass
On 17 June 2015 at 13:33, Hans de Goede wrote: > Add an usb_device parameter to usb_reset_root_port so that it knows which > root-port it is resetting. This is necessary for proper device-model support > for usb_reset_root_port. > > Also remove a duplicate declaration of usb_reset_root_port() from

Re: [U-Boot] [PATCH 04/22] usb: Pass device instead of portnr to usb_legacy_port_reset

2015-06-28 Thread Simon Glass
Hi Hans, On 17 June 2015 at 13:33, Hans de Goede wrote: > Pass the usb_device instead of the portnr to usb_legacy_port_reset and > rename it to usb_hub_port_reset as there is nothing legacy about it. > > Signed-off-by: Hans de Goede > --- > common/usb.c | 8 > 1 file changed, 4 inserti

Re: [U-Boot] [PATCH 08/22] dm: usb: Use device_chld_remove and _unbind to clean up usb devs on stop

2015-06-28 Thread Simon Glass
Hi Hans, On 17 June 2015 at 13:33, Hans de Goede wrote: > On an usb stop instead of leaving orphan usb devices behind simply remove On a usb_stop() or On a 'usb stop' command ? > them. This requires CONFIG_DM_DEVICE_REMOVE to be set, so only build > usb_stop() when that is set. This seems a

Re: [U-Boot] [PATCH 07/22] dm: usb: Fix "usb tree" output

2015-06-28 Thread Simon Glass
On 17 June 2015 at 13:33, Hans de Goede wrote: > last_child was abused by the old usb code to first store 1 if the > usb_device was not the root of the usb tree, and then later on re-used > to store whether or not the usb_device is actually the last child. > > The dm-usb code was always setting it

Re: [U-Boot] [PATCH 03/22] usb: usb_setup_device: Drop unneeded portnr function argument

2015-06-28 Thread Simon Glass
Hi Hans. On 17 June 2015 at 13:33, Hans de Goede wrote: > Drop the unneeded portnr function argument, the portnr is part of the > usb_device struct which is passed via the dev argument. > > Signed-off-by: Hans de Goede > --- > common/usb.c | 10 +- > drivers/usb/host/us

Re: [U-Boot] [PATCH 02/22] usb: Drop device-model specific copy of usb_legacy_port_reset

2015-06-28 Thread Simon Glass
On 17 June 2015 at 13:33, Hans de Goede wrote: > The device-model usb_legacy_port_reset function calls the device-model > usb_port_reset function which is a 1 on 1 copy of the non dm > usb_legacy_port_reset and this is the only use of usb_port_reset in all > of u-boot. > > Drop both, and alway use

Re: [U-Boot] [PATCH 01/22] usb: Always declare usb function prototypes

2015-06-28 Thread Simon Glass
On 17 June 2015 at 13:33, Hans de Goede wrote: > There is no harm in declaring the function prototypes even if nothing > implements them, and when CONFIG_DM_USB=y the various usb functions are > available regardless of any controller drivers being enabled. > > This fixes compile warnings due to mi

Re: [U-Boot] [PATCH v7 0/5] sf: Add dataflash support

2015-06-28 Thread Wang Haikun
On 6/28/2015 2:36 AM, Jagan Teki wrote: > Hi Haikun, > > Please check the series and let me know, will pull the same. Hi Jagan, Except a clerical error in include/configs/ls1021aqds.h, it looks fine. And I have verified them on LS1021AQDS board. > > On 28 June 2015 at 00:05, Jagan Teki wrote: >>

Re: [U-Boot] [PATCH 3/5] arm: ls102xa: Enable Driver Model SPI for ls1021aqds

2015-06-28 Thread Wang Haikun
On 6/28/2015 2:32 AM, Jagan Teki wrote: > From: Haikun Wang > > Enable Driver Model SPI for ls1021aqds board. > DSPI and QSPI is enabled only when boot from QSPI. > DSPI and QSPI are compatible under Driver Model SPI. > > Signed-off-by: Haikun Wang > Reviewed-by: Jagan Teki > --- > Changes in v7

Re: [U-Boot] [PATCH v2 7/8] imx: mx6qpsabreauto: Add MX6QP SABREAUTO CPU3 board support

2015-06-28 Thread Peng Fan
Hi Stefano, On Sat, Jun 27, 2015 at 07:08:14PM +0200, Stefano Babic wrote: >Hi Peng, > >On 11/06/2015 12:30, Peng Fan wrote: >> 1. Add DDR script for mx6qpsabreauto board. >> 2. On CPU3 board, enet RGMII tx clock is from internal PLL. Set the GPR5[9] >>and init the enet pll output to 125Mhz. >

Re: [U-Boot] [PATCH v2 4/8] imx: mx6: ccm: Change the clock settings for i.MX6QP

2015-06-28 Thread Peng Fan
Hi Stefano, On Sat, Jun 27, 2015 at 06:44:25PM +0200, Stefano Babic wrote: >Hi Peng, > >On 11/06/2015 12:30, Peng Fan wrote: >> Since i.MX6QP changes some CCM registers, so modify the clocks settings to >> follow the hardware changes. >> >> In c files, use runtime check and discard #ifdef. >> >>

[U-Boot] USE_HOSTCC in lib/rsa/rsa-verify.c

2015-06-28 Thread Andre Wolokita
Hi Simon, Could you please explain the used of #ifndef(USE_HOSTCC) in the rsa_verify_key function in rsa-verify.c? I've written a HW hashing driver and need to use the software mod-exp function as we don't have a hardware driver for this (yet.) I get all kinds of compilation errors if USE_HOSTC

Re: [U-Boot] [PATCH V2 2/2] imx: mx6 add i2c4 clock support for i.MX6SX

2015-06-28 Thread Peng Fan
Hi Stefano, On Sun, Jun 28, 2015 at 10:52:50AM +0200, Stefano Babic wrote: >Hi Peng, > >On 25/06/2015 03:33, Peng Fan wrote: >> Add I2C4 clock support for i.MX6SX. Since we use runtime check, >> but not macro, we need to remove `#ifdef ..` in crm_regs.h, or >> we will get compliation failure for o

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

2015-06-28 Thread Tom Rini
On Sun, Jun 28, 2015 at 03:58:33PM +, Luka Perkov wrote: > Hi Tom, > > this series contains two patches from Kevin that I missed to include in last > pull request. > > The following changes since commit ef0f2f57524ec85fb9058a23298f2c4995e0d950: > > Move defaults from config_cmd_default.h

[U-Boot] [PATCH] net: lpc32xx: connect MAC to phy with CONFIG_PHY_ADDR id

2015-06-28 Thread Vladimir Zapolskiy
The lpc32xx_eth_phylib_init() function is capable to connect LPC32XX MAC to some specified phy by phy id, by chance the single user of lpc32xx_eth has CONFIG_PHY_ADDR set to 0, however other boards may have non-zero CONFIG_PHY_ADDR value, fix it. Signed-off-by: Vladimir Zapolskiy --- drivers/net

Re: [U-Boot] [PATCH 0/2] sunxi: musb: Fix "usb reset" handling

2015-06-28 Thread Maxime Ripard
On Fri, Jun 26, 2015 at 01:01:12PM +0200, Hans de Goede wrote: > Hi, > > On 26-06-15 12:20, Maxime Ripard wrote: > >Hi, > > > >On Sun, Jun 14, 2015 at 12:40:11PM +0200, Hans de Goede wrote: > >>Paul, can you test these with gadget mode? Specifically if they help the > >>problem you were seeing whe

[U-Boot] [PATCH v2 05/20] sf: Kconfig: Update SPI_FLASH entry

2015-06-28 Thread Jagan Teki
Updated SPI_FLASH entry on Kconfig with depends on and along with config help description. Signed-off-by: Jagan Teki --- Changes for v2: - Removed "depends on CMD_SF" as it's not in defconfig drivers/mtd/spi/Kconfig | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-

Re: [U-Boot] [PATCH 1/3] PXE: if a board has set its own value for CONFIG_BOOTP_VCI_STRING do not set the default one. Use the board set value instead

2015-06-28 Thread Jagan Teki
This isn't a proper patch setup - please try to add short note line on subject head and description on body. On 29 June 2015 at 00:35, Dennis Gilmore wrote: > Signed-off-by: Dennis Gilmore > --- > include/config_distro_defaults.h | 6 ++ > 1 file changed, 6 insertions(+) > > diff --git a/in

[U-Boot] [PATCH 3/3] port vexpress to use distro boot commands

2015-06-28 Thread Dennis Gilmore
remove options defined in the distro defaults add distro bot commands set scriptaddr value Signed-off-by: Dennis Gilmore --- include/configs/vexpress_common.h | 34 +- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/include/configs/vexpress_common.

[U-Boot] [PATCH 2/3] Move setting CONFIG_BOOTP_VCI_STRING to before including the vexpress-common header

2015-06-28 Thread Dennis Gilmore
Signed-off-by: Dennis Gilmore --- include/configs/vexpress_ca15_tc2.h | 2 +- include/configs/vexpress_ca5x2.h| 2 +- include/configs/vexpress_ca9x4.h| 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/configs/vexpress_ca15_tc2.h b/include/configs/vexpress_ca15

[U-Boot] [PATCH 1/3] PXE: if a board has set its own value for CONFIG_BOOTP_VCI_STRING do not set the default one. Use the board set value instead

2015-06-28 Thread Dennis Gilmore
Signed-off-by: Dennis Gilmore --- include/config_distro_defaults.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/include/config_distro_defaults.h b/include/config_distro_defaults.h index bd8fbca..d8165cc 100644 --- a/include/config_distro_defaults.h +++ b/include/config_distro_default

[U-Boot] Setting up vexpress u-boot for distro configs and use in virt

2015-06-28 Thread Dennis Gilmore
Hi all, The attached patches fix up a minor noise issue if a board defines its own value for CONFIG_BOOTP_VCI_STRING, makes sure we do not hit any noise on vexpress and port to the distro boot configs while maintaining the existing boot setup. I have built and tested for vexpress_ca15_tc2 using

[U-Boot] [PATCH 0/20] tegra: Expand Nyan-big support

2015-06-28 Thread Davide Baldo
> Hi Sjoerd, > On 25 February 2015 at 17:12, Sjoerd Simons > wrote: >>* Hey Simon, ** Incidentally i got acces to a Nyan big and wanted to start testing *>>* u-boot on it. Unfortunately putting a uImage in a vboot signed blob to *>>* chainload it fr

Re: [U-Boot] [PATCH v2] Initial support for ACPI Tables for qemu-x86 target.

2015-06-28 Thread Saket Sinha
Hi Bin, +static unsigned long acpi_fill_mcfg(unsigned long current) +{ + pci_dev_t qemu_dev; + struct pci_device_id qemu_id[] = { { 0x8086, 0x29c0 } }; +u32 reg; + +qemu_dev = pci_find_devices(qemu_id, 0); +if (!qemu_dev)

Re: [U-Boot] [PATCH 4/7] imx6: define CONFIG_IMX6_THERMAL as a default option

2015-06-28 Thread Stefano Babic
Hi Peter, On 28/06/2015 18:23, Soeren Moch wrote: >>> Stefano, >>> >>> in the u-boot-imx repository there is already thermal support for >>> tbs2910. We would need to revert commit >>> fbd18aa610df896ccebbebb3fb88b197c413 before applying this patch. >>> Can you squash the revert into this patc

Re: [U-Boot] [PATCH 4/7] imx6: define CONFIG_IMX6_THERMAL as a default option

2015-06-28 Thread Soeren Moch
On 28.06.2015 18:09, Peter Robinson wrote: > On Sun, Jun 28, 2015 at 4:27 PM, Soeren Moch wrote: >>> Update boards that already include it, add DM options for those >>> that don't yet. >>> >>> Signed-off-by: Peter Robinson >>> --- >>> configs/aristainetos2_defconfig | 2 ++ >>> configs/ari

Re: [U-Boot] [PATCH v3 3/4] mv-common.h: Include support for device trees

2015-06-28 Thread Luka Perkov
Hi Stefan, On Fri, Jun 26, 2015 at 01:56:24PM +0200, Stefan Roese wrote: > On 18.05.2015 18:09, Kevin Smith wrote: > >Signed-off-by: Kevin Smith > >Acked-by: Stefan Roese > >--- > > include/configs/mv-common.h | 2 ++ > > 1 file changed, 2 insertions(+) > > > >diff --git a/include/configs/mv-co

Re: [U-Boot] [PATCH 4/7] imx6: define CONFIG_IMX6_THERMAL as a default option

2015-06-28 Thread Peter Robinson
On Sun, Jun 28, 2015 at 4:27 PM, Soeren Moch wrote: >> Update boards that already include it, add DM options for those >> that don't yet. >> >> Signed-off-by: Peter Robinson >> --- >> configs/aristainetos2_defconfig | 2 ++ >> configs/aristainetos_defconfig | 2 ++ >> configs/cgtqmx6qev

[U-Boot] Please pull u-boot-marvell master

2015-06-28 Thread Luka Perkov
Hi Tom, this series contains two patches from Kevin that I missed to include in last pull request. The following changes since commit ef0f2f57524ec85fb9058a23298f2c4995e0d950: Move defaults from config_cmd_default.h to Kconfig (2015-06-25 22:18:34 -0400) are available in the git repository at

Re: [U-Boot] Please pull u-boot-sunxi master (fixes for v2015.07)

2015-06-28 Thread Tom Rini
On Sun, Jun 28, 2015 at 05:39:28PM +0200, Hans de Goede wrote: > Hi, > > On 26-06-15 23:05, Tom Rini wrote: > >On Fri, Jun 26, 2015 at 12:13:51PM +0200, Hans de Goede wrote: > > > >>Hi Tom, > >> > >>Please pull u-boot-sunxi/master into master for two bug-fixes, > >>and one new board: > >> > >>The

Re: [U-Boot] [PATCH 4/7] imx6: define CONFIG_IMX6_THERMAL as a default option

2015-06-28 Thread Stefano Babic
Hi Soeren, On 28/06/2015 17:27, Soeren Moch wrote: >> Update boards that already include it, add DM options for those >> that don't yet. >> >> Signed-off-by: Peter Robinson >> --- >> configs/aristainetos2_defconfig | 2 ++ >> configs/aristainetos_defconfig | 2 ++ >> configs/cgtqmx6qeva

Re: [U-Boot] Please pull u-boot-sunxi master (fixes for v2015.07)

2015-06-28 Thread Hans de Goede
Hi, On 26-06-15 23:05, Tom Rini wrote: On Fri, Jun 26, 2015 at 12:13:51PM +0200, Hans de Goede wrote: Hi Tom, Please pull u-boot-sunxi/master into master for two bug-fixes, and one new board: The following changes since commit 325849ff3d4adeebb8f8f9bc5db950724df9bc21: Merge git://git.den

Re: [U-Boot] FEL mode broken since "sunxi: Move all boards to the driver-model"

2015-06-28 Thread Hans de Goede
Hi, On 26-06-15 21:50, Ian Campbell wrote: Hi Hans, Sorry for only just noticing this, but it looks like FEL mode doesn't work on my cubietruck since this commit. I get the SPL output: U-Boot SPL 2015.04-00665-gb6006ba (Jun 26 2015 - 20:38:50) DRAM: 2048 MiB CPU: 91200Hz, AXI/AHB/APB: 3/2/

Re: [U-Boot] [PATCH 4/7] imx6: define CONFIG_IMX6_THERMAL as a default option

2015-06-28 Thread Soeren Moch
> Update boards that already include it, add DM options for those > that don't yet. > > Signed-off-by: Peter Robinson > --- > configs/aristainetos2_defconfig | 2 ++ > configs/aristainetos_defconfig | 2 ++ > configs/cgtqmx6qeval_defconfig | 2 ++ > configs/cm_fx6_defconfig

Re: [U-Boot] [PATCH] imx: imximage: add new CHECK/CLR BIT command

2015-06-28 Thread Stefano Babic
Hi Peng, On 14/06/2015 11:38, Peng Fan wrote: > Since rom code supports the following commands, add new commands support in > imximage. > It is better to explain here which i.MX are supporting this ROM (i.MX6 and i.MX7). > 1. CHECK_BITS_SET 4 [address] [mask bit] >means: >while ((*addr

Re: [U-Boot] [v2 0/6] stv0991: enable cadence qspi controller & spi flash

2015-06-28 Thread Jagan Teki
On 25 June 2015 at 04:36, Vikas Manocha wrote: > This patchset enables cadence qspi controller for stv0991 soc, saves > environment in spi flash & moves CONFIG_OF in the defconfig file. > > In fact it clubs two patchsets submitted earlier: > - [PATCH 0/3] stv0991: enable cadence qspi controller &

Re: [U-Boot] [v2 6/6] stv0991: configure device tree for cadence qspi & flash

2015-06-28 Thread Jagan Teki
On 25 June 2015 at 04:36, Vikas Manocha wrote: > This patch add the device tree entry for qspi controller & spi flash > memory. > > Signed-off-by: Vikas Manocha > --- > > Changed in v2: None > > arch/arm/dts/stv0991.dts | 34 ++ > 1 file changed, 34 insertions(+

Re: [U-Boot] [PATCH V2 1/2] imx: mx6 remove duplicated enable_cspi_clock

2015-06-28 Thread Stefano Babic
Hi Peng, On 25/06/2015 03:33, Peng Fan wrote: > enable_spi_clock does the same thing with enable_cspi_clock, so > remove enable_cspi_clock. > Remove enable_cspi_clock prototype in header file > convert cm_fx6/spl.c to use enable_spi_clk > > Signed-off-by: Peng Fan > --- > arch/arm/cpu/armv7/mx6

Re: [U-Boot] [PATCH V2 2/2] imx: mx6 add i2c4 clock support for i.MX6SX

2015-06-28 Thread Stefano Babic
Hi Peng, On 25/06/2015 03:33, Peng Fan wrote: > Add I2C4 clock support for i.MX6SX. Since we use runtime check, > but not macro, we need to remove `#ifdef ..` in crm_regs.h, or > we will get compliation failure for other platforms. ^- compliation ? > > Making the macros only