Re: [PATCH v2 41/44] x86: Drop setup_pcat_compatibility()

2020-07-12 Thread Bin Meng
On Wed, Jul 8, 2020 at 11:34 AM Simon Glass wrote: > > This function does not exist anymore. Drop it from the header file. > > Signed-off-by: Simon Glass > --- > > Changes in v2: > - Remove the function from zimage.c also > > arch/x86/include/asm/u-boot-x86.h | 2 -- > arch/x86/lib/zimage.c

Re: [PATCH v1 07/43] dm: acpi: Add support for the NHLT table

2020-07-12 Thread Bin Meng
Hi Simon, On Mon, Jul 13, 2020 at 3:37 AM Simon Glass wrote: > > Hi Bin, > > On Tue, 7 Jul 2020 at 21:25, Simon Glass wrote: > > > > Hi Bin, > > > > On Mon, 6 Jul 2020 at 18:22, Bin Meng wrote: > > > > > > Hi Simon, > > > > > > On Tue, Jul 7, 2020 at 3:22 AM Simon Glass wrote: > > > > > > > >

Re: [PATCH v2 28/44] i2c: designware_i2c: Support ACPI table generation

2020-07-12 Thread Bin Meng
Hi Simon, On Mon, Jul 13, 2020 at 1:54 PM Bin Meng wrote: > > On Wed, Jul 8, 2020 at 7:11 PM Wolfgang Wallner > wrote: > > > > Hi Simon, > > > > -"Simon Glass" schrieb: - > > > Betreff: [PATCH v2 28/44] i2c: designware_i2c: Support ACPI table > > > generation > > > > > > Update the PCI

Re: [PATCH v2 44/44] acpi: Enable ACPI table generation by default on x86

2020-07-12 Thread Bin Meng
On Wed, Jul 8, 2020 at 11:34 AM Simon Glass wrote: > > 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 > --- > > Changes in v2: > - Don't enable this for qemu > > arch/Kconfig

Re: [PATCH v2 39/44] x86: mp: Allow use of mp_run_on_cpus() without MP

2020-07-12 Thread Bin Meng
Hi Simon, On Wed, Jul 8, 2020 at 11:34 AM Simon Glass wrote: > > At present if MP is not enabled (e.g. booting from coreboot) the 'mtrr' > command does not work correctly. It is not easy to make it work for all > CPUs, since coreboot has halted them and we would need to start them up > again, but

Re: [PATCH v2 37/44] x86: apl: Adjust FSP-M code to avoid hard-coded address

2020-07-12 Thread Bin Meng
On Wed, Jul 8, 2020 at 11:34 AM Simon Glass wrote: > > Update this code to calculate the address to use, rather than hard-coding > it. Obtain the requested stack size from the FSP. > > Signed-off-by: Simon Glass > Reviewed-by: Wolfgang Wallner > --- > > Changes in v2: > - Split out the boot_mode

Re: [PATCH v2 36/44] x86: apl: Set the correct boot mode in the FSP-M code

2020-07-12 Thread Bin Meng
On Wed, Jul 8, 2020 at 11:34 AM Simon Glass wrote: > > If there is MRC information we should run FSP-M with a different > boot_mode flag since it is supposed to do a 'fast path' through the > memory init. Fix this. > > Signed-off-by: Simon Glass > Reviewed-by: Wolfgang Wallner > --- > > Changes

Re: [PATCH v2 32/44] pmc: Move common registers to the header file

2020-07-12 Thread Bin Meng
On Wed, Jul 8, 2020 at 11:34 AM Simon Glass wrote: > > These registers need to be accesses from ACPI code, so move them to the > header file. > > Signed-off-by: Simon Glass > Reviewed-by: Wolfgang Wallner > --- > > (no changes since v1) > > drivers/power/acpi_pmc/acpi-pmc-uclass.c | 9

Re: [PATCH v2 34/44] x86: apl: Fix save/restore of ITSS priorities

2020-07-12 Thread Bin Meng
On Wed, Jul 8, 2020 at 11:34 AM Simon Glass wrote: > > The FSP-S changes the ITSS priorities. The code that tries to save it > before running FSP-S and restore it afterwards does not work as U-Boot > relocates in between the save and restore. This means that the driver > data saved before relocati

Re: [PATCH v2 28/44] i2c: designware_i2c: Support ACPI table generation

2020-07-12 Thread Bin Meng
On Wed, Jul 8, 2020 at 7:11 PM Wolfgang Wallner wrote: > > Hi Simon, > > -"Simon Glass" schrieb: - > > Betreff: [PATCH v2 28/44] i2c: designware_i2c: Support ACPI table generation > > > > Update the PCI driver to generate ACPI information so that Linux has the > > full information about e

Re: [PATCH v4 12/35] acpi: Support generation of SPI descriptor

2020-07-12 Thread Bin Meng
Hi Simon, On Mon, Jul 13, 2020 at 12:22 PM Bin Meng wrote: > > On Wed, Jul 8, 2020 at 3:12 AM Simon Glass wrote: > > > > Add a function to write a SPI descriptor to the generated ACPI code. > > > > Signed-off-by: Simon Glass > > Reviewed-by: Wolfgang Wallner > > Reviewed-by: Bin Meng > > ---

Re: [PATCH v2 21/44] x86: pinctrl: Set up itss in the probe() method

2020-07-12 Thread Bin Meng
On Wed, Jul 8, 2020 at 11:33 AM Simon Glass wrote: > > At present the itss is probed in the ofdata_to_platdata() method. This is > incorrect since itss is a child of p2sb which itself needs to probe the > pinctrl device. This means that p2sb is effectively not probed when the > itss is probed, so

Re: [PATCH v2 22/44] x86: pinctrl: Drop the acpi_path member

2020-07-12 Thread Bin Meng
On Wed, Jul 8, 2020 at 11:34 AM Simon Glass wrote: > > This is in the device tree now, so drop the unnecessary field here. > > Signed-off-by: Simon Glass > Reviewed-by: Wolfgang Wallner > --- > > Changes in v2: > - Fix the commit subject to mention dropping acpi_path, not acpi_name > > arch/x86

Re: [PATCH v2 25/44] x86: gpio: Add support for obtaining ACPI info for a GPIO

2020-07-12 Thread Bin Meng
On Wed, Jul 8, 2020 at 11:34 AM Simon Glass wrote: > > Implement the method that converts a GPIO into the form used by ACPI, so > that GPIOs can be added to ACPI tables. > > Signed-off-by: Simon Glass > --- > > (no changes since v1) > > Changes in v1: > - Use acpi_get_path() to get device path >

Re: [PATCH v2 19/44] x86: pinctrl: Update comment for intel_pinctrl_get_pad()

2020-07-12 Thread Bin Meng
On Wed, Jul 8, 2020 at 11:33 AM Simon Glass wrote: > > Add information about what is returned on error. > > Signed-off-by: Simon Glass > --- > > (no changes since v1) > > arch/x86/include/asm/intel_pinctrl.h | 1 + > 1 file changed, 1 insertion(+) > Reviewed-by: Bin Meng

Re: [PATCH v2 11/44] acpi: mmc: Generate ACPI info for the PCI SD Card

2020-07-12 Thread Bin Meng
On Wed, Jul 8, 2020 at 11:33 AM Simon Glass wrote: > > Write required information into the SSDT to describe the SD card > card-detect pin. Since the required GPIO properties are not present in > the device-tree binding, set them manually for now. > > Signed-off-by: Simon Glass > Reviewed-by: Wolf

Re: [PATCH v2 12/44] x86: Add bindings for NHLT

2020-07-12 Thread Bin Meng
On Wed, Jul 8, 2020 at 11:33 AM Simon Glass wrote: > > Add devicetree bindings for the Intel Non-High-Definition-Audio Link Table > (NHLT). > > Signed-off-by: Simon Glass > Reviewed-by: Wolfgang Wallner > --- > > Changes in v2: > - Add a comment pointing to the PCI spec > > include/dt-bindings/

Re: [PATCH v2 08/44] acpi: Export functions to write sized values

2020-07-12 Thread Bin Meng
On Wed, Jul 8, 2020 at 11:33 AM Simon Glass wrote: > > At present only acpigen_write_integer() is exported for use by other code. > But in some cases it is useful to call the specific function depending on > the size of the value. > > Export these functions and add a test. > > Signed-off-by: Simon

Re: [PATCH v2 09/44] acpi: Support generation of a scope

2020-07-12 Thread Bin Meng
On Wed, Jul 8, 2020 at 11:33 AM Simon Glass wrote: > > Add a function to write a scope to the generated ACPI code. > > Signed-off-by: Simon Glass > Reviewed-by: Wolfgang Wallner > --- > > Changes in v2: > - Rename parameter from 'name' to 'scope' > > include/acpi/acpigen.h | 9 + > lib

Re: [PATCH v2 03/44] binman: Add way to locate an entry in memory

2020-07-12 Thread Bin Meng
On Wed, Jul 8, 2020 at 11:33 AM Simon Glass wrote: > > Add support for accessing an entry's contents in memory-mapped SPI flash. > > Signed-off-by: Simon Glass > --- > > (no changes since v1) > > include/binman.h | 22 ++ > lib/binman.c | 23 +++ > 2 f

Re: [PATCH v2 02/44] binman: Refactor binman_entry_find() to allow other nodes

2020-07-12 Thread Bin Meng
On Wed, Jul 8, 2020 at 11:33 AM Simon Glass wrote: > > At present we can only read from a top-level binman node entry. Refactor > this function to produce a second local function which supports reading > from any node. > > Signed-off-by: Simon Glass > --- > > Changes in v2: > - Rename binman_entr

Re: [PATCH v2 01/44] binman: Allow setting the ROM offset

2020-07-12 Thread Bin Meng
On Wed, Jul 8, 2020 at 11:33 AM Simon Glass wrote: > > On x86 the SPI ROM can be memory-mapped, at least most of it. Add a way > to tell binman the offset from a ROM address to a RAM address. > > Signed-off-by: Simon Glass > --- > > (no changes since v1) > > Changes in v1: > - Add a way to set th

Re: [PATCH v4 29/35] acpi: Support ordering SSDT data by device

2020-07-12 Thread Bin Meng
Hi Simon, On Wed, Jul 8, 2020 at 3:13 AM Simon Glass wrote: > > Add a /chosen property to control the order in which the data appears > in the SSDT. This allows matching up U-Boot's output from a dump of the > known-good data obtained from within Linux. > > Signed-off-by: Simon Glass > Reviewed-

Re: [PATCH v4 25/25] x86: mtrr: Enhance 'mtrr' command to list MTRRs on any CPU

2020-07-12 Thread Bin Meng
On Wed, Jul 8, 2020 at 9:37 AM Simon Glass wrote: > > Update this command so it can list the MTRRs on a selected CPU. If > '-c all' is used, then all CPUs are listed. > > Signed-off-by: Simon Glass > Reviewed-by: Wolfgang Wallner > --- > > (no changes since v1) > > cmd/x86/mtrr.c | 22 +

Re: [PATCH v4 19/25] x86: mtrr: Update MTRRs on all CPUs

2020-07-12 Thread Bin Meng
On Wed, Jul 8, 2020 at 9:37 AM Simon Glass wrote: > > When the boot CPU MTRRs are updated, perform the same update on all other > CPUs so they are kept in sync. > > This avoids kernel warnings about mismatched MTRRs. > > Signed-off-by: Simon Glass > Reviewed-by: Wolfgang Wallner > --- > > (no ch

Re: [PATCH v4 15/25] x86: mp: Add iterators for CPUs

2020-07-12 Thread Bin Meng
On Wed, Jul 8, 2020 at 9:37 AM Simon Glass wrote: > > It is convenient to iterate through the CPUs performing work on each one > and processing the result. Add a few iterator functions which handle this. > These can be used by any client code. It can call mp_run_on_cpus() on > each CPU that is ret

Re: [PATCH v4 13/25] x86: mp: Allow running functions on multiple CPUs

2020-07-12 Thread Bin Meng
Hi Simon, On Wed, Jul 8, 2020 at 9:37 AM Simon Glass wrote: > > Add a way to run a function on a selection of CPUs. This supports either > a single CPU, all CPUs, just the main CPU or just the 'APs', in Intel > terminology. > > It works by writing into a mailbox and then waiting for the CPUs to n

Re: [PATCH v4 11/25] global_data: Add a generic global_data flag for SMP state

2020-07-12 Thread Bin Meng
On Wed, Jul 8, 2020 at 9:37 AM Simon Glass wrote: > > Allow keeping track of whether all CPUs have been enabled yet. This allows > us to know whether other CPUs need to be considered when updating > CPU-specific settings such as MTRRs on x86. > > Signed-off-by: Simon Glass > Reviewed-by: Wolfgang

Re: [PATCH v4 10/25] x86: mp: Support APs waiting for instructions

2020-07-12 Thread Bin Meng
On Wed, Jul 8, 2020 at 9:37 AM Simon Glass wrote: > > At present the APs (non-boot CPUs) are inited once and then parked ready > for the OS to use them. However in some cases we want to send new requests > through, such as to change MTRRs and keep them consistent across CPUs. > > Change the last s

Re: [PATCH v4 00/35] dm: Add programmatic generation of ACPI tables (part B)

2020-07-12 Thread Bin Meng
On Wed, Jul 8, 2020 at 3:12 AM Simon Glass wrote: > > This is split from the original series in an attempt to get things applied > in chunks. > > This part includes: > - writing basic ACPI code for integers, strings, names, packages > - writing descriptors for GPIO, I2C, interrupts, SPI > - writin

Re: [PATCH v4 09/35] acpi: Support generation of GPIO descriptor

2020-07-12 Thread Bin Meng
On Mon, Jul 13, 2020 at 10:47 AM Bin Meng wrote: > > Hi Simon, > > On Wed, Jul 8, 2020 at 3:12 AM Simon Glass wrote: > > > > Add a function to write a GPIO descriptor to the generated ACPI code. > > > > Signed-off-by: Simon Glass > > Reviewed-by: Wolfgang Wallner > > --- > > > > Changes in v4:

Re: [PATCH v4 31/35] acpi: Add support for DSDT generation

2020-07-12 Thread Bin Meng
On Mon, Jul 13, 2020 at 11:17 AM Bin Meng wrote: > > On Wed, Jul 8, 2020 at 3:13 AM Simon Glass wrote: > > > > Some devices need to inject extra code into the Differentiated System > > Descriptor Table (DSDT). Add a method to handle this. > > > > Signed-off-by: Simon Glass > > Reviewed-by: Wolfg

Re: [PATCH v4 12/35] acpi: Support generation of SPI descriptor

2020-07-12 Thread Bin Meng
On Wed, Jul 8, 2020 at 3:12 AM Simon Glass wrote: > > Add a function to write a SPI descriptor to the generated ACPI code. > > Signed-off-by: Simon Glass > Reviewed-by: Wolfgang Wallner > Reviewed-by: Bin Meng > --- > > Changes in v4: > - Move SPI macros to next patch > - Rename the length-writ

Re: [PATCH v4 34/35] dm: acpi: Enhance acpi_get_name()

2020-07-12 Thread Bin Meng
On Wed, Jul 8, 2020 at 3:13 AM Simon Glass wrote: > > For many device types it is possible to figure out the name just by > looking at its uclass or parent. Add a function to handle this, since it > allows us to cover the vast majority of cases automatically. > > However it is sometimes impossible

Re: [PATCH v4 31/35] acpi: Add support for DSDT generation

2020-07-12 Thread Bin Meng
On Wed, Jul 8, 2020 at 3:13 AM Simon Glass wrote: > > Some devices need to inject extra code into the Differentiated System > Descriptor Table (DSDT). Add a method to handle this. > > Signed-off-by: Simon Glass > Reviewed-by: Wolfgang Wallner > --- > > Changes in v4: > - Explain why 'fill' is us

Re: [PATCH v4 29/35] acpi: Support ordering SSDT data by device

2020-07-12 Thread Bin Meng
On Wed, Jul 8, 2020 at 3:13 AM Simon Glass wrote: > > Add a /chosen property to control the order in which the data appears > in the SSDT. This allows matching up U-Boot's output from a dump of the > known-good data obtained from within Linux. > > Signed-off-by: Simon Glass > Reviewed-by: Wolfgan

Re: [PATCH v4 25/35] acpi: Add support for a generic power sequence

2020-07-12 Thread Bin Meng
On Wed, Jul 8, 2020 at 3:13 AM Simon Glass wrote: > > Add a way for devices to enable and disable themselves using ACPI code > that updates GPIOs. This takes several timing parameters and supports > enable, reset and stop. > > Signed-off-by: Simon Glass > Reviewed-by: Wolfgang Wallner > --- > >

Re: [PATCH v4 24/35] acpi: Add support for writing a GPIO power sequence

2020-07-12 Thread Bin Meng
On Wed, Jul 8, 2020 at 3:13 AM Simon Glass wrote: > > Power to some devices is controlled by GPIOs. Add a way to generate ACPI > code to enable and disable a GPIO so that this can be handled within an > ACPI method. > > Signed-off-by: Simon Glass > Reviewed-by: Wolfgang Wallner > --- > > Changes

Re: [PATCH v4 19/35] acpi: Support writing Device Properties objects via _DSD

2020-07-12 Thread Bin Meng
On Wed, Jul 8, 2020 at 3:12 AM Simon Glass wrote: > > More complex device properties can be provided to drivers via a > device-specific data (_DSD) object. > > To create this we need to build it up in a separate data structure and > then generate the ACPI code, due to its recursive nature. > > Add

Re: [PATCH v4 13/35] acpigen: Support writing a length

2020-07-12 Thread Bin Meng
On Wed, Jul 8, 2020 at 3:12 AM Simon Glass wrote: > > It is convenient to write a length value for preceding a block of data. > Of course the length is not known or is hard to calculate a priori. So add > a way to mark the start on a stack, so the length can be updated when > known. > > Signed-off

Re: [PATCH v4 09/35] acpi: Support generation of GPIO descriptor

2020-07-12 Thread Bin Meng
Hi Simon, On Wed, Jul 8, 2020 at 3:12 AM Simon Glass wrote: > > Add a function to write a GPIO descriptor to the generated ACPI code. > > Signed-off-by: Simon Glass > Reviewed-by: Wolfgang Wallner > --- > > Changes in v4: > - Drop comment about the type always being ACPI_GPIO_TYPE_IO > - Rename

Re: [PATCH v4 07/35] gpio: Add a method to convert a GPIO to ACPI

2020-07-12 Thread Bin Meng
On Wed, Jul 8, 2020 at 3:12 AM Simon Glass wrote: > > When generating ACPI tables we need to convert GPIOs in U-Boot to the ACPI > structures required by ACPI. This is a SoC-specific conversion and cannot > be handled by generic code, so add a new GPIO method to do the conversion. > > Signed-off-b

Re: [PATCH v4 06/35] acpi: Support generation of interrupt descriptor

2020-07-12 Thread Bin Meng
On Wed, Jul 8, 2020 at 3:12 AM Simon Glass wrote: > > Add a function to write an interrupt descriptor to the generated ACPI > code. > > Signed-off-by: Simon Glass > Reviewed-by: Wolfgang Wallner > --- > > Changes in v4: > - Rename the length-writing functions to indicate they are for large resou

Re: [PATCH v4 05/35] acpi: Support generation of ACPI code

2020-07-12 Thread Bin Meng
On Wed, Jul 8, 2020 at 3:12 AM Simon Glass wrote: > > Add a new file to handle generating ACPI code programatically. This is > used when information must be dynamically added to the tables, e.g. the > SSDT. > > Initial support is just for writing simple values. Also add a 'base' value > so that th

Re: [PATCH v4 2/6] sifive: fu540: Add Booting from SPI

2020-07-12 Thread Rick Chen
Hi Jagan > From: Jagan Teki [mailto:ja...@amarulasolutions.com] > Sent: Thursday, July 02, 2020 4:03 PM > To: Rick Jian-Zhi Chen(陳建志); Atish Patra; Palmer Dabbelt; Bin Meng; Paul > Walmsley; Anup Patel; Sagar Kadam > Cc: u-boot@lists.denx.de; linux-amar...@amarulasolutions.com; Jagan Teki; Bin >

Re: [PATCH] x86: remove unused setup_pcat_compatibility() stub

2020-07-12 Thread Bin Meng
On Tue, Jul 7, 2020 at 10:08 AM Masahiro Yamada wrote: > > Simon, > > On Tue, Jul 7, 2020 at 3:44 AM Simon Glass wrote: > > > > Hi Masahiro, > > > > On Sat, 4 Jul 2020 at 11:43, Masahiro Yamada wrote: > > > > > > 'git grep' did not find any user of this stub. > > > > > > Signed-off-by: Masahiro

Re: [PATCH v3 1/4] timer: Allow delays with a 32-bit microsecond timer

2020-07-12 Thread Bin Meng
Hi Simon, On Mon, Jul 13, 2020 at 10:25 AM Simon Glass wrote: > > Hi Bin, > > On Sun, 12 Jul 2020 at 20:13, Bin Meng wrote: > > > > On Fri, Jul 10, 2020 at 8:49 AM Simon Glass wrote: > > > > > > The current get_timer_us() uses 64-bit arithmetic on 32-bit machines. > > > When implementing micros

Re: [PATCH v3 1/4] timer: Allow delays with a 32-bit microsecond timer

2020-07-12 Thread Simon Glass
Hi Bin, On Sun, 12 Jul 2020 at 20:13, Bin Meng wrote: > > On Fri, Jul 10, 2020 at 8:49 AM Simon Glass wrote: > > > > The current get_timer_us() uses 64-bit arithmetic on 32-bit machines. > > When implementing microsecond-level timeouts, 32-bits is plenty. Add a > > new function that uses an unsi

Re: [PATCH v3 4/4] x86: fsp: Support a warning message when DRAM init is slow

2020-07-12 Thread Bin Meng
On Fri, Jul 10, 2020 at 8:43 AM Simon Glass wrote: > > With DDR4, Intel SOCs take quite a long time to init their memory. During > this time, if the user is watching, it looks like SPL has hung. Add a > message in this case. > > This works by adding a return code to fspm_update_config() that indic

Re: [PATCH v3 2/4] coral: Enable the copy framebuffer

2020-07-12 Thread Bin Meng
On Fri, Jul 10, 2020 at 8:49 AM Simon Glass wrote: > > Enable this feature on chromebook_coral to speed up the display. > > With this change, the time taken to print the environment to the display > without CONFIG_CONSOLE_SCROLL_LINES is reduced from 1830ms to 62ms. > > Signed-off-by: Simon Glass

Re: [PATCH v3 3/4] x86: Avoid #ifdef with CONFIG_HAVE_ACPI_RESUME

2020-07-12 Thread Bin Meng
On Fri, Jul 10, 2020 at 8:43 AM Simon Glass wrote: > > At present this enables a few arch-specific members of the global_data > struct which are otherwise not part of the struct. As a result we have to > use #ifdef in various places. > > The cost of always having these in the struct is small. Adju

Re: [PATCH v3 1/4] timer: Allow delays with a 32-bit microsecond timer

2020-07-12 Thread Bin Meng
On Mon, Jul 13, 2020 at 10:13 AM Bin Meng wrote: > > On Fri, Jul 10, 2020 at 8:49 AM Simon Glass wrote: > > > > The current get_timer_us() uses 64-bit arithmetic on 32-bit machines. > > When implementing microsecond-level timeouts, 32-bits is plenty. Add a > > new function that uses an unsigned l

Re: [PATCH v3 1/4] timer: Allow delays with a 32-bit microsecond timer

2020-07-12 Thread Bin Meng
On Fri, Jul 10, 2020 at 8:49 AM Simon Glass wrote: > > The current get_timer_us() uses 64-bit arithmetic on 32-bit machines. > When implementing microsecond-level timeouts, 32-bits is plenty. Add a > new function that uses an unsigned long. On 64-bit machines this is > still 64-bit, but this doesn

Re: [PATCH v3 1/2] drivers: p2sb: replace Primary-to-Sideband Bus with Primary to Sideband Bridge

2020-07-12 Thread Bin Meng
On Wed, Jul 1, 2020 at 7:37 PM Wolfgang Wallner wrote: > > In Intel's documentation the term P2SB stands for "Primary to Sideband > Bridge". > > Signed-off-by: Wolfgang Wallner > --- > > Changes in v3: > - Replaced the term in two more places > > drivers/misc/Kconfig | 12 ++-- > 1 file

Re: [PATCH v3 2/2] x86: p2sb: make P2SB driver depend on P2SB uclass

2020-07-12 Thread Bin Meng
On Wed, Jul 1, 2020 at 7:37 PM Wolfgang Wallner wrote: > > Currently it is possible to select the P2SB driver without selecting the > P2SB uclass, which can't work. Fix this by adding a "depends on" in > Kconfig. > > Signed-off-by: Wolfgang Wallner > > --- > > (no changes since v2) > > Changes in

Re: [PATCH v3 13/13] test/py: efi_secboot: add a test for verifying with digest of signed image

2020-07-12 Thread AKASHI Takahiro
Heinrich, On Sat, Jul 11, 2020 at 08:47:15AM +0200, Heinrich Schuchardt wrote: > On 7/8/20 7:02 AM, AKASHI Takahiro wrote: > > Signature database (db or dbx) may have not only certificates that contain > > a public key for RSA decryption, but also digests of signed images. > > > > In this test cas

Re: [PATCH] cmd: mvebu/bubt: Drop unused SPI_FLASH_PROTECTION

2020-07-12 Thread Tom Rini
On Sun, Jul 12, 2020 at 11:29:01PM +0530, Jagan Teki wrote: > SPI_FLASH_PROTECTION config item is never used in anywhere > in the U-Boot tree. > > Drop it. > > Signed-off-by: Jagan Teki > --- > cmd/mvebu/bubt.c | 7 --- > 1 file changed, 7 deletions(-) > > diff --git a/cmd/mvebu/bubt.c b/

Re: Pull request for UEFI sub-system for efi-2020-10-rc1 (2)

2020-07-12 Thread AKASHI Takahiro
Heinrich, On Sun, Jul 12, 2020 at 12:05:32AM +0200, Heinrich Schuchardt wrote: > On 7/11/20 2:16 PM, Tom Rini wrote: > > On Sat, Jul 11, 2020 at 09:00:16AM +0200, Heinrich Schuchardt wrote: > >> On 7/10/20 8:09 PM, Tom Rini wrote: > >>> On Thu, Jul 09, 2020 at 06:12:02PM +0200, Heinrich Schuchardt

[PATCH 2/3] board: mediatek: Use CONFIG_DEFAULT_FDT_FILE for default environment

2020-07-12 Thread David Woodhouse
Rather than hard-coding it to the Banana Pi R2. Signed-off-by: David Woodhouse --- configs/mt7623n_bpir2_defconfig | 2 +- include/configs/mt7623.h| 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configs/mt7623n_bpir2_defconfig b/configs/mt7623n_bpir2_defconfig inde

[PATCH 3/3] board: mediatek: Add support for UniElec U7623 board

2020-07-12 Thread David Woodhouse
This is an MT7623A-based board, very similar to the Banana Pi R2. http://www.unielecinc.com/q/news/cn/p/product/detail.html?qd_guid=OjXwKCaRlN Signed-off-by: David Woodhouse --- arch/arm/dts/Makefile | 1 + .../arm/dts/mt7623a-unielec-u7623-02-emmc.dts | 211 ++

[PATCH 1/3] board: mediatek: fix mmc_get_boot_dev() for platforms without external SD

2020-07-12 Thread David Woodhouse
On the UniElec U7623 board there is no external SD slot and the preloader doesn't fill in the magic field at 0x81d0 to indicate that it was booted from eMMC. Signed-off-by: David Woodhouse --- board/mediatek/mt7623/mt7623_rfb.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/board

Re: [PATCH v1 07/43] dm: acpi: Add support for the NHLT table

2020-07-12 Thread Simon Glass
Hi Bin, On Tue, 7 Jul 2020 at 21:25, Simon Glass wrote: > > Hi Bin, > > On Mon, 6 Jul 2020 at 18:22, Bin Meng wrote: > > > > Hi Simon, > > > > On Tue, Jul 7, 2020 at 3:22 AM Simon Glass wrote: > > > > > > Hi Bin, > > > > > > On Thu, 2 Jul 2020 at 22:33, Bin Meng wrote: > > > > > > > > Hi Simon

[PATCH] cmd: mvebu/bubt: Drop unused SPI_FLASH_PROTECTION

2020-07-12 Thread Jagan Teki
SPI_FLASH_PROTECTION config item is never used in anywhere in the U-Boot tree. Drop it. Signed-off-by: Jagan Teki --- cmd/mvebu/bubt.c | 7 --- 1 file changed, 7 deletions(-) diff --git a/cmd/mvebu/bubt.c b/cmd/mvebu/bubt.c index a27b0df8ae..b3b5844267 100644 --- a/cmd/mvebu/bubt.c +++ b/c

[PATCH] config: Enable USB Keyboard suuport on RPi4 32 bit

2020-07-12 Thread matthias . bgg
From: Matthias Brugger Supporting USB keyboards out of the box is both handy for development and production. Notably if u-boot is used to boot into GRUB. This patch adds USB keyboard support for 32 bit RPi4 config. Signed-off-by: Matthias Brugger --- configs/rpi_4_32b_defconfig | 1 + 1 file

Re: Seemless Boot Splash on iMX-based boards

2020-07-12 Thread Igor Opaniuk
Hi Stefano, On Mon, Jul 6, 2020 at 12:10 PM Stefano Babic wrote: > > Hi Igor, > > my two cents from previous experience: > > On 06.07.20 10:34, Igor Opaniuk wrote: > > Hi, > > > > Does anyone have experience in setting up seamless > > boot splash on iMX-based platforms? > > > > I'm currently tryi