Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2652234pxa; Mon, 17 Aug 2020 15:34:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw1u/sggqy2Gir5JAe5bTmUIO5kVKk2bqOu97plOu1gJ/FbsCLsvXSoRJVGADdRVW69ygQi X-Received: by 2002:aa7:d8d7:: with SMTP id k23mr17719551eds.54.1597703647539; Mon, 17 Aug 2020 15:34:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597703647; cv=none; d=google.com; s=arc-20160816; b=j1I0HqQVY/otnYlm8wPD/cXL/mjBsvo61GhipWn9g/3kr6k9gihFcwMU/3iACAS3YC eWr3oF74tEpfG5lV44b8Y91yJpWpFaDElXb+JOlSxJ6ZxP//Rqz8oiUKGIQtizlKrNvC w158DyuGRmvSX23ixjnY7PdjY44gl8p+hP2wuBCAYAAXkrhzxtpACuhwAtbvXxwJqqA8 uR12XTjLQycKshnRzZYkOSsc7gP+LK9aNGM/gKY/BQiDMuFSTJZSlYOAo4l9jYDz/Sv4 TlYkYA7gi6wdhkwggow595UabmDFgr/asydgQCfqjqQQ/BJf8xDbmEY8uDlhnJhRb5Fk DPPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=67Az1UvC0C5pKLEIEQELxwOcneZMdi/kqPrZ3rZ4los=; b=SqPHb5HP9BOxRrDk7xRQyZg/oPrqLr8OE5zU5eOT3zx4A6FSHmL7/od/YZPoAdCYu3 N86UuEPwFIrzzK1+yNoXeUumblBrTv/T6c+oIy49sV/7wV4gZKacI2btlvsYAAwMfZg1 3RtyBU5yUlGJ/YkSoqTjLmHXURMNKxe9sfW6rV50/WlOXf2VkmrT5JpDHnnRH4OmZik4 847gTbW84l+MI9UcSTQOoseXGaUn0+Ah1XBgINivT90YKpTqT50xgY2QY7LxJQIwAOGq VEVVXOBuOmrX+XPfe9uNISCn5Z5A+7JRQGEfiQDgN/tq4J4A927ax106dBMwO5NgKcXF gpoA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=AWLF2OS6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q5si11426298ejz.248.2020.08.17.15.33.32; Mon, 17 Aug 2020 15:34:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=AWLF2OS6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730360AbgHQRBj (ORCPT + 99 others); Mon, 17 Aug 2020 13:01:39 -0400 Received: from mail.kernel.org ([198.145.29.99]:54250 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388399AbgHQQH0 (ORCPT ); Mon, 17 Aug 2020 12:07:26 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 6689120888; Mon, 17 Aug 2020 16:07:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1597680424; bh=+q16tVvoqn+1RNAC3l/0/VWWPT5WJdZe4rdN6K952ps=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=AWLF2OS6pTWhsrx7JBBcbI7hqTKgvcrXmJSn3apdp8EOiL71FhkmTAS5DzhqxPuhx zZWAYZ/eCYePg7NSDCnaEBswjlRzLidykv73oJZQB0yPyt9/GeRAwtaEzy7y/Uu9FD Pd1jSn/rw9IrYXewX4mP3tYi7Vb3vfu08PzVtImU= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Michael Ellerman , Sasha Levin Subject: [PATCH 5.4 181/270] powerpc/boot: Fix CONFIG_PPC_MPC52XX references Date: Mon, 17 Aug 2020 17:16:22 +0200 Message-Id: <20200817143804.817895284@linuxfoundation.org> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200817143755.807583758@linuxfoundation.org> References: <20200817143755.807583758@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Michael Ellerman [ Upstream commit e5eff89657e72a9050d95fde146b54c7dc165981 ] Commit 866bfc75f40e ("powerpc: conditionally compile platform-specific serial drivers") made some code depend on CONFIG_PPC_MPC52XX, which doesn't exist. Fix it to use CONFIG_PPC_MPC52xx. Fixes: 866bfc75f40e ("powerpc: conditionally compile platform-specific serial drivers") Signed-off-by: Michael Ellerman Link: https://lore.kernel.org/r/20200724131728.1643966-7-mpe@ellerman.id.au Signed-off-by: Sasha Levin --- arch/powerpc/boot/Makefile | 2 +- arch/powerpc/boot/serial.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/boot/Makefile b/arch/powerpc/boot/Makefile index dfbd7f22eef5e..8c69bd07ada6a 100644 --- a/arch/powerpc/boot/Makefile +++ b/arch/powerpc/boot/Makefile @@ -119,7 +119,7 @@ src-wlib-y := string.S crt0.S stdio.c decompress.c main.c \ elf_util.c $(zlib-y) devtree.c stdlib.c \ oflib.c ofconsole.c cuboot.c -src-wlib-$(CONFIG_PPC_MPC52XX) += mpc52xx-psc.c +src-wlib-$(CONFIG_PPC_MPC52xx) += mpc52xx-psc.c src-wlib-$(CONFIG_PPC64_BOOT_WRAPPER) += opal-calls.S opal.c ifndef CONFIG_PPC64_BOOT_WRAPPER src-wlib-y += crtsavres.S diff --git a/arch/powerpc/boot/serial.c b/arch/powerpc/boot/serial.c index 9457863147f9b..00179cd6bdd08 100644 --- a/arch/powerpc/boot/serial.c +++ b/arch/powerpc/boot/serial.c @@ -128,7 +128,7 @@ int serial_console_init(void) dt_is_compatible(devp, "fsl,cpm2-smc-uart")) rc = cpm_console_init(devp, &serial_cd); #endif -#ifdef CONFIG_PPC_MPC52XX +#ifdef CONFIG_PPC_MPC52xx else if (dt_is_compatible(devp, "fsl,mpc5200-psc-uart")) rc = mpc5200_psc_console_init(devp, &serial_cd); #endif -- 2.25.1