From patchwork Mon Feb 8 04:18:07 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 1437486 X-Patchwork-Delegate: sjg@chromium.org Return-Path: 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=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) 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=Hr8vXJtG; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (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 4DYtJ05yBPz9s1l for ; Mon, 8 Feb 2021 15:26:08 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 213F68289D; Mon, 8 Feb 2021 05:21:53 +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="Hr8vXJtG"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 3BF3E8284D; Mon, 8 Feb 2021 05:19:11 +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.6 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-x12b.google.com (mail-il1-x12b.google.com [IPv6:2607:f8b0:4864:20::12b]) (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 F070A8287F for ; Mon, 8 Feb 2021 05:18:58 +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-x12b.google.com with SMTP id e1so11583603ilu.0 for ; Sun, 07 Feb 2021 20:18:58 -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=GwhSjF4sKudzmbp9JBfsNMNijLfvS/Brnvsq7zJsPEs=; b=Hr8vXJtGGXpprsoLWQdP7pTB7VVEJVKOdt5WyYU9DcjgWDYrJa7VwexcAOGp45bZBA fmsvLUPIDz25j2StgzXv0hfIfHGx3blye3L51OlPw5Ou2n8/DQuIgjQxaEjflMhGyrwN lJP1ruXi4G6m53Xb9oX84BbnkXKUfGp/xfl4s= 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=GwhSjF4sKudzmbp9JBfsNMNijLfvS/Brnvsq7zJsPEs=; b=oXRq8RG1qOtL6QHj0WQFqgI6ra/D8RJzWlzfs/Aubcav9wr0DeT+BAt714FihIqgHh QUKeePDJ7GJiAxMd0iscpjpMDQ/F4qaTg8awniFJIhQ+/VSHDBi0A1RGtwZ97Mt67kLk iaJY12cMXOElSZCCpLxOe5q3gC/ZoRswqv31AWWrqhVhHEAbOWj2f6K1U/GgDHPrxibE mIoJ7wtlFCE4E98+YzAnoUe3O10jzZkHTJdb0SSAM+lsGj5QxyKHEDq5iVjwszZRgPn/ Ex8F7Ik2rp4Pk0LVktfNGVeyky+wO7qqsfL8A0wveVvE/263EJeVY3V/LI3FQmdiR9md hHUg== X-Gm-Message-State: AOAM531ldKcL18lnimRCztuIT8mO8x+ZzL2wteQ5sfSl03+XXUppknv7 d27coeP7Yyul9MAFPmBuwErlNmH8UZjnOBF/ X-Google-Smtp-Source: ABdhPJx8h7tTwfQ3V3ZRegboOCQqWSkT3SiKr6GoJoSBLreoJD4RcaX3O37/eQNB0jFHtOy8xsUS5g== X-Received: by 2002:a05:6e02:1390:: with SMTP id d16mr14480091ilo.269.1612757937505; Sun, 07 Feb 2021 20:18:57 -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 h10sm8214994ils.10.2021.02.07.20.18.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 07 Feb 2021 20:18:57 -0800 (PST) From: Simon Glass To: U-Boot Mailing List Cc: Tom Rini , Heinrich Schuchardt , Marek Vasut , Walter Lozano , Bin Meng , Bernhard Messerklinger , Simon Glass Subject: [PATCH v3 42/42] x86: apl: Use read-only SPL and new of-platdata Date: Sun, 7 Feb 2021 21:18:07 -0700 Message-Id: <20210207211727.v3.42.I436f1cd96c4c47151e0cd1ef97eb64e7589a1364@changeid> X-Mailer: git-send-email 2.30.0.478.g8a0d178c01-goog In-Reply-To: <20210208041807.4079084-1-sjg@chromium.org> References: <20210208041807.4079084-1-sjg@chromium.org> MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.102.3 at phobos.denx.de X-Virus-Status: Clean With Apollo Lake, SPL is placed in read-only memory. Set this new option so that OF_PLATDATA_INST can be used. Signed-off-by: Simon Glass --- (no changes since v1) arch/x86/cpu/apollolake/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/x86/cpu/apollolake/Kconfig b/arch/x86/cpu/apollolake/Kconfig index f5dbd6cbd34..63a05149df8 100644 --- a/arch/x86/cpu/apollolake/Kconfig +++ b/arch/x86/cpu/apollolake/Kconfig @@ -20,6 +20,8 @@ config INTEL_APOLLOLAKE select INTEL_GMA_SWSMISCI select ACPI_GNVS_EXTERNAL select TPL_OF_PLATDATA_PARENT + select TPL_OF_PLATDATA_INST + select TPL_READ_ONLY imply ENABLE_MRC_CACHE imply AHCI_PCI imply SCSI