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 X-Spam-Level: X-Spam-Status: No, score=-16.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6237FC4338F for ; Sun, 25 Jul 2021 23:35:30 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id D5A2A60F11 for ; Sun, 25 Jul 2021 23:35:29 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org D5A2A60F11 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=yifangu.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id DCBB08328B; Mon, 26 Jul 2021 01:34:48 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=yifangu.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 92DB583245; Mon, 26 Jul 2021 01:17:03 +0200 (CEST) Received: from mail-qk1-f170.google.com (mail-qk1-f170.google.com [209.85.222.170]) (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 CB66A83248 for ; Mon, 26 Jul 2021 01:16:46 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=yifangu.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=gyf304@gmail.com Received: by mail-qk1-f170.google.com with SMTP id t66so7276074qkb.0 for ; Sun, 25 Jul 2021 16:16:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=vqxbvfvGHkP71POkWuFTjHPPFplkCO5ZrNrqogtZvm0=; b=k+8UgLcREK9cHk1HEXbsTxtTYY7jV+J8OQ6XrSh9Be3rPcnC0z8g9XxrKzMVa778g+ 4hYHDVlDYcJBWdDXdfLZRJPlP/F2G20kllqi9Ks+WKqKpqVYCeEp2VryP76kgdB3od55 eaF24THsUADEUTzuD5g/arnVOi32DFIkG/RHPkIIghGavTe7hHdXw3rDfjShlN+5IJtG h7aOYAQ2Enwb2Uh4eMaIzftxTMsiMjendPV0s47ebBx51ENKk/b8MIqpUJ5xXdyIQw/3 v1NH/JOdvPpBk5zo066CRnkLE6fcinpVkWWqgv/zYpou9owlm397/C6hn3myFz1CAKJE 0i9g== X-Gm-Message-State: AOAM533vKQqP98/xc4+Nt6Np2tY1gIuLHt8Z8QREX8QBdPfJOC3vjT7F pmupNa1yu+I5ByAdJa2gSPIU+nMUW1rvRGb7 X-Google-Smtp-Source: ABdhPJyvmd7VlDEdv9HQlcV8mU/21yxExEN4/pJi0JtKpVQFqkp7X7GY9830u0cdHg8bWGT6jWChjA== X-Received: by 2002:a05:620a:9c9:: with SMTP id y9mr15253574qky.494.1627255005535; Sun, 25 Jul 2021 16:16:45 -0700 (PDT) Received: from yifangu-Virtual-Machine.mshome.net (pool-100-6-159-43.pitbpa.fios.verizon.net. [100.6.159.43]) by smtp.gmail.com with ESMTPSA id u184sm17754694qkd.53.2021.07.25.16.16.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Jul 2021 16:16:45 -0700 (PDT) From: Yifan Gu To: u-boot@lists.denx.de Cc: Yifan Gu , Jagan Teki , Andre Przywara , Icenowy Zheng , George Hilliard Subject: [PATCH 13/27] sunxi: Don't provide enable_cache() on suniv Date: Sun, 25 Jul 2021 19:16:22 -0400 Message-Id: <20210725231636.879913-14-me@yifangu.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210725231636.879913-1-me@yifangu.com> References: <20210725231636.879913-1-me@yifangu.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Mailman-Approved-At: Mon, 26 Jul 2021 01:32:10 +0200 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 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.2 at phobos.denx.de X-Virus-Status: Clean From: George Hilliard The arm926 code provides this function. Disable it here. Signed-off-by: George Hilliard Signed-off-by: Yifan Gu --- arch/arm/mach-sunxi/board.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-sunxi/board.c b/arch/arm/mach-sunxi/board.c index b471933ec8..6dd2c6a4d8 100644 --- a/arch/arm/mach-sunxi/board.c +++ b/arch/arm/mach-sunxi/board.c @@ -406,7 +406,7 @@ void reset_cpu(void) #endif } -#if !CONFIG_IS_ENABLED(SYS_DCACHE_OFF) && !defined(CONFIG_ARM64) +#if !CONFIG_IS_ENABLED(SYS_DCACHE_OFF) && !defined(CONFIG_ARM64) && !defined(CONFIG_CPU_ARM926EJS) void enable_caches(void) { /* Enable D-cache. I-cache is already enabled in start.S */ -- 2.25.1