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 5D150C61DA3 for ; Wed, 22 Feb 2023 01:41:56 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 02E9985AC0; Wed, 22 Feb 2023 02:39:54 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="PkGsDvY3"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id B7AAC85A87; Wed, 22 Feb 2023 02:39:12 +0100 (CET) Received: from mail-pg1-x52f.google.com (mail-pg1-x52f.google.com [IPv6:2607:f8b0:4864:20::52f]) (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 A380485A90 for ; Wed, 22 Feb 2023 02:38:55 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=troykiskyboundary@gmail.com Received: by mail-pg1-x52f.google.com with SMTP id p6so3420689pga.0 for ; Tue, 21 Feb 2023 17:38:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; 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=1eQ59UhnkvRet1JxIcjQwxn6gsqUkIeBB3hZxWepkTk=; b=PkGsDvY3Poi145MvXTGnNHhgDJJDN8qC1OhKKOy/v+secIlEk/ueY1XkqngVzpZ0AP xFpLvHiR7deKoO2z3yOa//RUK6hGnc+TRqfFPw8kKDkHcWutUt/blKZGk0hSsCbnnDbW 9ywU/C2hkxPfW9X9Lnm/peRVR028Q3NTMHJJ8NZDYbYu6xnkPTSNY6EjvslUkmZpaPox eY5Yw37NPiHWa5N9Ev5QHKhb3Cegur56981wW1r0F15JCwkNpj2+aiz01tjIK2LcdMDM ZvqfM0GJBCNlXbd4p1JlMrb8+G1FkC3T1UTWqW/pl0DSyi3Rf+Re57+3LwVDGmSRoUOF 6BfQ== 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=1eQ59UhnkvRet1JxIcjQwxn6gsqUkIeBB3hZxWepkTk=; b=dKToJ0VAld8z2VOOfKUwmHGJqoC64cW61PMwvTI7bwQckb+VHhT3yFaQiH4cAUF/VB MTRRgrjviZ3xIlmojXaWIi0df+YGdcHjtRnl3iKqwkOCxYI5+GiTe6c2IL30upOxj/Ew UwmkU+9kcYYrh2L/32pZEuvEo8w6SU8ymeIir2jpICrhlXIL3ZjxTlmwNVtBsS6W8gg3 u083/5R+By+1JSaPMhGiymVv4Qwdqxi+zDgfpbO3qJ35SfFA8jsTRBqWsJStJxU6XGhG Xv3I2ltEhmMmaWQJhVa7F+vn3MVMpIDBkJ4S7Ap/2VGfEwWK6B9yVzo6Yc5W2Dl1mIsJ 4kAA== X-Gm-Message-State: AO0yUKVjrzirWkdyccbC3B7R50Y4zvBZbjizYjuPWIiDfmPMWi/wk4V1 p9H72CX/mIvrBr90WaZ7Np0= X-Google-Smtp-Source: AK7set8kjkwsORcCSGi23LEpdTT+lFv+rMnPV3XqaLw2Hj1UgsQakvlnHme91cViGpgOOX+yCfph3A== X-Received: by 2002:aa7:989c:0:b0:5a8:d360:de72 with SMTP id r28-20020aa7989c000000b005a8d360de72mr4292568pfl.29.1677029935214; Tue, 21 Feb 2023 17:38:55 -0800 (PST) Received: from OS2.boundarydevices.com. (wsip-184-189-120-117.oc.oc.cox.net. [184.189.120.117]) by smtp.gmail.com with ESMTPSA id d6-20020aa78e46000000b005accb31201fsm4200976pfr.26.2023.02.21.17.38.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Feb 2023 17:38:54 -0800 (PST) From: Troy Kisky To: sjg@chromium.org, trini@konsulko.com, u-boot@lists.denx.de Cc: gary.bisson@lairdconnect.com, Troy Kisky , Klaus Goger , Quentin Schulz Subject: [PATCH v1 13/24] puma-rk3399: remove check for ENV_IS_NOWHERE, it is an SPL config Date: Tue, 21 Feb 2023 17:38:10 -0800 Message-Id: <20230222013821.1144691-14-troykiskyboundary@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230222013821.1144691-1-troykiskyboundary@gmail.com> References: <20230222013821.1144691-1-troykiskyboundary@gmail.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 When IS_ENABLED(CONFIG_ENV_IS_NOWHERE) is converted to CONFIG_IS_ENABLED(ENV_IS_NOWHERE) this will give unwanted errors on spl builds. Signed-off-by: Troy Kisky --- board/theobroma-systems/puma_rk3399/puma-rk3399.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/board/theobroma-systems/puma_rk3399/puma-rk3399.c b/board/theobroma-systems/puma_rk3399/puma-rk3399.c index 97f398bd754..614a60ee8f9 100644 --- a/board/theobroma-systems/puma_rk3399/puma-rk3399.c +++ b/board/theobroma-systems/puma_rk3399/puma-rk3399.c @@ -136,10 +136,6 @@ int mmc_get_env_dev(void) return CONFIG_SYS_MMC_ENV_DEV; } -#if !IS_ENABLED(CONFIG_ENV_IS_NOWHERE) -#error Please enable CONFIG_ENV_IS_NOWHERE -#endif - enum env_location arch_env_get_location(enum env_operation op, int prio) { const char *boot_device = -- 2.34.1