diff options
Diffstat (limited to 'arch/mips/boards/ritmix-rzx50')
-rw-r--r-- | arch/mips/boards/ritmix-rzx50/Makefile | 1 | ||||
-rw-r--r-- | arch/mips/boards/ritmix-rzx50/include/board/debug_ll.h | 23 | ||||
-rw-r--r-- | arch/mips/boards/ritmix-rzx50/lowlevel.S (renamed from arch/mips/boards/ritmix-rzx50/include/board/board_pbl_start.h) | 13 |
3 files changed, 5 insertions, 32 deletions
diff --git a/arch/mips/boards/ritmix-rzx50/Makefile b/arch/mips/boards/ritmix-rzx50/Makefile index 31c062987f..ded9867a8e 100644 --- a/arch/mips/boards/ritmix-rzx50/Makefile +++ b/arch/mips/boards/ritmix-rzx50/Makefile @@ -1 +1,2 @@ +lwl-y += lowlevel.o obj-y += serial.o diff --git a/arch/mips/boards/ritmix-rzx50/include/board/debug_ll.h b/arch/mips/boards/ritmix-rzx50/include/board/debug_ll.h deleted file mode 100644 index 7ae0e2a4fd..0000000000 --- a/arch/mips/boards/ritmix-rzx50/include/board/debug_ll.h +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Copyright (C) 2012 Antony Pavlov <antonynpavlov@gmail.com> - * - * 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. - * - */ - -#ifndef __INCLUDE_RZX50_BOARD_DEBUG_LL_H__ -#define __INCLUDE_RZX50_BOARD_DEBUG_LL_H__ - -#include <mach/debug_ll_jz4750d.h> - -#endif /* __INCLUDE_RZX50_BOARD_DEBUG_LL_H__ */ diff --git a/arch/mips/boards/ritmix-rzx50/include/board/board_pbl_start.h b/arch/mips/boards/ritmix-rzx50/lowlevel.S index 7c2fa0bedc..b669963ca6 100644 --- a/arch/mips/boards/ritmix-rzx50/include/board/board_pbl_start.h +++ b/arch/mips/boards/ritmix-rzx50/lowlevel.S @@ -17,13 +17,13 @@ * */ +#define BOARD_PBL_START start_ritmix_rzx50 + #include <asm/pbl_macros.h> #include <mach/debug_ll.h> #include <asm/pbl_nmon.h> - .macro board_pbl_start - .set push - .set noreorder +ENTRY_FUNCTION(BOARD_PBL_START) mips_disable_interrupts @@ -35,9 +35,4 @@ debug_ll_outc '.' debug_ll_ns16550_outnl - mips_nmon - - copy_to_link_location pbl_start - - .set pop - .endm +ENTRY_FUNCTION_END(BOARD_PBL_START, rzx50) |