From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 5EF9BC433EF for ; Wed, 30 Mar 2022 22:14:31 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 2757E841FD; Thu, 31 Mar 2022 00:09:58 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id 7428B841B4; Thu, 31 Mar 2022 00:08:20 +0200 (CEST) Received: from mail-qt1-f175.google.com (mail-qt1-f175.google.com [209.85.160.175]) (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 A12F78418A for ; Thu, 31 Mar 2022 00:07:52 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=tom.rini@gmail.com Received: by mail-qt1-f175.google.com with SMTP id v2so19633910qtc.5 for ; Wed, 30 Mar 2022 15:07:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=vx/73J3zNE1ef3kxhj7B6Lsb9heesE5YF/+Mqyp6Fn8=; b=DmtYiuz3xJ9Dx5jvdpQVEZgPSGSe8x5WSnesjMyl0yGx23yz9vA0/9+j3+fGsgLgBK qVO1jWCJoL8V7VzuZU383jZDFuAT2OE8J8kltuCNZip1Qvxw98VB7H8I+y8soFWFH/wU /9hiQDZW/mAggs5CwmFoTWhfhkifDcZRJEzW1mNAlRC8e6gJ4Fm3pPgESWxrlCswzIbA rQzY4HbIjcWlBv5vXDwwFdEx2/IDEsdbV/WIzu7+9etUuu+bJLcw9hbJM7JbeZiOudn/ Eo+3ZHt19HSGkl3p1O3d3LOEFsj2m0HoA6g46VT3dVwpL/YcLCGgaWvU0BeDf5/X/z3j 2Elg== X-Gm-Message-State: AOAM53253lf/72dDI4uyLTBi56UizpYIMYasGViGsYU0+L9dlYlqy2CT TGQGQshtwYV4qj98y+O70ZsLzRB75Q== X-Google-Smtp-Source: ABdhPJzsunD7vbhwcomo7CkPc2ni7YulQBd/kPjHLMWqlSZJy72V5/D4ydFmpU2EddaEP9eWOOCjJw== X-Received: by 2002:ac8:5a45:0:b0:2e2:27e5:1416 with SMTP id o5-20020ac85a45000000b002e227e51416mr1591736qta.481.1648678071417; Wed, 30 Mar 2022 15:07:51 -0700 (PDT) Received: from bill-the-cat.lan (2603-6081-7b01-cbda-2ef0-5dff-fedb-a8ba.res6.spectrum.com. [2603:6081:7b01:cbda:2ef0:5dff:fedb:a8ba]) by smtp.gmail.com with ESMTPSA id h2-20020ac85842000000b002e1ec550506sm17749694qth.87.2022.03.30.15.07.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Mar 2022 15:07:51 -0700 (PDT) From: Tom Rini To: u-boot@lists.denx.de Cc: Mario Six , Wolfgang Denk Subject: [PATCH 19/25] powerpc: mpc83xx: Migrate DEFAULT_IMMR to Kconfig Date: Wed, 30 Mar 2022 18:07:29 -0400 Message-Id: <20220330220735.908616-19-trini@konsulko.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220330220735.908616-1-trini@konsulko.com> References: <20220330220735.908616-1-trini@konsulko.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.103.5 at phobos.denx.de X-Virus-Status: Clean As no platforms override this value, set it for all mpc83xx platforms. Cc: Mario Six Cc: Wolfgang Denk Signed-off-by: Tom Rini --- arch/powerpc/cpu/mpc83xx/Kconfig | 4 ++++ include/mpc83xx.h | 4 ---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/powerpc/cpu/mpc83xx/Kconfig b/arch/powerpc/cpu/mpc83xx/Kconfig index 2ebf8fc221d6..d1b9ae4c3c92 100644 --- a/arch/powerpc/cpu/mpc83xx/Kconfig +++ b/arch/powerpc/cpu/mpc83xx/Kconfig @@ -1,6 +1,10 @@ menu "mpc83xx CPU" depends on MPC83xx +config DEFAULT_IMMR + hex + default 0xFF400000 + config E300 def_bool y diff --git a/include/mpc83xx.h b/include/mpc83xx.h index 0275b3184ea3..2181a90b59cf 100644 --- a/include/mpc83xx.h +++ b/include/mpc83xx.h @@ -21,10 +21,6 @@ /* * IMMRBAR - Internal Memory Register Base Address */ -#ifndef CONFIG_DEFAULT_IMMR -/* Default IMMR base address */ -#define CONFIG_DEFAULT_IMMR 0xFF400000 -#endif /* Register offset to immr */ #define IMMRBAR 0x0000 #define IMMRBAR_BASE_ADDR 0xFFF00000 /* Base addr. mask */ -- 2.25.1