Patchwork [2/2] ARM: exynos, integratorcp: Specify U-Boot start address.

login
register
mail settings
Submitter Evgeny Voevodin
Date Feb. 22, 2012, 6:58 a.m.
Message ID <1329893896-28459-3-git-send-email-e.voevodin@samsung.com>
Download mbox | patch
Permalink /patch/142402/
State New
Headers show

Comments

Evgeny Voevodin - Feb. 22, 2012, 6:58 a.m.
Signed-off-by: Evgeny Voevodin <e.voevodin@samsung.com>
---
 hw/exynos4210.h     |    1 +
 hw/exynos4_boards.c |    1 +
 hw/integratorcp.c   |    1 +
 3 files changed, 3 insertions(+), 0 deletions(-)

Patch

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,
 };