Re: [U-Boot] [PATCH 24/25] tpm: Add a 'tpm info' command

2015-08-11 Thread christophe.ricard
Hi Simon, Acked-by: Christophe Ricard christophe-h.ric...@st.com Best Regards Christophe On 11/08/2015 16:48, Simon Glass wrote: Add a command to display basic information about a TPM such as the model and open/close state. This can be useful for debugging. Signed-off-by: Simon Glass

Re: [U-Boot] [PATCH 19/25] dm: tpm: sandbox: Convert TPM driver to driver model

2015-08-11 Thread christophe.ricard
Acked-by: Christophe Ricard christophe-h.ric...@st.com On 11/08/2015 16:48, Simon Glass wrote: Convert the sandbox TPM driver to use driver model. Add it to the device tree so that it can be found on start-up. Signed-off-by: Simon Glass s...@chromium.org --- arch/sandbox/dts/sandbox.dts |

Re: [U-Boot] [PATCH 18/25] tpm: Report tpm errors on the command line

2015-08-11 Thread christophe.ricard
Hi Simon, Good one ! Acked-by: Christophe Ricard christophe-h.ric...@st.com Best Regards Christophe On 11/08/2015 16:48, Simon Glass wrote: When a 'tpm' command fails, we set the return code but give no indication of failure. This can be confusing. Add an error message when any tpm command

Re: [U-Boot] [PATCH 14/25] tpm: tpm_tis_i2c: Tidy up delays

2015-08-11 Thread christophe.ricard
Hi Simon, Acked-by: Christophe Ricard christophe-h.ric...@st.com Best Regards Christophe On 11/08/2015 16:48, Simon Glass wrote: Use a _US suffix for microseconds and a _MS suffic for milliseconds. Move all timeouts and delays into one place. Use mdelay() instead of udelay() where

Re: [U-Boot] [PATCH 13/25] tpm: tpm_tis_i2c: Use a consistent tpm_tis_i2c_ prefix

2015-08-11 Thread christophe.ricard
Hi Simon, Acked-by: Christophe Ricard christophe-h.ric...@st.com Best Regards Christophe On 11/08/2015 16:48, Simon Glass wrote: Use the same prefix on each function for consistency. Signed-off-by: Simon Glass s...@chromium.org --- drivers/tpm/tpm_tis_i2c.c | 113

Re: [U-Boot] [PATCH 02/25] tpm: Drop two unused options

2015-08-11 Thread christophe.ricard
Hi Simon, I am ok with this one. I proposed about the same changed in here: http://lists.denx.de/pipermail/u-boot/2015-August/222598.html Acked-by: Christophe Ricard christophe-h.ric...@st.com Best Regards Christophe On 11/08/2015 16:47, Simon Glass wrote: The address of the I2C TPM is now

Re: [U-Boot] [PATCH 04/25] tpm: Convert board config TPM options to Kconfig

2015-08-11 Thread christophe.ricard
Hi Simon, Acked-by: Christophe Ricard christophe-h.ric...@st.com Best Regards Christophe On 11/08/2015 16:47, Simon Glass wrote: Convert all TPM options to Kconfig and tidy up. Signed-off-by: Simon Glass s...@chromium.org --- configs/chromebook_link_defconfig | 2 ++

Re: [U-Boot] [PATCH 12/25] tpm: tpm_tis_i2c: Simplify init code

2015-08-11 Thread christophe.ricard
Hi Simon, Nothing much to say on tpm_tis_i2c, however this could be even more generic if providing init ops to be specified by TPM driver developers. For example: +struct dm_tpm_ops { + int (*init)(struct udevice *); + int (*open)(struct udevice *); + int (*close)(struct

Re: [U-Boot] [PATCH 09/25] tpm: tpm_tis_i2c: Merge struct tpm_dev into tpm_chip

2015-08-11 Thread christophe.ricard
Hi Simon, As per my delivery tentative, don't you think driver specific data could be stored in a void *priv field in struct tpm_vendor_specific ? This how we manage such information in Linux drivers. Please have a look in tpm_private.h changes:

Re: [U-Boot] [PATCH 07/25] tpm: tpm_tis_i2c: Drop unnecessary methods

2015-08-11 Thread christophe.ricard
Hi Simon, As per my comment on patch 6, i would disagree as well on this one. It tpm_vendor_specific structure is convenient for ST33ZP24 for example. Best Regards Christophe On 11/08/2015 16:47, Simon Glass wrote: The function methods in struct tpm_vendor_specific just call local functions.

Re: [U-Boot] [PATCH 10/25] tpm: tpm_tis_i2c: Merge struct tpm into tpm_chip

2015-08-11 Thread christophe.ricard
Hi Simon, I almost agree with this one. Except that here tis_init, tis_open... are already merged into tpm_tis_i2c... Best Regards Christophe On 11/08/2015 16:48, Simon Glass wrote: There are too many structures storing the same sort of information. Move the fields from struct tpm into

Re: [U-Boot] Pull request, u-boot-tegra/master

2015-08-11 Thread Tom Warren
Thanks! -Original Message- From: Tom Rini [mailto:tr...@konsulko.com] Sent: Tuesday, August 11, 2015 11:04 AM To: Tom Warren Cc: u-boot@lists.denx.de; Stephen Warren; Alex Courbot; 'tomcwarren3...@gmail.com' Subject: Re: Pull request, u-boot-tegra/master * PGP Signed by an

Re: [U-Boot] [PATCH 3/3 V2] dm9000: rework dm9000 to support multiple devices

2015-08-11 Thread Andrew Ruder
On 08/11/2015 12:58 PM, Joe Hershberger wrote: What ever became of this series? I failed to ever email it in... I have a redone series, let me clean it up and give it a quick test and make sure it works on latest... Needed to rebase on about 10 months of upstream.

Re: [U-Boot] [ELCE 2015][Presentation] Proposal for U-boot Mini Summit presentation

2015-08-11 Thread Lukasz Majewski
Hi Stefan, Hi Lukasz, On 11.08.2015 10:45, Lukasz Majewski wrote: Please assess if the following presentation is suitable for the 2015 U-boot Mini Summit held at ELCE2015. __Title__ Automated Test System - build blocks __Abstract__ Assuring software quality and avoiding

Re: [U-Boot] [PATCH RESEND 0/7] spi: cadence_qspi: optimize fix indirect rd-writes

2015-08-11 Thread vikasm
Hi Stefan, On 07/23/2015 05:22 AM, Stefan Roese wrote: Hi Vikas, On 16.07.2015 08:46, Stefan Roese wrote: In addition can you please check the patch causing this instability on socfpga. I don't like to bug you but to close this patchset, this info tests mentioned above seems to be

Re: [U-Boot] [PATCH 25/25] tegra: nyan: Enable TPM command and driver

2015-08-11 Thread christophe.ricard
Hi Simon, Acked-by: Christophe Ricard christophe-h.ric...@st.com Best Regards Christophe On 11/08/2015 16:48, Simon Glass wrote: The TPM is listed in the device tree. Enable the driver and 'tpm' command so that it can be used. Signed-off-by: Simon Glass s...@chromium.org ---

Re: [U-Boot] [PATCH 22/25] dm: tpm: Convert I2C driver to driver model

2015-08-11 Thread christophe.ricard
Hi Simon, I would be ok if we can get to a common agreement on my previous comments. Best Regards Christophe On 11/08/2015 16:48, Simon Glass wrote: Convert the tpm_tis_i2c driver to use driver model and update boards which use it. Signed-off-by: Simon Glass s...@chromium.org ---

Re: [U-Boot] [PATCH 01/25] tpm: Remove old pre-driver-model I2C code

2015-08-11 Thread christophe.ricard
Hi Simon, In here you are removing usage of i2c_read/i2c_write for dm_i2c_read/dm_i2c_write. This require boards to support DM_I2C which is not the case with example beagleboard or boards using omap. Will you drop all drivers not supporting DM in the future ? Other than that i have proposed

Re: [U-Boot] [PATCH 23/25] dm: tpm: Convert LPC driver to driver model

2015-08-11 Thread christophe.ricard
Hi Simon, Ok for now, except with the xfer handler. Best Regards Christophe On 11/08/2015 16:48, Simon Glass wrote: Convert the tpm_tis_lpc driver to use driver model and update boards which use it. Signed-off-by: Simon Glass s...@chromium.org --- configs/chromebook_link_defconfig | 2

Re: [U-Boot] [PATCH 06/25] tpm: Move the I2C TPM code into one file

2015-08-11 Thread christophe.ricard
Hi Simon, I would basically disagree with this one. The code from tpm.c you are merging into tpm_tis_i2c may not only be used by tpm_tis_i2c as it is using data from TPM standards (e.g: Trusted computing group) that should be used by other TPM drivers. You can find in chapter 17 how the table

Re: [U-Boot] [PATCH 05/25] tpm: Convert drivers to use SPDX

2015-08-11 Thread christophe.ricard
Hi Simon, Just to mention i have seen this one as well. Acked-by: Christophe Ricard christophe-h.ric...@st.com Best Regards Christophe On 11/08/2015 16:47, Simon Glass wrote: Add an SPDX header to two drivers that don't have it. Signed-off-by: Simon Glass s...@chromium.org ---

Re: [U-Boot] [PATCH 20/25] tpm: Check that parse_byte_string() has data to parse

2015-08-11 Thread christophe.ricard
Hi Simon, Acked-by: Christophe Ricard christophe-h.ric...@st.com Best Regards Christophe On 11/08/2015 16:48, Simon Glass wrote: Rather then crashing when there is no data, print an error. Signed-off-by: Simon Glass s...@chromium.org --- common/cmd_tpm.c | 2 ++ 1 file changed, 2

Re: [U-Boot] [PATCH 15/25] dm: tpm: Add a uclass for Trusted Platform Modules

2015-08-11 Thread christophe.ricard
Hi Simon, I think we are pretty inline for the uclass. Please find below some few remarks. On 11/08/2015 16:48, Simon Glass wrote: Add a new uclass for TPMs which uses almost the same TIS (TPM Interface Specification) as is currently implemented. Since init() is handled by the normal driver

Re: [U-Boot] [PATCH 16/25] dm: tpm: Convert the TPM command and library to driver model

2015-08-11 Thread christophe.ricard
Hi Simon On 11/08/2015 16:48, Simon Glass wrote: Add driver model support to the TPM command and the TPM library. Both support only a single TPM at present. Signed-off-by: Simon Glass s...@chromium.org --- common/cmd_tpm.c | 26 ++ include/tpm.h| 2 +-

Re: [U-Boot] [PATCH 03/25] tpm: Add Kconfig options for TPMs

2015-08-11 Thread christophe.ricard
Hi Simon, On 11/08/2015 16:47, Simon Glass wrote: Add new Kconfig options for TPMs in preparation for moving boards to use Kconfig for TPM configuration. Signed-off-by: Simon Glass s...@chromium.org --- common/Kconfig | 12 drivers/tpm/Kconfig | 52

Re: [U-Boot] [PATCH 11/25] tpm: tpm_tis_i2c: Move definitions into the header file

2015-08-11 Thread christophe.ricard
Hi Simon, As per my previous comment, this file may be kept common to may other drivers (lpc or from ST...). I would renamed tpm_tis_i2c.h into something more generic like tpm.h. Below please find data specific to Infineon (tpm_tis_i2c) driver. On 11/08/2015 16:48, Simon Glass wrote: Some

Re: [U-Boot] [PATCH 08/25] tpm: tpm_tis_i2c: Drop struct tpm_vendor_specific

2015-08-11 Thread christophe.ricard
Hi Simon, Locality concept are valid almost on any chip assuming if no locality are supported the default one is locality 0. I would leave this change open for discussion. However, as per patch 06 07, i would keep req_complete_mask, req_complete_val, req_canceled, timeout_a, timeout_b,

Re: [U-Boot] [PATCH 00/25] dm: Convert TPM drivers to driver model

2015-08-11 Thread christophe.ricard
Hi Simon, I pretty much like the move to driver model for TPM. However, i have some few remarks: The current i2c driver stick to Infineon TPMs and will not support any other vendors like ST(in my case). The main reason for this is that there is no transport protocol over I2C specification

[U-Boot] [PATCH v3 02/15] kbuild: add a makefile macro useful with per-image config options

2015-08-11 Thread Masahiro Yamada
Commit e02ee2548afe (kconfig: switch to single .config configuration) made the configuration itself pretty simple, instead, we lost the way to systematically enable/disable config options for each image independently. Our current strategy is, put entries into Makefile.spl for options we need

[U-Boot] [PATCH v3 01/15] kbuild: fixdep: optimize code slightly

2015-08-11 Thread Masahiro Yamada
If the target string matches CONFIG_, move the pointer p forward. This saves several 7-chars adjustments. Signed-off-by: Masahiro Yamada yamada.masah...@socionext.com Reviewed-by: Tom Rini tr...@konsulko.com Reviewed-by: Simon Glass s...@chromium.org --- Changes in v3: None Changes in v2: None

[U-Boot] [PATCH v3 06/15] clk: rename CONFIG_SPL_CLK_SUPPORT to CONFIG_SPL_CLK

2015-08-11 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada yamada.masah...@socionext.com Reviewed-by: Tom Rini tr...@konsulko.com Reviewed-by: Stefano Babic sba...@denx.de Reviewed-by: Simon Glass s...@chromium.org --- Changes in v3: None Changes in v2: None drivers/Makefile| 2 +- drivers/clk/Kconfig | 2 +- 2 files

[U-Boot] [PATCH v3 03/15] linux/kconfig.h: add CPP macros useful for per-image config options

2015-08-11 Thread Masahiro Yamada
The previous commit introduced a useful macro used in makefiles, in order to reference to different variables (CONFIG_... or CONFIG_SPL_...) depending on the build context. Per-image config option control is a PITA in C sources, too. Here are some macros useful in C/CPP expressions.

[U-Boot] [PATCH v3 09/15] ram: unify obj-$(CONFIG_RAM) and obj-$(CONFIG_SPL_RAM) entries

2015-08-11 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada yamada.masah...@socionext.com Reviewed-by: Tom Rini tr...@konsulko.com Reviewed-by: Simon Glass s...@chromium.org --- Changes in v3: None Changes in v2: None drivers/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/Makefile

[U-Boot] [PATCH v3 05/15] dm: unify obj-$(CONFIG_DM) and obj-$(CONFIG_SPL_DM) entries

2015-08-11 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada yamada.masah...@socionext.com Reviewed-by: Tom Rini tr...@konsulko.com Reviewed-by: Simon Glass s...@chromium.org --- Changes in v3: None Changes in v2: None drivers/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/Makefile

[U-Boot] [PATCH v3 04/15] spl: move SPL driver entries to driver/Makefile

2015-08-11 Thread Masahiro Yamada
Just preparing for upcoming cleaning. The board-specific linker script board/vpac270/u-boot-spl.lds has been touched to avoid build error. It does not change the size of spl/u-boot-spl.bin for this board, so it should be OK. Signed-off-by: Masahiro Yamada yamada.masah...@socionext.com

[U-Boot] [PATCH v3 08/15] ram: rename CONFIG_SPL_RAM_SUPPORT to CONFIG_SPL_RAM

2015-08-11 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada yamada.masah...@socionext.com Reviewed-by: Tom Rini tr...@konsulko.com Reviewed-by: Simon Glass s...@chromium.org --- Changes in v3: None Changes in v2: None drivers/Makefile| 2 +- drivers/ram/Kconfig | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)

[U-Boot] [PATCH v3 11/15] led: unify obj-$(CONFIG_LED) and obj-$(CONFIG_SPL_LED) entries

2015-08-11 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada yamada.masah...@socionext.com Reviewed-by: Tom Rini tr...@konsulko.com Reviewed-by: Stefano Babic sba...@denx.de Reviewed-by: Simon Glass s...@chromium.org --- Changes in v3: None Changes in v2: None drivers/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2

[U-Boot] [PATCH v3 13/15] fdtdec: fix OF_CONTROL switch

2015-08-11 Thread Masahiro Yamada
There is no case where defined(SPL_DISABLE_OF_CONTROL) is true. Signed-off-by: Masahiro Yamada yamada.masah...@socionext.com Reviewed-by: Tom Rini tr...@konsulko.com Reviewed-by: Simon Glass s...@chromium.org --- Changes in v3: None Changes in v2: None include/fdtdec.h | 2 +- 1 file changed,

[U-Boot] [PATCH v3 12/15] dm: drop CONFIG_DM_DEVICE_REMOVE from uncmd list

2015-08-11 Thread Masahiro Yamada
We do not want to compile the DM remove code for SPL. Currently, we undef it in include/config_uncmd_spl.h (for C files) and in scripts/Makefile.uncmd_spl (for Makefiles). This is really ugly. This commit demonstrates how we can deprecate those two files. Use $(SPL_) for the entry in the

[U-Boot] [PATCH v3 07/15] clk: unify obj-$(CONFIG_CLK) and obj-$(CONFIG_SPL_CLK) entries

2015-08-11 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada yamada.masah...@socionext.com Reviewed-by: Tom Rini tr...@konsulko.com Reviewed-by: Stefano Babic sba...@denx.de Reviewed-by: Simon Glass s...@chromium.org --- Changes in v3: None Changes in v2: None drivers/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2

[U-Boot] [PATCH v3 10/15] led: rename CONFIG_SPL_LED_SUPPORT to CONFIG_SPL_LED

2015-08-11 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada yamada.masah...@socionext.com Reviewed-by: Tom Rini tr...@konsulko.com Reviewed-by: Simon Glass s...@chromium.org --- Changes in v3: None Changes in v2: None drivers/Makefile| 2 +- drivers/led/Kconfig | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)

Re: [U-Boot] [PATCH v3 14/15] of: flip CONFIG_SPL_DISABLE_OF_CONTROL into CONFIG_SPL_OF_CONTROL

2015-08-11 Thread Marek Vasut
On Wednesday, August 12, 2015 at 12:31:54 AM, Masahiro Yamada wrote: Hi! As we discussed a couple of times, negative CONFIG options make our life difficult; CONFIG_SYS_NO_FLASH, CONFIG_SYS_DCACHE_OFF, ... and here is another one. Now, there are three boards enabling OF_CONTROL on SPL: -

[U-Boot] [PATCH v3 15/15] of: clean up OF_CONTROL ifdef conditionals

2015-08-11 Thread Masahiro Yamada
We have flipped CONFIG_SPL_DISABLE_OF_CONTROL. We have cleansing devices, $(SPL_) and CONFIG_IS_ENABLED(), so we are ready to clear away the ugly logic in include/fdtdec.h: #ifdef CONFIG_OF_CONTROL # if defined(CONFIG_SPL_BUILD) !defined(SPL_OF_CONTROL) # define OF_CONTROL 0 # else #

[U-Boot] [PATCH v3 14/15] of: flip CONFIG_SPL_DISABLE_OF_CONTROL into CONFIG_SPL_OF_CONTROL

2015-08-11 Thread Masahiro Yamada
As we discussed a couple of times, negative CONFIG options make our life difficult; CONFIG_SYS_NO_FLASH, CONFIG_SYS_DCACHE_OFF, ... and here is another one. Now, there are three boards enabling OF_CONTROL on SPL: - socfpga_arria5_defconfig - socfpga_cyclone5_defconfig -

[U-Boot] [PATCH v3 00/15] Add macros to ease our life with independent CONFIGs between U-Boot and SPL

2015-08-11 Thread Masahiro Yamada
Refer to Simon's question, too: http://lists.denx.de/pipermail/u-boot/2015-July/219598.html Since U-boot introduced SPL (not since Kconfig), enabling features for U-boot and SPL independently is always a PITA. - decide if each feature should be supported for SPL or not - Add

Re: [U-Boot] [PATCH 2/5] sun6i: clock: Add support for the mipi pll

2015-08-11 Thread Ian Campbell
On Sat, 2015-08-08 at 16:25 +0200, Hans de Goede wrote: Add support for the mipi pll, this is necessary for getting higher dotclocks with lcd panels. Signed-off-by: Hans de Goede hdego...@redhat.com Acked-by: Ian Campbell i...@hellion.org.uk ___

Re: [U-Boot] [PATCH 3/5] sun6i: display: Add support for using the mipi pll as lcd clock source

2015-08-11 Thread Ian Campbell
On Sat, 2015-08-08 at 16:25 +0200, Hans de Goede wrote: Add support for using the mipi pll as lcd clock source, this is necessary for getting higher dotclocks with lcd panels. Signed-off-by: Hans de Goede hdego...@redhat.com Acked-by: Ian Campbell i...@hellion.org.uk

[U-Boot] [PATCH 1/3] arm, imx6: aristainetos board updates

2015-08-11 Thread Heiko Schocher
some small updates for the aristainetos boards: - fix display timings for the aristainetos board - fix pinmux for the aristainetos board - fix pinmux for the aristainetos2 board - fix default environment Signed-off-by: Heiko Schocher h...@denx.de --- board/aristainetos/aristainetos-v2.c | 1

Re: [U-Boot] [PATCH 2/5] sun6i: clock: Add support for the mipi pll

2015-08-11 Thread Chen-Yu Tsai
On Sat, Aug 8, 2015 at 10:25 PM, Hans de Goede hdego...@redhat.com wrote: Add support for the mipi pll, this is necessary for getting higher dotclocks with lcd panels. Do you plan on adding this to the kernel (both the clock driver and reference in the simplefb node) as well? ChenYu

Re: [U-Boot] [PATCH 2/5] sun6i: clock: Add support for the mipi pll

2015-08-11 Thread Hans de Goede
Hi, On 11-08-15 09:57, Chen-Yu Tsai wrote: On Sat, Aug 8, 2015 at 10:25 PM, Hans de Goede hdego...@redhat.com wrote: Add support for the mipi pll, this is necessary for getting higher dotclocks with lcd panels. Do you plan on adding this to the kernel (both the clock driver and reference in

[U-Boot] [PATCH 0/3] arm, imx6: aristainetos board updates

2015-08-11 Thread Heiko Schocher
This patchserie updates the aristainetos board: - some small fixes for the aristainetos and aristainetos2 board - there is a new hardware version for the aristaineos2 board, called 2b, add it - as the display driver is on the 2b version on another spi chipselect, make this configurable in

[U-Boot] [PATCH 2/3] arm, imx6: add aristainetos 2b board version

2015-08-11 Thread Heiko Schocher
there is a 2b board version of the aristainetos2 board. Differences to the v2: - spi cs for the nor flash and display controller changed - some pinmux changes - LED gpio settings changed Signed-off-by: Heiko Schocher h...@denx.de --- arch/arm/Kconfig | 4 +++

Re: [U-Boot] [PATCH 2/2] sunxi: gpio: Add support for the gpio banks which are part of the R-io cluster

2015-08-11 Thread Ian Campbell
On Thu, 2015-08-06 at 20:13 +0200, Hans de Goede wrote: sun6i and later have a couple of io-blocks which are shared between the main CPU core and the R cpu which is small embedded cpu which can be active while the main system is suspended. These gpio banks sit at a different mmio address

Re: [U-Boot] [PATCH 3/6] ARM: AM43xx: Add support for disabling clocks in uboot

2015-08-11 Thread Lukasz Majewski
Hi Kishon, Add do_disable_clocks() to disable clock domains and module clocks. These clocks are enabled using do_enable_clocks(). Please correct the message subject. As fair as I can tell you are changing clocks on am33xx SoC, not AM43xx. Cc: Roger Quadros rog...@ti.com Cc: Tero Kristo

Re: [U-Boot] [PATCH 1/5] sunxi: clock: Add clock_get_pll3() helper function

2015-08-11 Thread Ian Campbell
On Sat, 2015-08-08 at 16:25 +0200, Hans de Goede wrote: Add a helper function to get the pll3 clock rate. Signed-off-by: Hans de Goede hdego...@redhat.com Acked-by: Ian Campbell i...@hellion.org.uk ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [PATCH v2 1/4] ARM: at91: add cpu.h

2015-08-11 Thread Heiko Schocher
Hello Alexandre, Am 11.08.2015 um 11:03 schrieb Alexandre Belloni: Hi, On 10/08/2015 at 08:14:24 +0200, Heiko Schocher wrote : add cpu.h from linux: 7538ec7d1e5: ARM: at91: remove no-MMU at91x40 support so it is easier to port linux code, which is based on it. Signed-off-by: Heiko Schocher

[U-Boot] [PATCH 3/3] video, lg4573: make spi bus and cs configurable

2015-08-11 Thread Heiko Schocher
make the spi bus and the spi chipselect configurable for the lg4573 driver. Use it on the aristainetos boards. Signed-off-by: Heiko Schocher h...@denx.de --- drivers/video/lg4573.c | 3 ++- include/configs/aristainetos2.h | 2 ++ include/configs/aristainetos2b.h | 2 ++ 3 files

Re: [U-Boot] [PATCH 3/3] usb: gadget: ether: populate _reset_ callback

2015-08-11 Thread Lukasz Majewski
Hi Marek, On Monday, August 10, 2015 at 01:15:51 PM, Kishon Vijay Abraham I wrote: populate _reset_ callback to the USB ethernet gadget since UDC core expects every gadget driver to have the reset callback. This shouldn't be needed once the ethernet gadget driver is adapted to use the

Re: [U-Boot] [PATCH] arm: mxs: Fix mkimage invocation

2015-08-11 Thread Stefano Babic
On 11/08/2015 05:01, Simon Glass wrote: Hi Marek, On 10 August 2015 at 20:56, Marek Vasut ma...@denx.de wrote: On Tuesday, August 11, 2015 at 04:47:33 AM, Simon Glass wrote: Hi Marek, Hi Simon, Reviewed-by: Simon Glass s...@chromium.org Sorry for the breakage. I had an weird issue with

Re: [U-Boot] [PATCH 1/2] sunxi: display: Enable composite video support on more boards

2015-08-11 Thread Ian Campbell
On Thu, 2015-08-06 at 13:26 +0200, Hans de Goede wrote: Enable composite video support on all boards which have a composite video out connector (either cinch or jack). Signed-off-by: Hans de Goede hdego...@redhat.com Acked-by: Ian Campbell i...@hellion.org.uk

Re: [U-Boot] [PATCH 2/2] sunxi: display: Disable HDMI support on A13 based tablets

2015-08-11 Thread Ian Campbell
On Thu, 2015-08-06 at 13:26 +0200, Hans de Goede wrote: The sun5i die has a hdmi encoder onboard, but the A13 package does not route this to the outside, disable hdmi support on A13 based boards. Signed-off-by: Hans de Goede hdego...@redhat.com Acked-by: Ian Campbell i...@hellion.org.uk

Re: [U-Boot] [PATCH 1/2] sunxi: Fix gmac not working on the Colombus board

2015-08-11 Thread Ian Campbell
On Thu, 2015-08-06 at 20:13 +0200, Hans de Goede wrote: The phy is using a RGMII interface, which we need to specify in our board-config, and the dts needs a gmac section (the dts changes have also been submitted to the kernel). Signed-off-by: Hans de Goede hdego...@redhat.com Acked-by: Ian

Re: [U-Boot] [PATCH 0/3] usb: host/gadget: Miscellaneous fixes

2015-08-11 Thread Lukasz Majewski
Hi Kishon, This patch series is split from [1] to contain only the usb host/gadget fixes. [1] - http://permalink.gmane.org/gmane.comp.boot-loaders.u-boot/229188 Kishon Vijay Abraham I (3): usb: gadget: ether: Perform board initialization from ethernet gadget driver usb: host:

Re: [U-Boot] [PATCH v2 2/5] Align global_data to a 16-byte boundary

2015-08-11 Thread Bin Meng
On Tue, Aug 11, 2015 at 10:44 AM, Simon Glass s...@chromium.org wrote: Some archs like to have larger alignment for their global data. Use 16 bytes which suits all current archs. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v2: - Correct logic to round down instead of up

Re: [U-Boot] [PATCH v2 3/5] Allow arch-specific setting of global_data in board_init_f_mem()

2015-08-11 Thread Bin Meng
On Tue, Aug 11, 2015 at 10:44 AM, Simon Glass s...@chromium.org wrote: At present we have a simple assignment to gd. With some archs this is implemented as a register or through some other means; a simple assignment does not suit in all cases. Change this to a function and add documentation

Re: [U-Boot] [PATCH v2 5/5] x86: Switch to using generic global_data setup

2015-08-11 Thread Bin Meng
On Tue, Aug 11, 2015 at 10:44 AM, Simon Glass s...@chromium.org wrote: There is quite a bit of assembler code that can be removed if we use the generic global_data setup. Less arch-specific code makes it easier to add new features and maintain the start-up code. Drop the unneeded code and

[U-Boot] [PATCH v2] powerpc/fsl: support low power boot for e500 and later

2015-08-11 Thread Dongsheng Wang
From: Wang Dongsheng dongsheng.w...@freescale.com low power boot means u-boot will put non-boot cpus into a low power status. Non-boot cpus don't need any more spin wait. e500, e500v2 will going to DOZE status. e500mc, e5500, e6500 will going to PW10 state. e500/e500v2 will be kicked up by

Re: [U-Boot] [PATCH 4/5] video: Add support for the ANX9804 parallel lcd to dp bridge chip

2015-08-11 Thread Ian Campbell
On Sat, 2015-08-08 at 16:25 +0200, Hans de Goede wrote: Add support for the ANX9804 bridge chip, which can take pixel data coming from a parallel LCD interface and translate it on the flight into a DP I think you meant on the fly (in the Kconfig too). The driver itself looks pretty straight

Re: [U-Boot] [PATCH 5/5] sunxi: Display: Add support for eDP panels connected via an anx9804 bridge

2015-08-11 Thread Ian Campbell
On Sat, 2015-08-08 at 16:25 +0200, Hans de Goede wrote: Add support for 4 1.62G lane eDP panels connected via an anx9804 bridge, such as found on the Colombus devkit. While at it also fix the wrong indentation of the SSD2828 Kconfig help text in board/sunxi/Kconfig. Signed-off-by:

Re: [U-Boot] [PATCH v2 1/4] ARM: at91: add cpu.h

2015-08-11 Thread Alexandre Belloni
Hi, On 10/08/2015 at 08:14:24 +0200, Heiko Schocher wrote : add cpu.h from linux: 7538ec7d1e5: ARM: at91: remove no-MMU at91x40 support so it is easier to port linux code, which is based on it. Signed-off-by: Heiko Schocher h...@denx.de --- Changes in v2: None

Re: [U-Boot] [PATCH 3/6] ARM: AM43xx: Add support for disabling clocks in uboot

2015-08-11 Thread Kishon Vijay Abraham I
Hi, On Tuesday 11 August 2015 12:31 PM, Lukasz Majewski wrote: Hi Kishon, Add do_disable_clocks() to disable clock domains and module clocks. These clocks are enabled using do_enable_clocks(). Please correct the message subject. As fair as I can tell you are changing clocks on am33xx

Re: [U-Boot] [PATCH] dfu: Delete superfluous initialization of the dfu_buf_size static variable

2015-08-11 Thread Przemyslaw Marczak
Hello Lukasz, On 07/08/2015 11:43 PM, Lukasz Majewski wrote: After extension of the dfu_get_buf() to also setup (implicitly) the dfu_buf_size variable it is not needed to set dfu_buf_size to CONFIG_SYS_DFU_DATA_BUF_SIZE. This variable is set in the dfu_get_buf() by not only considering

Re: [U-Boot] [PATCH 2/2] sunxi: Add support for the Auxtek-T003 HDMI stick

2015-08-11 Thread Ian Campbell
On Thu, 2015-08-06 at 12:16 +0200, Hans de Goede wrote: The Auxtek-T003 HDMI stick is an A10s based HDMI stick with USB wifi, and composite video out support. Signed-off-by: Hans de Goede hdego...@redhat.com --- arch/arm/dts/Makefile | 1 +

Re: [U-Boot] [PATCH 1/2] sunxi: dts: Sync with kernel

2015-08-11 Thread Ian Campbell
On Thu, 2015-08-06 at 12:16 +0200, Hans de Goede wrote: Sync the sunxi dts files with the changes queued up for kernel-4.3 in mripard's sunxi/dt-for-4.3 branch. Signed-off-by: Hans de Goede hdego...@redhat.com without reading since it's just a sync: Acked-by: Ian Campbell i...@hellion.org.uk

Re: [U-Boot] [PATCH] sunxi: display: Fix composite video out on sun5i

2015-08-11 Thread Ian Campbell
On Thu, 2015-08-06 at 12:13 +0200, Hans de Goede wrote: The tv-encoder on sun5i is slightly different compared to the one on sun4i/sun7i. Signed-off-by: Hans de Goede hdego...@redhat.com Acked-by: Ian Campbell i...@hellion.org.uk ___ U-Boot mailing

[U-Boot] [ELCE 2015][Presentation] Proposal for U-boot Mini Summit presentation

2015-08-11 Thread Lukasz Majewski
Dear All, Please assess if the following presentation is suitable for the 2015 U-boot Mini Summit held at ELCE2015. __Title__ Automated Test System - build blocks __Abstract__ Assuring software quality and avoiding regressions is not a trivial task. Instead of relying solely on build tests,

Re: [U-Boot] [PATCH] imx: mx6ul_14x14_evk discard redefined CONFIG_MX6

2015-08-11 Thread Stefano Babic
On 06/08/2015 07:42, Peng Fan wrote: Discard CONFIG_MX6 in mx6ul_14x14_evk.h, since it is already defined in mx6_common.h. Tested on mx6ul_14x14_evk board. Signed-off-by: Peng Fan peng@freescale.com Cc: Fabio Estevam fabio.este...@freescale.com Cc: Stefano Babic sba...@denx.de ---

Re: [U-Boot] [PATCH 3/4] imx: mxs: reimplement get_cpu_rev

2015-08-11 Thread Stefano Babic
On 10/08/2015 14:53, Peng Fan wrote: Rewrite get_cpu_rev, from static const char *get_cpu_rev(void) to u32 get_cpu_rev(void). To align with get_cpu_rev of other i.MXes. Also write get_imx_type to replace get_cpu_type, since we have macro named get_cpu_type. Signed-off-by: Peng Fan

Re: [U-Boot] [PATCH 4/4] imx-common: consolidate macros and prototypes into sys_proto.h

2015-08-11 Thread Stefano Babic
On 10/08/2015 14:53, Peng Fan wrote: Move most macro definitions and prototypes into arch/arm/include/asm/imx-common/sys_proto.h to avoid duplicated function prototypes and marco definitions for different i.MX SoCs. This patch do not remove the sys_proto.h for different i.MX SoCs, because

Re: [U-Boot] [PATCH 1/4] imx: add cpu type for i.MX2 and i.MX3

2015-08-11 Thread Stefano Babic
On 10/08/2015 14:53, Peng Fan wrote: Add cpu types for i.MX2/3. Signed-off-by: Peng Fan peng@freescale.com Cc: Stefano Babic sba...@denx.de --- arch/arm/include/asm/arch-imx/cpu.h | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/include/asm/arch-imx/cpu.h

Re: [U-Boot] [PATCH 2/4] imx: mx31 use new formula for get_cpu_rev

2015-08-11 Thread Stefano Babic
On 10/08/2015 14:53, Peng Fan wrote: Use new formula for get_cpu_rev, since we need to use this formula to do runtime check for all i.MXes. Signed-off-by: Peng Fan peng@freescale.com Cc: Stefano Babic sba...@denx.de --- arch/arm/cpu/arm1136/mx31/generic.c| 2 +-

Re: [U-Boot] [PATCH 1/1] tools: mxsboot: calculate ECC block level dynamically

2015-08-11 Thread Stefano Babic
On 11/08/2015 13:44, Jörg Krause wrote: For pages of 2048 bytes the current setting of the ECC Error Correction Level is only true for an oob size of 64 bytes and wrong for all others. Instead of hard-coding every possible combination of page size and oob size use the dynamic calculation

Re: [U-Boot] [PATCH 1/1] tools: mxsboot: calculate ECC block level dynamically

2015-08-11 Thread Marek Vasut
On Tuesday, August 11, 2015 at 01:44:26 PM, Jörg Krause wrote: For pages of 2048 bytes the current setting of the ECC Error Correction Level is only true for an oob size of 64 bytes and wrong for all others. Instead of hard-coding every possible combination of page size and oob size use the

Re: [U-Boot] [PATCH v2 00/15] Add macros to ease our life with independent CONFIGs between U-Boot and SPL

2015-08-11 Thread Masahiro Yamada
2015-08-07 8:08 GMT+09:00 Scott Wood scottw...@freescale.com: On Mon, 2015-08-03 at 07:59 -0600, Simon Glass wrote: Hi, On 1 August 2015 at 07:14, Masahiro Yamada yamada.masah...@socionext.com wrote: I hope this series will make our life easier. I agree. This seems like a clever

[U-Boot] ARM: sunxi: Experiences NAND flash

2015-08-11 Thread Olliver Schinagl
Hello everybody, We are working with Boris and Roy's patch series on getting the NAND flash chip working on Olimex OLinuXino Lime2 boards. Initially, everything looks fine, but we noticed that occasionally (after power/cycle or power cut) ubi fails to mount the partition. It is not something

[U-Boot] regarding u-boot ethernet support for TFTP boot in Banana pi R1 (Lamobo R1)

2015-08-11 Thread Ramakrishnan Meenakshi Sundaram
Dear all, I've successfully compiled and running u-boot on the Bananapi R1 board using the instructions in http://linux-sunxi.org/Mainline_U-boot#Compile_U-Boot This board uses a *BCM 53125* ethernet chip 4+1 ports 10/100/1000 Ethernet RJ45 (BCM 53125), WLAN @802.11b/g/n (RTL8192CU) with 2x

Re: [U-Boot] [PATCH v2 5/9] dfu: tftp: update: Add dfu_write_from_mem_addr() function

2015-08-11 Thread Lukasz Majewski
Hi Simon, Hi Lukasz, On 25 July 2015 at 02:11, Lukasz Majewski l.majew...@majess.pl wrote: This function allows writing via DFU data stored from fixed buffer address (like e.g. loadaddr env variable). Such predefined buffers are used in the update_tftp() code. In fact this function

[U-Boot] question: where is the start label of u-boot 2015 07

2015-08-11 Thread 魏晓萌
Does anyone know the location of start label? i find that arch/arm/cpu/armXXX/start.S starts with a reset label. It spend me a lot of time to find where the start lable is. my u-boot version is 2015.07. ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [PATCH V5 2/2] sf: Turn SPI flash chip into 3-Byte address mode

2015-08-11 Thread Jagan Teki
On 11 August 2015 at 16:25, Zhiqiang Hou b48...@freescale.com wrote: From: Hou Zhiqiang b48...@freescale.com For more than 16MiB SPI flash chips, there are 3-Byte and 4-Byte address mode, and only the 3-Byte address mode is supported in U-Boot so far. So, reset the SPI flash to 3-Byte address

Re: [U-Boot] [PATCH] arm: mx6: Remove SPI support from WRU-IV baseboard

2015-08-11 Thread Stefano Babic
On 05/08/2015 10:50, Stefan Roese wrote: This patch removes the SPI support from the WRU-IV baseboard as its not used at all. Signed-off-by: Stefan Roese s...@denx.de Cc: Clemens Gruber clemens.gru...@pqgruber.com Cc: Markus Niebel markus.nie...@tq-group.com Cc: Stefano Babic

Re: [U-Boot] [PATCH v4] x86: baytrail: Configure FSP UPD from device tree

2015-08-11 Thread Andrew Bradford
Hi Simon, On 08/10 21:07, Simon Glass wrote: Hi Bin, On 10 August 2015 at 20:53, Bin Meng bmeng...@gmail.com wrote: Hi Andrew, On Mon, Aug 10, 2015 at 7:32 PM, Andrew Bradford and...@bradfordembedded.com wrote: Hi Bin, On 08/09 10:52, Bin Meng wrote: Hi Andrew, On Sun, Aug

Re: [U-Boot] [PATCH v3 01/11] dm: serial: Update binding for PL01x serial UART

2015-08-11 Thread Linus Walleij
On Fri, Aug 7, 2015 at 3:42 PM, Simon Glass s...@chromium.org wrote: This binding differs from that of Linux. Update it and change existing users. Signed-off-by: Simon Glass s...@chromium.org (...) doc/device-tree-bindings/serial/pl01x.txt | 55 --- So why does

Re: [U-Boot] [PATCH] udoo: Remove SPL fat support

2015-08-11 Thread Stefano Babic
On 05/08/2015 12:37, Peter Vicman wrote: Use dd'ed SPL and u-boot.img by default. Signed-off-by: Peter Vicman peter.vic...@gmail.com Cc: Fabio Estevam fabio.este...@freescale.com Cc: Stefano Babic sba...@denx.de --- include/configs/udoo.h | 2 +- 1 file changed, 1 insertion(+), 1

Re: [U-Boot] [V4 2/2] sf: Turn SPI flash into 3-Byte address mode on Micron chips

2015-08-11 Thread Hou Zhiqiang
-Original Message- From: Jagan Teki [mailto:jt...@openedev.com] Sent: 2015年8月11日 1:10 To: Hou Zhiqiang-B48286 Cc: u-boot@lists.denx.de; Sun York-R58495 Subject: Re: [U-Boot] [V4 2/2] sf: Turn SPI flash into 3-Byte address mode on Micron chips On 10 August 2015 at 08:28, Hou

Re: [U-Boot] [V4 1/2] sf: Add clear flag status register operation on Micron chips

2015-08-11 Thread Hou Zhiqiang
-Original Message- From: Jagan Teki [mailto:jt...@openedev.com] Sent: 2015年8月11日 1:06 To: Hou Zhiqiang-B48286 Cc: u-boot@lists.denx.de; Hu Mingkai-B21284 Subject: Re: [U-Boot] [V4 1/2] sf: Add clear flag status register operation on Micron chips On 23 July 2015 at 15:24,

[U-Boot] [PATCH 1/1] tools: mxsboot: calculate ECC block level dynamically

2015-08-11 Thread Jörg Krause
For pages of 2048 bytes the current setting of the ECC Error Correction Level is only true for an oob size of 64 bytes and wrong for all others. Instead of hard-coding every possible combination of page size and oob size use the dynamic calculation of the ECC strength introduced in commit

Re: [U-Boot] [PATCH V5 2/2] sf: Turn SPI flash chip into 3-Byte address mode

2015-08-11 Thread Hou Zhiqiang
-Original Message- From: Jagan Teki [mailto:jt...@openedev.com] Sent: 2015年8月11日 19:45 To: Hou Zhiqiang-B48286 Cc: u-boot@lists.denx.de; Siva Durga Prasad Paladugu; Sun York-R58495 Subject: Re: [U-Boot] [PATCH V5 2/2] sf: Turn SPI flash chip into 3-Byte address mode On 11

Re: [U-Boot] [PATCH v3 15/15] imx: mx6ul_14x14_evk add basic board support

2015-08-11 Thread Fabio Estevam
Hi Peng, On Mon, Aug 10, 2015 at 9:13 PM, Peng Fan b51...@freescale.com wrote: Are you using the micro sd slot for boot? Please do not use SD1, the big sd card slot. We only support sd2, the micro sd slot for boot. You can refer to the boot select switch. we have no chance to choose sd1 for

[U-Boot] [PATCH V5 2/2] sf: Turn SPI flash chip into 3-Byte address mode

2015-08-11 Thread Zhiqiang Hou
From: Hou Zhiqiang b48...@freescale.com For more than 16MiB SPI flash chips, there are 3-Byte and 4-Byte address mode, and only the 3-Byte address mode is supported in U-Boot so far. So, reset the SPI flash to 3-Byte address mode in probe to ensure the SPI flash work correctly, because it may has

[U-Boot] [PATCH V5 1/2] sf: Add clear flag status register operation on Micron chips

2015-08-11 Thread Zhiqiang Hou
From: Hou Zhiqiang b48...@freescale.com Add clear flag status register operation that was required by Micron SPI flash chips, which support FSR. And if an error bit of FSR have been set, it must be cleared by the clear FSR operation. Signed-off-by: Hou Zhiqiang b48...@freescale.com

  1   2   3   >