[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 2/2] ARM: exynos, integratorcp: Specify U-Boot start
From: |
Evgeny Voevodin |
Subject: |
[Qemu-devel] [PATCH 2/2] ARM: exynos, integratorcp: Specify U-Boot start address. |
Date: |
Wed, 22 Feb 2012 10:58:16 +0400 |
Signed-off-by: Evgeny Voevodin <address@hidden>
---
hw/exynos4210.h | 1 +
hw/exynos4_boards.c | 1 +
hw/integratorcp.c | 1 +
3 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/hw/exynos4210.h b/hw/exynos4210.h
index e7522f8..9035a2a 100644
--- a/hw/exynos4210.h
+++ b/hw/exynos4210.h
@@ -43,6 +43,7 @@
#define EXYNOS4210_IRAM_BASE_ADDR 0x02020000
#define EXYNOS4210_IRAM_SIZE 0x00020000 /* 128 KB */
+#define EXYNOS4210_UBOOT_ADDR 0x44800000
/* Secondary CPU startup code is in IROM memory */
#define EXYNOS4210_SMP_BOOT_ADDR EXYNOS4210_IROM_BASE_ADDR
#define EXYNOS4210_SMP_BOOT_SIZE 0x1000
diff --git a/hw/exynos4_boards.c b/hw/exynos4_boards.c
index 553a02b..937aab1 100644
--- a/hw/exynos4_boards.c
+++ b/hw/exynos4_boards.c
@@ -67,6 +67,7 @@ static unsigned long
exynos4_board_ram_size[EXYNOS4_NUM_OF_BOARDS] = {
};
static struct arm_boot_info exynos4_board_binfo = {
+ .uboot_start = EXYNOS4210_UBOOT_ADDR,
.loader_start = EXYNOS4210_BASE_BOOT_ADDR,
.smp_loader_start = EXYNOS4210_SMP_BOOT_ADDR,
.nb_cpus = EXYNOS4210_NCPUS,
diff --git a/hw/integratorcp.c b/hw/integratorcp.c
index 5b06c81..174ef38 100644
--- a/hw/integratorcp.c
+++ b/hw/integratorcp.c
@@ -434,6 +434,7 @@ static void icp_control_init(target_phys_addr_t base)
/* Board init. */
static struct arm_boot_info integrator_binfo = {
+ .uboot_start = 0x01000000,
.loader_start = 0x0,
.board_id = 0x113,
};
--
1.7.5.4