From patchwork Wed Feb 22 06:58:16 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Evgeny Voevodin X-Patchwork-Id: 142402 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [140.186.70.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 2C76CB6FA8 for ; Wed, 22 Feb 2012 17:59:06 +1100 (EST) Received: from localhost ([::1]:34027 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S06AE-000128-Qa for incoming@patchwork.ozlabs.org; Wed, 22 Feb 2012 01:58:58 -0500 Received: from eggs.gnu.org ([140.186.70.92]:47071) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S069v-0000Z7-9q for qemu-devel@nongnu.org; Wed, 22 Feb 2012 01:58:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S069o-0004A0-3R for qemu-devel@nongnu.org; Wed, 22 Feb 2012 01:58:38 -0500 Received: from mailout1.w1.samsung.com ([210.118.77.11]:56650) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S069n-00048N-TU for qemu-devel@nongnu.org; Wed, 22 Feb 2012 01:58:32 -0500 Received: from euspt1 (mailout1.w1.samsung.com [210.118.77.11]) by mailout1.w1.samsung.com (iPlanet Messaging Server 5.2 Patch 2 (built Jul 14 2004)) with ESMTP id <0LZS006488PCGT@mailout1.w1.samsung.com> for qemu-devel@nongnu.org; Wed, 22 Feb 2012 06:58:24 +0000 (GMT) Received: from evvoevodinPC.rnd.samsung.ru ([106.109.9.191]) by spt1.w1.samsung.com (iPlanet Messaging Server 5.2 Patch 2 (built Jul 14 2004)) with ESMTPA id <0LZS003XJ8P6Q0@spt1.w1.samsung.com> for qemu-devel@nongnu.org; Wed, 22 Feb 2012 06:58:24 +0000 (GMT) Date: Wed, 22 Feb 2012 10:58:16 +0400 From: Evgeny Voevodin In-reply-to: <1329893896-28459-1-git-send-email-e.voevodin@samsung.com> To: qemu-devel@nongnu.org Message-id: <1329893896-28459-3-git-send-email-e.voevodin@samsung.com> MIME-version: 1.0 X-Mailer: git-send-email 1.7.5.4 Content-type: TEXT/PLAIN Content-transfer-encoding: 7BIT References: <1329893896-28459-1-git-send-email-e.voevodin@samsung.com> X-detected-operating-system: by eggs.gnu.org: Solaris 9.1 X-Received-From: 210.118.77.11 Cc: kyungmin.park@samsung.com, m.kozlov@samsung.com, i.mitsyanko@samsung.com, d.solodkiy@samsung.com, Evgeny Voevodin Subject: [Qemu-devel] [PATCH 2/2] ARM: exynos, integratorcp: Specify U-Boot start address. X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Signed-off-by: Evgeny Voevodin --- 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, };