10 Mar, 2020
1 commit
-
This fixes the following warning:
===================== WARNING ======================
This board does not use CONFIG_DM_ETH (Driver Model
for Ethernet drivers). Please update the board to use
CONFIG_DM_ETH before the v2020.07 release. Failure to
update by the deadline may result in board removal.
See doc/driver-model/migration.rst for more info.
====================================================Signed-off-by: Pedro Jardim
Reviewed-by: Fabio Estevam
07 Jan, 2020
1 commit
-
When pmic_get() is used with DM the first parameter must be
the complete node name plus the unit address, so fix it
accordingly.Reported-by: Igor Opaniuk
Signed-off-by: Fabio Estevam
Reviewed-by: Peng Fan
08 Oct, 2019
2 commits
-
CONFIG_SECURE_BOOT is too generic and forbids to use it for cross
architecture purposes. If Secure Boot is required for imx, this means to
enable and use the HAB processor in the soc.Signed-off-by: Stefano Babic
-
With DM_SPI and DM_SPI_FLASH enabled, we could get:
spi 0 [ ] mxc_spi | | | `-- ecspi@02008000
spi_flash 0 [ ] spi_flash_std | | | `-- m25p80@0Signed-off-by: Peng Fan
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
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
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
29 Dec, 2017
1 commit
-
Secure boot is not enabled in mx6slevk imximage.cfg, add support for it.
Signed-off-by: Breno Lima
Reviewed-by: Fabio Estevam
Acked-by: Peng Fan
31 Oct, 2017
2 commits
-
We should call gpio_request() prior to reading the GPIO value.
Signed-off-by: Fabio Estevam
-
Since DM_USB enabled, no need the usb code in board file.
Signed-off-by: Peng Fan
Cc: Stefano Babic
Cc: Fabio Estevam
Reviewed-by: Fabio Estevam
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
12 May, 2017
1 commit
-
The variable usdhc1_pads is only referenced during SPL builds, add a
guard.Cc: Fabio Estevam
Cc: Peng Fan
Cc: Stefano Babic
Signed-off-by: Tom Rini
Reviewed-by: Peng Fan
Reviewed-by: Stefano Babic
21 Mar, 2017
1 commit
-
Enable more DM drivers. The imx I2C/MMC DM drivers needs DM_GPIO
enabled. So needs to enable them together.DM FEC and SPI are not enabled, but they use gpio in board code.
So use gpio_request first to request the gpio, because DM_GPIO
is enabled.Signed-off-by: Peng Fan
Cc: Stefano Babic
26 Oct, 2016
1 commit
-
Fixed typo for doc/README.imximage on respective imximage.cfg files.
Cc: Tom Rini
Cc: Stefano Babic
Cc: Fabio Estevam
Acked-by: Peng Fan
Signed-off-by: Jagan Teki
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
12 Jul, 2016
1 commit
-
Instead of passing the total RAM size via PHYS_SDRAM_SIZE option,
we should better use imx_ddr_size() function, which automatically
determines the RAM size.Signed-off-by: Vanessa Maegima
Reviewed-by: Fabio Estevam
Reviewed-by: Fabio Estevam
31 May, 2016
1 commit
-
Fix the brace indentation in board_mmc_init().
Signed-off-by: Sebastien Bourdelin
13 Apr, 2016
1 commit
04 Apr, 2016
1 commit
-
Having had a similar board and memory part under logic analyzer, a
tINIT3 violation was measured. The fix was involved keeping tXPR and
SDE_to_RST at the power-on defaults and setting RST_to_CKE the JEDEC
value for LPDDR2. There was also a tIH-CA violation and this was
resolved by writing the default value in rather than what the script
here uses.Cc: Fabio Estevam
Cc: Peng Fan
Signed-off-by: Tom Rini
Reviewed-by: Fabio Estevam
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 Mar, 2016
1 commit
-
GPIO4_21 is the LAN8720 power pin, not the LAN8720 reset pin.
Fix that, so that we can have Ethernet functional again.
Reviewed-by: Tom Rini
Signed-off-by: Fabio Estevam
02 Mar, 2016
1 commit
-
Use Peng Fan's new NXP email address in MAINTAINERS files.
Signed-off-by: Fabio Estevam
Acked-by: Peng Fan
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
04 Feb, 2016
1 commit
-
Implement board_mmc_get_env_dev for the boards.
Following is examples:
SD1/SD2/SD3: return devno;
SD2/SD3: return devno - 1;
SD2/SD4: if (devno == 2), return dev - 2; return dev - 1;Signed-off-by: Peng Fan
Cc: Stefano Babic
03 Feb, 2016
1 commit
-
Since commit 59370f3fcd1350 ("net: phy: delay only if reset handler is
registered") Ethernet is no longer functional.This commit does not have an issue in itself, but it revelead a problem
with the Ethernet initialization.According to the LAN8720 datasheet tpurstd (time that reset line should
stay asserted) is 25ms.So do as suggested in order to have Ethernet working again.
Signed-off-by: Fabio Estevam
12 Jan, 2016
1 commit
-
Update my email address to the NXP account.
Signed-off-by: Fabio Estevam
13 Nov, 2015
1 commit
-
There is really no need to provide an empty reset_cpu() implementation,
so just remove it.Signed-off-by: Fabio Estevam
24 Sep, 2015
1 commit
-
Add MAINTAINERS info for mx6slevk_spl, mx6ul_9x9_evk and mx6qpsabreauto.
Signed-off-by: Peng Fan
Cc: Stefano Babic
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
2 commits
-
Add SPL boot support for mx6slevk board.
1. Introduce a configuration file mx6slevk_spl_defconfig.
2. i.MX6SL has same DRAM space with i.MX6SX, need to change SPL DRAM SPACE.
3. Include imx6_spl.h and related SPL macro in mx6slevk.h.
4. select SUPPORT_SPL for TARGET_MX6SLEVK.
5. Add SPL board code to do related initialization.Boot Log:
U-Boot SPL 2015.07-00544-g1594a76 (Aug 17 2015 - 01:56:59)
reading u-boot.img
reading u-boot.imgU-Boot 2015.07-00544-g1594a76 (Aug 17 2015 - 01:56:59 +0000)
CPU: Freescale i.MX6SL rev1.2 996 MHz (running at 396 MHz)
CPU: Commercial temperature grade (0C to 95C) at 50C
Reset cause: POR
Board: MX6SLEVK
I2C: ready
DRAM: 1 GiB
PMIC: PFUZE100 ID=0x10
MMC: FSL_SDHC: 0, FSL_SDHC: 1, FSL_SDHC: 2
*** Warning - bad CRC, using default environmentIn: serial
Out: serial
Err: serial
Net: FEC [PRIME]
Hit any key to stop autoboot: 0Signed-off-by: Peng Fan
Cc: Stefano Babic
Cc: Fabio Estevam -
To i.MX6SX/UL, two ethernet interfaces are supported.
Add ENET2 clock support:
1. Introduce a new input parameter "fec_id", only 0 and 1 are allowed.
To value 1, only i.MX6SX/UL can pass the check.
2. Modify board code who use this api to follow new api prototype.Signed-off-by: Peng Fan
Cc: Heiko Schocher
Cc: Fabio Estevam
Cc: Stefan Roese
Cc: Nikolaos Pasaloukos
Cc: Stefano Babic
Reviewed-by: Stefan Roese
02 Mar, 2015
1 commit
-
Pass the same pad configuration as done in the kernel so that OTG1_ID pin can
properly work in device mode.Signed-off-by: Fabio Estevam
23 Feb, 2015
1 commit
-
Implement power_init_board and related I2C interface configuration.
After adding this, uboot can successfully detect and configure pmic.
"
U-Boot 2015.01-00281-ge29eddf (Feb 12 2015 - 09:24:01)CPU: Freescale i.MX6SL rev1.0 at 396 MHz
Reset cause: POR
Board: MX6SLEVK
I2C: ready
DRAM: 1 GiB
PMIC: PFUZE100 ID=0x10
MMC: FSL_SDHC: 0, FSL_SDHC: 1, FSL_SDHC: 2
"Signed-off-by: Peng Fan
02 Jan, 2015
1 commit
31 Dec, 2014
1 commit
-
Add spi nor boot support for mx6slevk board.
Signed-off-by: Peng Fan
Reviewed-by: Jagannadha Sutradharudu Teki
30 Dec, 2014
1 commit
-
get_board_rev() just returns the cpu revision, which does not make it really
useful for distinguishing between revisions of the board.Let's get rid of get_board_rev() as it is not being used with its correct
meaning.Signed-off-by: Fabio Estevam
12 Dec, 2014
1 commit
-
Conflicts:
board/freescale/mx6sxsabresd/mx6sxsabresd.cSigned-off-by: Tom Rini
01 Dec, 2014
1 commit
-
As checkpatch complaines about these camel-case defines, lets change
them to only use upper-case characters.Signed-off-by: Stefan Roese
Acked-by: Heiko Schocher
Cc: Fabio Estevam
Cc: Jon Nettleton
Cc: Stefano Babic
Reviewed-by: Fabio Estevam
20 Nov, 2014
1 commit
-
We can simply the return the value from enable_fec_anatop_clock() to make the
code smaller and simpler.Signed-off-by: Fabio Estevam
15 Nov, 2014
1 commit
-
Add pinmux settings, implement board_ehci_hcd_init, board_usb_phy_mode
There are two usb port on mx6slevk board:
1. otg port
2. host port
The following are the connection between usb controller and board usb
interface, host port has not ID pin set:
otg1 core board otg port
otg2 core board host port
In order to make host port work, board_usb_phy_mode return USB_INIT_HOST
to let host port work in host mode.Signed-off-by: Peng Fan
Signed-off-by: Ye Li