From patchwork Thu Jan 14 15:58:01 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 567568 X-Patchwork-Delegate: sjg@chromium.org Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 8F8581402D9 for ; Fri, 15 Jan 2016 03:03:47 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=google.com header.i=@google.com header.b=AV+2b8+P; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id E8EC3A778D; Thu, 14 Jan 2016 17:01:06 +0100 (CET) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OrOTpxjh5j5B; Thu, 14 Jan 2016 17:01:06 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id E6738A7720; Thu, 14 Jan 2016 16:59:46 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 0054DA76D4 for ; Thu, 14 Jan 2016 16:58:59 +0100 (CET) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8seiHswvMTDa for ; Thu, 14 Jan 2016 16:58:58 +0100 (CET) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail-oi0-f50.google.com (mail-oi0-f50.google.com [209.85.218.50]) by theia.denx.de (Postfix) with ESMTPS id 16784A75B7 for ; Thu, 14 Jan 2016 16:58:43 +0100 (CET) Received: by mail-oi0-f50.google.com with SMTP id k206so118237872oia.1 for ; Thu, 14 Jan 2016 07:58:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=Ae8NP7kSaLdSNPbFrcFEKQa873ZJAShs7r1FjUZsP1M=; b=AV+2b8+Ppb/WP8HqWFdhd95fbQhO6j2wH5aCCOiYbzdck6GxPne3mZtpk0vTsjMV9S KGCkAfdZJ85eo9jR23XS0N50Vk55BFMMRzbQkICfZSQ6VW9qEcRQvhvdurZNvXKTybwC dSxp2HUzD3p2FGn6n2KGG1UrdTPKacbZy94rs9m8j4nk74oLzVXi+xjlS6FUhVm6KDy/ w6hrpQs3bgE4s+SAvhKTFeWp5DRmO+nZ8qrvsUge+QYjJVfXMy5w667ORUNZ7Aet9RWC n+DQtG57TgXKrQC9bQhMtlQYxH4X62GmcRntm045MNn1ns6r8tKR5xCnFOEURycjwPrX WUhw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=Ae8NP7kSaLdSNPbFrcFEKQa873ZJAShs7r1FjUZsP1M=; b=OOMStIB+thRKg/XIBpgstleVJFCbRm/JVba9mgiBOkhptwVw65tQR9IWGd64QvkZhv UVGcG9LX3oA7pg6vuU0aVslGEbb4oUqX6NHMlCu168UlUK/ofZSPKigoyiW0nm3z2Buz NpwHPB2E31Z049agGSXcaGpRWAvHUc0/Y7RfcLquq/MdZHKb2x3iDsRr/fiuPeTiiUbq ObaaSXEF6OT++tRYGwpoeBw5KPZwIszOksZ8AWsTyJ4MhwijDvhKCJv+MYr9B1r9DVzH p/rTtb2jLuwK+YwOpxmMEKd1pmgkUnm7Nks3xi4W2WXVnMsjayVQD6cH37jArIIzgc5g 9iPA== X-Gm-Message-State: ALoCoQlHQgQCGi3MiWU5N0JlHf/UD+1gyJ85P6zt0PGJDF5VoAnJEqNLJM68GXrwIpcMzEATGwDTlCsrGt+alXNgOd3oFmoTbg== X-Received: by 10.202.213.215 with SMTP id m206mr3900163oig.26.1452787122304; Thu, 14 Jan 2016 07:58:42 -0800 (PST) Received: from kaki.bld.corp.google.com ([172.29.216.32]) by smtp.gmail.com with ESMTPSA id tt1sm3748386obb.8.2016.01.14.07.58.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 14 Jan 2016 07:58:40 -0800 (PST) Received: by kaki.bld.corp.google.com (Postfix, from userid 121222) id CA9C62211C5; Thu, 14 Jan 2016 08:58:33 -0700 (MST) From: Simon Glass To: U-Boot Mailing List Date: Thu, 14 Jan 2016 08:58:01 -0700 Message-Id: <1452787100-21782-19-git-send-email-sjg@chromium.org> X-Mailer: git-send-email 2.6.0.rc2.230.g3dd15c0 In-Reply-To: <1452787100-21782-1-git-send-email-sjg@chromium.org> References: <1452787100-21782-1-git-send-email-sjg@chromium.org> Cc: Tom Cubie , Jeffy Chen Subject: [U-Boot] [PATCH 18/37] rockchip: Don't skip low-level init X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" At present the low-level init is skipped on rockchip. Among other things this means that the instruction cache is left disabled. Fix this. Signed-off-by: Simon Glass --- arch/arm/mach-rockchip/board.c | 4 ++++ arch/arm/mach-rockchip/rk3288-board-spl.c | 4 ++++ include/configs/rk3288_common.h | 1 - 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-rockchip/board.c b/arch/arm/mach-rockchip/board.c index f026abf..380aa91 100644 --- a/arch/arm/mach-rockchip/board.c +++ b/arch/arm/mach-rockchip/board.c @@ -45,3 +45,7 @@ void enable_caches(void) dcache_enable(); } #endif + +void lowlevel_init(void) +{ +} diff --git a/arch/arm/mach-rockchip/rk3288-board-spl.c b/arch/arm/mach-rockchip/rk3288-board-spl.c index b2c5729..f61eeab 100644 --- a/arch/arm/mach-rockchip/rk3288-board-spl.c +++ b/arch/arm/mach-rockchip/rk3288-board-spl.c @@ -270,3 +270,7 @@ err: /* No way to report error here */ hang(); } + +void lowlevel_init(void) +{ +} diff --git a/include/configs/rk3288_common.h b/include/configs/rk3288_common.h index ebddfb0..b9ff5a5 100644 --- a/include/configs/rk3288_common.h +++ b/include/configs/rk3288_common.h @@ -16,7 +16,6 @@ #define CONFIG_BAUDRATE 115200 #define CONFIG_SYS_MALLOC_LEN (32 << 20) #define CONFIG_SYS_CBSIZE 1024 -#define CONFIG_SKIP_LOWLEVEL_INIT #define CONFIG_SYS_THUMB_BUILD #define CONFIG_OF_LIBFDT #define CONFIG_DISPLAY_BOARDINFO