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 sba...@denx.de wrote: Signed-off-by: Stefano Babic sba...@denx.de CC: Jason Liu jason@linaro.org ---  board/freescale/mx53loco/mx53loco.c |    3 +++  include/configs/mx53loco.h          |   11 +++  2 files changed, 14 insertions(+),

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 eric.nel...@boundarydevices.com 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

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 eric.nel...@boundarydevices.com wrote: Signed-off-by: Eric Nelson eric.nel...@boundarydevices.com Acked-by: Dirk Behme dirk.be...@de.bosch.com Acked-by: Stefano Babic sba...@denx.de ---  arch/arm/include/asm/arch-mx6/imx-regs.h |   44

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 eric.nel...@boundarydevices.com wrote: Signed-off-by: Eric Nelson eric.nel...@boundarydevices.com Acked-by: Dirk Behme dirk.be...@de.bosch.com Acked-by: Stefano Babic sba...@denx.de ---  board/freescale/mx6qsabrelite/imximage.cfg    |    2 +-  

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 eric.nel...@boundarydevices.com 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

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 eric.nel...@boundarydevices.com wrote: Signed-off-by: Eric Nelson eric.nel...@boundarydevices.com ---  README |   20  1 files changed, 20 insertions(+), 0 deletions(-) Acked-by: Jason Liu jason@linaro.org diff --git

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 eric.nel...@boundarydevices.com wrote: Signed-off-by: Eric Nelson eric.nel...@boundarydevices.com Acked-by: Dirk Behme dirk.be...@de.bosch.com Acked-by: Stefano Babic sba...@denx.de ---  board/freescale/mx6qsabrelite/mx6qsabrelite.c |    2 +-  

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 eric.nel...@boundarydevices.com 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

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 troy.ki...@boundarydevices.com 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 */ +    

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 eric.nel...@boundarydevices.com 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

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 eric.nel...@boundarydevices.com wrote: Signed-off-by: Eric Nelson eric.nel...@boundarydevices.com Acked-by: Dirk Behme dirk.be...@de.bosch.com Acked-by: Stefano Babic sba...@denx.de ---  arch/arm/include/asm/arch-mx6/imx-regs.h |   44

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 eric.nel...@boundarydevices.com wrote: Signed-off-by: Eric Nelson eric.nel...@boundarydevices.com Acked-by: Dirk Behme dirk.be...@de.bosch.com Acked-by: Stefano Babic sba...@denx.de ---  board/freescale/mx6qsabrelite/imximage.cfg    |    2

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 eric.nel...@boundarydevices.com wrote: On 01/30/2012 11:51 PM, Jason Liu wrote: Eric, 2012/1/31 Eric Nelsoneric.nel...@boundarydevices.com: This patch set refactors mxc_spi as described in    

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 liu.h.ja...@gmail.com wrote: Eric, 2012/1/31 Eric Nelson eric.nel...@boundarydevices.com: This patch set refactors mxc_spi as described in    http://lists.denx.de/pipermail/u-boot/2010-March/068791.html and requested in    

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 eric.nel...@boundarydevices.com wrote: Signed-off-by: Eric Nelson eric.nel...@boundarydevices.com ---  include/configs/mx6qsabrelite.h |   12 +++-  1 files changed, 11 insertions(+), 1 deletions(-) diff --git

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 dirk.be...@de.bosch.com wrote: On 20.01.2012 04:27, Jason Hui wrote: On Wed, Jan 18, 2012 at 6:09 AM, Eric Nelson eric.nel...@boundarydevices.com wrote: Signed-off-by: Eric Nelson eric.nel...@boundarydevices.com ---  include/configs

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 sba...@denx.de wrote: Commit 314284b1567f1ce29c19060641e7f213146f7ab8 has changed board_mmc_getcd() function prototype, while mx6qarm2 has still the old one. Signed-off-by: Stefano Babic sba...@denx.de CC: Jason Liu jason@linaro.org

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 sba...@denx.de wrote: Commit 314284b1567f1ce29c19060641e7f213146f7ab8 has changed board_mmc_getcd() function prototype, while mx6qarm2 has still the old one. Signed-off-by: Stefano Babic sba...@denx.de CC: Jason Liu jason@linaro.org

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 dirk.be...@de.bosch.com wrote: From: Troy Kisky troy.ki...@boundarydevices.com 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.

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 dirk.be...@de.bosch.com wrote: From: Troy Kisky troy.ki...@boundarydevices.com This allows the Linux kernel to use UART1 before pinmux support is added for UART1 Signed-off-by: Troy Kisky troy.ki...@boundarydevices.com CC: Troy Kisky

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 dirk.be...@de.bosch.com 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.

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 dirk.be...@de.bosch.com wrote: From: Troy Kisky troy.ki...@boundarydevices.com 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:

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 dirk.be...@de.bosch.com 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 dirk.be...@de.bosch.com Signed-off-by: Fabio Estevam

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 dirk.be...@de.bosch.com wrote: Signed-off-by: Dirk Behme dirk.be...@de.bosch.com CC: Fabio Estevam feste...@gmail.com CC: Stefano Babic sba...@denx.de CC: Jason Liu jason@linaro.org --- Note: This was requested by Wolfgang in      

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 dirk.be...@de.bosch.com wrote: i.MX53 is supported, too. Add this to the introduction of the documentation. Signed-off-by: Dirk Behme dirk.be...@de.bosch.com CC: Fabio Estevam feste...@gmail.com CC: Stefano Babic sba...@denx.de CC: Jason Liu

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 sba...@denx.de 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:

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 feste...@gmail.com wrote: On Fri, Nov 25, 2011 at 8:18 AM, Jason Liu jason@linaro.org wrote: +static char *get_reset_cause(void) +{ +       u32 cause; +       struct src *src_regs = (struct src *)SRC_BASE_ADDR; + +       cause =

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 feste...@gmail.com wrote: On Fri, Nov 25, 2011 at 8:18 AM, Jason Liu jason@linaro.org 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

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 w...@denx.de wrote: Dear Jason Hui, In message cafq4atqfq7ykkwa5fbbe16ewt95ubnkk1bjtppqw8adtuwz...@mail.gmail.com you wrote: Then what's the rule that we must need use CONFIG_SYS_ other than CONFIG_option? You yourself quoted the relevant

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 w...@denx.de wrote: Dear Jason Hui, In message CAFQ4atRGwSxiw+mik8wSMMUVW4M=n9ws55ppd1ifhu-e1aj...@mail.gmail.com 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

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 sba...@denx.de wrote: The serial driver for iMX SOCs is continuosly changed if a new SOC or not yet used port is used. CONFIG_SYS_SOC_UART Port defines were used only to find the base address for the selected UART. Instead of that, move the base

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 marek.va...@gmail.com 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_:   These are selectable by the user and have names beginning with   CONFIG_

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 w...@denx.de wrote: Dear Jason Hui, In message CAFQ4atSGoTA9YXHxiprdRrWw4E5VFfssOoYOS=N2Yj=q9j_...@mail.gmail.com 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 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 sba...@denx.de 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 jason@linaro.org

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 sba...@denx.de wrote: On 18/11/2011 08:11, Jason Liu wrote: Signed-off-by: Jason Liu jason@linaro.org Cc: Stefano Babic sba...@denx.de --- v2: Cc Stefano ---  drivers/serial/serial_mxc.c |   10 +++---  1 files changed, 7

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 sba...@denx.de wrote: The serial driver for iMX SOCs is continuosly changed if a new SOC or not yet used port is used. CONFIG_SYS_SOC_UART Port defines were used only to find the base address for the selected UART. Instead of that, move the base

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

2011-11-18 Thread Jason Hui
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 other platforms changes. Jason Liu So it's Jason Liu or Jason Hui ?! What the heck is your name ? There is some mistake when

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 r65...@freescale.com: 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,

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 dirk.be...@de.bosch.com 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

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 marek.va...@gmail.com wrote: On Sun, Nov 13, 2011 at 12:35 AM, Marek Vasut marek.va...@gmail.com 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

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 marek.va...@gmail.com wrote: On Mon, Nov 14, 2011 at 7:11 AM, Marek Vasut marek.va...@gmail.com wrote: i.MX6Q is freescale quad core processors with ARM cortex_a9 complex. This patch is to add the initial support for this processor.

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 sba...@denx.de 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). Merge them in a get_usdhc_clk(usdhc_number) Yes

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 sba...@denx.de 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 datasheet is not public now. Without this, the mmc driver

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 dirk.be...@googlemail.com 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

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 marek.va...@gmail.com 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

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 marek.va...@gmail.com 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 jason@linaro.org ---  arch/arm/cpu/armv7/mx6/Makefile      

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 sba...@denx.de 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 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 feste...@gmail.com wrote: Hi Jason, On Sat, Nov 12, 2011 at 8:36 AM, Jason Liu jason@linaro.org wrote: +int board_init(void) +{ +       /* board id for linux */ +       gd-bd-bi_arch_number = MACH_TYPE_MX61_ARD; Please remove this line

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 feste...@gmail.com wrote: On Sat, Nov 12, 2011 at 8:36 AM, Jason Liu jason@linaro.org 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

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 grinb...@compulab.co.il 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),

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 sba...@denx.de 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 jason@linaro.org ---  

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 sba...@denx.de 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 jason@linaro.org Hi Jason, is

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 sba...@denx.de wrote: Switch to new pmic generic driver. Signed-off-by: Stefano Babic sba...@denx.de CC: Jason Liu jason@linaro.org ---  board/freescale/mx53evk/mx53evk.c |   15 +--  include/configs/mx53evk.h        

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 sba...@denx.de wrote: On 09/22/2011 08:07 PM, Fabio Estevam wrote: Let common code set the machine ID. Signed-off-by: Fabio Estevam fabio.este...@freescale.com As Stefano said, please Cc me here. ---  

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 sba...@denx.de wrote: On 09/22/2011 08:07 PM, Fabio Estevam wrote: Let common code set the machine ID. Signed-off-by: Fabio Estevam fabio.este...@freescale.com As Stefano said, please Cc me here. ---  board/freescale/mx53loco/mx53loco.c |    1

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

2011-09-22 Thread Jason Hui
Hi, Marek, On Thu, Sep 22, 2011 at 1:47 PM, Marek Vasut marek.va...@gmail.com 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 marek.va...@gmail.com wrote: On Thursday, September 22, 2011 04:45:20 AM Jason Hui wrote

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 sba...@denx.de 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 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 marek.va...@gmail.com wrote: Signed-off-by: Marek Vasut marek.va...@gmail.com Cc: Stefano Babic sba...@denx.de Cc: Jason Hui jason@linaro.org Here is: Jason Liu jason@linaro.org ---  arch/arm/cpu/armv7/mx5/clock.c |   36

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

2011-09-22 Thread Jason Hui
style a bit ;-) Signed-off-by: Marek Vasut marek.va...@gmail.com Cc: Stefano Babic sba...@denx.de Cc: Heiko Schocher h...@denx.de Cc: Jason Hui jason@linaro.org ---  drivers/i2c/mxc_i2c.c |  422 +  1 files changed, 289 insertions(+), 133

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 marek.va...@gmail.com 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:

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

2011-09-21 Thread Jason Hui
style a bit ;-) Signed-off-by: Marek Vasut marek.va...@gmail.com Cc: Stefano Babic sba...@denx.de Cc: Heiko Schocher h...@denx.de Cc: Jason Hui jason@linaro.org ---  drivers/i2c/mxc_i2c.c |  422 +  1 files changed, 289 insertions(+), 133

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 marek.va...@gmail.com wrote: Signed-off-by: Marek Vasut marek.va...@gmail.com ---  arch/arm/cpu/armv7/mx5/clock.c |   36 +++-  1 files changed, 27 insertions(+), 9 deletions(-) diff --git

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 marek.va...@gmail.com 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 marek.va...@gmail.com ---  

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 marek.va...@gmail.com 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 marek.va...@gmail.com wrote: Signed-off-by: Marek Vasut marek.va...@gmail.com

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 marek.va...@gmail.com 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 marek.va...@gmail.com wrote: Rewrite the mxc_i2c driver.  * This version is much

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 marek.va...@gmail.com 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 marek.va...@gmail.com wrote: Rewrite the mxc_i2c driver.  * This version is much closer to Linux

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 marek.va...@gmail.com wrote: On Thursday, September 15, 2011 03:43:42 AM Jason Hui wrote: On Thu, Sep 15, 2011 at 3:39 AM, Marek Vasut marek.va...@gmail.com wrote: On Friday, July 29, 2011 08:55:14 AM Jason Hui wrote: Hi, Marek, On Thu, Jul

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

2011-08-10 Thread Jason Hui
On Wed, Aug 10, 2011 at 1:59 PM, Marek Vasut marek.va...@gmail.com 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 marek.va...@gmail.com wrote: On Friday

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 marek.va...@gmail.com wrote: On Wednesday, August 10, 2011 08:26:05 AM Jason Hui wrote: On Wed, Aug 10, 2011 at 1:59 PM, Marek Vasut marek.va...@gmail.com wrote: On Saturday, July 30, 2011 12:52:53 PM Marek Vasut wrote: On Saturday

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

2011-07-29 Thread Jason Hui
Hi, Marek, On Thu, Jul 14, 2011 at 5:58 AM, Marek Vasut marek.va...@gmail.com 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

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 marek.va...@gmail.com 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

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 sba...@denx.de 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

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 sba...@denx.de 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 sba...@denx.de 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_write(u32

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 fabioeste...@yahoo.com wrote: Hi Jason, --- On Wed, 5/11/11, Jason Liu jason@linaro.org wrote: ... diff --git a/arch/arm/cpu/armv7/mx5/soc.c b/arch/arm/cpu/armv7/mx5/soc.c index 6f4e8db..9c03474 100644 ---

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 sba...@denx.de 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

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 sba...@denx.de wrote: On 05/10/2011 07:39 AM, Jason Liu wrote: Hi, Stefano, Hi Jason, 2011/4/27 Stefano Babic sba...@denx.de: On 04/27/2011 11:39 AM, Detlev Zundel wrote: Then why not rename the driver to something else than

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 sba...@denx.de 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

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 sba...@denx.de 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 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 jason@linaro.org wrote: Hi, Stefano, On Fri, Apr 22, 2011 at 1:43 AM, Stefano Babic sba...@denx.de 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

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 sba...@denx.de 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 jason@linaro.org Hi Jason,

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 w...@denx.de 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