| #
0e00a84c |
| 04-Mar-2018 |
Masahiro Yamada <yamada.masahiro@socionext.com> |
UPSTREAM: libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h>
Thomas reported U-Boot failed to build host tools if libfdt-devel package is installed because tools include libfdt header
UPSTREAM: libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h>
Thomas reported U-Boot failed to build host tools if libfdt-devel package is installed because tools include libfdt headers from /usr/include/ instead of using internal ones.
This commit moves the header code: include/libfdt.h -> include/linux/libfdt.h include/libfdt_env.h -> include/linux/libfdt_env.h
and replaces include directives: #include <libfdt.h> -> #include <linux/libfdt.h> #include <libfdt_env.h> -> #include <linux/libfdt_env.h>
Change-Id: I6c0f7e50e8b571106627f25ddac008a62bd2994e Reported-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
show more ...
|
| #
0d1414bd |
| 22-Aug-2017 |
Bin Meng <bmeng.cn@gmail.com> |
sandbox: Add a dummy invalidate_dcache_range() function
This adds invalidate_dcache_range() so that some drivers can build without error on sandbox.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
| #
c87dc38d |
| 22-May-2017 |
Simon Glass <sjg@chromium.org> |
bootstage: Require timer_get_boot_us() to be defined
At present we provide a default version of this function for use by bootstage. However it uses the system timer and therefore likely requires dri
bootstage: Require timer_get_boot_us() to be defined
At present we provide a default version of this function for use by bootstage. However it uses the system timer and therefore likely requires driver model. This makes it impossible to time driver-model init.
Drop the function and require boards to provide their own. Add a sandbox version also. There is a default implememtation in lib/time.c for boards which use CONFIG_SYS_TIMER_COUNTER.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| #
9d922450 |
| 17-May-2017 |
Simon Glass <sjg@chromium.org> |
dm: Use dm.h header when driver mode is used
This header includes things that are needed to make driver build. Adjust existing users to include that always, even if other dm/ includes are present
S
dm: Use dm.h header when driver mode is used
This header includes things that are needed to make driver build. Adjust existing users to include that always, even if other dm/ includes are present
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| #
ebe621d5 |
| 15-Jul-2016 |
Tom Rini <trini@konsulko.com> |
Merge git://git.denx.de/u-boot-dm
|
| #
a7d9caec |
| 04-Jul-2016 |
Simon Glass <sjg@chromium.org> |
sandbox: Don't use PCI in SPL
PCI is not supported in SPL for sandbox, so avoid using it.
Signed-off-by: Simon Glass <sjg@chromium.org>
|
| #
f4289cbd |
| 04-Jul-2016 |
Simon Glass <sjg@chromium.org> |
sandbox: Add some missing headers in cpu.c
These headers are needed in case they are not transitively included.
Signed-off-by: Simon Glass <sjg@chromium.org>
|
| #
6e206504 |
| 04-Jul-2016 |
Simon Glass <sjg@chromium.org> |
sandbox: Correct header file order in cpu.c
The dm/ file should go at the end. Move it.
Signed-off-by: Simon Glass <sjg@chromium.org>
|
| #
9723563a |
| 09-Nov-2015 |
Simon Glass <sjg@chromium.org> |
sandbox: Add a way to skip time delays
Some tests are slow due to delays which are unnecessary on sandbox. The worst offender is USB where we lose two seconds. Add a way to disable time delays.
Sig
sandbox: Add a way to skip time delays
Some tests are slow due to delays which are unnecessary on sandbox. The worst offender is USB where we lose two seconds. Add a way to disable time delays.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| #
5010d98f |
| 06-Jul-2015 |
Simon Glass <sjg@chromium.org> |
sandbox: Use the reset driver to handle reset
Move sandbox over to use the reset uclass for reset, instead of a direct call to do_reset(). This allows us to add tests.
Signed-off-by: Simon Glass <s
sandbox: Use the reset driver to handle reset
Move sandbox over to use the reset uclass for reset, instead of a direct call to do_reset(). This allows us to add tests.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| #
6f43ba70 |
| 07-Jul-2015 |
Albert ARIBAUD <albert.u.boot@aribaud.net> |
Merge branch 'u-boot/master' into 'u-boot-arm/master'
|
| #
212b6601 |
| 15-Jun-2015 |
Stefano Babic <sbabic@denx.de> |
Merge branch 'master' of git://git.denx.de/u-boot
|
| #
b9130d88 |
| 12-Jun-2015 |
Tom Rini <trini@konsulko.com> |
Merge git://git.denx.de/u-boot-dm
|
| #
29748515 |
| 13-May-2015 |
Simon Glass <sjg@chromium.org> |
sandbox: Add an implementation for cleanup_before_linux_select()
Support this function so we can use Chrome OS verified boot with sandbox.
Signed-off-by: Simon Glass <sjg@chromium.org>
|
| #
d85cd291 |
| 05-Jun-2015 |
Tom Rini <trini@konsulko.com> |
Merge git://git.denx.de/u-boot-dm
|
| #
8939df09 |
| 11-May-2015 |
Simon Glass <sjg@chromium.org> |
sandbox: Tidy up terminal restore
For some reason 'u-boot -D' does not restore the terminal correctly when the 'reset' command is used. Call the terminal restore function explicitly in this case.
S
sandbox: Tidy up terminal restore
For some reason 'u-boot -D' does not restore the terminal correctly when the 'reset' command is used. Call the terminal restore function explicitly in this case.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Joe Hershberger <joe.hershberger@ni.com>
show more ...
|
| #
02ffb580 |
| 08-May-2015 |
Tom Rini <trini@konsulko.com> |
Merge git://git.denx.de/u-boot-dm
|
| #
909bd6d9 |
| 21-Apr-2015 |
Joe Hershberger <joe.hershberger@ni.com> |
sandbox: Add test function to advance time
Add a function that maintains an offset to include in the system timer values returned from the lib/time.c APIs.
This will allow timeouts to be skipped in
sandbox: Add test function to advance time
Add a function that maintains an offset to include in the system timer values returned from the lib/time.c APIs.
This will allow timeouts to be skipped instantly in tests
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Acked-by: Simon Glass <sjg@chromium.org>
show more ...
|
| #
b939689c |
| 05-May-2015 |
Albert ARIBAUD <albert.u.boot@aribaud.net> |
Merge branch 'u-boot/master' into 'u-boot-arm/master'
|
| #
5f757cdc |
| 23-Apr-2015 |
Tom Rini <trini@konsulko.com> |
Merge branch 'master' of git://git.denx.de/u-boot-dm
|
| #
b45122fd |
| 28-Feb-2015 |
Simon Glass <sjg@chromium.org> |
fdt: sandbox: Move setup code from board_f to fdtdec
We want to be able to set up the device tree in SPL, so move this code to a common place.
Signed-off-by: Simon Glass <sjg@chromium.org>
|
| #
dd2d29a1 |
| 13-Apr-2015 |
Sjoerd Simons <sjoerd.simons@collabora.co.uk> |
sandbox: Split bootm code out into lib/bootm
Follow the convention of other architectures and move the platform specific linux bootm code into sandbox/lib/bootm.c.
Signed-off-by: Sjoerd Simons <sjo
sandbox: Split bootm code out into lib/bootm
Follow the convention of other architectures and move the platform specific linux bootm code into sandbox/lib/bootm.c.
Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> Acked-by: Simon Glass <sjg@chromium.org>
show more ...
|
| #
9569c406 |
| 05-Mar-2015 |
Simon Glass <sjg@chromium.org> |
dm: sandbox: pci: Add PCI support for sandbox
Add the required header information, device tree nodes and I/O accessor functions to support PCI on sandbox. All devices are emulated by drivers which c
dm: sandbox: pci: Add PCI support for sandbox
Add the required header information, device tree nodes and I/O accessor functions to support PCI on sandbox. All devices are emulated by drivers which can be added as required for testing or development.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| #
c23154aa |
| 08-Aug-2014 |
Stefano Babic <sbabic@denx.de> |
Merge branch 'master' of git://git.denx.de/u-boot-arm
|
| #
61336833 |
| 23-Jul-2014 |
Simon Glass <sjg@chromium.org> |
sandbox: Remove all drivers before exit
Drivers are supposed to be able to close down cleanly. To set a good example, make sandbox shut down its driver model drivers and remove them before exit.
It
sandbox: Remove all drivers before exit
Drivers are supposed to be able to close down cleanly. To set a good example, make sandbox shut down its driver model drivers and remove them before exit.
It may be desirable to do the same more generally once driver model is more widely-used. This could be done during bootm, before U-Boot jumps to the OS. It seems far too early to make this change.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|