diff options
author | Oleksij Rempel <linux@rempel-privat.de> | 2015-05-04 15:29:21 +0300 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2015-05-05 13:41:40 +0200 |
commit | 660d4ef13e798d25e6d667b8cf72fe9520198e5c (patch) | |
tree | 9e48717fc01c8eff31544503a529ca52de402c57 /arch/mips/boards | |
parent | 15422e3435b0151f1b5d753b19a8578210da9d04 (diff) | |
download | barebox-660d4ef13e798d25e6d667b8cf72fe9520198e5c.tar.gz barebox-660d4ef13e798d25e6d667b8cf72fe9520198e5c.tar.xz |
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>
Diffstat (limited to 'arch/mips/boards')
-rw-r--r-- | arch/mips/boards/tplink-mr3020/include/board/board_pbl_start.h | 32 |
1 files changed, 32 insertions, 0 deletions
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 <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 |