Message ID | 20201231041000.660925-5-sjg@chromium.org |
---|---|
State | Superseded |
Delegated to: | Simon Glass |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.a=rsa-sha256 header.s=google header.b=RL8rRBZw; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4D5vvP3Wpmz9sSf for <incoming@patchwork.ozlabs.org>; Thu, 31 Dec 2020 15:15:13 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 5635A826DB; Thu, 31 Dec 2020 05:12:09 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="RL8rRBZw"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id E3C2582674; Thu, 31 Dec 2020 05:10:59 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-il1-x133.google.com (mail-il1-x133.google.com [IPv6:2607:f8b0:4864:20::133]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id C24AD82627 for <u-boot@lists.denx.de>; Thu, 31 Dec 2020 05:10:50 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@chromium.org Received: by mail-il1-x133.google.com with SMTP id k8so16500768ilr.4 for <u-boot@lists.denx.de>; Wed, 30 Dec 2020 20:10:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=W32VKCZInWmIxBhe+m2h0wwis46hwWIqyVOz9evFWBY=; b=RL8rRBZwAspIMyc0SRXUM4p3eP0RijmuaF+jpiQInt5YA+tHeefU/VdFPq/NYX5jBJ TyZnEGwxh9bO3XlIGkJ/q38/YFAPxVXLQrmaGVde7jJRoIHKAdT++c54Epwpd3PzGrDs QAdhIolpW/gCckI5kWtJN1TwhUULrQ0ARGGYI= 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=W32VKCZInWmIxBhe+m2h0wwis46hwWIqyVOz9evFWBY=; b=uE01lnGB6VpRe6R/fsIea+CCdrUSW9dSqyqBrGtIn/eU31m1cqTWrVVzCOQpjBLZ7X fZuJ+xBXFKU3PZhJzU7mmTJReXCcawUWPEN/+CNRUQ/SPqquAZ+XAxF46B2eGps+Ekrt GM8hlXM6KdgikvxM7k5MBocV4W43dYCOVahmQzxnwAOUbZqic/BBwUIGbjmKWdF+DP2a OECxQwGBfgCQL+YY9ucKb4ealUZpbIanZ65QByZ+1XFPKkyGLxg8nb0xER84u8iK6Uhs zkark2Yhc5oMvG1YpqhuqOfxZVHdy3vII9EaPRwUkByXSJaj0Aw1aid7QYcSpOtZpB63 WRwQ== X-Gm-Message-State: AOAM5312tErb+3T9z5zlovNpmXHaamAVaXKcAQ+7via9VN0NlysE+501 H9YgOjCPdP9NXq/OfW0BSxrIsC8/anmu9FCy X-Google-Smtp-Source: ABdhPJxfmjzlhk+i6R3cKwyfCCq5V6RGNJR8g7OYx+HezKPrCWCiZ4aCFvS9Q0CZva757ibqeC7rSg== X-Received: by 2002:a05:6e02:1a4d:: with SMTP id u13mr32483201ilv.244.1609387849434; Wed, 30 Dec 2020 20:10:49 -0800 (PST) Received: from localhost.localdomain (c-67-190-101-114.hsd1.co.comcast.net. [67.190.101.114]) by smtp.gmail.com with ESMTPSA id 14sm31959026ilz.7.2020.12.30.20.10.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Dec 2020 20:10:49 -0800 (PST) From: Simon Glass <sjg@chromium.org> To: U-Boot Mailing List <u-boot@lists.denx.de> Cc: Marek Vasut <marex@denx.de>, Walter Lozano <walter.lozano@collabora.com>, Bernhard Messerklinger <bernhard.messerklinger@br-automation.com>, Heinrich Schuchardt <xypron.glpk@gmx.de>, Bin Meng <bmeng.cn@gmail.com>, Tom Rini <trini@konsulko.com>, Simon Glass <sjg@chromium.org> Subject: [PATCH 25/30] x86: apl: Tell of-platdata about a required header file Date: Wed, 30 Dec 2020 21:09:55 -0700 Message-Id: <20201231041000.660925-5-sjg@chromium.org> X-Mailer: git-send-email 2.29.2.729.g45daf8777d-goog In-Reply-To: <20201231041000.660925-1-sjg@chromium.org> References: <20201231041000.660925-1-sjg@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <https://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> X-Virus-Scanned: clamav-milter 0.102.3 at phobos.denx.de X-Virus-Status: Clean |
Series |
dm: Implement OF_PLATDATA_INST in driver model (part E)
|
expand
|
diff --git a/arch/x86/cpu/apollolake/punit.c b/arch/x86/cpu/apollolake/punit.c index e67c011e22c..5ed7963579e 100644 --- a/arch/x86/cpu/apollolake/punit.c +++ b/arch/x86/cpu/apollolake/punit.c @@ -93,4 +93,5 @@ U_BOOT_DRIVER(intel_apl_punit) = { .id = UCLASS_SYSCON, .of_match = apl_syscon_ids, .probe = apl_punit_probe, + DM_HEADER(<asm/cpu.h>) /* for X86_SYSCON_PUNIT */ };
This enum is needed to generate build-time devices. Tell dtoc where to find the header, to avoid compile errors in the generated code. Signed-off-by: Simon Glass <sjg@chromium.org> --- arch/x86/cpu/apollolake/punit.c | 1 + 1 file changed, 1 insertion(+)