18 Jan, 2020
1 commit
-
These functions relate to memory init so move them into the init
header.Signed-off-by: Simon Glass
07 Jan, 2020
1 commit
-
Sync the Linux Kernel 5.4-rc6 device tree for Phytec Phycore
SoM and Segin board based on imx6UL and imx6ULL.Changes includes Phytec naming convention for the devicetree files.
Signed-off-by: Parthiban Nallathambi
Acked-by: Peng Fan
04 Dec, 2019
1 commit
-
Add more clarity by changing the Kconfig entry name.
Signed-off-by: Miquel Raynal
[trini: Re-run migration, update a few more cases]
Signed-off-by: Tom Rini
Reviewed-by: Boris Brezillon
03 Dec, 2019
3 commits
-
These functions do not use driver model but are still used. Move them to a
new eeprom.h header file.Signed-off-by: Simon Glass
Reviewed-by: Tom Rini -
A number of board function belong in init.h with the others. Move them.
Signed-off-by: Simon Glass
Reviewed-by: Tom Rini -
These functions are CPU-related and do not use driver model. Move them to
cpu_func.hSigned-off-by: Simon Glass
Reviewed-by: Daniel Schwierzeck
Reviewed-by: Tom Rini
08 Oct, 2019
4 commits
-
board early initialize fec ethernet controller pinmux
only when FEC is enabledSigned-off-by: Parthiban Nallathambi
Reviewed-by: Peng Fan -
boot order was added to handle both SD and eMMC. But commit
14d319b1 introduced to handle both eMMC and SD globally.Signed-off-by: Parthiban Nallathambi
Reviewed-by: Peng Fan -
Booting from NAND needs nandbcb and nand boot device selection
Signed-off-by: Parthiban Nallathambi
Reviewed-by: Peng Fan -
This code uses HW difference on the USB_RESET pin (added PULL UP resistor
on the L333 rev) to distinguish between two BK4 HW revisions.Signed-off-by: Lukasz Majewski
12 Aug, 2019
4 commits
-
This file contains lots of internal details about the environment. Most
code can include env.h instead, calling the functions there as needed.Rename this file and add a comment at the top to indicate its internal
nature.Signed-off-by: Simon Glass
Acked-by: Joe Hershberger
Reviewed-by: Simon Goldschmidt
[trini: Fixup apalis-tk1.c]
Signed-off-by: Tom Rini -
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 these functions to the new header file and rename set_default_env()
to env_set_default() so that it has a consistent env_ prefix.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
29 Jul, 2019
2 commits
-
The rk3288_detect_reset_reason() is per-SoC operation, move
it to rk3288.c, and extend the rk_board_late_init() with
rk3288_board_late_init() to make all the board works fine
as before.Signed-off-by: Kever Yang
-
phycore_init() is use for phycore board only, it should be move back
to phycore-rk3288.cSigned-off-by: Kever Yang
13 Jul, 2019
1 commit
-
Support for Phytech phyCORE AM335x R2 SOM (PCL060) on the Phytec
phyBOARD-Wega AM335x.CPU : AM335X-GP rev 2.1
Model: Phytec AM335x phyBOARD-WEGA
DRAM: 256 MiB
NAND: 256 MiB
MMC: OMAP SD/MMC: 0
eth0: ethernet@4a100000Working:
- Eth0
- i2C
- MMC/SD
- NAND
- UART
- USB (host)Device trees were taken from Linux mainline:
commit 37624b58542f ("Linux 5.1-rc7")Signed-off-by: Niel Fourie
Signed-off-by: Parthiban Nallathambi
Reviewed-by: Heiko Schocher
Reviewed-by: Tom Rini
Tested-by: Marek Vasut
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
11 Jun, 2019
2 commits
-
Extend PHYTEC phyBOARD-i.MX6UL for phyCORE-i.MX6UL SoM (PCL063)
with eMMC on SoM.CPU: Freescale i.MX6ULL rev1.0 792 MHz (running at 396 MHz)
CPU: Industrial temperature grade (-40C to 105C) at 38C
Reset cause: POR
Model: Phytec phyBOARD-i.MX6ULL-Segin SBC
Board: PHYTEC phyCORE-i.MX6ULL
DRAM: 256 MiB
MMC: FSL_SDHC: 0, FSL_SDHC: 1
In: serial@02020000
Out: serial@02020000
Err: serial@02020000
Net: FEC0Working:
- Eth0
- i2C
- MMC/SD
- eMMC
- UART (1 & 5)
- USB (host & otg)Signed-off-by: Parthiban Nallathambi
-
u-boot,dm-spl property is specific to U-Boot, so created one
for i.MX6ULL platforms.Signed-off-by: Parthiban Nallathambi
14 Apr, 2019
9 commits
-
BK4 requires setup of 50MHz reference clock for its KSZ8081 PHY devices.
Signed-off-by: Lukasz Majewski
Acked-by: Joe Hershberger -
This commit introduces the board specific function to read fused mac
address.Signed-off-by: Lukasz Majewski
-
As one has moved to DM based LEDs, this code is required to setup the
default state.Signed-off-by: Lukasz Majewski
-
This code allows reusing the default u-boot as in the late board init, the
default envs are restored and proper recovery scripts executed.Signed-off-by: Lukasz Majewski
-
This commit cleans up the pcm052.c file to remove dead code after moving to
DTS and DM.Signed-off-by: Lukasz Majewski
-
Signed-off-by: Lukasz Majewski
-
This commit provides distinction between PCM052 and BK4.
Signed-off-by: Lukasz Majewski
-
The "m4go" provides exactly the same functionality as the IMX generic
"bootaux" command. Remove it to not duplicate the code.Signed-off-by: Lukasz Majewski
-
As the I2C2 clock is now enabled in the generic clock code, we can remove
this code from a board file.Signed-off-by: Lukasz Majewski
Tested-by: Marcel Ziswiler
28 Jan, 2019
1 commit
-
Port for the PHYTEC phyBOARD-i.MX6UL-Segin single board computer. Based on
the PHYTEC phyCORE-i.MX6UL SOM (PCL063).CPU: Freescale i.MX6UL rev1.2 528 MHz (running at 396 MHz)
CPU: Industrial temperature grade (-40C to 105C) at 44C
Reset cause: POR
Board: PHYTEC phyCORE-i.MX6UL
I2C: ready
DRAM: 256 MiB
NAND: 512 MiB
MMC: FSL_SDHC: 0
In: serial
Out: serial
Err: serial
Net: FEC0Working:
- Eth0
- i2C
- MMC/SD
- NAND
- UART (1 & 5)
- USB (host & otg)Signed-off-by: Martyn Welch
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
09 Apr, 2018
1 commit
-
In order that we can use eth_env_* even when CONFIG_NET isn't set, move
these functions to environment code from net code.This fixes failures such as:
board/ti/am335x/built-in.o: In function `board_late_init':
board/ti/am335x/board.c:752: undefined reference to `eth_env_set_enetaddr'
u-boot/board/ti/am335x/board.c:766: undefined reference to `eth_env_set_enetaddr'which caters for use cases such as:
commit f411b5cca48f ("board: am335x: Always set eth/eth1addr environment
variable")when Ethernet is required in Linux, but not U-Boot.
Signed-off-by: Alex Kiernan
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
06 Nov, 2017
1 commit
-
As part of my usual round of build testing, output about missing
MAINTAINERS information was not logged, and thus often overlooked.
Correct that mistake by ensuring that I log the output of
genboardscfg.py every time. As part of that, address a number of
missing MAINTAINERS entires. In the case of a missing file, I have put
the original submitter down. In the rest of the cases I have added the
config (and sometimes relevant header file) to the existing set of file
globs.Signed-off-by: Tom Rini
05 Sep, 2017
1 commit
-
Read SoM information from EEPROM and set ethaddr in late init.
Signed-off-by: Wadim Egorov
Acked-by: Philipp Tomsich
Reviewed-by: Philipp Tomsich
29 Aug, 2017
1 commit
-
In case of 2 banks, the address space of the first CS must be defined
and not let to the higher value.Add support for SOM with a single bank of RAM. It was tested with i.MX6Q
modules in the following configurations:- 2 Banks, 4 GB
- 2 Banks, 1 GB
- 1 Bank, 1 GBSigned-off-by: Stefano Babic
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
17 Aug, 2017
1 commit
-
Update pfla02 for setenv changes and PHYLIB/etc migration to Kconfig.
Signed-off-by: Tom Rini
16 Aug, 2017
2 commits
-
Rename this function for consistency with env_get().
Signed-off-by: Simon Glass
-
Rename this function for consistency with env_set().
Signed-off-by: Simon Glass