summaryrefslogtreecommitdiffstats
path: root/arch/sparc/cpu/leon3/cpu_init.c
Commit message (Collapse)AuthorAgeFilesLines
* SPARC: RemoveTom Rini2017-04-051-175/+0
| | | | | | | The SPARC architecture is currently unmaintained, remove. Cc: Francois Retief <fgretief@spaceteq.co.za> Signed-off-by: Tom Rini <trini@konsulko.com>
* sparc: Remove non-generic board init files: board.c, time.cFrancois Retief2015-12-031-60/+0
| | | | | | | 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: leon3: Added busy wait function, made wait_ms() work when IRQ is disabledDaniel Hellstrom2015-12-031-2/+30
| | | | Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
* sparc: Update cpu_init.c to use generic timer infrastructureFrancois Retief2015-12-031-56/+75
| | | | | | | | | | | 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: leon3: Updates for generic board initializationFrancois Retief2015-12-031-11/+0
| | | | | | | | | | Reworked the LEON3 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 LEON3 boards. Signed-off-by: Francois Retief <fgretief@spaceteq.co.za>
* sparc: leon3: Clear all unused GPTIMER registers.Daniel Hellstrom2015-12-031-1/+9
| | | | Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
* sparc: leon3: Move ambapp_bus_init() call to arch_cpu_init() functionFrancois Retief2015-12-031-4/+5
| | | | Signed-off-by: Francois Retief <fgretief@spaceteq.co.za>
* sparc: leon3: Move snoop detection from startup.S to arch_cpu_init()Francois Retief2015-12-031-1/+12
| | | | Signed-off-by: Francois Retief <fgretief@spaceteq.co.za>
* sparc: Initial ground work for generic board initializationFrancois Retief2015-12-031-8/+9
| | | | | | | Initial ground work in preperation for generic board initialization code for the SPARC architecture. Signed-off-by: Francois Retief <fgretief@spaceteq.co.za>
* sparc: leon3: Add debug_uart support to LEON3 serial driver.Francois Retief2015-11-131-1/+4
| | | | Signed-off-by: Francois Retief <fgretief@spaceteq.co.za>
* sparc: leon3: Moved GRLIB core header files to common include/grlib directoryDaniel Hellstrom2015-11-131-6/+4
| | | | Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
* sparc: leon3: Reimplemented AMBA Plug&Play scanning routines.Daniel Hellstrom2015-11-131-125/+59
| | | | Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
* leon: implement missing get_tbclk()Daniel Hellstrom2014-05-081-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-081-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-241-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-121-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-131-0/+254
Signed-off-by: Peter Tyser <ptyser@xes-inc.com>