On Fri, Jan 24, 2020 at 1:36 PM Pragnesh Patel
wrote:
>
>
> >-Original Message-
> >From: Jagan Teki
> >Sent: 24 January 2020 11:58
> >To: Pragnesh Patel
> >Cc: U-Boot-Denx ; Atish Patra
> >; palmerdabb...@google.com; Bin Meng
> >; Paul Walmsley ( Sifive)
> >; Troy Benjegerdes ( Sifive)
>
Hi Marcel,
thanks for reporting,
the fix should be already in master, please let me know if it works on
your hardware.
Regards,
Angleo
On Mon, Jan 27, 2020 at 8:38 AM Marcel Ziswiler
wrote:
>
> Hi Angelo
>
> On Tue, 2020-01-21 at 10:37 +0100, Angelo Dureghello wrote:
> > From: Angelo Durgehello
Hi Sean,
> On 1/26/20 3:55 PM, Lukasz Majewski wrote:
> > Hi Sean
> >
> >> Make clk-gate2 available for use outside of imx.
> >>
> >> Signed-off-by: Sean Anderson
> >> ---
> >> drivers/clk/Makefile | 1 +
> >> drivers/clk/{imx => }/clk-gate2.c | 20
> >> dri
Hi Marek,
> On 1/26/20 9:26 PM, Lukasz Majewski wrote:
> Hi,
>
> [...]
>
> >
> > Guillermo RodrÃguez (1):
> > dfu: Add option to skip empty pages when flashing UBI images
> > to
>
> Can that option be enabled/disabled at r
>-Original Message-
>From: Anup Patel
>Sent: 25 January 2020 14:12
>To: Jagan Teki
>Cc: Pragnesh Patel ; Atish Patra
>; Palmer Dabbelt ; U-
>Boot-Denx
>Subject: Re: [PATCH v3 07/10] configs: fu540: Add config file for U-boot SPL
>
>On Fri, Jan 24, 2020 at 12:21 PM Jagan Teki
>wrote:
>>
>-Original Message-
>From: Anup Patel
>Sent: 27 January 2020 13:09
>To: Pragnesh Patel
>Cc: Jagan Teki ; Atish Patra
>; palmerdabb...@google.com; U-Boot-Denx b...@lists.denx.de>
>Subject: Re: [PATCH v3 07/10] configs: fu540: Add config file for U-boot SPL
>
>On Mon, Jan 27, 2020 at 12:20
On Mon, Jan 27, 2020 at 12:20 PM Pragnesh Patel
wrote:
>
>
> >-Original Message-
> >From: Jagan Teki
> >Sent: 24 January 2020 12:21
> >To: Pragnesh Patel
> >Cc: U-Boot-Denx ; Atish Patra
> >; palmerdabb...@google.com; Bin Meng
> >; Paul Walmsley ( Sifive)
> >; Troy Benjegerdes ( Sifive)
Hi Angelo
On Tue, 2020-01-21 at 10:37 +0100, Angelo Dureghello wrote:
> From: Angelo Durgehello
>
> On m68k, block_cache list is relocated, but next and prev list
> pointers are not adjusted to the relocated struct list_head address,
> so the first iteration over the block_cache list hangs.
>
>
Hi Joel,
On Mon, Jan 27 2020, Joel Johnson wrote:
> On 2020-01-26 22:29, Baruch Siach wrote:
>> On Mon, Jan 27 2020, Joel Johnson wrote:
>>> While newer Linux kernels provide autoconfiguration of SFP, provide
>>> an option for setting in U-Boot Kconfig for use prior to booting.
>>>
>>> Signed-off-
Hi Kuldeep,
On Mon, Jan 13, 2020 at 12:57 PM Kuldeep Singh wrote:
>
> This entire patch series migrate freescale qspi driver to spi-mem
> framework.
>
> v4 version of series include removal of buildman failure on LS2080AQDS
> build which was observed in cleanup patches. Also, more clear commit
>
On Mon, Jan 27, 2020 at 10:43 AM Vignesh Raghavendra wrote:
>
>
>
> On 26/01/20 10:12 pm, Jagan Teki wrote:
> > On Sun, Jan 26, 2020 at 7:21 PM Jagan Teki
> > wrote:
> >>
> >> On Thu, Dec 5, 2019 at 3:45 PM Vignesh Raghavendra wrote:
> >>>
> >>> This series adds Octal mode support for Micron's
On Mon, Jan 27, 2020 at 10:42 AM Vignesh Raghavendra wrote:
>
> Hi Jagan,
>
> On 26/01/20 10:13 pm, Jagan Teki wrote:
> > On Fri, Jan 17, 2020 at 9:23 PM Simon Goldschmidt
> > wrote:
> >>
> >> On Fri, Jan 17, 2020 at 2:20 PM Simon Goldschmidt
> >> wrote:
> >>>
> >>> On Fri, Jan 17, 2020 at 2:01
Hello Michael,
Am 23.01.2020 um 23:30 schrieb Michael Auchter:
This adds support for clock stretching to the i2c-gpio driver. This is
accomplished by switching the GPIO used for the SCL line to an input
when it should be driven high, and polling on the SCL line value until
it goes high (indicati
Coreutils command nproc can be used on Linux and BSD to count the number of
available CPU cores. Use this instead of relying on the parsing of the
Linux specific proc file system.
Signed-off-by: Heinrich Schuchardt
---
board/hisilicon/hikey/build-tf.mak | 2 +-
test/common.sh
On Thu, Jan 23, 2020 at 06:41:53PM +0100, Heinrich Schuchardt wrote:
> On 1/22/20 8:42 AM, AKASHI Takahiro wrote:
> >Heinrich,
> >
> >On Wed, Jan 22, 2020 at 10:13:48AM +0900, AKASHI Takahiro wrote:
> >>On Tue, Jan 21, 2020 at 08:15:06AM +0100, Heinrich Schuchardt wrote:
> >>>On 1/21/20 7:12 AM, AK
>-Original Message-
>From: Jagan Teki
>Sent: 24 January 2020 12:21
>To: Pragnesh Patel
>Cc: U-Boot-Denx ; Atish Patra
>; palmerdabb...@google.com; Bin Meng
>; Paul Walmsley ( Sifive)
>; Troy Benjegerdes ( Sifive)
>; Anup Patel ; Sagar
>Kadam
>Subject: Re: [PATCH v3 07/10] configs: fu540
Hello Marek,
Am 24.01.2020 um 19:12 schrieb Marek Vasut:
Add custom deblock dequence for the I2C bus, needed on some devices.
This sequence is issued once, when probing the driver, and is controlled
by DT property, "i2c-gpio,deblock".
Signed-off-by: Marek Vasut
---
drivers/i2c/i2c-gpio.c | 6
From: Luka Kovacic
Update the command return values to CMD_RET_SUCCESS and
CMD_RET_FAILURE in commands documentation.
Signed-off-by: Luka Kovacic
---
doc/README.commands | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/doc/README.commands b/doc/README.commands
index e03e
From: Luka Kovacic
Adds the command return value to the help text, since pin value
is returned.
Cc: Luka Perkov
Signed-off-by: Luka Kovacic
---
cmd/gpio.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/cmd/gpio.c b/cmd/gpio.c
index eff36ab2af..e57d3fb638 100644
--- a/cm
Hi Priyanka,
> -Original Message-
> From: Schrempf Frieder
> Sent: Tuesday, January 7, 2020 4:36 PM
> To: Kuldeep Singh ; u-boot@lists.denx.de
> Cc: tr...@konsulko.com
> Subject: [EXT] Re: [PATCH] configs: ls1012ardb: Enable
> CONFIG_SYS_RELOC_GD_ENV_ADDR
>
> Caution: EXT Email
>
> On 1
>-Original Message-
>From: Alex Marginean
>Sent: Monday, December 2, 2019 4:28 PM
>To: u-boot@lists.denx.de
>Cc: Priyanka Jain ; Alexandru Marginean
>
>Subject: [PATCH] configs: ls1028aqds: enable mdio muxing by default
>
>LS1028A QDS boards have a MDIO MUX and they require the driver for
>-Original Message-
>From: Udit Agarwal
>Sent: Wednesday, November 20, 2019 2:21 PM
>To: u-boot@lists.denx.de
>Cc: Priyanka Jain ; Arun Pathak
>; Ruchika Gupta ; Udit
>Agarwal
>Subject: [Patch v4 1/2] configs: fsl-layerscape: secure_boot: Enable setexpr
>command
>
>setexpr command is used
>-Original Message-
>From: Pankaj Bansal
>Sent: Wednesday, January 15, 2020 11:27 AM
>To: Priyanka Jain ; Meenakshi Aggarwal
>
>Cc: u-boot@lists.denx.de; Pankaj Bansal
>Subject: [PATCH v2] board: fsl: lx2160a: Fix the loop in board_fix_fdt function
>
>Fix loop in board_fix_fdt that errone
>-Original Message-
>From: Alex Marginean
>Sent: Saturday, January 11, 2020 3:22 AM
>To: u-boot@lists.denx.de
>Cc: Priyanka Jain ; Alexandru Marginean
>
>Subject: [PATCH v2] armv8: ls1028a_serdes: add a few missing serdes
>protocols to supported list
>
>These protocols are supported and fu
>-Original Message-
>From: Alex Marginean
>Sent: Saturday, January 11, 2020 4:36 AM
>To: u-boot@lists.denx.de
>Cc: Priyanka Jain ; Alexandru Marginean
>
>Subject: [PATCH v4 1/5] board: fsl: lx2160a: free up arch_misc_init
>
>Currently LX2 board code uses arch_misc_init to set up the board
Hello Holger,
Am 22.01.2020 um 09:33 schrieb Holger Brunck:
If the board already uses DM_I2C we need to use the dm i2c calls.
Signed-off-by: Holger Brunck
CC: Heiko Schocher
CC: Marek Vasut
---
drivers/bootcount/bootcount_i2c.c | 21 +
1 file changed, 21 insertions(+)
>-Original Message-
>From: U-Boot On Behalf Of Alex Marginean
>Sent: Saturday, January 11, 2020 3:02 AM
>To: u-boot@lists.denx.de
>Cc: Joe Hershberger
>Subject: [PATCH] drivers: net: fsl_enetc: fix SXGMII MAC configuration
>
>Separate MAC and serdes configuration, MAC configuration must b
>-Original Message-
>From: Meenakshi Aggarwal
>Sent: Friday, January 10, 2020 8:13 PM
>To: u-boot@lists.denx.de; Priyanka Jain
>Cc: Meenakshi Aggarwal
>Subject: [PATCH] lx2160: Correct default environment variable
>
>Create separate "boot_scripts" and "boot_script_hdr" environment variab
>-Original Message-
>From: Biwen Li
>Sent: Friday, January 10, 2020 2:46 PM
>To: Priyanka Jain ; Jagdish Gediya
>; Anji Jagarlmudi
>Cc: Jiafei Pan ; Xiaobo Xie ; u-
>b...@lists.denx.de; Biwen Li
>Subject: [RESEND v1 1/2] include/configs: ls1012ardb: adjust kernel_addr_r
>
>The linux kern
On 2020-01-26 22:29, Baruch Siach wrote:
Hi Joel,
On Mon, Jan 27 2020, Joel Johnson wrote:
While newer Linux kernels provide autoconfiguration of SFP, provide
an option for setting in U-Boot Kconfig for use prior to booting.
Signed-off-by: Joel Johnson
---
v2 changes:
- fixed help indenta
>-Original Message-
>From: Pramod Kumar
>Sent: Thursday, January 9, 2020 2:23 PM
>To: u-boot@lists.denx.de
>Cc: Priyanka Jain ; Pramod Kumar
>
>Subject: [PATCH v3] armv8: fsl-layerscape: LS1044A/1048A: enable Only 1x
>10GE port
>
>LS1044A, LS1048A are LS1088A personalities, which support o
Hi,
On 13/01/20 12:56 pm, Kuldeep Singh wrote:
> To support the SPI MEM API, instead of modifying the existing U-Boot
> driver, this patch adds a port of the existing Linux driver.
> This also has the advantage that porting changes and fixes from Linux will
> be easier.
> Porting of driver left mo
>-Original Message-
>From: Masahiro Yamada
>Sent: Wednesday, January 8, 2020 4:17 PM
>To: u-boot@lists.denx.de
>Cc: Masahiro Yamada ; Alison Wang
>; Pankaj Bansal ;
>Prabhakar Kushwaha ; Priyanka Jain
>; Shengzhou Liu ; Tom
>Rini ; Udit Agarwal
>Subject: [PATCH] ARM: LS1021A: remove redun
>-Original Message-
>From: Xiaowei Bao
>Sent: Wednesday, January 8, 2020 12:00 PM
>To: Priyanka Jain ; u-boot@lists.denx.de
>Cc: Xiaowei Bao
>Subject: [PATCH v4] board/lx2160aqds: Update the DSPI status fixup
>
>The dts node of the DSPI controller in kernel is spi instead of dspi, it is n
Add 8_10_0, 21_2_0 and 10_12_3 seredes protocols.
Add the IOSLOT and the mezzanine card mapping against each serdes protocol.
Signed-off-by: Vikas Singh
---
board/freescale/lx2160a/eth_lx2160aqds.c | 84 +++-
1 file changed, 83 insertions(+), 1 deletion(-)
diff --git
>-Original Message-
>From: U-Boot On Behalf Of Alex Marginean
>Sent: Tuesday, December 10, 2019 8:26 PM
>To: u-boot@lists.denx.de
>Cc: Joe Hershberger ; Claudiu Manoil
>; Vladimir Oltean
>Subject: [PATCH v2] drivers: net: fsl_enetc: Pass on primary MAC address to
>Linux
>
>Passes on the p
>-Original Message-
>From: Wasim Khan
>Sent: Monday, January 6, 2020 5:36 PM
>To: Priyanka Jain
>Cc: u-boot@lists.denx.de; Wasim Khan
>Subject: [PATCH v4 1/4] pci: layerscape: Common device tree fixup for NXP
>SoCs
>
>Add Common device tree fixup for NXP SoCs. Based on SoC and revision c
>-Original Message-
>From: Ran Wang
>Sent: Thursday, December 26, 2019 3:41 PM
>To: Priyanka Jain
>Cc: open list ; Ran Wang
>Subject: [PATCH] armv8: ls1012a: Make USB masters snoopable
>
>Program register bit of SCFG_SNPCNFGCR_USBRDSNP and
>SCFG_SNPCNFGCR_USBWRSNP to drive USB read/write
>-Original Message-
>From: U-Boot On Behalf Of Michael Walle
>Sent: Friday, December 20, 2019 6:47 PM
>To: u-boot@lists.denx.de
>Cc: Joe Hershberger
>Subject: [PATCH v2 2/2] drivers: net: fsl_enetc: add write_hwaddr() for
>LS1028A
>
>The LS1028A SoC is special in the handling of the MAC a
>-Original Message-
>From: U-Boot On Behalf Of Michael Walle
>Sent: Friday, December 20, 2019 6:47 PM
>To: u-boot@lists.denx.de
>Cc: Joe Hershberger
>Subject: [PATCH v2 1/2] drivers: net: fsl_enetc: use write_hwaddr()
>
>Intead of setting the MAC address in enetc_start() use the proper
>w
>-Original Message-
>From: Pramod Kumar
>Sent: Friday, December 20, 2019 4:50 PM
>To: u-boot@lists.denx.de
>Cc: Priyanka Jain ; Pramod Kumar
>
>Subject: [PATCH v3] board: ls1046afwry: Disable sgmii support
>
>LS1046A SoC serdes protocol 0x3040 supports both sgmi and qsgmii, however
>ls1046
>-Original Message-
>From: Z.q. Hou
>Sent: Tuesday, December 17, 2019 3:41 PM
>To: u-boot@lists.denx.de; Priyanka Jain ; M.h. Lian
>
>Cc: Z.q. Hou
>Subject: [PATCH 1/2] pci: layerscape: Fix the disabling of Expansion ROM BAR
>
>From: Hou Zhiqiang
>
>The software will still get non-zero E
On 24/01/20 11:58 am, Sagar Kadam wrote:
> Hello Vignesh,
>
>> -Original Message-
>> From: Vignesh Raghavendra
>> Sent: Friday, January 24, 2020 10:24 AM
>> To: Sagar Kadam ; u-boot@lists.denx.de
>> Cc: Paul Walmsley ( Sifive) ;
>> anup.pa...@wdc.com; i...@andestech.com; atish.pa...@wd
Hi Joel,
On Mon, Jan 27 2020, Joel Johnson wrote:
> While newer Linux kernels provide autoconfiguration of SFP, provide
> an option for setting in U-Boot Kconfig for use prior to booting.
>
> Signed-off-by: Joel Johnson
>
> ---
>
> v2 changes:
> - fixed help indentation
> v3 changes:
> - none
On 27/01/20 10:01 am, Keerthy wrote:
On 24/01/20 8:24 pm, Tom Rini wrote:
On Wed, Jan 22, 2020 at 09:29:57AM +0530, Keerthy wrote:
Move the generic elf loading/validating functions to lib/
so that they can be re-used and accessed by code existing
outside cmd.
Signed-off-by: Keerthy
Sugge
Enable new features and provide require device-tree config so that U-Boot
produces the correct ACPI tables on Coral.
Signed-off-by: Simon Glass
---
arch/x86/dts/chromebook_coral.dts | 193 -
configs/chromebook_coral_defconfig | 14 ++-
2 files changed, 199 insertio
Hi Jagan,
On 26/01/20 10:13 pm, Jagan Teki wrote:
> On Fri, Jan 17, 2020 at 9:23 PM Simon Goldschmidt
> wrote:
>>
>> On Fri, Jan 17, 2020 at 2:20 PM Simon Goldschmidt
>> wrote:
>>>
>>> On Fri, Jan 17, 2020 at 2:01 PM Vignesh Raghavendra wrote:
[...]
>> void cadence_qspi_apb_enter_xip(void
On 26/01/20 10:12 pm, Jagan Teki wrote:
> On Sun, Jan 26, 2020 at 7:21 PM Jagan Teki wrote:
>>
>> On Thu, Dec 5, 2019 at 3:45 PM Vignesh Raghavendra wrote:
>>>
>>> This series adds Octal mode support for Micron's mt35x flash.
>>> Also adds Octal mode support for Cadance OSPI/QSPI controller.
>
Add definitions for part of the vboot context used with verified boot.
Signed-off-by: Simon Glass
---
arch/x86/include/asm/acpi/vbnv_layout.h | 41 +
1 file changed, 41 insertions(+)
create mode 100644 arch/x86/include/asm/acpi/vbnv_layout.h
diff --git a/arch/x86/inclu
This file cannot currently be included in ASL files. Add a header guard
to permit this.
Signed-off-by: Simon Glass
---
arch/x86/include/asm/acpi_table.h | 4
1 file changed, 4 insertions(+)
diff --git a/arch/x86/include/asm/acpi_table.h
b/arch/x86/include/asm/acpi_table.h
index 1f2076753
This provides information about a v1 TPM in the system. Generate this
table if the TPM is present.
Add a required new bloblist type and correct the header order of one
header file.
Signed-off-by: Simon Glass
---
arch/x86/lib/acpi_table.c | 52 ++-
include/ac
At present if hyperthreading is disabled the CPU numbering is not
sequential. Fix this.
Signed-off-by: Simon Glass
---
arch/x86/lib/acpi_table.c | 9 ++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/arch/x86/lib/acpi_table.c b/arch/x86/lib/acpi_table.c
index 886960a5fa..e
This provides information about a v2 TPM in the system. Generate this
table if the TPM is present.
Signed-off-by: Simon Glass
---
arch/x86/lib/acpi_table.c | 74 +++
include/acpi_table.h | 11 ++
include/bloblist.h| 1 +
3 files changed, 86
Some boards want to reserve extra regions of memory. Add a 'chosen'
property to support this.
Signed-off-by: Simon Glass
---
arch/x86/lib/fsp/fsp_dram.c | 16
doc/device-tree-bindings/chosen.txt | 18 ++
2 files changed, 34 insertions(+)
diff --git a/ar
Add support for this new field in the common code used by most x86 CPU
drivers.
Signed-off-by: Simon Glass
---
arch/x86/cpu/i386/cpu.c | 23 +++
arch/x86/cpu/intel_common/cpu.c | 1 +
arch/x86/include/asm/cpu.h | 9 +
3 files changed, 33 insertions(+)
This is currently in the wrong place so including the file in the device
tree fails. Fix it.
Signed-off-by: Simon Glass
---
arch/x86/include/asm/e820.h | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/arch/x86/include/asm/e820.h b/arch/x86/include/asm/e820.h
index 9d29f82f9
At present the MTRR registers are programmed with the list the U-Boot
builds up in the same order. In some cases this list may be out of order.
It looks better in Linux to have the registers in order, so sort them,
Signed-off-by: Simon Glass
---
arch/x86/cpu/mtrr.c | 12
1 file cha
Send this notification when U-Boot is about to boot into Linux, as
requested by the FSP.
Signed-off-by: Simon Glass
---
arch/x86/cpu/cpu.c| 15 +++
arch/x86/lib/fsp/fsp_common.c | 16
2 files changed, 31 insertions(+)
diff --git a/arch/x86/cpu/cpu.c b/a
Generate ACPI information for this device so that Linux can use it
correctly.
Signed-off-by: Simon Glass
---
drivers/tpm/cr50_i2c.c | 55 ++
1 file changed, 55 insertions(+)
diff --git a/drivers/tpm/cr50_i2c.c b/drivers/tpm/cr50_i2c.c
index d68534e7a9..5
This new method is intended to be called when UEFI shuts down the 'boot
services', i.e. any lingering code in the boot loader that might be used
by the OS.
Add a definition for this new method and update the comments a little.
Signed-off-by: Simon Glass
---
arch/x86/include/asm/fsp/fsp_api.h |
We don't have CONFIG_PCI in TPL but it is present in SPL, etc. So this
code is not needed. Drop it, and fix a code-style nit just above.
Signed-off-by: Simon Glass
---
arch/x86/cpu/apollolake/pmc.c | 8 ++--
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/arch/x86/cpu/apollola
Apollo Lake needs to generate a few more table types. Add support for
these into the x86 ACPI code.
Signed-off-by: Simon Glass
---
arch/x86/lib/acpi_table.c | 115 ++
include/acpi_table.h | 37
2 files changed, 152 insertions(+)
diff --git
Add ACPI generation to the APL CPU driver.
Signed-off-by: Simon Glass
---
arch/x86/cpu/apollolake/cpu.c | 23 +++
1 file changed, 23 insertions(+)
diff --git a/arch/x86/cpu/apollolake/cpu.c b/arch/x86/cpu/apollolake/cpu.c
index 3ae99ccf04..0af1b0c2cb 100644
--- a/arch/x86/c
Add support for generating various ACPI tables for Apollo Lake. Add a few
S3 definitions that are needed.
Signed-off-by: Simon Glass
---
arch/x86/cpu/apollolake/Makefile| 1 +
arch/x86/cpu/apollolake/acpi.c | 437
arch/x86/include/asm/arch-apollol
Add an ACPI table for the LPC on Apollo Lake.
Signed-off-by: Simon Glass
---
arch/x86/cpu/apollolake/lpc.c | 16
1 file changed, 16 insertions(+)
diff --git a/arch/x86/cpu/apollolake/lpc.c b/arch/x86/cpu/apollolake/lpc.c
index 45b2144fc6..7c0ebf332b 100644
--- a/arch/x86/cpu/a
This currently fails as two required items are commented out. Put them
back in and add a check that reading the config succeeds.
Both of these items need a little more work to put them in an appropriate
driver at some point.
Signed-off-by: Simon Glass
---
arch/x86/cpu/apollolake/fsp_s.c | 6
Some ACPI tables need to include information from the FSP-S config. Rather
than reading it again later, store a pointer to it for use by the ACPI
code.
The FSP-S config is read just after relocation, so can be used during
this phase of U-Boot.
Signed-off-by: Simon Glass
---
arch/x86/cpu/apollo
Support generating a DMAR table and add a few helper routines as well.
Signed-off-by: Simon Glass
---
arch/x86/cpu/apollolake/hostbridge.c | 104 ++
.../include/asm/arch-apollolake/systemagent.h | 6 +
2 files changed, 110 insertions(+)
diff --git a/arch/x86/cpu/apol
Allow this header to be included in ASL files by adding a header guard and
a few definitions that are needed.
Signed-off-by: Simon Glass
---
include/p2sb.h | 8
1 file changed, 8 insertions(+)
diff --git a/include/p2sb.h b/include/p2sb.h
index 93e1155dca..a25170e3d1 100644
--- a/inclu
Add an implementation of the HPET (High Precision Event Timer) ACPI
table.
Signed-off-by: Simon Glass
---
arch/x86/lib/acpi_table.c | 54 +++
include/acpi_table.h | 32 ---
2 files changed, 77 insertions(+), 9 deletions(-)
diff --git
Some Atom SoCs use SWSMISCI for SMI control. Add a Kconfig to select this.
It is used on Apollo Lake.
Signed-off-by: Simon Glass
---
arch/x86/Kconfig| 6 ++
arch/x86/cpu/apollolake/Kconfig | 1 +
2 files changed, 7 insertions(+)
diff --git a/arch/x86/Kconfig b/arch/x86/Kcon
Add various tables that are common to Intel CPUs. These functions can be
used by arch-specific CPU code.
Signed-off-by: Simon Glass
---
arch/x86/cpu/intel_common/Makefile | 2 +
arch/x86/cpu/intel_common/acpi.c | 441 +
arch/x86/include/asm/acpi_table.h | 5 +
These functions should not modify the device. Convert them to const so
that callers don't need to cast if they have a const udevice *.
Signed-off-by: Simon Glass
---
arch/nios2/cpu/cpu.c | 8 +---
arch/x86/cpu/apollolake/cpu.c| 4 ++--
arch/x86/cpu/baytrail/cpu.c
Add an implementation of the DBG2 (Debug Port Table 2) ACPI table.
Adjust one of the header includes to be in the correct order, before
adding more.
Signed-off-by: Simon Glass
---
arch/x86/lib/acpi_table.c | 112 +-
include/acpi_table.h | 31 +++
Add functions to query CPU information, needed for ACPI.
Signed-off-by: Simon Glass
---
arch/x86/cpu/intel_common/cpu.c | 59 +++
arch/x86/include/asm/cpu_common.h | 31
2 files changed, 90 insertions(+)
diff --git a/arch/x86/cpu/intel_common/cpu.
Add some more definitions to the iomap. These will be used by
ACPI-generation code as well as the device tree.
Signed-off-by: Simon Glass
---
arch/x86/include/asm/arch-apollolake/iomap.h | 17 +
1 file changed, 17 insertions(+)
diff --git a/arch/x86/include/asm/arch-apollolake/
Add a command that shows the individual blocks of data generated by each
device. This can be helpful for debugging.
Signed-off-by: Simon Glass
---
cmd/acpi.c | 15 +--
drivers/core/acpi.c | 18 ++
include/dm/acpi.h | 10 ++
test/dm/acpi.c | 39
Add the definition of this structure common to Intel devices. It includes
some optional Chrome OS pieces which are used when vboot is integrated.
Signed-off-by: Simon Glass
---
arch/x86/include/asm/intel_gnvs.h | 43 +++
1 file changed, 43 insertions(+)
create mode
Add SCI and power-state definitions required by ACPI tables.
Update the guard on acpi_pmc.h to avoid an error when buiding ASL.
Signed-off-by: Simon Glass
---
arch/x86/include/asm/arch-apollolake/pm.h | 56 +++
include/power/acpi_pmc.h | 4 +-
2 files chan
This table is needed by the Linux graphics driver to handle graphics
correctly. Write it to ACPI.
Signed-off-by: Simon Glass
---
arch/x86/Kconfig | 8 +
arch/x86/cpu/apollolake/Kconfig| 1 +
arch/x86/cpu/intel_common/Makefile | 2 +
arch/x86/c
Intel WiFi chips can use a common routine to write the information needed
by linux. Add an implementation of this.
Enable it for coral.
Signed-off-by: Simon Glass
---
arch/x86/Kconfig | 8 ++
arch/x86/cpu/intel_common/Makefile | 1 +
arch/x86/cpu/intel_common/
Expand this to 4KB so that it is possible to add custom information to it.
On Chromebooks this is used to pass verified-boot information.
Signed-off-by: Simon Glass
---
arch/x86/include/asm/acpi/global_nvs.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/x86/include/as
U-Boot does not support SMM (System Management Mode) at present, but needs
a few definitions to correctly set up the ACPI table. Add these.
Signed-off-by: Simon Glass
---
arch/x86/include/asm/smm.h | 36
1 file changed, 36 insertions(+)
create mode 100644 a
Add a way to specify the required size for this region. This is used when
generating ACPI tables.
Signed-off-by: Simon Glass
---
arch/x86/Kconfig| 18 ++
arch/x86/cpu/apollolake/Kconfig | 1 +
2 files changed, 19 insertions(+)
diff --git a/arch/x86/Kconfig b/ar
Some devices can wake the system from sleep, e.g opening the lid on a
clamshell or moving a USB mouse.
Add a wake to specify this for USB devices and add the settings for Apollo
Lake.
Signed-off-by: Simon Glass
---
arch/x86/include/asm/arch-apollolake/gpe.h | 134
arch/x8
Add Apollo Lake ASL files, taken from coreboot.
Signed-off-by: Simon Glass
---
.../include/asm/arch-apollolake/acpi/dptf.asl | 35
.../asm/arch-apollolake/acpi/globalnvs.asl| 41
.../include/asm/arch-apollolake/acpi/gpio.asl | 191 ++
.../asm/arch-apollolake/acpi
At present U-Boot puts a magic number in the ASL for the GNVS table and
searches for later.
Add a Kconfig option to use a different approach, where the ASL files
declare the table as an external symbol. U-Boot can then put it wherever
it likes, without any magic numbers or searching.
Signed-off-b
Add common DPTF (Intel Dynamic Performance and Thermal Framework) files,
taken from coreboot.
Signed-off-by: Simon Glass
---
arch/x86/include/asm/acpi/dptf/charger.asl | 65 +++
arch/x86/include/asm/acpi/dptf/cpu.asl | 186
arch/x86/include/asm/acpi/dptf/dptf.asl| 121 +
a
Add ASL files for the Chrome OS EC, taken from coreboot.
Signed-off-by: Simon Glass
---
arch/x86/include/asm/acpi/cros_ec/ac.asl | 22 +
arch/x86/include/asm/acpi/cros_ec/als.asl | 56 ++
arch/x86/include/asm/acpi/cros_ec/battery.asl | 411 +
arch/x86/include/asm/acpi/cro
This value is incorrect and causes problems booting Linux. Fix it.
Signed-off-by: Simon Glass
---
board/google/chromebook_coral/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/board/google/chromebook_coral/Kconfig
b/board/google/chromebook_coral/Kconfig
index 940bee
This device has a large set of ACPI tables. Bring these in from coreboot
so that full functionality is available (apart from SMI).
Signed-off-by: Simon Glass
---
board/google/chromebook_coral/Makefile| 1 +
.../chromebook_coral/baseboard_dptf.asl | 71
board/google
Add common x86 ASL files, taken from coreboot.
Signed-off-by: Simon Glass
---
arch/x86/include/asm/acpi/chromeos.asl| 110 +
arch/x86/include/asm/acpi/cpu.asl | 25
arch/x86/include/asm/acpi/cros_gnvs.asl | 29 +
arch/x86/include/asm/acpi/lpc.asl
This function sounds like something that is called when U-Boot is about to
jump to Linux. In fact it is an init function.
Rename it to reduce confusion.
Signed-off-by: Simon Glass
---
arch/x86/cpu/coreboot/coreboot.c | 4 ++--
arch/x86/cpu/cpu.c | 8
arch/x86/cpu/efi/app
This binding currently has a flags cell but it is not used. Make use of it
to create ACPI tables for interrupts.
Signed-off-by: Simon Glass
---
arch/x86/cpu/acpi_gpe.c | 22 +++
.../interrupt-controller/x86-irq.h| 14
2 files change
This should ideally be used by all x86 boards in U-Boot. Enable it by
default. If some boards don't use it, the cost is small.
Signed-off-by: Simon Glass
---
arch/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/Kconfig b/arch/Kconfig
index ae9c93ed7b..4454fb0f9a 100644
--- a/ar
Many I2C devices produce roughly the same ACPI data with just things like
the GPIO/interrupt information being different.
This can be handled by a generic driver along with some information in the
device tree.
Add a generic i2c driver for this purpose.
Signed-off-by: Simon Glass
---
doc/devic
This confuses Linux's PCI probing so needs to be hidden when booting
Linux. Add a remove() method to handle this.
Signed-off-by: Simon Glass
---
arch/x86/cpu/apollolake/p2sb.c | 14 ++
1 file changed, 14 insertions(+)
diff --git a/arch/x86/cpu/apollolake/p2sb.c b/arch/x86/cpu/apoll
Add support for this new method in the driver and in the fsp-s setup.
Signed-off-by: Simon Glass
---
arch/x86/cpu/apollolake/fsp_s.c | 27 ++-
arch/x86/cpu/apollolake/p2sb.c | 30 ++
2 files changed, 40 insertions(+), 17 deletions(-)
diff --
Writing tables is currently pretty opaque. Add a bit of debugging to the
process so we can see what tables are written and where they start/end in
memory.
Signed-off-by: Simon Glass
---
arch/x86/lib/tables.c | 35 ++-
1 file changed, 26 insertions(+), 9 deletions
These registers need to be accesses from ACPI code, so move them to the
header file.
Signed-off-by: Simon Glass
---
drivers/power/acpi_pmc/acpi-pmc-uclass.c | 9 -
include/power/acpi_pmc.h | 14 ++
2 files changed, 14 insertions(+), 9 deletions(-)
diff --gi
1 - 100 of 241 matches
Mail list logo