Re: [U-Boot] [PATCH v2 1/7] x86: Correct microcode documentation

2015-08-21 Thread Simon Glass
On 18 August 2015 at 21:36, Bin Meng wrote: > On Sun, Aug 16, 2015 at 4:37 AM, Simon Glass wrote: >> This is incorrect since we require the -m parameter to the microcode tool. >> Update the two examples to show this. >> >> Signed-off-by: Simon Glass >> --- >> >> Changes in v2: None >> >> doc/RE

Re: [U-Boot] [PATCH v2 4/7] x86: ifdtool: Check that U-Boot does not overlap other regions

2015-08-21 Thread Simon Glass
On 19 August 2015 at 08:33, Bin Meng wrote: > On Sun, Aug 16, 2015 at 4:37 AM, Simon Glass wrote: >> Since U-Boot and its device tree can grow we should check that it does not >> overlap the regions above it. Track the ROM offset that U-Boot reaches and >> check that other regions (written after

Re: [U-Boot] [PATCH v2 2/7] x86: baytrail: Add microcode for BayTrail-I D0 stepping

2015-08-21 Thread Simon Glass
On 15 August 2015 at 14:37, Simon Glass wrote: > From: Bin Meng > > This commit adds the microcode blob for BayTrail-I D0 stepping, > CPUID signature 30679h. > > Signed-off-by: Bin Meng > Signed-off-by: Simon Glass > --- > > Changes in v2: > - Regenerate with microcode tool > > arch/x86/dts/mi

Re: [U-Boot] [PATCH v2 7/7] x86: ifdtool: Drop microcode from the device tree when collating

2015-08-21 Thread Simon Glass
On 19 August 2015 at 08:33, Bin Meng wrote: > On Sun, Aug 16, 2015 at 4:37 AM, Simon Glass wrote: >> When ifdtool collates the microcode into one place it effectively creates >> a copy of the 'data' properties in the device tree microcode nodes. This >> is wasteful since we now have two copies of

Re: [U-Boot] [PATCH v2 3/7] x86: baytrail: Support multiple microcode copies

2015-08-21 Thread Simon Glass
On 15 August 2015 at 14:37, Simon Glass wrote: > From: Bin Meng > > Intel FSP has the capability to walk through the microcode blocks > which are passed as the TempRamInit() parameter from U-Boot and > finds the most appropriate microcode which is suitable for the cpu > on which it is running. No

Re: [U-Boot] [PATCH v2 01/12] dm: pci: Support selected device/driver binding before relocation

2015-08-21 Thread Simon Glass
On 20 August 2015 at 07:40, Bin Meng wrote: > On some platforms pci devices behind bridge need to be probed (eg: > a pci uart on recent x86 chipset) before relocation. But we won't > bind all devices found during the enumeration. Only devices whose > driver with DM_FLAG_PRE_RELOC set will be bound

Re: [U-Boot] [PATCH v2 02/12] x86: fsp: Delay x86_fsp_init() call a little bit

2015-08-21 Thread Simon Glass
On 20 August 2015 at 07:40, Bin Meng wrote: > Move x86_fsp_init() call after initf_malloc() so that we can fix up > the gd->malloc_limit later. > > Signed-off-by: Bin Meng > Acked-by: Simon Glass > --- > > Changes in v2: None > > common/board_f.c | 6 +++--- > 1 file changed, 3 insertions(+), 3

Re: [U-Boot] [PATCH v2 5/7] x86: ifdtool: Split microcode linking into its own function

2015-08-21 Thread Simon Glass
On 19 August 2015 at 08:33, Bin Meng wrote: > On Sun, Aug 16, 2015 at 4:37 AM, Simon Glass wrote: >> The code to set up the microcode pointer in the ROM shares almost nothing >> with the write_uboot() function. >> >> Move it into its own function so it will be easier to extend. >> >> Signed-off-b

Re: [U-Boot] [PATCH v2 04/12] x86: fsp: Add comments about U-Boot entering start.S twice

2015-08-21 Thread Simon Glass
On 21 August 2015 at 17:27, Simon Glass wrote: > On 20 August 2015 at 07:40, Bin Meng wrote: >> Add some comments in start.S for the fact that with FSP U-Boot >> actually enters the code twice. Also change to use fsp_init() >> and fsp_continue for accuracy. >> >> Signed-off-by: Bin Meng >> --- >

Re: [U-Boot] [PATCH v2 05/12] x86: queensbay: Move unprotect_spi_flash() to arch_misc_init()

2015-08-21 Thread Simon Glass
On 21 August 2015 at 17:27, Simon Glass wrote: > On 20 August 2015 at 07:40, Bin Meng wrote: >> With dm pci conversion, pci config read/write in unprotect_spi_flash() >> silently fails as at that time dm pci is not ready and bus enumeration >> is not done yet. Actually we don't need to do this in

Re: [U-Boot] [PATCH v2 06/12] x86: baytrail: Remove the fsp_init_phase_pci() call

2015-08-21 Thread Simon Glass
On 21 August 2015 at 17:27, Simon Glass wrote: > On 20 August 2015 at 07:40, Bin Meng wrote: >> It turns out that calling fsp_init_phase_pci() in arch_misc_init() >> is subject to break pci device drivers as with driver model, when >> the bus enumeration happens is not deterministic. >> >> Signed

Re: [U-Boot] [PATCH v2 03/12] x86: fsp: Enlarge the size of malloc() pool before relocation

2015-08-21 Thread Simon Glass
On 21 August 2015 at 17:27, Simon Glass wrote: > On 20 August 2015 at 07:40, Bin Meng wrote: >> After fsp_init() returns, the stack has already been switched to a >> place within system memory as defined by CONFIG_FSP_TEMP_RAM_ADDR. >> Enlarge the size of malloc() pool before relocation since we

Re: [U-Boot] [PATCH] patman: use -D option for git format-patch

2015-08-21 Thread Simon Glass
Hi, On 17 August 2015 at 22:37, Heiko Schocher wrote: > Hello Masahiro, > > Am 18.08.2015 um 04:30 schrieb Masahiro Yamada: >> >> This allows Patman to generate smaller patches for file removal. >> >> Signed-off-by: Masahiro Yamada >> --- >> >> tools/patman/gitutil.py | 2 +- >> 1 file change

Re: [U-Boot] [PATCH v2 1/7] x86: superio: Add keyboard controller support to smsc_lpc47m driver

2015-08-21 Thread Simon Glass
On 21 August 2015 at 17:27, Simon Glass wrote: > Hi Bin, > > On 21 August 2015 at 01:18, Bin Meng wrote: >> Add an api to enable and configure the integrated keyboard controller >> on SMSC LPC47m superio chipset. It also adds several macros to help >> future extension. >> >> Signed-off-by: Bin Me

[U-Boot] [UBOOT PATCH v6 2/3] x86: Add ACPI table support to QEMU

2015-08-21 Thread Saket Sinha
This patch mainly adds ACPI support to QEMU. Verified by booting Linux kernel on QEMU i440FX and Q35. Signed-off-by: Saket Sinha --- arch/x86/cpu/qemu/Makefile | 1 + arch/x86/cpu/qemu/acpi.c | 179 + 2 files changed, 180 insertions(+) create mod

[U-Boot] [UBOOT PATCH v6 3/3] x86: Add DSDT table for supporting ACPI on QEMU

2015-08-21 Thread Saket Sinha
The DSDT table contains a bytecode that is executed by a driver in the kernel. Signed-off-by: Saket Sinha --- arch/x86/cpu/qemu/Makefile | 2 +- arch/x86/cpu/qemu/acpi/cpu-hotplug.asl | 80 +++ arch/x86/cpu/qemu/acpi/dbug.asl| 25 ++ arch/x86/cpu/qemu/acpi/hpet.asl

[U-Boot] [UBOOT PATCH v6 1/3] x86: Generate a valid ACPI table

2015-08-21 Thread Saket Sinha
Implement write_acpi_table() to create a minimal working ACPI table. This includes writing FACS, XSDT, RSDP, FADT, MCFG, MADT, DSDT & SSDT ACPI table entries. Use a Kconfig option GENERATE_ACPI_TABLE to tell U-Boot whether we need actually write the APCI table just like we did for PIRQ routing, MP

[U-Boot] [UBOOT PATCH v6 0/3] Add ACPI table support

2015-08-21 Thread Saket Sinha
ACPI(Advanced Configuration and Power Interface), is a Power Management and configuration standard allowing the operating system to control the amount of power each device is given (allowing it to put certain devices on standby or power-off for example). It is also used to control and/or check the

Re: [U-Boot] [PATCH v7 5/6] Tidy up some defconfig files

2015-08-21 Thread Joe Hershberger
Hi Simon, On Wed, Aug 19, 2015 at 10:33 AM, Simon Glass wrote: > Several files are out of order. This means that when the moveconfig tool > moves CONFIG options to Kconfig it generates a large diff. To avoid this, > reorder the files first. > > Signed-off-by: Simon Glass Acked-by: Joe Hershberg

Re: [U-Boot] [PATCH v3 9/9] dfu: tftp: Kconfig: Enable DFU_TFTP support on the am335x_boneblack_defconfig

2015-08-21 Thread Joe Hershberger
On Fri, Aug 21, 2015 at 6:11 PM, Lukasz Majewski wrote: > On Tue, 18 Aug 2015 19:31:03 -0500 > Joe Hershberger wrote: > >> Hi Lukasz, >> >> On Tue, Aug 18, 2015 at 4:28 PM, Lukasz Majewski >> wrote: >> > On Tue, 18 Aug 2015 10:12:46 -0500 >> > Joe Hershberger wrote: >> > >> >> Hi Lukasz, >> >>

Re: [U-Boot] [PATCH v3 9/9] dfu: tftp: Kconfig: Enable DFU_TFTP support on the am335x_boneblack_defconfig

2015-08-21 Thread Lukasz Majewski
On Tue, 18 Aug 2015 19:31:03 -0500 Joe Hershberger wrote: > Hi Lukasz, > > On Tue, Aug 18, 2015 at 4:28 PM, Lukasz Majewski > wrote: > > On Tue, 18 Aug 2015 10:12:46 -0500 > > Joe Hershberger wrote: > > > >> Hi Lukasz, > >> > >> On Thu, Aug 13, 2015 at 6:02 PM, Lukasz Majewski > >> wrote: > >

Re: [U-Boot] [PATCH v4 3/8] armv8: Add Secure Monitor/Hypervisor Call (SMC/HVC) infrastructure

2015-08-21 Thread Simon Glass
On 18 August 2015 at 06:26, Sergey Temerkhanov wrote: > This commit adds functions issuing calls to secure monitor or > hypervisore. This allows using services such as Power State > Coordination Interface (PSCI) provided by firmware, e.g. ARM > Trusted Firmware (ATF) > > The SMC call can destroy a

<    1   2