diff options
Diffstat (limited to 'arch/mips/boards/tplink-wdr4300')
-rw-r--r-- | arch/mips/boards/tplink-wdr4300/Makefile | 1 | ||||
-rw-r--r-- | arch/mips/boards/tplink-wdr4300/lowlevel.S (renamed from arch/mips/boards/tplink-wdr4300/include/board/board_pbl_start.h) | 26 |
2 files changed, 8 insertions, 19 deletions
diff --git a/arch/mips/boards/tplink-wdr4300/Makefile b/arch/mips/boards/tplink-wdr4300/Makefile index dcfc2937d3..092c31d6b2 100644 --- a/arch/mips/boards/tplink-wdr4300/Makefile +++ b/arch/mips/boards/tplink-wdr4300/Makefile @@ -1 +1,2 @@ +lwl-y += lowlevel.o obj-y += board.o diff --git a/arch/mips/boards/tplink-wdr4300/include/board/board_pbl_start.h b/arch/mips/boards/tplink-wdr4300/lowlevel.S index 7d4ee4baba..9c4e6b7fad 100644 --- a/arch/mips/boards/tplink-wdr4300/include/board/board_pbl_start.h +++ b/arch/mips/boards/tplink-wdr4300/lowlevel.S @@ -15,48 +15,36 @@ * */ -#include <mach/debug_ll_ar9344.h> +#define BOARD_PBL_START start_tplink_wdr4300 + +#include <mach/debug_ll.h> +#include <asm/asm.h> #include <asm/pbl_macros.h> #include <mach/pbl_macros.h> #include <mach/pbl_ll_init_ar9344_1.1.h> #include <asm/pbl_nmon.h> - .macro board_pbl_start - .set push - .set noreorder +ENTRY_FUNCTION(BOARD_PBL_START) mips_barebox_10h - debug_ll_ar9344_init - - debug_ll_outc '1' + debug_ll_ath79_init hornet_mips24k_cp0_setup - debug_ll_outc '2' /* test if we are in the SRAM */ pbl_blt 0xbd000000 1f t8 - debug_ll_outc '3' b skip_flash_test nop 1: /* test if we are in the flash */ pbl_blt 0xbf000000 skip_pll_ram_config t8 - debug_ll_outc '4' skip_flash_test: pbl_ar9344_v11_pll_config - debug_ll_outc '5' pbl_ar9344_v11_ddr2_config skip_pll_ram_config: - debug_ll_outc '6' - debug_ll_outnl - - mips_nmon - - copy_to_link_location pbl_start - .set pop - .endm +ENTRY_FUNCTION_END(BOARD_PBL_START, ar9344_tl_wdr4300_v1.7) |