From patchwork Mon Feb 16 19:32:27 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Max Filippov X-Patchwork-Id: 440344 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 394851401D0 for ; Tue, 17 Feb 2015 06:33:08 +1100 (AEDT) Received: from localhost ([::1]:41614 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YNRPm-0004zu-FS for incoming@patchwork.ozlabs.org; Mon, 16 Feb 2015 14:33:06 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47270) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YNRPW-0004fP-5a for qemu-devel@nongnu.org; Mon, 16 Feb 2015 14:32:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YNRPS-0004kJ-Ap for qemu-devel@nongnu.org; Mon, 16 Feb 2015 14:32:50 -0500 Received: from mail-la0-f42.google.com ([209.85.215.42]:36228) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YNRPS-0004kF-4A for qemu-devel@nongnu.org; Mon, 16 Feb 2015 14:32:46 -0500 Received: by labgq15 with SMTP id gq15so31865555lab.3 for ; Mon, 16 Feb 2015 11:32:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=7GzDQdDl8Mr+9laCboAh92rQqAjP7mtW35cYNX85eos=; b=JYFYBme6LBfGWDDyZiLRulfQaMNRXNjcHXgN8/TPUytcL3Fu+x1SluqUwgu2GqjgKt Z2h5jTICccvVUk5XbGVd5gF9vtJBHrTK+Q9npXbYQFhtkOVb8vPm3i7jRq9KlmmywJMY vVl9fVdfWwysKAIkhLLQNWacP8ywM+T5Cm34bkoC8bEqdwYeIm/zzet6Lce88i5DCAIn PeIYuiKDVxCog5JpWQ+89YKubz6E7yeqkAnOgkxaUIEvmong2WO3KvPOTZ2RDR93dWKx roeXYhvKCmwEVi8suIBWzT5i3w/ZEJ/OdOnGHbOO3qmIsZRjuBA/aTfFH6B2e4ci2lca BIeg== X-Received: by 10.112.140.74 with SMTP id re10mr25449653lbb.80.1424115165505; Mon, 16 Feb 2015 11:32:45 -0800 (PST) Received: from octofox.metropolis ([5.19.183.212]) by mx.google.com with ESMTPSA id n12sm2325832lbg.31.2015.02.16.11.32.43 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 16 Feb 2015 11:32:44 -0800 (PST) From: Max Filippov To: qemu-devel@nongnu.org Date: Mon, 16 Feb 2015 22:32:27 +0300 Message-Id: <1424115147-27077-1-git-send-email-jcmvbkbc@gmail.com> X-Mailer: git-send-email 1.8.1.4 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.215.42 Cc: Max Filippov Subject: [Qemu-devel] [PATCH] target-xtensa: xtfpga: fix ml605 flash size 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 ML605 daughterboard has 16MB flash, not 32MB. Change board definition accordingly. Signed-off-by: Max Filippov --- hw/xtensa/xtfpga.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/xtensa/xtfpga.c b/hw/xtensa/xtfpga.c index e8793af..63a5291 100644 --- a/hw/xtensa/xtfpga.c +++ b/hw/xtensa/xtfpga.c @@ -551,7 +551,7 @@ static void xtensa_ml605_init(MachineState *machine) { static const LxBoardDesc ml605_board = { .flash_base = 0xf8000000, - .flash_size = 0x02000000, + .flash_size = 0x01000000, .flash_sector_size = 0x20000, .sram_size = 0x2000000, };