Message ID | 1612710687-56493-7-git-send-email-bmeng.cn@gmail.com |
---|---|
State | Superseded |
Delegated to: | Priyanka Jain |
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=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=EqqW4glt; 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 4DYXj270XCz9rx6 for <incoming@patchwork.ozlabs.org>; Mon, 8 Feb 2021 02:13:10 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 6504F827C5; Sun, 7 Feb 2021 16:12:19 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="EqqW4glt"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id E419C827B8; Sun, 7 Feb 2021 16:12:10 +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,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-ed1-x52a.google.com (mail-ed1-x52a.google.com [IPv6:2a00:1450:4864:20::52a]) (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 0912682730 for <u-boot@lists.denx.de>; Sun, 7 Feb 2021 16:12:07 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=bmeng.cn@gmail.com Received: by mail-ed1-x52a.google.com with SMTP id s26so9442617edt.10 for <u-boot@lists.denx.de>; Sun, 07 Feb 2021 07:12:06 -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; bh=tkVKLwH1YlEJ6Bn30fu31jV5+hI9qt+bCjFrf3hbSME=; b=EqqW4glt95ftWtRDANpmZg6r4WrAs4/kYfbAw6kkYvSnKGX9mmb9IPPNZ9ajWS1X+H 2Yqh4xuorurcb1JH2xhdh5yY49ubfmOmuJJNlEjvf+5kKU5itvaBvfFPggM66KdKFc9/ w2qdWT0OHss2fdd2b0DVC0WH+02lJH044wLLCe27+5GspJ2vf1SDR/1UBAp6viMJ4QTO F9Xnkq1VouhfQwzZrzgmhExJuMik9qLml31e6h0On6EN09gMyP0Hy4zKTwx+oqajbN6K 5KF/Hs1vy4U4e+n0TdynIKrVGhgrNfTuSSDYpilTpBMKka0uu87PXyOA6NZEvbTcmq5W Td2w== 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; bh=tkVKLwH1YlEJ6Bn30fu31jV5+hI9qt+bCjFrf3hbSME=; b=bAQL2IBYEp2ty81+xu7ONDlcI7xENY27cHGKUKHiunFfQDpz3WGhjlkoBcThesdvpO lR1T66+UagQbWENu+x1PETcft4Z23ztSzr++a6gYkaSzhfLv4CZETdZqIVCjapKPLcbi 7BU3UcfdDhE/ELTMsTlJX0ztRa6slXOgteS/rgJmPzItCzb5s0CsJHBfs804TuYpF+dY hmyXtvfwbBYk5mrnWX8jtc+JwKHe9dmFu9FWeby4g3oPEKY6rt6uCCCpJTSAm40LKJQm vTjR8OGnOSK96p+VNibzMO/haWqLJO8GANvaxuOy8M9p7QH+KHjdYfkkYf8N6y2p3B56 OEgg== X-Gm-Message-State: AOAM5317rGGUiv/8PikgEtU/5121NF1PpHrcBMBCDEM2rPBiGhrIWAWu tOMHcUNpfLwgMJaFhIolPRo= X-Google-Smtp-Source: ABdhPJyieUr9fjYbE8cTcYonTDKwqlFcMFNMexM6WzCXsfGWkAFbZ4TpIM+JP0NROCx8JGx+XQhwTg== X-Received: by 2002:aa7:d58b:: with SMTP id r11mr12962815edq.241.1612710726543; Sun, 07 Feb 2021 07:12:06 -0800 (PST) Received: from pek-vx-bsp2.wrs.com (ec2-44-242-66-180.us-west-2.compute.amazonaws.com. [44.242.66.180]) by smtp.gmail.com with ESMTPSA id w26sm2010399edq.46.2021.02.07.07.12.03 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 07 Feb 2021 07:12:06 -0800 (PST) From: Bin Meng <bmeng.cn@gmail.com> To: Simon Glass <sjg@chromium.org>, Alexander Graf <agraf@csgraf.de>, Priyanka Jain <priyanka.jain@nxp.com> Cc: Tom Rini <trini@konsulko.com>, U-Boot Mailing List <u-boot@lists.denx.de> Subject: [PATCH 06/26] ppc: mpc85xx: Wrap LAW related codes with CONFIG_FSL_LAW Date: Sun, 7 Feb 2021 23:11:06 +0800 Message-Id: <1612710687-56493-7-git-send-email-bmeng.cn@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1612710687-56493-1-git-send-email-bmeng.cn@gmail.com> References: <1612710687-56493-1-git-send-email-bmeng.cn@gmail.com> 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 |
ppc: qemu: Convert qemu-ppce500 to driver model
|
expand
|
diff --git a/arch/powerpc/cpu/mpc85xx/cpu.c b/arch/powerpc/cpu/mpc85xx/cpu.c index 3ff1ef4..9d3a68e 100644 --- a/arch/powerpc/cpu/mpc85xx/cpu.c +++ b/arch/powerpc/cpu/mpc85xx/cpu.c @@ -394,7 +394,9 @@ int cpu_mmc_init(struct bd_info *bis) void print_reginfo(void) { print_tlbcam(); +#ifdef CONFIG_FSL_LAW print_laws(); +#endif #if defined(CONFIG_FSL_LBC) print_lbc_regs(); #endif diff --git a/arch/powerpc/cpu/mpc85xx/cpu_init_early.c b/arch/powerpc/cpu/mpc85xx/cpu_init_early.c index c519e8b..b0c2e2a 100644 --- a/arch/powerpc/cpu/mpc85xx/cpu_init_early.c +++ b/arch/powerpc/cpu/mpc85xx/cpu_init_early.c @@ -122,7 +122,9 @@ void cpu_init_early_f(void *fdt) setbits_be32(&gur->pmuxcr, MPC85xx_PMUXCR_LCLK_IFC_CS3); #endif +#ifdef CONFIG_FSL_LAW init_laws(); +#endif /* * Work Around for IFC Erratum A003399, issue will hit only when execution
LAW related codes should be wrapped with CONFIG_FSL_LAW. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> --- arch/powerpc/cpu/mpc85xx/cpu.c | 2 ++ arch/powerpc/cpu/mpc85xx/cpu_init_early.c | 2 ++ 2 files changed, 4 insertions(+)