arm/allwinner/a10: use new arm bootblock infrastructure
commit 8b685398
(ARM: Overhaul the ARM Makefile.)
changes config flags for cpu and mainboard bootblock initialization.
Tested on a20/cubieboard2.
Change-Id: I753aa60ff66de9a3352a3a0759e4d0be9d8ae1c7
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
Reviewed-on: http://review.coreboot.org/7187
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@google.com>
Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
This commit is contained in:
committed by
Patrick Georgi
parent
a3ea1e4590
commit
9b79731dd4
@@ -12,14 +12,7 @@ config CPU_SPECIFIC_OPTIONS
|
|||||||
select HAVE_MONOTONIC_TIMER
|
select HAVE_MONOTONIC_TIMER
|
||||||
select HAVE_UART_SPECIAL
|
select HAVE_UART_SPECIAL
|
||||||
select BOOTBLOCK_CONSOLE
|
select BOOTBLOCK_CONSOLE
|
||||||
|
select CPU_HAS_BOOTBLOCK_INIT
|
||||||
config BOOTBLOCK_CPU_INIT
|
|
||||||
string
|
|
||||||
default "cpu/allwinner/a10/bootblock.c"
|
|
||||||
help
|
|
||||||
CPU/SoC-specific bootblock code. This is useful if the
|
|
||||||
bootblock must load microcode or copy data from ROM before
|
|
||||||
searching for the bootblock.
|
|
||||||
|
|
||||||
# The "eGON.BT0" header takes 32 bytes
|
# The "eGON.BT0" header takes 32 bytes
|
||||||
config BOOTBLOCK_BASE
|
config BOOTBLOCK_BASE
|
||||||
|
@@ -1,3 +1,4 @@
|
|||||||
|
bootblock-y += bootblock.c
|
||||||
bootblock-y += bootblock_media.c
|
bootblock-y += bootblock_media.c
|
||||||
bootblock-y += clock.c
|
bootblock-y += clock.c
|
||||||
bootblock-y += gpio.c
|
bootblock-y += gpio.c
|
||||||
|
@@ -8,8 +8,8 @@
|
|||||||
|
|
||||||
#include <types.h>
|
#include <types.h>
|
||||||
#include <arch/cache.h>
|
#include <arch/cache.h>
|
||||||
|
#include <bootblock_common.h>
|
||||||
|
|
||||||
void bootblock_cpu_init(void);
|
|
||||||
void bootblock_cpu_init(void)
|
void bootblock_cpu_init(void)
|
||||||
{
|
{
|
||||||
uint32_t sctlr;
|
uint32_t sctlr;
|
||||||
|
Reference in New Issue
Block a user