On 9/22/20 5:57 PM, Matthias Brugger wrote:
> Hi Heinrich,
>
> On 20/09/2020 12:09, Heinrich Schuchardt wrote:
>> Describe the packages required to build U-Boot on Suse.
>>
>> Signed-off-by: Heinrich Schuchardt
>> ---
>> Hello Matthias,
>>
>> I would like to add a sub-chapter to our documentation
On 9/22/20 12:27 PM, Heinrich Schuchardt wrote:
> In the UEFI subsystem we test the RNG device.
> On QEMU it is provided via '-device virtio-rng-pci'.
>
> We need to add this PCI device before enable DM_RNG on ARCH_ARM.
Applied, thanks.
On 9/22/20 5:26 PM, Tom Rini wrote:
> On Sat, Sep 19, 2020 at 07:55:35AM +0200, Heinrich Schuchardt wrote:
>
>> The EFI_RNG_PROTOCOL is needed for address randomization in Linux.
>> We should provide it by default on QEMU.
>>
>> Reported-by: François Ozog
>> Signed-off-by: Heinrich Schuchardt
>
On Tue, Sep 22, 2020 at 08:03:49PM +0200, Heinrich Schuchardt wrote:
> Most users don't need the standalone API examples. Distributions like Suse
> do not supply libgcc for cross-compiling and we cannot do without on ARMv8
> for building examples/.
>
> Make examples customizable via symbol
Add the definition of this structure common to Intel devices. It includes
some optional Chrome OS pieces which are used when vboot is integrated.
Drop the APL version as it is basically the same.
Signed-off-by: Simon Glass
---
(no changes since v1)
Changes in v1:
- Use this file in APL
Add Apollo Lake ASL files, taken from coreboot.
Signed-off-by: Simon Glass
---
(no changes since v1)
.../include/asm/arch-apollolake/acpi/dptf.asl | 35
.../asm/arch-apollolake/acpi/globalnvs.asl| 41
.../include/asm/arch-apollolake/acpi/gpio.asl | 191 ++
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
---
(no changes since v1)
arch/x86/include/asm/acpi/global_nvs.h | 2 +-
arch/x86/include/asm/intel_gnvs.h | 1 +
2 files
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
---
Changes in v4:
- Add logging when writinge NHLT
- Change table version to 3
Changes in v1:
- Add NHLT audio support
- Capitalise
Add functions to support generating ACPI code for condition checks and
return values.
Signed-off-by: Simon Glass
---
(no changes since v1)
include/acpi/acpigen.h | 93 ++
lib/acpi/acpigen.c | 68 ++
test/dm/acpigen.c
At present U-Boot puts a magic number in the ASL for the GNVS table and
searches for it 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.
These are needed for the CPU tables. Add them into an x86-specific file
since we do not support them on sandbox, or include tests.
Signed-off-by: Simon Glass
---
(no changes since v1)
Changes in v1:
- Split PCT and PTC tables into a separate patch
arch/x86/include/asm/acpigen.h | 35
Add various tables that are common to Intel CPUs. These functions can be
used by arch-specific CPU code.
Signed-off-by: Simon Glass
---
(no changes since v1)
arch/x86/cpu/intel_common/Makefile | 2 +
arch/x86/cpu/intel_common/acpi.c | 377 +
This adds tables relating to P-States and C-States.
Signed-off-by: Simon Glass
---
(no changes since v1)
include/acpi/acpigen.h | 162 +++
lib/acpi/acpigen.c | 167 +++
test/dm/acpigen.c | 294 +
3 files
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
---
(no changes since v1)
arch/x86/Kconfig| 6 ++
arch/x86/cpu/apollolake/Kconfig | 1 +
2 files changed, 7 insertions(+)
diff --git
ACPI has a number of CPU-related tables. Add utility functions to write
out the basic packages.
Signed-off-by: Simon Glass
---
(no changes since v1)
include/acpi/acpigen.h | 39 +++
lib/acpi/acpigen.c | 55 +
test/dm/acpigen.c | 106
Add a few functions to permit reading of various useful base addresses
provided by the hostbridge.
Signed-off-by: Simon Glass
---
(no changes since v1)
Changes in v1:
- Add comments
arch/x86/cpu/apollolake/hostbridge.c | 27
On Thu, 10 Sep 2020 at 10:44, Patrick Delaunay wrote:
>
> The cell_count argument is required when cells_name is NULL.
>
> This patch adds this parameter in live tree API
> - of_count_phandle_with_args
> - ofnode_count_phandle_with_args
> - dev_count_phandle_with_args
>
> This parameter solves
On Thu, 17 Sep 2020 at 00:52, Andre Heider wrote:
>
> Unused.
>
> Signed-off-by: Andre Heider
> ---
> include/configs/smdkv310.h | 3 ---
> 1 file changed, 3 deletions(-)
>
Reviewed-by: Simon Glass
On Thu, 17 Sep 2020 at 00:52, Andre Heider wrote:
>
> These are all unused.
>
> Signed-off-by: Andre Heider
> ---
> This sets completely removes CONFIG_DEFAULT_CONSOLE from the tree.
> Only compile time tested.
>
> include/configs/arndale.h | 2 --
> include/configs/espresso7420.h | 3 ---
On 9/22/20 8:42 PM, Tom Rini wrote:
> On Tue, Sep 22, 2020 at 08:03:49PM +0200, Heinrich Schuchardt wrote:
>
>> Most users don't need the standalone API examples. Distributions like Suse
>> do not supply libgcc for cross-compiling and we cannot do without on ARMv8
>> for building examples/.
>>
>>
Hi Heinrich,
On Thu, 17 Sep 2020 at 06:19, Heinrich Schuchardt wrote:
>
> Some drivers use macro pr_cont() for continuing a message sent via printk.
> Hence if we want to convert printk messaging to using the logging system,
> we must support continuation of log messages too.
>
> As pr_cont()
Add some documentation provided by Andy Shevchenko to describe how to
use struct acpi_gpio.
Signed-off-by: Simon Glass
---
Changes in v4:
- Add Andy's documentation to struct acpi_gpio
include/acpi/acpi_device.h | 22 ++
1 file changed, 22 insertions(+)
diff --git
At present this function only supports FSP-M but it is also used to read
FSP-S, in which case FSP-M may be zero. Add support for showing whichever
address is present in the FSP binary.
Also change the debug() statements to log_debug() while here.
Signed-off-by: Simon Glass
Reviewed-by: Bin Meng
Hi Heinrich,
On Tue, 22 Sep 2020 at 12:04, Heinrich Schuchardt wrote:
>
> Most users don't need the standalone API examples. Distributions like Suse
> do not supply libgcc for cross-compiling and we cannot do without on ARMv8
> for building examples/.
>
> Make examples customizable via symbol
Use the correct name of the ACPI structure being created.
Signed-off-by: Simon Glass
---
Changes in v4:
- Add new patch to use I2cSerialBusV2() instead of I2cSerialBus()
include/acpi/acpi_device.h | 2 +-
lib/acpi/acpi_device.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
Hi Ning,
On Mon, 14 Sep 2020 at 13:26, zhangn1...@outlook.com
wrote:
>
> Hi, Simon
>
> I find a guide in mainline uboot code, which updated by you.
> This guide is for chromebook_jerry, can it apply to Flip C100p (minnie)?
>
> If it can apply to minnie, my understanding are:
> Build
On Sun, 20 Sep 2020 at 02:04, Heinrich Schuchardt wrote:
>
> Sphinx documentation is only available for enums not for #defines.
> Anyway it is better to keep related definitions in an enum.
>
> Signed-off-by: Heinrich Schuchardt
> ---
> v2:
> enum gd_flags must not be exposed to
On 9/22/20 2:06 PM, Biju Das wrote:
> Use "imply" instead of "select" for BOARD_EARLY_INIT_F config option,
> and then disable it on boards which don't need it.
>
> Updated grpeach_defconfig to disable CONFIG_BOARD_EARLY_INIT_F option for
> RZA1.
Applied to sh/next, thanks.
Hi,
Am 2020-09-22 14:36, schrieb Tom Rini:
On Tue, Sep 22, 2020 at 08:59:00AM +0200, Michael Walle wrote:
Hi,
Am 2020-09-22 03:18, schrieb Tom Rini:
> On Mon, Sep 21, 2020 at 10:56:14PM +0200, Michael Walle wrote:
> > Hi,
> >
[..]
> > > > >>> >> called in the bootefi case. So even if I'd
On 9/22/20 8:51 AM, Biju Das wrote:
> The micrel phy driver is already configuring this values from
> device tree. So remove the redundant phy configuration call from
> this driver.
Applied to sh/next, thanks
On 9/22/20 10:41 AM, Biju Das wrote:
> Default s_init weak function available, so remove the
> s_init empty function.
Applied to sh/next, thanks
On 9/22/20 10:09 AM, Biju Das wrote:
> Mark the default s_init function as weak, so that SoC's can
> override it if needed, and it will still be discarded if unused.
Applied to sh/next, thanks
Hi Wolfgang,
On Mon, 21 Sep 2020 at 07:50, Wolfgang Wallner
wrote:
>
> Hi Simon,
>
> -"Simon Glass" schrieb: -
> > Betreff: [PATCH v3 02/57] x86: acpi: Add base asl files for common x86
> > devices
> >
> > Add common x86 ASL files, taken from coreboot.
> >
> > Signed-off-by: Simon
Hi Bin,
On Sun, 20 Sep 2020 at 19:58, Bin Meng wrote:
>
> Hi Simon,
>
> On Sun, Sep 6, 2020 at 3:15 AM Simon Glass wrote:
> >
> > With x86 we can execute an option ROM either natively or using the x86
> > emulator (if enabled with CONFIG_BIOSEMU). Both of these share the
> > _X86EMU_env
Most users don't need the standalone API examples. Distributions like Suse
do not supply libgcc for cross-compiling and we cannot do without on ARMv8
for building examples/.
Make examples customizable via symbol CONFIG_EXAMPLES. It only defaults to
yes to ensure that we compile it on Gitlab CI.
Most users don't need the standalone API examples. Distributions like Suse
do not supply libgcc for cross-compiling and we cannot do without on ARMv8
for building examples/.
Make examples customizable via symbol CONFIG_EXAMPLES. It only defaults to
yes to ensure that we compile it on Gitlab CI.
In the UEFI subsystem we test the RNG device.
On QEMU it is provided via '-device virtio-rng-pci'.
We need to add this PCI device before enable DM_RNG on ARCH_ARM.
Signed-off-by: Heinrich Schuchardt
---
Tested on Gitlab CI:
Add a way to specify the required size for this region. This is used when
generating ACPI tables.
Signed-off-by: Simon Glass
---
(no changes since v1)
arch/x86/Kconfig| 18 ++
arch/x86/cpu/apollolake/Kconfig | 1 +
2 files changed, 19 insertions(+)
diff --git
Add common x86 ASL files, taken from coreboot.
Signed-off-by: Simon Glass
Tested-by: Wolfgang Wallner
---
(no changes since v1)
arch/x86/include/asm/acpi/chromeos.asl| 108 +
arch/x86/include/asm/acpi/cpu.asl | 25
arch/x86/include/asm/acpi/cros_gnvs.asl |
This value is incorrect and causes problems booting Linux. Fix it.
Signed-off-by: Simon Glass
Reviewed-by: Bin Meng
---
(no changes since v1)
board/google/chromebook_coral/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/board/google/chromebook_coral/Kconfig
Add ASL files for the Chrome OS EC, taken from coreboot.
Signed-off-by: Simon Glass
---
(no changes since v1)
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 +
Note: This is part D of this effort. With this, Coral includes all
required ACPI tables.
At present on x86 U-Boot supports creating ACPI (Advanced Configuration
and Power Interface) tables using the Intel ACPI Source Language (ASL)
compiler.
This is good enough for basic operation but some
Add common DPTF (Intel Dynamic Performance and Thermal Framework) files,
taken from coreboot.
Signed-off-by: Simon Glass
---
(no changes since v1)
arch/x86/include/asm/acpi/dptf/charger.asl | 65 +++
arch/x86/include/asm/acpi/dptf/cpu.asl | 186
At present if hyperthreading is disabled the CPU numbering is not
sequential. Fix this.
Signed-off-by: Simon Glass
---
(no changes since v1)
arch/x86/lib/acpi_table.c | 9 ++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/arch/x86/lib/acpi_table.c
This provides information about a v2 TPM in the system. Generate this
table if the TPM is present.
Signed-off-by: Simon Glass
---
(no changes since v1)
arch/x86/lib/acpi_table.c | 74 +++
include/acpi/acpi_table.h | 11 ++
include/bloblist.h| 1
Add files describing the various audio configurations supported on coral.
These are passed to Linux in the ACPI tables.
Signed-off-by: Simon Glass
---
(no changes since v1)
Changes in v1:
- Add new patch with coral audio descriptor files
.../chromebook_coral/dialog-2ch-48khz-24b.dat| Bin
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
---
(no changes since v1)
arch/x86/lib/acpi_table.c | 54
This file doesn't currently have a log category. Add one so that items
are logged correctly.
Signed-off-by: Simon Glass
Reviewed-by: Bin Meng
---
(no changes since v1)
arch/x86/lib/acpi_table.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/x86/lib/acpi_table.c
If locating the FSP header hangs for whatever reason it is useful to see
where it got stuck. Add a debug print. Also show the address of the FSP-S
entry point as a sanity check.
Signed-off-by: Simon Glass
Reviewed-by: Bin Meng
---
(no changes since v1)
arch/x86/lib/fsp2/fsp_silicon_init.c |
Send this notification when U-Boot is about to boot into Linux, as
requested by the FSP.
Currently this causes a crash with the APL FSP, so leave it disabled for
now.
Signed-off-by: Simon Glass
---
(no changes since v1)
arch/x86/cpu/cpu.c| 15 +++
This file cannot currently be included in ASL files. Add a header guard
to permit this.
Signed-off-by: Simon Glass
Reviewed-by: Bin Meng
---
(no changes since v1)
arch/x86/include/asm/acpi_table.h | 4
1 file changed, 4 insertions(+)
diff --git a/arch/x86/include/asm/acpi_table.h
On Sat, 19 Sep 2020 at 10:10, Heinrich Schuchardt wrote:
>
> Add the description of the global data pointer to the generated HTML
> documentation.
>
> Signed-off-by: Heinrich Schuchardt
> ---
> doc/develop/global_data.rst | 53 +
> doc/develop/index.rst
On Thu, 17 Sep 2020 at 06:19, Heinrich Schuchardt wrote:
>
> Provide a unit test checking that a continuation message will use the same
> log level and log category as the previous message.
>
> Signed-off-by: Heinrich Schuchardt
> ---
> test/log/Makefile| 4 +++-
> test/log/cont_test.c |
On Thu, 17 Sep 2020 at 00:52, Andre Heider wrote:
>
> In prepartion to remove CONFIG_DEFAULT_CONSOLE, fold the current users.
>
> Signed-off-by: Andre Heider
> ---
> include/configs/odroid.h| 7 +--
> include/configs/odroid_xu3.h| 6 +-
> include/configs/s5p_goni.h
On Sat, 19 Sep 2020 at 10:10, Heinrich Schuchardt wrote:
>
> Add the missing Sphinx documentation for struct global_data and
> gd_board_type().
>
> Signed-off-by: Heinrich Schuchardt
> ---
> include/asm-generic/global_data.h | 357 ++
> 1 file changed, 309
On 9/22/20 8:48 PM, Simon Glass wrote:
> Hi Heinrich,
>
> On Thu, 17 Sep 2020 at 06:19, Heinrich Schuchardt wrote:
>>
>> Some drivers use macro pr_cont() for continuing a message sent via printk.
>> Hence if we want to convert printk messaging to using the logging system,
>> we must support
Add an implementation of the HPET (High Precision Event Timer) ACPI
table. Since this is x86-specific, put it in an x86-specific file
Signed-off-by: Simon Glass
---
(no changes since v1)
Changes in v1:
- Put this code in an x86-specific place and update commit message
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.
Note that the DBG2 table is generic but the PCI UART is x86-specific at
present since it assumes an ns16550 UART. It can be generalised later
if
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
---
(no changes since v1)
arch/x86/include/asm/arch-apollolake/iomap.h | 16
1 file changed, 16 insertions(+)
diff --git
Add functions to query CPU information, needed for ACPI.
Signed-off-by: Simon Glass
---
(no changes since v1)
Changes in v1:
- Add more comments and rename cpu_get_bus_clock to cpu_get_bus_clock_khz()
arch/x86/cpu/intel_common/cpu.c | 64 +++
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
---
(no changes since v1)
arch/x86/include/asm/smm.h | 27 +++
1 file changed, 27 insertions(+)
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
---
Changes in v4:
- Correct DPTF enable property
- Correct compatible string for gma device
Changes in v3:
- Rebase to master
Changes in v2:
-
At present linux/bitops.h is included in ACPI code. This is not needed and
can cause a problem in fls64.h since BITS_PER_LONG is not defined. Move
the #include into the part not used by ACPI.
Signed-off-by: Simon Glass
Reviewed-by: Bin Meng
---
(no changes since v2)
Changes in v2:
- Add new
Some boards want to reserve extra regions of memory. Add a 'chosen'
property to support this.
Reviewed-by: Bin Meng
Signed-off-by: Simon Glass
---
(no changes since v1)
arch/x86/lib/fsp/fsp_dram.c | 17 +
doc/device-tree-bindings/chosen.txt | 18 ++
2
A few fields have an open-coded length. Use the defines for this purpose
instead.
Signed-off-by: Simon Glass
Reviewed-by: Bin Meng
---
(no changes since v1)
include/acpi/acpi_table.h | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/include/acpi/acpi_table.h
If U-Boot is not running FSP-S it should not do the pre-init either. Add a
condition to handle this.
Signed-off-by: Simon Glass
---
(no changes since v1)
arch/x86/cpu/apollolake/fsp_s.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/x86/cpu/apollolake/fsp_s.c
On Sat, 19 Sep 2020 at 12:05, Heinrich Schuchardt wrote:
>
> Add doc/arch/sandbox.rst to the scope of SANDBOX.
>
> Signed-off-by: Heinrich Schuchardt
> ---
> MAINTAINERS | 1 +
> 1 file changed, 1 insertion(+)
>
Reviewed-by: Simon Glass
On Thu, 17 Sep 2020 at 00:52, Andre Heider wrote:
>
> There're no users left.
>
> Signed-off-by: Andre Heider
> ---
> scripts/config_whitelist.txt | 1 -
> 1 file changed, 1 deletion(-)
Reviewed-by: Simon Glass
Hi Heinrich,
On Sat, 19 Sep 2020 at 10:05, Heinrich Schuchardt wrote:
>
> Sphinx documentation is only available for enums not for #defines.
> Anyway it is better to keep related definitions in an enum.
>
> Signed-off-by: Heinrich Schuchardt
> ---
> include/asm-generic/global_data.h | 104
On Sat, 19 Sep 2020 at 12:05, Heinrich Schuchardt wrote:
>
> Reformat the command line options chapter so that the command line options
> clearly stand out.
>
> Signed-off-by: Heinrich Schuchardt
> ---
> doc/arch/sandbox.rst | 57 +---
> 1 file changed,
On 9/22/20 8:49 PM, Simon Glass wrote:
> Hi Heinrich,
>
> On Sat, 19 Sep 2020 at 10:05, Heinrich Schuchardt wrote:
>>
>> Sphinx documentation is only available for enums not for #defines.
>> Anyway it is better to keep related definitions in an enum.
>>
>> Signed-off-by: Heinrich Schuchardt
>>
This table is needed by the Linux graphics driver to handle graphics
correctly. Write it to ACPI.
Signed-off-by: Simon Glass
---
(no changes since v1)
Changes in v1:
- Capitalise ACPI_OPS_PTR
- Don't build for SPL
arch/x86/Kconfig | 8 +
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
Reviewed-by:
This function currently accepts the IRQ-polarity type. Fix it to use the
GPIO type instead.
Signed-off-by: Simon Glass
---
(no changes since v2)
Changes in v2:
- add new patch to fix polarity type in acpi_dp_add_gpio()
drivers/sound/max98357a.c | 2 +-
include/acpi/acpi_dp.h| 2 +-
A 'Power Resource for Wake' list the resources a device depends on for
wake. Add a function to generate this.
Signed-off-by: Simon Glass
---
Changes in v4:
- Correct comment for dm_test_acpi_write_prw()
include/acpi/acpigen.h | 10 ++
lib/acpi/acpigen.c | 10 ++
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
---
(no changes since v1)
arch/x86/include/asm/arch-apollolake/gpe.h | 135
The extra ACPI code increases U-Boot above it current size limit. Move
the start earlier to provide space.
Signed-off-by: Simon Glass
Reviewed-by: Bin Meng
---
(no changes since v2)
Changes in v2:
- Add new patch to allow more space for U-Boot on link
configs/chromebook_link_defconfig | 2
Add a function to generate ACPI code for a _DSM method for a device.
This includes functions for starting and ending each part of the _DSM.
Signed-off-by: Simon Glass
---
(no changes since v1)
include/acpi/acpi_device.h | 14 +
include/acpi/acpigen.h | 99
Add SCI and power-state definitions required by ACPI tables. Fix the
license to match the original source file.
Als update the guard on acpi_pmc.h to avoid an error when buiding ASL.
Signed-off-by: Simon Glass
---
(no changes since v1)
Changes in v1:
- Use SHIFT and MASK for defines
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
---
(no changes since v1)
Changes in v1:
- Capitalise ACPI_OPS_PTR
- Use acpi,ddn instead of acpi,desc
arch/x86/Kconfig
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
---
(no changes since v1)
arch/x86/cpu/apollolake/pmc.c | 8 ++--
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git
Add support for generating various ACPI tables for Apollo Lake. Add a few
S3 definitions that are needed.
Signed-off-by: Simon Glass
---
(no changes since v1)
Changes in v1:
- Drop unnecessary callbacks
arch/x86/cpu/apollolake/Makefile| 1 +
arch/x86/cpu/apollolake/acpi.c
Add an ACPI table for the LPC on Apollo Lake.
Signed-off-by: Simon Glass
---
(no changes since v1)
Changes in v1:
- Capitalise ACPI_OPS_PTR
arch/x86/cpu/apollolake/lpc.c | 18 ++
1 file changed, 18 insertions(+)
diff --git a/arch/x86/cpu/apollolake/lpc.c
Support generating a DMAR table and add a few helper routines as well.
Also set up NHLT so that audio works.
Signed-off-by: Simon Glass
---
Changes in v4:
Drop extra acpi_align() in apl_acpi_hb_write_tables()
Changes in v1:
- Add support for NHLT table
- Capitalise ACPI_OPS_PTR
- Move the
Apollo Lake needs to generate a few more table types used on Intel SoCs.
Add support for these into the x86 ACPI code.
Signed-off-by: Simon Glass
---
(no changes since v1)
Changes in v1:
- Move this code into an x86-specific file
- Update commit message
- Use OEM_TABLE_ID instead of
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
Reviewed-by: Bin Meng
---
(no changes
This is currently in the wrong place, so including the file in the device
tree fails. Fix it.
Signed-off-by: Simon Glass
Reviewed-by: Bin Meng
---
(no changes since v1)
Changes in v1:
- Update commit message with a comma
arch/x86/include/asm/e820.h | 3 +--
1 file changed, 1 insertion(+), 2
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
---
(no changes since v1)
arch/x86/cpu/mtrr.c | 12
Generate ACPI information for this device so that Linux can use it
correctly.
Signed-off-by: Simon Glass
---
(no changes since v1)
Changes in v1:
- Capitalise ACPI_OPS_PTR
- Update for acpi_device_write_i2c_dev() return-value change
- Use acpi,ddn instead of acpi,desc
drivers/tpm/cr50_i2c.c
Add support for this new field in the common code used by most x86 CPU
drivers.
Signed-off-by: Simon Glass
---
(no changes since v1)
arch/x86/cpu/i386/cpu.c | 23 +++
arch/x86/cpu/intel_common/cpu.c | 1 +
arch/x86/cpu/x86_64/cpu.c | 5 +
Add ACPI generation to the APL CPU driver.
Signed-off-by: Simon Glass
---
(no changes since v1)
Changes in v1:
- Capitalise ACPI_OPS_PTR
- Handle table generation without callbacks
arch/x86/cpu/apollolake/cpu.c | 77 ++
arch/x86/lib/Makefile | 3
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
---
(no changes since v1)
include/p2sb.h | 8
1 file changed, 8 insertions(+)
diff --git a/include/p2sb.h b/include/p2sb.h
index
Hi Marek,
> -Original Message-
> From: Biju Das
> Sent: 21 September 2020 18:30
> To: Marek Vasut ; Nobuhiro Iwamatsu
>
> Cc: u-boot@lists.denx.de; Chris Paterson ;
> Prabhakar Mahadev Lad
> Subject: RE: [PATCH 1/2] arm: rmobile: Add RZ/G2M SoC
>
>
> Hi Marek,
>
> Thanks for the
Renesas Draak board based on R-Car D3 has single CA53.
This patch drops check for cputype from reset_cpu() and also drops the
corresponding CA57 macros. While at it also dropped RST_RSTOUTCR macro
which is unused.
Signed-off-by: Biju Das
Reviewed-by: Lad Prabhakar
---
From: Vladimir Oltean
The tsec driver now requires DM_MDIO when DM_ETH is enabled. To avoid
build errors, enable DM_MDIO in these boards' configs before we actually
add DM_MDIO support to tsec.
Signed-off-by: Vladimir Oltean
Signed-off-by: Hou Zhiqiang
---
V6:
- No code change, just move it
From: Hou Zhiqiang
P2020RDB implements 3 enhanced three-speed Ethernet controllers,
and the connection is shown below:
eTSEC1: Connected to RGMII switch VSC7385
eTSEC2: Connected to SGMII PHY VSC8221
eTSEC3: Connected to SGMII PHY AR8021
Signed-off-by: Hou Zhiqiang
---
V6:
- No
From: Hou Zhiqiang
Enable the DM_ETH and DM_MDIO config.
Signed-off-by: Hou Zhiqiang
---
V6:
- No change.
configs/P1010RDB-PA_36BIT_NAND_defconfig | 2 ++
configs/P1010RDB-PA_36BIT_NOR_defconfig | 2 ++
configs/P1010RDB-PA_36BIT_SDCARD_defconfig | 2 ++
On Mon, Sep 7, 2020 at 5:45 AM Simon Glass wrote:
>
> At present this function only supports FSP-M but it is also used to read
> FSP-S, in which case FSP-M may be zero. Add support for showing whichever
> address is present in the FSP binary.
>
> Also change the debug() statements to log_debug()
On Mon, Sep 7, 2020 at 5:44 AM Simon Glass wrote:
>
> This file doesn't currently have a log category. Add one so that items
> are logged correctly.
>
> Signed-off-by: Simon Glass
> ---
>
> (no changes since v1)
>
> arch/x86/lib/acpi_table.c | 2 ++
> 1 file changed, 2 insertions(+)
>
On Mon, Sep 7, 2020 at 5:45 AM Simon Glass wrote:
>
> If locating the FSP header hangs for whatever reason it is useful to see
> where it got stuck. Add a debug print. Also show the address of the FSP-S
> entry point as a sanity check.
>
> Signed-off-by: Simon Glass
> ---
>
> (no changes since
1 - 100 of 252 matches
Mail list logo