30 Mar, 2020
2 commits
-
If the DM_ETH is enabled, the board-specific ethernet registeration
should be disabled, make it so.Signed-off-by: Marek Vasut
Cc: Nobuhiro Iwamatsu -
Add code to reset the board through PMIC, by writing the required
PMIC registers in the CPU reset handler.Signed-off-by: Marek Vasut
Cc: Nobuhiro Iwamatsu
18 Jan, 2020
2 commits
-
At present panic() is in the vsprintf.h header file. That does not seem
like an obvious choice for hang(), even though it relates to panic(). So
let's put hang() in its own header.Signed-off-by: Simon Glass
[trini: Migrate a few more files]
Signed-off-by: Tom Rini -
Move this function out of common.h and into a relevant header file.
Signed-off-by: Simon Glass
09 Dec, 2019
1 commit
-
Part of the env cleanup moved this out of the environment code and into
the net code. However, this helper is sometimes needed even when the net
stack isn't included.Move the helper to lib/net_utils.c like it's similarly-purposed
string_to_ip(). Also rename the moved function to similar naming.Signed-off-by: Joe Hershberger
Reported-by: Ondrej Jirman
03 Dec, 2019
2 commits
-
This function can be dropped when all boards use driver model for PCI. For
now, move it into init.h with a comment.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
02 Sep, 2019
1 commit
-
Add DT entry for the DM PCI driver, update board configs
and drop ad-hoc board init code for the PCI bus. Instead,
let the DM PCI driver initialize and operate the hardware.Signed-off-by: Marek Vasut
Cc: Nobuhiro Iwamatsu
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 env_get() over to the new header file.
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
10 Aug, 2019
1 commit
-
Add board code for the R8A77980 V3H Condor board.
Signed-off-by: Marek Vasut
Cc: Nobuhiro Iwamatsu
23 Jul, 2019
1 commit
-
Update "dma-ranges" DT property of all PCIe controllers in the system
with the up-to-date DRAM layout. This allows the PCIe controller take
full advantage of all the available DRAM.Signed-off-by: Marek Vasut
Cc: Nobuhiro Iwamatsu
17 Jun, 2019
1 commit
-
- Drop zipitz2 board (Tom)
- Add DEPRECATED option (Tom)
- Mark legacy or non-dm drivers as DEPRECATED (Jagan)
14 Jun, 2019
2 commits
-
Last change to this board was done in 2016, has no prospects of
ever being converted to DM, drop it.Signed-off-by: Marek Vasut
Cc: Chris Brandt
Cc: Nobuhiro Iwamatsu
Cc: Vladimir Zapolskiy
Cc: Yoshihiro Shimoda -
Last change to this board was done in 2016, has no prospects of
ever being converted to DM, drop it.Signed-off-by: Marek Vasut
Cc: Chris Brandt
Cc: Nobuhiro Iwamatsu
Cc: Vladimir Zapolskiy
Cc: Yoshihiro Shimoda
13 Jun, 2019
1 commit
-
Now that various SPI related options depend on CONFIG_DEPRECATED, in
order for platforms to build out of the box they need to disable various
other options.Cc: Albert ARIBAUD
Cc: Marek Vasut
Cc: Vladimir Zapolskiy
Cc: Fabio Estevam
Signed-off-by: Tom Rini
Reviewed-by: Marek Vasut
Reviewed-by: Jagan Teki
22 May, 2019
2 commits
-
Pull DRAM layout configuration code into rcar-common.c instead of
having it in multiple copies across board files. This poses no
change for Salvator-X/XS, ULCB and Ebisu boards, however it adds
a bit of extra code for Draak and Eagle boards, which now gain
the capability of being passed in the DRAM layout by the ATF.Signed-off-by: Marek Vasut
Cc: Eugeniu Rosca
Cc: Nobuhiro Iwamatsu -
Build an SPL which can be started via SCIF download mode on R-Car Gen3
and allows loading and executing U-Boot uImage with the next stage code.
This is also useful for starting e.g. ATF BL2, which inits the hardware
and returns to the U-Boot SPL, which can then load e.g. U-Boot proper.The H3, M3-W, M3-N SoCs have plenty of SRAM for storing the U-Boot SPL
while the payload, e.g. ATF BL2, executes, so there is no problem here.However, E3 and D3 have much less SRAM, hence the loader uses a trick
where it copies itself beyond the area used by BL2 and executes from
there. That area is 32kiB large and not enough to hold U-Boot SPL, BSS,
stack and malloc area, so the later two are placed at +0x4000 offset
from start of SRAM, another area not used by ATF BL2. To make things
even more complicated, the SCIF loader cannot load to the upper 32kiB
of the SRAM directly, hence the copying approach.Signed-off-by: Marek Vasut
Cc: Nobuhiro Iwamatsu
11 May, 2019
3 commits
-
Last change to this board was done in 2016, has no prospects of
ever being converted to DM, drop it.Signed-off-by: Marek Vasut
Cc: Chris Brandt
Cc: Nobuhiro Iwamatsu
Cc: Vladimir Zapolskiy
Cc: Yoshihiro Shimoda -
Last change to this board was done in 2016, has no prospects of
ever being converted to DM, drop it.Signed-off-by: Marek Vasut
Cc: Chris Brandt
Cc: Nobuhiro Iwamatsu
Cc: Vladimir Zapolskiy
Cc: Yoshihiro Shimoda -
Last change to this board was done in 2016, has no prospects of
ever being converted to DM, drop it.Signed-off-by: Marek Vasut
Cc: Chris Brandt
Cc: Nobuhiro Iwamatsu
Cc: Vladimir Zapolskiy
Cc: Yoshihiro Shimoda
07 May, 2019
4 commits
-
Add board code and DTs for Renesas RZ/A1 SoC-based GR-Peach,
which is a cheap development platform with RZ/A1H SoC. The
DTs are imported from Linux 5.0.11, commit d5a2675b207d .Currently supported are UART, ethernet and RPC SPI. The board
can be booted from RPC SPI by writing the u-boot.bin binary
to the beginning of the SPI NOR, e.g. using the "sf" command.
The board can also be booted via JTAG by setting text base to
0x20020000, loading u-boot.bin there via JTAG and executing it
from that address.Signed-off-by: Marek Vasut
Cc: Chris Brandt
Cc: Nobuhiro Iwamatsu -
Last change to this board was done in 2016, it uses non-DM USB
with no prospects of ever being converted to DM USB, drop it.Signed-off-by: Marek Vasut
Cc: Chris Brandt
Cc: Nobuhiro Iwamatsu
Cc: Vladimir Zapolskiy
Cc: Yoshihiro Shimoda -
Last change to this board was done in 2016, it uses non-DM USB
with no prospects of ever being converted to DM USB, drop it.Signed-off-by: Marek Vasut
Cc: Chris Brandt
Cc: Nobuhiro Iwamatsu
Cc: Vladimir Zapolskiy
Cc: Yoshihiro Shimoda -
Update the README to use the correct defconfig.
Signed-off-by: Marek Vasut
Cc: Chris Brandt
Cc: Nobuhiro Iwamatsu
Cc: Vladimir Zapolskiy
Cc: Yoshihiro Shimoda
05 May, 2019
1 commit
-
The ATF can pass additional information via the first four registers,
x0...x3. The R-Car Gen3 with mainline ATF, register x1 contains pointer
to a device tree with platform information. Parse this device tree and
extract DRAM size information from it. This is useful on systems where
the DRAM size can vary between configurations.Signed-off-by: Marek Vasut
Cc: Nobuhiro Iwamatsu
10 Apr, 2019
2 commits
-
v2018.01 commit e23eb942ad103f ("ARM: rmobile: Stop using
rcar-common/common.c on Gen3") removed
board/renesas/rcar-common/common.c from the build chain with the
reasoning that calling arch_preboot_os() is no longer needed.However, it left the arch_preboot_os() in place. Get rid of it.
This is done in preparation of resurrecting rcar-common/common.c.NOTE: The three removed header includes (io.h, sys_proto.h, rcar-mstp.h)
are in direct relationship with the dropped arch_preboot_os() hook. The
other headers (common.h, rmobile.h) are going to be needed by pretty
much anything that is going to appear in the rcar common code. So, keep
the two in place.Signed-off-by: Eugeniu Rosca
-
Add defconfig and board specific adjustments for the R8A77965 M3N ULCB.
Signed-off-by: Marek Vasut
Cc: Nobuhiro Iwamatsu
30 Mar, 2019
4 commits
-
The I2C bus number to access the PMIC is I2C 7, fix this.
Signed-off-by: Marek Vasut
Cc: Nobuhiro Iwamatsu -
The PHY LED mode register mask should be 0xc000 , not 0xc0000.
Correct the mask to operate on the right bits.Signed-off-by: Marek Vasut
Cc: Nobuhiro Iwamatsu -
The CLK2MHZ macro is unused, remove it.
Signed-off-by: Marek Vasut
Cc: Nobuhiro Iwamatsu -
The R8A7794_ETHERNET_B config option is unused and based on the
description, this is a setting which should be fully done on a
DT level instead. Remove this config option.Signed-off-by: Marek Vasut
Cc: Nobuhiro Iwamatsu
04 Dec, 2018
3 commits
-
Bundle DTBs for R8A7795, R8A7796 ULCB variants into single U-Boot
build and let U-Boot choose between them based on the CPU model.Signed-off-by: Marek Vasut
Cc: Nobuhiro Iwamatsu -
Bundle DTBs for R8A7795, R8A7796, R8A77965 Salvator-X variants
into the single U-Boot build and let U-Boot choose between them
based on the CPU model.Signed-off-by: Marek Vasut
Cc: Nobuhiro Iwamatsu -
Drop unused MSTP macros from Gen3 boards. These are no longer needed
as the boards are using clock framework to manipulate clock.Signed-off-by: Marek Vasut
Cc: Nobuhiro Iwamatsu
19 Oct, 2018
3 commits
-
When referring to the MSTPSR register, it contains the clock
status of SYS, RT, SECURE, and controlling SMSTPCR using this
value has the problem of being affected by the RT and SECURE
status.This patch changes the reference register to SMSTPCR.Signed-off-by: Hiroyuki Yokoyama
-
Tidy up unused definition related to power control of 3DG.
Signed-off-by: Hiroyuki Yokoyama
-
GSX clock force supply code is unnecessary at U-Boot,
because GSX clock control is supported at the kernel driver.Signed-off-by: Hiroyuki Yokoyama