Re: [U-Boot] [PATCH 9/9] MX53: mx53loco: Add SATA support

2012-02-23 Thread Jason Hui
On Wed, Feb 22, 2012 at 6:24 PM, Stefano Babic wrote: > Signed-off-by: Stefano Babic > CC: Jason Liu > --- >  board/freescale/mx53loco/mx53loco.c |    3 +++ >  include/configs/mx53loco.h          |   11 +++ >  2 files changed, 14 insertions(+), 0 deletions(-) > > diff --git a/board/frees

Re: [U-Boot] [PATCH v3 5/5] i.mx6q: mx6qsabrelite: Update the network configuration

2012-02-01 Thread Jason Hui
Troy, On Thu, Feb 2, 2012 at 9:37 AM, Troy Kisky wrote: > On 2/1/2012 6:14 PM, Troy Kisky wrote: >> >> +       ksz9021_phy_write(phydev, 0, 0x105, 0x0);       /* min rx data >> delay */ >> +       ksz9021_phy_write(phydev, 0, 0x106, 0x0);       /* min tx data >> delay */ >> +       /* max rx/tx c

Re: [U-Boot] [PATCH V6 - Part 5 - 1/1] mx6q: mx6qsabrelite: Conditionally define macros for environment in serial flash

2012-02-01 Thread Jason Hui
On Wed, Feb 1, 2012 at 1:52 AM, Eric Nelson wrote: > The default settings store the persistent environment on SD card > and not serial flash (SPI NOR). > > To use SPI NOR to save the environment instead of SD card, edit > include/configs/mx6qsabrelite.h and > > - undefine CONFIG_ENV_IS_IN_MMC > -

Re: [U-Boot] [PATCH V6 - Part 4 - 1/1] mx6q: mx6qsabrelite: Provide default serial flash bus and chip-select

2012-02-01 Thread Jason Hui
On Wed, Feb 1, 2012 at 1:52 AM, Eric Nelson wrote: > Signed-off-by: Eric Nelson > Acked-by: Dirk Behme > Acked-by: Stefano Babic > --- >  board/freescale/mx6qsabrelite/mx6qsabrelite.c |    2 +- >  include/configs/mx6qsabrelite.h               |    2 ++ >  2 files changed, 3 insertions(+), 1 del

Re: [U-Boot] [PATCH V6 - Part 2 - 2/2] README: Add description of SPI Flash (SF) command configuration

2012-02-01 Thread Jason Hui
On Wed, Feb 1, 2012 at 1:52 AM, Eric Nelson wrote: > Signed-off-by: Eric Nelson > --- >  README |   20 >  1 files changed, 20 insertions(+), 0 deletions(-) Acked-by: Jason Liu > > diff --git a/README b/README > index 9d713e8..4dbebcb 100644 > --- a/README > +++ b/README >

Re: [U-Boot] [PATCH V6 - Part 3 - 1/2] sf command: allow default bus and chip selects

2012-02-01 Thread Jason Hui
On Wed, Feb 1, 2012 at 1:52 AM, Eric Nelson wrote: > This patch allows a board configuration file to provide default bus > and chip-selects for SPI flash so that first argument to the 'sf' command > is optional. > > On boards that use the mxc_spi driver and a GPIO for chip select, this allows > a

Re: [U-Boot] [PATCH V6 - Part 2 - 3/3] mx6q: mx6qsabrelite: Add ECSPI support to the Sabrelite platform

2012-02-01 Thread Jason Hui
On Wed, Feb 1, 2012 at 1:52 AM, Eric Nelson wrote: > Signed-off-by: Eric Nelson > Acked-by: Dirk Behme > Acked-by: Stefano Babic > --- >  board/freescale/mx6qsabrelite/imximage.cfg    |    2 +- >  board/freescale/mx6qsabrelite/mx6qsabrelite.c |   25 > + >  include/confi

Re: [U-Boot] [PATCH V6 - Part 2 - 2/3] mx6q: Add support for ECSPI through mxc_spi driver

2012-02-01 Thread Jason Hui
On Wed, Feb 1, 2012 at 1:52 AM, Eric Nelson wrote: > Signed-off-by: Eric Nelson > Acked-by: Dirk Behme > Acked-by: Stefano Babic > --- >  arch/arm/include/asm/arch-mx6/imx-regs.h |   44 > ++ >  1 files changed, 44 insertions(+), 0 deletions(-) Acked-by: Jason Liu

Re: [U-Boot] [PATCH V6 - Part 2 - 1/3] mxc_spi: move machine specifics into CPU headers

2012-02-01 Thread Jason Hui
On Wed, Feb 1, 2012 at 1:52 AM, Eric Nelson wrote: > Move (E)CSPI register declarations into the imx-regs.h files for each > supported CPU > > Introduce two new macros to control conditional setup >     MXC_CSPI - Used for processors with the Configurable Serial Peripheral > Interface (MX3x) >  

Re: [U-Boot] [PATCH 0/3] mxc_spi refactoring (for mx6q and mx6qsabrelite)

2012-01-31 Thread Jason Hui
Eric, On Tue, Jan 31, 2012 at 9:39 PM, Eric Nelson wrote: > On 01/30/2012 11:51 PM, Jason Liu wrote: >> >> Eric, >> >> 2012/1/31 Eric Nelson: >>> >>> This patch set refactors mxc_spi as described in >>>    http://lists.denx.de/pipermail/u-boot/2010-March/068791.html >>> and requested in >>>    ht

Re: [U-Boot] [PATCH 3/3] mx6q: mx6qsabrelite: Add ECSPI support to the Sabrelite platform

2012-01-31 Thread Jason Hui
Eric, On Tue, Jan 31, 2012 at 3:52 AM, Eric Nelson wrote: > Signed-off-by: Eric Nelson > Acked-by: Dirk Behme > Acked-by: Stefano Babic > --- >  board/freescale/mx6qsabrelite/imximage.cfg    |    2 +- >  board/freescale/mx6qsabrelite/mx6qsabrelite.c |   25 > + >  inclu

Re: [U-Boot] [PATCH 2/3] mx6q: Add support for ECSPI through mxc_spi driver

2012-01-31 Thread Jason Hui
On Tue, Jan 31, 2012 at 3:52 AM, Eric Nelson wrote: > Signed-off-by: Eric Nelson > Acked-by: Dirk Behme > Acked-by: Stefano Babic > --- >  arch/arm/include/asm/arch-mx6/imx-regs.h |   44 > ++ >  1 files changed, 44 insertions(+), 0 deletions(-) Acked-by: Jason Liu

Re: [U-Boot] [PATCH 1/3] mxc_spi: move machine specifics into CPU headers

2012-01-31 Thread Jason Hui
Eric On Tue, Jan 31, 2012 at 3:52 AM, Eric Nelson wrote: > Move (E)CSPI register declarations into the imx-regs.h files for each > supported CPU > > Introduce two new macros to control conditional setup >     MXC_CSPI - Used for processors with the Configurable Serial Peripheral > Interface (MX

Re: [U-Boot] [PATCH 0/3] mxc_spi refactoring (for mx6q and mx6qsabrelite)

2012-01-30 Thread Jason Hui
On Tue, Jan 31, 2012 at 2:51 PM, Jason Liu wrote: > Eric, > > 2012/1/31 Eric Nelson : >> This patch set refactors mxc_spi as described in >>    http://lists.denx.de/pipermail/u-boot/2010-March/068791.html >> and requested in >>    http://lists.denx.de/pipermail/u-boot/2012-January/116023.html >> i

Re: [U-Boot] [PATCH 6/6] mx6q: mx6qsabrelite: Provide defaults for placing environment in serial flash

2012-01-19 Thread Jason Hui
On Fri, Jan 20, 2012 at 3:06 PM, Dirk Behme wrote: > On 20.01.2012 04:27, Jason Hui wrote: >> >> On Wed, Jan 18, 2012 at 6:09 AM, Eric Nelson >> wrote: >>> >>> Signed-off-by: Eric Nelson >>> --- >>>  include/configs/mx6qsabrelite.h |  

Re: [U-Boot] [PATCH 6/6] mx6q: mx6qsabrelite: Provide defaults for placing environment in serial flash

2012-01-19 Thread Jason Hui
On Wed, Jan 18, 2012 at 6:09 AM, Eric Nelson wrote: > Signed-off-by: Eric Nelson > --- >  include/configs/mx6qsabrelite.h |   12 +++- >  1 files changed, 11 insertions(+), 1 deletions(-) > > diff --git a/include/configs/mx6qsabrelite.h b/include/configs/mx6qsabrelite.h > index 44b028a..16

Re: [U-Boot] [PATCH V3] imx6: mx6qarm2: updated board_mmc_getcd() to the new prototype

2012-01-18 Thread Jason Hui
On Wed, Jan 18, 2012 at 5:41 PM, Stefano Babic wrote: > Commit 314284b1567f1ce29c19060641e7f213146f7ab8 has > changed board_mmc_getcd() function prototype, while > mx6qarm2 has still the old one. > > Signed-off-by: Stefano Babic > CC: Jason Liu > Acked-by: Dirk Behme Acked-by: Jason Liu > --

Re: [U-Boot] [PATCH V2] imx6: mx6qarm2: updated board_mmc_getcd() to the new prototype

2012-01-17 Thread Jason Hui
On Tue, Jan 17, 2012 at 9:15 PM, Stefano Babic wrote: > Commit 314284b1567f1ce29c19060641e7f213146f7ab8 has > changed board_mmc_getcd() function prototype, while > mx6qarm2 has still the old one. > > Signed-off-by: Stefano Babic > CC: Jason Liu > Acked-by: Dirk Behme > > --- >  board/freescale/

Re: [U-Boot] [PATCH 1/3] imximage: Add MX53 to the documentation

2012-01-16 Thread Jason Hui
On Thu, Jan 12, 2012 at 5:28 PM, Dirk Behme wrote: > i.MX53 is supported, too. Add this to the introduction of the > documentation. > > Signed-off-by: Dirk Behme > CC: Fabio Estevam > CC: Stefano Babic > CC: Jason Liu > --- >  doc/README.imximage |    2 +- >  1 files changed, 1 insertions(+),

Re: [U-Boot] [PATCH 3/3] imximage: Sort bootops alphabetically

2012-01-16 Thread Jason Hui
On Thu, Jan 12, 2012 at 5:28 PM, Dirk Behme wrote: > Signed-off-by: Dirk Behme > CC: Fabio Estevam > CC: Stefano Babic > CC: Jason Liu > --- > Note: This was requested by Wolfgang in >      http://www.mail-archive.com/u-boot@lists.denx.de/msg71842.html > >  tools/imximage.c |    6 +++--- >  1

Re: [U-Boot] [PATCH 2/3] imximage: Add support for i.MX6

2012-01-16 Thread Jason Hui
On Thu, Jan 12, 2012 at 5:28 PM, Dirk Behme wrote: > The i.MX6 processor can boot from NOR flash and SATA disks, > additionally. Add the flash offsets for these additional > boot modes. > > Signed-off-by: Dirk Behme > Signed-off-by: Fabio Estevam > CC: Stefano Babic > CC: Jason Liu > --- >  do

Re: [U-Boot] [PATCH 5/5] i.mx6q: mx6qsabrelite: Update the network configuration

2012-01-16 Thread Jason Hui
On Fri, Jan 13, 2012 at 8:10 PM, Dirk Behme wrote: > From: Troy Kisky > > Enable the usage of PHY_MICREL_KSZ9021, force the master mode and > minimize the tx clock delay. > > There is an issue with the gigabit ethernet mode at the SabreLite boards: > When operating on a Gb LAN, the FEC occasional

Re: [U-Boot] [PATCH] i.mx6q: configs: Add fdt_high and initrd_high variables

2012-01-16 Thread Jason Hui
On Fri, Jan 13, 2012 at 5:49 PM, Dirk Behme wrote: > To be able to load the device tree and initrd correctly, set > the fdt_high and initrd_high environment variables. > > Using 0x implies that the device tree and the initrd > are initially copied to working addresses. This will avoid an >

Re: [U-Boot] [PATCH] i.mx6q: mx6qsabrelite: Setup uart1 pinmux

2012-01-16 Thread Jason Hui
On Fri, Jan 13, 2012 at 5:49 PM, Dirk Behme wrote: > From: Troy Kisky > > This allows the Linux kernel to use UART1 before pinmux > support is added for UART1 > > Signed-off-by: Troy Kisky > CC: Troy Kisky > CC: Jason Liu > CC: Stefano Babic > --- > Note: This patch is against the recent head

Re: [U-Boot] [PATCH] i.mx6: mx6x_pins: Fix uart txd definitions

2012-01-16 Thread Jason Hui
On Fri, Jan 13, 2012 at 5:49 PM, Dirk Behme wrote: > From: Troy Kisky > > The uart txd pad can also provide the rxd function. But it does not stop its > tx role. This could be used for a half duplex serial port. > > Change names to reduce confusion. > > Signed-off-by: Troy Kisky > CC: Troy Kisky

Re: [U-Boot] __mmc_get_env_addr() is not being called?

2011-12-18 Thread Jason Hui
On Mon, Dec 19, 2011 at 2:37 PM, Stefano Babic wrote: > On 18/12/2011 18:56, Kumar Gala wrote: >> >> On Dec 16, 2011, at 3:42 AM, Stefano Babic wrote: >> >>> On 16/12/2011 10:33, Fabio Estevam wrote: >>> The weak function was introduced by this commit: http://git.denx.de/?p=u-boot.g

Re: [U-Boot] [PATCH V3 2/5] i.mx: add the initial support for freescale i.MX6Q processor

2011-11-30 Thread Jason Hui
On Thu, Dec 1, 2011 at 8:07 AM, Fabio Estevam wrote: > On Fri, Nov 25, 2011 at 8:18 AM, Jason Liu wrote: > >> +u32 get_cpu_rev(void) >> +{ >> +       int system_rev = 0x61000 | CHIP_REV_1_0; > > Can´t we do this from reading from a chip location? > > This way we don´t need to change when new sili

Re: [U-Boot] [PATCH V3 1/5] i.mx: introduce the armv7/imx-common folder

2011-11-30 Thread Jason Hui
On Thu, Dec 1, 2011 at 8:04 AM, Fabio Estevam wrote: > On Fri, Nov 25, 2011 at 8:18 AM, Jason Liu wrote: > >> +static char *get_reset_cause(void) >> +{ >> +       u32 cause; >> +       struct src *src_regs = (struct src *)SRC_BASE_ADDR; >> + >> +       cause = readl(&src_regs->srsr); >> +       w

Re: [U-Boot] [PATCH] MX: serial_mxc: cleanup removing nasty #ifdef

2011-11-24 Thread Jason Hui
On Tue, Nov 22, 2011 at 11:51 PM, Stefano Babic wrote: > The serial driver for iMX SOCs is continuosly changed if a > new SOC or not yet used port is used. CONFIG_SYS__ > defines were used only to find the base address for the selected UART. > Instead of that, move the base address to the board co

Re: [U-Boot] [PATCH] MX: serial_mxc: cleanup removing nasty #ifdef

2011-11-24 Thread Jason Hui
On Thu, Nov 24, 2011 at 8:11 PM, Wolfgang Denk wrote: > Dear Jason Hui, > > In message > you > wrote: >> >> I'm just get confused. It seems from you that we can both use: >> CONFIG_option and CONFIG_SYS_  in this patch? right? > > It's one

Re: [U-Boot] [PATCH] MX: serial_mxc: cleanup removing nasty #ifdef

2011-11-24 Thread Jason Hui
On Thu, Nov 24, 2011 at 7:41 PM, Wolfgang Denk wrote: > Dear Jason Hui, > > In message > you > wrote: >> >> Then what's the rule that we must need use CONFIG_SYS_ other than >> CONFIG_option? > > You yourself quoted the relevant part of the README

Re: [U-Boot] [PATCH] MX: serial_mxc: cleanup removing nasty #ifdef

2011-11-23 Thread Jason Hui
On Thu, Nov 24, 2011 at 2:13 PM, Wolfgang Denk wrote: > Dear Jason Hui, > > In message > you > wrote: >> >> Really? As I understand: >> >> CONFIG_OPTION is for an option selectable by user, so if we: >> #define CONFIG_OPTION >> >

Re: [U-Boot] [PATCH] MX: serial_mxc: cleanup removing nasty #ifdef

2011-11-23 Thread Jason Hui
On Thu, Nov 24, 2011 at 8:08 AM, Marek Vasut wrote: >> Am 23/11/2011 11:44, schrieb Marek Vasut: >> >> On 23/11/2011 03:48, Jason Hui wrote: >> >>> From the u-boot/README: >> >>> >> >>> * Configuration _OPTIONS_: >>

Re: [U-Boot] [PATCH] MX: serial_mxc: cleanup removing nasty #ifdef

2011-11-22 Thread Jason Hui
On Tue, Nov 22, 2011 at 11:51 PM, Stefano Babic wrote: > The serial driver for iMX SOCs is continuosly changed if a > new SOC or not yet used port is used. CONFIG_SYS__ > defines were used only to find the base address for the selected UART. > Instead of that, move the base address to the board co

Re: [U-Boot] [PATCH V2 4/6] i.mx: serial_mxc: add the i.mx6q support

2011-11-22 Thread Jason Hui
On Mon, Nov 21, 2011 at 10:51 PM, Stefano Babic wrote: > On 18/11/2011 08:11, Jason Liu wrote: >> Signed-off-by: Jason Liu >> Cc: Stefano Babic >> --- >> v2: Cc Stefano >> --- >>  drivers/serial/serial_mxc.c |   10 +++--- >>  1 files changed, 7 insertions(+), 3 deletions(-) >> >> diff --git

Re: [U-Boot] [PATCH V2 2/6] i.mx: add the initial support for freescale i.MX6Q processor

2011-11-22 Thread Jason Hui
On Mon, Nov 21, 2011 at 10:44 PM, Stefano Babic wrote: > On 18/11/2011 08:11, Jason Liu wrote: >> i.MX6Q is freescale quad core processors with ARM cortex_a9 complex. >> This patch is to add the initial support for this processor. >> >> Signed-off-by: Jason Liu >> Cc:Stefano Babic >> --- >> v2:p

Re: [U-Boot] [PATCH V2 3/6] i.mx: mxc_gpio: add the i.mx6q support

2011-11-18 Thread Jason Hui
;> [...] >> >> >        Then we can avoid adding SOC compile options in future. >> >> Terry, please don't top-post. As for your comments, I don't think so, >> first, we should not simply use GPIOx_BASE_ADDR, and second, >> it will introduce a lot of

Re: [U-Boot] [PATCH V2 3/6] i.mx: mxc_gpio: add the i.mx6q support

2011-11-17 Thread Jason Hui
2011/11/18 Lv Terry-R65388 : > Hi Jason, > >        What about using > > #ifdef GPIO4_BASE_ADDR >        [3] = GPIO4_BASE_ADDR, > #endif [...] > >        Then we can avoid adding SOC compile options in future. > Terry, please don't top-post. As for your comments, I don't think so, first, we shoul

Re: [U-Boot] [PATCH 6/6] i.mx: i.mx6q: Add the initial support for i.mx6q ARM2 board

2011-11-16 Thread Jason Hui
On Wed, Nov 16, 2011 at 7:34 PM, Dirk Behme wrote: > On 12.11.2011 11:36, Jason Liu wrote: >> >> Add the initial support for Freescale i.MX6Q Armadillo2 board >> Support: MMC boot from slot 0/1, debug UART(UART4), usdhc. > > ... >> >> diff --git a/include/configs/mx6qarm2.h b/include/configs/mx6qa

Re: [U-Boot] [PATCH 5/6] i.mx: fsl_esdhc: add the i.mx6q support

2011-11-15 Thread Jason Hui
On Tue, Nov 15, 2011 at 7:56 PM, Stefano Babic wrote: > On 11/15/2011 10:46 AM, Jason Hui wrote: > >>> Well this is insane, is the datasheet for mx6q available already so I can >>> check >>> for myself? >> >> This is mx6q usdhc design and datashee

Re: [U-Boot] [PATCH 2/6] i.mx: Add the initial support for freescale i.MX6Q processor

2011-11-15 Thread Jason Hui
On Mon, Nov 14, 2011 at 7:49 PM, Stefano Babic wrote: > On 11/14/2011 10:42 AM, Jason Hui wrote: > >>> >>> All get_usdhcX function are identical, except for two masks >>> (MXC_CCM_CSCDR1_USDHCx_PODF_MASK and MXC_CCM_CSCMR1_USDHCx_CLK_SEL). >>>

Re: [U-Boot] [PATCH 2/6] i.mx: Add the initial support for freescale i.MX6Q processor

2011-11-15 Thread Jason Hui
On Mon, Nov 14, 2011 at 6:45 PM, Marek Vasut wrote: >> On Mon, Nov 14, 2011 at 7:11 AM, Marek Vasut wrote: >> >> i.MX6Q is freescale quad core processors with ARM cortex_a9 complex. >> >> This patch is to add the initial support for this processor. >> >> >> >> Signed-off-by: Jason Liu >> >> ---

Re: [U-Boot] [PATCH 5/6] i.mx: fsl_esdhc: add the i.mx6q support

2011-11-15 Thread Jason Hui
On Mon, Nov 14, 2011 at 6:42 PM, Marek Vasut wrote: >> On Sun, Nov 13, 2011 at 12:35 AM, Marek Vasut wrote: >> >> The mmc host controller on the i.mx6q is called usdhc which >> >> is redesigned based on the freescale esdhc controller. >> >> >> >> The usdhc controller is almost compatible with esd

Re: [U-Boot] [PATCH 6/6] i.mx: i.mx6q: Add the initial support for i.mx6q ARM2 board

2011-11-14 Thread Jason Hui
On Mon, Nov 14, 2011 at 5:25 PM, Stefano Babic wrote: > On 11/12/2011 11:36 AM, Jason Liu wrote: >> Add the initial support for Freescale i.MX6Q Armadillo2 board >> Support: MMC boot from slot 0/1, debug UART(UART4), usdhc. >> >> Signed-off-by: Jason Liu > > Hi Jason, > > is mx6qarm2 the official

Re: [U-Boot] [PATCH 2/6] i.mx: Add the initial support for freescale i.MX6Q processor

2011-11-14 Thread Jason Hui
On Mon, Nov 14, 2011 at 5:03 PM, Stefano Babic wrote: > On 11/12/2011 11:36 AM, Jason Liu wrote: >> i.MX6Q is freescale quad core processors with ARM cortex_a9 complex. >> This patch is to add the initial support for this processor. >> >> Signed-off-by: Jason Liu >> --- >>  arch/arm/cpu/armv7/mx6

Re: [U-Boot] [PATCH 6/6] i.mx: i.mx6q: Add the initial support for i.mx6q ARM2 board

2011-11-14 Thread Jason Hui
On Sun, Nov 13, 2011 at 3:04 PM, Igor Grinberg wrote: > Hi Jason, > > Two neats in addition to Fabio's comments below: > > On 11/12/11 12:36, Jason Liu wrote: >> Add the initial support for Freescale i.MX6Q Armadillo2 board >> Support: MMC boot from slot 0/1, debug UART(UART4), usdhc. >> >> Signed

Re: [U-Boot] [PATCH 6/6] i.mx: i.mx6q: Add the initial support for i.mx6q ARM2 board

2011-11-14 Thread Jason Hui
On Sun, Nov 13, 2011 at 4:13 AM, Fabio Estevam wrote: > On Sat, Nov 12, 2011 at 8:36 AM, Jason Liu wrote: >> +int board_mmc_getcd(u8 *cd, struct mmc *mmc) >> +{ >> +       struct fsl_esdhc_cfg *cfg = (struct fsl_esdhc_cfg *)mmc->priv; >> + >> +       if (cfg->esdhc_base == USDHC3_BASE_ADDR) >> +

Re: [U-Boot] [PATCH 6/6] i.mx: i.mx6q: Add the initial support for i.mx6q ARM2 board

2011-11-14 Thread Jason Hui
On Sun, Nov 13, 2011 at 3:42 AM, Fabio Estevam wrote: > Hi Jason, > > On Sat, Nov 12, 2011 at 8:36 AM, Jason Liu wrote: >> +int board_init(void) >> +{ >> +       /* board id for linux */ >> +       gd->bd->bi_arch_number = MACH_TYPE_MX61_ARD; > > Please remove this line and define the mach type i

Re: [U-Boot] [PATCH 1/6] i.mx: i.mx5: Move some files to imx-common folder

2011-11-14 Thread Jason Hui
On Mon, Nov 14, 2011 at 4:34 PM, Stefano Babic wrote: > On 11/12/2011 11:36 AM, Jason Liu wrote: >> In order to support the coming MX6 platform and to reducde >> the duplicated code, we had better move some common files >> to the imx-common folder for sharing. >> >> Signed-off-by: Jason Liu >> --

Re: [U-Boot] [PATCH 2/6] i.mx: Add the initial support for freescale i.MX6Q processor

2011-11-14 Thread Jason Hui
On Mon, Nov 14, 2011 at 7:11 AM, Marek Vasut wrote: >> i.MX6Q is freescale quad core processors with ARM cortex_a9 complex. >> This patch is to add the initial support for this processor. >> >> Signed-off-by: Jason Liu >> --- >>  arch/arm/cpu/armv7/mx6/Makefile           |   48 + >>  arch/arm/cpu

Re: [U-Boot] [PATCH 5/6] i.mx: fsl_esdhc: add the i.mx6q support

2011-11-14 Thread Jason Hui
On Sun, Nov 13, 2011 at 12:35 AM, Marek Vasut wrote: >> The mmc host controller on the i.mx6q is called usdhc which >> is redesigned based on the freescale esdhc controller. >> >> The usdhc controller is almost compatible with esdhc except >> it adds one misc control register from user using exper

Re: [U-Boot] [PATCH 0/6] i.mx: add the initial i.mx6q core/board support

2011-11-14 Thread Jason Hui
On Sun, Nov 13, 2011 at 12:10 AM, Dirk Behme wrote: > On 12.11.2011 11:36, Jason Liu wrote: >> >> This patch-set add the initial support for freescale i.mx6q support. >> freescale i.mx6q is a quad core built on arm cortex_a9 complex. >> >> The patch-set has been tested ok on freescale i.mx6q Armad

Re: [U-Boot] [PATCH 07/11] MX5: mx53evk: use new pmic driver

2011-10-09 Thread Jason Hui
Hi, Stefano, On Sat, Oct 8, 2011 at 6:07 PM, Stefano Babic wrote: > Switch to new pmic generic driver. > > Signed-off-by: Stefano Babic > CC: Jason Liu > --- >  board/freescale/mx53evk/mx53evk.c |   15 +-- >  include/configs/mx53evk.h         |    5 +++-- >  2 files changed, 12 inse

Re: [U-Boot] [PATCH 10/13] mx53loco: Place machine ID into board config

2011-09-23 Thread Jason Hui
On Fri, Sep 23, 2011 at 4:30 PM, Stefano Babic wrote: > On 09/22/2011 08:07 PM, Fabio Estevam wrote: >> Let common code set the machine ID. >> >> Signed-off-by: Fabio Estevam As Stefano said, please Cc me here. >> --- >>  board/freescale/mx53loco/mx53loco.c |    1 - >>  include/configs/mx53loco

Re: [U-Boot] [PATCH 13/13] mx53evk: Place machine ID into board config

2011-09-23 Thread Jason Hui
Hi, Fabio, On Fri, Sep 23, 2011 at 4:31 PM, Stefano Babic wrote: > On 09/22/2011 08:07 PM, Fabio Estevam wrote: >> Let common code set the machine ID. >> >> Signed-off-by: Fabio Estevam As Stefano said, please Cc me here. >> --- >>  board/freescale/mx53evk/mx53evk.c |    1 - >>  include/config

Re: [U-Boot] [PATCH 4/4 V5] I2C: mxc_i2c rework

2011-09-22 Thread Jason Hui
ing style a bit ;-) > > Signed-off-by: Marek Vasut > Cc: Stefano Babic > Cc: Heiko Schocher > Cc: Jason Hui > --- >  drivers/i2c/mxc_i2c.c |  422 > + >  1 files changed, 289 insertions(+), 133 deletions(-) > > V2: Use P

Re: [U-Boot] [PATCH 2/4 V2] MX5: Add AHB clock reporting and fix IPG clock reporting

2011-09-22 Thread Jason Hui
Hi, Marek, On Fri, Sep 23, 2011 at 3:20 AM, Marek Vasut wrote: > Signed-off-by: Marek Vasut > Cc: Stefano Babic > Cc: Jason Hui Here is: Jason Liu > --- >  arch/arm/cpu/armv7/mx5/clock.c |   36 +++- >  1 files changed, 27 insertions(+), 9 d

Re: [U-Boot] [PATCH] cosmetic: fsl_pmic: cosmetic for the help message

2011-09-22 Thread Jason Hui
Hi, Stefano, On Thu, Sep 22, 2011 at 5:18 PM, Stefano Babic wrote: > On 09/22/2011 07:30 AM, Jason Liu wrote: >> This is cosmetic patch for the help message: >> >> Before: >> pmic dump [numregs] dump registers >> After: >> pmic dump [numregs] - dump registers >> >> Signed-off-by: Jason Liu >> --

Re: [U-Boot] [PATCH 4/4 V4] I2C: mxc_i2c rework

2011-09-21 Thread Jason Hui
Hi, Marek, On Thu, Sep 22, 2011 at 1:47 PM, Marek Vasut wrote: > On Thursday, September 22, 2011 06:54:22 AM Jason Hui wrote: >> Hi, Marek, >> >> On Thu, Sep 22, 2011 at 11:43 AM, Marek Vasut wrote: >> > On Thursday, September 22, 2011 04:45:20 AM Ja

Re: [U-Boot] [PATCH 4/4 V4] I2C: mxc_i2c rework

2011-09-21 Thread Jason Hui
Hi, Marek, On Thu, Sep 22, 2011 at 11:43 AM, Marek Vasut wrote: > On Thursday, September 22, 2011 04:45:20 AM Jason Hui wrote: >> Hi, Marek, >> >> On Tue, Sep 20, 2011 at 10:35 AM, Marek Vasut wrote: >> > Rewrite the mxc_i2c driver. >> >  * This version

Re: [U-Boot] [PATCH 2/4] MX5: Add AHB clock reporting and fix IPG clock reporting

2011-09-21 Thread Jason Hui
Hi, Marek, On Thu, Sep 22, 2011 at 11:41 AM, Marek Vasut wrote: > On Thursday, September 22, 2011 05:05:43 AM Jason Hui wrote: >> Hi, Marek >> >> On Thu, Sep 15, 2011 at 8:09 AM, Marek Vasut wrote: >> > Signed-off-by: Marek Vasut >> > --- >

Re: [U-Boot] [PATCH 1/4] MX5: Modify the PLL decoding algorithm

2011-09-21 Thread Jason Hui
On Thu, Sep 15, 2011 at 8:09 AM, Marek Vasut wrote: > The PLL decoding algorithm didn't take into account many configuration bits. > Adjust it according to Linux kernel. Also, add PLL4 for MX53. > > Signed-off-by: Marek Vasut > --- >  arch/arm/cpu/armv7/mx5/clock.c           |   77 > +++

Re: [U-Boot] [PATCH 2/4] MX5: Add AHB clock reporting and fix IPG clock reporting

2011-09-21 Thread Jason Hui
Hi, Marek On Thu, Sep 15, 2011 at 8:09 AM, Marek Vasut wrote: > Signed-off-by: Marek Vasut > --- >  arch/arm/cpu/armv7/mx5/clock.c |   36 +++- >  1 files changed, 27 insertions(+), 9 deletions(-) > > diff --git a/arch/arm/cpu/armv7/mx5/clock.c b/arch/arm/cpu/armv7

Re: [U-Boot] [PATCH 4/4 V4] I2C: mxc_i2c rework

2011-09-21 Thread Jason Hui
ing style a bit ;-) > > Signed-off-by: Marek Vasut > Cc: Stefano Babic > Cc: Heiko Schocher > Cc: Jason Hui > --- >  drivers/i2c/mxc_i2c.c |  422 > + >  1 files changed, 289 insertions(+), 133 deletions(-) > > V2: Use PER

Re: [U-Boot] [PATCH 3/4] MX5: Clean up the output of "clocks" command

2011-09-21 Thread Jason Hui
Hi, Marek, On Thu, Sep 15, 2011 at 8:09 AM, Marek Vasut wrote: > The new output looks like this: >> clocks > PLL1            800 MHz > PLL2            665 MHz > PLL3            216 MHz > > AHB          133000 kHz > IPG           66500 kHz > IPG PERCLK   665000 kHz > > Signed-off-by: Marek Vasut

Re: [U-Boot] [PATCH V3+] I2C: mxc_i2c rework

2011-09-14 Thread Jason Hui
On Thu, Sep 15, 2011 at 10:07 AM, Marek Vasut wrote: > On Thursday, September 15, 2011 03:43:42 AM Jason Hui wrote: >> On Thu, Sep 15, 2011 at 3:39 AM, Marek Vasut wrote: >> > On Friday, July 29, 2011 08:55:14 AM Jason Hui wrote: >> >> Hi, Marek, >> >

Re: [U-Boot] [PATCH V3+] I2C: mxc_i2c rework

2011-09-14 Thread Jason Hui
On Thu, Sep 15, 2011 at 3:39 AM, Marek Vasut wrote: > On Friday, July 29, 2011 08:55:14 AM Jason Hui wrote: >> Hi, Marek, >> >> On Thu, Jul 14, 2011 at 5:58 AM, Marek Vasut wrote: >> > Rewrite the mxc_i2c driver. >> >  * This version is much closer

Re: [U-Boot] [PATCH V4] I2C: mxc_i2c rework

2011-08-10 Thread Jason Hui
Hi, Marek, On Wed, Aug 10, 2011 at 3:11 PM, Marek Vasut wrote: > On Wednesday, August 10, 2011 08:26:05 AM Jason Hui wrote: >> On Wed, Aug 10, 2011 at 1:59 PM, Marek Vasut wrote: >> > On Saturday, July 30, 2011 12:52:53 PM Marek Vasut wrote: >> >> On Saturday, J

Re: [U-Boot] [PATCH V4] I2C: mxc_i2c rework

2011-08-09 Thread Jason Hui
On Wed, Aug 10, 2011 at 1:59 PM, Marek Vasut wrote: > On Saturday, July 30, 2011 12:52:53 PM Marek Vasut wrote: >> On Saturday, July 30, 2011 08:42:19 AM Jason Hui wrote: >> > Hi, Marek, >> > >> > On Sat, Jul 30, 2011 at 1:09 AM, Marek Vasut wrote: >>

Re: [U-Boot] [PATCH V4] I2C: mxc_i2c rework

2011-07-29 Thread Jason Hui
Hi, Marek, On Sat, Jul 30, 2011 at 1:09 AM, Marek Vasut wrote: > On Friday, July 29, 2011 01:24:49 PM Jason Hui wrote: >> Hi, Marek, >> >> On Fri, Jul 29, 2011 at 5:32 PM, Marek Vasut wrote: >> > Rewrite the mxc_i2c driver. >> >  * This version

Re: [U-Boot] [PATCH V4] I2C: mxc_i2c rework

2011-07-29 Thread Jason Hui
Hi, Marek, On Fri, Jul 29, 2011 at 5:32 PM, Marek Vasut wrote: > Rewrite the mxc_i2c driver. >  * This version is much closer to Linux implementation. >  * Fixes IPG_PERCLK being incorrectly used as clock source >  * Fixes behaviour of the driver on iMX51 >  * Clean up coding style a bit ;-) I d

Re: [U-Boot] [PATCH V3+] I2C: mxc_i2c rework

2011-07-28 Thread Jason Hui
Hi, Marek, On Thu, Jul 14, 2011 at 5:58 AM, Marek Vasut wrote: > Rewrite the mxc_i2c driver. >  * This version is much closer to Linux implementation. >  * Fixes IPG_PERCLK being incorrectly used as clock source >  * Fixes behaviour of the driver on iMX51 >  * Clean up coding style a bit ;-) > w

Re: [U-Boot] [PATCH] mx53: use CONFIG_SYS_L2CACHE_OFF in config file

2011-07-26 Thread Jason Hui
Hi, Stefano, On Tue, Jul 26, 2011 at 5:21 PM, Stefano Babic wrote: > On 07/26/2011 10:25 AM, Jason Liu wrote: >> CONFIG_L2_OFF is obsolete after the following commit: >> >> e47f2db5371047eb9bcd115fee084e6a8a92a239 >> armv7: rename cache related CONFIG flags >> Replace the cache related CONFIG fla

Re: [U-Boot] [PATCH V7 2/3] PMIC: Add dialog pmic support

2011-05-13 Thread Jason Hui
Hi, Stefano On Fri, May 13, 2011 at 4:47 PM, Stefano Babic wrote: > On 05/13/2011 10:41 AM, Jason Liu wrote: > >>> The patch adds several functions that are strictly related to the >>> processor and I am checking with the reference manuals to understand >>> them. I need more time for it. >> >> If

Re: [U-Boot] [PATCH V7 3/3] MX53: support for freescale MX53LOCO board

2011-05-12 Thread Jason Hui
Hi, Stefano, On Thu, May 12, 2011 at 5:03 PM, Stefano Babic wrote: > On 05/12/2011 08:13 AM, Jason Liu wrote: >> Hi, Stefano, >> > > Hi Jason, >  u32 get_cpu_rev(void);  #define is_soc_rev(rev)      ((get_cpu_rev() & 0xFF) - rev)  void sdelay(unsigned long); +void pmic_reg_wri

Re: [U-Boot] [PATCH V7 3/3] MX53: support for freescale MX53LOCO board

2011-05-11 Thread Jason Hui
Hi, Stefano, On Wed, May 11, 2011 at 8:37 PM, Stefano Babic wrote: > On 05/11/2011 10:03 AM, Jason Liu wrote: >> This patch add initial support for freescale MX53LOCO board. >> Network(FEC),SD/MMC,UART have been supported by this patch >> >> The patch also config CPU:1GHZ,DDR:400MHZ for better pe

Re: [U-Boot] [PATCH V7 3/3] MX53: support for freescale MX53LOCO board

2011-05-11 Thread Jason Hui
Hi, Fabio, On Wed, May 11, 2011 at 8:03 PM, Fabio Estevam wrote: > Hi Jason, > > --- On Wed, 5/11/11, Jason Liu wrote: > ... >> diff --git a/arch/arm/cpu/armv7/mx5/soc.c >> b/arch/arm/cpu/armv7/mx5/soc.c >> index 6f4e8db..9c03474 100644 >> --- a/arch/arm/cpu/armv7/mx5/soc.c >> +++ b/arch/arm/cpu

Re: [U-Boot] [PATCH V6 2/3] PMIC: Add dialog pmic support

2011-05-10 Thread Jason Hui
Hi, Stefano, On Tue, May 10, 2011 at 4:35 PM, Stefano Babic wrote: > On 05/10/2011 07:39 AM, Jason Liu wrote: >> Hi, Stefano, >> > > Hi Jason, > >> 2011/4/27 Stefano Babic : >>> On 04/27/2011 11:39 AM, Detlev Zundel wrote: >>> Then why not rename the driver to something else than "fsl_pmic"?

Re: [U-Boot] [PATCH V6 2/3] PMIC: Add dialog pmic support

2011-04-24 Thread Jason Hui
Hi, Stefano, On Sat, Apr 23, 2011 at 3:45 PM, stefano babic wrote: > Am 22/04/2011 16:50, schrieb Jason Liu: > > Hi Jason, > >>> As I can see now, this driver is quite a copy of fsl_pmic.c, with >>> slightly changes. Are you sure we cannot simply change the already >>> provided driver, adding sup

Re: [U-Boot] [PATCH 1/1] mx5: drop boot cause code from board support code

2011-04-21 Thread Jason Hui
Hi, Stefano, On Fri, Apr 22, 2011 at 1:18 AM, Stefano Babic wrote: > On 04/20/2011 12:47 PM, Jason Liu wrote: >> The boot cause code has been factor out to soc common >> code,we need drop the part from the board support code >> >> Signed-off-by: Jason Liu > > Hi Jason, > >> --- >>  board/efikamx

Re: [U-Boot] [PATCH V5 2/2] MX53: support for freescale MX53LOCO board

2011-04-21 Thread Jason Hui
Hi, Stefano, On Fri, Apr 22, 2011 at 12:36 PM, Jason Hui wrote: > Hi, Stefano, > > On Fri, Apr 22, 2011 at 1:43 AM, Stefano Babic wrote: >> On 04/20/2011 12:47 PM, Jason Liu wrote: >> >>> +int board_mmc_getcd(u8 *cd, struct mmc *mmc) >>> +{ >&g

Re: [U-Boot] [PATCH V5 2/2] MX53: support for freescale MX53LOCO board

2011-04-21 Thread Jason Hui
Hi, Stefano, On Fri, Apr 22, 2011 at 1:43 AM, Stefano Babic wrote: > On 04/20/2011 12:47 PM, Jason Liu wrote: > >> +int board_mmc_getcd(u8 *cd, struct mmc *mmc) >> +{ >> +     struct fsl_esdhc_cfg *cfg = (struct fsl_esdhc_cfg *)mmc->priv; >> + >> +     if (cfg->esdhc_base == MMC_SDHC1_BASE_ADDR)

Re: [U-Boot] [PATCH] MX5: Enable flat-device-tree support on mx53 loco board

2011-03-29 Thread Jason Hui
Hi, Wolfgang, On Tue, Mar 29, 2011 at 5:14 PM, Wolfgang Denk wrote: > Dear Jason Liu, > > In message <1301387516-18201-1-git-send-email-jason@linaro.org> you wrote: >> --- >> Grant has submit one patchset: ARM device tree support improvements >> which remove device tree booting dependency on