From patchwork Thu Dec 14 14:52:53 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Andrey Smirnov X-Patchwork-Id: 848606 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=2001:4830:134:3::11; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="J40goTRb"; dkim-atps=neutral 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 3yyH572ByYz9sCZ for ; Fri, 15 Dec 2017 02:08:42 +1100 (AEDT) Received: from localhost ([::1]:41477 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ePV7o-0004x0-Uc for incoming@patchwork.ozlabs.org; Thu, 14 Dec 2017 10:08:40 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55515) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ePUtL-0001eY-V3 for qemu-devel@nongnu.org; Thu, 14 Dec 2017 09:53:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ePUtL-0000sc-2d for qemu-devel@nongnu.org; Thu, 14 Dec 2017 09:53:44 -0500 Received: from mail-pg0-x242.google.com ([2607:f8b0:400e:c05::242]:34053) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ePUtG-0000jB-5w; Thu, 14 Dec 2017 09:53:38 -0500 Received: by mail-pg0-x242.google.com with SMTP id j4so3564071pgp.1; Thu, 14 Dec 2017 06:53:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=hFT/Pj8JhWvMJv7wDbFPeo5WH8oytpXJoh4yK2590xU=; b=J40goTRbcXRQqTwcKeKnr61ket1a1rq41ec5BvNP81L6oONj0UkmqynAjVlEM5oTqw 2JytENWYyAwlIEhD7tH+EVmu6mZcOS/7vGCCKf+tippnO8JHbXOoec3bnZHHgekhes3v /4NXE0FgU51IzE0j1Xhhzfts6Pc8eSSkzwL4vFAd3YQzcHvDu/tkDAZakSrml0PuDk5q wucMi78Y8ei2fOpMDyBpWt/Oa+fPGtjDXXjWJq/IAohV3VMbtPLqYhyekmp3bDvsy1/F RLMmngToO0ebbnjZsFCo24ViHrMs8OV2UNOVeWkwrv7tWk3JR81pL6wOVWBZ/j1wxvWC pCWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=hFT/Pj8JhWvMJv7wDbFPeo5WH8oytpXJoh4yK2590xU=; b=C2D3z5rxwiVueSphT5ptJOQrLL6XxUF0MHWjQYTGXX0IWdCDXO4aF4Sr+9PlnjvUO8 g9bbT+XNVoyD14emSygb1UNRsRBpWznQ6kazEWOl77mnBQMY4qtFEWHhqBQU6Rnpllor o86rQZgY0ZOuNQPJmOnTghI4itI5dMYhdkDVxUXTaPSZfhJG1rBBt9PuyffIjsrLeAQS Qhn7qRviI/m/+ZWSMb+ZX+mi3YZT4DJWTaA2zDRkfcon4GnNODxuGtVlJ4+xR6qHJ0uS 5frzsqsK2kLyUaHNhaUtM/vLWGRkZ9UB/uD0ZI6uUyuXiwxFPTqSBIis4K+VvRU8xNM4 1hFg== X-Gm-Message-State: AKGB3mIyXaV1o3eFeM16D2FYNUwvjoECPaVw+8SwrIqkOcWFQVqoFAAh JpHlB56Qq494cHN23J54yJTld2IZ X-Google-Smtp-Source: ACJfBouH5JPgNmTedjg7LnxswQCwwFR1PYQHxx066LJxMhg6sw63sGFlE1yCOGgOR9r1Z2UGWOqfYw== X-Received: by 10.84.173.1 with SMTP id o1mr9993946plb.135.1513263216904; Thu, 14 Dec 2017 06:53:36 -0800 (PST) Received: from squirtle.lan (c-24-22-235-96.hsd1.wa.comcast.net. [24.22.235.96]) by smtp.gmail.com with ESMTPSA id e7sm8757439pfj.44.2017.12.14.06.53.35 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 14 Dec 2017 06:53:36 -0800 (PST) From: Andrey Smirnov To: qemu-arm@nongnu.org Date: Thu, 14 Dec 2017 06:52:53 -0800 Message-Id: <20171214145255.31545-14-andrew.smirnov@gmail.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20171214145255.31545-1-andrew.smirnov@gmail.com> References: <20171214145255.31545-1-andrew.smirnov@gmail.com> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400e:c05::242 Subject: [Qemu-devel] [PATCH v2 13/15] hw: i.MX: Convert i.MX6 to use TYPE_IMX_USDHC 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 , Andrey Smirnov , Jason Wang , =?utf-8?q?Philippe_Mathieu-Daud?= =?utf-8?b?w6k=?= , qemu-devel@nongnu.org, yurovsky@gmail.com Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" Convert i.MX6 to use TYPE_IMX_USDHC since that's what real HW comes with. Cc: Peter Maydell Cc: Jason Wang Cc: Philippe Mathieu-Daudé Cc: qemu-devel@nongnu.org Cc: qemu-arm@nongnu.org Cc: yurovsky@gmail.com Signed-off-by: Andrey Smirnov --- hw/arm/fsl-imx6.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/arm/fsl-imx6.c b/hw/arm/fsl-imx6.c index 2ed7146c52..b9249dbfc8 100644 --- a/hw/arm/fsl-imx6.c +++ b/hw/arm/fsl-imx6.c @@ -93,7 +93,7 @@ static void fsl_imx6_init(Object *obj) } for (i = 0; i < FSL_IMX6_NUM_ESDHCS; i++) { - object_initialize(&s->esdhc[i], sizeof(s->esdhc[i]), TYPE_SYSBUS_SDHCI); + object_initialize(&s->esdhc[i], sizeof(s->esdhc[i]), TYPE_IMX_USDHC); qdev_set_parent_bus(DEVICE(&s->esdhc[i]), sysbus_get_default()); snprintf(name, NAME_SIZE, "sdhc%d", i + 1); object_property_add_child(obj, name, OBJECT(&s->esdhc[i]), NULL);