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 E13C5C636D4 for ; Wed, 1 Feb 2023 20:47:40 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id B953D85D70; Wed, 1 Feb 2023 21:45:54 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org 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=chromium.org header.i=@chromium.org header.b="bxTtN/zA"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 4CF6585D9C; Wed, 1 Feb 2023 21:45:44 +0100 (CET) Received: from mail-io1-xd2c.google.com (mail-io1-xd2c.google.com [IPv6:2607:f8b0:4864:20::d2c]) (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 3343285D4F for ; Wed, 1 Feb 2023 21:22:24 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@chromium.org Received: by mail-io1-xd2c.google.com with SMTP id y2so3847539iot.4 for ; Wed, 01 Feb 2023 12:22:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; 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=C9KYfE5y7YcLXlAnermHY8cAfSJhh98OxHVIuy+Yh+o=; b=bxTtN/zAm4RzlHZqI7AMqkYXwhNcoz1zzutUPl7vHfyUoOnrB8Jgd3ia4fygJJlNdb gLWrp47oCM9YNgniDWjorv5SU2gHpFhzDhNBsJGQDriNajMItPnnpHQEs+rUbJtCzv3E Hca5CMDXgGKW4YsgySFYOLPnTmu8D62CksD+M= 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=C9KYfE5y7YcLXlAnermHY8cAfSJhh98OxHVIuy+Yh+o=; b=sb6HMiwnQgOf8TAJzNZ9+E0oMtWt+zuQQkpe99wezipp0T3vBgjxZaRFQDaI0drlFG RceEp3Fo1M+UZQu+WR9gjv20V/w5ccrzfj/Lx8r2kxe9dmGNTxR1AFt5KQiARBTFLzwM QnMmqYswNC+4WQZGcnk3ytZxUcdnMFk8XmRIN7QcbEEyiutVEdRlmMNV1rEv6i5HKZzh 5MV4VlL5iGYR8aS749D+QRdg287fl9z5lli+l3nzAry7NvQrAT0QDPasoZmVINJsx3Go 4y0xyEDj7ooUWkLe8CdA9kfNjmZGm7izl7iPuO19R3410ONl0QsZWp1pPM6+2iWaefPQ Q67g== X-Gm-Message-State: AO0yUKUfDBuLQLPAARbz2QHhTJljllgHFkt4xuD9cB3zVgo7dOBlYF1L sAM+0wwZSmpnqnV+Pr1Mohf4W2jNJKJk/ndA X-Google-Smtp-Source: AK7set8DYep1HIBMGBluc21MQKAIKEtMK/rVVLolDiyU68brUDNrvSUgDAGJOZVqqUzBz9yyNiYHJw== X-Received: by 2002:a6b:e208:0:b0:6bc:d71a:570e with SMTP id z8-20020a6be208000000b006bcd71a570emr2256995ioc.16.1675282908262; Wed, 01 Feb 2023 12:21:48 -0800 (PST) Received: from kea.bld.corp.google.com ([2620:15c:183:200:1fda:cca0:9a42:148c]) by smtp.gmail.com with ESMTPSA id i1-20020a6bf401000000b00704608527d1sm6166498iog.37.2023.02.01.12.21.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Feb 2023 12:21:48 -0800 (PST) From: Simon Glass To: u-boot@lists.denx.de Cc: Tom Rini , Simon Glass Subject: [PATCH v3 32/76] arm: Drop CONFIG_MMU Date: Wed, 1 Feb 2023 13:19:43 -0700 Message-Id: <20230201202027.1943031-33-sjg@chromium.org> X-Mailer: git-send-email 2.39.1.456.gfc5497dd1b-goog In-Reply-To: <20230201202027.1943031-1-sjg@chromium.org> References: <20230201202027.1943031-1-sjg@chromium.org> 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 option does not exist, so the #ifdefs do nothing. Drop this code. Signed-off-by: Simon Glass --- (no changes since v1) arch/arm/lib/debug.S | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/arch/arm/lib/debug.S b/arch/arm/lib/debug.S index 5983f2c04ce..af4beb4d9d2 100644 --- a/arch/arm/lib/debug.S +++ b/arch/arm/lib/debug.S @@ -21,22 +21,10 @@ #include CONFIG_DEBUG_LL_INCLUDE #endif -#ifdef CONFIG_MMU - .macro addruart_current, rx, tmp1, tmp2 - addruart \tmp1, \tmp2, \rx - mrc p15, 0, \rx, c1, c0 - tst \rx, #1 - moveq \rx, \tmp1 - movne \rx, \tmp2 - .endm - -#else /* !CONFIG_MMU */ .macro addruart_current, rx, tmp1, tmp2 addruart \rx, \tmp1, \tmp2 .endm -#endif /* CONFIG_MMU */ - /* * Useful debugging routines */ @@ -97,15 +85,6 @@ ENTRY(printch) b 1b ENDPROC(printch) -#ifdef CONFIG_MMU -ENTRY(debug_ll_addr) - addruart r2, r3, ip - str r2, [r0] - str r3, [r1] - mov pc, lr -ENDPROC(debug_ll_addr) -#endif - #else ENTRY(printascii) -- 2.39.1.456.gfc5497dd1b-goog