Re: [U-Boot] Ethernet PHY Power Down

2015-11-06 Thread Fabio Estevam
On Fri, Nov 6, 2015 at 8:04 PM, Michael Welling wrote: > So I added the following lines to my board_phy_config function and the problem > seems to be fixed: > . > . > ctl = phy_read(phydev, MDIO_DEVAD_NONE, MII_BMCR); > if (ctl & BMCR_PDOWN) { >

Re: [U-Boot] [PATCH v2 5/8] x86: qemu: Convert to use driver model eth

2015-11-06 Thread Simon Glass
On 6 November 2015 at 02:04, Bin Meng wrote: > Move to driver model for ETH (e1000) on QEMU. > > Signed-off-by: Bin Meng > > --- > > Changes in v2: > - Rebase on top of u-boot/master > - New patch to convert to use driver model eth > >

Re: [U-Boot] Ethernet PHY Power Down

2015-11-06 Thread Michael Welling
On Fri, Nov 06, 2015 at 08:43:37PM -0200, Fabio Estevam wrote: > On Fri, Nov 6, 2015 at 8:04 PM, Michael Welling wrote: > > So I added the following lines to my board_phy_config function and the > > problem > > seems to be fixed: It appears that I spoke to soon. Occassionally

Re: [U-Boot] [PATCH v2 1/2] common/board_f.c: move mark_bootstage after arch_cpu_init_dm

2015-11-06 Thread Simon Glass
On 5 November 2015 at 20:08, Thomas Chou wrote: > Hi Simon, > > > On 2015年11月06日 11:15, Simon Glass wrote: >> >> On 30 October 2015 at 01:35, Thomas Chou wrote: >>> >>> As mark_bootstage() uses timer, it should go after driver model >>> is initialized.

Re: [U-Boot] [PATCH 08/10] x86: Convert to use driver model timer

2015-11-06 Thread Simon Glass
On 6 November 2015 at 06:28, Bin Meng wrote: > Hi Simon, > > On Fri, Nov 6, 2015 at 8:08 PM, Simon Glass wrote: >> Hi Bin, >> >> On 5 November 2015 at 06:02, Bin Meng wrote: >>> Convert all x86 boards to use driver model tsc timer. >>>

Re: [U-Boot] [PATCH] Makefile: Include vendor common library in include search path

2015-11-06 Thread Simon Glass
Hi, On 6 November 2015 at 10:23, Nishanth Menon <n...@ti.com> wrote: > On 11:10-20151106, Nishanth Menon wrote: >> On 11/05/2015 10:50 PM, Masahiro Yamada wrote: >> > 2015-11-06 12:30 GMT+09:00 Nishanth Menon <n...@ti.com>: >> >> On Thu, Nov 5, 2015

Re: [U-Boot] [PATCH] sandbox: cros_ec: fix uninitialized use of len

2015-11-06 Thread Simon Glass
On 6 November 2015 at 05:15, Daniel Schwierzeck wrote: > Building with gcc-5.2 raises this warning: > > drivers/misc/cros_ec_sandbox.c: In function cros_ec_sandbox_packet: > drivers/misc/cros_ec_sandbox.c:483:5: warning: len may be used uninitialized > in this

Re: [U-Boot] [PATCH v4 2/3] cfi_flash: convert to driver model

2015-11-06 Thread Simon Glass
Hi Thomas, On 5 November 2015 at 20:34, Thomas Chou wrote: > Hi Simon, > > On 2015年11月06日 11:15, Simon Glass wrote: >>> >>> +config CFI_FLASH >>> + bool "Enable Driver Model for CFI Flash driver" >>> + depends on MTD >>> + help >>> + The Common

Re: [U-Boot] [PATCH v2 8/8] x86: Remove CONFIG_SYS_EARLY_PCI_INIT

2015-11-06 Thread Simon Glass
On 6 November 2015 at 02:04, Bin Meng wrote: > CONFIG_SYS_EARLY_PCI_INIT is not needed any more since with driver > model, PCI enumeration is automatically triggered. > > Signed-off-by: Bin Meng > > --- > > Changes in v2: None > >

Re: [U-Boot] [PATCH v2 4/8] x86: qemu: Convert to use driver model usb

2015-11-06 Thread Simon Glass
On 6 November 2015 at 02:04, Bin Meng wrote: > Move to driver model for USB on QEMU. > > Signed-off-by: Bin Meng > > --- > > Changes in v2: None > > configs/qemu-x86_defconfig | 2 ++ > 1 file changed, 2 insertions(+) Acked-by: Simon Glass

Re: [U-Boot] [PATCH v2 6/8] x86: crownbay: Remove unused PCI region address macros

2015-11-06 Thread Simon Glass
On 6 November 2015 at 02:04, Bin Meng wrote: > These are leftover when converted to use driver model pci. > > Signed-off-by: Bin Meng > --- > > Changes in v2: None > > include/configs/crownbay.h | 12 > 1 file changed, 12 deletions(-)

Re: [U-Boot] [PATCH v2 2/8] x86: qemu: Move chipset-specific codes from pci.c to qemu.c

2015-11-06 Thread Simon Glass
On 6 November 2015 at 02:04, Bin Meng wrote: > Move chipset-specific codes such as PAM init, PCIe ECAM and MP table > from pci.c to qemu.c, to prepare for DM PCI conversion. > > Signed-off-by: Bin Meng > --- > > Changes in v2: None > >

Re: [U-Boot] [PATCH v2 3/8] x86: qemu: Convert to use driver model pci

2015-11-06 Thread Simon Glass
On 6 November 2015 at 02:04, Bin Meng wrote: > Move to driver model for pci on QEMU. > > Signed-off-by: Bin Meng > --- > > Changes in v2: None > > arch/x86/cpu/qemu/Makefile | 1 - > arch/x86/cpu/qemu/pci.c| 49 >

Re: [U-Boot] [PATCH v2 7/8] x86: Remove legacy pci codes

2015-11-06 Thread Simon Glass
On 6 November 2015 at 02:04, Bin Meng wrote: > Now that we have converted all x86 boards to use driver model pci, > remove these legacy pci codes. > > Signed-off-by: Bin Meng > --- > > Changes in v2: None > > arch/x86/cpu/pci.c| 45 >

Re: [U-Boot] [PATCH 04/10] dm: timer: Support 64-bit counter

2015-11-06 Thread Thomas Chou
Hi Bin, On 2015年11月06日 22:35, Bin Meng wrote: Hi Thomas, On Fri, Nov 6, 2015 at 3:14 PM, Thomas Chou wrote: Hi Bin, On 2015年11月05日 22:02, Bin Meng wrote: There are timers with a 64-bit counter value but current timer uclass driver assumes a 32-bit one. Introduce a

Re: [U-Boot] [PATCH v2 2/2] sandbox: add a sandbox timer and basic test

2015-11-06 Thread Simon Glass
On 30 October 2015 at 00:35, Thomas Chou wrote: > Add a sandbox timer which get time from host os and a basic > test. > > Signed-off-by: Thomas Chou > Reviewed-by: Simon Glass > --- > v2 > split board_f.c to another patch as

Re: [U-Boot] [RESEND PATCH v3 15/20] rockchip: add rk3036 sdram driver

2015-11-06 Thread Simon Glass
Hi Lin, On 6 November 2015 at 01:53, Lin Huang wrote: > add rk3036 sdram driver so we can set up sdram in SPL > > Signed-off-by: Lin Huang > --- > Changes in v1: None > Changes in v2: None > Changes in v3: fix some code style error > >

Re: [U-Boot] [PATCH v4 1/3] dm: implement a MTD uclass

2015-11-06 Thread Simon Glass
Hi Thomas, On 6 November 2015 at 05:25, Thomas Chou wrote: > Hi Simon, > > On 2015年11月06日 20:06, Simon Glass wrote: >>> >>> diff --git a/include/linux/mtd/mtd.h b/include/linux/mtd/mtd.h >>> index e3d3fc7..0ab6128 100644 >>> --- a/include/linux/mtd/mtd.h >>> +++

Re: [U-Boot] [RESEND PATCH v3 20/20] rockchip: doc: show packet rk3036 uboot image

2015-11-06 Thread Simon Glass
Hi, On 6 November 2015 at 08:40, 蔡枫(Eddie) wrote: > > > Eddie > 2015年11月6日 下午8:08于 Simon Glass 写道: >> >> Hi Lin, >> >> On 6 November 2015 at 01:53, Lin Huang wrote: >> > show how to packet rk3036 uboot image and boot from SD >> >

[U-Boot] [PATCH v5 2/3] cfi_flash: convert to driver model

2015-11-06 Thread Thomas Chou
Convert cfi flash to driver model. Signed-off-by: Thomas Chou --- v2 add dts binding. add more help to Kconfig. move struct platdata to top of file as Simon suggested. v3 change to MTD uclass. v4 fix fdt addr and size cells in cfi_flash_probe(). move probe

[U-Boot] [PATCH v5 3/3] nios2: use cfi flash driver model

2015-11-06 Thread Thomas Chou
Use cfi flash driver model. Signed-off-by: Thomas Chou --- configs/nios2-generic_defconfig | 2 ++ include/configs/nios2-generic.h | 3 +-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/configs/nios2-generic_defconfig b/configs/nios2-generic_defconfig

[U-Boot] [PATCH v5 1/3] dm: implement a MTD uclass

2015-11-06 Thread Thomas Chou
Implement a Memory Technology Device (MTD) uclass. It should include most flash drivers in the future. Though no uclass ops are defined yet, the MTD ops could be used. The NAND flash driver is based on MTD. The CFI flash and SPI flash support MTD, too. It should make sense to convert them to MTD

Re: [U-Boot] [PATCH v2 2/2] mtd: add altera quadspi driver

2015-11-06 Thread Jagan Teki
Hi Thomas, On 6 November 2015 at 05:48, Thomas Chou wrote: > Hi Jagan, > > On 2015年11月05日 22:57, Jagan Teki wrote: >> >> The altera quad spi core is very special that the hardware handle the >>> >>> spi-nor protocol. The core is designed to replace the CFI flash >>>

Re: [U-Boot] [PATCH v2 2/2] mtd: add altera quadspi driver

2015-11-06 Thread Jagan Teki
Hi Marek, On 5 November 2015 at 21:21, Marek Vasut wrote: > On Thursday, November 05, 2015 at 03:57:01 PM, Jagan Teki wrote: >> Hi Thomas, >> >> On 5 November 2015 at 20:15, Thomas Chou wrote: >> > Hi Jagan, >> > >> > On 2015年11月05日 22:25, Jagan Teki wrote:

[U-Boot] [RESEND PATCH v3 07/20] rockchip: Bring in RK3036 device tree file includes and bindings

2015-11-06 Thread Lin Huang
Since rk3036 device tree file still in reviewing, bring it from https://patchwork.kernel.org/patch/7203371/ and add some aliases we need in uboot Signed-off-by: Lin Huang --- Changes in v1: - clean copyright announcement Changes in v2: None Changes in v3: None

[U-Boot] [RESEND PATCH v3 13/20] rockchip: Add an rk3036 MMC driver

2015-11-06 Thread Lin Huang
rk3036 mmc driver is similar to dw_mmc, but use external dma, this patch implment fifo mode, need to do dma mode in future. Signed-off-by: Lin Huang --- Changes in v1: - clean copyright announcement Changes in v2: - modify code suggest by Simon: - use get_time() to do

[U-Boot] [RESEND PATCH v3 12/20] rockchip: rk3036: Add pinctrl driver

2015-11-06 Thread Lin Huang
Add a driver which support pin multiplexing setup for rk3036 Signed-off-by: Lin Huang --- Changes in v1: - clean copyright announcement Changes in v2: None Changes in v3: - fix some coding style error drivers/pinctrl/Kconfig | 18 ++

[U-Boot] [RESEND PATCH v3 11/20] rockchip: rk3036: Add a simple syscon driver

2015-11-06 Thread Lin Huang
Add a driver that provides access to system controllers Signed-off-by: Lin Huang --- Changes in v1: - clean copyright announcement Changes in v2: - only build syscon_rk3036.c on NON-SPL stage Changes in v3: None arch/arm/mach-rockchip/rk3036/Makefile| 2 +-

[U-Boot] [RESEND PATCH v3 10/20] rockchip: rk3036: Add Soc reset driver

2015-11-06 Thread Lin Huang
We can reset the Soc using some CRU (clock/reset unit) register. Add support for this. Signed-off-by: Lin Huang --- Changes in v1: - clean copyright announcement Changes in v2: - only build reset_rk3036.c in NON-SPL stage Changes in v3: None

[U-Boot] [RESEND PATCH v3 16/20] rockchip: rk3036: Add core Soc start-up code

2015-11-06 Thread Lin Huang
rk3036 only 4K size SRAM for SPL, so only support timer, uart, sdram driver in SPL stage, when finish initial sdram, back to bootrom.And in rk3036 sdmmc and debug uart use same iomux, so if you want to boot from sdmmc, you must disable debug uart. Signed-off-by: Lin Huang

[U-Boot] [RESEND PATCH v3 17/20] rockchip: Add basic support for evb-rk3036 board

2015-11-06 Thread Lin Huang
This add some basic files required to allow the board to dispaly serial message and can run command(mmc info etc) Signed-off-by: Lin Huang --- Changes in v1: - clean copyright announcement Changes in v2: - get sdram info from evb_rk3036.c Changes in v3: - delete some config

[U-Boot] [RESEND PATCH v3 15/20] rockchip: add rk3036 sdram driver

2015-11-06 Thread Lin Huang
add rk3036 sdram driver so we can set up sdram in SPL Signed-off-by: Lin Huang --- Changes in v1: None Changes in v2: None Changes in v3: fix some code style error arch/arm/include/asm/arch-rockchip/sdram_rk3036.h | 336 ++ arch/arm/mach-rockchip/rk3036/Makefile

[U-Boot] [RESEND PATCH v3 14/20] rockchip: add early uart driver

2015-11-06 Thread Lin Huang
add early uart driver so we can print debug message in SPL stage Signed-off-by: Lin Huang --- Changes in v1: None Changes in v2: None Changes in v3: - pass uart base address to rk_uart_init() function arch/arm/include/asm/arch-rockchip/uart.h | 44

[U-Boot] [RESEND PATCH v3 18/20] rockchip: Add max init size & chip tag configs

2015-11-06 Thread Lin Huang
From: Jeffy Chen Our chips may have different sram size limits and chip tag, so we need to add configs for that. Signed-off-by: Jeffy Chen --- include/configs/rk3288_common.h | 3 +++ tools/Makefile | 6 ++

[U-Boot] [RESEND PATCH v3 20/20] rockchip: doc: show packet rk3036 uboot image

2015-11-06 Thread Lin Huang
show how to packet rk3036 uboot image and boot from SD Signed-off-by: Lin Huang --- doc/README.rockchip | 7 +++ 1 file changed, 7 insertions(+) diff --git a/doc/README.rockchip b/doc/README.rockchip index 87ce9d2..893f256 100644 --- a/doc/README.rockchip +++

[U-Boot] [RESEND PATCH v3 19/20] rockchip: Add support for rk's second level loader

2015-11-06 Thread Lin Huang
From: Jeffy Chen The Rockchip boot ROM could load & run an initial spl loader, and continue to load a second level boot-loader(which stored right after the initial loader) when it returns. Modify idblock generation code to support it. Signed-off-by: Jeffy Chen

Re: [U-Boot] [PATCH v2 16/17] rockchip: rk3036: Add core Soc start-up code

2015-11-06 Thread hl
Hi On 06/11/15 17:11, Sjoerd Simons wrote: On Wed, 2015-11-04 at 20:53 +0800, Lin Huang wrote: rk3036 only 4K size SRAM for SPL, so only support timer, uart, sdram driver in SPL stage, when finish initial sdram, back to bootrom. Signed-off-by: Lin Huang diff --git

[U-Boot] [PATCH v2 2/8] x86: qemu: Move chipset-specific codes from pci.c to qemu.c

2015-11-06 Thread Bin Meng
Move chipset-specific codes such as PAM init, PCIe ECAM and MP table from pci.c to qemu.c, to prepare for DM PCI conversion. Signed-off-by: Bin Meng --- Changes in v2: None arch/x86/cpu/qemu/pci.c| 72 arch/x86/cpu/qemu/qemu.c

[U-Boot] [PATCH v2 3/8] x86: qemu: Convert to use driver model pci

2015-11-06 Thread Bin Meng
Move to driver model for pci on QEMU. Signed-off-by: Bin Meng --- Changes in v2: None arch/x86/cpu/qemu/Makefile | 1 - arch/x86/cpu/qemu/pci.c| 49 -- configs/qemu-x86_defconfig | 1 + include/configs/qemu-x86.h | 12

[U-Boot] [PATCH v2 1/8] x86: qemu: Remove call to vgabios execution

2015-11-06 Thread Bin Meng
The call to pci_run_vga_bios() is not needed as this is handled in the vesa_fb driver. Signed-off-by: Bin Meng --- Changes in v2: None arch/x86/cpu/qemu/pci.c | 19 +-- 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/arch/x86/cpu/qemu/pci.c

[U-Boot] [PATCH v2 7/8] x86: Remove legacy pci codes

2015-11-06 Thread Bin Meng
Now that we have converted all x86 boards to use driver model pci, remove these legacy pci codes. Signed-off-by: Bin Meng --- Changes in v2: None arch/x86/cpu/pci.c| 45 --- arch/x86/include/asm/pci.h| 21

[U-Boot] [PATCH v2 5/8] x86: qemu: Convert to use driver model eth

2015-11-06 Thread Bin Meng
Move to driver model for ETH (e1000) on QEMU. Signed-off-by: Bin Meng --- Changes in v2: - Rebase on top of u-boot/master - New patch to convert to use driver model eth board/emulation/qemu-x86/Makefile | 2 +- board/emulation/qemu-x86/qemu-x86.c | 13 -

[U-Boot] [PATCH v2 4/8] x86: qemu: Convert to use driver model usb

2015-11-06 Thread Bin Meng
Move to driver model for USB on QEMU. Signed-off-by: Bin Meng --- Changes in v2: None configs/qemu-x86_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/qemu-x86_defconfig b/configs/qemu-x86_defconfig index 62ac76e..7d814d8 100644 ---

[U-Boot] [PATCH v2 6/8] x86: crownbay: Remove unused PCI region address macros

2015-11-06 Thread Bin Meng
These are leftover when converted to use driver model pci. Signed-off-by: Bin Meng --- Changes in v2: None include/configs/crownbay.h | 12 1 file changed, 12 deletions(-) diff --git a/include/configs/crownbay.h b/include/configs/crownbay.h index

[U-Boot] [PATCH v2 8/8] x86: Remove CONFIG_SYS_EARLY_PCI_INIT

2015-11-06 Thread Bin Meng
CONFIG_SYS_EARLY_PCI_INIT is not needed any more since with driver model, PCI enumeration is automatically triggered. Signed-off-by: Bin Meng --- Changes in v2: None include/configs/bayleybay.h | 1 - include/configs/crownbay.h | 1 - include/configs/galileo.h

Re: [U-Boot] [Patch V2 2/4] armv8/ls1043ardb: dts: add dtb support

2015-11-06 Thread Gong Q . Y .
> -Original Message- > From: Wood Scott-B07421 > Sent: Thursday, November 05, 2015 7:51 AM > To: Gong Qianyu-B52263 > Cc: u-boot@lists.denx.de; Hu Mingkai-B21284; Sun York-R58495; Hou > Zhiqiang-B48286; Xie Shaohui-B21989; Song Wenbin-B53747; Wood Scott- > B07421; Kushwaha

[U-Boot] [PATCH] powerpc: mpc85xx: Move set_liodns, setup_portals to common boot seq

2015-11-06 Thread Prabhakar Kushwaha
Users migrating Freescale's PowerPC SoC U-Boot code to their custom board, often overlook the need to execute set_liodns() and setup_portals() being called by platform files. So Move set_liodns() and setup_portals() to common u-boot boot sequence Signed-off-by: Prabhakar Kushwaha

Re: [U-Boot] [PATCH v2 16/17] rockchip: rk3036: Add core Soc start-up code

2015-11-06 Thread Sjoerd Simons
On Wed, 2015-11-04 at 20:53 +0800, Lin Huang wrote: > rk3036 only 4K size SRAM for SPL, so only support > timer, uart, sdram driver in SPL stage, when finish > initial sdram, back to bootrom. > > Signed-off-by: Lin Huang >  >  > diff --git

Re: [U-Boot] [PATCH v4 3/7] ARM: omap-common: Add standard access for board description EEPROM

2015-11-06 Thread Igor Grinberg
On 11/06/15 02:39, Steve Kipisz wrote: > From: Lokesh Vutla > > Several TI EVMs have EEPROM that can contain board description information > such as revision, DDR definition, serial number, etc. In just about all > cases, these EEPROM are on the I2C bus and provides us the

Re: [U-Boot] [PATCH v2] mmc: atmel: Properly fix clock configuration

2015-11-06 Thread Gregory CLEMENT
Hi Marek, On jeu., nov. 05 2015, Marek Vasut wrote: > On Thursday, November 05, 2015 at 08:58:30 PM, Gregory CLEMENT wrote: >> Timing issue occurs on eMMC not only when modifying the frequency but >> also for all the switch command(CMD6). According to the MMC spec waiting >> 8

Re: [U-Boot] [PATCH v2 2/2] mtd: add altera quadspi driver

2015-11-06 Thread Thomas Chou
Hi Jagan, On 2015年11月06日 16:07, Jagan Teki wrote: I appreciate your hardware expertise and am not questioning about that as well. I do agree with the hw logic about altera qspi controller and I don't have any questions with hw either. But my main intention here was about the software support

[U-Boot] [PATCH v3 12/17] rockchip: rk3036: Add pinctrl driver

2015-11-06 Thread Lin Huang
Add a driver which support pin multiplexing setup for rk3036 Signed-off-by: Lin Huang --- Changes in v1: - clean copyright announcement Changes in v2: None Changes in v3: - fix some coding style error drivers/pinctrl/Kconfig | 18 ++

[U-Boot] [PATCH v3 10/17] rockchip: rk3036: Add Soc reset driver

2015-11-06 Thread Lin Huang
We can reset the Soc using some CRU (clock/reset unit) register. Add support for this. Signed-off-by: Lin Huang --- Changes in v1: - clean copyright announcement Changes in v2: - only build reset_rk3036.c in NON-SPL stage Changes in v3: None

[U-Boot] [PATCH v3 11/17] rockchip: rk3036: Add a simple syscon driver

2015-11-06 Thread Lin Huang
Add a driver that provides access to system controllers Signed-off-by: Lin Huang --- Changes in v1: - clean copyright announcement Changes in v2: - only build syscon_rk3036.c on NON-SPL stage Changes in v3: None arch/arm/mach-rockchip/rk3036/Makefile| 2 +-

Re: [U-Boot] [PATCH v4 7/7] board: ti: AM57xx: Add detection logic for AM57xx-evm

2015-11-06 Thread Igor Grinberg
On 11/06/15 02:39, Steve Kipisz wrote: > Current AM57xx evm supports both BeagleBoard-X15 > (http://beagleboard.org/x15) and AM57xx EVM > (http://www.ti.com/tool/tmdxevm5728). > > The AM572x EValuation Module(EVM) provides an affordable platform to > quickly start evaluation of Sitara. ARM

Re: [U-Boot] [PATCH V3 10/14] Exynos54xx: dts: add ADC node

2015-11-06 Thread Przemyslaw Marczak
Hello Simon, On 11/06/2015 04:15 AM, Simon Glass wrote: Hi Przemyslaw, On 29 October 2015 at 07:58, Przemyslaw Marczak wrote: Hi Simon, On 10/28/2015 07:50 PM, Simon Glass wrote: On 27 October 2015 at 06:08, Przemyslaw Marczak wrote: This

[U-Boot] [PATCH v3 03/17] rockchip: rename board-spl.c to rk3288-board-spl.c

2015-11-06 Thread Lin Huang
since different rockchip soc need different spl file, so rename board-spl.c. Signed-off-by: Lin Huang --- Changes in v1: None Changes in v2: None Changes in v3: None arch/arm/mach-rockchip/Makefile | 2 +- arch/arm/mach-rockchip/board-spl.c| 277

[U-Boot] [PATCH v3 00/20] Bring up rk3036 uboot

2015-11-06 Thread Lin Huang
This series patch bring up rk3036 uboot, since rk3036 only 4K size SRAM for SPL, so in SPL stage only support timer, uart, sdram driver, and back to bootrom when finish ddr initial, and boot up second stage from bootrom. Jeffy Chen (2): rockchip: Add max init size & chip tag configs rockchip:

[U-Boot] [PATCH v3 01/17] rockchip: add timer driver

2015-11-06 Thread Lin Huang
some rockchip soc will not include lib/timer.c in SPL stage, so implement timer driver for some soc can use us delay function in SPL. Signed-off-by: Lin Huang --- Changes in v1: None Changes in v2: - add udelay function Changes in v3: - fix some coding style

[U-Boot] [PATCH v3 02/17] rockchip: move SYS_MALLOC_F_LEN to rk3288 own Kconfig

2015-11-06 Thread Lin Huang
since different rockchip SOC have different size of SRAM, So the size SYS_MALLOC_F_LEN may different, so move this config to rk3288 own Kconfig Signed-off-by: Lin Huang --- Changes in v1: None Changes in v2: None Changes in v3: None arch/arm/mach-rockchip/Kconfig|

[U-Boot] [PATCH v3 06/17] rockchip: serial driver support rk3036

2015-11-06 Thread Lin Huang
Signed-off-by: Lin Huang --- Changes in v1: None Changes in v2: - modify code suggest by Simon Changes in v3: None drivers/serial/serial_rockchip.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/serial/serial_rockchip.c b/drivers/serial/serial_rockchip.c index

[U-Boot] [PATCH v3 04/17] rockchip: add config decide whether to build common.c

2015-11-06 Thread Lin Huang
some rockchips soc will not use uclass in SPL stage, so define config to decide whether to build common.c Signed-off-by: Lin Huang --- Changes in v1: None Changes in v2: None Changes in v3: None arch/arm/mach-rockchip/Makefile | 2 +- include/configs/rk3288_common.h | 3

[U-Boot] [PATCH v3 08/17] rockchip: rk3036: Add clock driver

2015-11-06 Thread Lin Huang
Add a driver for setting up and modifying the various PLLs, peripheral clocks and mmc clocks on RK3036 Signed-off-by: Lin Huang --- Changes in v1: - clean copyright announcement Changes in v2: - move some macro to cru_rk3036.h Changes in v3: None

[U-Boot] [PATCH v3 09/17] rockchip: rk3036: Add header files for GRF

2015-11-06 Thread Lin Huang
GRF is the gereral register file. Add header files with register definitions. Signed-off-by: Lin Huang --- Changes in v1: - clean copyright announcement Changes in v2: - move some macro to grf_rk3036.h Changes in v3: None arch/arm/include/asm/arch-rockchip/grf_rk3036.h |

[U-Boot] [PATCH v3 07/17] rockchip: Bring in RK3036 device tree file includes and bindings

2015-11-06 Thread Lin Huang
Since rk3036 device tree file still in reviewing, bring it from https://patchwork.kernel.org/patch/7203371/ and add some aliases we need in uboot Signed-off-by: Lin Huang --- Changes in v1: - clean copyright announcement Changes in v2: None Changes in v3: None

[U-Boot] [PATCH v3 05/17] dm: core: Add SPL Kconfig for REGMAP and SYSCON

2015-11-06 Thread Lin Huang
Add SPL Kconfig for REGMAP and SYSCON, so REGMAP and SYSCON can remove from SPL stage. Signed-off-by: Lin Huang --- Changes in v1: None Changes in v2: None Changes in v3: - fix compile error configs/chromebook_jerry_defconfig | 2 ++ configs/firefly-rk3288_defconfig |

[U-Boot] [PATCH v3 14/17] rockchip: add early uart driver

2015-11-06 Thread Lin Huang
add early uart driver so we can print debug message in SPL stage Signed-off-by: Lin Huang --- Changes in v1: None Changes in v2: None Changes in v3: - pass uart base address to rk_uart_init() function arch/arm/include/asm/arch-rockchip/uart.h | 44

[U-Boot] [PATCH v3 13/17] rockchip: Add an rk3036 MMC driver

2015-11-06 Thread Lin Huang
rk3036 mmc driver is similar to dw_mmc, but use external dma, this patch implment fifo mode, need to do dma mode in future. Signed-off-by: Lin Huang --- Changes in v1: - clean copyright announcement Changes in v2: - modify code suggest by Simon: - use get_time() to do

Re: [U-Boot] [PATCH v2 2/2] mtd: add altera quadspi driver

2015-11-06 Thread Jagan Teki
Hi Thomas, On 6 November 2015 at 14:58, Thomas Chou wrote: > Hi Jagan, > > On 2015年11月06日 16:07, Jagan Teki wrote: >> >> I appreciate your hardware expertise and am not questioning about that >> as well. I do agree with the hw logic about altera qspi controller and >> I

[U-Boot] [RESEND PATCH v3 08/20] rockchip: rk3036: Add clock driver

2015-11-06 Thread Lin Huang
Add a driver for setting up and modifying the various PLLs, peripheral clocks and mmc clocks on RK3036 Signed-off-by: Lin Huang --- Changes in v1: - clean copyright announcement Changes in v2: - move some macro to cru_rk3036.h Changes in v3: None

[U-Boot] [RESEND PATCH v3 05/20] dm: core: Add SPL Kconfig for REGMAP and SYSCON

2015-11-06 Thread Lin Huang
Add SPL Kconfig for REGMAP and SYSCON, so REGMAP and SYSCON can remove from SPL stage. Signed-off-by: Lin Huang --- Changes in v1: None Changes in v2: None Changes in v3: - fix compile error configs/chromebook_jerry_defconfig | 2 ++ configs/firefly-rk3288_defconfig |

[U-Boot] [RESEND PATCH v3 00/20] Bring up rk3036 uboot

2015-11-06 Thread Lin Huang
This series patch bring up rk3036 uboot, since rk3036 only 4K size SRAM for SPL, so in SPL stage only support timer, uart, sdram driver, and back to bootrom when finish ddr initial, and boot up second stage from bootrom. Jeffy Chen (2): rockchip: Add max init size & chip tag configs rockchip:

[U-Boot] [RESEND PATCH v3 02/20] rockchip: move SYS_MALLOC_F_LEN to rk3288 own Kconfig

2015-11-06 Thread Lin Huang
since different rockchip SOC have different size of SRAM, So the size SYS_MALLOC_F_LEN may different, so move this config to rk3288 own Kconfig Signed-off-by: Lin Huang --- Changes in v1: None Changes in v2: None Changes in v3: None arch/arm/mach-rockchip/Kconfig|

[U-Boot] [RESEND PATCH v3 04/20] rockchip: add config decide whether to build common.c

2015-11-06 Thread Lin Huang
some rockchips soc will not use uclass in SPL stage, so define config to decide whether to build common.c Signed-off-by: Lin Huang --- Changes in v1: None Changes in v2: None Changes in v3: None arch/arm/mach-rockchip/Makefile | 2 +- include/configs/rk3288_common.h | 3

[U-Boot] [RESEND PATCH v3 01/20] rockchip: add timer driver

2015-11-06 Thread Lin Huang
some rockchip soc will not include lib/timer.c in SPL stage, so implement timer driver for some soc can use us delay function in SPL. Signed-off-by: Lin Huang --- Changes in v1: None Changes in v2: - add udelay function Changes in v3: - fix some coding style

[U-Boot] [RESEND PATCH v3 06/20] rockchip: serial driver support rk3036

2015-11-06 Thread Lin Huang
Signed-off-by: Lin Huang --- Changes in v1: None Changes in v2: - modify code suggest by Simon Changes in v3: None drivers/serial/serial_rockchip.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/serial/serial_rockchip.c b/drivers/serial/serial_rockchip.c index

[U-Boot] [RESEND PATCH v3 09/20] rockchip: rk3036: Add header files for GRF

2015-11-06 Thread Lin Huang
GRF is the gereral register file. Add header files with register definitions. Signed-off-by: Lin Huang --- Changes in v1: - clean copyright announcement Changes in v2: - move some macro to grf_rk3036.h Changes in v3: None arch/arm/include/asm/arch-rockchip/grf_rk3036.h |

[U-Boot] [RESEND PATCH v3 03/20] rockchip: rename board-spl.c to rk3288-board-spl.c

2015-11-06 Thread Lin Huang
since different rockchip soc need different spl file, so rename board-spl.c. Signed-off-by: Lin Huang --- Changes in v1: None Changes in v2: None Changes in v3: None arch/arm/mach-rockchip/Makefile | 2 +- arch/arm/mach-rockchip/board-spl.c| 277

Re: [U-Boot] [PATCH v7 01/21] include: Add log2 header from the kernel

2015-11-06 Thread Fabio Estevam
On Thu, Nov 5, 2015 at 11:40 PM, Tom Rini wrote: > OK, we're good. I'll queue up and push things for real in the morning. Excellent! Thanks, Tom! ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [PATCH v1 0/7] Enable high speed and heavy load for DDR4 for LSCH3

2015-11-06 Thread Joakim Tjernlund
On Fri, 2015-11-06 at 02:24 +, Yuantian Tang wrote: > > > -Original Message- > > From: York Sun [mailto:york...@freescale.com] > > Sent: Friday, November 06, 2015 1:42 AM > > To: Joakim Tjernlund ; Tang Yuantian- > > B29983 ;

[U-Boot] [Patch V3 1/8] pci/layerscape: add support for LS1043A PCIe LUT register access

2015-11-06 Thread Gong Qianyu
From: Mingkai Hu The endian and base address of PEX LUT register region is different between Chassis 2 and Chassis 3, so move the base address definition to chassis specific header file and add pex_lut_* functions to access LUT register. Signed-off-by: Mingkai Hu

[U-Boot] [Patch V3 2/8] armv8/fsl-layerscape: Remove reference to gdata

2015-11-06 Thread Gong Qianyu
The global_data pointer (gd) has been set earlier in crt0_64.S. So there's no need to assign it again. Remove gdata since it is going away in U-Boot. Signed-off-by: Gong Qianyu --- V3: - New Patch. - Fix dead code. arch/arm/cpu/armv8/fsl-layerscape/spl.c | 2 -- 1

[U-Boot] [Patch V3 3/8] armv8/ls1043ardb: update MAINTAINERS

2015-11-06 Thread Gong Qianyu
Signed-off-by: Gong Qianyu --- V3: - New Patch. board/freescale/ls1043ardb/MAINTAINERS | 2 ++ 1 file changed, 2 insertions(+) diff --git a/board/freescale/ls1043ardb/MAINTAINERS b/board/freescale/ls1043ardb/MAINTAINERS index b8f6be2..efca5bf 100644 ---

[U-Boot] [Patch V3 0/8] add LS1043AQDS board support

2015-11-06 Thread Gong Qianyu
Hi all, Here are the main changes for the version 3 patchset. Mainly deal with the upstream comments for V2 and add some new patches. Please help to review them. Thanks in advance. - Fix LS1043ARDB MAINTAINERS. - Update the dts files according to the upstreaming LS1043A linux kernel dts. -

Re: [U-Boot] [PATCH 11/13] x86: baytrail: Issue full system reset in reset_cpu()

2015-11-06 Thread Simon Glass
Hi Bin, On 18 October 2015 at 20:31, Bin Meng wrote: > Hi Simon, > > On Mon, Oct 19, 2015 at 10:24 AM, Simon Glass wrote: >> Hi Bin, >> >> On 18 October 2015 at 20:01, Bin Meng wrote: >>> Hi Simon, >>> >>> On Mon, Oct 19, 2015 at 4:27

Re: [U-Boot] [PATCH 2/7] x86: qemu: Move chipset-specific codes from pci.c to qemu.c

2015-11-06 Thread Simon Glass
On 4 November 2015 at 05:50, Bin Meng wrote: > Move chipset-specific codes such as PAM init, PCIe ECAM and MP table > from pci.c to qemu.c, to prepare for DM PCI conversion. > > Signed-off-by: Bin Meng > --- > > arch/x86/cpu/qemu/pci.c| 72

Re: [U-Boot] [PATCH v2 11/16] drivers: mtd: spi: sf_probe: add compatible for Macronix spi flash

2015-11-06 Thread Simon Glass
Hi Mugunthan, On 4 November 2015 at 01:16, Mugunthan V N wrote: > Add compatible for Macronix 64MiB spi flash mx66l51235l. > > Signed-off-by: Mugunthan V N > --- > drivers/mtd/spi/sf_probe.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git

Re: [U-Boot] [PATCH] Add missing file: include/sandbox-adc.h

2015-11-06 Thread Simon Glass
On 4 November 2015 at 02:52, Przemyslaw Marczak wrote: > This should be squashed to commit: > > sandbox: add ADC driver > > This commit adds implementation of Sandbox ADC device emulation. > The device provides: > - single and multi-channel conversion > - 4 channels with

Re: [U-Boot] [PATCH 4/7] x86: qemu: Convert to use driver model usb

2015-11-06 Thread Simon Glass
On 4 November 2015 at 05:50, Bin Meng wrote: > Move to driver model for USB on QEMU. > > Signed-off-by: Bin Meng > > --- > > configs/qemu-x86_defconfig | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/configs/qemu-x86_defconfig

Re: [U-Boot] [PATCH 3/7] x86: qemu: Convert to use driver model pci

2015-11-06 Thread Simon Glass
On 4 November 2015 at 05:50, Bin Meng wrote: > Move to driver model for pci on QEMU. > > Signed-off-by: Bin Meng > --- > > arch/x86/cpu/qemu/Makefile | 1 - > arch/x86/cpu/qemu/pci.c| 49 > -- >

Re: [U-Boot] [PATCH 1/7] x86: qemu: Remove call to vgabios execution

2015-11-06 Thread Simon Glass
On 4 November 2015 at 05:50, Bin Meng wrote: > The call to pci_run_vga_bios() is not needed as this is handled > in the vesa_fb driver. > > Signed-off-by: Bin Meng > --- > > arch/x86/cpu/qemu/pci.c | 19 +-- > 1 file changed, 1

Re: [U-Boot] [PATCH 09/10] x86: tsc: Remove legacy timer codes

2015-11-06 Thread Simon Glass
On 5 November 2015 at 06:02, Bin Meng wrote: > Now that we have converted all x86 boards to use driver model timer, > remove these legacy timer codes in the tsc driver. > > Note this also removes the TSC_CALIBRATION_BYPASS Kconfig option, > as it is not needed with driver

Re: [U-Boot] [PATCH 10/10] x86: tsc: Move tsc_timer.c to drivers/timer

2015-11-06 Thread Simon Glass
On 5 November 2015 at 06:02, Bin Meng wrote: > To group all dm timer drivers together, move tsc timer to > drivers/timer directory. > > Signed-off-by: Bin Meng > > --- > > arch/x86/lib/Makefile | 1 - > drivers/timer/Kconfig

Re: [U-Boot] [PATCH v3 02/17] rockchip: move SYS_MALLOC_F_LEN to rk3288 own Kconfig

2015-11-06 Thread Simon Glass
Hi, On 6 November 2015 at 01:33, Lin Huang wrote: > since different rockchip SOC have different size of SRAM, > So the size SYS_MALLOC_F_LEN may different, so move this > config to rk3288 own Kconfig > > Signed-off-by: Lin Huang > --- > Changes in v1:

Re: [U-Boot] [RESEND PATCH v3 15/20] rockchip: add rk3036 sdram driver

2015-11-06 Thread Simon Glass
Hi Lin, On 6 November 2015 at 01:53, Lin Huang wrote: > add rk3036 sdram driver so we can set up sdram in SPL > > Signed-off-by: Lin Huang > --- > Changes in v1: None > Changes in v2: None > Changes in v3: fix some code style error > >

Re: [U-Boot] [RESEND PATCH v3 01/20] rockchip: add timer driver

2015-11-06 Thread Simon Glass
On 6 November 2015 at 01:53, Lin Huang wrote: > some rockchip soc will not include lib/timer.c in SPL stage, > so implement timer driver for some soc can use us delay function in SPL. > > Signed-off-by: Lin Huang > --- > Changes in v1: None > Changes in

Re: [U-Boot] [PATCH v7 10/21] sparc: Use the generic bitops headers

2015-11-06 Thread Tom Rini
On Thu, Nov 05, 2015 at 12:43:31PM -0200, Fabio Estevam wrote: > The generic bitops headers are required when calling logarithmic > functions, such as ilog2(). > > Signed-off-by: Fabio Estevam > Reviewed-by: Jagan Teki Applied to u-boot/master,

Re: [U-Boot] [PATCH v7 09/21] sandbox: Use the generic bitops headers

2015-11-06 Thread Tom Rini
On Thu, Nov 05, 2015 at 12:43:30PM -0200, Fabio Estevam wrote: > The generic bitops headers are required when calling logarithmic > functions, such as ilog2(). > > Signed-off-by: Fabio Estevam > Reviewed-by: Tom Rini > Reviewed-by: Heiko

Re: [U-Boot] [PATCH v7 11/21] openrisc: Use the generic bitops headers

2015-11-06 Thread Tom Rini
On Thu, Nov 05, 2015 at 12:43:32PM -0200, Fabio Estevam wrote: > The generic bitops headers are required when calling logarithmic > functions, such as ilog2(). > > Signed-off-by: Fabio Estevam > Reviewed-by: Jagan Teki Applied to u-boot/master,

Re: [U-Boot] [PATCH v7 12/21] nds32: Use the generic bitops headers

2015-11-06 Thread Tom Rini
On Thu, Nov 05, 2015 at 12:43:33PM -0200, Fabio Estevam wrote: > The generic bitops headers are required when calling logarithmic > functions, such as ilog2(). > > Signed-off-by: Fabio Estevam > Reviewed-by: Jagan Teki Applied to u-boot/master,

  1   2   >