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
12 Oct, 2017
2 commits
-
When building with W=1 errors like the one below is seen:
board/freescale/mx6sabresd/mx6sabresd.c:546:5: warning:
no previous prototype for ‘overwrite_console’
[-Wmissing-prototypes] int overwrite_console(void)Fix the build warnings by including .
Signed-off-by: Diego Dorta
Reviewed-by: Fabio Estevam -
There is no need call setup_display() from SPL code, so move it to
board_init(), which executes only in U-Boot proper.Reported-by: Stefano Babic
Signed-off-by: Fabio Estevam
Reviewed-by: Stefano Babic
01 Sep, 2017
1 commit
-
Signed-off-by: Tom Rini
Conflicts:
configs/imx6qdl_icore_mmc_defconfig
configs/imx6qdl_icore_rqs_defconfig
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
24 Aug, 2017
1 commit
-
To support more input characters (longer stings pasted into the U-Boot
prompt) without dropping, lets selects the recently added UART RX
buffer for these boards.Signed-off-by: Stefan Roese
Cc: Simon Glass
Cc: Bin Meng
Reviewed-by: Bin Meng
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
08 Aug, 2017
2 commits
-
This defconfig uses the PCIe x4 binary blobs from the congatec BIOS.
Signed-off-by: Stefan Roese
Cc: Simon Glass
Cc: Bin Meng
Reviewed-by: Bin Meng -
This patch adds the infrastructure to define different config headers
with different configurations and default environment for the baseboards
that can now be selected via Kconfig. The new configuration for the
theadorable-x86-conga-qa3-e3845 is also added. Also the new defconfig
file for this new target is added.Signed-off-by: Stefan Roese
Cc: Simon Glass
Cc: Bin Meng
Reviewed-by: Bin Meng
01 Aug, 2017
3 commits
-
Only a specific type of SPI flash exists on a board, having board
Kconfig to select the SPI flash seems to make more sense. Other
flash types are not necessary except coreboot, which implies all
available flash drivers there.Signed-off-by: Bin Meng
Reviewed-by: Simon Glass -
This is architecture-dependent early initialization hence should
be put in the platform Kconfig.Signed-off-by: Bin Meng
Reviewed-by: Andy Shevchenko
Reviewed-by: Simon Glass -
CONFIG_BOARD_EARLY_INIT_F literally indicates board-specific codes
and should be not 'default y' for all x86 boards.Signed-off-by: Bin Meng
Reviewed-by: Andy Shevchenko
Reviewed-by: Simon Glass
30 Jul, 2017
1 commit
-
This config option is needed on the congatec x86 BayTrail board, as
otherwise the USB hub will not get initialized correctly. This
patch selects this Kconfig option again.Signed-off-by: Stefan Roese
Cc: Simon Glass
Reviewed-by: Bin Meng
12 Jul, 2017
3 commits
-
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 -
At present CONFIG_CMD_SATA enables the 'sata' command which also brings
in SATA support. Some boards may wish to enable SATA without the command.
Add a separate CONFIG to permit this.Signed-off-by: Simon Glass
Reviewed-by: Bin Meng -
This converts the following to Kconfig:
CONFIG_SCSISigned-off-by: Simon Glass
Reviewed-by: Bin Meng
12 May, 2017
1 commit
-
The variable usdhc2_pads is only referenced during SPL builds, add a guard.
Cc: Otavio Salvador
Signed-off-by: Tom Rini
24 Jan, 2017
1 commit
-
This option should not really be user selectable. Note that on PowerPC
we currently only need BOARD_LATE_INIT when CHAIN_OF_TRUST is enabled so be
conditional on that.Signed-off-by: Tom Rini
Acked-by: Masahiro Yamada (for UniPhier)
11 Oct, 2016
1 commit
-
This patch adds a small README to explain the 2 defconfig files and its
usage for the different console UART options.Signed-off-by: Stefan Roese
Reviewed-by: Bin Meng
Cc: Simon Glass
07 Sep, 2016
1 commit
-
Currently MX6 SPL DDR initialization hardcodes the REF_SEL and
REFR fields of the MDREF register as 1 and 7, respectively for
DDR3 and 0 and 3 for LPDDR2.Looking at the MDREF initialization done via DCD we see that
boards do need to initialize these fields differently:$ git grep 0x021b0020 board/
board/bachmann/ot1200/mx6q_4x_mt41j128.cfg:DATA 4 0x021b0020 0x00005800
board/ccv/xpress/imximage.cfg:DATA 4 0x021b0020 0x00000800 /* MMDC0_MDREF */
board/freescale/mx6qarm2/imximage.cfg:DATA 4 0x021b0020 0x7800
board/freescale/mx6qarm2/imximage.cfg:DATA 4 0x021b0020 0x00005800
board/freescale/mx6qarm2/imximage_mx6dl.cfg:DATA 4 0x021b0020 0x00005800
board/freescale/mx6qarm2/imximage_mx6dl.cfg:DATA 4 0x021b0020 0x00005800
board/freescale/mx6qsabreauto/imximage.cfg:DATA 4 0x021b0020 0x00005800
board/freescale/mx6qsabreauto/mx6dl.cfg:DATA 4 0x021b0020 0x00005800
board/freescale/mx6qsabreauto/mx6qp.cfg:DATA 4 0x021b0020 0x00005800
board/freescale/mx6sabresd/mx6dlsabresd.cfg:DATA 4 0x021b0020 0x00005800
board/freescale/mx6sabresd/mx6q_4x_mt41j128.cfg:DATA 4 0x021b0020 0x00005800
board/freescale/mx6slevk/imximage.cfg:DATA 4 0x021b0020 0x00001800
board/freescale/mx6sxsabreauto/imximage.cfg:DATA 4 0x021b0020 0x00000800
board/freescale/mx6sxsabresd/imximage.cfg:DATA 4 0x021b0020 0x00000800
board/warp/imximage.cfg:DATA 4 0x021b0020 0x00001800So introduce a mechanism for users to be able to configure
REFSEL and REFR fields as needed.Keep all the mx6 SPL users in their current REF_SEL and REFR values,
so no functional changes for the existing users.Signed-off-by: Fabio Estevam
Reviewed-by: Eric Nelson
16 Aug, 2016
2 commits
-
This patch includes the following changes:
- Remove Designware I2C support from dts as its not used
- Configure SMBus PADs in dts
- Enable I2C commands and I2C support
- Configure SMSC2513 USB hub via SMBus upon startup
- Move environment location to match Minnowmax example
- Enhancement of the default environmentSigned-off-by: Stefan Roese
Cc: Bin Meng
Cc: Simon Glass
Reviewed-by: Bin Meng -
Add entry for the missing internal UART defconfig to the MAINTAINERS
file.Signed-off-by: Stefan Roese
Cc: Bin Meng
CC: Simon Glass
Reviewed-by: Bin Meng
28 Jul, 2016
2 commits
-
It's not necessary to implement the is_mx6q function, there is a macro in
sys_proto.h already implemented.Signed-off-by: Breno Lima
Reviewed-by: Fabio Estevam
12 Jul, 2016
1 commit
-
This patch adds support to enable and use the internal BayTrail UART
instead of the one integrated in the Super IO Winbond chip. For this,
a 2nd defconfig file is added.This is useful for tests done for the congatec SoM used on baseboards
without such a Super IO chip.Signed-off-by: Stefan Roese
Cc: Bin Meng
Cc: Simon Glass
Reviewed-by: Bin Meng
Reviewed-by: Simon Glass
23 May, 2016
2 commits
-
Let git ignore dsdt.aml, dsdt.asl.tmp and dsdt.c files.
Signed-off-by: Bin Meng
Reviewed-by: Stefan Roese
Tested-by: Stefan Roese
Reviewed-by: Simon Glass -
Enable ACPI table generation by creating a DSDT table for all baytrail
boards: conga-qeval20-qa3-e3845, bayleybay and minnowmax.Signed-off-by: Bin Meng
Reviewed-by: Stefan Roese
Tested-by: Stefan Roese
Reviewed-by: Simon Glass
17 Mar, 2016
1 commit
-
This patch adds support for the congatec conga-QA3/E3845-4G eMMC8 SoM,
installed on the congatec Qseven 2.0 evaluation carrier board
(conga-QEVAL).Its port is very similar to the MinnowboardMAX port and also uses
the Intel FSP as described in doc/README.x86.Currently supported are the following interfaces / devices:
- UART (via Winbond legacy SuperIO chip on carrier board)
- Ethernet (PCIe Intel I210 / E1000)
- SPI including SPI NOR as boot-device
- USB 2.0
- SATA via U-Boot SCSI IF
- eMMC
- Video (HDMI output @ 800x600)
- PCIeNot supported yet is:
- I2C
- USB 3.0Signed-off-by: Stefan Roese
Cc: Simon Glass
Cc: Bin Meng
Reviewed-by: Bin Meng
06 Feb, 2016
1 commit
-
Correct spelling of "U-Boot" shall be used in all written text
(documentation, comments in source files etc.).Signed-off-by: Bin Meng
Reviewed-by: Heiko Schocher
Reviewed-by: Simon Glass
Reviewed-by: Minkyu Kang
10 Jan, 2016
1 commit
-
'sf command' should receive the length in sector boundaries, so fix it
accordingly.Also, show the steps to set the server and board IP addresses for
making the steps clearer.Signed-off-by: Otavio Salvador
Reviewed-by: Fabio Estevam
03 Jan, 2016
1 commit
-
Use the macro SETUP_IOMUX_PAD(...) rather than imx_iomux_v3_setup_multiple_pads(...) in order to setup
the pin configuration for ECSPI1.ARRAY_SIZE(pads) provides the wrong size for imx_iomux_v3_setup_multiple_pads(pads, ARRAY_SIZE(pads)) in
case of MX6QDL. In the particular case, the content of GPR12 is overwritten and the IPG/AHB/ATB/ATP clocks
are deactivated. Therefore, the connection to the system via JTAG is not possible anymore. Furthermore,
kernel version 3.0.35 hangs during bootprocess in the function etm_init().Signed-off-by: Michael Schanz
Acked-by: Otavio Salvador
07 Dec, 2015
1 commit
-
After the conversion to SPL the defconfig was renamed, so adjust it.
Signed-off-by: Otavio Salvador
25 Nov, 2015
2 commits
-
Congatec has several MX6 boards based on quad, dual, dual-lite and solo.
Add SPL support so that all the variants can be supported
Signed-off-by: Otavio Salvador
Reviewed-by: Fabio Estevam -
Add SPI NOR support:
=> sf probe
SF: Detected SST25VF032B with page size 256 Bytes, erase size 4 KiB, total 4 MiBSigned-off-by: Otavio Salvador
Reviewed-by: Fabio Estevam
20 Sep, 2015
2 commits
-
Add me as the board maintainer and move the status to 'Maintained'.
Signed-off-by: Otavio Salvador
-
The printf can be put in a single line of code, so make it
simplerSigned-off-by: Otavio Salvador
13 Sep, 2015
1 commit
-
Remove duplicated SYS_SOC Kconfig entry from board Kconfig,
because we have this entry in arch/arm/cpu/armv7/mx6/Kconfig.Signed-off-by: Peng Fan
Cc: Stefano Babic
Cc: Heiko Schocher
Cc: Christian Gmeiner
Cc: Stefan Roese
Cc: Troy Kisky
Cc: Nikita Kiryanov
Cc: "Eric Bénard"
Cc: Fabio Estevam
Cc: Tim Harvey
Cc: Marek Vasut
Cc: Markus Niebel
Cc: Otavio Salvador
Acked-by: Stefan Roese
Acked-by: Marek Vasut
Acked-by: Christian Gmeiner
Acked-by: Markus Niebel
Acked-by: Troy Kisky
Acked-by: Igor Grinberg
02 Sep, 2015
1 commit
-
cgtqmx6eval can be populated with a AR8035 or KSZ9031 depending on the
board revision.Add Ethernet support.
Signed-off-by: Otavio Salvador
26 Jul, 2015
1 commit
-
Use the same DCD settings from Congatec's U-boot tree for
the P/N 016113 card.Signed-off-by: Otavio Salvador