Re: [U-Boot] [PATCH v6 00/10] add support for atheros ath79 based SOCs

2016-01-16 Thread Wills Wang
On Saturday, January 16, 2016 01:26 PM, Marek Vasut wrote: On Monday, January 04, 2016 at 12:06:17 PM, Wills Wang wrote: These series of patch add support for atheros ath79 based SOCs in u-boot, at the present moment it's just available for ar933x and qca953x chip. Changes in v6: - Remove

Re: [U-Boot] x86: Bay Trail support with W83627DHG

2016-01-16 Thread Bin Meng
Hi Stefan, On Fri, Jan 15, 2016 at 10:37 PM, Stefan Roese wrote: > Hi Simon, Hi Bin! > > I'm currently busy with porting U-Boot to a Bay Trail board. > Equipped with an Intel Atom E3845 and additionally the > Nuvoton / Winbond W83627DHG Super IO chip. > > My staring point for this

Re: [U-Boot] [PATCH 3/4] x86: qemu: add the ability to load and link ACPI tables from QEMU

2016-01-16 Thread Bin Meng
Hi Miao, On Fri, Jan 15, 2016 at 11:12 AM, Miao Yan wrote: > This patch adds the ability to load and link ACPI tables provided by QEMU. > QEMU tells guests how to load and patch ACPI tables through its fw_cfg > interface, by adding a firmware file 'etc/table-loader'.

Re: [U-Boot] [PATCH 2/4] x86: qemu: setup PM IO base for ACPI in southbridge

2016-01-16 Thread Bin Meng
Hi Miao, On Fri, Jan 15, 2016 at 11:12 AM, Miao Yan wrote: > Enable ACPI IO space for piix4 (for pc board) and ich9 (for q35 board) > > Signed-off-by: Miao Yan > --- > arch/x86/cpu/qemu/qemu.c| 39 >

Re: [U-Boot] [PATCH 1/4] x86: qemu: re-structure qemu_fwcfg_list_firmware()

2016-01-16 Thread Bin Meng
Hi Miao, On Fri, Jan 15, 2016 at 11:12 AM, Miao Yan wrote: > Re-write the logic in qemu_fwcfg_list_firmware(), add a function > qemu_cfg_read_firmware_list() to handle reading firmware list. qemu_fwcfg_read_firmware_list() > > Signed-off-by: Miao Yan

Re: [U-Boot] [PATCH 4/4] x86: qemu: loading ACPI table from QEMU

2016-01-16 Thread Bin Meng
Hi Miao, On Fri, Jan 15, 2016 at 11:12 AM, Miao Yan wrote: > If CONFIG_GENERATE_ACPI_TABLE is not defined, then use ACPI table created > by QEMU. > > Signed-off-by: Miao Yan > --- > arch/x86/lib/tables.c | 5 - > 1 file changed, 4

Re: [U-Boot] [PATCH] include stdint.h where mtd/mtd-user.h is included

2016-01-16 Thread Gerhard Heift
As Thomas Petazzoni pointed out in [1] this issue is already fixed by commit 69bf2d2fafe64349be3c3ef1256e3c68f812bb25 [2]. I fixed 2015.10 for me and ported the patch forward to 2016.01 without further verification if it is still needed and not fixed otherwise. Regards, Gerhard [1]

Re: [U-Boot] [PATCH v3 4/8] dm: Expand the uclass for Platform Controller Hubs (PCH)

2016-01-16 Thread Simon Glass
Hi Bin, On 21 December 2015 at 02:16, Bin Meng wrote: > Hi Simon, > > On Sun, Dec 20, 2015 at 6:42 AM, Simon Glass wrote: >> A Platform Controller Hub is an Intel concept - it is like the peripherals >> on an SoC and is often in a separate chip from the

Re: [U-Boot] [PATCH v3 6/8] dm: x86: Add a driver for Intel PCH9

2016-01-16 Thread Simon Glass
Hi Bin, On 21 December 2015 at 02:16, Bin Meng wrote: > Hi Simon, > > On Sun, Dec 20, 2015 at 6:42 AM, Simon Glass wrote: >> At some point we may need to distinguish between different types of PCHs, >> but for existing supported platforms we only need to

[U-Boot] [REGRESSION] Ethernet broken on Colibri T20/T30

2016-01-16 Thread Marcel Ziswiler
Hi Simon As mentioned before I noticed Ethernet (on-module USB ASIX chip) to be broken on master while it still worked fine in v2016.01. I kind of remember having once noticed something along those lines when testing some of your early dm stuff but could not find our discussion about it anymore

Re: [U-Boot] [PATCH] image: fix getenv_bootm_size() function

2016-01-16 Thread Masahiro Yamada
Tom, This patch is a bug-fix and still keeping me from using bootm_low on my boards. Please apply! -- Best Regards Masahiro Yamada ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH] drivers/spi/rk_spi.c: Fix debug format warning

2016-01-16 Thread Tom Rini
We need to use %lx not %x to describe a fdt_addr_t Cc: Simon Glass Signed-off-by: Tom Rini --- drivers/spi/rk_spi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/spi/rk_spi.c b/drivers/spi/rk_spi.c index 5e0c6ad..242a83b

[U-Boot] [PATCHv4 4/7] spl: support loading from UBI volumes

2016-01-16 Thread Ladislav Michl
Add support for loading from UBI volumes on the top of NAND. Signed-off-by: Ladislav Michl --- common/spl/Makefile | 3 +++ common/spl/spl.c | 4 common/spl/spl_ubi.c | 68 include/spl.h| 4 4

[U-Boot] [PATCHv4 3/7] spl: Lightweight UBI and UBI fastmap support

2016-01-16 Thread Ladislav Michl
From: Thomas Gleixner Booting a payload out of NAND FLASH from the SPL is a crux today, as it requires hard partioned FLASH. Not a brilliant idea with the reliability of todays NAND FLASH chips. The upstream UBI + UBI fastmap implementation which is about to brought to

[U-Boot] [PATCHv5 5/7] spl: zImage support in Falcon mode

2016-01-16 Thread Ladislav Michl
Other payload than uImage is currently considered to be raw U-Boot image. Check also for zImage in Falcon mode. Signed-off-by: Ladislav Michl --- arch/arm/lib/Makefile | 2 ++ arch/arm/lib/bootm.c | 32 arch/arm/lib/zimage.c | 40

[U-Boot] [PATCHv4 2/7] nand_spl_simple: Add a simple NAND read function

2016-01-16 Thread Ladislav Michl
From: Thomas Gleixner To support UBI in SPL we need a simple NAND read function. Add one to nand_spl_simple and keep it as simple as it goes. Signed-off-by: Thomas Gleixner Signed-off-by: Ladislav Michl Acked-by: Scott Wood

[U-Boot] [PATCHv7 6/7] igep00x0: UBIize

2016-01-16 Thread Ladislav Michl
Convert IGEP board to use UBI volumes for U-Boot, its environment and kernel. With exception of first four sectors read by SoC boot ROM whole NAND is UBI managed. As code is too big now, drop CONFIG_SPL_EXT_SUPPORT to make it fit. Signed-off-by: Ladislav Michl ---

[U-Boot] [PATCHv4 7/7] igep00x0: Falcon mode

2016-01-16 Thread Ladislav Michl
Implement spl_start_uboot to let Falcon mode work. Signed-off-by: Ladislav Michl --- board/isee/igep00x0/igep00x0.c | 12 1 file changed, 12 insertions(+) diff --git a/board/isee/igep00x0/igep00x0.c b/board/isee/igep00x0/igep00x0.c index e2fce50..92811d8

Re: [U-Boot] [PATCH v7 0/7] add support for atheros ath79 based SOCs

2016-01-16 Thread Wills Wang
On 01/17/2016 03:05 AM, Marek Vasut wrote: On Saturday, January 16, 2016 at 07:13:46 PM, Wills Wang wrote: These series of patch add support for atheros ath79 based SOCs in u-boot, at the present moment it's just available for ar933x and qca953x chip. This patch serises is based on

[U-Boot] [PATCH] drivers/power/regulator/max77686.c: Don't use switch() on bools

2016-01-16 Thread Tom Rini
With gcc-5.3 we get a warning for using switch() on a bool type. Rewrite these sections as if/else and update the one section that was using 1/0 instead of true/false. Cc: Simon Glass Cc: Przemyslaw Marczak Signed-off-by: Tom Rini

[U-Boot] [PATCH 3/6] usb: dwc2: split transfer core from outer loop

2016-01-16 Thread Stefan Brüns
Split the movement of data between CPU and Host Controller from the status handling and tracking of transfer progress. This will also simplify adding of SPLIT transaction support. Signed-off-by: Stefan Brüns --- drivers/usb/host/dwc2.c | 112

[U-Boot] [PATCH 0/6] usb: dwc2: Add support for SPLIT transactions

2016-01-16 Thread Stefan Brüns
The first patch fixes an out-of-bounds access, and makes the calculation of maximum transfer size more straightforward. It also makes overriding the maximum transfer size easier for split transactions 2nd and 3rd patch cleanup and restructure the current code in preparation for the split support.

[U-Boot] [PATCHv4 0/7] spl: Lightweight UBI and UBI fastmap support

2016-01-16 Thread Ladislav Michl
Hi, yet another update of ubispl support. Please note, that igep00x0 specific part depends on yet unapplied "[PATCHv2 0/5] igep00x0: Minor cleanup" series --- README |4 arch/arm/lib/Makefile |2 arch/arm/lib/bootm.c | 32 -

Re: [U-Boot] [PATCH 00/23] dm: tegra: Convert tegra20 and tegra124 video drivers to driver model

2016-01-16 Thread Marcel Ziswiler
Hi Simon On Thu, 2016-01-14 at 11:28 -0700, Simon Glass wrote: > This series moves these two drivers over to use driver model for > video. > > This involves the following steps: > - Sync up some device tree files with Linux > - Implement a proper PWM driver > - Clean up and unify the driver code

Re: [U-Boot] [PATCH] udoo:use load instead of fatload

2016-01-16 Thread Fabio Estevam
On Fri, Jan 15, 2016 at 6:12 PM, Oscar Curero wrote: > That way the FS can also be ext2/3/4 > > Signed-off-by: Oscar Curero Acked-by: Fabio Estevam ___ U-Boot mailing list

Re: [U-Boot] [PATCH v4 02/19] dm: timer: uclass: add timer init in uclass driver to add timer device

2016-01-16 Thread Mugunthan V N
On Saturday 16 January 2016 09:33 PM, Mugunthan V N wrote: > Adding timer init function in timer-uclass driver to create and > initialize the timer device on platforms where u-boot,dm-pre-reloc > is not used. Since there will be multiple timer devices in the > system, adding a tick-timer node in

Re: [U-Boot] [PATCH v6 06/10] ns16550: add support for mips

2016-01-16 Thread Wills Wang
On Saturday, January 09, 2016 10:30 PM, Daniel Schwierzeck wrote: Am Samstag, den 09.01.2016, 18:46 +0800 schrieb Wills Wang: On 01/09/2016 12:23 AM, Daniel Schwierzeck wrote: Am Montag, den 04.01.2016, 19:14 +0800 schrieb Wills Wang: MIPS archtecture have no

Re: [U-Boot] [PATCH v4 02/19] dm: timer: uclass: add timer init in uclass driver to add timer device

2016-01-16 Thread Simon Glass
Hi Mugunthan, On 16 January 2016 at 09:08, Mugunthan V N wrote: > On Saturday 16 January 2016 09:33 PM, Mugunthan V N wrote: >> Adding timer init function in timer-uclass driver to create and >> initialize the timer device on platforms where u-boot,dm-pre-reloc >> is not

Re: [U-Boot] [PATCH v6 06/10] ns16550: add support for mips

2016-01-16 Thread Daniel Schwierzeck
Am Sonntag, den 17.01.2016, 00:15 +0800 schrieb Wills Wang: > > On Saturday, January 09, 2016 10:30 PM, Daniel Schwierzeck wrote: > > Am Samstag, den 09.01.2016, 18:46 +0800 schrieb Wills Wang: > > > On 01/09/2016 12:23 AM, Daniel Schwierzeck wrote: > > > > Am Montag, den 04.01.2016, 19:14 +0800

Re: [U-Boot] [PATCH v4 02/19] dm: timer: uclass: add timer init in uclass driver to add timer device

2016-01-16 Thread Mugunthan V N
On Saturday 16 January 2016 10:11 PM, Simon Glass wrote: > Hi Mugunthan, > > On 16 January 2016 at 09:08, Mugunthan V N wrote: >> On Saturday 16 January 2016 09:33 PM, Mugunthan V N wrote: >>> Adding timer init function in timer-uclass driver to create and >>> initialize the

Re: [U-Boot] [PATCH 00/23] dm: tegra: Convert tegra20 and tegra124 video drivers to driver model

2016-01-16 Thread Simon Glass
Hi Marcel, On 15 January 2016 at 19:36, Marcel Ziswiler wrote: > Hi Simon > > On Thu, 2016-01-14 at 11:28 -0700, Simon Glass wrote: >> This series moves these two drivers over to use driver model for >> video. >> >> This involves the following steps: >> - Sync up

Re: [U-Boot] [PATCH] pci_rom.c: Fix may be used uninitialized warning

2016-01-16 Thread Bin Meng
On Sat, Jan 16, 2016 at 10:50 PM, Tom Rini wrote: > With gcc-5.x we get: > drivers/pci/pci_rom.c: In function 'dm_pci_run_vga_bios': > drivers/pci/pci_rom.c:352:3: warning: 'ram' may be used uninitialized in > this function [-Wmaybe-uninitialized] > > While unconvinced that

[U-Boot] [PATCH v4 02/19] dm: timer: uclass: add timer init in uclass driver to add timer device

2016-01-16 Thread Mugunthan V N
Adding timer init function in timer-uclass driver to create and initialize the timer device on platforms where u-boot,dm-pre-reloc is not used. Since there will be multiple timer devices in the system, adding a tick-timer node in chosen node to know which timer device to be used as tick timer in

[U-Boot] [PATCH v7 7/7] mips: ath79: add AP143 reference board

2016-01-16 Thread Wills Wang
Signed-off-by: Wills Wang --- Changes in v7: - Use KSEG1 address for debug port in ap143 Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None arch/mips/dts/Makefile| 1 + arch/mips/dts/ap143.dts | 43

Re: [U-Boot] [PATCH v6 00/10] add support for atheros ath79 based SOCs

2016-01-16 Thread Marek Vasut
On Saturday, January 16, 2016 at 02:15:27 PM, Wills Wang wrote: > On Saturday, January 16, 2016 01:26 PM, Marek Vasut wrote: > > On Monday, January 04, 2016 at 12:06:17 PM, Wills Wang wrote: > >> These series of patch add support for atheros ath79 based SOCs in > >> u-boot, at the present moment

Re: [U-Boot] [PATCH v6 00/10] add support for atheros ath79 based SOCs

2016-01-16 Thread Wills Wang
On Saturday, January 16, 2016 11:33 PM, Marek Vasut wrote: On Saturday, January 16, 2016 at 02:15:27 PM, Wills Wang wrote: On Saturday, January 16, 2016 01:26 PM, Marek Vasut wrote: On Monday, January 04, 2016 at 12:06:17 PM, Wills Wang wrote: These series of patch add support for atheros

[U-Boot] [PATCH] drivers: uclass: timer: rename timer_init() to dm_timer_init()

2016-01-16 Thread Mugunthan V N
Rename timer_init() to dm_timer_init() and remove dm_timer_init() in lib/time.c as * timer_init is called from board_f.c or board_r.c on different architectures which may result causes timer devices to be probed twice. * lib/time.c dm_timer_init() does nothing other than calling

[U-Boot] [PATCH v7 1/7] mips: add base support for QCA/Atheros ath79 SOCs

2016-01-16 Thread Wills Wang
Signed-off-by: Wills Wang --- Changes in v7: - Use setbits_32 - Fix include path for SoC specific headers Changes in v6: - Move ar933x as separate patch - Add get_bootstrap in reset.c - Use map_physmem instead of KSEG1ADDR - Add arch_cpu_init for detect SOC type for early

[U-Boot] [PATCH v7 2/7] mips: ath79: add support for AR933x SOCs

2016-01-16 Thread Wills Wang
This patch enable work for ar933x SOC. Signed-off-by: Wills Wang --- Changes in v7: - Use CKSEGxADDR instead of KSEGxADDR for ar933x Changes in v6: - Remove board.c - Define magic value in ddr.c Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2:

[U-Boot] [PATCH v7 6/7] mips: ath79: add AP121 reference board

2016-01-16 Thread Wills Wang
Signed-off-by: Wills Wang --- Changes in v7: - Use KSEG1 address for debug port in ap121 Changes in v6: - Convert SZ_XXX into hex in ap121.h - Remove useless CONFIG_SYS_INIT_SP_OFFSET in ap121.h - Add board_early_init_f for DDR and pin initialization - Select UART and SPI

[U-Boot] [PATCH v7 3/7] mips: ath79: add support for QCA953x SOCs

2016-01-16 Thread Wills Wang
This patch enable work for qca953x SOC. Signed-off-by: Wills Wang --- Changes in v7: - Use CKSEGxADDR instead of KSEGxADDR for qca953x Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None arch/mips/mach-ath79/Kconfig

[U-Boot] [PATCH v7 4/7] mips: ath79: add serial driver for ar933x SOC

2016-01-16 Thread Wills Wang
Reviewed-by: Thomas Chou Signed-off-by: Wills Wang --- Changes in v7: - remove map_physmem for debug port Changes in v6: - Remove wait loop in putc and getc - Use map_physmem instead of KSEG1ADDR Changes in v5: - remove ar933x_serial_platdata -

[U-Boot] [PATCH v7 5/7] mips: ath79: add spi driver

2016-01-16 Thread Wills Wang
Reviewed-by: Thomas Chou Signed-off-by: Wills Wang --- Changes in v7: - Define spi_cs_activate/spi_cs_deactivate - Rename MHZ to ATH79_SPI_MHZ - Use clrsetbits_32 Changes in v6: - Add rrw_delay in ath79_spi_priv for more accurate timing - Remove

[U-Boot] [PATCH] pci_rom.c: Fix may be used uninitialized warning

2016-01-16 Thread Tom Rini
With gcc-5.x we get: drivers/pci/pci_rom.c: In function 'dm_pci_run_vga_bios': drivers/pci/pci_rom.c:352:3: warning: 'ram' may be used uninitialized in this function [-Wmaybe-uninitialized] While unconvinced that this can happen in practice (if we malloc we set alloced to true, it will be false

Re: [U-Boot] [PULL] u-boot-socfpga/master

2016-01-16 Thread Tom Rini
On Sat, Jan 16, 2016 at 07:09:37AM +0100, Marek Vasut wrote: > The following changes since commit 782acf7b52db6bec1a796773e3033b4afcd6c9e2: > > Merge git://git.denx.de/u-boot-rockchip (2016-01-15 08:11:15 -0500) > > are available in the git repository at: > >

Re: [U-Boot] [PULL] u-boot-usb/master

2016-01-16 Thread Tom Rini
On Sat, Jan 16, 2016 at 07:08:30AM +0100, Marek Vasut wrote: > The following changes since commit 782acf7b52db6bec1a796773e3033b4afcd6c9e2: > > Merge git://git.denx.de/u-boot-rockchip (2016-01-15 08:11:15 -0500) > > are available in the git repository at: > >

[U-Boot] [PATCH 0/2] TPM minor fixes

2016-01-16 Thread Christophe Ricard
Hi Simon, Please find in this serie one bug fix and a typo cleanup. Best Regards Christophe Christophe Ricard (2): tpm: Fix fault in case CONFIG_DM_TPM is set without any TPM tpm: tpm_tis_lpc: fix typo common/cmd_tpm.c| 2 +- drivers/tpm/Kconfig | 2 +- lib/tpm.c | 2 +-

Re: [U-Boot] [PATCH v7 4/7] mips: ath79: add serial driver for ar933x SOC

2016-01-16 Thread Daniel Schwierzeck
Am Sonntag, den 17.01.2016, 02:13 +0800 schrieb Wills Wang: > Reviewed-by: Thomas Chou > > Signed-off-by: Wills Wang Reviewed-by: Daniel Schwierzeck nits below > --- > > Changes in v7: > - remove map_physmem for debug

Re: [U-Boot] [PATCH v7 5/7] mips: ath79: add spi driver

2016-01-16 Thread Daniel Schwierzeck
Am Sonntag, den 17.01.2016, 02:13 +0800 schrieb Wills Wang: > Reviewed-by: Thomas Chou > > Signed-off-by: Wills Wang Reviewed-by: Daniel Schwierzeck nits below > --- > > Changes in v7: > - Define

Re: [U-Boot] [PATCH v7 0/7] add support for atheros ath79 based SOCs

2016-01-16 Thread Marek Vasut
On Saturday, January 16, 2016 at 07:13:46 PM, Wills Wang wrote: > These series of patch add support for atheros ath79 based SOCs in u-boot, > at the present moment it's just available for ar933x and qca953x chip. > > This patch serises is based on mips_io_v4 branch on u-boot-mips repository > [1]

Re: [U-Boot] [PATCH v7 1/7] mips: add base support for QCA/Atheros ath79 SOCs

2016-01-16 Thread Marek Vasut
On Saturday, January 16, 2016 at 07:13:47 PM, Wills Wang wrote: Commit message is missing. > Signed-off-by: Wills Wang > --- > > Changes in v7: > - Use setbits_32 > - Fix include path for SoC specific headers > > Changes in v6: > - Move ar933x as separate patch > - Add

[U-Boot] [PATCH 0/3] Add support for st33zp24 i2c and spi TPMs

2016-01-16 Thread Christophe Ricard
Hi Simon, After a first tentative in August 2015: http://lists.denx.de/pipermail/u-boot/2015-August/222596.html I finally found some spare time for a new round to send a new patchset version bringing support for ST33ZP24 TPM 1.2 with i2c and spi support. I have been able to follow all your

Re: [U-Boot] [PATCH v7 7/7] mips: ath79: add AP143 reference board

2016-01-16 Thread Daniel Schwierzeck
Am Sonntag, den 17.01.2016, 02:13 +0800 schrieb Wills Wang: > Signed-off-by: Wills Wang my comments in patch 6/7 apply to this patch too > --- > > Changes in v7: > - Use KSEG1 address for debug port in ap143 > > Changes in v6: None > Changes in v5: None > Changes in v4:

[U-Boot] [GIT PULL] u-boot-mips/master

2016-01-16 Thread Daniel Schwierzeck
Hi Tom, please pull the first bunch of MIPS updates. There is a possible merge conflict in dts/Makefile due to my patch [1] in this PR and Thomas' patch [2] waiting in u-boot-fdt tree. [1] http://patchwork.ozlabs.org/patch/566695/ [2] http://patchwork.ozlabs.org/patch/563669/ The following

[U-Boot] [PATCH 2/3] tpm: st33zp24: Add tpm st33zp24 support with i2c

2016-01-16 Thread Christophe Ricard
Add support for TPM ST33ZP24 family with i2c. For i2c we are relying only on DM_I2C. Signed-off-by: Christophe Ricard --- README | 7 + drivers/tpm/Kconfig| 9 + drivers/tpm/Makefile | 1 +

[U-Boot] [PATCH 3/3] tpm: st33zp24: Add tpm st33zp24 spi support

2016-01-16 Thread Christophe Ricard
Add support for TPM ST33ZP24 spi. The ST33ZP24 does have a spi interface. The transport protocol is proprietary. For spi we are relying only on DM_SPI. Signed-off-by: Christophe Ricard --- README | 4 + drivers/tpm/Kconfig

[U-Boot] [PATCH 1/3] tpm: Rename tpm_tis_infineon.h to tpm_tis.h and move infineon specific stuff in tpm_infineon.c

2016-01-16 Thread Christophe Ricard
I2C protocol is not standardize for TPM 1.2. TIS prococol is define by the Trusted Computing Group and potentially available on several TPMs. tpm_tis_infineon.h header is not generic enough. Rename tpm_tis_infineon.h to tpm_tis.h and move infineon specific defines/variables to tpm_tis_infineon.c

[U-Boot] [PATCH 2/2] tpm: tpm_tis_lpc: fix typo

2016-01-16 Thread Christophe Ricard
TPM_TIS_LPC is connected to the LPC bus, not I2C. Signed-off-by: Christophe Ricard --- drivers/tpm/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tpm/Kconfig b/drivers/tpm/Kconfig index 31b35f7..5a75f85 100644 ---

[U-Boot] [PATCH 1/2] tpm: Fix fault in case CONFIG_DM_TPM is set without any TPM

2016-01-16 Thread Christophe Ricard
In case CONFIG_DM_TPM was set without any TPM chipset configured a fault was generated (NULL pointer access). Signed-off-by: Christophe Ricard --- common/cmd_tpm.c | 2 +- lib/tpm.c| 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [U-Boot] [PATCH v6 00/10] add support for atheros ath79 based SOCs

2016-01-16 Thread Marek Vasut
On Saturday, January 16, 2016 at 05:08:37 PM, Wills Wang wrote: > On Saturday, January 16, 2016 11:33 PM, Marek Vasut wrote: > > On Saturday, January 16, 2016 at 02:15:27 PM, Wills Wang wrote: > >> On Saturday, January 16, 2016 01:26 PM, Marek Vasut wrote: > >>> On Monday, January 04, 2016 at

Re: [U-Boot] [PATCH v7 3/7] mips: ath79: add support for QCA953x SOCs

2016-01-16 Thread Marek Vasut
On Saturday, January 16, 2016 at 07:13:49 PM, Wills Wang wrote: > This patch enable work for qca953x SOC. > > Signed-off-by: Wills Wang > --- > > Changes in v7: > - Use CKSEGxADDR instead of KSEGxADDR for qca953x > > Changes in v6: None > Changes in v5: None > Changes in

Re: [U-Boot] [PATCH v7 2/7] mips: ath79: add support for AR933x SOCs

2016-01-16 Thread Marek Vasut
On Saturday, January 16, 2016 at 07:13:48 PM, Wills Wang wrote: > This patch enable work for ar933x SOC. And it adds DDR code and clock code ... which is missing from the commit message. > Signed-off-by: Wills Wang > --- [...] > +void ddr_init(void) > +{ > + void

Re: [U-Boot] [PATCH v7 6/7] mips: ath79: add AP121 reference board

2016-01-16 Thread Daniel Schwierzeck
Am Sonntag, den 17.01.2016, 02:13 +0800 schrieb Wills Wang: > Signed-off-by: Wills Wang > --- > > Changes in v7: > - Use KSEG1 address for debug port in ap121 > > Changes in v6: > - Convert SZ_XXX into hex in ap121.h > - Remove useless CONFIG_SYS_INIT_SP_OFFSET in ap121.h >

[U-Boot] [PATCH v4 8/8] dm: x86: spi: Convert ICH SPI driver to driver model PCI API

2016-01-16 Thread Simon Glass
At present this SPI driver works by searching the PCI buses for its peripheral. It also uses the legacy PCI API. In addition the driver has code to determine the type of Intel PCH that is used (version 7 or version 9). Now that we have proper PCH drivers we can use those to obtain the information

[U-Boot] [PATCH v4 5/8] dm: x86: Add a driver for Intel PCH7

2016-01-16 Thread Simon Glass
At some point we may need to distinguish between different types of PCHs, but for existing supported platforms we only need to worry about version 7 and version 9 bridges. Add a driver for the PCH7. Signed-off-by: Simon Glass --- Changes in v4: - Correct BIOS_CTRL address for

[U-Boot] [PATCH v4 3/8] dm: pci: Avoid using pci_bus_to_hose() in the uclass

2016-01-16 Thread Simon Glass
This function is only available for compatibility with old code. Avoid using it in the uclass. Signed-off-by: Simon Glass Reviewed-by: Bin Meng Tested-by: Bin Meng --- Changes in v4: None Changes in v3: None Changes in v2: None

[U-Boot] [PATCH v4 1/8] dm: pci: Move pci_bus_to_hose() to compatibility

2016-01-16 Thread Simon Glass
This function should not be used by driver-model code, so move it to the compatibility portion. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- Changes in v4: None Changes in v3: None Changes in v2: - Add more detail to the function comment

[U-Boot] [PATCH v4 6/8] dm: x86: Add a driver for Intel PCH9

2016-01-16 Thread Simon Glass
At some point we may need to distinguish between different types of PCHs, but for existing supported platforms we only need to worry about version 7 and version 9 bridges. Add a driver for the PCH9. Signed-off-by: Simon Glass --- Changes in v4: None Changes in v3: None

[U-Boot] [PATCH v4 2/8] dm: pci: Add a function to write a BAR

2016-01-16 Thread Simon Glass
Add a driver-model version of the pci_write_bar32 function so that this is supported in the new API. Signed-off-by: Simon Glass --- Changes in v4: - Tidy up mentions on control bits in the header file Changes in v3: None Changes in v2: - Rename the last parameter to 'addr' -

[U-Boot] [PATCH v4 7/8] spi: ich: Separate out the read/write trace from normal debugging

2016-01-16 Thread Simon Glass
The trace is seldom useful for basic debugging. Allow it to be enabled separately so that it is easier to see the more important init and error debug messages. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- Changes in v4: None Changes in v3: - Add a

[U-Boot] [PATCH v4 0/8] dm: x86: Convert ICH driver fully to driver model PCI API

2016-01-16 Thread Simon Glass
This is a small series to move the ICH driver over to use the driver model PCI API. It involves creating PCH drivers which the ICH driver can use to find out its base address. At present irq-router is the 'PCH' node in most device tree files. This is not really correct since the router is just

[U-Boot] [PATCH v4 4/8] dm: Expand the uclass for Platform Controller Hubs (PCH)

2016-01-16 Thread Simon Glass
A Platform Controller Hub is an Intel concept - it is like the peripherals on an SoC and is often in a separate chip from the CPU. The chip is typically found on the first PCI bus and integrates multiple devices. We have a very simple uclass to support PCHs. Add a few operations, such as setting

Re: [U-Boot] [PATCH 00/23] dm: tegra: Convert tegra20 and tegra124 video drivers to driver model

2016-01-16 Thread Marcel Ziswiler
Hi Simon On Sat, 2016-01-16 at 10:14 -0700, Simon Glass wrote: > > I wanted to give that patch set a shot but could not figure out > > against > > what to get it cleanly applied. Could you reveal its baseline or > > better > > yet a git branch ready for testing? > > Yes, this plus the next

Re: [U-Boot] [PATCH 21/23] tegra: Convert CONFIG_PWM_TEGRA to Kconfig

2016-01-16 Thread Marcel Ziswiler
On Thu, 2016-01-14 at 11:28 -0700, Simon Glass wrote: > Move this option to Kconfig and clean up the header files. Adjust the > only > user (the LCD driver) to work with the new driver. > > Signed-off-by: Simon Glass > --- > >  configs/colibri_t20_defconfig | 8 +--- >  

Re: [U-Boot] [GIT PULL] u-boot-mips/master

2016-01-16 Thread Tom Rini
On Sat, Jan 16, 2016 at 09:45:19PM +0100, Daniel Schwierzeck wrote: > Hi Tom, > > please pull the first bunch of MIPS updates. > > There is a possible merge conflict in dts/Makefile due to my patch [1] > in this PR and Thomas' patch [2] waiting in u-boot-fdt tree. > > [1]

[U-Boot] [PATCH 6/6] usb: dwc2: Add SPLIT INTERRUPT transaction support

2016-01-16 Thread Stefan Brüns
CSPLITs for INTERRUPT transactions have to be scheduled in each microframe following the SSPLIT. INTERRUPT transfers are executed in the next even/ odd microframe depending on the HCCHAR_ODDFRM flag. As there are no handshakes for INTERRUPT SSPLITs the SSPLIT may have failed (transport error)

[U-Boot] [PATCHv4 1/7] mtd: Sort subsystem directories aplhabeticaly in Makefile

2016-01-16 Thread Ladislav Michl
Signed-off-by: Ladislav Michl Reviewed-by: Tom Rini --- drivers/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/Makefile b/drivers/Makefile index 00da40b..1b9f8d6 100644 --- a/drivers/Makefile +++

[U-Boot] [PATCH 4/6] usb: dwc2: add helper function for setting SPLIT HC registers

2016-01-16 Thread Stefan Brüns
The split register setting is used for both SSPLIT and CSPLIT transactions, the bit for CSPLIT has to be set seperately. Signed-off-by: Stefan Brüns --- drivers/usb/host/dwc2.c | 15 ++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git

[U-Boot] [PATCH 5/6] usb: dwc2: Implement SPLIT transaction support

2016-01-16 Thread Stefan Brüns
In contrast to non-SPLIT transfers each transaction has to be submitted as an individual chunk. The transaction state machine proceeds from SSPLIT to CSPLIT if the ACK flag is set. CSPLIT has to be repeated while NYET is set. Signed-off-by: Stefan Brüns ---

[U-Boot] [PATCH 2/6] usb: dwc2: Simplify wait_for_chhltd(), remove ignore_ack

2016-01-16 Thread Stefan Brüns
A transfer is completed if the XFERCOMP flag is set, irrespective of the ACK flag. BULK OUT transfers to some HS devices complete without having the ACK flag set, which signal the devices has responded with an NYET to the transfer (PING protocol). The new behaviour matches the Linux kernel minus

[U-Boot] [PATCH 1/6] usb: dwc2: Fix out-of-bounds access, fix chunk size

2016-01-16 Thread Stefan Brüns
Fix two errors in transfer len calculation, move loop invariant code out of loop. If xfer_len is equal to CONFIG_DWC2_MAX_TRANSFER_SIZE (or slightly smaller), the xfer_len will be to large, e.g.: xfer_len = MAX_TRANSFER_SIZE = 65535 max packet size = 512 => num_packets = 128 => IN

[U-Boot] [PATCH 0/4] ARM: uniphier: refactor and fix UniPhier outer cache

2016-01-16 Thread Masahiro Yamada
Masahiro Yamada (4): ARM: uniphier: refactor outer cache operation slightly ARM: uniphier: factor out outer cache sync as a helper function ARM: uniphier: fix range invalidate for outer cache ARM: uniphier: set active ways to really enable outer cache

[U-Boot] [PATCH 3/4] ARM: uniphier: fix range invalidate for outer cache

2016-01-16 Thread Masahiro Yamada
If invalidate operation is invoked against a cache-unaliged region, the both ends of the region should be flushed, not invalidated. Signed-off-by: Masahiro Yamada --- arch/arm/mach-uniphier/cache_uniphier.c | 23 +++ 1 file changed, 23

[U-Boot] [PATCH 1/4] ARM: uniphier: refactor outer cache operation slightly

2016-01-16 Thread Masahiro Yamada
Improve readability without changing the behavior. Signed-off-by: Masahiro Yamada --- arch/arm/mach-uniphier/cache_uniphier.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-uniphier/cache_uniphier.c

[U-Boot] [PATCH 2/4] ARM: uniphier: factor out outer cache sync as a helper function

2016-01-16 Thread Masahiro Yamada
Avoid repeating the same code. Signed-off-by: Masahiro Yamada --- arch/arm/mach-uniphier/cache_uniphier.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/arch/arm/mach-uniphier/cache_uniphier.c

[U-Boot] [PATCH 4/4] ARM: uniphier: set active ways to really enable outer cache

2016-01-16 Thread Masahiro Yamada
Each way must be unlocked to make it effective. Signed-off-by: Masahiro Yamada --- arch/arm/mach-uniphier/cache_uniphier.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/mach-uniphier/cache_uniphier.c b/arch/arm/mach-uniphier/cache_uniphier.c

Re: [U-Boot] x86: Bay Trail support with W83627DHG

2016-01-16 Thread Stefan Roese
Hi Bin, On 16.01.2016 15:08, Bin Meng wrote: On Fri, Jan 15, 2016 at 10:37 PM, Stefan Roese wrote: Hi Simon, Hi Bin! I'm currently busy with porting U-Boot to a Bay Trail board. Equipped with an Intel Atom E3845 and additionally the Nuvoton / Winbond W83627DHG Super IO chip.

[U-Boot] [PATCH] ARM: uniphier: move UMC register macros to umc-regs.h

2016-01-16 Thread Masahiro Yamada
The umc-proxstream2.c defiens the same macros as in umc-regs.h. Signed-off-by: Masahiro Yamada --- arch/arm/mach-uniphier/dram/umc-proxstream2.c | 49 +-- arch/arm/mach-uniphier/dram/umc-regs.h| 26 ++ 2 files changed,

[U-Boot] [PATCH v7 0/7] add support for atheros ath79 based SOCs

2016-01-16 Thread Wills Wang
These series of patch add support for atheros ath79 based SOCs in u-boot, at the present moment it's just available for ar933x and qca953x chip. This patch serises is based on mips_io_v4 branch on u-boot-mips repository [1] and tested on ar933x and qca953x board. [1]