- Oct 30, 2015
-
-
Add CONFIG_ROM_UNIFIED_SECTIONS for mx6sx and mx6ul target platforms to resolve corresponding HAB_RVT_BASE base address, the RVT table contains pointers to the HAB API functions in ROM code. Signed-off-by:
Adrian Alonso <aalonso@freescale.com>
-
Rework secure boot support for imx6, move existing hab support for imx6 into imx-common for SoC reuse. Signed-off-by:
Adrian Alonso <aalonso@freescale.com>
-
Move common chip revision id's to main cpu header file mx25 generic include cpu header for chip revision Signed-off-by:
Adrian Alonso <aalonso@freescale.com>
-
add some missing gpr register defines. Signed-off-by:
Heiko Schocher <hs@denx.de>
-
We can reuse common functions in lib/time.c, but not reimplement functions in imx-common/time.c. Only keep timer_init ,get_tbclk and implement timer_read_counter in imx-common/time.c. Signed-off-by:
Peng Fan <Peng.Fan@freescale.com> Cc: Stefano Babic <sbabic@denx.de> Cc: Fabio Estevam <fabio.estevam@freescale.com>
-
- Oct 28, 2015
-
-
Tom Rini authored
My patches to drop various ppc4xx boards were not build tested and omitted the Kconfig parts. Signed-off-by:
Tom Rini <trini@konsulko.com>
-
- Oct 25, 2015
-
-
Jagan Teki authored
Enabled zynq qspi controller node for zed board. Signed-off-by:
Jagan Teki <jteki@openedev.com> Cc: Simon Glass <sjg@chromium.org> Cc: Siva Durga Prasad Paladugu <sivadur@xilinx.com> Acked-by:
Michal Simek <michal.simek@xilinx.com>
-
Jagan Teki authored
Enabled zynq qspi controller node for zc770-xm010 board. => sf probe 0 -- bus1 for selecting qspi controller => sf probe 1 -- bus0 for selecting spi controller Signed-off-by:
Jagan Teki <jteki@openedev.com> Cc: Simon Glass <sjg@chromium.org> Cc: Siva Durga Prasad Paladugu <sivadur@xilinx.com> Acked-by:
Michal Simek <michal.simek@xilinx.com>
-
Jagan Teki authored
Enabled zynq qspi controller node for zc706 board. Signed-off-by:
Jagan Teki <jteki@openedev.com> Cc: Simon Glass <sjg@chromium.org> Cc: Siva Durga Prasad Paladugu <sivadur@xilinx.com> Acked-by:
Michal Simek <michal.simek@xilinx.com>
-
Jagan Teki authored
Enabled zynq qspi controller node for zc702 board. Signed-off-by:
Jagan Teki <jteki@openedev.com> Cc: Simon Glass <sjg@chromium.org> Cc: Siva Durga Prasad Paladugu <sivadur@xilinx.com> Acked-by:
Michal Simek <michal.simek@xilinx.com>
-
Jagan Teki authored
Enabled zynq qspi controller node for microzed board, verified the same on spansion spi-nor flash. Signed-off-by:
Jagan Teki <jteki@openedev.com> Cc: Simon Glass <sjg@chromium.org> Cc: Siva Durga Prasad Paladugu <sivadur@xilinx.com> Acked-by:
Michal Simek <michal.simek@xilinx.com> Tested-by:
Jagan Teki <jteki@openedev.com>
-
Jagan Teki authored
This patch adds zynq qspi controller nodes in zynq-7000.dtsi. Signed-off-by:
Jagan Teki <jteki@openedev.com> Cc: Simon Glass <sjg@chromium.org> Cc: Siva Durga Prasad Paladugu <sivadur@xilinx.com> Acked-by:
Michal Simek <michal.simek@xilinx.com> Tested-by:
Jagan Teki <jteki@openedev.com>
-
- Oct 24, 2015
-
-
Masahiro Yamada authored
We have finished Generic Board conversion for ARM and PowerPC, i.e. all the boards have been converted except OpenRISC, SuperH, SPARC, which have not supported Generic Board framework yet. Select SYS_GENERIC_BOARD in arch/Kconfig and delete all the macro defines in include/configs/*.h. Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com>
-
Simon Glass authored
We should not init the console this early since it precludes using driver model for the UART, since it is not set up at the start of board_init_f(). See the README for more information. The debug UART does not have this restriction. If we want to do early init with the console on it can be done in spl_board_init(). Move the preloader_console_init() call from board_init_f() to board_init_r(). Signed-off-by:
Simon Glass <sjg@chromium.org> Tested-by:
Masahiro Yamada <yamada.masahiro@socionext.com> Tested-by:
Michal Simek <michal.simek@xilinx.com>
-
Simon Glass authored
This C function should be used to do the early memory layout and init. This is beyond my powers, so just add a TODO for the maintainer. Signed-off-by:
Simon Glass <sjg@chromium.org> Acked-by:
Michal Simek <michal.simek@xilinx.com>
-
Simon Glass authored
There is quite a bit of assembler code that can be removed if we use the generic global_data setup. Less arch-specific code makes it easier to add new features and maintain the start-up code. Drop the unneeded code and adjust the hooks in board_f.c to cope. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
There is quite a bit of assembler code that can be removed if we use the generic global_data setup. Less arch-specific code makes it easier to add new features and maintain the start-up code. Drop the unneeded code and adjust the hooks in board_f.c to cope. Tested on LS2085ARDB and LS2085AQDS (armv8 SoC). Tested-by:
York Sun <yorksun@freescale.com> Signed-off-by:
Simon Glass <sjg@chromium.org>
-
- Oct 23, 2015
-
-
Thomas Chou authored
As the virtual address and physical address mapping of nios2 with MMU are different. Add a check of MMU, and fix the mapping. Signed-off-by:
Thomas Chou <thomas@wytron.com.tw> Acked-by:
Marek Vasut <marex@denx.de> Reviewed-by:
Ley Foon Tan <lftan@altera.com>
-
Thomas Chou authored
As we use device tree to control u-boot now, the generic board can be removed. Signed-off-by:
Thomas Chou <thomas@wytron.com.tw>
-
- Oct 22, 2015
-
-
Thomas Chou authored
Convert dma_alloc_coherent to use memalign. Signed-off-by:
Thomas Chou <thomas@wytron.com.tw> Reviewed-by:
Marek Vasut <marex@denx.de>
-
Thomas Chou authored
Convert copy_exception_trampoline() to use dm cpu data. Signed-off-by:
Thomas Chou <thomas@wytron.com.tw>
-
Thomas Chou authored
Convert cache flush to use dm cpu data. The original cache flush functions are written in assembly and use CONFIG_SYS_{I,D}CACHE_SIZE... macros. It is difficult to convert to use cache configuration in dm cpu data which is extracted from device tree. The cacheflush.c of Linux nios2 arch uses cpuinfo structure, which is very close to our dm cpu data. So we copy and modify it to arch/nios2/lib/cache.c to replace the old cache.S. Signed-off-by:
Thomas Chou <thomas@wytron.com.tw>
-
Thomas Chou authored
Set default icache and dcache configuration for start.S. We want to remove the CONFIG_SYS_{I,D}CACHE_SIZE... configuration macros. As we are just barely starting from reset, there is no luxury of device tree. We will set some maximum cache configuration so that it will work for most configurations. This is used only in this start.S. The speed penalty is only once here. After start up, during board initialization, cpu information will be extracted from device tree. Then cache flush operations will have correct cache configurations. Signed-off-by:
Thomas Chou <thomas@wytron.com.tw> Acked-by:
Marek Vasut <marex@denx.de>
-
Thomas Chou authored
Clean up comments style in start.S. Signed-off-by:
Thomas Chou <thomas@wytron.com.tw>
-
Thomas Chou authored
Convert ioremap() to use io_region_base in dm cpu global data. Also remove three unused io functions, which have style issue and are replaced by macros already. Signed-off-by:
Thomas Chou <thomas@wytron.com.tw>
-
Thomas Chou authored
Convert do_reset to use dm cpu data. Signed-off-by:
Thomas Chou <thomas@wytron.com.tw> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Thomas Chou authored
Remove asm/psr.h, which is not used. Also clean up asm/sections.h and unaligned.h. Signed-off-by:
Thomas Chou <thomas@wytron.com.tw> Reviewed-by:
Marek Vasut <marex@denx.de>
-
Thomas Chou authored
Convert altera sysid to driver model with misc uclass. Signed-off-by:
Thomas Chou <thomas@wytron.com.tw> Acked-by:
Chin Liang See <clsee@altera.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Thomas Chou authored
Convert altera timer to driver model. Signed-off-by:
Thomas Chou <thomas@wytron.com.tw> Acked-by:
Chin Liang See <clsee@altera.com>
-
Thomas Chou authored
Convert nios2 cpu to driver model. The cpu parameters are extracted from device tree and saved to global data structure. We will use them to replace the custom_fpga.h . Signed-off-by:
Thomas Chou <thomas@wytron.com.tw> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Thomas Chou authored
Convert altera_pio to driver model. Signed-off-by:
Thomas Chou <thomas@wytron.com.tw> Acked-by:
Chin Liang See <clsee@altera.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Thomas Chou authored
These macros can be used to clear and set multiple bits in a register using a single call. Signed-off-by:
Thomas Chou <thomas@wytron.com.tw> Reviewed-by:
Marek Vasut <marex@denx.de> Acked-by:
Chin Liang See <clsee@altera.com>
-
Thomas Chou authored
Convert altera_jtag_uart to driver model. Signed-off-by:
Thomas Chou <thomas@wytron.com.tw> Acked-by:
Marek Vasut <marex@denx.de> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Thomas Chou authored
Add ioremap() to map physical address to uncached virtual address. We need this to convert the reg address from the device tree. The order of headers inclusion in interrupts.c is changed because common.h will include board header that contains IO_REGION_BASE. In the future, the IO_REGION_BASE should be decided from the device tree. tree Signed-off-by:
Thomas Chou <thomas@wytron.com.tw> Acked-by:
Marek Vasut <marex@denx.de> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Thomas Chou authored
We will need CONFIG_SYS_MALLOC_F_LEN to use serial uclass. So we shall undefine CONFIG_SYS_GENERIC_GLOBAL_DATA, and call board_init_f_mem() to allocates early malloc() memory with size of CONFIG_SYS_MALLOC_F_LEN in board_f.c. Signed-off-by:
Thomas Chou <thomas@wytron.com.tw> Reviewed-by:
Marek Vasut <marex@denx.de>
-
Thomas Chou authored
There is a weak version_string[] at common/cmd_version.c . Remove the one in start.S. Signed-off-by:
Thomas Chou <thomas@wytron.com.tw> Acked-by:
Marek Vasut <marex@denx.de>
-
Thomas Chou authored
The dly_clks() in start.S is no use after switching to generic timer. Remove it. Signed-off-by:
Thomas Chou <thomas@wytron.com.tw> Acked-by:
Marek Vasut <marex@denx.de>
-
Thomas Chou authored
Move the timer code from interrupts.c into timer.c . Eliminate the installation of timer interrupt handler, which is no longer used. Signed-off-by:
Marek Vasut <marex@denx.de> Signed-off-by:
Thomas Chou <thomas@wytron.com.tw>
-
Thomas Chou authored
Zap almost all of the ad-hoc timer code from interrupts.c and use the code in lib/time.c instead. Signed-off-by:
Marek Vasut <marex@denx.de> Signed-off-by:
Thomas Chou <thomas@wytron.com.tw>
-
Thomas Chou authored
This patch adds device tree control of U-Boot to nios2 boards. The example dts is taken from Linux kernel. Signed-off-by:
Thomas Chou <thomas@wytron.com.tw> Reviewed-by:
Simon Glass <sjg@chromium.org> Acked-by:
Marek Vasut <marex@denx.de>
-