mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-22 09:58:52 +09:00
![Michal Simek](/assets/img/avatar_default.png)
Updating year in zynq files. Also add missing Copyright to board.c. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
27 lines
460 B
ArmAsm
27 lines
460 B
ArmAsm
/*
|
|
* Copyright (C) 2013 - 2015 Xilinx, Inc. All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
|
|
#include <asm-offsets.h>
|
|
#include <config.h>
|
|
#include <linux/linkage.h>
|
|
|
|
ENTRY(lowlevel_init)
|
|
|
|
/* Enable the the VFP */
|
|
mrc p15, 0, r1, c1, c0, 2
|
|
orr r1, r1, #(0x3 << 20)
|
|
orr r1, r1, #(0x3 << 20)
|
|
mcr p15, 0, r1, c1, c0, 2
|
|
isb
|
|
fmrx r1, FPEXC
|
|
orr r1,r1, #(1<<30)
|
|
fmxr FPEXC, r1
|
|
|
|
/* Move back to caller */
|
|
mov pc, lr
|
|
|
|
ENDPROC(lowlevel_init)
|