16 Aug, 2017
3 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 these
commonly used functions, for consistency. Also add function comments in
common.h.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
2 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
17 Oct, 2016
1 commit
-
Declaring a CSF section makes the imximage tool increase the size of
data to be loaded by the BootROM and also adds a pointer to that CSF
section in the IVT header to the BootROM can check the signature.Signed-off-by: Gary Bisson
24 Sep, 2016
1 commit
-
Now, arch/${ARCH}/include/asm/errno.h and include/linux/errno.h have
the same content. (both just wrap )Replace all include directives for with .
Signed-off-by: Masahiro Yamada
[trini: Fixup include/clk.]
Signed-off-by: Tom Rini
02 Apr, 2016
1 commit
-
Most of ehci-fsl header describe USB controller
designed by Chipidea and used by various SoC vendors.This patch renames it to a generic header: ehci-ci.h
Contents of file are not changed (so it contains several
references to freescale SoCs).Signed-off-by: Mateusz Kulikowski
Acked-by: Marek Vasut
Tested-by: Simon Glass
13 Sep, 2015
2 commits
-
We should not return 0 on failure, so return a negative error code
instead.Also centralize the error path so that is easier to follow.
Cc: Troy Kisky
Signed-off-by: Fabio Estevam
Acked-by: Troy Kisky -
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
-
Troy Kisky will be maintaining the Nitrogen6x board going forward.
Signed-off-by: Eric Nelson
Acked-by: Troy Kisky
17 Feb, 2015
1 commit
-
Signed-off-by: Eric Nelson
Acked-by: Stefano Babic
24 Nov, 2014
1 commit
-
When an invalid USDHC port is passed we should return -EINVAL instead of 0.
Also, return the error immediately on fsl_esdhc_initialize() failure.
Cc: Eric Nelson
Signed-off-by: Fabio Estevam
29 Oct, 2014
1 commit
-
This commit introduces a Kconfig symbol for each ARM CPU:
CPU_ARM720T, CPU_ARM920T, CPU_ARM926EJS, CPU_ARM946ES, CPU_ARM1136,
CPU_ARM1176, CPU_V7, CPU_PXA, CPU_SA1100.
Also, it adds the CPU feature Kconfig symbol HAS_VBAR which is selected
for CPU_ARM1176 and CPU_V7.For each target, the corresponding CPU is selected and the definition of
SYS_CPU in the corresponding Kconfig file is removed.Also, it removes redundant "string" type in some Kconfig files.
Signed-off-by: Georges Savoundararadj
Acked-by: Albert ARIBAUD
Cc: Masahiro Yamada
21 Oct, 2014
1 commit
-
Provide a public declaration of the board_spi_cs_gpio()
callback for i.MX SPI chip selects to prevent the warning
"Should it be static?" when compiling with "make C=1".Signed-off-by: Eric Nelson
09 Oct, 2014
1 commit
-
The single file conflict below is actually trivial.
Conflicts:
board/boundary/nitrogen6x/nitrogen6x.c
06 Oct, 2014
18 commits
-
The HPD pin and RX_SENSE registers have proven to be less reliable
than using I2C on the EDID pins for detection of an HDMI monitor.
In particular, when the HDMI output is reset through a "reboot"
cycle, the detect_hdmi() routine often bounces, resulting in
a failure to detect a connected monitor.Signed-off-by: Eric Nelson
-
Add support for WVGA (800x480) panels using VESA GTF timings over
LVDS.No auto-detection is supported, so you must configure this panel
manually through the 'panel' environment variable:U-Boot > setenv panel svga
U-Boot > saveenv && resetSigned-off-by: Eric Nelson
-
Add support for an Ampire 1024x600 LVDS panel with integrated Ilitek
capacitive touch screen.Auto-detection is enabled, so no explicit configuration is needed.
Signed-off-by: Eric Nelson
-
Add support for 800x600 18-bit RGB displays using VESA GTF timings.
No auto-detection is supported, so you must configure this panel
manually through the 'panel' environment variable:U-Boot > setenv panel svga
U-Boot > saveenv && resetSigned-off-by: Eric Nelson
-
Add support for the Touch Revolution Fusion7 display: 800x480 RGB
with a custom F0710A resistive touch controller.Auto-detection of this panel is supported so no configuration is
required.Signed-off-by: Eric Nelson
-
This patch adds support for LVDS WXGA displays that use the SPWG encoding
standard instead of JEIDA.No auto-detection is enabled and you must explicitly set the 'panel'
environment variable:U-Boot > setenv panel LDB-WXGA-S
U-Boot > saveenv && resetSigned-off-by: Eric Nelson
-
Add support for LG 9.7" LVDS panel (1024x768) with integrated eGalax
touch screen.Note that this panel differs only slightly from the Hannstar XGA panel
(margins).No auto-detection is available because it shares the same touch controller
as the Hannstar-XGA display, so you'll need to configure it through the
'panel' environment variable:U-Boot > setenv panel LG-9.7
U-Boot > saveenv && resetSigned-off-by: Eric Nelson
-
Add support for a 1/4 VGA panel with a 24-bit RGB interface.
No auto-detection is enabled, so you must configure the 'panel'
environment variable to use this display:U-Boot > setenv panel qvga
U-Boot > saveenv && resetSigned-off-by: Eric Nelson
-
Add support for Boundary Devices 7" and 10.1" 1280x800 displays with
integrated FocalTech ft5x06 10-point touch controller.Because they share the touch controller with the 1024x600 displays,
auto-detection is disabled and you must explicitly set the 'panel'
environment variable:U-Boot > setenv panel LDB-WXGA
U-Boot > saveenv && resetSigned-off-by: Robert Winkler
Signed-off-by: Eric Nelson -
Include declarations of board_ehci callbacks to prevent compiler warnings
and enforce function prototypes.Signed-off-by: Eric Nelson
-
Testing shows that the Micrel PHY may not be completely out
of reset if accessed immediately.Signed-off-by: Troy Kisky
Signed-off-by: Eric Nelson -
Declare locally-used data structures and functions as
static and pull in header files to prevent compiler warnings
of "Should it be static?" when building with "make C=1".Signed-off-by: Eric Nelson
-
Configure CLKO outputs for SGTL5000, CSI camera.
The sys_mclk output for the SGTL500 in particular prevents
Windows CE from properly driving audio.Signed-off-by: Troy Kisky
Signed-off-by: Eric Nelson -
Ensure that cameras and USB OTG power are in a stable (reset)
state at reset by configuring their pads and toggling GPIOs.Signed-off-by: Troy Kisky
Signed-off-by: Eric Nelson -
Pads SD2_CLK/CMD/DAT0-3 are connected to an SDIO WiFi device on
Nitrogen and unconnected on BD-SL-i.MX6 (sabre lite).Configure them as SDIO pins to prevent them from being in a state
that confuses the WiFi part.Signed-off-by: Eric Nelson
-
The same logic applies to both SD card slots, only with different
GPIOs and the code should make that easier to see.Signed-off-by: Troy Kisky
-
Several customers have asked to leave the display quiet during
boot, so allow the user to express this request by the presence
of environment variable "novideo".Signed-off-by: Eric Nelson
-
Update DDR calibration settings based on a larger test set.
The initial values were gathered on a small number of boards,
and have been found to fail on some boards under load.Signed-off-by: Eric Nelson
24 Sep, 2014
1 commit
-
MXC SPI driver has a feature whereas a GPIO line can be used to force CS high
across multiple transactions. This is set up by embedding the GPIO information
in the CS value:cs = (cs | gpio << 8)
This merge of cs and gpio data into one value breaks the sf probe command:
if the use of gpio is required, invoking "sf probe " will not work, because
the CS argument doesn't have the GPIO information in it. Instead, the user must
use "sf probe << 8>". For example, if bank 2 gpio 30 is used to force
cs high on cs 0, bus 0, then instead of typing "sf probe 0" the user now must
type "sf probe 15872".This is inconsistent with the description of the sf probe command, and forces
the user to be aware of implementaiton details.Fix this by introducing a new board function: board_spi_cs_gpio(), which will
accept a naked CS value, and provide the driver with the relevant GPIO, if one
is necessary.Cc: Eric Nelson
Cc: Eric Benard
Cc: Fabio Estevam
Cc: Tim Harvey
Cc: Stefano Babic
Cc: Tom Rini
Cc: Marek Vasut
Reviewed-by: Marek Vasut
Signed-off-by: Nikita Kiryanov
Reviewed-by: Jagannadha Sutradharudu Teki
14 Sep, 2014
1 commit
-
Now the types of CONFIG_SYS_{ARCH, CPU, SOC, VENDOR, BOARD, CONFIG_NAME}
are specified in arch/Kconfig.We can delete the ones in arch and board Kconfig files.
This commit can be easily reproduced by the following command:
find . -name Kconfig -a ! -path ./arch/Kconfig | xargs sed -i -e '
/config[[:space:]]SYS_\(ARCH\|CPU\|SOC\|\VENDOR\|BOARD\|CONFIG_NAME\)/ {
N
s/\n[[:space:]]*string//
}
'Signed-off-by: Masahiro Yamada
11 Aug, 2014
1 commit
-
Conflicts:
boards.cfgSigned-off-by: Stefano Babic
30 Jul, 2014
2 commits
-
We have switched to Kconfig and the boards.cfg file is going to
be removed. We have to retrieve the board status and maintainers
information from it.The MAINTAINERS format as in Linux Kernel would be nice
because we can crib the scripts/get_maintainer.pl script.After some discussion, we chose to put a MAINTAINERS file under each
board directory, not the top-level one because we want to collect
relevant information for a board into a single place.TODO:
Modify get_maintainer.pl to scan multiple MAINTAINERS files.Signed-off-by: Masahiro Yamada
Suggested-by: Tom Rini
Acked-by: Simon Glass -
This commit adds:
- arch/${ARCH}/Kconfig
provide a menu to select target boards
- board/${VENDOR}/${BOARD}/Kconfig or board/${BOARD}/Kconfig
set CONFIG macros to the appropriate values for each board
- configs/${TARGET_BOARD}_defconfig
default setting of each board(This commit was automatically generated by a conversion script
based on boards.cfg)In Linux Kernel, defconfig files are located under
arch/${ARCH}/configs/ directory.
It works in Linux Kernel since ARCH is always given from the
command line for cross compile.But in U-Boot, ARCH is not given from the command line.
Which means we cannot know ARCH until the board configuration is done.
That is why all the "*_defconfig" files should be gathered into a
single directory ./configs/.Signed-off-by: Masahiro Yamada
Acked-by: Simon Glass
23 Jul, 2014
1 commit
-
There is no need to keep iomuxc_base_regs structure as it serves the exact same
purpose of the iomuxc structure, which is to provide access to the GPR
registers.The additional fields of iomuxc_base_regs are not used. Other advantage of
'iomuxc' is that it has a shorter name and the variable declarations can fit
into a single line.So remove iomuxc_base_regs structure and use iomuxc instead.
Signed-off-by: Fabio Estevam
Acked-by: Stefano Babic