]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
arm: mxs: Fix vectoring table crafting
authorMarek Vasut <marex@denx.de>
Thu, 25 Apr 2013 16:37:12 +0000 (16:37 +0000)
committerStefano Babic <sbabic@denx.de>
Mon, 3 Jun 2013 10:49:50 +0000 (12:49 +0200)
commit86fb7b3d5b8ae7158cfcd408b847d3d8295e3aae
treeedbd3a3b54683e6d74db4f03baab2cd0038ef86a
parent8c653124a35ee1422f27106cd89d9c816814385f
arm: mxs: Fix vectoring table crafting

The vectoring table has to be placed at 0x0, but U-Boot on MX23/MX28
starts from RAM, so the vectoring table at 0x0 is not present. Craft
code that will be placed at 0x0 and will redirect interrupt vectoring
to proper location of the U-Boot in RAM.

Signed-off-by: Marek Vasut <marex@denx.de>
CC: Stefano Babic <sbabic@denx.de>
CC: Fabio Estevam <fabio.estevam@freescale.com>
Tested-by: Fabio Estevam <fabio.estevam@freescale.com>
arch/arm/cpu/arm926ejs/mxs/mxs.c