From patchwork Thu Jan 3 13:35:45 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: BALATON Zoltan X-Patchwork-Id: 10747313 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 858DD6C5 for ; Thu, 3 Jan 2019 14:02:16 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6ECA828745 for ; Thu, 3 Jan 2019 14:02:16 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6C7A8287C5; Thu, 3 Jan 2019 14:02:16 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,INVALID_DATE, MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id A3B7928745 for ; Thu, 3 Jan 2019 14:02:15 +0000 (UTC) Received: from localhost ([127.0.0.1]:54029 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gf3Zc-0003rQ-Bo for patchwork-qemu-devel@patchwork.kernel.org; Thu, 03 Jan 2019 09:02:12 -0500 Received: from eggs.gnu.org ([208.118.235.92]:56586) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gf3Xq-0003oy-ON for qemu-devel@nongnu.org; Thu, 03 Jan 2019 09:00:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gf3Xk-0003YA-S5 for qemu-devel@nongnu.org; Thu, 03 Jan 2019 09:00:22 -0500 Received: from zero.eik.bme.hu ([152.66.115.2]:17104) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gf3Xg-0003G2-A3; Thu, 03 Jan 2019 09:00:14 -0500 Received: from zero.eik.bme.hu (blah.eik.bme.hu [152.66.115.182]) by localhost (Postfix) with SMTP id 5F7867456C7; Thu, 3 Jan 2019 15:00:01 +0100 (CET) Received: by zero.eik.bme.hu (Postfix, from userid 432) id 426C974569F; Thu, 3 Jan 2019 15:00:01 +0100 (CET) Message-Id: From: BALATON Zoltan Date: Thu, 3 Jan 2019 14:35:45 +0100 Date: Thu, 03 Jan 2019 14:35:45 +0100 To: qemu-devel@nongnu.org, qemu-ppc@nongnu.org X-detected-operating-system: by eggs.gnu.org: FreeBSD 9.x [fuzzy] X-Received-From: 152.66.115.2 Subject: [Qemu-devel] [PATCH v2 0/6] Misc sam460ex related patches X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Peter Maydell , Paolo Bonzini , Aleksandar Markovic , David Gibson Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP The last code patch in this series fixes memory size larger than 1GB for sam460ex, other patches are just clean ups I've made along the way. The first patch is intended to be generic and may be useful for other boards which currently have their own SPD EEPROM data or don't yet generate any SPD data just have TODO comments instead. These are MIPS malta and fulong2e, ARM integratorcp and maybe aspeed, and the PIIX and Q35 pc machines. I did not try to change these as I have no way to test them throughly. Patch 2 converts sam460ex to use this function. Other patches are misc cleanups. Regards, BALATON Zoltan v2: Address review comments, omitting patches already merged BALATON Zoltan (6): smbus: Add a helper to generate SPD EEPROM data sam460ex: Clean up SPD EEPROM creation ppc4xx: Use ram_addr_t in ppc4xx_sdram_adjust() ppc4xx: Rename ppc4xx_sdram_t in ppc440_uc.c to ppc440_sdram_t ppc4xx: Pass array index to function instead of pointer into the array sam460ex: Fix support for memory larger than 1GB hw/i2c/smbus_eeprom.c | 130 ++++++++++++++++++++++++++++++++++ hw/ppc/ppc440_bamboo.c | 2 +- hw/ppc/ppc440_uc.c | 70 +++++++++---------- hw/ppc/ppc4xx_devs.c | 4 +- hw/ppc/sam460ex.c | 181 +++++++----------------------------------------- include/hw/i2c/smbus.h | 3 + include/hw/ppc/ppc4xx.h | 2 +- 7 files changed, 196 insertions(+), 196 deletions(-)