Hi,
I cannot apply this series on top of current master. On top of which
commit it is supposed to be applied?
пт, 15 нояб. 2019 г. в 06:05, Kever Yang :
>
> From: YouMin Chen
>
> RK3328 has a similar controller and phy with PX30, so we can use the
> common driver for it and remove the duplicate
On 20/11/2019 19:04, Heinrich Schuchardt wrote:
> Some of the ARM11 boards have tight limits on the size of U-Boots. Hence
> use EFI_LOADER=n as default on ARM11.
>
> Set EFI_LOADER=y for the Raspberry Pi and Raspberry Pi Zero as these boards
> have sufficient storage on the SD card.
>
> Sugges
On 22/11/2019 14:40, Marek Szyprowski wrote:
> Hi Matthias,
>
> On 20.11.2019 10:10, Matthias Brugger wrote:
>> Hi Tom,
>>
>> On 20/11/2019 02:57, Tom Rini wrote:
>>> On Tue, Nov 19, 2019 at 05:02:34PM +0100, Matthias Brugger wrote:
>>>
Hi Tom,
Please have a look at the below patc
On Sat, Nov 23, 2019 at 03:07:12PM +0100, Heinrich Schuchardt wrote:
> The following changes since commit 2800540d101d7b0dd0629c5177fca48331d2927d:
>
> Update MAINTAINERS to include environment files (2019-11-21 08:36:40
> -0500)
>
> are available in the Git repository at:
>
> https://gitla
On Tue, Nov 19, 2019 at 03:14:33PM -0500, Tom Rini wrote:
> Now that we have buildman telling genboards.cfg to use an output
> directory we need to ensure that it exists.
>
> Cc: Bin Meng
> Cc: Simon Glass
> Fixes: bc750bca1246 ("tools: buildman: Honor output directory when generating
> boards
On Sun, Nov 10, 2019 at 09:19:37PM -0500, Tom Rini wrote:
> With the move to using Python 3 for real, we encounter two different
> issues. First, the file include/video_font_data.h includes at least one
> UTF-16 character. Given that it does not include any CONFIG symbols it
> is easiest to just
On Sat, Nov 23, 2019 at 09:14:54AM +0100, Heinrich Schuchardt wrote:
> In GCC 9 support for the Armv5 and Armv5E architectures (which have no
> known implementations) has been removed, cf.
> https://gcc.gnu.org/gcc-9/changes.html
>
> ARM11 is an armv6 implementation. So change the architecture fl
On Thu, Nov 21, 2019 at 06:50:12AM +0100, Heiko Schocher wrote:
> move orangepi builds into a new job, and exclude
> orangepi builds from sunxi and rockchip jobs.
>
> Signed-off-by: Heiko Schocher
> Reviewed-by: Tom Rini
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: P
On Thu, Nov 21, 2019 at 02:32:46PM +, James Byrne wrote:
> The 'debug' and 'printf' functions were previously added to the list of
> logFunctions in commit 0cab42110dbf ("checkpatch.pl: Add 'debug' to
> the list of logFunctions") and commit 397bfd4642c1 ("checkpatch.pl:
> Add 'printf' to logFu
On Fri, Nov 22, 2019 at 11:17:29AM +0100, Heiko Schocher wrote:
> remove from NXP arm32 all layerscape boards and
> build them instead in already existing layerscape
> jobs (which now not only build aarch64 boards)
>
> Signed-off-by: Heiko Schocher
Applied to u-boot/master, thanks!
--
Tom
s
On Wed, Nov 13, 2019 at 02:42:41PM +0100, Bartosz Golaszewski wrote:
> From: Bartosz Golaszewski
>
> Add __pycache__ to ignored files and extend the rule for _libfdt to also
> include generated shared objects (e.g.
> _libfdt.cpython-37m-x86_64-linux-gnu.so).
>
> Signed-off-by: Bartosz Golaszew
e950cba2d89b6bd:
>
> Prepare v2020.01-rc3 (2019-11-18 21:31:49 -0500)
>
> are available in the Git repository at:
>
> https://gitlab.denx.de/u-boot/custodians/u-boot-rockchip.git
> tags/u-boot-rockchip-20191124
>
> for you to fetch changes up to 8019d32c4701b95410
On Thu, Oct 03, 2019 at 07:50:19PM +0200, Miquel Raynal wrote:
> There is no flash on this board, there is no reason to define MTD
> environment variables nor UBI. Drop them from the configuration file.
>
> Signed-off-by: Miquel Raynal
> ---
> configs/socfpga_mcvevk_defconfig | 3 ---
> 1 file
I've found that the series is already applied, sorry :-)
It works fine on rock64 for me.
вс, 24 нояб. 2019 г. в 11:05, Matwey V. Kornilov :
>
> Hi,
>
> I cannot apply this series on top of current master. On top of which
> commit it is supposed to be applied?
>
> пт, 15 нояб. 2019 г. в 06:05, Keve
Hi Angelo,
On 11/23/19 3:47 PM, 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.
This patch initializes t
On 11/24/19 7:09 PM, Juha Sarlin wrote:
While searching for a BLK device, this function checks only for a
matching devnum. It should check if_type, too.
Could you, please, describe in which cases you have observed a problem
and how it can be reproduced.
According to the function description th
Anatolij, Fabio
I just compiled a fresh U-Boot with U-Boot master and It looks
like commit f0b54d (video: mxsfb: Configure the clock after eLCDIF
reset") [1]
breaks my Pico-imx7d and imx7d-Sabre.
see logs after:
U-Boot 2020.01-rc3-00489-g47b48fe186 (Nov 24 2019 - 15:18:23 +0100)
CPU: Frees
Mark board_fit_config_name_match() as weak so a board can overwrite the
empty function.
Signed-off-by: Michael Walle
---
arch/arm/cpu/armv8/fsl-layerscape/spl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/cpu/armv8/fsl-layerscape/spl.c
b/arch/arm/cpu/armv8/fsl-l
Hi Joris,
On Sun, Nov 24, 2019 at 5:06 PM Joris Offouga wrote:
>
> Anatolij, Fabio
>
>
> I just compiled a fresh U-Boot with U-Boot master and It looks
> like commit f0b54d (video: mxsfb: Configure the clock after eLCDIF
> reset") [1]
> breaks my Pico-imx7d and imx7d-Sabre.
> see logs after:
>
>
Commit ec3dcea74470 ("video: mxsfb: Configure the clock after eLCDIF reset")
causes boot regression on imx7d-pico/imx7d-sdb boards, so revert it
until a better solution is prepared.
This reverts commit ec3dcea7447031463643c33143b3a5f027f0b54d.
Reported-by: Joris Offouga
Signed-off-by: Fabio Est
Hi Michael,
On 11/24/2019 1:11 AM, Michael Walle wrote:
> Am 2019-11-22 02:36, schrieb Alex Marginean:
>> The definition follows the DSA binding in kernel and describes the
>> switch,
>> its ports and PHYs.
>> ENETC PF6 is the 2nd Eth controller linked to the switch on LS1028, it is
>
> nitpicki
Hi Fabio,
On Sun, 24 Nov 2019 17:37:52 -0300
Fabio Estevam feste...@gmail.com wrote:
> Commit ec3dcea74470 ("video: mxsfb: Configure the clock after eLCDIF reset")
> causes boot regression on imx7d-pico/imx7d-sdb boards, so revert it
> until a better solution is prepared.
>
> This reverts commi
Hi Tom,
The following changes since commit 9a0cbae22a613dfd55e15565785749b74c19fdf0:
Merge tag 'u-boot-rockchip-20191124' of
https://gitlab.denx.de/u-boot/custodians/u-boot-rockchip (2019-11-23 20:50:11
-0500)
are available in the Git repository at:
https://gitlab.denx
Hi Tom,
This is a new pull request for the RPi updates for v2020.01.
After you noticed that the first pull request broke FAT implementation I deleted
the corresponding patch series from the pull request. In the meantime the one
binary support for RPi is ready to be merged, so I added the series.
While searching for a BLK device, this function checks only for a
matching devnum. It should check if_type, too.
Signed-off-by: Juha Sarlin
---
drivers/block/blk-uclass.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/block/blk-uclass.c b/drivers/block/blk-uclass.c
Add support for booting EFI binaries contained in FIT images.
A typical usage scenario is chain-loading GRUB2 in a verified
boot environment.
Signed-off-by: Cristian Ciocaltea
---
cmd/Kconfig | 9 -
cmd/bootefi.c | 2 +-
common/bootm_os.c | 44
Add a new OS type to be used for chain-loading an EFI compatible
firmware or boot loader like GRUB2, possibly in a verified boot
scenario.
Bellow is sample ITS file that generates a FIT image supporting
secure boot. Please note the presence of 'os = "efi";' line, which
identifies the currently int
Currently the only way to run an EFI binary like GRUB2 is via the
'bootefi' command, which cannot be used in a verified boot scenario.
The obvious solution to this limitation is to add support for
booting FIT images containing those EFI binaries.
The implementation relies on a new image type - IH
> On 24 Nov 2019, at 19:37, Heinrich Schuchardt wrote:
>
> On 11/24/19 7:09 PM, Juha Sarlin wrote:
>> While searching for a BLK device, this function checks only for a
>> matching devnum. It should check if_type, too.
>
> Could you, please, describe in which cases you have observed a problem
>
The parser responsible for the '[make-flags]' section in
the '.buildman' settings file is currently not able to
handle quoted strings, as given in the sample bellow:
[make-flags]
qemu_arm=HOSTCC="cc -isystem /add/include" HOSTLDFLAGS="-L/add/lib"
This patch replaces the simple string splitter bas
Hi,
during my quest in converting two network drivers to the driver model,
I couldn't find any real documentation in explaining the new network
driver model, or how to address such a port.
After some digging in the code (both in the framework and in some
drivers), I decided to update the existing
doc/README.drivers.eth seems like a good source for understanding
U-Boot's network subsystem, but is only talking about legacy network
drivers. This is particularly sad as proper documentation would help in
porting drivers over to the driver model.
Rewrite the document to describe network drivers
The suffix should be ".bin" instead of ".dtb" .
Signed-off-by: Masahiro Yamada
---
tools/binman/README.entries | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/binman/README.entries b/tools/binman/README.entries
index 10994335217c..26050da7702f 100644
--- a/tools/binman
On Mon, Nov 25, 2019 at 9:45 AM Masahiro Yamada
wrote:
>
> The suffix should be ".bin" instead of ".dtb" .
>
> Signed-off-by: Masahiro Yamada
> ---
>
> tools/binman/README.entries | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
Reviewed-by: Bin Meng
__
Enable ls1028ardb usb net r8152_eth
Signed-off-by: Yinbo Zhu
---
configs/ls1028ardb_tfa_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configs/ls1028ardb_tfa_defconfig b/configs/ls1028ardb_tfa_defconfig
index 1fab450..0664014 100644
--- a/configs/ls1028ardb_tfa_defconfig
+++ b/c
Dear Bin:
Firstly:
I know that acpi about x86 is existing. And it is usefull for x86 platfporm. If
it is used to arm platform,some modification may have to do. For example,facs
table is useless for arm.
In adition,The acpi table is writed statically and then modified dynamically in
my patch.
Hi Steven,
On Mon, Nov 25, 2019 at 10:09 AM Steven Hao wrote:
>
> Dear Bin:
>
> Firstly:
> I know that acpi about x86 is existing. And it is usefull for x86 platfporm.
> If it is used to arm platform,some modification may have to do. For
> example,facs table is useless for arm.
>
> In adition,
Dear Bin:
I have a suggetion that the acpi specification definition such as all acpi
table structure definition should be place in /include directory.
and write_acpi_tables function can be placed in platform directory. Creating
acpi table mothod can be diffrent between x86 and arm.
Thank you
On 22/11/19 10:56 PM, Grygorii Strashko wrote:
> The TI AM43xx platform has DM_ETH and OF_CONTROL enabled,
> so remove networking platform code.
>
> Signed-off-by: Grygorii Strashko
Reviewed-by: Lokesh Vutla
Thanks and regards,
Lokesh
___
U-Boot m
On 22/11/19 10:56 PM, Grygorii Strashko wrote:
> The DRA7 has DM_ETH and OF_CONTROL enabled, so remove networking platform
> code.
>
> Signed-off-by: Grygorii Strashko
Reviewed-by: Lokesh Vutla
Thanks and regards,
Lokesh
___
U-Boot mailing list
U-B
>-Original Message-
>From: U-Boot On Behalf Of Michael Walle
>Sent: Thursday, November 21, 2019 6:18 PM
>To: u-boot@lists.denx.de
>Subject: Re: [U-Boot] [PATCH v3 1/3] spi: nxp_fspi: new driver for the FlexSPI
>controller
>
>Am 2019-11-06 00:03, schrieb Michael Walle:
>> This is a port o
>-Original Message-
>From: Ran Wang
>Sent: Thursday, November 21, 2019 12:26 PM
>To: Priyanka Jain
>Cc: u-boot@lists.denx.de; Albert Aribaud
>Subject: RE: [PATCH v4] armv8: Add workaround for USB erratum A-050106
>
>Hi Priyanka,
>
>On Thursday, November 21, 2019 13:26, Priyanka Jain wr
Apollo Lake is an Intel SoC generation aimed at relatively low-end
embedded systems. It was released in 2016 but has become more popular
recently with some embedded boards using it.
This series adds support for Apollo Lake. As an example it adds an
implementation of chromebook_coral (a large range
SPL and TPL can access information about binman entries using link-time
symbols but this is not available in U-Boot proper. Of course it could be
made available, but the intention is to just read the device tree.
Add support for this, so that U-Boot can locate entries.
Signed-off-by: Simon Glass
If the offset is -1 this function correctly sets up a null ofnode. But if
the offset is any other negative number (e.g. -FDT_ERR_BADPATH) then it
does the wrong thing.
An offset of -1 in ofnode indicates that the ofnode is not valid. Any
other negative value is not handled by ofnode_valid(). We co
At present if CONFIG_SPL_GPIO_SUPPORT is enabled then the GPIO uclass
is included in SPL/TPL without any control for boards. Some boards may
want to disable this to reduce code size where GPIOs are not needed in
SPL or TPL.
Add a new Kconfig option to permit this. Default it to 'y' so that
existin
Early in boot it is necessary to decode the PCI device/function values for
particular peripherals in the device tree or of-platdata. This is needed
in TPL where CONFIG_PCI is not defined.
To handle this, move pci_get_devfn() into a file that is built even when
CONFIG_PCI is not defined.
Also add
Most x86 CPUs use a mechanism where the SPI flash is mapped into the very
top of 32-bit address space, so that it can be executed in place and read
simply by copying from memory. For an 8MB ROM the mapping starts at
0xff80.
However some recent Intel CPUs do not use a simple 1:1 memory map. Ins
Allow this driver to set up an IO address in SPL using an 'early-regs'
property. This allows SPL to use the I2C driver without having to enable
the full PCI stack.
Also split out ofdata_to_platdata in designware driver since this is more
correct, and more convenient for the new logic.
Signed-off-
This is hacked into the driver at present. It seems better to have it as
a separate driver that uses the base driver. Create a new file and put
the X86 code into it.
Actually the Baytrail settings should really come from the device tree.
Note that 'has_max_speed' is added as well. This is current
At present PCI auto-configuration happens in U-Boot both before and after
relocation. This is a waste of time and may mess up static addresses used
in board_init_f(). Adjust the code to supporting doing auto-configuration
once, after relocation, under control of a device-tree property.
This is nee
These functions are used by code outside the network support, so move them
to lib/ to be more accessible.
Without this, the functions are only accessible if CONFIG_NET is defined.
Many boards do not enable that option but still want to do checksums in
this format.
Fix up a few code-style nits whi
Intel x86 SoCs have a power manager/controller which handles several
power-related aspects of the platform. Add a uclass for this, with a few
useful operations.
Signed-off-by: Simon Glass
Reviewed-by: Bin Meng
---
Changes in v5: None
Changes in v4:
- Fix alpha order in Kconfig
- Switch over to
Most of the timer-calibration methods are not needed on recent Intel CPUs
and just increase code size. Add an option to use the known-good way to
get the clock frequency in TPL. Size reduction is about 700 bytes.
Note that version 1 of this commit caused bootstage to crash since the CPU
was not id
We don't need to know every detail about the CPU in TPL. Drop some
superfluous functions to reduce code size. Add a simple CPU detection
algorithm which just supports Intel and AMD, since we only support TPL
on Intel, so far.
Signed-off-by: Simon Glass
---
Changes in v5: None
Changes in v4:
- Dr
This should take account of the end of the new cache record since a record
cannot extend beyond the end of the flash region. This problem was not
seen before due to the alignment of the relatively small amount of MRC
data.
But with Apollo Lake the MRC data is about 45KB, even if most of it is
zero
It is now possible to obtain the memory map for a SPI controllers instead
of having it hard-coded in the device tree. Update the code to support
this.
Signed-off-by: Simon Glass
---
Changes in v5: None
Changes in v4: None
Changes in v3: None
Changes in v2:
- Use SPI mmap() instead of SPI flash
This reverts commit 96ac4def8b6686de8566b91419ce98cd5765079b.
Signed-off-by: Simon Glass
---
Changes in v5: None
Changes in v4: None
Changes in v3: None
Changes in v2: None
arch/sandbox/cpu/state.c | 12 ++--
arch/sandbox/include/asm/state.h | 5 +
cmd/nvedit.c
We don't expect an exception in TPL and don't need to set up interrupts in
TPL. Drop this whole file.
Signed-off-by: Simon Glass
---
Changes in v5: None
Changes in v4:
- Drop the whole interrupt file for TPL
Changes in v3: None
Changes in v2: None
arch/x86/cpu/i386/Makefile | 2 ++
1 file cha
At present the early timer init happens as soon as driver mode is set up.
This makes it impossible to do any in that needs driver model but must run
before devices are problem (as needed with Intel's FSP-S, for example).
In any case it is not a good idea to tie probing of particular drivers too
cl
When device-tree compilation fails it is sometimes tricky to see which
line is broken, since the input file to dtc is a pre-processed version
of the device tree.
Add a line that points to the file that needs to be checked:
When the error is in the main .dts file, output is something like this:
Add a simple command to show information about the PMC.
Signed-off-by: Simon Glass
---
Changes in v5: None
Changes in v4: None
Changes in v3:
- Rename power-mgr uclass to acpi-pmc
Changes in v2: None
arch/Kconfig | 1 +
cmd/Kconfig | 8 ++
cmd/Makefile | 1 +
cmd/pmc.c| 81 +++
These warnings appear every thing sandbox is run (see below) and dwarf the
actual useful output. Suppress them in two ways:
1. For the mismatch warnings, only set the ethaddr environment
variables when running tests.
2. For the 'MAC address from ROM' warning, never print this on sandbox.
Signed-
The Primary-to-Sideband bus (P2SB) is used to access various peripherals
through memory-mapped I/O in a large chunk of PCI space. The space is
segmented into different channels and peripherals are accessed by
device-specific means within those channels. Devices should be added in
the device tree as
Add a simple sandbox test for this uclass.
Signed-off-by: Simon Glass
---
Changes in v5: None
Changes in v4:
- Drop itss uclass change in Makefile (now in previous patch)
- Drop sandbox defconfig change now that p2sb change is correct
- Enable IRQ for sandbox64 too to avoid build error
Changes
When reseting sandbox for tests, disable mmio support since that is the
default state.
Signed-off-by: Simon Glass
---
Changes in v5: None
Changes in v4:
- Split out into a separate patch
Changes in v3: None
Changes in v2: None
arch/sandbox/cpu/state.c | 1 +
1 file changed, 1 insertion(+)
di
Add support for some important configuration options and FSP memory init.
The memory init uses swizzle tables from the device tree.
Support for the FSP_S binary is also included.
Bootstage timing is used for both FSP_M and FSP_S and memory-mapped SPI
reads.
Signed-off-by: Simon Glass
---
Chang
This function needs to be different for FSP2, so move the existing
function into the fsp1 directory. Since it is only called from one file,
drop it from the header file.
Signed-off-by: Simon Glass
Reviewed-by: Bin Meng
---
Changes in v5: None
Changes in v4: None
Changes in v3: None
Changes in v
Change the algorithm to first find the flash device then read the
properties using the livetree API. With this change the device is not
probed so this needs to be done in mrccache_save().
Signed-off-by: Simon Glass
---
Changes in v5: None
Changes in v4: None
Changes in v3:
- Update mrccache live
Drivers are not allowed to use static data since they may be used in SPL
where BSS is not available.
It is possible that driver model may provide support for numbering devices
in the future. But for now, move this to global_data.
Signed-off-by: Simon Glass
---
Changes in v5: None
Changes in v4:
The FSP-S may do this but at least for coral it does not. Set this up so
that graphics is not deathly slow.
It isn't clear whether the FSP is expected to set up MTRR. It is not
mentioned in the APL FSP document.
Signed-off-by: Simon Glass
Reviewed-by: Bin Meng
---
Changes in v5: None
Changes i
This driver models the hostbridge as a northbridge. It simply sets up the
graphics BAR. It supports of-platdata.
Signed-off-by: Simon Glass
---
Changes in v5: None
Changes in v4:
- Avoid needing to know internals of pinctrl in this driver
- Move code to pinctrl driver
- Switch over to use pinctr
The current 'fsp' command only works with FSP1. Update it to handle FSP2
as well. Convert everything to hex which is what U-Boot uses.
Signed-off-by: Simon Glass
---
Changes in v5: None
Changes in v4:
- Explain why FSP-M cannot be shown
- Use hex for size values also
Changes in v3:
- Convert co
We don't want to pull in libfdt if of-platdata is being used, since it
reduces the available code-size saves. Also, SPI flash is seldom needed
in TPL.
Drop these options.
Signed-off-by: Simon Glass
Reviewed-by: Bin Meng
---
Changes in v5: None
Changes in v4: None
Changes in v3:
- Don't imply S
At present with fsp a single DRAM bank is added which extends to the
whole size of memory. However there is typically only 2GB of memory
available below the 4GB boundary, and this is what is used by U-Boot while
running in 32-bit mode.
Scan the tables to set the banks correct. The first bank is se
At present the records are 4KB in size. This is unnecessarily large when
the SPI-flash erase size is 256 bytes. Reduce it so it will be more
efficient with Apollo Lake's 24-byte variable-data record.
Signed-off-by: Simon Glass
Reviewed-by: Bin Meng
---
Changes in v5: None
Changes in v4:
- apol
Set up MTRRs for the FSP SDRAM regions to improve performance.
Signed-off-by: Simon Glass
Reviewed-by: Bin Meng
---
Changes in v5:
- Fix FST typo
Changes in v4: None
Changes in v3:
- Move mtrr_add_request() call into this patch
Changes in v2: None
arch/x86/lib/fsp/fsp_dram.c | 5 +
1 fi
This function is a bit confusing at present due to the error handling.
Update it to remove the goto, returning errors as they happen.
While we are here, use hex for the data size since this is the norm in
U-Boot.
Signed-off-by: Simon Glass
Reviewed-by: Bin Meng
---
Changes in v5: None
Changes
Both versions of FSP can use the same graphics support, so move it into
the common directory.
Signed-off-by: Simon Glass
Reviewed-by: Bin Meng
---
Changes in v5: None
Changes in v4: None
Changes in v3: None
Changes in v2: None
arch/x86/lib/fsp/Makefile | 3 +++
arch/x86/lib/{f
We don't normally need this on x86 unless the size of SPI flash devices is
larger than 16MB. This can be enabled by particular SoCs as needed, since
it adds to code size.
Drop the default enabling of this option on x86.
Signed-off-by: Simon Glass
---
Changes in v5: None
Changes in v4: None
Chan
Reduce the size of the probe function but putting this code into its own
function.
Also remove the assumption that the PCH is always a parent of the SPI
controller, as this is not the case APL platforms. Use driver model to
find the PCH instead.
Signed-off-by: Simon Glass
Reviewed-by: Bin Meng
It is annoying to have some of the init code in a different part of the
file. Move ich_init_controller() to just above probe() to keep things
together.
Signed-off-by: Simon Glass
Reviewed-by: Bin Meng
---
Changes in v5: None
Changes in v4: None
Changes in v3: None
Changes in v2: None
drivers/
Add a simple PMC for sandbox to permit tests to run.
Signed-off-by: Simon Glass
---
Changes in v5: None
Changes in v4: None
Changes in v3:
- Rename power-mgr uclass to acpi-pmc
- Tidy up Makefile rules to reduce duplication
Changes in v2: None
arch/Kconfig | 2 +
arch/s
At present we reuse the mrc_output char * to also point to the cache
record after it has been set up. This is confusing and doesn't save much
data space.
Add a new mrc_cache member instead.
Signed-off-by: Simon Glass
Reviewed-by: Bin Meng
---
Changes in v5: None
Changes in v4: None
Changes in
This driver the LPC and provides a few functions to set up LPC features.
These should probably use ioctls() or perhaps, better, have specific
uclass methods.
Signed-off-by: Simon Glass
---
Changes in v5: None
Changes in v4:
- Add comments for exported functions
- Tidy up header guards
- Use 'Apo
For Apollo Lake SPL is run from CAR (cache-as-RAM) which is in a different
location from where SPL must be placed in ROM. In other words, although
SPL runs before SDRAM is set up, it is not execute-in-place (XIP).
Add a Kconfig option for the ROM position.
Signed-off-by: Simon Glass
Reviewed-by:
On x86 platforms the timer is reset to 0 when the SoC is reset. Having
this as the timer base is useful since it provides an indication of how
long it takes before U-Boot is running.
When U-Boot sets the timer base to something else, time is lost and we
no-longer have an accurate account of the ti
Adds a driver for the Apollo Lake Primary-to-sideband bus. This supports
various child devices. It supposed both device tree and of-platdata.
Signed-off-by: Simon Glass
---
Changes in v5: None
Changes in v4:
- Detect zero mmio address
- Use BIT() macro bit more
- apollolake -> Apollo Lake
Chang
At present binman does not support updating a device tree that is part of
U-Boot (i.e u-boot.bin). Separate the entries into two so that we can get
updated entry information. This makes binman_entry_find() work correctly.
Do the same for SPL tool.
In both cases, group the two parts into a section
This is used on several boards so add it to the common file. Also add a
useful power-limit value while we are here.
Reviewed-by: Bin Meng
Signed-off-by: Simon Glass
---
Changes in v5: None
Changes in v4: None
Changes in v3: None
Changes in v2: None
arch/x86/include/asm/arch-broadwell/cpu.h
Add loaders for SPL and TPL so that the next stage can be loaded from
memory-mapped SPI or, failing that, the Fast SPI driver.
Signed-off-by: Simon Glass
---
Changes in v5:
- Add L2 cache flush functoin
- Drop SAFETY_MARGIN
Changes in v4: None
Changes in v3:
- Add a driver for APL SPI for TPL
Add a sandbox driver and PCI-device emulator for p2sb. Also add a test
which uses a simple 'adder' driver to test the p2sb functionality.
Signed-off-by: Simon Glass
---
Changes in v5: None
Changes in v4:
- Drop change to message about a missing uclass
- Drop empty operations struct since p2sb do
If these phases are used we typically want to enable pinctrl in then, so
that pad setup and GPIO access are possible.
Signed-off-by: Simon Glass
---
Changes in v5:
- Correct build error in chromebook_samus_tpl
Changes in v4: None
Changes in v3: None
Changes in v2: None
arch/Kconfig
Add a bare-bones CPU driver so that CPUs can be probed.
Signed-off-by: Simon Glass
---
Changes in v5:
- Add L2 cache flush function
- Drop SAFETY_MARGIN
Changes in v4:
- Change apollolake to apl
- Tidy up header guards
Changes in v3:
- Add two more defines for the CPU driver
- Expand comments
Include the IFWI section and the FSP-M binary. The FSP-T binary is not
currently used, as CAR is set up manually.
Also drop the FSP binary as this relates only to FSP1.
Reviewed-by: Bin Meng
Signed-off-by: Simon Glass
---
Changes in v5: None
Changes in v4: None
Changes in v3:
- Add FSP-S and V
Define this symbol so that we can use binman symbols correctly.
Signed-off-by: Simon Glass
Reviewed-by: Bin Meng
---
Changes in v5: None
Changes in v4: None
Changes in v3: None
Changes in v2: None
arch/x86/cpu/u-boot-spl.lds | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --gi
Add a driver for the Apollo Lake SoC. It supports the basic operations and
can use device tree or of-platdata.
Signed-off-by: Simon Glass
---
Changes in v5: None
Changes in v4:
- Fix Makefile copyright message
- Fix incorrect mask check in pmc_gpe_init()
- Switch over to use pinctrl for pad init
At present we don't support loading microcode with FSP2. The correct way
to do this is by adding it to the FIT. For now, disable including
microcode in the image.
Signed-off-by: Simon Glass
Reviewed-by: Bin Meng
---
Changes in v5: None
Changes in v4: None
Changes in v3:
- Drop unnecessary #else
The existing work-around for positioning U-Boot in the ROM when it
actually runs from RAM still exists and there is not obvious way to change
this.
Add a proper Kconfig option to handle this case. This also adds a new bool
property to indicate whether CONFIG_SYS_TEXT_BASE exists.
Signed-off-by: S
Update this uclass to support the needs of the Apollo Lake ITSS. It
supports four operations.
Move the uclass into a separate directory so that sandbox can use it too.
Add a new Kconfig to control it and enable this on x86.
Signed-off-by: Simon Glass
---
Changes in v5: None
Changes in v4:
- Dro
1 - 100 of 149 matches
Mail list logo