29 Mar, 2015
6 commits
-
make the CPU clock selectable via Kconfig
this removes the sunxi specific CONFIG_CLK_FULL_SPEED defined in each
soc header and replaces it's use in board/sunxi/board.c with
CONFIG_SYS_CLK_FREQ from Kconfig which allows us to configure board
specific frequency on bootSigned-off-by: Iain Paton
[hdegoede@redhat.com s/CONFIG_SYS_CLK_FREQ/CONFIG_TIMER_CLK_FREQ/ for the
arch-timer clk speed on sun7i to fix mis-compile on sun7i]
Acked-by: Hans de Goede
Signed-off-by: Hans de Goede -
clock_set_pll1 would pick the next highest available cpu clock speed if
a value not in the pre defined table was selected. this potentially
results in overclocking the soc.reverse the selection method so that we select the next lowest speed
and add the missing 912Mhz setting that's requested by sun7i which also
uses the sun4i clock code.Signed-off-by: Iain Paton
Acked-by: Hans de Goede
Signed-off-by: Hans de Goede -
The usb0 / otg phy on sunxi boards has a bug where it wrongly detects a
high speed squelch on usb reset deassert when a lo speed device is plugged in.The android kernel has a work around for this in the form of temporary
disabling the phy's squelch detection on reset deassert, this commit adds
the same workaround to the u-boot sunxi musb code, thereby fixing various usb
lo speed devices not working.Tested with a (before non working) usb keyboard and a usb 2.4 GHz wireless
keyboard/mouse combo receiver.Signed-off-by: Hans de Goede
Acked-by: Ian Campbell -
Now that loading files using semihosting can be done using
a command in standard scripts, and we have rewritten the boardfile
and added it to the Vexpress64, let's delete the external
interface to the semihosting file retrieveal and rely solely
on these commands, and staticize them inside that file so the
whole business is self-contained.Signed-off-by: Linus Walleij
-
Instead of sprinkling custom code and calls over the Vexpress64
boardfile, create a command that loads images using semihosting
just like we would load from flash memory of over the network,
using a special command:smhload
This will make it possible to remove some custom calls and
code and make the boot easier.Signed-off-by: Linus Walleij
-
The semihosting trap call does not like being inlined, probably
because that will mean register reordering screwing up the return
value in r0, so tag this function "noinline".Signed-off-by: Linus Walleij
28 Mar, 2015
15 commits
-
Collect CPU specific flags into the single place.
Signed-off-by: Masahiro Yamada
Cc: Alison Wang
Cc: Angelo Dureghello -
Move the CPU type config options from include/configs/*.h
to arch/m68k/Kconfig and refactor the CPU flags select in
arch/m68k/cpu/mcf547x_8x/config.mk.Signed-off-by: Masahiro Yamada
Cc: Alison Wang
Cc: Angelo Dureghello -
Move the CPU type config options from include/configs/M5235EVB.h
to arch/m68k/Kconfig and refactor the CPU flags select in
arch/m68k/cpu/mcf523x/config.mk.Signed-off-by: Masahiro Yamada
Cc: Alison Wang
Cc: Angelo Dureghello -
Move the CPU type config options from include/configs/M52277EVB.h
to arch/m68k/Kconfig and refactor the CPU flags select in
arch/m68k/cpu/mcf5227x/config.mk.Signed-off-by: Masahiro Yamada
Cc: Alison Wang
Cc: Angelo Dureghello -
This commit intends to stop grepping CPU type in
arch/m68k/cpu/mcf5445x/config.mk.Move the CPU type config options from include/configs/*.h
to arch/m68k/Kconfig and refactor the CPU flags select in
arch/m68k/cpu/mcf5445x/config.mk.Signed-off-by: Masahiro Yamada
Cc: Alison Wang
Cc: Angelo Dureghello -
This commit intends to stop grepping CPU type in
arch/m68k/cpu/mcf532x/config.mk.Move the CPU type config options from include/configs/*.h
to arch/m68k/Kconfig and refactor the CPU flags select in
arch/m68k/cpu/mcf532x/config.mk.Signed-off-by: Masahiro Yamada
Cc: Alison Wang
Cc: Angelo Dureghello -
This commit intends to stop grepping CPU type in
arch/m68k/cpu/mcf530x/config.mk.Move the CPU type config options from include/configs/amcore.h
to arch/m68k/Kconfig and refactor the CPU flags select in
arch/m68k/cpu/mcf530x/config.mk.Signed-off-by: Masahiro Yamada
Cc: Alison Wang
Cc: Angelo Dureghello -
This commit intends to stop grepping CPU type in
arch/m68k/cpu/mcf52x2/config.mk.Move the CPU type config options from include/configs/*.h
to arch/m68k/Kconfig and refactor the CPU flags select in
arch/m68k/cpu/mcf52x2/config.mk.Signed-off-by: Masahiro Yamada
Cc: Alison Wang
Cc: Angelo Dureghello -
Move arch/arm/include/asm/arch-bcm283x/*
-> arch/arm/mach-bcm283x/include/mach/*Signed-off-by: Masahiro Yamada
Acked-by: Stephen Warren -
BCM2835 (used on Raspberry Pi) and BCM2836 (used on Raspberry Pi 2)
are similar enough. One of the biggest differences is the ARM
processor. It is reasonable to collect the source files into a
single place, arch/arm/mach-bcm283x/.Signed-off-by: Masahiro Yamada
Acked-by: Stephen Warren -
This option has a bool type, not hex.
Fix it and enable it if CONFIG_DM is on because Driver Model always
requires malloc memory. Devices are scanned twice, before/after
relocation. CONFIG_SYS_MALLOC_F should be enabled to use malloc
memory before relocation. As it is board-independent, handle it
globally.Signed-off-by: Masahiro Yamada
Acked-by: Stephen Warren
Reviewed-by: Simon Glass
Acked-by: Robert Baldyga -
The default value of CONFIG_SYS_MALLOC_F_LEN is defined by ./Kconfig
as 0x400. Each defconfig or Kconfig need not repeat the same value.Signed-off-by: Masahiro Yamada
Acked-by: Stephen Warren
Reviewed-by: Simon Glass
Acked-by: Robert Baldyga -
All the M68000 boards have switched to Generic Board.
This file is no longer necessary.Signed-off-by: Masahiro Yamada
Cc: Huan Wang
Cc: Angelo Dureghello
Reviewed-by: Simon Glass -
We have done with the generic board conversion for all the boards
of ARC, Blackfin, M68000, MicroBlaze, MIPS, NIOS2, Sandbox, X86.Let's select SYS_GENERIC_BOARD for those architectures, so we can
tell which architecture has finished the conversion at a glance.Signed-off-by: Masahiro Yamada
Reviewed-by: Simon Glass
Reviewed-by: Alexey Brodkin -
Move the option to Kconfig renaming it to CONFIG_HAVE_GENERIC_BOARD.
Signed-off-by: Masahiro Yamada
Reviewed-by: Simon Glass
Reviewed-by: Alexey Brodkin
25 Mar, 2015
3 commits
-
Intel Quark SoC integrates two 10/100 ethernet controllers which can
be connected to an external RMII PHY. The MAC IP is from Designware.
Enable this support with the existing U-Boot Designware MAC driver
so that the ethernet port on Intel Galileo board can be used.Signed-off-by: Bin Meng
Acked-by: Simon Glass -
Using __DATE__ and __TIME__ results in an error due to -Werror=date-time
with gcc-4.9 (__DATE__ / __TIME__ might prevent reproducible builds) so
switch these over to U_BOOT_DATE / U_BOOT_TIMECc: Bin Meng
Cc: Simon Glass
Signed-off-by: Tom Rini
Acked-by: Simon Glass -
This patch cleans up the quark MRC codes coding style by:
- Remove BIT0/1../31 defines from mrc_util.h
- Create names for the documented BITs and use them
- For undocumented single BITs, use (1 << n) directly
- For undocumented ORed BITs, use the hex number directly
- Remove redundancy parenthesis all over the codes
- Replace to use lower case hex numbersSigned-off-by: Bin Meng
24 Mar, 2015
1 commit
-
Various files are needlessly rebuilt every time due to the version and
build time changing. As version.h is not actually needed, remove the
include.Signed-off-by: Rob Herring
Cc: Albert Aribaud
Cc: Stefano Babic
Cc: Minkyu Kang
Cc: Marek Vasut
Cc: Tom Warren
Cc: Michal Simek
Cc: Macpaul Lin
Cc: Wolfgang Denk
Cc: York Sun
Cc: Stefan Roese
Cc: Nobuhiro Iwamatsu
Cc: Simon Glass
Cc: Philippe Reynes
Cc: Eric Jarrige
Cc: "David Müller"
Cc: Phil Edworthy
Cc: Robert Baldyga
Cc: Torsten Koschorrek
Cc: Anatolij Gustschin
Reviewed-by: Linus Walleij
Reviewed-by: Łukasz Majewski
23 Mar, 2015
11 commits
-
The callee (arch/arm/lib/cache-cp15.c) has a #ifdef
CONFIG_SYS_DCACHE_OFF conditional. The same conditional in the
caller (arch/arm/mach-uniphier/cache_uniphier.c) is redundant.Signed-off-by: Masahiro Yamada
-
The L2 cache is used as a temporary SRAM on SPL.
Now the secondary CPUs store the necessary code for jumping to
Linux on their L1 I-caches. So, the L2 cache can be disabled
much earlier, at the very entry of U-Boot proper (lowlevel_init).
This makes the boot sequence clearer.
Also, as the L1 cache has been disabled by the start.S,
enable_caches() does not need to do it again.Signed-off-by: Masahiro Yamada
-
Currently, the secondary CPU(s) are kicked three times:
Boot ROM ---(kick)--> SPL ---(kick)--> U-boot ---(kick)--> Linux.
It makes the boot sequence very complicated.This commit merges the first and the second kicks, so the secondary
CPU(s) can directly jump from SPL to Linux.
arch/arm/mach-uniphier/smp.S is no longer necessary.Linux boot test passed.
Signed-off-by: Masahiro Yamada
-
Signed-off-by: Masahiro Yamada
-
To remove the ifdef conditional of CONFIG_SKIP_LOWLEVEL_INIT,
add late_lowlevel_init.S to U-Boot proper.Signed-off-by: Masahiro Yamada
-
Ifdef conditionals for CONFIG options are not Kconfig-friendly.
Instead, define CONFIG_SPL_STACK to prepare for Kconfig moves.Signed-off-by: Masahiro Yamada
-
Enable CONFIG_SPL_DM and CONFIG_SPL_SERIAL_SUPPORT, which provide
Driver Model UART support on SPL.CONFIG_SYS_SPL_MALLOC_{START,SIZE} should be dropped because simple
malloc is preferred on SPL. Dlmalloc requires some static variables
on .data section that is not available yet for NOR boot mode etc.Signed-off-by: Masahiro Yamada
-
The UniPhier platform is going to enable Driver Model and UART
support on SPL. Move UART pin settings to early_pin_init(),
which is called from SPL.Signed-off-by: Masahiro Yamada
-
Since we do not have OF_CONTROL support for SPL, platform devices
are necessary to enable Driver Model on SPL.To prepare for that, move platdevice.o to SPL and enable it by
CONFIG_SPL_DM.Signed-off-by: Masahiro Yamada
-
The two Makefiles arch/arm/mach-uniphier/{ph1-ld4,ph1-sld8}/Makefile
are completely the same. We can improve the maintainability by
having one to include the other.Signed-off-by: Masahiro Yamada
-
Since commit a86ac9540e20 (ARM: UniPhier: include instead
of ), UniPhier platform does not need the symbolic
link arch/arm/include/asm. This option is not necessary either.Signed-off-by: Masahiro Yamada
20 Mar, 2015
1 commit
19 Mar, 2015
3 commits
-
When access the programmable secure peripherals address space,
it needs set them to non-secured.Signed-off-by: Bo Shen
-
As the u-boot-spl.lds is used only for armv7 SoCs (includes
sama5d3 and sama5d4), so move it to armv7 directory.Signed-off-by: Bo Shen
-
This patch enable the MCI support for at91sam9rlek board.
Signed-off-by: Josh Wu
[rebase on ToT]
Signed-off-by: Andreas Bießmann