08 Oct, 2019
8 commits
-
The get_board_id() function was using the old gpio_* compatibility layer
to read HW and SW ID numbers encoded on the PCB board.After this change the new dm_gpio* API is used for this purpose.
Signed-off-by: Lukasz Majewski
-
After this change the display5's emergency gpio use dm_gpio* functions
instead of legacy ones (gpio*) to read its state.Signed-off-by: Lukasz Majewski
-
The common.c file content can be safely moved to spl.c file after
performing the DM/DTS conversion for the U-Boot proper.It contains the non DM/DTS setup code, which now is only used by SPL.
Signed-off-by: Lukasz Majewski
-
This UART is not used in U-Boot, so there is no need to initialize it.
Signed-off-by: Lukasz Majewski
-
The DM/DTS support for SPI is disabled on purpose for SPL, as it is not
supported as of time of this conversion.Signed-off-by: Lukasz Majewski
-
After this commit the display5 device would use FEC driver supporting
driver model (DM_ETH).Signed-off-by: Lukasz Majewski
-
After this commit the display5 device would use eMMC driver supporting
driver model (DM_MMC and BLK).Signed-off-by: Lukasz Majewski
-
After this commit the display5 device would use I2C driver supporting
driver model (DM_I2C).The 'i2c' and 'eeprom' commands now use DM I2C drivers and initialize
on-bus devices according to device tree description.Signed-off-by: Lukasz Majewski
12 Aug, 2019
4 commits
-
This header file is now only used by files that access internal
environment features. Drop it from various places where it is not needed.Acked-by: Joe Hershberger
Signed-off-by: Simon Glass -
Move env_set() over to the new header file.
Acked-by: Joe Hershberger
Signed-off-by: Simon Glass -
Move env_init() over to the new header file.
Signed-off-by: Simon Glass
Acked-by: Joe Hershberger -
Move this function over to the new header file.
Signed-off-by: Simon Glass
Acked-by: Joe Hershberger
20 Jul, 2019
2 commits
-
Before the wide DM/DTS adoption in the U-Boot proper, the display5
has been using only DM_SERIAL to provide serial console in
pre-relocation.After moving to full DM/DTS adoption in the U-Boot proper the
U_BOOT_DEVICE definition is not needed anymore, as it has been
replaced with udevice creation from provided DTS description.Signed-off-by: Lukasz Majewski
Reviewed-by: Peng Fan -
After commit 14453fbfadc2 ("Convert CONFIG_SF_DEFAULT_* to Kconfig")
and commit abe66b1b5dec ("Convert CONFIG_ENV_SPI_* to Kconfig") ,which
moved some SPI related CONFIG_* defines to Kconfig the display5 board has
become unbootable as the SPI CS check condition had wrong value.This commit fixes this check and allows proper SPI NOR flash operation in
SPL.Signed-off-by: Lukasz Majewski
23 Jun, 2019
1 commit
-
Converted to use fsl_esdhc_imx for i.MX platforms.
Signed-off-by: Yangbo Lu
Tested-by: Steffen Dirkwinkel
Reviewed-by: Peng Fan
Reviewed-by: Lukasz Majewski
Reviewed-by: Martyn Welch
Acked-by: Jason Liu
18 Jun, 2018
6 commits
-
Without this change the following warning shows up when building:
board/liebherr/display5/display5.c:270:3:
warning: implicit declaration of function ‘eth_env_set_enetaddr’ [-Wimplicit-function-declaration]This commit fixes this issue.
Signed-off-by: Lukasz Majewski
-
Signed-off-by: Lukasz Majewski
-
This code performs DDR3 memory calibration for display5 board.
Signed-off-by: Lukasz Majewski
-
Test case:
The fitImage gets corrupted:
truncate -c -s 3M fitImage
run tftp_mmc_fitImg
setenv boot_os y
reset[board shall hang in SPL with
"Trying to boot from MMC1" information]Then after X seconds WDT is causing board to reset. After N boot attempts
we enter recovery mode.Signed-off-by: Lukasz Majewski
-
To enter the special mode, one needs to short cut two pads with e.g. screw
driver.After power up the SPL will execute u-boot in which proper actions will be
taken.It is worth noting that we do not alter envs (even the BOOT_FROM variable)
and unconditionally go to recovery.Signed-off-by: Lukasz Majewski
-
Force booting through u-boot proper when environment error encountered
(as a result of either broken SPI-NOR or erased envs).Signed-off-by: Lukasz Majewski
11 May, 2018
1 commit
-
This patch is necessary for providing basic bootcount checking in the case
of using "falcon" boot mode in that board.It forces u-boot proper boot, when we exceed the number of errors.
Signed-off-by: Lukasz Majewski
Reviewed-by: Stefan Roese
07 May, 2018
1 commit
-
When U-Boot started using SPDX tags we were among the early adopters and
there weren't a lot of other examples to borrow from. So we picked the
area of the file that usually had a full license text and replaced it
with an appropriate SPDX-License-Identifier: entry. Since then, the
Linux Kernel has adopted SPDX tags and they place it as the very first
line in a file (except where shebangs are used, then it's second line)
and with slightly different comment styles than us.In part due to community overlap, in part due to better tag visibility
and in part for other minor reasons, switch over to that style.This commit changes all instances where we have a single declared
license in the tag as both the before and after are identical in tag
contents. There's also a few places where I found we did not have a tag
and have introduced one.Signed-off-by: Tom Rini
28 Apr, 2018
1 commit
-
We have a large number of places where while we historically referenced
gd in the code we no longer do, as well as cases where the code added
that line "just in case" during development and never dropped it.Signed-off-by: Tom Rini
05 Mar, 2018
1 commit
-
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.hand replaces include directives:
#include -> #include
#include -> #includeReported-by: Thomas Petazzoni
Signed-off-by: Masahiro Yamada
09 Nov, 2017
1 commit
-
This commit provides support for LWN's IMX6Q based DISPLAY5 board.
Signed-off-by: Lukasz Majewski
18 Sep, 2017
1 commit
-
bss section is cleared in crt0.S. board_init_r() is also
entered from crt0 code.Signed-off-by: Anatolij Gustschin
Cc: Christian Gmeiner
Cc: Nikita Kiryanov
Cc: Jagan Teki
Cc: Tim Harvey
Cc: Marek Vasut
Cc: Lukasz Majewski
Cc: Fabio Estevam
Reviewed-by: Lukasz Majewski
Reviewed-by: Christian Gmeiner
Reviewed-by: Fabio Estevam
28 Aug, 2017
1 commit
-
Since the gpr_init() function is common for boards using MX6S, MX6DL, MX6D,
MX6Q and MX6QP processors move it to the soc.c file.Signed-off-by: Breno Lima
Acked-by: Stefano Babic
Reviewed-by: Lukasz Majewski
Reviewed-by: Fabio Estevam
16 Aug, 2017
2 commits
-
We are now using an env_ prefix for environment functions. Rename these
two functions for consistency. Also add function comments in common.h.Quite a few places use getenv() in a condition context, provoking a
warning from checkpatch. These are fixed up in this patch also.Suggested-by: Wolfgang Denk
Signed-off-by: Simon Glass -
We are now using an env_ prefix for environment functions. Rename setenv()
for consistency. Also add function comments in common.h.Suggested-by: Wolfgang Denk
Signed-off-by: Simon Glass
12 Jul, 2017
1 commit
-
Change is consistent with other SOCs and it is in preparation
for adding SOMs. SOC's related files are moved from cpu/ to
mach-imx/.This change is also coherent with the structure in kernel.
Signed-off-by: Stefano Babic
CC: Fabio Estevam
CC: Akshay Bhat
CC: Ken Lin
CC: Marek Vasut
CC: Heiko Schocher
CC: "Sébastien Szymanski"
CC: Christian Gmeiner
CC: Stefan Roese
CC: Patrick Bruenn
CC: Troy Kisky
CC: Nikita Kiryanov
CC: Otavio Salvador
CC: "Eric Bénard"
CC: Jagan Teki
CC: Ye Li
CC: Peng Fan
CC: Adrian Alonso
CC: Alison Wang
CC: Tim Harvey
CC: Martin Donnelly
CC: Marcin Niestroj
CC: Lukasz Majewski
CC: Adam Ford
CC: "Albert ARIBAUD (3ADEV)"
CC: Boris Brezillon
CC: Soeren Moch
CC: Richard Hu
CC: Wig Cheng
CC: Vanessa Maegima
CC: Max Krummenacher
CC: Stefan Agner
CC: Markus Niebel
CC: Breno Lima
CC: Francesco Montefoschi
CC: Jaehoon Chung
CC: Scott Wood
CC: Joe Hershberger
CC: Anatolij Gustschin
CC: Simon Glass
CC: "Andrew F. Davis"
CC: "Łukasz Majewski"
CC: Patrice Chotard
CC: Nobuhiro Iwamatsu
CC: Hans de Goede
CC: Masahiro Yamada
CC: Stephen Warren
CC: Andre Przywara
CC: "Álvaro Fernández Rojas"
CC: York Sun
CC: Xiaoliang Yang
CC: Chen-Yu Tsai
CC: George McCollister
CC: Sven Ebenfeld
CC: Filip Brozovic
CC: Petr Kulhavy
CC: Eric Nelson
CC: Bai Ping
CC: Anson Huang
CC: Sanchayan Maity
CC: Lokesh Vutla
CC: Patrick Delaunay
CC: Gary Bisson
CC: Alexander Graf
CC: u-boot@lists.denx.de
Reviewed-by: Fabio Estevam
Reviewed-by: Christian Gmeiner
04 Jul, 2017
1 commit
-
There was for long time no activity in the 4xx area.
We need to go further and convert to Kconfig, but it
turned out, nobody is interested anymore in 4xx,
so remove it.Signed-off-by: Heiko Schocher
13 Apr, 2017
1 commit
-
This allows us to use the same DRAM init function on all archs. Add a
dummy function for arc, which does not use DRAM init here.Signed-off-by: Simon Glass
[trini: Dummy function on nios2]
Signed-off-by: Tom Rini
06 Apr, 2017
2 commits
-
At present we cannot use this function as an init sequence call without a
wrapper, since it returns the RAM size. Adjust it to set the RAM size in
global_data instead, and return 0 on success.Signed-off-by: Simon Glass
Reviewed-by: Stefan Roese -
It looks like only cm5200 and tqm8xx use this feature, so we don't really
need it in generic code. Drop it and have the users access gd->board_type
directly.Signed-off-by: Simon Glass
Reviewed-by: Stefan Roese
30 Jan, 2017
1 commit
-
This patch provides u-boot support for Liebherr (LWN) mccmon6 board.
Signed-off-by: Lukasz Majewski
Reviewed-by: Stefano Babic
Reviewed-by: Tom Rini
24 Oct, 2016
1 commit
-
This should be defined in a header file so that arguments are checked.
Move it to video.h.Signed-off-by: Simon Glass
Reviewed-by: Tom Rini
12 Oct, 2016
1 commit
-
Create a Kconfig entry for DISPLAY_BOARDINFO and make it be the default
in certain architectures. Migrate all config files.Signed-off-by: Lokesh Vutla
Signed-off-by: Tom Rini
30 Nov, 2015
1 commit
-
In preparation of some new Liebherr boards to be added soon, a new
"liebherr" vendor directory gets created, and the "lwmon5" board
directory is moved into this new vendor directory.cc: Stefan Roese
Signed-off-by: Wolfgang Denk
Signed-off-by: Stefan Roese