TERES/SOFTWARE/A64-TERES/u-boot_new/sunxi_spl/spl/lib/jmp.c
Dimitar Gamishev 093685c7d8 u-boot
2017-10-13 14:02:55 +03:00

47 lines
1.0 KiB
C

/*
**********************************************************************************************************************
*
* the Embedded Secure Bootloader System
*
*
* Copyright(C), 2006-2014, Allwinnertech Co., Ltd.
* All Rights Reserved
*
* File :
*
* By :
*
* Version : V2.00
*
* Date :
*
* Descript:
**********************************************************************************************************************
*/
#include "common.h"
/*
************************************************************************************************************
*
* function
*
* name :
*
* parmeters :
*
* return :
*
* note :
*
*
************************************************************************************************************
*/
void boot0_jump(unsigned int addr)
{
asm volatile("mov r2, #0");
asm volatile("mcr p15, 0, r2, c7, c5, 6");
asm volatile("bx r0");
}