On Mon, Oct 8, 2018 at 1:08 PM Maxime Ripard wrote:
>
> On Sat, Oct 06, 2018 at 11:23:32PM +0800, Icenowy Zheng wrote:
> > Currently the DRAM bus gate and reset is changed at the same time in
> > H6 DRAM initialization code, which disobeys the user manual's
> > programming guide.
> >
> > Fix the s
On Fri, Oct 5, 2018 at 6:26 PM Aleksandr Aleksandrov
wrote:
>
> Emlid Neutis N5 is a SoM based on Allwinner H5, has a WiFi & BT
> module, DDR3 RAM and eMMC.
>
> - add neutis-devboard target to dtb makefile
> - add dtsi file for Neutis N5 needs
> - add config file for Neutis N5 Dev board
>
> Signed
Hi Simon:
Simon Glass 于2018年8月30日周四 上午8:42写道:
> On 7 August 2018 at 05:44, Andy Yan wrote:
> > Memory region for fdt should be reserved, or they
> > may be allocated by other module via lmb_alloc.
> > Then the fdt data will be destroy.
> >
> > We found a case on a board with 64MB DRAM like bell
On Tue, Sep 25, 2018 at 2:13 PM Ashish Kumar wrote:
>
> Signed-off-by: Suresh Gupta
> Signed-off-by: Yogesh Gaur
> Signed-off-by: Ashish Kumar
> ---
> drivers/mtd/spi/sf_internal.h | 1 +
> drivers/mtd/spi/spi_flash.c | 2 ++
> 2 files changed, 3 insertions(+)
>
> diff --git a/drivers/mtd/sp
On Mon, Oct 8, 2018 at 11:32 AM Cédric Le Goater wrote:
>
> On 10/4/18 5:57 PM, Jagan Teki wrote:
> > On Fri, Sep 28, 2018 at 5:20 PM Cédric Le Goater wrote:
> >>
> >> Hello Simon,
> >>
> >>
> >> The Aspeed AST2500 FMC controller can handle SPI flash and NOR flash
> >> memory,
> >> and the Aspee
Hi,
On 9.10.2018 09:29, Rama Chandra wrote:
> Hi sir,
> i am using ZYNQ ZC706 Board and i have downloaded
> u-boot(2016.7),uImage,root file system files from wiki.xilinx.com website
> downloaded and properly working all the things.
> But i am doing manually downloaded u-boot from github and ELDK-5
On Mon, Sep 3, 2018 at 11:00 PM Jagan Teki wrote:
>
> This patch add SPL DM support for da8xxevm boards
> with SPL serial, SPI drivers supported via platdata.
>
> Cc: Adam Ford
> Signed-off-by: Jagan Teki
> ---
Applied to u-boot-spi/master
___
U-Boot
On Mon, Sep 3, 2018 at 11:00 PM Jagan Teki wrote:
>
> Davanci spi driver has DM support already, this patch
> add support for platdata so-that SPL can use it for
> low foot-print.
>
> Signed-off-by: Jagan Teki
> ---
Applied to u-boot-spi/master
___
U-B
On Tue, Oct 9, 2018 at 12:43 AM Adam Ford wrote:
>
> Some boards (like omap3_logic) hang when trying to access
> address 0. This happens when executing the new 'mtd list' command.
> This patch enhances the checks for conditions that would
> preclude mtd_probe_devices() from operating.
>
> Fixes: 5
On 04.10.2018 09:00, Mario Six wrote:
MIPS is the only architecture currently supported by U-Boot that does
not implement any of the in/out register access functions.
To have a interface that is useable across architectures, add the
functions to the MIPS architecture (implemented using the __raw
On Wed, Oct 10, 2018 at 5:10 AM Angelo Dureghello wrote:
>
> Adding DM and DT support and removing old non-DM code.
Commit head can be: spi: cf_spi: Convert to driver model
>
> Signed-off-by: Angelo Dureghello
> ---
> Changes for v2:
> - removed non DM code part
> - add default setup of CTAR re
Hi Anatolij,
On 09.10.2018 19:38, Anatolij Gustschin wrote:
Hi Stefan,
On Tue, 9 Oct 2018 08:59:03 +0200
Stefan Roese s...@denx.de wrote:
in_le32() and out_le32() are needed for the bootcounter support.
So lets implement these accessor functions for MIPS as well.
Signed-off-by: Stefan Roese
On Wed, Oct 10, 2018 at 11:14 AM Angelo Dureghello wrote:
>
Commit message?
> Signed-off-by: Angelo Dureghello
> ---
> Changes for v2:
> - new patch
> ---
> drivers/spi/Kconfig | 18 --
> 1 file changed, 12 insertions(+), 6 deletions(-)
>
> diff --git a/drivers/spi/Kconfig b/dr
On Wed, Oct 10, 2018 at 5:09 AM Angelo Dureghello wrote:
>
> This patch adds a basic group of devicetrees, one for each
> cpu family, including actually just uart and dspi devices,
> since these are the drivers supporting devicetree (support
> added in this patch-set).
I hope this is Linux DT syn
Enable DT usage for all m68k boards. To provide a
working single binary, the dts has been kept as embedded.
Signed-off-by: Angelo Dureghello
---
Changes for v2:
- new patch
---
configs/M5208EVBE_defconfig | 2 ++
configs/M52277EVB_defconfig | 2 ++
configs/M52
Signed-off-by: Angelo Dureghello
---
Changes for v2:
- new patch
---
drivers/spi/Kconfig | 18 --
1 file changed, 12 insertions(+), 6 deletions(-)
diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig
index 196767a3f6..6340453870 100644
--- a/drivers/spi/Kconfig
+++ b/drivers/sp
On Tue, 2018-10-09 at 14:48 +0200, Marek Vasut wrote:
> On 10/09/2018 05:03 AM, Ang, Chee Hong wrote:
> >
> > On Mon, 2018-10-08 at 22:32 +0200, Marek Vasut wrote:
> > >
> > > On 10/08/2018 05:10 PM, Ang, Chee Hong wrote:
> > > >
> > > >
> > > > On Mon, 2018-10-08 at 11:57 +0200, Marek Vasut wr
Hi Joe,
> -Original Message-
> From: Joe Hershberger [mailto:joe.hershber...@ni.com]
> Sent: Wednesday, October 10, 2018 9:29 AM
> To: Pankaj Bansal
> Cc: Joseph Hershberger ; u-boot b...@lists.denx.de>
> Subject: Re: [U-Boot] [PATCH v3 2/6] driver: net: fsl-mc: remove unused
> strcture
This patch prevents disabling the FPGA bridges when
SPL or U-Boot is executed from FPGA onchip RAM.
Signed-off-by: Simon Goldschmidt
---
Changes in v4:
- use an inline function in misc.h to check for the address
range instead of a macro in base_addr_ac5.h
Changes in v3:
- use __image_copy_sta
On Tue, Oct 9, 2018 at 9:59 PM Pankaj Bansal wrote:
>
> The phydev structure is present in both ldpaa_eth_priv and
> wriop_dpmac_info. the phydev in wriop_dpmac_info is not being used
>
> As the phydev is created based on phy_addr and bus members of
> wriop_dpmac_info, it is appropriate to keep ph
The esdhc node has some minor fixes according to the RM document.
Signed-off-by: Yinbo Zhu
---
arch/arm/dts/fsl-lx2160a.dtsi | 11 ++-
1 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/arch/arm/dts/fsl-lx2160a.dtsi b/arch/arm/dts/fsl-lx2160a.dtsi
index 73c24f7..8c8172b 100
Enable driver model for eSDHC on lx2160a rdb board.
Signed-off-by: Yinbo Zhu
---
configs/lx2160ardb_defconfig |3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/configs/lx2160ardb_defconfig b/configs/lx2160ardb_defconfig
index bc16085..3d577fc 100644
--- a/configs/lx2160a
This patch is to add eSDHC nodes for lx2160a.
Signed-off-by: Yinbo Zhu
---
arch/arm/dts/fsl-lx2160a-rdb.dts |8
arch/arm/dts/fsl-lx2160a.dtsi| 24
2 files changed, 32 insertions(+), 0 deletions(-)
diff --git a/arch/arm/dts/fsl-lx2160a-rdb.dts b/arch/a
The dpmac initalization should not depend on phy.
As the phy is not necessary to be present for dpmac to function.
Therefore, remove dpmac initialization dependency from phy.
Signed-off-by: Pankaj Bansal
Acked-by: Joe Hershberger
---
Notes:
V3:
- No change
V2:
- No Change
dr
Till now we have had cases where we had one phy device per dpmac.
Now, with the upcoming products (LX2160AQDS), we have cases, where there
are sometimes two phy devices for one dpmac. One phy for TX lanes and
one phy for RX lanes. to handle such cases, add the support for multiple
phys in ethernet
if an error occurs during init_phy, we should free the phydev structure
which has been allocated by phy_connect.
Signed-off-by: Pankaj Bansal
Acked-by: Joe Hershberger
---
Notes:
V3:
- No change
V2:
- after free phydev just pass NULL into wriop_set_phy_dev()
drivers/net/ldpa
when there is no phy present for a dpmac, a dummy phy device is created.
when we move to multiple phy method, we need to create as many dummy phy
devices.
Change this method so that we don't need to create dummy phy devices.
We always report linkup if no phy is present.
Signed-off-by: Pankaj Bans
The phydev structure is present in both ldpaa_eth_priv and
wriop_dpmac_info. the phydev in wriop_dpmac_info is not being used
As the phydev is created based on phy_addr and bus members of
wriop_dpmac_info, it is appropriate to keep phydev in wriop_dpmac_info.
Also phy_regs is not being used, ther
The goto label name is misspelled it should be DPMAC not DPAMC
Signed-off-by: Pankaj Bansal
Acked-by: Joe Hershberger
---
Notes:
V3:
- No change
V2:
- No change
drivers/net/ldpaa_eth/ldpaa_eth.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/driver
This patch set adds support of multiple phys for one dpmac
Till now we have had cases where we had one phy device per dpmac.
Now, with the upcoming products (LX2160AQDS), we have cases, where
there are sometimes two phy devices for one dpmac. One phy for TX
lanes and one phy for RX lanes. To handl
Hi Tom,
On 9 October 2018 at 18:24, Simon Glass wrote:
>
> Hi Tom,
>
> Here is my attempt at a signed pull request. I've brought in most of the
> outstanding dm patches. Please let me know if it looks OK. Do you have my
> public key?
>
Build result here:
https://travis-ci.org/sglass68/u-boot/
> -Original Message-
> From: Joe Hershberger [mailto:joe.hershber...@ni.com]
> Sent: Wednesday, October 10, 2018 3:02 AM
> To: Pankaj Bansal
> Cc: u-boot ; Joseph Hershberger
> ; Priyanka Jain ;
> Varun Sethi
> Subject: Re: [U-Boot] [PATCH v2 6/6] driver: net: fsl-mc: Add support of
> m
Till now we have had cases where we had one phy device per dpmac.
Now, with the upcoming products (LX2160AQDS), we have cases, where there
are sometimes two phy devices for one dpmac. One phy for TX lanes and
one phy for RX lanes. to handle such cases, add the support for multiple
phys in ethernet
The dpmac initalization should not depend on phy.
As the phy is not necessary to be present for dpmac to function.
Therefore, remove dpmac initialization dependency from phy.
Signed-off-by: Pankaj Bansal
Acked-by: Joe Hershberger
---
Notes:
V3:
- No change
V2:
- No Change
dr
when there is no phy present for a dpmac, a dummy phy device is created.
when we move to multiple phy method, we need to create as many dummy phy
devices.
Change this method so that we don't need to create dummy phy devices.
We always report linkup if no phy is present.
Signed-off-by: Pankaj Bans
The phydev structure is present in both ldpaa_eth_priv and
wriop_dpmac_info. the phydev in wriop_dpmac_info is not being used
As the phydev is created based on phy_addr and bus members of
wriop_dpmac_info, it is appropriate to keep phydev in wriop_dpmac_info.
Also phy_regs is not being used, ther
if an error occurs during init_phy, we should free the phydev structure
which has been allocated by phy_connect.
Signed-off-by: Pankaj Bansal
Acked-by: Joe Hershberger
---
Notes:
V3:
- No change
V2:
- after free phydev just pass NULL into wriop_set_phy_dev()
drivers/net/ldpa
The goto label name is misspelled it should be DPMAC not DPAMC
Signed-off-by: Pankaj Bansal
Acked-by: Joe Hershberger
---
Notes:
V3:
- No change
V2:
- No change
drivers/net/ldpaa_eth/ldpaa_eth.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/driver
This patch set adds support of multiple phys for one dpmac
Till now we have had cases where we had one phy device per dpmac.
Now, with the upcoming products (LX2160AQDS), we have cases, where there
are sometimes two phy devices for one dpmac. One phy for TX lanes and one
phy for RX lanes. To handl
On Wed, Oct 10, 2018 at 1:17 AM Marek Vasut wrote:
>
> On 10/09/2018 05:35 PM, Masahiro Yamada wrote:
> > On Tue, Oct 9, 2018 at 11:55 PM Marek Vasut wrote:
> >>
> >> On 10/09/2018 02:24 PM, Masahiro Yamada wrote:
> >>> Hi Marek,
> >>
> >> Hi,
> >>
> >>> On Tue, Oct 9, 2018 at 8:26 PM Marek Vasut
# This discussion should be in ML as more people can join?
On Tue, Oct 09, 2018 at 07:25:47PM +0200, Heinrich Schuchardt wrote:
> On 10/09/2018 08:55 AM, AKASHI Takahiro wrote:
> > On Sat, Oct 06, 2018 at 09:51:01AM +0200, Heinrich Schuchardt wrote:
> >> On 09/30/2018 07:26 AM, Heinrich Schuchardt
The following documents describe device details according to the
i.MX family:
- README.imx25
- README.imx27
- README.imx5
- README.imx6
- README.mxs
Move all device common related document to doc/imx/common for a better
directory structure.
Signed-off-by: Breno Lima
---
doc/imx/{ => common}/RE
Heinrich,
On Tue, Oct 09, 2018 at 07:19:58PM +0200, Heinrich Schuchardt wrote:
> On 10/09/2018 09:24 AM, AKASHI, Takahiro wrote:
> > Do you have any specific idea about what is really missing
> > in Leif's/Rob's HII patch?
> > (My original question.)
> >
> > -Takahiro Akashi
>
> Please, see http
Currently the U-Boot doc/ directory contains the following files
that are only relevant for i.MX devices:
- doc/README.imx25
- doc/README.imx27
- doc/README.imx5
- doc/README.imx6
- doc/README.imximage
- doc/README.mxc_hab
- doc/README.mxs
- doc/README.mxsimage
- doc/README.sdp
Move all content t
The Serial Download Protocol feature is availible in various
i.MX SoCs.
Move README.sdp document to imx/misc directory.
Signed-off-by: Breno Lima
---
doc/imx/{ => misc}/README.sdp | 0
1 file changed, 0 insertions(+), 0 deletions(-)
rename doc/imx/{ => misc}/README.sdp (100%)
diff --git a/doc
Currently the Serial Download Protocol tools and procedure are
documented in two places:
- doc/imx/README.sdp
- doc/imx/README.imx6
It is better to consolidate all SDP related information into
README.sdp file, so move the content from README.imx6 to
README.sdp.
Signed-off-by: Breno Lima
---
do
The current High Assurance Boot document README.mxc_hab
include details for the following features in a single file:
- HAB Secure Boot
- HAB Encrypted Boot
Split HAB documentation in a specific directory for a cleaner
documentation structure, subsequent patches will include more
content in HAB do
This patch adds missing CONFIG_MCFUART to Kconfig.
Signed-off-by: Angelo Dureghello
---
Changes for v2:
- better Kconfig help
---
drivers/serial/Kconfig | 9 +
1 file changed, 9 insertions(+)
diff --git a/drivers/serial/Kconfig b/drivers/serial/Kconfig
index 5fa27254e3..56dbfd5759 10064
We only need to run driver-model tests with this config, since this is the
only thing that is different when CONFIG_OF_LIVE is not defined. Filter
out the other tests to same time.
Signed-off-by: Simon Glass
---
Changes in v2:
- Add new patch to reduce the number of tests run with sandbox_flattr
At present calling Uninit() always called ClearProgress() which outputs
a \r character as well as spaces to remove any progress information on the
line. This can mess up the normal output of binman and other tools. Fix
this by outputing this only when progress information has actually been
previous
There is no need to have README in all i.MX documents name.
Remove README from i.MX docs name and add .txt file extension.
Signed-off-by: Breno Lima
Reviewed-by: Ye Li
---
doc/imx/common/{README.imx25 => imx25.txt}| 0
doc/imx/common/{README.imx27 => imx27.txt}| 0
doc/imx/commo
This patch set is restructuring and cleaning up the current i.MX documentation
included in the U-Boot doc directory.
The current i.MX documentation is in the root directory so we cannot easily
check which one is i.MX related:
http://git.denx.de/?p=u-boot/u-boot-imx.git;a=tree;f=doc;
This series i
This patch adds devicetree support to the mcfuart.c driver
and removes non DM code.
Signed-off-by: Angelo Dureghello
---
Changes for v2:
- remove non DM code
---
drivers/serial/mcfuart.c | 106 +++
1 file changed, 28 insertions(+), 78 deletions(-)
diff --git
In some cases it is necessary to read the keyboard in early phases of
U-Boot. Update the config to allow this.
Signed-off-by: Simon Glass
---
drivers/input/Kconfig | 48 ++
drivers/input/Makefile | 11 ++
drivers/input/input.c | 5 -
3 file
At present we use 'make tests' to run the tests. For many projects
'make check' is more common, so support that as well. Also add some help
to 'make help'.
Signed-off-by: Simon Glass
---
Changes in v2: None
Makefile | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
Applied to u-boot-
This variable is not documented or set up in the module. Fix this.
Signed-off-by: Simon Glass
---
Changes in v2: None
tools/patman/tools.py | 3 +++
1 file changed, 3 insertions(+)
Applied to u-boot-dm
___
U-Boot mailing list
U-Boot@lists.denx.de
ht
There is no reason why this feature should not be supported for uclass-
private data. Update the code accordingly.
Signed-off-by: Simon Glass
---
drivers/core/device.c | 3 ++-
include/dm/uclass.h | 3 +++
2 files changed, 5 insertions(+), 1 deletion(-)
Applied to u-boot-dm
_
There are a few test cases which print output. Suppress this so that tests
can run silently in the normal case.
Signed-off-by: Simon Glass
---
Changes in v2: None
tools/buildman/test.py | 4 +++-
tools/dtoc/test_dtoc.py | 6 --
2 files changed, 7 insertions(+), 3 deletions(-)
Applied to
The following documents describe the image type used by the mkimage
tool to generate U-Boot images for i.MX devices.
- README.imximage
- README.mxsimage
Move all mkimage related document to doc/imx/mkimage for a better
directory structure.
Signed-off-by: Breno Lima
---
doc/imx/{ => mkimage}/RE
Hi Stephen,
On 4 October 2018 at 10:01, Stephen Warren wrote:
> On 10/01/2018 09:12 PM, Simon Glass wrote:
>>
>> From: Stephen Warren
>>
>> After a test has failed, test/py drains the U-Boot console log to ensure
>> that any relevant output is captured. At this point, we don't care about
>> dete
At present we pass around a private pointer to specify the cros_ec device.
With driver model it makes more sense to pass the device. Update the code
to do this.
Signed-off-by: Simon Glass
---
cmd/cros_ec.c | 24 +++---
drivers/misc/cros_ec.c | 147 +
This patch adds basic dts files for all the m68k boards.
Signed-off-by: Angelo Dureghello
---
Changes for v2:
- new patch
---
arch/m68k/dts/M5208EVBE.dts | 22 +++
arch/m68k/dts/M52277EVB.dts | 25
arch/m68k/dts/M52277EVB_stmicro.dts | 2
Add Kconfig options so that the RTC can be used in SPL and TPL. This is
helpful for accessing the contents of CMOS RAM, for example.
Signed-off-by: Simon Glass
---
drivers/rtc/Kconfig | 18 ++
drivers/rtc/Makefile | 2 +-
drivers/rtc/rtc-uclass.c | 1 +
3 files change
This documentation is out of date now that U-Boot builds dtc
automatically. Update it.
Signed-off-by: Simon Glass
---
doc/README.fdt-control | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
Applied to u-boot-dm
___
U-Boot mailing list
U-Boo
At present the tests are run without any indication of what is running.
For the tests which start with a build this is pretty obvious, but for
tools it is not.
Add a name for each test we run, and print it before starting the test.
Signed-off-by: Simon Glass
---
Changes in v2:
- Quote @$ correct
At present spi_flash_cmd_read_ops() allocates and frees a few bytes of
memory every time it is called. It is faster to use the stack for this
and this is now supported by the minimum GCC version required by U-Boot.
Remove the allocation and use a variable-sized array instead.
Signed-off-by: Simon
The filenames of the toolchains on kernel.org changes every now and then.
Fix it for the current change, and make the test use a regex so that it
has a better chance of passing with future changes too.
Signed-off-by: Simon Glass
---
Changes in v2: None
tools/buildman/test.py | 6 --
1 file
When SPI flash operations fail it is helpful to be able to see the error
codes and where they are generated. Add logging to capture this
information for read operations.
Signed-off-by: Simon Glass
---
drivers/mtd/spi/sf-uclass.c | 6 +++---
drivers/mtd/spi/sf_probe.c | 2 +-
drivers/mtd/spi/sp
The 'result' variable counts the number of failures in running the tests.
Rename it to 'failures' to make this more obvious. Also tidy up a few
comments.
Signed-off-by: Simon Glass
---
Changes in v2: None
test/run | 12
1 file changed, 8 insertions(+), 4 deletions(-)
Applied to u
On my Ubuntu 18.04.1 machine two driver-model bus tests have started
failing recently. The problem appears to be that the DATA region of the
executable is protected. This does not seem correct, but perhaps there
is a reason.
To work around it, unprotect the regions in these tests before accessing
On Tue, Oct 2, 2018 at 2:24 AM Simon Glass wrote:
>
> At present the mtrr functions disable the cache before making changes and
> enable it again afterwards. This is fine in U-Boot, but does not work if
> running in CAR (such as we are in SPL).
>
> Update the functions so that the caller can reque
On 09.10.2018 06:40, Simon Glass wrote:
> Hi Eugen,
>
> On 2 October 2018 at 01:37, Eugen Hristev wrote:
>>
>>
>>
>> On 01.10.2018 23:22, Anatolij Gustschin wrote:
>>>
>>> Hi Simon,
>>>
>>> On Mon, 1 Oct 2018 12:22:47 -0600
>>> Simon Glass s...@chromium.org wrote:
>>>
At present this functio
Hi Heinrich,
On Wed, Oct 10, 2018 at 12:48 AM Heinrich Schuchardt wrote:
>
> On 10/09/2018 11:27 AM, Bin Meng wrote:
> > Hi Heinrich,
> >
> > Did you ever get 'bootefi selftest' pass on qemu-x86_64? I got:
> >
> > => bootefi selftest
> > WARNING: booting without device tree
> > lib/efi_selftest/e
With Python 2.7.15rc1, ConfigParser.SafeConfigParser has unfortunately
started returning unicode, for unknown reasons. Adjust the code to handle
this by converting everything to unicode. We cannot convert things to
ASCII since email addresses may be encoded with UTF-8.
Signed-off-by: Simon Glass
At present version 3 messages are only supported on SPI. Add support for
using LPC as well, as used on samus.
Signed-off-by: Simon Glass
---
drivers/misc/cros_ec_lpc.c | 33 +
1 file changed, 33 insertions(+)
Applied to u-boot-dm
Move this option to Kconfig and tidy up the two boards which use it.
Signed-off-by: Simon Glass
---
configs/edison_defconfig | 1 +
configs/malta_defconfig | 1 +
drivers/rtc/Kconfig | 8
include/configs/edison.h | 1 -
include/configs/malta.h | 1 -
scripts/
This module is often available in the sandbox_spl build created by
'make check'. Use this as a default path so that just typing 'binman -t'
(without setting PYTHONPATH) will generally run the tests.
Signed-off-by: Simon Glass
---
Changes in v2: None
tools/binman/binman.py | 2 ++
tools/dtoc/dt
At present this file uses logging but it should use the new macros. Update
it and add a log message for an error.
Signed-off-by: Simon Glass
---
lib/tpm-common.c | 10 +++---
1 file changed, 7 insertions(+), 3 deletions(-)
Applied to u-boot-dm
__
We now have 99 tests. Before adding any more, rename everything to three
digits. This helps to preserve the ordering of tests and makes it easier
to find things.
Signed-off-by: Simon Glass
---
tools/binman/entry_test.py| 2 +-
tools/binman/fdt_test.py
At present it is not possible to specify that a node should be used before
relocation (in U-Boot proper) without it also ending up in SPL and TPL
device trees. Add a new "u-boot,dm-pre-proper" boolean property for this.
Signed-off-by: Simon Glass
---
doc/driver-model/README.txt | 4 +++-
driver
Hi Tom,
Here is my attempt at a signed pull request. I've brought in most of the
outstanding dm patches. Please let me know if it looks OK. Do you have my
public key?
The following changes since commit 0a60a81ba3860946551cb79aa6486aa076e357f3:
Kconfig: sandbox: enable cmd_avb and dependencies
Hi Heinrich,
On Wed, Oct 10, 2018 at 7:56 AM Bin Meng wrote:
>
> Hi Heinrich,
>
> On Wed, Oct 10, 2018 at 12:48 AM Heinrich Schuchardt
> wrote:
> >
> > On 10/09/2018 11:27 AM, Bin Meng wrote:
> > > Hi Heinrich,
> > >
> > > Did you ever get 'bootefi selftest' pass on qemu-x86_64? I got:
> > >
>
At present the tpm can only be used in U-Boot proper. Updated it to work
in SPL and TPL also.
Signed-off-by: Simon Glass
---
drivers/tpm/Makefile | 2 +-
lib/Kconfig | 22 ++
lib/Makefile | 10 +++---
3 files changed, 30 insertions(+), 4 deletions(-)
A
At present this test runs binman twice, which means that the temporary
files from the first run do not get cleaned up. Split this into two tests
to fix this problem.
Signed-off-by: Simon Glass
---
Changes in v2: None
tools/binman/ftest.py | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-
At present // in a device-tree file or link script causes a warning. But
this is used in the standard license header. Update the compiler flags to
use C99, which permits this.
Signed-off-by: Simon Glass
---
Makefile | 2 +-
scripts/Makefile.spl | 2 +-
2 files changed, 2 insertions(
On Mon, 1 Oct 2018 12:22:26 -0600
Simon Glass s...@chromium.org wrote:
> All driver-model operation should return an error code. Adjust this
> function to do so also.
>
> Signed-off-by: Simon Glass
Reviewed-by: Anatolij Gustschin
--
Anatolij
Applied to u-boot-dm
_
At present the tests run one after the other using a single CPU. This is
not very efficient. Bring in the concurrencytest module and run the tests
concurrently, using one process for each CPU by default. A -P option
allows this to be overridden, which is necessary for code-coverage to
function corr
Rather than returning what is effectively an internal data structure,
return the cros EC device itself.
Signed-off-by: Simon Glass
---
common/cros_ec.c | 4 ++--
include/cros_ec.h | 4 +---
2 files changed, 3 insertions(+), 5 deletions(-)
Applied to u-boot-dm
_
Make a few small updates to indicate that device tree can be used in SPL
and TPL.
Signed-off-by: Simon Glass
---
doc/README.fdt-control | 10 ++
doc/driver-model/README.txt | 3 ++-
2 files changed, 12 insertions(+), 1 deletion(-)
Applied to u-boot-dm
In some cases (e.g. sandbox with verified boot) it is useful to support
libfdt in TPL. Update the Kconfig to handle this.
Signed-off-by: Simon Glass
---
lib/Kconfig | 10 ++
1 file changed, 10 insertions(+)
Applied to u-boot-dm
___
U-Boot mai
It is sometimes useful to see what memory is being allocated early during
boot. Add logging to support this, using a new LOGC_ALLOC category.
Signed-off-by: Simon Glass
---
common/malloc_simple.c | 58 +++---
include/malloc.h | 1 +
2 files changed, 38
Some devices have children and want to press an existing inactive child
into service when needed. Add a function to help with this.
Signed-off-by: Simon Glass
---
drivers/core/device.c | 18 ++
include/dm/device.h | 15 +++
test/dm/core.c| 31 ++
At present the panel can be turned on but not off, and the brightness
cannot be controlled at run-time. Add a new API function to both the panel
and backlight uclasses to handle this. Enhance the PWM backlight driver
to deal with custom levels properly and allow the backlight to be turned
on and of
Unfortunately the test was not included in the original implementation.
Add one.
Signed-off-by: Simon Glass
---
tools/binman/ftest.py | 7 +++
tools/binman/test/100_intel_refcode.dts | 14 ++
2 files changed, 21 insertions(+)
create mode 100644 tools/binman/t
At present this option applies to SPL, but it should be available in TPL
also, and separately. Change to using CONFIG_IS_ENABLED(), add a new
Kconfig option and fix up hang().
Signed-off-by: Simon Glass
---
drivers/serial/Kconfig | 10 ++
drivers/serial/serial-uclass.c | 4
Add a string.h header for libraries that expect this to be available, now
that U-Boot's version has moved to include/linux.
Signed-off-by: Simon Glass
---
include/string.h | 1 +
1 file changed, 1 insertion(+)
create mode 100644 include/string.h
Applied to u-boot-dm
__
On Tue, Oct 2, 2018 at 2:48 AM Simon Glass wrote:
>
> Add some logging on failure.
>
> Signed-off-by: Simon Glass
> ---
>
> drivers/pci/pci_rom.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
Reviewed-by: Bin Meng
Applied to u-boot-dm
__
These are needed for the 2018 version of Chromium OS vboot. Add an
implementation for TPM v1, with v2 to come later.
Signed-off-by: Simon Glass
---
cmd/tpm_test.c | 15 ---
include/tpm-v1.h | 28
lib/tpm-v1.c | 68 +-
At present it is not possible to enable/disable block drivers in TPL. This
is needed to provide sandbox support. Add a Kconfig option and adjust the
Makefile.
Signed-off-by: Simon Glass
---
drivers/block/Kconfig | 12
drivers/block/Makefile | 2 +-
2 files changed, 13 insertions(
At present ctags emits lines with unmatched quotes which means that the
output file is invalid. This is with exuberant-ctags version 5.9~svn201103
but I also see it with plain ctags. I am not sure that it is a bug though.
Make a few minor changes in the source code to fix this problem.
Signed-off
1 - 100 of 303 matches
Mail list logo