upstream u-boot with additional patches for our devices/boards:
https://lists.denx.de/pipermail/u-boot/2017-March/282789.html (AXP crashes) ;
Gbit ethernet patch for some LIME2 revisions ;
with SPI flash support
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
541 B
35 lines
541 B
/*
|
|
* (C) Copyright 2013
|
|
* David Feng <fenghua@phytium.com.cn>
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
|
|
#include <asm-offsets.h>
|
|
#include <config.h>
|
|
#include <linux/linkage.h>
|
|
#include <asm/macro.h>
|
|
|
|
/*
|
|
* void __asm_invalidate_tlb_all(void)
|
|
*
|
|
* invalidate all tlb entries.
|
|
*/
|
|
.pushsection .text.__asm_invalidate_tlb_all, "ax"
|
|
ENTRY(__asm_invalidate_tlb_all)
|
|
switch_el x9, 3f, 2f, 1f
|
|
3: tlbi alle3
|
|
dsb sy
|
|
isb
|
|
b 0f
|
|
2: tlbi alle2
|
|
dsb sy
|
|
isb
|
|
b 0f
|
|
1: tlbi vmalle1
|
|
dsb sy
|
|
isb
|
|
0:
|
|
ret
|
|
ENDPROC(__asm_invalidate_tlb_all)
|
|
.popsection
|
|
|