UPSTREAM: libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h>Thomas reported U-Boot failed to build host tools if libfdt-develpackage is installed because tools include libfdt header
UPSTREAM: libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h>Thomas reported U-Boot failed to build host tools if libfdt-develpackage 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 <libfdt.h> -> #include <linux/libfdt.h> #include <libfdt_env.h> -> #include <linux/libfdt_env.h>Change-Id: I6c0f7e50e8b571106627f25ddac008a62bd2994eReported-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
show more ...
meson-gx: reserved memory regionsThe Odroid C2 has two GiB of memory with two reserved regions.reg = <0x0 0x0 0x0 0x1000000>;reg = <0x0 0x10000000 0x0 0x200000>;Patchbfcef28ae4cf (arm: add ini
meson-gx: reserved memory regionsThe Odroid C2 has two GiB of memory with two reserved regions.reg = <0x0 0x0 0x0 0x1000000>;reg = <0x0 0x10000000 0x0 0x200000>;Patchbfcef28ae4cf (arm: add initial support for Amlogic Meson andODROID-C2) provided function dram_init_banksize to reserve thefirst 16 MiB of RAM for firmware in function dram_init_banksizein arch/arm/mach-meson/board.c and definedCONFIG_NR_DRAM_BANKS = 1.With this patch dram_init_banksize is changed to additionallyreserve the 2MiB region for the ARM Trusted Firmware (BL31).CONFIG_NR_DRAM_BANKS is set to 2.Cc: Andreas Färber <afaerber@suse.de>Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
board_f: Drop setup_dram_config() wrapperBy making dram_init_banksize() return an error code we can drop thewrapper. Adjust this and clean up all implementations.Signed-off-by: Simon Glass <sjg@
board_f: Drop setup_dram_config() wrapperBy making dram_init_banksize() return an error code we can drop thewrapper. Adjust this and clean up all implementations.Signed-off-by: Simon Glass <sjg@chromium.org>Reviewed-by: Stefan Roese <sr@denx.de>
arm: Disable HVC PSCI calls by defaultAll systems that are running on armv8 are running bare metal with firmwarethat implements PSCI running in EL3. That means we don't really need to exposethe h
arm: Disable HVC PSCI calls by defaultAll systems that are running on armv8 are running bare metal with firmwarethat implements PSCI running in EL3. That means we don't really need to exposethe hypercall variants of them.This patch leaves the code in, but makes the code explicit enough to have thecompiler optimize it out. With this we don't need to worry about hvc vs smccalling convention when calling psci helper functions.Signed-off-by: Alexander Graf <agraf@suse.de>Reviewed-by: Simon Glass <sjg@chromium.org>
armv8: mmu: Add support of non-identical mappingIntroduce virtual and physical addresses in the mapping table. This changehave no impact on existing boards because they all use idential mapping.
armv8: mmu: Add support of non-identical mappingIntroduce virtual and physical addresses in the mapping table. This changehave no impact on existing boards because they all use idential mapping.Signed-off-by: York Sun <york.sun@nxp.com>
board: amlogic: Rename folder for Amlogic boardss/hardkernel/amlogic/ to have a single place for all the amlogic-basedboards.Reviewed-by: Simon Glass <sjg@chromium.org>Signed-off-by: Carlo Caio
board: amlogic: Rename folder for Amlogic boardss/hardkernel/amlogic/ to have a single place for all the amlogic-basedboards.Reviewed-by: Simon Glass <sjg@chromium.org>Signed-off-by: Carlo Caione <carlo@endlessm.com>Acked-by: Beniamino Galvani <b.galvani@gmail.com>
arm: meson: implement calls to secure monitorImplement calls to secure monitor to read the MAC address from e-fuse.Signed-off-by: Beniamino Galvani <b.galvani@gmail.com>
arm: add initial support for Amlogic Meson and ODROID-C2This adds platform code for the Amlogic Meson GXBaby (S905) SoC and aboard definition for ODROID-C2. This initial submission only supportsU
arm: add initial support for Amlogic Meson and ODROID-C2This adds platform code for the Amlogic Meson GXBaby (S905) SoC and aboard definition for ODROID-C2. This initial submission only supportsUART and Ethernet (through the existing Designware driver). DTS filesare the ones submitted to Linux arm-soc for 4.7 [1].[1] https://patchwork.ozlabs.org/patch/603583/Signed-off-by: Beniamino Galvani <b.galvani@gmail.com>Reviewed-by: Simon Glass <sjg@chromium.org>