From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-pg1-x544.google.com ([2607:f8b0:4864:20::544]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1g9P7f-0004wm-GA for barebox@lists.infradead.org; Mon, 08 Oct 2018 06:34:47 +0000 Received: by mail-pg1-x544.google.com with SMTP id v133-v6so7374978pgb.2 for ; Sun, 07 Oct 2018 23:34:21 -0700 (PDT) From: Andrey Smirnov Date: Sun, 7 Oct 2018 23:34:05 -0700 Message-Id: <20181008063409.17566-3-andrew.smirnov@gmail.com> In-Reply-To: <20181008063409.17566-1-andrew.smirnov@gmail.com> References: <20181008063409.17566-1-andrew.smirnov@gmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH v2 2/6] ARM: freescale-mx7-sabresd: Make use of imx7d_barebox_entry() To: barebox@lists.infradead.org Cc: Andrey Smirnov Signed-off-by: Andrey Smirnov --- arch/arm/boards/freescale-mx7-sabresd/lowlevel.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/arch/arm/boards/freescale-mx7-sabresd/lowlevel.c b/arch/arm/boards/freescale-mx7-sabresd/lowlevel.c index 43aa61075..f718ea73b 100644 --- a/arch/arm/boards/freescale-mx7-sabresd/lowlevel.c +++ b/arch/arm/boards/freescale-mx7-sabresd/lowlevel.c @@ -9,6 +9,7 @@ #include #include #include +#include extern char __dtb_imx7d_sdb_start[]; @@ -33,14 +34,10 @@ static inline void setup_uart(void) ENTRY_FUNCTION(start_imx7d_sabresd, r0, r1, r2) { - void *fdt; - imx7_cpu_lowlevel_init(); if (IS_ENABLED(CONFIG_DEBUG_LL)) setup_uart(); - fdt = __dtb_imx7d_sdb_start + get_runtime_offset(); - - barebox_arm_entry(0x80000000, SZ_1G, fdt); + imx7d_barebox_entry(__dtb_imx7d_sdb_start + get_runtime_offset()); } -- 2.17.1 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox