summaryrefslogtreecommitdiffstats
path: root/arch/openrisc/cpu
Commit message (Collapse)AuthorAgeFilesLines
* openrisc: fix relocation codeFranck Jullien2014-06-051-14/+41
| | | | | | | | | | | | | | | | | | | The relocation code can now relocate from anywhere to the RAM. The old code assumed that the binary was copied to the RAM by some PBL and then it just relocated the .text section from the loaded address to the linked address. Now, it first checks if vectors are somewhere else than the linked address. If yes, there are copied to address 0 (or to the exception vector base address if register EVBAR is present). Then, the .text section is relocated from its current location to the RAM. Signed-off-by: Franck Jullien <franck.jullien@gmail.com>
* openrisc: convert makefiles to Kbuild styleMasahiro Yamada2013-10-311-24/+2
| | | | | Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Cc: Stefan Kristiansson <stefan.kristiansson@saunalahti.fi>
* Coding Style cleanup: replace leading SPACEs by TABsWolfgang Denk2013-10-141-2/+2
| | | | | | Signed-off-by: Wolfgang Denk <wd@denx.de> [trini: Drop changes for PEP 4 following python tools] Signed-off-by: Tom Rini <trini@ti.com>
* Add GPL-2.0+ SPDX-License-Identifier to source filesWolfgang Denk2013-07-246-90/+6
| | | | | | Signed-off-by: Wolfgang Denk <wd@denx.de> [trini: Fixup common/cmd_io.c] Signed-off-by: Tom Rini <trini@ti.com>
* openrisc: move board linker script(s) to a common in cpu/Stefan Kristiansson2013-05-101-0/+77
| | | | | | Unifies the openrisc boards linker scripts into a common one. Signed-off-by: Stefan Kristiansson <stefan.kristiansson@saunalahti.fi>
* openrisc: Work around potential relocation issuesJulius Baxter2012-08-092-6/+13
| | | | | | | | | | When reset code is in flash, the jump instructions emitted by the compiler are relative instead of absolute jumps. A fix to the reset code to make correct jumps to the beginning of code relocated to RAM have also been added. Signed-off-by: Julius Baxter <juliusbaxter@gmail.com>
* openrisc: Add cpu filesStefan Kristiansson2012-01-136-0/+896
Signed-off-by: Stefan Kristiansson <stefan.kristiansson@saunalahti.fi>
OpenPOWER on IntegriCloud