]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
ARM: zynq: Enable the Neon instructions
authorMichal Simek <michal.simek@xilinx.com>
Fri, 23 Jan 2015 08:45:12 +0000 (09:45 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Mon, 26 Jan 2015 07:55:31 +0000 (08:55 +0100)
commitc08cfc2d2cf43c443f74549aefd7a7f2ffc3d7de
tree2fec9bd4072ee64f9238b317d1741b58a4d8c16a
parent92fa7f53f1f3f03296f8ffb14bdf1baefab83368
ARM: zynq: Enable the Neon instructions

Added the lowlevel_init to enable the Neon instructions.

Initially the u-boot was causing undefined instruction
exception if loaded through tcl, and working fine if loaded
through FSBL. The exception was causing in convertion formula
of given time to ticks. It was because, the Neon instructions
were disabled and hence causing the undefined exception. In
FSBL case, the FSBL was enabling the Neon instructions. Hence,
added the lowlevel_init to enable the Neon instructions.

Also enable neon instructions for non-xilinx toolchain.

Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Acked-by: Radhey Shyam Pandey <radheys@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/arm/cpu/armv7/zynq/Makefile
arch/arm/cpu/armv7/zynq/config.mk [new file with mode: 0644]
arch/arm/cpu/armv7/zynq/cpu.c
arch/arm/cpu/armv7/zynq/lowlevel_init.S [new file with mode: 0644]