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 0D3BCC433EF for ; Wed, 30 Mar 2022 22:12:22 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 20965841DA; Thu, 31 Mar 2022 00:09:32 +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 DFC28841A5; Thu, 31 Mar 2022 00:08:11 +0200 (CEST) Received: from mail-qt1-f172.google.com (mail-qt1-f172.google.com [209.85.160.172]) (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 F310F841AD for ; Thu, 31 Mar 2022 00:07:56 +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-f172.google.com with SMTP id t19so19670061qtc.4 for ; Wed, 30 Mar 2022 15:07:56 -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:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=AXTgmCWm/4hgWrmt6uBP1yN3E0WTP7XyQlqYRzmHgXk=; b=Onme3DDdRa12O2yhJaSXdkElO2dv87mGTq8uUDXSEs47bCZ+ke9bQ8YZRSQvhxX7kH UdkWoA90948xtUE7ve+kJLaolyM0lvJkRNHcV9Bod2SajzzNNbQnPGOGNgmMj/LEeSPI zJMtGMGnmYcQahneDfHGsr8IeW3VemnGrZtfgloI1Kg1ZY3tRvDtAsxD4bM7/21l2DY0 saMsdg+S3eEP5WgTaeldB27x/gjN21AYHRgr1QviAalViZsfO6Ih0j/U9cGwcRE8V+Uv 2yHH996P7jl1YrSoRzq9Liw0IJotUwaZaMgHhxGPC7I12+UKn8t6G+kz/yK0efQrF7wJ n4Cw== X-Gm-Message-State: AOAM532NAzkUML12fUsTGwXtpaz+tmKi2D1rwwxUEnsWcEx+At32UsDl edFqVZgYjxjdek8PRw43elBjnEGm6w== X-Google-Smtp-Source: ABdhPJxiL0pFaCBlaazHvV0zjBts4Xrp+SOJTIz9XZCrFWPrLgtROqOZHGPYZu/tfmvtV0tk48CXCg== X-Received: by 2002:a05:622a:1016:b0:2e1:d620:d2be with SMTP id d22-20020a05622a101600b002e1d620d2bemr1674028qte.180.1648678070683; Wed, 30 Mar 2022 15:07:50 -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 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Mar 2022 15:07:50 -0700 (PDT) From: Tom Rini To: u-boot@lists.denx.de Subject: [PATCH 18/25] nds32: Migrate CONFIG_DEBUG_LED to Kconfig Date: Wed, 30 Mar 2022 18:07:28 -0400 Message-Id: <20220330220735.908616-18-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 Move this value to the board Kconfig file. Signed-off-by: Tom Rini --- arch/nds32/include/asm/arch-ag101/ag101.h | 3 --- arch/nds32/include/asm/arch-ag102/ag102.h | 2 -- board/AndesTech/adp-ag101p/Kconfig | 4 ++++ 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/arch/nds32/include/asm/arch-ag101/ag101.h b/arch/nds32/include/asm/arch-ag101/ag101.h index 23908f82a4e0..6900868a66ca 100644 --- a/arch/nds32/include/asm/arch-ag101/ag101.h +++ b/arch/nds32/include/asm/arch-ag101/ag101.h @@ -43,9 +43,6 @@ /* External AHB slave2 (FUSBH200) */ #define CONFIG_EXT_AHBSLAVE02_BASE 0x92000000 -/* DEBUG LED */ -#define CONFIG_DEBUG_LED 0x902FFFFC - /* APB Device definitions */ /* Power Management Unit */ diff --git a/arch/nds32/include/asm/arch-ag102/ag102.h b/arch/nds32/include/asm/arch-ag102/ag102.h index 3255db6592e6..53d38b357345 100644 --- a/arch/nds32/include/asm/arch-ag102/ag102.h +++ b/arch/nds32/include/asm/arch-ag102/ag102.h @@ -72,8 +72,6 @@ /* PWM - Pulse Width Modulator Controller */ #define CONFIG_FTPWM010_BASE 0x94F00000 -/* Debug LED */ -#define CONFIG_DEBUG_LED 0x902FFFFC /* Power Management Unit */ #define CONFIG_FTPMU010_BASE 0x98100000 diff --git a/board/AndesTech/adp-ag101p/Kconfig b/board/AndesTech/adp-ag101p/Kconfig index 5e8aa22c448a..0fb7a10409b6 100644 --- a/board/AndesTech/adp-ag101p/Kconfig +++ b/board/AndesTech/adp-ag101p/Kconfig @@ -1,5 +1,9 @@ if TARGET_ADP_AG101P +config DEBUG_LED + hex + default 0x902FFFFC + config SYS_CPU default "n1213" -- 2.25.1