18 Jan, 2020
3 commits
-
These functions relate to memory init so move them into the init
header.Signed-off-by: Simon Glass
-
Move this function out of common.h and into a relevant header file.
Signed-off-by: Simon Glass
-
This function related to timer and most of the timer functions are in
time.h, so move this function there.Signed-off-by: Simon Glass
03 Dec, 2019
5 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 -
These functions belong in cpu_func.h. Another option would be cache.h
but that code uses driver model and we have not moved these cache
functions to use driver model. Since they are CPU-related it seems
reasonable to put them here.Move them over.
Signed-off-by: Simon Glass
Reviewed-by: Tom Rini -
Remove the unwanted space before the bracket.
Signed-off-by: Simon Glass
Reviewed-by: Tom Rini -
These functions belong in cpu_func.h so move them over.
Signed-off-by: Simon Glass
Reviewed-by: Tom Rini -
This function belongs in time.h so move it over and add a comment.
Signed-off-by: Simon Glass
Reviewed-by: Tom Rini
31 Aug, 2019
1 commit
-
This reverts commit fc04b923541d984b1544056fd3bfa8129d4e5aac where the
FVP DRAM configuration was added.Signed-off-by: Ryan Harkin
Acked-by: Linus Walleij
Acked-by: Sudeep Holla
12 Aug, 2019
1 commit
-
Move env_set() over to the new header file.
Acked-by: Joe Hershberger
Signed-off-by: Simon Glass
21 Jun, 2019
1 commit
-
Misspelling of SPDX-License-Identifier is rather fatal than other
general typos, so must be fixed.This file spells SPDX-Licence-Identifier.
^I also moved it to the very top of the file with // comment style.
Detected by grepping the source tree:
$ git grep --not -e SPDX-License-Identifier --and -e SPDX-
board/armltd/vexpress64/pcie.c: * SPDX-Licence-Identifier: GPL-2.0+Signed-off-by: Masahiro Yamada
Acked-by: Liviu Dudau
26 Nov, 2018
1 commit
-
This is now deprecated and no board is using it. Drop it.
Signed-off-by: Bin Meng
Signed-off-by: Lukas Auer
11 Oct, 2018
2 commits
-
The interruption support had be removed for ARM architecture and
the function get_timer_masked() is no more used except in some
the timer.c files.This patch clean each timer.c which implement this function and
remove the associated prototype in u-boot-arm.hFor timer.c, I don't verify if the weak version of get_timer
(in lib/time.c) can be usedSigned-off-by: Patrick Delaunay
-
The interruption support had be removed for ARM architecture and
the function udelay_masked() is no more used except in some timer.c
files and have the same content than udelay() or __udelay().This patch update each timer.c implementing this function and
remove the associated prototype in u-boot-arm.h.Signed-off-by: Patrick Delaunay
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
14 Apr, 2018
1 commit
-
With CONFIG_ARMV7_BOOT_SEC_DEFAULT=y a syntax error occurs.
Add the missing semicolon.Signed-off-by: Heinrich Schuchardt
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
19 Feb, 2018
1 commit
-
These ARM boards are in nice shape and still being used a lot
with e.g. QEMU, so I can maintain them.Signed-off-by: Linus Walleij
17 Nov, 2017
1 commit
-
Update arm_pl180_mmci_init() prototype by adding struct mmc**
param. This is needed before converting this driver to driver model
in order to use arm_pl180_mmci_init() in driver model and in none
driver model implementationSigned-off-by: Patrice Chotard
16 Aug, 2017
1 commit
-
We are now using an env_ prefix for environment functions. Rename setenv()
for consistency. Also add function comments in common.h.Suggested-by: Wolfgang Denk
Signed-off-by: Simon Glass
05 Jun, 2017
1 commit
-
Rather than relying on common.h to provide this include, which is going
away at some point, include it explicitly in each file.Signed-off-by: Simon Glass
Reviewed-by: Tom Rini
01 Jun, 2017
1 commit
-
This header includes things that are needed to make driver build. Adjust
existing users to include that always, even if other dm/ includes are
presentSigned-off-by: Simon Glass
06 Apr, 2017
1 commit
-
By making dram_init_banksize() return an error code we can drop the
wrapper. Adjust this and clean up all implementations.Signed-off-by: Simon Glass
Reviewed-by: Stefan Roese
29 Nov, 2016
1 commit
-
Juno uses a 1:1 mapping between CPU and PCI addresses for IO. First,
that will trip devices that cannot use more than 16 bits of addresses
for IO, second it is un-necessary as the system can handle zero-based
PCI addresses just fine.Change the mapping to start IO bus addresses from zero.
Signed-off-by: Liviu Dudau
07 Oct, 2016
1 commit
-
Commit f225d39d3093 ("vexpress: Check TC2 firmware support before defaulting
to nonsec booting") added support to check if the firmware on TC2 is
configured appropriately before booting in nonsec/hyp mode.However when booting in non-secure/hyp mode, CCI control must be done in
secure firmware and can't be done in non-secure/hyp mode. In order to
ensure that, this patch disables the cci slave port inteface so that it
is not accessed at all.Cc: Jon Medhurst
Acked-by: Marc Zyngier
Signed-off-by: Sudeep Holla
Acked-by: Jon Medhurst
Tested-by: Jon Medhurst
16 Aug, 2016
1 commit
-
The firmware on TC2 needs to be configured appropriately before booting
in nonsec mode will work as expected, so test for this and fall back to
sec mode if required.Signed-off-by: Jon Medhurst
Reviewed-by: Ryan Harkin
Tested-by: Ryan Harkin
16 Jul, 2016
1 commit
-
Introduce virtual and physical addresses in the mapping table. This change
have no impact on existing boards because they all use idential mapping.Signed-off-by: York Sun
16 Mar, 2016
1 commit
-
There's no good excuse for running with caches disabled on AArch64,
so let's just move the vexpress64 target to enable the MMU and run
with caches on.Signed-off-by: Alexander Graf
22 Nov, 2015
3 commits
-
This patch makes the 2nd DRAM bank available on Juno only and not on
other vexpress64 targets, eg. the FVP models.The commit below added a 2nd bank of NOR flash for Juno, but also for
all vexpress64 targets:commit 2d0cee1ca2b9d977fa3214896bb2e30cfec77059
Author: Liviu Dudau
Date: Mon Oct 19 11:08:31 2015 +0100vexpress64: Juno: Declare all 8GB of RAM and make them visible to the kernel.
Juno comes with 8GB RAM, but U-Boot only passes 2GB to the kernel.
Declare a secondary memory bank and set the sizes correctly.Signed-off-by: Liviu Dudau
Reviewed-by: Linus Walleij
Reviewed-by: Ryan Harkin
Tested-by: Ryan HarkinUnfortunately, I only fully tested on Juno R0, R1 and the FVP Foundation
model. Whilst FVP Base AEMV8 models run U-Boot OK, they fail to boot
the kernel.Signed-off-by: Ryan Harkin
Acked-by: Liviu Dudau
Reviewed-by: Linus Walleij -
Only compile in PCIe support if the board really uses it. Provide
a __weak stub for the init function if e.g. FVP is being built.Signed-off-by: Ryan Harkin
Acked-by: Linus Walleij -
On a Juno r1 the PCI controller init routine outputs the rather boring
ATR entry information.
Do this only with DEBUG defined to avoid cluttering the user's
terminal.Signed-off-by: Andre Przywara
Acked-by: Ryan Harkin
20 Oct, 2015
2 commits
-
Juno R1 has an XpressRICH3 PCIe host bridge that needs to be initialised
in order for the Linux kernel to be able to enumerate the bus. Add
support code here that enables the host bridge, trains the links and
sets up the Address Translation Tables.Signed-off-by: Liviu Dudau
Tested-by: Ryan Harkin
[trini: Always declare vexpress64_pcie_init and continue handling logic
inside the function]
Signed-off-by: Tom Rini -
Juno comes with 8GB RAM, but U-Boot only passes 2GB to the kernel.
Declare a secondary memory bank and set the sizes correctly.Signed-off-by: Liviu Dudau
Reviewed-by: Linus Walleij
Reviewed-by: Ryan Harkin
Tested-by: Ryan Harkin
12 Oct, 2015
1 commit
-
Create an additional FVP configuration to boot images pre-loaded into
DRAM.Sometimes it's preferential to boot the model by loading the files
directly into DRAM via model parameters, rather than using
SemiHosting.An example of model parmaters that are used to pre-load the files
into DRAM:
--data cluster0.cpu0=Image@0x80080000 \
--data cluster0.cpu0=fvp-base-gicv2-psci.dtb@0x83000000 \
--data cluster0.cpu0=uInitrd@0x84000000Signed-off-by: Ryan Harkin
Reviewed-by: Linus Walleij
[trini: Update board/armltd/vexpress64/Kconfig logic]
Signed-off-by: Tom Rini
11 Oct, 2015
1 commit
-
The FVP and Juno settings were identical, but duplicated, so I removed
the duplication with this patch.Signed-off-by: Ryan Harkin
Reviewed-by: Linus Walleij
[trini: Adjust logic to keep if/endif in the file]
Signed-off-by: Tom Rini
12 Sep, 2015
1 commit
-
This board has not been converted to generic board by the deadline.
Remove it.Signed-off-by: Simon Glass
13 Aug, 2015
1 commit
-
This switches the Integrator boards over to using the device model
for its serial ports.Cc: Masahiro Yamada
Signed-off-by: Linus Walleij
14 May, 2015
1 commit
-
CONFIG_ARMV7_VIRT depends on CONFIG_ARMV7_NONSEC, thus doesn't need to
be taken into account additionally. CONFIG_ARMV7_PSCI is only set on
boards that support CONFIG_ARMV7_NONSEC, and it only works on those.CC: Tang Yuantian
CC: York Sun
CC: Steve Rae
CC: Andre Przywara
Signed-off-by: Jan Kiszka
Tested-by: Alison Wang
Signed-off-by: Tom Warren
23 Apr, 2015
2 commits
-
This assignment conflicts with code that add flags with
gd->flags |= FOO prior to the execution of this function.
Seems like a historical artifact and creates bugs with
early alloc().Cc: Masahiro Yamada
Signed-off-by: Linus Walleij
Acked-by: Simon Glass -
The board/SoC select menu in arch/arm/Kconfig is still cluttered.
Add ARCH_INTEGRATOR into arch/arm/Kconfig and move the board select
under arch/arm/mach-integrator.Signed-off-by: Masahiro Yamada
Cc: Linus Walleij