From patchwork Sun Nov 10 16:17:58 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Ford X-Patchwork-Id: 1192636 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="gIiBZIOM"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 479zhK5l36z9s4Y for ; Mon, 11 Nov 2019 03:18:23 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id 8A728C21E16; Sun, 10 Nov 2019 16:18:16 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=FREEMAIL_FROM, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 54E94C21C50; Sun, 10 Nov 2019 16:18:15 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 2F9B6C21C50; Sun, 10 Nov 2019 16:18:13 +0000 (UTC) Received: from mail-yw1-f68.google.com (mail-yw1-f68.google.com [209.85.161.68]) by lists.denx.de (Postfix) with ESMTPS id AEF8DC21C4A for ; Sun, 10 Nov 2019 16:18:12 +0000 (UTC) Received: by mail-yw1-f68.google.com with SMTP id r131so4397854ywh.2 for ; Sun, 10 Nov 2019 08:18:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=ZDpKKBQ6Wk5bLFeFqVGfHlTU22U9tBoTQIDhMPXmFd8=; b=gIiBZIOMPHsTQPI/F+7Ue2ye20wrrflXX8IQLVXGPgWefLa5ZYy+7eVcla5baAhUeL IhHLTu4kDVUWs9hyqDv8zQBVhEwoVNzt4D31yM9j0LhQzt0yvzuoQHWukMpZU0uXYLlL cmXJmuQ+PZ6iJNjP387f+MQ4yr/UOhGtv62eKbwqJ2oqp50P47JyZNb4MNdhm67eQF8X 6qaQ555JGqMSVj4kL409jTTikuGVPQUR4oCq3X3u+N7cMqypAeLTImOsrIz9JvjS2FWv 4Wyj4tw4P8RT7Ou81NXhVzhIP+qU4AH103o+H09CMQJx8YOOcBYmdawajNrBCxQDOsh0 L8tQ== 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:mime-version :content-transfer-encoding; bh=ZDpKKBQ6Wk5bLFeFqVGfHlTU22U9tBoTQIDhMPXmFd8=; b=hT1gjMCFuQeergXfbms4ejrs2IEZMsTjIvOFQYQ5rcCxIUOdY3d/c+oFaqpCpO7gUg +w+NeBmSZnj8GWPC7xVNf+sMI7r7M5R1a9KOHvHeRZq86n57rl+AbyIfcR4TaB0qYYZV JDYJU4/pFo8Nxd9NiG80jxblw2ftBR3MWpNjQVB87TfEtcS65a8rTt7S33WvLbvEeFbi OC4hYdESXdyUzq4DFuT2cvSbfxL5cGIzl6N2Sfm76+7xrhg67P/1sBWCFzPY/ShsAzVZ yAnsN1vNvCHU+FdaZyIDI3GVQCsMsjA8+SIXawcexPWTbGG4N+uJRZmkgNchfG1firsR lcQQ== X-Gm-Message-State: APjAAAX2Ju0LXCvasDSAq10ioyXqyvIj8P4i/62zfelQVy880rHT68PM 0+iFpiapa28TYQ3Po/VVsCrAH/TC1i0= X-Google-Smtp-Source: APXvYqyiHttiFPjwa4a9nQG1qkO20S+pEmeg8QGd0XNzV94BDVdA3yuy+W0y5xRSQMAQagsZFTmvsw== X-Received: by 2002:a81:5942:: with SMTP id n63mr13389372ywb.85.1573402690462; Sun, 10 Nov 2019 08:18:10 -0800 (PST) Received: from localhost.localdomain (c-73-37-219-234.hsd1.mn.comcast.net. [73.37.219.234]) by smtp.gmail.com with ESMTPSA id r33sm6889263ywa.83.2019.11.10.08.18.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 10 Nov 2019 08:18:09 -0800 (PST) From: Adam Ford To: u-boot@lists.denx.de Date: Sun, 10 Nov 2019 10:17:58 -0600 Message-Id: <20191110161758.614-1-aford173@gmail.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Cc: bgolaszewski@baylibre.com, phoward@gme.net.au Subject: [U-Boot] [PATCH] ARM: omapl138_lcdk: Allow early init to start instruction cache X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 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" Currently the omapl138_lcdk has SKIP_LOWLEVEL_INIT set. The README states there is a variation of this for the ARM926EJ-S which allows the board to just skip the call to lowlevel_init() and do the normal CP15 init which enables the instruction cache. On the da850evm, this was shown to improve startup time. This patch switches SKIP_LOWLEVEL_INIT to SKIP_LOWLEVEL_INIT_ONLY thus, enabling the cache. Signed-off-by: Adam Ford Tested-by: Bartosz Golaszewski Reviewed-by: Bartosz Golaszewski diff --git a/include/configs/omapl138_lcdk.h b/include/configs/omapl138_lcdk.h index 1c41e7e97a..3b5c085a24 100644 --- a/include/configs/omapl138_lcdk.h +++ b/include/configs/omapl138_lcdk.h @@ -23,7 +23,7 @@ #define CONFIG_SYS_TIMERBASE DAVINCI_TIMER0_BASE #define CONFIG_SYS_HZ_CLOCK clk_get(DAVINCI_AUXCLK_CLKID) #define CONFIG_SYS_HZ 1000 -#define CONFIG_SKIP_LOWLEVEL_INIT +#define CONFIG_SKIP_LOWLEVEL_INIT_ONLY /* * Memory Info