summaryrefslogtreecommitdiff
path: root/arch/sparc/cpu/leon2/cpu_init.c
Commit message (Collapse)AuthorAgeLines
* sparc: Remove non-generic board init files: board.c, time.cFrancois Retief2015-12-03-44/+1
| | | | | | | Remove the board.c and time.c files and all associated non-generic board initialization code. Signed-off-by: Francois Retief <fgretief@spaceteq.co.za>
* sparc: Update cpu_init.c to use generic timer infrastructureFrancois Retief2015-12-03-13/+24
| | | | | | | | | | | Introduce the CONFIG_SYS_TIMER_* macros in include/asm/config.h to make use of the generic timer infrastructure in lib/time.c. Created a timer_init() function to initialize the timer hardware and update the #ifdef in board_init_f to allow this function to be called during the start-up sequence. Signed-off-by: Francois Retief <fgretief@spaceteq.co.za>
* sparc: leon2: Updates for generic board initializationFrancois Retief2015-12-03-5/+0
| | | | | | | | | | Reworked the LEON2 start.S code to call board_init_f function at startup. Also implemented the relocate_code function in assembly to relocate the monitor and setup the stack pointer before calling relocated board_init_r. Add the CONFIG_SYS_GENERIC_BOARD variable to all the LEON2 boards. Signed-off-by: Francois Retief <fgretief@spaceteq.co.za>
* sparc: Initial ground work for generic board initializationFrancois Retief2015-12-03-10/+11
| | | | | | | Initial ground work in preperation for generic board initialization code for the SPARC architecture. Signed-off-by: Francois Retief <fgretief@spaceteq.co.za>
* sparc: Fix whitespace in cpu/leon2/cpu_init.cFrancois Retief2015-12-03-5/+5
| | | | Signed-off-by: Francois Retief <fgretief@spaceteq.co.za>
* leon: implement missing get_tbclk()Daniel Hellstrom2014-05-08-0/+5
| | | | | | | Without this patch SPARC/LEON does not build. Reported-by: Tom Rini <trini@ti.com> Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
* leon: use CONFIG_SYS_HZ to config timer prescalerDaniel Hellstrom2014-05-08-8/+9
| | | | | | Before it was hardcoded to 1000 ticks per second. Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
* Add GPL-2.0+ SPDX-License-Identifier to source filesWolfgang Denk2013-07-24-18/+1
| | | | | | Signed-off-by: Wolfgang Denk <wd@denx.de> [trini: Fixup common/cmd_io.c] Signed-off-by: Tom Rini <trini@ti.com>
* Fix misc spelling errors found by lintianLoïc Minier2011-04-12-2/+2
| | | | Signed-off-by: Loïc Minier <loic.minier@linaro.org>
* sparc: Move cpu/leon[23] to arch/sparc/cpu/leon[23]Peter Tyser2010-04-13-0/+142
Signed-off-by: Peter Tyser <ptyser@xes-inc.com>