9
0
Fork 0

MIPS: tplink-mr3020: enable PBL and compression

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Oleksij Rempel 2015-05-04 15:29:21 +03:00 committed by Sascha Hauer
parent 15422e3435
commit 660d4ef13e
2 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,32 @@
/*
* Copyright (C) 2013, 2015 Antony Pavlov <antonynpavlov@gmail.com>
* Copyright (C) 2013 Oleksij Rempel <linux@rempel-privat.de>
*
* This file is part of barebox.
* See file CREDITS for list of people who contributed to this project.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
*/
#include <asm/pbl_macros.h>
.macro board_pbl_start
.set push
.set noreorder
mips_barebox_10h
mips_disable_interrupts
copy_to_link_location pbl_start
.set pop
.endm

View File

@ -9,6 +9,8 @@ choice
config BOARD_TPLINK_MR3020
bool "TP-LINK MR3020"
select HAVE_PBL_IMAGE
select HAVE_IMAGE_COMPRESSION
endchoice