From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-lb0-x229.google.com ([2a00:1450:4010:c04::229]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZwQt0-0007bR-Je for barebox@lists.infradead.org; Wed, 11 Nov 2015 08:36:11 +0000 Received: by lbbkw15 with SMTP id kw15so12920523lbb.0 for ; Wed, 11 Nov 2015 00:35:48 -0800 (PST) Received: from localhost.localdomain (ppp91-79-57-136.pppoe.mtu-net.ru. [91.79.57.136]) by smtp.gmail.com with ESMTPSA id 64sm1280884lfu.35.2015.11.11.00.35.47 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 11 Nov 2015 00:35:48 -0800 (PST) From: Antony Pavlov Date: Wed, 11 Nov 2015 11:35:42 +0300 Message-Id: <1447230942-24098-4-git-send-email-antonynpavlov@gmail.com> In-Reply-To: <1447230942-24098-1-git-send-email-antonynpavlov@gmail.com> References: <1447230942-24098-1-git-send-email-antonynpavlov@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 3/3] MIPS: tplink-mr3020: skip pbl lowlevel init if running from RAM To: barebox@lists.infradead.org TP-Link MR3020 has 4 MiB flash boot ROM. Usually boot ROM is mapped to 0xbfc00000. However, as AR9331 allows to remap boot ROM to 0xbf000000 it's better to assume that boot ROM starts at 0xbf000000. Signed-off-by: Antony Pavlov --- arch/mips/boards/tplink-mr3020/include/board/board_pbl_start.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/mips/boards/tplink-mr3020/include/board/board_pbl_start.h b/arch/mips/boards/tplink-mr3020/include/board/board_pbl_start.h index 08204fe..d25f5aa 100644 --- a/arch/mips/boards/tplink-mr3020/include/board/board_pbl_start.h +++ b/arch/mips/boards/tplink-mr3020/include/board/board_pbl_start.h @@ -28,9 +28,12 @@ mips_disable_interrupts + pbl_blt 0xbf000000 skip_pll_ram_config t8 + pbl_ar9331_pll pbl_ar9331_ddr1_config +skip_pll_ram_config: pbl_ar9331_uart_enable debug_ll_ar9331_init mips_nmon -- 2.6.2 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox