Heinrich Schuchardt
1f0532ca15
efi_loader: remove unnecessary include
...
asm/global_data.h is already included via common.h.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de >
Signed-off-by: Alexander Graf <agraf@suse.de >
2018-06-03 15:27:20 +02:00
Heinrich Schuchardt
503e04fab8
efi_loader: if EFI_LOADER is enabled, enable CFB_CONSOLE_ANSI
...
EFI applications like GRUB issue ANSI sequences for setting colors
and for positioning. So if the EFI subsystem is enabled, we should
also enable ANSI control sequences by default.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de >
Signed-off-by: Alexander Graf <agraf@suse.de >
2018-06-03 15:27:20 +02:00
Ivan Gorinov
e2dc4229ad
efi_loader: correctly apply relocations from the .reloc section
...
Instead of difference between preferred and actual image base, the
actual base is added to the fields specified in the .reloc section.
Use ImageBase from PE optional header to compute the delta,
exit early if the image is loaded at the preferred address.
Signed-off-by: Ivan Gorinov <ivan.gorinov@intel.com >
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de >
Signed-off-by: Alexander Graf <agraf@suse.de >
2018-06-03 15:27:20 +02:00
Tom Rini
040b2583c3
Merge branch 'master' of git://git.denx.de/u-boot-sh
2018-06-02 16:58:27 -04:00
Tom Rini
2a046ff5e9
Merge branch 'master' of git://git.denx.de/u-boot-mips
2018-06-01 16:46:39 -04:00
Tom Rini
582d97b6d3
Merge tag 'xilinx-for-v2018.07-2' of git://www.denx.de/git/u-boot-microblaze
...
Xilinx changes for v2018.07 second pull
zynqmp:
- Show reset reason
- Remove emulation platform
- Update pmufw version
- Simplify mmc bootmode
- Remove dc2 useless configuration file
- Cleanup mini config
- Defconfig syncup
- zcu100, zcu104 and zcu111 dts fixes
xilinx:
- Use live-tree functions in some drivers
- Add support for Avnet Minized and Antminer S9
fpga:
- Add secure bitstream loading support
mmc:
- Add hs200 mode support
usb xhci:
- Header fix
2018-06-01 13:50:15 -04:00
Álvaro Fernández Rojas
9ca33ebf1c
phy: bcm6318-usbh: convert to use live dt
...
Also fix bad accents in my name.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com >
Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com >
2018-06-01 15:56:02 +02:00
Álvaro Fernández Rojas
25d8380f22
phy: bcm6368-usbh: convert to use live dt
...
Also fix bad accents in my name.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com >
Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com >
2018-06-01 15:56:02 +02:00
Álvaro Fernández Rojas
5a1ab87f53
phy: bcm6358-usbh: convert to use live dt
...
Also fix bad accents in my name.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com >
Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com >
2018-06-01 15:56:02 +02:00
Álvaro Fernández Rojas
50d16bcf33
phy: bcm6348-usbh: convert to use live dt
...
Also fix bad accents in my name.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com >
Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com >
2018-06-01 15:56:02 +02:00
Álvaro Fernández Rojas
c444afbbef
cpu: bmips: convert to use live dt
...
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com >
Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com >
2018-06-01 15:56:02 +02:00
Álvaro Fernández Rojas
13a7bfe490
ram: bmips: convert to use live dt
...
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com >
Reviewed-by: Simon Glass <sjg@chromium.org >
Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com >
2018-06-01 15:56:02 +02:00
Álvaro Fernández Rojas
46689a94b2
spi: bcm63xx_hsspi: convert to use live dt
...
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com >
Reviewed-by: Simon Glass <sjg@chromium.org >
Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com >
2018-06-01 15:56:02 +02:00
Álvaro Fernández Rojas
85e1ddbaf0
spi: bcm63xx_spi: convert to use live dt
...
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com >
Reviewed-by: Simon Glass <sjg@chromium.org >
Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com >
2018-06-01 15:56:02 +02:00
Álvaro Fernández Rojas
34c0fc3fab
power: domain: bcm6328: convert to use live dt
...
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com >
Reviewed-by: Simon Glass <sjg@chromium.org >
Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com >
2018-06-01 15:56:02 +02:00
Álvaro Fernández Rojas
8994551760
led: bcm6328: convert to use live dt
...
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com >
Reviewed-by: Simon Glass <sjg@chromium.org >
Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com >
2018-06-01 15:56:02 +02:00
Álvaro Fernández Rojas
a15c16f923
led: bcm6358: convert to use live dt
...
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com >
Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com >
2018-06-01 15:56:02 +02:00
Álvaro Fernández Rojas
e7e64fa0e6
gpio: bcm6345: convert to use live dt
...
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com >
Reviewed-by: Simon Glass <sjg@chromium.org >
Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com >
2018-06-01 15:56:02 +02:00
Álvaro Fernández Rojas
56d4b706d3
reset: bcm6345: convert to use live dt
...
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com >
Reviewed-by: Simon Glass <sjg@chromium.org >
Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com >
2018-06-01 15:56:02 +02:00
Álvaro Fernández Rojas
2902997b8b
clk: bcm6345: convert to use live dt
...
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com >
Reviewed-by: Simon Glass <sjg@chromium.org >
Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com >
2018-06-01 15:56:02 +02:00
Álvaro Fernández Rojas
0f56993788
serial: bcm6345: convert to use live dt
...
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com >
Reviewed-by: Simon Glass <sjg@chromium.org >
Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com >
2018-06-01 15:56:02 +02:00
Álvaro Fernández Rojas
aa8f8250ac
watchdog: bcm6345: convert to use live dt
...
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com >
Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com >
2018-06-01 15:56:02 +02:00
Álvaro Fernández Rojas
30a90f56c3
dm: core: add functions to get memory-mapped I/O addresses
...
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com >
Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com >
Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com >
Reviewed-by: Simon Glass <sjg@chromium.org >
2018-06-01 15:56:02 +02:00
Tom Rini
caa2a2e5ab
Merge branch 'master' of git://git.denx.de/u-boot-usb
2018-06-01 09:52:15 -04:00
Siva Durga Prasad Paladugu
a18d09ea38
fpga: zynqmp: Add secure bitstream loading for ZynqMP
...
This patch adds support for loading secure bitstreams on ZynqMP
platforms. The secure bitstream images has to be generated using
Xilinx bootgen tool.
Signed-off-by: Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com >
Signed-off-by: Michal Simek <michal.simek@xilinx.com >
2018-06-01 11:37:31 +02:00
Siva Durga Prasad Paladugu
cedd48e2cd
cmd: fpga: Add support to load secure bitstreams
...
This patch adds support to load secure bitstreams(authenticated or
encrypted or both). As of now, this feature is added and tested only
for xilinx bitstreams and the secure bitstream was generated using
xilinx bootgen tool, but the command is defined in more generic way.
Command example to load authenticated and device key
encrypted bitstream is as follows
"fpga loads 0 100000 2000000 0 1"
Signed-off-by: Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com >
Signed-off-by: Michal Simek <michal.simek@xilinx.com >
2018-06-01 11:37:31 +02:00
Siva Durga Prasad Paladugu
f5953610bf
cmd: fpga: Reorder the arguments parsing code
...
This patch modifies the arguments parsing code by parsing
based on requested operation for fpga loadfs and then
parses the most common/basic args for other fpga load
commands. This makes it easy for new command extensions
or additions especially the commands with more args.
Signed-off-by: Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com >
Signed-off-by: Michal Simek <michal.simek@xilinx.com >
2018-06-01 11:37:31 +02:00
Marek Vasut
0bb5d24852
ARM: dts: rmobile: Sync R8A77990 Ebisu DTS with Linux
...
Import the R8A77990 and Ebisu DTS from linux-next to get the latest
version. This makes AVB ethernet work in U-Boot since the ethernet
node is now present in DT, as well as GPIOs.
Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com >
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org >
2018-06-01 09:47:22 +02:00
Marek Vasut
63e22517a3
ARM: renesas: Add R8A77990 E3 Ebisu board
...
Add support for the R8A77990 Ebisu board.
Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com >
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org >
2018-06-01 09:47:21 +02:00
Takeshi Kihara
031fa18f70
ARM: dts: rmobile: Add Renesas Ebisu board support
...
Basic support for the Renesas Ebisu board based on R-Car E3:
- Memory,
- Main crystal,
- Serial console,
Signed-off-by: Takeshi Kihara <takeshi.kihara.df@renesas.com >
[shimoda: rebase and add SPDX-License-Identifier]
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com >
Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com >
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org >
2018-06-01 09:47:02 +02:00
Yoshihiro Shimoda
19df5959d0
ARM: dts: rmobile: Add Renesas R8A77990 SoC support
...
This patch adds basic support for the Renesas R-Car E3 (R8A77990) SoC:
- PSCI
- CPU (single)
- Cache controller
- Main clocks and controller
- Interrupt controller
- Timer
- PMU
- Reset controller
- Product register
- System controller
- UART for console
Inspried by a patch by Takeshi Kihara in the BSP.
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com >
Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com >
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org >
2018-06-01 09:47:02 +02:00
Marek Vasut
a0410a6ff2
ARM: renesas: Add R8A77990 E3 SoC ID
...
Add ID and Kconfig entry for the Renesas R8A77990 E3 SoC.
Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com >
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org >
2018-06-01 09:47:02 +02:00
Marek Vasut
34f1dba983
net: ravb: Add R8A77990 E3 compatible
...
Add new compatible to the Ethernet AVB driver for R8A77990 E3 SoC.
Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com >
Cc: Joe Hershberger <joe.hershberger@ni.com >
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org >
2018-06-01 09:47:02 +02:00
Marek Vasut
d629152a9a
mmc: renesas-sdhi: Add R8A77990 E3 compatible
...
Add new compatible to the Uniphier SD driver for R8A77990 E3 SoC.
Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com >
Cc: Masahiro Yamada <yamada.masahiro@socionext.com >
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org >
2018-06-01 09:47:02 +02:00
Marek Vasut
60ae40c29e
gpio: rmobile: Add R8A77990 E3 compatible
...
Add new compatible to the GPIO driver for R8A77990 E3 SoC.
Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com >
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org >
2018-06-01 09:47:02 +02:00
Marek Vasut
cb13e46aeb
pinctrl: renesas: Initial R8A77990 PFC support
...
This patch adds initial pinctrl driver to support for the R8A77990 SoC.
Signed-off-by: Takeshi Kihara <takeshi.kihara.df@renesas.com >
Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com >
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org >
2018-06-01 09:47:02 +02:00
Takeshi Kihara
634f9f0d30
pinctrl: renesas: Add PORT_GP_11 helper macro
...
This follows the style of existion PORT_GP_X macros and
will be used by a follow-up patch for the r8a77990 SoC.
Signed-off-by: Takeshi Kihara <takeshi.kihara.df@renesas.com >
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org >
2018-06-01 09:47:01 +02:00
Marek Vasut
0d218efe2b
clk: renesas: Add R8A77990 E3 clock tables
...
Add clock tables for R8A77990 E3 SoC .
Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com >
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org >
2018-06-01 09:47:01 +02:00
Marek Vasut
716d775286
clk: renesas: Add PE clock handling
...
The PE clock have two parents, add support for picking the correct
one and deriving the clock from it.
Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com >
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org >
2018-06-01 09:42:13 +02:00
Marek Vasut
f0f1de75c9
clk: renesas: Add PLL1 and PLL3 dividers
...
Add and use the PLL1 and PLL3 dividers.
Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com >
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org >
2018-06-01 09:42:13 +02:00
Marek Vasut
8376e0e6f7
clk: renesas: Pass clock rate around as 64bit number internally
...
The PLL rate could be in the GHz range, which could overflow a 32bit
data type. Since the hardware is 64bit anyway, pass the clock rates
as 64bit number internally to avoid this.
Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com >
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org >
2018-06-01 09:42:13 +02:00
Marek Vasut
15e0918285
clk: renesas: Fix swapped arguments in debug message
...
The mul and div arguments were reported in reverse order in the debug
message, swap them to fix this.
Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com >
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org >
2018-06-01 09:42:13 +02:00
Marek Vasut
1713dac439
ARM: rmobile: Represent SF partitioning with mtdparts on Stout
...
Add mtdparts description for the board.
Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com >
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org >
2018-06-01 09:42:13 +02:00
Marek Vasut
44487f2ee6
ARM: rmobile: Represent SF partitioning with mtdparts on Silk
...
Add mtdparts description for the board.
Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com >
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org >
2018-06-01 09:42:13 +02:00
Marek Vasut
0c1562e7ee
ARM: rmobile: Represent SF partitioning with mtdparts on Porter
...
Add mtdparts description for the board.
Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com >
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org >
2018-06-01 09:42:13 +02:00
Marek Vasut
1b53142bd0
ARM: rmobile: Represent SF partitioning with mtdparts on Lager
...
Add mtdparts description for the board.
Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com >
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org >
2018-06-01 09:42:13 +02:00
Marek Vasut
684b34e7c3
ARM: rmobile: Represent SF partitioning with mtdparts on Koelsch
...
Add mtdparts description for the board.
Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com >
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org >
2018-06-01 09:42:13 +02:00
Marek Vasut
e4d2232764
ARM: rmobile: Represent SF partitioning with mtdparts on Gose
...
Add mtdparts description for the board.
Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com >
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org >
2018-06-01 09:42:13 +02:00
Marek Vasut
e68687bf3c
ARM: rmobile: Represent SF partitioning with mtdparts on Alt
...
Add mtdparts description for the board.
Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com >
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org >
2018-06-01 09:42:13 +02:00
Marek Vasut
20fccb944b
ARM: rmobile: Enable MTD partitioning on Gen2 with SF
...
Enable MTD partitioning support on Gen2 boards with SPI NORs.
Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com >
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org >
2018-06-01 09:42:12 +02:00