From 660d4ef13e798d25e6d667b8cf72fe9520198e5c Mon Sep 17 00:00:00 2001 From: Oleksij Rempel Date: Mon, 4 May 2015 15:29:21 +0300 Subject: MIPS: tplink-mr3020: enable PBL and compression Signed-off-by: Oleksij Rempel Signed-off-by: Antony Pavlov Signed-off-by: Sascha Hauer --- .../tplink-mr3020/include/board/board_pbl_start.h | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 arch/mips/boards/tplink-mr3020/include/board/board_pbl_start.h (limited to 'arch/mips/boards') 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 new file mode 100644 index 0000000000..f85c5ad5cf --- /dev/null +++ b/arch/mips/boards/tplink-mr3020/include/board/board_pbl_start.h @@ -0,0 +1,32 @@ +/* + * Copyright (C) 2013, 2015 Antony Pavlov + * Copyright (C) 2013 Oleksij Rempel + * + * 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 + + .macro board_pbl_start + .set push + .set noreorder + + mips_barebox_10h + + mips_disable_interrupts + + copy_to_link_location pbl_start + + .set pop + .endm -- cgit v1.2.3