Re: [U-Boot] [PATCH 10/10] x86: Add Intel Cougar Canyon 2 board

2015-12-20 Thread Bin Meng
Hi Simon, On Sat, Dec 19, 2015 at 10:52 AM, Simon Glass wrote: > Hi Bin, > > On 11 December 2015 at 03:55, Bin Meng wrote: >> This adds basic support to Intel Cougar Canyon 2 board, a board >> based on Chief River platform with an Ivy Bridge processor and

Re: [U-Boot] [PATCH 3/8] spi: Rename SPI_OPM_RX_* to SPI_RX_*

2015-12-20 Thread Bin Meng
On Wed, Dec 16, 2015 at 11:40 PM, Jagan Teki wrote: > SPI_OPM_RX_AS - SPI_RX_SLOW > SPI_OPM_RX_AF - SPI_RX_FAST > SPI_OPM_RX_DOUT - SPI_RX_DUAL > SPI_OPM_RX_QOF - SPI_RX_QUAD > > Cc: Simon Glass > Cc: Bin Meng > Cc: Michal Simek

Re: [U-Boot] [PATCH 4/8] spi: Rename op_mode_rx to mode_rx

2015-12-20 Thread Bin Meng
Hi Jagan, On Wed, Dec 16, 2015 at 11:40 PM, Jagan Teki wrote: > Since spi rx mode macro's are renamed to simple and > meaninfull in below patch, this patch will rename > the respective structure member. > "spi: Rename SPI_OPM_RX_* to SPI_RX_*" > (sha1:

Re: [U-Boot] [PATCH 6/8] spi: Fix bit assignment with flags

2015-12-20 Thread Bin Meng
On Wed, Dec 16, 2015 at 11:40 PM, Jagan Teki wrote: > Fixed bit assignment with flags members on spi_slave{} > > Cc: Simon Glass > Cc: Bin Meng > Cc: Michal Simek > Cc: Siva Durga Prasad Paladugu

Re: [U-Boot] [PATCH 8/8] spi: Minor cleanup

2015-12-20 Thread Bin Meng
On Wed, Dec 16, 2015 at 11:40 PM, Jagan Teki wrote: > - Add comments on mode_rx > - Tab space's > > Cc: Simon Glass > Cc: Bin Meng > Cc: Michal Simek > Cc: Siva Durga Prasad Paladugu >

Re: [U-Boot] [PATCH 7/8] spi: Use BIT macro

2015-12-20 Thread Bin Meng
On Wed, Dec 16, 2015 at 11:40 PM, Jagan Teki wrote: > Used BIT macro like 1 << nr as BIT(nr) where nr is 0...n > > Cc: Simon Glass > Cc: Bin Meng > Cc: Michal Simek > Cc: Siva Durga Prasad Paladugu

Re: [U-Boot] [PATCH 2/8] spi: Remove SPI_OPM_RX_DIO|QIOF

2015-12-20 Thread Bin Meng
On Wed, Dec 16, 2015 at 11:40 PM, Jagan Teki wrote: > SPI_OPM_RX_DIO and SPI_OPM_RX_QIOF are rx IO > commands/opmodes for dual and quad. Usually IO > operation's are referred to flash protocol rather > with spi controller protocol, these are still present > in flash side for

[U-Boot] [PATCH] ARM: dts: uniphier: add SD/MMC pinmux nodes

2015-12-20 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada --- arch/arm/dts/uniphier-pinctrl.dtsi | 15 +++ 1 file changed, 15 insertions(+) diff --git a/arch/arm/dts/uniphier-pinctrl.dtsi b/arch/arm/dts/uniphier-pinctrl.dtsi index b584213..b1691d0 100644 ---

Re: [U-Boot] [PATCH 0/2] Rockchip: USB: added usb phy control to support fastboot

2015-12-20 Thread Tom Rini
On Sat, Dec 19, 2015 at 11:57:26PM +0100, Marek Vasut wrote: > On Saturday, December 19, 2015 at 11:25:12 PM, Simon Glass wrote: > > Hi Marek, > > > > On 19 December 2015 at 14:23, Marek Vasut wrote: > > > On Saturday, December 19, 2015 at 09:30:09 PM, Simon Glass wrote: > > >> Hi

Re: [U-Boot] [RFC PATCH 01/11] serial: Add support for Qualcomm serial port

2015-12-20 Thread Masahiro Yamada
2015-12-16 3:58 GMT+09:00 Simon Glass : >> +++ b/drivers/serial/serial_msm.c >> @@ -0,0 +1,204 @@ >> +/* >> + * Qualcomm UART driver >> + * >> + * (C) Copyright 2015 Mateusz Kulikowski >> + * >> + * UART will work in Data Mover mode. >> + * Based

Re: [U-Boot] [PATCH 07/10] x86: fsp: Make sure HOB list is not overwritten by U-Boot

2015-12-20 Thread Bin Meng
Hi Simon, On Sat, Dec 19, 2015 at 10:52 AM, Simon Glass wrote: > Hi Bin, > > On 11 December 2015 at 03:55, Bin Meng wrote: >> Intel IvyBridge FSP seems to be buggy that it does not report memory >> used by FSP itself as reserved in the resource descriptor

Re: [U-Boot] [PATCH 1/8] spi: Remove SPI_OPM_RX_EXTN

2015-12-20 Thread Bin Meng
On Wed, Dec 16, 2015 at 11:40 PM, Jagan Teki wrote: > SPI_OPM_RX_EXTN is a combination of all rx opmode's > and spi driver shall use any one of the rx mode at > a time not the combination and it is true in case of > flash where spi_flash_table mention combination of >

Re: [U-Boot] [PATCH] x86: Remove Graeme Russ from the git alias file

2015-12-20 Thread Bin Meng
On Sun, Dec 20, 2015 at 6:44 AM, Simon Glass wrote: > As requested, remove Graeme's email address. > > Signed-off-by: Simon Glass > --- > Acked-by: Bin Meng ___ U-Boot mailing list

Re: [U-Boot] [PATCH] spi: sf: add support for throughput mesurement of sf read/write

2015-12-20 Thread Mugunthan V N
On Friday 18 December 2015 11:37 AM, Stefan Roese wrote: > On 17.12.2015 17:44, Jagan Teki wrote: >> On 17 December 2015 at 13:26, Mugunthan V N wrote: >>> On Thursday 17 December 2015 12:43 PM, Jagan Teki wrote: On 17 December 2015 at 12:33, Mugunthan V N

Re: [U-Boot] [PATCH 5/8] spi: Move mode, mode_rx, flags macro's to structure

2015-12-20 Thread Bin Meng
Hi Jagan, On Wed, Dec 16, 2015 at 11:40 PM, Jagan Teki wrote: > This patch moves mode, mode_rx, flags macro's to respective > member position on spi_slave{}, for better readabilty and > finding the respective member macro's easily. I am not in favor of mixing macros along

Re: [U-Boot] [PATCH] spi: sf: add support for throughput mesurement of sf read/write

2015-12-20 Thread Jagan Teki
Hi Mugunthan, On 21 December 2015 at 11:30, Stefan Roese wrote: > On 21.12.2015 06:37, Mugunthan V N wrote: >> >> On Friday 18 December 2015 11:37 AM, Stefan Roese wrote: >>> >>> On 17.12.2015 17:44, Jagan Teki wrote: On 17 December 2015 at 13:26, Mugunthan V N

Re: [U-Boot] [PATCH v1 01/18] MIPS: Prepare device-tree support.

2015-12-20 Thread Purna Chandra Mandal
On 12/20/2015 03:52 AM, Daniel Schwierzeck wrote: > > Am 17.12.2015 um 18:28 schrieb Purna Chandra Mandal: >> Signed-off-by: Purna Chandra Mandal > if you send patches from other people, you should not remove their > Author or Signed-off-by. I already prepared a

[U-Boot] [PATCH] board: m5253demo, fix gcc-5.2.0 compilation warnings

2015-12-20 Thread Angelo Dureghello
Fix gcc-5.2.0 buildman warnings: warning: 'w' is static but declared in inline function 'spin_wheel' which is not static warning: 'p' is static but declared in inline function 'spin_wheel' which is not static Signed-off-by: Angelo Dureghello ---

Re: [U-Boot] [PATCH] net: designware: Zap CONFIG_DW_AUTONEG

2015-12-20 Thread Bin Meng
On Sun, Dec 20, 2015 at 10:59 AM, Marek Vasut wrote: > This symbol is not used anywhere, so remove it. For spear600, remove > it from the board file, since the symbol is not defined for spear600 > either. > > Signed-off-by: Marek Vasut > Cc: Dinh Nguyen

Re: [U-Boot] [PATCH] net: designware: Zap trailing backslash

2015-12-20 Thread Bin Meng
On Sun, Dec 20, 2015 at 10:59 AM, Marek Vasut wrote: > Trailing backslashes are necessary only in macros, not in the actual > code, so remove them. > > Signed-off-by: Marek Vasut > Cc: Dinh Nguyen > Cc: Joe Hershberger

Re: [U-Boot] [PATCH 02/10] x86: ivybridge: Add FSP support

2015-12-20 Thread Bin Meng
Hi Simon, On Sat, Dec 19, 2015 at 10:52 AM, Simon Glass wrote: > On 11 December 2015 at 03:55, Bin Meng wrote: >> IvyBridge FSP package is built with a base address at 0xfff8, >> and does not use UPD data region. This adds basic FSP support. >> >>

Re: [U-Boot] [PATCH 05/10] superio: Add SMSC SIO1007 driver

2015-12-20 Thread Bin Meng
Hi Simon, On Sat, Dec 19, 2015 at 10:52 AM, Simon Glass wrote: > Hi Bin, > > On 11 December 2015 at 03:55, Bin Meng wrote: >> The SMSC SIO1007 superio chipset integrates two ns16550 compatible >> serial ports for legacy applications, 16 GPIO pins and some

Re: [U-Boot] [PATCH] spi: sf: add support for throughput mesurement of sf read/write

2015-12-20 Thread Stefan Roese
On 21.12.2015 06:37, Mugunthan V N wrote: On Friday 18 December 2015 11:37 AM, Stefan Roese wrote: On 17.12.2015 17:44, Jagan Teki wrote: On 17 December 2015 at 13:26, Mugunthan V N wrote: On Thursday 17 December 2015 12:43 PM, Jagan Teki wrote: On 17 December 2015 at

Re: [U-Boot] [PATCH 01/10] fdtdec: Add compatible string for Intel IvyBridge FSP

2015-12-20 Thread Bin Meng
Hi Simon, On Sat, Dec 19, 2015 at 10:51 AM, Simon Glass wrote: > Hi Bin, > > On 11 December 2015 at 03:55, Bin Meng wrote: >> Use "intel,ivybridge-fsp" for Intel IvyBridge FSP compatible string. >> >> Signed-off-by: Bin Meng >> --- >>

[U-Boot] [PATCH] At start of autoboot check, flush any pending RX bytes

2015-12-20 Thread Craig McQueen
This is to avoid the boot sequence halting due to initial "junk" received on serial input. Signed-off-by: Craig McQueen --- I have found that on the BeagleBone Black, U-Boot occasionally halts at the U-Boot prompt at boot-up, whether power-up, warm external reset

[U-Boot] [PATCH] imx_watchdog: always set minimal timeout in reset_cpu

2015-12-20 Thread Andrey Skvortsov
The problem is that timeout bits in WCR register were leaved unchanged. So previously set timeout value was applied and therefore 'reset' command takes any value up to two minutes, depending on previous watchdog settings, instead of minimal 0.5 seconds. Signed-off-by: Andrey Skvortsov

Re: [U-Boot] [PATCH v2 6/9] x86: fsp: Introduce CONFIG_FSP_USE_UPD Kconfig option

2015-12-20 Thread Bin Meng
On Sat, Dec 19, 2015 at 10:51 AM, Simon Glass wrote: > On 10 December 2015 at 23:03, Bin Meng wrote: >> Not every FSP supports UPD, thus we introduce a Kconfig option >> CONFIG_FSP_USE_UPD and use it to wrap these common UPD handling >> codes in

Re: [U-Boot] [PATCH v2 3/9] x86: fsp: Add boot_mode as a member of struct shared_data

2015-12-20 Thread Bin Meng
On Sat, Dec 19, 2015 at 10:51 AM, Simon Glass wrote: > On 10 December 2015 at 23:02, Bin Meng wrote: >> Save boot_mode in struct shared_data for future refactoring. >> >> Signed-off-by: Bin Meng >> Acked-by: Simon Glass

Re: [U-Boot] [PATCH v2 1/9] x86: fsp: Simplify fsp_continue()

2015-12-20 Thread Bin Meng
On Sat, Dec 19, 2015 at 10:51 AM, Simon Glass wrote: > On 10 December 2015 at 23:02, Bin Meng wrote: >> There is no need to pass shared_data to fsp_continue() so we can >> remove unnecessary codes that simplifies the function a lot. >> >> Signed-off-by: Bin

Re: [U-Boot] [PATCH v2 2/9] x86: fsp: Avoid cast stack_top in struct shared_data

2015-12-20 Thread Bin Meng
On Sat, Dec 19, 2015 at 10:51 AM, Simon Glass wrote: > On 10 December 2015 at 23:02, Bin Meng wrote: >> Declare stack_top as u32 in struct shared_data and struct common_buf >> so that we can avoid casting in fsp_init(). >> >> Signed-off-by: Bin Meng

Re: [U-Boot] [PATCH v2 4/9] x86: fsp: Rename shared_data to fsp_config_data

2015-12-20 Thread Bin Meng
On Sat, Dec 19, 2015 at 10:51 AM, Simon Glass wrote: > On 10 December 2015 at 23:02, Bin Meng wrote: >> FSP has several config data like UPD, HDA verb table which can be >> overridden or provided by bootloader. Currently in U-Boot only UPD >> is handled via

Re: [U-Boot] [PATCH v2 9/9] x86: fsp: Set up init runtime buffer in update_fsp_configs()

2015-12-20 Thread Bin Meng
On Sat, Dec 19, 2015 at 10:51 AM, Simon Glass wrote: > On 10 December 2015 at 23:03, Bin Meng wrote: >> fsp_init() runtime buffer parameter might be different across >> different platforms. Move this to update_fsp_configs(). >> >> Signed-off-by: Bin Meng

Re: [U-Boot] [PATCH v2 5/9] x86: fsp: Rename update_fsp_upd() and change its signature

2015-12-20 Thread Bin Meng
On Sat, Dec 19, 2015 at 10:51 AM, Simon Glass wrote: > On 10 December 2015 at 23:03, Bin Meng wrote: >> To support platform-specific configurations (might not always be >> UPD on some platform), use a better name update_fsp_configs() and >> accepct struct

Re: [U-Boot] [PATCH 1/2 v3] usb: Move determination of TT hub address/port into seperate function

2015-12-20 Thread Hans de Goede
Hi, On 19-12-15 21:26, Stefan Brüns wrote: Start split and complete split tokens need the hub address and the downstream port of the first HS hub (device view). The core of the function was duplicated in both host/ehci_hcd and musb-new/usb-compat.h. Signed-off-by: Stefan Brüns

[U-Boot] [PATCH] sun5i: Add defconfig and dts file for the Empire Electronix D709 tablet

2015-12-20 Thread Hans de Goede
The Empire Electronix D709 tablet is a fairly standard 7" A13 tablet, featuring usb-wifi, a micro-sd slot, micro-usb otg and headphone jack. Empire Electronix is written on the back of the tablet, the D709 model info can be found in the about tablet menu in android. The PCB has no markings to

[U-Boot] header files in include/ versus arch//include/asm/?

2015-12-20 Thread Robert P. J. Day
working on MPC8360-based project and noticed that what appears to be a powerpc-specific header file (include/fsl_immap.h) is in the top-level include/ directory, as opposed to where i would have expected it (arch/powerpc/include/asm/). it's not the only one ... there appear to be others.

Re: [U-Boot] u-boot 2016.01-rc2 detects BeagleBone Black incorrectly

2015-12-20 Thread Matwey V. Kornilov
2015-12-20 1:29 GMT+03:00 Robert Nelson : >>> ah, it's tripping on the "." = "0a" character.. >>> >>> Do you happen to remember where you purchased it and what it was >>> called.. (for git commit) >>> >>> This patch should work: >>> >>>

Re: [U-Boot] u-boot 2016.01-rc2 detects BeagleBone Black incorrectly

2015-12-20 Thread Tom Rini
On Sun, Dec 20, 2015 at 12:57:33PM +0300, Matwey V. Kornilov wrote: > 2015-12-20 1:29 GMT+03:00 Robert Nelson : > >>> ah, it's tripping on the "." = "0a" character.. > >>> > >>> Do you happen to remember where you purchased it and what it was > >>> called.. (for git

Re: [U-Boot] [Patch V3] i2c: mxc: add a condition in case the parameter is NULL

2015-12-20 Thread Qianyu Gong
> -Original Message- > From: Heiko Schocher [mailto:h...@denx.de] > Sent: Friday, December 18, 2015 6:24 PM > To: Gong Qianyu-B52263 > Cc: u-boot@lists.denx.de; Stefano Babic > Subject: Re: [U-Boot] [Patch V3] i2c: mxc: add a condition in case the > parameter is NULL > > Hello Gong

Re: [U-Boot] [Patch V2 4/4] dm: env_sf: fix saveenv() to use driver model

2015-12-20 Thread Qianyu Gong
> -Original Message- > From: s...@google.com [mailto:s...@google.com] On Behalf Of Simon Glass > Sent: Saturday, December 19, 2015 10:51 AM > To: Gong Qianyu > Cc: U-Boot Mailing List; Mingkai Hu; r58...@freescale.com; > yao.y...@freescale.com; Jagan Teki > Subject: Re: [Patch V2 4/4]

[U-Boot] Uboot Image

2015-12-20 Thread P.XP
Hello, I'm a graduate student,how can I get your post Pre-built (and tested) images are available from ftp://ftp.denx.de/pub/u-boot/images/ ? Can you tell me the login count and password? Thans a lot. ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [PATCH 04/10] x86: ivybridge: Add microcode blobs for all the steppings

2015-12-20 Thread Bin Meng
On Sat, Dec 19, 2015 at 10:52 AM, Simon Glass wrote: > On 11 December 2015 at 03:55, Bin Meng wrote: >> This adds microcode blobs created from Intel FSP package for the >> Chief River platform. They are for all the Ivy Bridge steppings: >> 306a2 (B0), 306a4

Re: [U-Boot] [PATCH 01/10] fdtdec: Add compatible string for Intel IvyBridge FSP

2015-12-20 Thread Bin Meng
On Sat, Dec 19, 2015 at 10:51 AM, Simon Glass wrote: > Hi Bin, > > On 11 December 2015 at 03:55, Bin Meng wrote: >> Use "intel,ivybridge-fsp" for Intel IvyBridge FSP compatible string. >> >> Signed-off-by: Bin Meng >> --- >> >>

Re: [U-Boot] [PATCH 06/10] x86: ivybridge: Do not require HAVE_INTEL_ME

2015-12-20 Thread Bin Meng
On Sat, Dec 19, 2015 at 10:52 AM, Simon Glass wrote: > On 11 December 2015 at 03:55, Bin Meng wrote: >> Do not set HAVE_INTEL_ME by default as for some cases Intel ME >> firmware even does not reside on the same SPI flash as U-Boot. >> >> Signed-off-by: Bin

Re: [U-Boot] [PATCH 03/10] tools: microcode-tool: Support parsing header file with a license block

2015-12-20 Thread Bin Meng
On Sat, Dec 19, 2015 at 10:52 AM, Simon Glass wrote: > On 11 December 2015 at 03:55, Bin Meng wrote: >> The microcode header files in the Intel Chief River FSP package have >> a license comment block. Update the microcode-tool to support parsing >> it and

Re: [U-Boot] [PATCH 08/10] x86: fsp: Always use hex numbers in the hob command output

2015-12-20 Thread Bin Meng
On Sat, Dec 19, 2015 at 10:52 AM, Simon Glass wrote: > On 11 December 2015 at 03:55, Bin Meng wrote: >> In the 'fsp hob' command output, decimal numbers and hexadecimal >> numbers are used mixedly. Now change to always use hex numbers >> to keep

Re: [U-Boot] [PATCH 09/10] x86: ivybridge: Add macros for LPC decode ranges

2015-12-20 Thread Bin Meng
On Sat, Dec 19, 2015 at 10:52 AM, Simon Glass wrote: > On 11 December 2015 at 03:55, Bin Meng wrote: >> Add several macros for LPC decode registers on PCH. >> >> Signed-off-by: Bin Meng >> --- >> >>

Re: [U-Boot] [Patch V2 4/4] dm: env_sf: fix saveenv() to use driver model

2015-12-20 Thread Qianyu Gong
> -Original Message- > From: Qianyu Gong > Sent: Monday, December 21, 2015 1:25 PM > To: 'Simon Glass'; Gong Qianyu > Cc: U-Boot Mailing List; Mingkai Hu; r58...@freescale.com; > yao.y...@freescale.com; Jagan Teki > Subject: RE: [Patch V2 4/4] dm: env_sf: fix saveenv() to use driver

Re: [U-Boot] [PATCH v2 8/9] x86: fsp: Move struct fspinit_rtbuf definition to chipset header

2015-12-20 Thread Bin Meng
On Sat, Dec 19, 2015 at 10:51 AM, Simon Glass wrote: > On 10 December 2015 at 23:03, Bin Meng wrote: >> All FSP spec v1.0 complaint FSP binary uses struct fspinit_rtbuf >> as defined by the 1.0 spec, however there are FSPs that does not >> follow 1.0 spec

Re: [U-Boot] [PATCH v2 7/9] x86: queensbay: Remove invalid comments in update_fsp_configs()

2015-12-20 Thread Bin Meng
On Sat, Dec 19, 2015 at 10:51 AM, Simon Glass wrote: > On 10 December 2015 at 23:03, Bin Meng wrote: >> Those comments in update_fsp_configs() are not correct. Remove them. >> >> Signed-off-by: Bin Meng >> Acked-by: Simon Glass

[U-Boot] [PATCH 0/4] Add a new poweroff command and implement it for sunxi

2015-12-20 Thread Hans de Goede
Hi All, I've had this idea that it would be good to have a poweroff command in u-boot in my head for a while now. The reason being that during u-boot development one often stays in just u-boot (e.g. when testing usb kbd support), when I'm then done testing having a poweroff command would be

[U-Boot] [PATCH 2/4] sunxi: Implement poweroff support for axp152 pmic

2015-12-20 Thread Hans de Goede
Adds poweroff support for axp152 pmic. Signed-off-by: Hans de Goede --- drivers/power/Kconfig | 1 + drivers/power/axp152.c | 12 2 files changed, 13 insertions(+) diff --git a/drivers/power/Kconfig b/drivers/power/Kconfig index e86dd72..de32828 100644 ---

[U-Boot] [PATCH 1/4] cmd_boot: Add a poweroff command

2015-12-20 Thread Hans de Goede
From: Michael van Slingerland Add a 'poweroff' command to boot commands, this only gets enabled if the board Kconfig does a "select CMD_POWEROFF". Signed-off-by: Michael van Slingerland [hdego...@redhat.com: Make the cmd conditional on a

[U-Boot] [PATCH 4/4] sunxi: Implement poweroff support for axp221 pmic

2015-12-20 Thread Hans de Goede
Adds poweroff support for axp221 pmic. Signed-off-by: Hans de Goede --- drivers/power/Kconfig | 1 + drivers/power/axp221.c | 12 include/axp221.h | 2 ++ 3 files changed, 15 insertions(+) diff --git a/drivers/power/Kconfig b/drivers/power/Kconfig

[U-Boot] U-Boot Device Driver Development Guide

2015-12-20 Thread jerroldm
Dear Sir, I am considering using U-Boot as a software platform to bring up a hardware platform that am developing. In doing so, I may need to develop a couple of Device Drivers. I was wondering if anyone could point me to a document or a website that might help guide me to do this in the

Re: [U-Boot] [linux-sunxi] [PATCH V2 0/2] sunxi: support for a second SD card socket

2015-12-20 Thread Hans de Goede
Hi, On 16-12-15 20:59, Karsten Merker wrote: Hello, this patchset enables the full-size SD card socket on the A20-Olimex-SOM-EVB baseboard in u-boot and adds support for including this kind of secondary socket into the boot environment provided by config_distro_bootcmd.h on sunxi-based

[U-Boot] [PATCH 3/4] sunxi: Implement poweroff support for axp209 pmic

2015-12-20 Thread Hans de Goede
From: Michael van Slingerland Adds poweroff support for axp209 pmic. Signed-off-by: Michael van Slingerland Signed-off-by: Hans de Goede --- drivers/power/Kconfig | 1 + drivers/power/axp209.c | 12 2 files

Re: [U-Boot] [PATCH 1/4] cmd_boot: Add a poweroff command

2015-12-20 Thread Tom Rini
On Sun, Dec 20, 2015 at 04:41:32PM +0100, Hans de Goede wrote: > From: Michael van Slingerland > > Add a 'poweroff' command to boot commands, this only gets enabled if the > board Kconfig does a "select CMD_POWEROFF". > > Signed-off-by: Michael van Slingerland

Re: [U-Boot] [PATCH v2 1/5] lib: Add wait_for_bit

2015-12-20 Thread Mateusz Kulikowski
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi Marek, On 17.12.2015 00:52, Marek Vasut wrote: [...] >> Of course I can make it static inline. >> >> I was suggested not to care about possible leftovers that are >> not garbage-collected by linker so didn't changed that on V2. >> >> It's (max)

Re: [U-Boot] U-Boot Device Driver Development Guide

2015-12-20 Thread Jagan Teki
On 20 December 2015 at 19:38, wrote: > > Dear Sir, > > I am considering using U-Boot as a software platform to bring up a hardware > platform that am developing. In doing so, I may need to develop a couple of > Device Drivers. I was wondering if anyone could

[U-Boot] [PATCH v2 2/2] m68k: add DM model serial driver

2015-12-20 Thread Angelo Dureghello
Boards can now use DM serial driver, or still legacy mcf uart driver version. Signed-off-by: Angelo Dureghello --- Changes in v2: - remove while loops in putc and getc, replacing with return -EAGAIN - remove unneeded ifdef drivers/serial/mcfuart.c | 188

[U-Boot] [PATCH v2 1/2] m68k: add malloc memory for early malloc

2015-12-20 Thread Angelo Dureghello
To use serial uclass and DM, CONFIG_SYS_MALLOC_F must be used. So CONFIG_SYS_GENERIC_GLOBAL_DATA has been undefined and call to board_init_f_mem() is added for all cpu's. Signed-off-by: Angelo Dureghello --- Changes in v2: None arch/m68k/cpu/mcf5227x/start.S | 8

Re: [U-Boot] [PATCH 1/2] arm: imx6: Add DDR3 calibration code for MX6 Q/D/DL

2015-12-20 Thread Eric Nelson
Hi Marek, On 12/16/2015 07:40 AM, Marek Vasut wrote: > Add DDR3 calibration code for i.MX6Q, i.MX6D and i.MX6DL. This code > fine-tunes the behavior of the MMDC controller in order to improve > the signal integrity and memory stability. It would be good to have a reference to AN4467 in the

Re: [U-Boot] [PATCH 2/2] arm: imx6: Enable DDR calibration on Novena

2015-12-20 Thread Eric Nelson
Hi Marek, On 12/16/2015 07:40 AM, Marek Vasut wrote: > Enable the DDR calibration functionality on Novena to deal with the > memory SoDIMM on this board. Shouldn't this be in two patches? > Moreover, tweak the initial DDR DRAM parameters so the > calibration works properly. > > Signed-off-by:

Re: [U-Boot] [PATCH 0/4] Add a new poweroff command and implement it for sunxi

2015-12-20 Thread Ian Campbell
On Sun, 2015-12-20 at 16:41 +0100, Hans de Goede wrote: > Hi All, > > I've had this idea that it would be good to have a poweroff command in > u-boot in my head for a while now. The reason being that during u-boot > development one often stays in just u-boot (e.g. when testing usb kbd > support),

Re: [U-Boot] [PATCH] sun5i: Add defconfig and dts file for the Empire Electronix D709 tablet

2015-12-20 Thread Ian Campbell
On Sun, 2015-12-20 at 12:44 +0100, Hans de Goede wrote: > The Empire Electronix D709 tablet is a fairly standard 7" A13 tablet, > featuring usb-wifi, a micro-sd slot, micro-usb otg and headphone > jack. > > Empire Electronix is written on the back of the tablet, the D709 > model > info can be

[U-Boot] [PATCH] sunxi: Add CONFIG_SUNXI_NO_PMIC to Marsboard A10 config

2015-12-20 Thread Aleksei Mamlin
Marsboard A10 haven't any PMIC at all, so add CONFIG_SUNXI_NO_PMIC=y to Marsboard_A10_defconfig Signed-off-by: Aleksei Mamlin --- configs/Marsboard_A10_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/Marsboard_A10_defconfig