From patchwork Thu Jun 6 14:39:33 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hans de Goede X-Patchwork-Id: 249435 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)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 5ED262C0090 for ; Fri, 7 Jun 2013 00:40:28 +1000 (EST) Received: from localhost ([::1]:49564 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UkbMU-0005H0-96 for incoming@patchwork.ozlabs.org; Thu, 06 Jun 2013 10:40:22 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57980) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UkbLx-0005C7-HU for qemu-devel@nongnu.org; Thu, 06 Jun 2013 10:39:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UkbLm-0000Nk-SQ for qemu-devel@nongnu.org; Thu, 06 Jun 2013 10:39:49 -0400 Received: from mx1.redhat.com ([209.132.183.28]:33546) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UkbLm-0000NZ-Ly for qemu-devel@nongnu.org; Thu, 06 Jun 2013 10:39:38 -0400 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r56EdcwA017967 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 6 Jun 2013 10:39:38 -0400 Received: from shalem.localdomain.com (vpn1-5-247.ams2.redhat.com [10.36.5.247]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id r56EdZcN011718; Thu, 6 Jun 2013 10:39:37 -0400 From: Hans de Goede To: Gerd Hoffmann Date: Thu, 6 Jun 2013 16:39:33 +0200 Message-Id: <1370529574-31069-2-git-send-email-hdegoede@redhat.com> In-Reply-To: <1370529574-31069-1-git-send-email-hdegoede@redhat.com> References: <1370529574-31069-1-git-send-email-hdegoede@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 209.132.183.28 Cc: Hans de Goede , qemu-devel@nongnu.org Subject: [Qemu-devel] [PATCH 1/2] device_tree: Fix build with latest libfdt 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 We override libfdt_env.h with our own copy, and the latest libfdt expects libfdt_env.h to define fdt##_t types. Signed-off-by: Hans de Goede --- include/libfdt_env.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/libfdt_env.h b/include/libfdt_env.h index 3667d4c..1cd8766 100644 --- a/include/libfdt_env.h +++ b/include/libfdt_env.h @@ -19,8 +19,14 @@ #ifndef _LIBFDT_ENV_H #define _LIBFDT_ENV_H +#include + #include "qemu/bswap.h" +typedef uint16_t fdt16_t; +typedef uint32_t fdt32_t; +typedef uint64_t fdt64_t; + #ifdef HOST_WORDS_BIGENDIAN #define fdt32_to_cpu(x) (x) #define cpu_to_fdt32(x) (x)