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 B33D2C433EF for ; Sat, 12 Mar 2022 04:08:32 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 6365D83B2D; Sat, 12 Mar 2022 05:08:18 +0100 (CET) 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 5188883A8A; Sat, 12 Mar 2022 05:07:55 +0100 (CET) Received: from mail-qv1-f48.google.com (mail-qv1-f48.google.com [209.85.219.48]) (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 7B5A383B13 for ; Sat, 12 Mar 2022 05:07:43 +0100 (CET) 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-qv1-f48.google.com with SMTP id p8so8484372qvg.12 for ; Fri, 11 Mar 2022 20:07:43 -0800 (PST) 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=M1Q0yFCHGmcBR/Gtwx4F3KSZ21LzVtYlYU6YaB9iGvM=; b=BRvsd02KedFuk2SWZy4sptUpC+oCmfABfmIjv4MgOoh/CnFbzhf2UDyMV7L2qbqLBA 6dkd8rTQeyz/oWhHhdOCms5MIoB0fiOVc/O/b+PdTzgd2RgDpxxk1v5v0OpLNz8c7h1G 3xoQYPaci9eY/acHAUeF02S/y4ENIXq6ePmZGhnMl9lxGwTGI8Ztz1wJ6Sfg1z7GURoI A4/NQ5ufU4okSrZNQvQ0iIIpwonoO7A9dB8bUXLmdXel0dhinty1nTgLec0ktI/w/199 AfWctHah6DqK0+Na/M5XKQ122MWdwbwy2g2QYiopf7LxG77NjANEHCDo3warU+1v+tNb 9cYg== X-Gm-Message-State: AOAM533ZshsNZYutr5Zrl2MiLNbyvCJznRfXODF3f9hWGW+CYNH250fY 9g6kk1eGDgvoIYUYkusnzVj/+40p4g== X-Google-Smtp-Source: ABdhPJy47zxj8Tkv5nrJMa1ngl0fV/zKhF/p41EwMjsBPB+egjTMVJb2h9g3+2FDzJLE0KlQF9A+FA== X-Received: by 2002:a05:6214:2a8b:b0:435:c22a:7a16 with SMTP id jr11-20020a0562142a8b00b00435c22a7a16mr10566310qvb.123.1647058061874; Fri, 11 Mar 2022 20:07:41 -0800 (PST) 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 p7-20020a05622a13c700b002de9f3894c2sm7083062qtk.50.2022.03.11.20.07.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Mar 2022 20:07:41 -0800 (PST) From: Tom Rini To: u-boot@lists.denx.de Cc: Eugen Hristev Subject: [PATCH 5/8] atmel: Remove CONFIG_AT91SAM9G45EKES Date: Fri, 11 Mar 2022 23:07:33 -0500 Message-Id: <20220312040736.3537388-5-trini@konsulko.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220312040736.3537388-1-trini@konsulko.com> References: <20220312040736.3537388-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 This symbol is used only once, and in comparison with an unset symbol, so drop it. Cc: Eugen Hristev Signed-off-by: Tom Rini --- board/atmel/at91sam9m10g45ek/at91sam9m10g45ek.c | 4 ---- include/configs/at91sam9m10g45ek.h | 2 -- 2 files changed, 6 deletions(-) diff --git a/board/atmel/at91sam9m10g45ek/at91sam9m10g45ek.c b/board/atmel/at91sam9m10g45ek/at91sam9m10g45ek.c index 8cb2808e058a..b1462b3e3ebd 100644 --- a/board/atmel/at91sam9m10g45ek/at91sam9m10g45ek.c +++ b/board/atmel/at91sam9m10g45ek/at91sam9m10g45ek.c @@ -267,11 +267,7 @@ int board_early_init_f(void) int board_init(void) { /* arch number of AT91SAM9M10G45EK-Board */ -#ifdef CONFIG_AT91SAM9M10G45EK gd->bd->bi_arch_number = MACH_TYPE_AT91SAM9M10G45EK; -#elif defined CONFIG_AT91SAM9G45EKES - gd->bd->bi_arch_number = MACH_TYPE_AT91SAM9G45EKES; -#endif /* adress of boot parameters */ gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100; diff --git a/include/configs/at91sam9m10g45ek.h b/include/configs/at91sam9m10g45ek.h index a6f0844443d0..2616ca68eb5f 100644 --- a/include/configs/at91sam9m10g45ek.h +++ b/include/configs/at91sam9m10g45ek.h @@ -16,8 +16,6 @@ #define CONFIG_SYS_AT91_SLOW_CLOCK 32768 #define CONFIG_SYS_AT91_MAIN_CLOCK 12000000 /* from 12 MHz crystal */ -#define CONFIG_AT91SAM9M10G45EK - /* general purpose I/O */ #define CONFIG_ATMEL_LEGACY /* required until (g)pio is fixed */ -- 2.25.1