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 9D3D5C4332F for ; Fri, 2 Dec 2022 21:43:12 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id A6C3B84F66; Fri, 2 Dec 2022 22:43:00 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="n5xo7csF"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 7A38084F7C; Fri, 2 Dec 2022 22:42:58 +0100 (CET) Received: from mail-ed1-x533.google.com (mail-ed1-x533.google.com [IPv6:2a00:1450:4864:20::533]) (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 0D12284F46 for ; Fri, 2 Dec 2022 22:42:56 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-ed1-x533.google.com with SMTP id a16so8081900edb.9 for ; Fri, 02 Dec 2022 13:42:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=afRAAf/Mba0gE2sUgTAi9k94OzX7FuaO0Ffhx2ir2SA=; b=n5xo7csF34CqUCL5TazQJD57RIQqBaGSbnbmcIKhB6bG29eUOHBTP49Bh8y1q6t4sp BBIOToNCWUcEXyOBsUYmMbOyznJzlRrRKis0O4JoiEf3g4A+1HInyH8A44/VDUWVer9m FN5Gp7rJJvFRXBbmnhCLUDSljVhU90WbAssBo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=afRAAf/Mba0gE2sUgTAi9k94OzX7FuaO0Ffhx2ir2SA=; b=vAqXth+MF4+oLiBqTN4zTY1Lz1126r/aF293o7uK5InwzRBoF3rmR0zVgibyFZykNN UADqrGUcSrcYqOj2/DHue8rJIc4U35N3C+qYVs3XKzmBNNod1onNRY21Tyb3tzJw+AFo rs2ANuphmJLabsmJM2bmJTdEQIXji/U6aO5WWSpjQPtpuF4kag4txxEfUkUXFJ7o627r ZMO0rdqSDnrYydCsr54ILVKs/w7XjjrsmhbO2toEk3g65+7b68cOD13h/RIOeP8+sfyE 12rYrHhbppJUM2hKfkl97mQb+O1ziWr6CveYWwfHIXknhrdrnuyxcA7k9MCL//dejPlm S0RA== X-Gm-Message-State: ANoB5pnDhePwZhACuQHwYpJDRabsJMykh5Ci1rQxkl+o/ce9e2NoWv1C EEZfmJK0oG82H8WdBksXr54eM7gl5zvKB3nm X-Google-Smtp-Source: AA0mqf7u0Zwo4Pn7SH+AdWd8EH68+rpDfOauP5TdUJD35Kc3Y/o5sDRnc/vSmhiNRvfqikJ8euaA3A== X-Received: by 2002:aa7:dd43:0:b0:467:4595:fc5c with SMTP id o3-20020aa7dd43000000b004674595fc5cmr64221806edw.114.1670017375660; Fri, 02 Dec 2022 13:42:55 -0800 (PST) Received: from bill-the-cat.lan (2603-6081-7b00-6400-f99b-6f1a-2cc1-7368.res6.spectrum.com. [2603:6081:7b00:6400:f99b:6f1a:2cc1:7368]) by smtp.gmail.com with ESMTPSA id b23-20020a1709062b5700b007c0991735c0sm3434248ejg.79.2022.12.02.13.42.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Dec 2022 13:42:55 -0800 (PST) From: Tom Rini To: u-boot@lists.denx.de Cc: Jaehoon Chung , Minkyu Kang Subject: [PATCH 02/41] arm: exynos5: Migrate USB_BOOTING to Kconfig Date: Fri, 2 Dec 2022 16:42:12 -0500 Message-Id: <20221202214251.3027264-2-trini@konsulko.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221202214251.3027264-1-trini@konsulko.com> References: <20221127152536.1556469-41-trini@konsulko.com> <20221202214251.3027264-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.6 at phobos.denx.de X-Virus-Status: Clean This symbol is enabled for all exynos5 platforms, move to Kconfig and select it. Cc: Jaehoon Chung Cc: Minkyu Kang Signed-off-by: Tom Rini --- Please note that include/configs/exynos5-common.h isn't covered by a MAINTAINERS entry and should be, thanks. --- arch/arm/mach-exynos/Kconfig | 4 ++++ include/configs/exynos5-common.h | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-exynos/Kconfig b/arch/arm/mach-exynos/Kconfig index 29e35e443c6a..383af83066ec 100644 --- a/arch/arm/mach-exynos/Kconfig +++ b/arch/arm/mach-exynos/Kconfig @@ -4,6 +4,9 @@ config BOARD_COMMON def_bool y depends on !TARGET_SMDKV310 && !TARGET_ARNDALE +config USB_BOOTING + bool + choice prompt "EXYNOS architecture type select" optional @@ -24,6 +27,7 @@ config ARCH_EXYNOS5 select BOARD_EARLY_INIT_F select CPU_V7A select SHA_HW_ACCEL + select USB_BOOTING imply CMD_HASH imply CRC32_VERIFY imply HASH_VERIFY diff --git a/include/configs/exynos5-common.h b/include/configs/exynos5-common.h index dd322c2b3a79..9b5c329bda18 100644 --- a/include/configs/exynos5-common.h +++ b/include/configs/exynos5-common.h @@ -58,7 +58,6 @@ /* USB */ /* USB boot mode */ -#define CONFIG_USB_BOOTING #define EXYNOS_COPY_USB_FNPTR_ADDR 0x02020070 #define EXYNOS_USB_SECONDARY_BOOT 0xfeed0002 #define EXYNOS_IRAM_SECONDARY_BASE 0x02020018 -- 2.25.1