[U-Boot] [PATCH v3] x86: make LOAD_FROM_32_BIT visible for platforms

2017-02-05 Thread Andy Shevchenko
This option is useful not only for development, but for the platforms where U-Boot is run from custom ROM bootloader. For example, Intel Edison is that board. Make this option visible that platforms can select it if needed. Signed-off-by: Andy Shevchenko <andriy.shevche...@linux.intel.

Re: [U-Boot] [PATCH v1] x86: make LOAD_FROM_32_BIT visible for platforms

2017-01-22 Thread Andy Shevchenko
On Sat, Jan 21, 2017 at 10:07 PM, Andy Shevchenko <andriy.shevche...@linux.intel.com> wrote: > This option useful not only for development, but for the platforms where > U-Boot is run from custom ROM bootloader. For example, Intel Edison is > that board. > > Make this option v

[U-Boot] [PATCH v1] x86: make LOAD_FROM_32_BIT visible for platforms

2017-01-21 Thread Andy Shevchenko
This option useful not only for development, but for the platforms where U-Boot is run from custom ROM bootloader. For example, Intel Edison is that board. Make this option visible that platforms can select it if needed. Signed-off-by: Andy Shevchenko <andriy.shevche...@linux.intel.

[U-Boot] [PATCH v1] cmd: gpt: backup boot code before writing MBR

2017-01-30 Thread Andy Shevchenko
ed-off-by: Vincent Tinelli <vincent.tine...@intel.com> Signed-off-by: Brennan Ashton <b...@deako.com> Signed-off-by: Andy Shevchenko <andriy.shevche...@linux.intel.com> --- disk/part_efi.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/disk/part_efi.c b/disk/par

[U-Boot] [PATCH v3 1/2] mmc: pci: Add CONFIG_MMC_PCI

2017-02-20 Thread Andy Shevchenko
msung.com> Reviewed-by: Bin Meng <bmeng...@gmail.com> Signed-off-by: Felipe Balbi <felipe.ba...@linux.intel.com> Signed-off-by: Andy Shevchenko <andriy.shevche...@linux.intel.com> --- configs/bayleybay_defconfig | 1 + configs/conga-qeval20-qa3-e38

[U-Boot] [PATCH v3 2/2] mmc: tangier: Add Intel Tangier eMMC/SDHCI driver

2017-02-20 Thread Andy Shevchenko
driver, allows for SDHCI controller on Tangier SoC to work in U-Boot. Signed-off-by: Vincent Tinelli <vincent.tine...@intel.com> Signed-off-by: Felipe Balbi <felipe.ba...@linux.intel.com> Signed-off-by: Andy Shevchenko <andriy.shevche...@linux.intel.com> --- drivers/

Re: [U-Boot] [PATCH v2 2/2] mmc: tangier: Add Intel Tangier eMMC/SDHCI driver

2017-02-20 Thread Andy Shevchenko
On Sat, Feb 18, 2017 at 6:34 AM, Bin Meng <bmeng...@gmail.com> wrote: > Hi Andy, > > On Fri, Feb 17, 2017 at 9:02 PM, Andy Shevchenko > <andriy.shevche...@linux.intel.com> wrote: >> From: Felipe Balbi <felipe.ba...@linux.intel.com> >> >> This pa

[U-Boot] [PATCH v2 2/3] x86: zImage: add Intel MID platforms support

2017-02-17 Thread Andy Shevchenko
org> Signed-off-by: Vincent Tinelli <vincent.tine...@intel.com> Signed-off-by: Andy Shevchenko <andriy.shevche...@linux.intel.com> --- arch/x86/lib/zimage.c | 4 1 file changed, 4 insertions(+) diff --git a/arch/x86/lib/zimage.c b/arch/x86/lib/zimage.c index b6b0f2beb3..aafbeb

[U-Boot] [PATCH v2 1/3] x86: Introduce INTEL_MID quirk option

2017-02-17 Thread Andy Shevchenko
. Here we introduce specific quirk option for such cases. It is supposed to be selected by Intel MID platform boards, for example, Intel Edison. Reviewed-by: Simon Glass <s...@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevche...@linux.intel.com> --- arch/x86/Kconfig | 14 +

[U-Boot] [PATCH v2 3/3] x86: Intel MID platforms has no microcode update

2017-02-17 Thread Andy Shevchenko
There is no microcode update available for SoCs used on Intel MID platforms. Use conditional to bypass it. Reviewed-by: Simon Glass <s...@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevche...@linux.intel.com> --- arch/x86/cpu/mp_init.c | 2 +- 1 file changed, 1 ins

[U-Boot] [PATCH v1] serial: ns16550: Add fractional divider for Intel MID

2017-02-21 Thread Andy Shevchenko
divider correctly for Intel Edison platform. For backward compatibility we have to set initial DLAB value to 16 and speed to 115200 baud, where initial frequency is 29491200Hz, and XTAL frequency is 38.4MHz. Signed-off-by: Andy Shevchenko <andriy.shevche...@linux.intel.com> --- drivers/serial/K

Re: [U-Boot] [ANN] U-Boot v2017.03-rc2 released

2017-02-14 Thread Andy Shevchenko
On Tue, Feb 14, 2017 at 7:40 PM, Andy Shevchenko <andy.shevche...@gmail.com> wrote: > On Tue, Feb 14, 2017 at 7:33 PM, Simon Glass <s...@chromium.org> wrote: >> Hi Andy, >> >> On 14 February 2017 at 10:21, Andy Shevchenko <andy.shevche...@gmail.com> >>

[U-Boot] [PATCH v1] usb: gadget: f_dfu: write req->actual bytes

2017-02-10 Thread Andy Shevchenko
From: Felipe Balbi <felipe.ba...@linux.intel.com> If last packet is short, we shouldn't write req->length bytes to non-volatile media, we should write only what's available to us, which is held in req->actual. Signed-off-by: Felipe Balbi <felipe.ba...@linux.intel.com> S

Re: [U-Boot] [ANN] U-Boot v2017.03-rc2 released

2017-02-14 Thread Andy Shevchenko
On Tue, Feb 14, 2017 at 7:33 PM, Simon Glass <s...@chromium.org> wrote: > Hi Andy, > > On 14 February 2017 at 10:21, Andy Shevchenko <andy.shevche...@gmail.com> > wrote: >> >> On Tue, Feb 14, 2017 at 1:01 AM, Tom Rini <tr...@konsulko.com> wrote

Re: [U-Boot] [ANN] U-Boot v2017.03-rc2 released

2017-02-14 Thread Andy Shevchenko
inux kernel (v3.10.98 based) doesn't print anything (looks like internal crash in U-Boot), on the sequential we have corrupted media, so, board is basically bricked. I dunno how to debug this since Tangier/Edison support is not (yet) in U-Boot upstream. Any hints? -- With Be

Re: [U-Boot] [ANN] U-Boot v2017.03-rc2 released

2017-02-14 Thread Andy Shevchenko
On Tue, Feb 14, 2017 at 7:46 PM, Andy Shevchenko <andy.shevche...@gmail.com> wrote: > On Tue, Feb 14, 2017 at 7:40 PM, Andy Shevchenko > <andy.shevche...@gmail.com> wrote: >> On Tue, Feb 14, 2017 at 7:33 PM, Simon Glass <s...@chromium.org> wrote: >>> On 14

Re: [U-Boot] [PATCH v1 3/3] x86: Intel MID platforms has no microcode update

2017-02-15 Thread Andy Shevchenko
On Wed, 2017-02-15 at 11:10 +0800, Bin Meng wrote: > Hi Andy, > > On Tue, Feb 14, 2017 at 10:47 PM, Andy Shevchenko > <andriy.shevche...@linux.intel.com> wrote: > > There is no microcode update available for SoCs used on Intel MID > > platforms. >

Re: [U-Boot] [PATCH v1 1/3] x86: Introduce INTEL_MID quirk option

2017-02-15 Thread Andy Shevchenko
On Wed, 2017-02-15 at 11:00 +0800, Bin Meng wrote: > Hi Andy, > > On Tue, Feb 14, 2017 at 10:47 PM, Andy Shevchenko > <andriy.shevche...@linux.intel.com> wrote: > > Intel Mobile Internet Device (MID) platforms have special treatment > > in > > some ca

Re: [U-Boot] [PATCH v1 1/3] x86: Introduce INTEL_MID quirk option

2017-02-15 Thread Andy Shevchenko
On Wed, 2017-02-15 at 18:09 +0800, Bin Meng wrote: > Hi Andy, > > On Wed, Feb 15, 2017 at 5:50 PM, Andy Shevchenko > <andriy.shevche...@linux.intel.com> wrote: > > On Wed, 2017-02-15 at 11:00 +0800, Bin Meng wrote: > > > On Tue, Feb 14, 2017 at 10:47 PM, Andy

[U-Boot] [PATCH v1] usb: dwc3: gadget: Remove unused header inclusion

2017-02-14 Thread Andy Shevchenko
From: Vincent Tinelli <vincent.tine...@intel.com> Remove sys_proto.h inclusion which is not used by the driver. Signed-off-by: Vincent Tinelli <vincent.tine...@intel.com> Signed-off-by: Andy Shevchenko <andriy.shevche...@linux.intel.com> --- drivers/usb/dwc3/gadget.c | 1 -

[U-Boot] [PATCH v1] mmc: tangier: Add Intel Tangier eMMC/SDHCI driver

2017-02-14 Thread Andy Shevchenko
From: Felipe Balbi <felipe.ba...@linux.intel.com> This patch adds Intel Tangier eMMC/SDHCI driver. Signed-off-by: Vincent Tinelli <vincent.tine...@intel.com> Signed-off-by: Felipe Balbi <felipe.ba...@linux.intel.com> Signed-off-by: Andy Shevchenko <andriy.shevche...@linux.in

[U-Boot] [PATCH v1 3/3] x86: Intel MID platforms has no microcode update

2017-02-14 Thread Andy Shevchenko
There is no microcode update available for SoCs used on Intel MID platforms. Use conditional to bypass it. Signed-off-by: Andy Shevchenko <andriy.shevche...@linux.intel.com> --- arch/x86/cpu/mp_init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/cpu/mp_in

[U-Boot] [PATCH v1 2/3] x86: zImage: add Intel MID platforms support

2017-02-14 Thread Andy Shevchenko
From: Vincent Tinelli <vincent.tine...@intel.com> Intel MID platform boards have special treatment, such as boot parameter setting. Assign hardware_subarch accordingly if CONFIG_INTEL_MID is set. Signed-off-by: Vincent Tinelli <vincent.tine...@intel.com> Signed-off-by: And

[U-Boot] [PATCH v1 1/3] x86: Introduce INTEL_MID quirk option

2017-02-14 Thread Andy Shevchenko
-by: Andy Shevchenko <andriy.shevche...@linux.intel.com> --- arch/x86/Kconfig | 4 1 file changed, 4 insertions(+) diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 5f9597b230..ba57bcfca4 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -80,6 +80,10 @@ config VENDOR

Re: [U-Boot] [PATCH v1] usb: gadget: f_dfu: write req->actual bytes

2017-02-13 Thread Andy Shevchenko
occasionally rebased, so, for "stable" code I do tags with "edison" prefix. -- Andy Shevchenko <andriy.shevche...@linux.intel.com> Intel Finland Oy ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH v1] mmc: pci: only compile on platforms that need it

2017-02-13 Thread Andy Shevchenko
From: Felipe Balbi <felipe.ba...@linux.intel.com> We should only compile pci_mmc.c on platforms that actually need this. Some platforms are using generic sdhci through driver model. Signed-off-by: Felipe Balbi <felipe.ba...@linux.intel.com> Signed-off-by: Andy Shevchenko <

[U-Boot] [PATCH v1] cmd: itest: correct calculus for long format

2017-02-10 Thread Andy Shevchenko
From: Sebastien Colleur itest shell command doesn't work correctly in long format when doing comparaison due to wrong mask value calculus that overflow on 32 bits values. Signed-off-by: Sebastien Colleur --- cmd/itest.c | 3 ++- 1

[U-Boot] [PATCH v2] x86: make LOAD_FROM_32_BIT visible for platforms

2017-01-24 Thread Andy Shevchenko
This option useful not only for development, but for the platforms where U-Boot is run from custom ROM bootloader. For example, Intel Edison is that board. Make this option visible that platforms can select it if needed. Signed-off-by: Andy Shevchenko <andriy.shevche...@linux.intel.

Re: [U-Boot] [PATCH v1] cmd: itest: correct calculus for long format

2017-02-17 Thread Andy Shevchenko
On Fri, Feb 10, 2017 at 8:38 PM, Simon Glass <s...@chromium.org> wrote: > On 10 February 2017 at 05:59, Andy Shevchenko > <andriy.shevche...@linux.intel.com> wrote: >> From: Sebastien Colleur <sebastienx.coll...@intel.com> >> >> itest shell command

[U-Boot] [PATCH v2 1/2] mmc: pci: Add CONFIG_MMC_PCI

2017-02-17 Thread Andy Shevchenko
msung.com> Signed-off-by: Felipe Balbi <felipe.ba...@linux.intel.com> Signed-off-by: Andy Shevchenko <andriy.shevche...@linux.intel.com> --- configs/bayleybay_defconfig | 1 + configs/conga-qeval20-qa3-e3845-internal-uart_defconfig | 1 + configs/conga-qev

[U-Boot] [PATCH v2 2/2] mmc: tangier: Add Intel Tangier eMMC/SDHCI driver

2017-02-17 Thread Andy Shevchenko
From: Felipe Balbi <felipe.ba...@linux.intel.com> This patch adds Intel Tangier eMMC/SDHCI driver. Signed-off-by: Vincent Tinelli <vincent.tine...@intel.com> Signed-off-by: Felipe Balbi <felipe.ba...@linux.intel.com> Signed-off-by: Andy Shevchenko <andriy.shevche...@linux.in

Re: [U-Boot] [PATCH v1] cmd: itest: correct calculus for long format

2017-02-17 Thread Andy Shevchenko
On Fri, Feb 17, 2017 at 3:00 PM, Stefan Roese <s...@denx.de> wrote: > On 17.02.2017 13:57, Andy Shevchenko wrote: >> To whom should I send this to get it applied? Or just wait when >> maintainers pick this up? > As this patch doesn't fall into a special custodian respo

Re: [U-Boot] [PATCH v1 3/3] x86: Intel MID platforms has no microcode update

2017-02-17 Thread Andy Shevchenko
On Fri, Feb 17, 2017 at 3:22 AM, Bin Meng <bmeng...@gmail.com> wrote: > On Wed, Feb 15, 2017 at 5:52 PM, Andy Shevchenko > <andriy.shevche...@linux.intel.com> wrote: >> On Wed, 2017-02-15 at 11:10 +0800, Bin Meng wrote: >>> On Tue, Feb 14, 2017 at 10:47 PM, An

[U-Boot] [PATCH v1] gpt: Fix uuid string format

2017-02-27 Thread Andy Shevchenko
From: Vincent Tinelli Change GPT UUID string format from UUID to GUID per specification. Signed-off-by: Vincent Tinelli --- cmd/gpt.c | 2 +- disk/part_efi.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [U-Boot] [PATCH v1] cmd: itest: correct calculus for long format

2017-02-28 Thread Andy Shevchenko
On Fri, Feb 17, 2017 at 3:00 PM, Stefan Roese <s...@denx.de> wrote: > On 17.02.2017 13:57, Andy Shevchenko wrote: >> On Fri, Feb 10, 2017 at 8:38 PM, Simon Glass <s...@chromium.org> wrote: >>> On 10 February 2017 at 05:59, Andy Shevchenko >>> <andriy.shev

Re: [U-Boot] [PATCH v2] serial: Add serial driver for Intel MID

2017-02-28 Thread Andy Shevchenko
On Tue, 2017-02-28 at 10:27 +0800, Kever Yang wrote: > Hi Andy, > > On 02/28/2017 12:22 AM, Andy Shevchenko wrote: > > Add a specific serial driver for Intel MID platforms. > > @@ -398,6 +398,15 @@ config MESON_SERIAL > >      If you have an Amlogic Meson

[U-Boot] [PATCH v3] serial: Add serial driver for Intel MID

2017-02-28 Thread Andy Shevchenko
clock / UART_PS / DLAB Initialize fractional divider correctly for Intel Edison platform. For backward compatibility we have to set initial DLAB value to 16 and speed to 115200 baud, where initial frequency is 29491200Hz, and XTAL frequency is 38.4MHz. Signed-off-by: Andy Shevchenko

[U-Boot] [PATCH v2] serial: Add serial driver for Intel MID

2017-02-27 Thread Andy Shevchenko
clock / UART_PS / DLAB Initialize fractional divider correctly for Intel Edison platform. For backward compatibility we have to set initial DLAB value to 16 and speed to 115200 baud, where initial frequency is 29491200Hz, and XTAL frequency is 38.4MHz. Signed-off-by: Andy Shevchenko

[U-Boot] setenv with semicolon inside

2016-11-15 Thread Andy Shevchenko
as been altered by custom patches? Or this is a regression/feature of newer U-Boot? In any case what are the recommendation to fix it? -- With Best Regards, Andy Shevchenko ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] setenv with semicolon inside

2016-11-15 Thread Andy Shevchenko
On Tue, Nov 15, 2016 at 11:53 AM, Andy Shevchenko <andy.shevche...@gmail.com> wrote: > Perhaps it was discussed somewhere, but... > > Which obviously show that double quote is ignored. Was it previous > behaviour that has been altered by custom patches? Or this is a > regres

[U-Boot] [PATCH v1 1/1] gitignore: Append *.so and *.efi

2017-01-09 Thread Andy Shevchenko
EFI loader generates two types of binaries that usually are not a part of source tree. Ignore them globally based on extension. Signed-off-by: Andy Shevchenko <andriy.shevche...@linux.intel.com> --- .gitignore | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore

[U-Boot] [PATCH v1 1/1] x86: Synchronize list of x86 subarchitectures (update bootparam.h)

2017-01-09 Thread Andy Shevchenko
Basically rename X86_SUBARCH_MRST to X86_SUBARCH_INTEL_MID to be more specific. Signed-off-by: Andy Shevchenko <andriy.shevche...@linux.intel.com> --- arch/x86/include/asm/bootparam.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/x86/include/asm/bootparam.h

Re: [U-Boot] [PATCH v2 1/2] x86: Add SCU IPC driver for Intel MID platforms

2017-03-26 Thread Andy Shevchenko
On Mon, 2017-03-20 at 15:27 +0200, Andy Shevchenko wrote: > On Sun, 2017-03-19 at 20:30 -0600, Simon Glass wrote: > > Hi Andy, > > > > On 15 March 2017 at 12:42, Andy Shevchenko > > <andriy.shevche...@linux.intel.com> wrote: > > > From:

Re: [U-Boot] [PATCH v3] serial: Add serial driver for Intel MID

2017-03-26 Thread Andy Shevchenko
On Mon, 2017-03-13 at 16:09 +0200, Andy Shevchenko wrote: > On Fri, Mar 3, 2017 at 12:31 PM, Kever Yang <kever.y...@rock-chips.com > > wrote: > > On 02/28/2017 08:04 PM, Andy Shevchenko wrote: > > > > > > Add a specific serial driver for Intel MID platforms. &g

Re: [U-Boot] [PATCH v1] mmc: sdhci: SDHCI controllers also need power

2017-03-20 Thread Andy Shevchenko
On Sun, 2017-03-19 at 20:30 -0600, Simon Glass wrote: > Hi Andy, > > On 15 March 2017 at 12:25, Andy Shevchenko > <andriy.shevche...@linux.intel.com> wrote: > > On some systems SDHCI controllers may be powered off and it's > > required > > to bring them on befo

Re: [U-Boot] [PATCH v2 1/2] x86: Add SCU IPC driver for Intel MID platforms

2017-03-20 Thread Andy Shevchenko
On Sun, 2017-03-19 at 20:30 -0600, Simon Glass wrote: > Hi Andy, > > On 15 March 2017 at 12:42, Andy Shevchenko > <andriy.shevche...@linux.intel.com> wrote: > > From: Felipe Balbi <felipe.ba...@linux.intel.com> > > > > Intel MID platforms have few mi

Re: [U-Boot] [PATCH v1 2/2] misc: Introduce minimal PMU driver for Intel MID platforms

2017-03-15 Thread Andy Shevchenko
On Sun, Mar 12, 2017 at 10:21 PM, Simon Glass <s...@chromium.org> wrote: > Hi Andy, > > On 5 March 2017 at 12:17, Andy Shevchenko > <andriy.shevche...@linux.intel.com> wrote: >> This simple PMU driver enables access to MMC controllers during probe >> so t

[U-Boot] [PATCH v1] mmc: sdhci: SDHCI controllers also need power

2017-03-15 Thread Andy Shevchenko
On some systems SDHCI controllers may be powered off and it's required to bring them on before accessing. SDHCI generic driver currently lacks any mean of doing it. Call the same board_power_mmc_init() at sdhci_init() stage. Signed-off-by: Andy Shevchenko <andriy.shevche...@linux.intel.

[U-Boot] [PATCH v2 2/2] x86: Introduce minimal PMU driver for Intel MID platforms

2017-03-15 Thread Andy Shevchenko
under arch/x86/lib and called pmu.c. Signed-off-by: Felipe Balbi <felipe.ba...@linux.intel.com> Signed-off-by: Andy Shevchenko <andriy.shevche...@linux.intel.com> --- arch/x86/include/asm/cpu.h | 1 + arch/x86/include/asm/pmu.h | 11 + arch/x86/lib/Makefile | 1 + arch/x

Re: [U-Boot] [PATCH v1 2/2] misc: Introduce minimal PMU driver for Intel MID platforms

2017-03-15 Thread Andy Shevchenko
On Wed, Mar 15, 2017 at 8:01 PM, Andy Shevchenko <andy.shevche...@gmail.com> wrote: > On Sun, Mar 12, 2017 at 10:21 PM, Simon Glass <s...@chromium.org> wrote: >> Hi Andy, >> >> On 5 March 2017 at 12:17, Andy Shevchenko >> <andriy.shevche...@linux.in

[U-Boot] [PATCH v2 1/2] x86: Add SCU IPC driver for Intel MID platforms

2017-03-15 Thread Andy Shevchenko
; Signed-off-by: Felipe Balbi <felipe.ba...@linux.intel.com> Signed-off-by: Andy Shevchenko <andriy.shevche...@linux.intel.com> --- arch/x86/Kconfig | 2 + arch/x86/include/asm/cpu.h | 1 + arch/x86/include/asm/scu.h | 28 arch/x86/lib/Makefile | 1 + arch/x86

Re: [U-Boot] [PATCH v1] mmc: sdhci: SDHCI controllers also need power

2017-04-01 Thread Andy Shevchenko
On Fri, 2017-03-31 at 22:24 -0600, Simon Glass wrote: > Hi Andy, > > On 20 March 2017 at 06:51, Andy Shevchenko > <andriy.shevche...@linux.intel.com> wrote: > > On Sun, 2017-03-19 at 20:30 -0600, Simon Glass wrote: > > > Hi Andy, > > > > &

[U-Boot] [PATCH v3 1/2] x86: Add SCU IPC driver for Intel MID platforms

2017-04-01 Thread Andy Shevchenko
; Signed-off-by: Felipe Balbi <felipe.ba...@linux.intel.com> Signed-off-by: Andy Shevchenko <andriy.shevche...@linux.intel.com> --- arch/x86/Kconfig | 2 + arch/x86/include/asm/cpu.h | 1 + arch/x86/include/asm/scu.h | 28 arch/x86/lib/Makefile | 1 + arch/x86

[U-Boot] [PATCH v3 2/2] x86: Introduce minimal PMU driver for Intel MID platforms

2017-04-01 Thread Andy Shevchenko
under arch/x86/lib and called pmu.c. Signed-off-by: Felipe Balbi <felipe.ba...@linux.intel.com> Signed-off-by: Andy Shevchenko <andriy.shevche...@linux.intel.com> --- arch/x86/include/asm/cpu.h | 1 + arch/x86/include/asm/pmu.h | 11 + arch/x86/lib/Makefile | 1 + arch/x

[U-Boot] [PATCH v3 0/2] x86: SCU and PMU drivers for Intel MID

2017-04-01 Thread Andy Shevchenko
unneeded attributes - drop busy loop counter from 3m to 100k as per driver in Linux kernel PMU: - convert to be more generic and move Tangier related part to its own folder (the latter out of scope of this series) Andy Shevchenko (1): x86: Introduce minimal PMU driver for Intel MID platforms

Re: [U-Boot] [PATCH v1] mmc: sdhci: SDHCI controllers also need power

2017-04-06 Thread Andy Shevchenko
On Thu, 2017-04-06 at 18:24 +0900, Jaehoon Chung wrote: > On 04/06/2017 05:51 PM, Andy Shevchenko wrote: > > On Thu, Apr 6, 2017 at 6:44 AM, Simon Glass <s...@chromium.org> > > wrote: > > > On 1 April 2017 at 07:11, Andy Shevchenko > > > <andriy.shevche

Re: [U-Boot] [PATCH v1] mmc: sdhci: SDHCI controllers also need power

2017-04-06 Thread Andy Shevchenko
On Thu, Apr 6, 2017 at 1:50 PM, Jaehoon Chung <jh80.ch...@samsung.com> wrote: > On 04/06/2017 06:46 PM, Andy Shevchenko wrote: >> On Thu, 2017-04-06 at 18:24 +0900, Jaehoon Chung wrote: >>> On 04/06/2017 05:51 PM, Andy Shevchenko wrote: >>>> On Thu, Ap

Re: [U-Boot] [PATCH v1] watchdog: Introduce watchdog driver for Intel Tangier

2017-04-18 Thread Andy Shevchenko
..@intel.com> > > Signed-off-by: Felipe Balbi <felipe.ba...@linux.intel.com> > > Signed-off-by: Andy Shevchenko <andriy.shevche...@linux.intel.com> > > --- > >  common/board_f.c   |  1 + > >  drivers/watchdog/Kconfig   |  8

[U-Boot] [PATCH v1] watchdog: Introduce watchdog driver for Intel Tangier

2017-04-18 Thread Andy Shevchenko
From: Felipe Balbi <felipe.ba...@linux.intel.com> Add watchdog driver for Intel Tangier based platforms. Signed-off-by: Vincent Tinelli <vincent.tine...@intel.com> Signed-off-by: Felipe Balbi <felipe.ba...@linux.intel.com> Signed-off-by: Andy Shevchenko <andriy.shevc

Re: [U-Boot] [PATCH v1] mmc: sdhci: SDHCI controllers also need power

2017-04-19 Thread Andy Shevchenko
On Tue, 2017-04-18 at 18:12 -0600, Simon Glass wrote: > Hi Andy, > > On 18 April 2017 at 08:45, Andy Shevchenko > <andriy.shevche...@linux.intel.com> wrote: > > On Tue, 2017-04-18 at 08:33 -0600, Simon Glass wrote: > > > Hi Andy, > > > > &

Re: [U-Boot] [PATCH v1] cpu: Add Intel Tangier support

2017-04-19 Thread Andy Shevchenko
On Tue, 2017-04-18 at 18:12 -0600, Simon Glass wrote: > On 18 April 2017 at 08:21, Andy Shevchenko > <andriy.shevche...@linux.intel.com> wrote: > > From: Felipe Balbi <felipe.ba...@linux.intel.com> > > > > Add Intel Tangier SoC support. > > >

Re: [U-Boot] [PATCH v3] serial: Add serial driver for Intel MID

2017-03-13 Thread Andy Shevchenko
On Fri, Mar 3, 2017 at 12:31 PM, Kever Yang <kever.y...@rock-chips.com> wrote: > On 02/28/2017 08:04 PM, Andy Shevchenko wrote: >> >> Add a specific serial driver for Intel MID platforms. >> >> It has special fractional divider which can be programmed via U

Re: [U-Boot] [PATCH v1 1/2] misc: Add SCU IPC driver for Intel MID platforms

2017-03-13 Thread Andy Shevchenko
seem to be useful. For the outer > one, do you have multiple structs packed one after the other? If not, > perhaps drop it? I dunno. There is very little documentation available and this code as you may notice is originally written not by me or Felipe, so, let's assume the worse case. > &

Re: [U-Boot] [ANN] U-Boot v2017.03 is released

2017-03-14 Thread Andy Shevchenko
gish news. As things stand today, this is the last release > where the Blackfin and SPARC, unless a new maintainer wants to step in. By the way what about avr32? There is plan to remove its support from Linux kernel (next cycle), Buildroot already did that couple of years ago. -- With Best

Re: [U-Boot] [PATCH] Ensure device tree DTS is compiled

2017-03-14 Thread Andy Shevchenko
s ? > + $(Q)$(MAKE) $(build)=$(ARCH_PATH)/dts dtbs Ditto. -- With Best Regards, Andy Shevchenko ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

[U-Boot] [PATCH v1] x86: Remove unused option

2017-03-06 Thread Andy Shevchenko
There is option which is not used: CONFIG_ZBOOT_32 Remove it from default x86 config and from whitelist. Signed-off-by: Andy Shevchenko <andriy.shevche...@linux.intel.com> --- include/configs/x86-common.h | 1 - scripts/config_whitelist.txt | 1 - 2 files changed, 2 deletions(-)

[U-Boot] [PATCH v1 1/2] misc: Add SCU IPC driver for Intel MID platforms

2017-03-05 Thread Andy Shevchenko
; Signed-off-by: Felipe Balbi <felipe.ba...@linux.intel.com> Signed-off-by: Andy Shevchenko <andriy.shevche...@linux.intel.com> --- arch/x86/Kconfig | 1 + drivers/misc/Kconfig | 6 ++ drivers/misc/Makefile| 1 + drivers/mi

[U-Boot] [PATCH v1 2/2] misc: Introduce minimal PMU driver for Intel MID platforms

2017-03-05 Thread Andy Shevchenko
ed-off-by: Andy Shevchenko <andriy.shevche...@linux.intel.com> --- arch/x86/Kconfig | 2 + drivers/misc/Kconfig | 6 +++ drivers/misc/Makefile| 1 + drivers/misc/intel_mid_pmu.c | 124 +++ 4 files changed, 133 insertion

Re: [U-Boot] [PATCH v1] gpt: Fix uuid string format

2017-03-03 Thread Andy Shevchenko
On Fri, Mar 3, 2017 at 6:52 AM, Simon Glass <s...@chromium.org> wrote: > Hi Andy, > > On 27 February 2017 at 07:11, Andy Shevchenko > <andriy.shevche...@linux.intel.com> wrote: >> From: Vincent Tinelli <vincent.tine...@intel.com> >> >> Cha

Re: [U-Boot] [PATCH v1] mmc: sdhci: SDHCI controllers also need power

2017-04-06 Thread Andy Shevchenko
On Thu, Apr 6, 2017 at 6:44 AM, Simon Glass <s...@chromium.org> wrote: > On 1 April 2017 at 07:11, Andy Shevchenko > <andriy.shevche...@linux.intel.com> wrote: >> On Fri, 2017-03-31 at 22:24 -0600, Simon Glass wrote: >>> On 20 March 2017 at 06:51, An

Re: [U-Boot] [PATCH v1] mmc: sdhci: SDHCI controllers also need power

2017-04-18 Thread Andy Shevchenko
On Tue, 2017-04-18 at 08:33 -0600, Simon Glass wrote: > Hi Andy, > > On 18 April 2017 at 08:29, Andy Shevchenko > <andriy.shevche...@linux.intel.com> wrote: > > On Fri, 2017-04-07 at 19:05 +0900, Jaehoon Chung wrote: > > > Hi Andy, > > > > >

[U-Boot] [PATCH v1] cpu: Add Intel Tangier support

2017-04-18 Thread Andy Shevchenko
oll...@intel.com> Steve Sakoman <steve.sako...@intel.com> Vincent Tinelli <vincent.tine...@intel.com> Signed-off-by: Vincent Tinelli <vincent.tine...@intel.com> Signed-off-by: Felipe Balbi <felipe.ba...@linux.intel.com> Signed-off-by: Andy Sh

Re: [U-Boot] [PATCH v1] mmc: sdhci: SDHCI controllers also need power

2017-04-18 Thread Andy Shevchenko
On Fri, 2017-04-07 at 19:05 +0900, Jaehoon Chung wrote: > Hi Andy, > > On 04/06/2017 07:58 PM, Andy Shevchenko wrote: > > On Thu, Apr 6, 2017 at 1:50 PM, Jaehoon Chung <jh80.ch...@samsung.co > > m> wrote: > > > On 04/06/2017 06:46 PM, Andy Shevchenko wrote:

Re: [U-Boot] [PATCH v3] watchdog: Introduce watchdog driver for Intel Tangier

2017-07-16 Thread Andy Shevchenko
On Fri, 2017-07-07 at 12:51 +0800, Bin Meng wrote: > On Thu, Jul 6, 2017 at 1:33 AM, Andy Shevchenko > <andriy.shevche...@linux.intel.com> wrote: > > From: Felipe Balbi <felipe.ba...@linux.intel.com> > > > > Add watchdog driver for Intel Tangier bas

Re: [U-Boot] [PATCH v1 2/3] wdt: Timeout better to be in microseconds

2017-07-07 Thread Andy Shevchenko
On Thu, 2017-07-06 at 21:59 -0600, Simon Glass wrote: > Hi Andy, > > On 5 July 2017 at 11:44, Andy Shevchenko > <andriy.shevche...@linux.intel.com> wrote: > > Timeout in some abstract ticks is not what we are applying to get > > deterministic behaviour. > >

[U-Boot] [PATCH v1 4/7] x86: acpi: Name fields in FADT in accordance with specification

2017-07-21 Thread Andy Shevchenko
ACPI specification defines FADT fields marked as reserved in U-Boot. Name these fields in accordance with ACPI specification. Signed-off-by: Andy Shevchenko <andriy.shevche...@linux.intel.com> --- arch/x86/include/asm/acpi_table.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)

Re: [U-Boot] [PATCH v1 0/7] x86: acpi: Few enhancements and improvements

2017-07-21 Thread Andy Shevchenko
On Fri, 2017-07-21 at 22:31 +0300, Andy Shevchenko wrote: > Patch 1 is a build improvement to have better understanding why DSDT > is not compiled. > > Patches 2 and 3 add date of U-Boot build as OEM revision to > the generated tables. > > Patch 4 marks fields in FADT in a

[U-Boot] [PATCH v1 6/7] x86: acpi: Export acpi_fill_mcfg() with __weak attribute

2017-07-21 Thread Andy Shevchenko
Some platforms might require different approach when filling memory mappings configuration table. Allow them to override the common method. At the same time export acpi_create_mcfg_mmconfig(). Signed-off-by: Andy Shevchenko <andriy.shevche...@linux.intel.com> --- arch/x86/inclu

[U-Boot] [PATCH v1 0/7] x86: acpi: Few enhancements and improvements

2017-07-21 Thread Andy Shevchenko
s that can be replaced in specific board / architecture code. Patch 7 allows to define HW reduced platforms by avoiding ACPI hardware communication as required by spec. The series has been tested on Intel Edison board. Andy Shevchenko (7): Makefile: Don't shadow actual error when compile ASL

[U-Boot] [PATCH v1 3/7] x86: acpi: Fill OEM revision

2017-07-21 Thread Andy Shevchenko
Fill OEM revision field in the tables by U-Boot build date. Signed-off-by: Andy Shevchenko <andriy.shevche...@linux.intel.com> --- arch/x86/lib/acpi_table.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/x86/lib/acpi_table.c b/arch/x86/lib/acpi_table.c index 01d5b6fff0..c6f4

[U-Boot] [PATCH v1 2/7] Makefile: Export build date as integer

2017-07-21 Thread Andy Shevchenko
In some cases we would need build date as integer value. Export U_BOOT_BUILD_DATE as %Y%m%d integer value. Signed-off-by: Andy Shevchenko <andriy.shevche...@linux.intel.com> --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 452596485d..71de5c656c

[U-Boot] [PATCH v1 5/7] x86: acpi: Deduplicate acpi_fill_madt() implementation

2017-07-21 Thread Andy Shevchenko
In Baytrail and Quark support code acpi_fill_madt() is identical. Deduplicate its implementation by moving to lib/acpi_tables.c. At the same time mark acpi_fill_madt() with __weak attribute to keep a possibility to override it in platform code Signed-off-by: Andy Shevchenko <andriy.shev

[U-Boot] [PATCH v1 7/7] x86: acpi: Don't touch hardware on HW reduced platforms

2017-07-21 Thread Andy Shevchenko
If ACPI HW reduced bit in FADT is set we should ignore any ACPI hardware communications. Signed-off-by: Andy Shevchenko <andriy.shevche...@linux.intel.com> --- arch/x86/lib/acpi_table.c | 4 1 file changed, 4 insertions(+) diff --git a/arch/x86/lib/acpi_table.c b/arch/x86/lib/acpi_t

[U-Boot] [PATCH v1 1/7] Makefile: Don't shadow actual error when compile ASL

2017-07-21 Thread Andy Shevchenko
to see the error again. Signed-off-by: Andy Shevchenko <andriy.shevche...@linux.intel.com> --- scripts/Makefile.lib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib index 80ddb08474..9ce47b4d22 100644 --- a/scripts/Makefile.lib

Re: [U-Boot] [PATCH v1 7/7] x86: acpi: Don't touch hardware on HW reduced platforms

2017-07-25 Thread Andy Shevchenko
On Sun, 2017-07-23 at 08:48 +0800, Bin Meng wrote: > Hi Andy, > > On Sun, Jul 23, 2017 at 12:43 AM, Andy Shevchenko > <andy.shevche...@gmail.com> wrote: > > On Sat, Jul 22, 2017 at 4:45 PM, Bin Meng <bmeng...@gmail.com> > > wrote: > > > I assume this

Re: [U-Boot] [PATCH 2/2] x86: Allow 32-bit toolchain to compile 64-bit U-Boot

2017-07-23 Thread Andy Shevchenko
NFIG_SPL_BUILD),,-fpic) -fno-common -m64 > endif > > PLATFORM_RELFLAGS += -ffunction-sections -fvisibility=hidden > -- > 2.9.2 > > _______ > U-Boot mailing list > U-Boot@lists.denx.de > https://lists.denx.de/listinfo/u-boot --

Re: [U-Boot] [PATCH 2/2] x86: Allow 32-bit toolchain to compile 64-bit U-Boot

2017-07-23 Thread Andy Shevchenko
On Sun, Jul 23, 2017 at 1:05 PM, Bin Meng <bmeng...@gmail.com> wrote: > On Sun, Jul 23, 2017 at 6:01 PM, Andy Shevchenko > <andy.shevche...@gmail.com> wrote: >> On Sun, Jul 23, 2017 at 12:37 PM, Bin Meng <bmeng...@gmail.com> wrote: >> The subject is a bit cofu

Re: [U-Boot] [PATCH 2/2] x86: Allow 32-bit toolchain to compile 64-bit U-Boot

2017-07-23 Thread Andy Shevchenko
On Sun, Jul 23, 2017 at 1:26 PM, Bin Meng <bmeng...@gmail.com> wrote: > On Sun, Jul 23, 2017 at 6:07 PM, Andy Shevchenko > <andy.shevche...@gmail.com> wrote: >> On Sun, Jul 23, 2017 at 1:05 PM, Bin Meng <bmeng...@gmail.com> wrote: >>> On Sun, J

Re: [U-Boot] [PATCH 2/2] x86: Allow 32-bit toolchain to compile 64-bit U-Boot

2017-07-23 Thread Andy Shevchenko
On Sun, Jul 23, 2017 at 1:48 PM, Bin Meng <bmeng...@gmail.com> wrote: > On Sun, Jul 23, 2017 at 6:36 PM, Andy Shevchenko > <andy.shevche...@gmail.com> wrote: >> On Sun, Jul 23, 2017 at 1:26 PM, Bin Meng <bmeng...@gmail.com> wrote: >>> On Sun, J

Re: [U-Boot] [PATCH 2/2] x86: Allow 32-bit toolchain to compile 64-bit U-Boot

2017-07-23 Thread Andy Shevchenko
On Sun, Jul 23, 2017 at 4:33 PM, Bin Meng <bmeng...@gmail.com> wrote: > On Sun, Jul 23, 2017 at 8:51 PM, Andy Shevchenko > <andy.shevche...@gmail.com> wrote: >> On Sun, Jul 23, 2017 at 1:48 PM, Bin Meng <bmeng...@gmail.com> wrote: >>> On Sun, J

Re: [U-Boot] [PATCH v1 1/7] Makefile: Don't shadow actual error when compile ASL

2017-07-22 Thread Andy Shevchenko
On Sat, Jul 22, 2017 at 3:59 PM, Bin Meng <bmeng...@gmail.com> wrote: > Hi Andy, > > On Sat, Jul 22, 2017 at 3:32 AM, Andy Shevchenko > <andriy.shevche...@linux.intel.com> wrote: >> If ASL compiler failed by any reason do not produce output C file. >> Otherwis

Re: [U-Boot] [PATCH v1 7/7] x86: acpi: Don't touch hardware on HW reduced platforms

2017-07-22 Thread Andy Shevchenko
On Sat, Jul 22, 2017 at 4:45 PM, Bin Meng <bmeng...@gmail.com> wrote: > Hi Andy, > > On Sat, Jul 22, 2017 at 3:32 AM, Andy Shevchenko > <andriy.shevche...@linux.intel.com> wrote: >> If ACPI HW reduced bit in FADT is set we should ignore any ACPI hardware >&

Re: [U-Boot] [PATCH v2] arch/x86: Select USB before selecting host driver

2017-07-22 Thread Andy Shevchenko
On Sat, Jul 22, 2017 at 4:46 PM, Bin Meng <bmeng...@gmail.com> wrote: > On Sat, Jul 22, 2017 at 6:45 PM, Andy Shevchenko > <andy.shevche...@gmail.com> wrote: >> On Sat, Jul 22, 2017 at 8:15 AM, Bin Meng <bmeng...@gmail.com> wrote: >>> On Sat, Jul 22, 2017 at

Re: [U-Boot] [PATCH v2] arch/x86: Select USB before selecting host driver

2017-07-22 Thread Andy Shevchenko
On Sat, Jul 22, 2017 at 8:15 AM, Bin Meng <bmeng...@gmail.com> wrote: > On Sat, Jul 22, 2017 at 12:18 PM, Bin Meng <bmeng...@gmail.com> wrote: >> From: Andy Shevchenko <andriy.shevche...@linux.intel.com> >> >> Kbuild complains if USB is not selected before

[U-Boot] [PATCH v1] arch/x86: Select USB before selecting host driver

2017-07-04 Thread Andy Shevchenko
grate CONFIG_USB_EHCI_HCD users to Kconfig") Signed-off-by: Andy Shevchenko <andriy.shevche...@linux.intel.com> --- arch/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/Kconfig b/arch/Kconfig index d04ab9f177..48a267d314 100644 --- a/arch/Kconfig +++ b/arch/Kconfig @@ -95,6 +95

Re: [U-Boot] [PATCH v1] watchdog: Introduce watchdog driver for Intel Tangier

2017-07-04 Thread Andy Shevchenko
On Wed, Jul 5, 2017 at 12:23 AM, lukma <lu...@denx.de> wrote: >> On Tue, 2017-07-04 at 16:31 -0400, Tom Rini wrote: >>> On Tue, Jul 04, 2017 at 10:48:36PM +0300, Andy Shevchenko wrote: >>>> On Tue, 2017-04-18 at 16:49 +0200, Lukasz Majewski wrote: >>&

[U-Boot] [PATCH v2] watchdog: Introduce watchdog driver for Intel Tangier

2017-07-04 Thread Andy Shevchenko
From: Felipe Balbi <felipe.ba...@linux.intel.com> Add watchdog driver for Intel Tangier based platforms. Signed-off-by: Vincent Tinelli <vincent.tine...@intel.com> Signed-off-by: Felipe Balbi <felipe.ba...@linux.intel.com> Signed-off-by: Andy Shevchenko <andriy.shevc

Re: [U-Boot] [PATCH v1] watchdog: Introduce watchdog driver for Intel Tangier

2017-07-04 Thread Andy Shevchenko
On Tue, 2017-07-04 at 16:31 -0400, Tom Rini wrote: > On Tue, Jul 04, 2017 at 10:48:36PM +0300, Andy Shevchenko wrote: > > On Tue, 2017-04-18 at 16:49 +0200, Lukasz Majewski wrote: > > > > > > The code seems OK, but recently patches to add wdt-uclass has been >

Re: [U-Boot] [PATCH v1] watchdog: Introduce watchdog driver for Intel Tangier

2017-07-04 Thread Andy Shevchenko
exactly that!). So, it looks to me now as bikeshedding, otherwise where is the documentation which describes how this all stuff should work? Can we go with the initial patch? -- Andy Shevchenko <andriy.shevche...@linux.intel.com> Intel Finland Oy __

Re: [U-Boot] [PATCH v1] arch/x86: Select USB before selecting host driver

2017-07-05 Thread Andy Shevchenko
On Wed, Jul 5, 2017 at 8:23 AM, Bin Meng <bmeng...@gmail.com> wrote: > Hi Andy, > > On Wed, Jul 5, 2017 at 12:32 AM, Andy Shevchenko > <andriy.shevche...@linux.intel.com> wrote: >> Kbuild complains if USB is not selected before any of host driver. >> >>

  1   2   3   4   5   6   7   8   9   10   >