- Feb 06, 2016
-
-
Bin Meng authored
Correct spelling of "U-Boot" shall be used in all written text (documentation, comments in source files etc.). Signed-off-by:
Bin Meng <bmeng.cn@gmail.com> Reviewed-by:
Heiko Schocher <hs@denx.de> Reviewed-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Minkyu Kang <mk7.kang@samsung.com>
-
- Jan 27, 2016
-
-
Michal Simek authored
No need to have empty unused file in architecture code. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
Enable SPL DM too. Signed-off-by:
Michal Simek <michal.simek@xilinx.com> Reviewed-by:
Thomas Chou <thomas@wytron.com.tw>
-
- Jan 14, 2016
-
-
Albert ARIBAUD authored
board_init_f_mem() alters the C runtime environment's stack it is actually already using. This is not a valid behaviour within a C runtime environment. Split board_init_f_mem into C functions which do not alter their own stack and always behave properly with respect to their C runtime environment. Signed-off-by:
Albert ARIBAUD <albert.u.boot@aribaud.net> Acked-by:
Thomas Chou <thomas@wytron.com.tw>
-
- Dec 18, 2015
-
-
Michal Simek authored
Enable DM for the whole architecture. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
- Nov 19, 2015
-
-
Nathan Rossi authored
'extern inline' is not portable across various C standards. To ensure compatiblity with various standards/compilers change the functions to static inline. This is a portable construct and serves as a comparable definition to 'extern inline' from the gnu90 standard. Additionally remove the function prototypes as they are not required due to the functions being declared static and functions are correctly ordered based on dependence. Signed-off-by:
Nathan Rossi <nathan@nathanrossi.com> Cc: Michal Simek <monstr@monstr.eu> Cc: Tom Rini <trini@konsulko.com> Acked-by:
Mans Rullgard <mans@mansr.com> Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Nathan Rossi authored
Fix various style issues in MicroBlaze header files. Specifically fixing style voilations including '__inline__', 'foo * bar' and 'void foo ('. Signed-off-by:
Nathan Rossi <nathan@nathanrossi.com> Cc: Michal Simek <monstr@monstr.eu> Cc: Tom Rini <trini@konsulko.com> Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
- Nov 10, 2015
-
-
Tom Rini authored
After consulting with some of the SPDX team, the conclusion is that Makefiles are worth adding SPDX-License-Identifier tags too, and most of ours have one. This adds tags to ones that lack them and converts a few that had full (or in one case, very partial) license blobs into the equivalent tag. Cc: Kate Stewart <kstewart@linuxfoundation.org> Signed-off-by:
Tom Rini <trini@konsulko.com>
-
- Nov 05, 2015
-
-
Fabio Estevam authored
The generic bitops headers are required when calling logarithmic functions, such as ilog2(). Signed-off-by:
Fabio Estevam <fabio.estevam@freescale.com>
-
- Oct 24, 2015
-
-
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>
-
- May 12, 2015
-
-
Joe Hershberger authored
By making the board selections optional, every defconfig will include the board selection when running savedefconfig so if a new board is added to the top of the list of choices the former top's defconfig will still be correct. Signed-off-by:
Joe Hershberger <joe.hershberger@ni.com> Cc: Masahiro Yamada <yamada.masahiro@socionext.com> Acked-by:
Stephen Warren <swarren@wwwdotorg.org> Cc: Tom Rini <trini@konsulko.com>
-
- Mar 28, 2015
-
-
Masahiro Yamada authored
We have done with the generic board conversion for all the boards of ARC, Blackfin, M68000, MicroBlaze, MIPS, NIOS2, Sandbox, X86. Let's select SYS_GENERIC_BOARD for those architectures, so we can tell which architecture has finished the conversion at a glance. Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Alexey Brodkin <abrodkin@synopsys.com>
-
Masahiro Yamada authored
Move the option to Kconfig renaming it to CONFIG_HAVE_GENERIC_BOARD. Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Alexey Brodkin <abrodkin@synopsys.com>
-
- Mar 24, 2015
-
-
Rob Herring authored
Various files are needlessly rebuilt every time due to the version and build time changing. As version.h is not actually needed, remove the include. Signed-off-by:
Rob Herring <robh@kernel.org> Cc: Albert Aribaud <albert.u.boot@aribaud.net> Cc: Stefano Babic <sbabic@denx.de> Cc: Minkyu Kang <mk7.kang@samsung.com> Cc: Marek Vasut <marex@denx.de> Cc: Tom Warren <twarren@nvidia.com> Cc: Michal Simek <monstr@monstr.eu> Cc: Macpaul Lin <macpaul@andestech.com> Cc: Wolfgang Denk <wd@denx.de> Cc: York Sun <yorksun@freescale.com> Cc: Stefan Roese <sr@denx.de> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> Cc: Simon Glass <sjg@chromium.org> Cc: Philippe Reynes <tremyfr@yahoo.fr> Cc: Eric Jarrige <eric.jarrige@armadeus.org> Cc: "David Müller" <d.mueller@elsoft.ch> Cc: Phil Edworthy <phil.edworthy@renesas.com> Cc: Robert Baldyga <r.baldyga@samsung.com> Cc: Torsten Koschorrek <koschorrek@synertronixx.de> Cc: Anatolij Gustschin <agust@denx.de> Reviewed-by:
Linus Walleij <linus.walleij@linaro.org> Reviewed-by:
Łukasz Majewski <l.majewski@samsung.com>
-
- Feb 09, 2015
-
-
Michal Simek authored
This is required for driver model. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
This patch has some parts connected together: - Use _gd in bss section which is automatically cleared Location at SPL_MALLOC_END wasn't cleared at all - Use MALLOC_F_LEN(early alloc) instead of FULL MALLOC (mem_malloc_init is not called at all) - Simplify malloc and stack init. At the end of SPL addr is malloc area and below is stack Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
Create space for dm_init where calloc is called and malloc_base has to be initialized. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
Because it is not compatible with DM where malloc_base has to be available early and init has to be done in ASM. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
Remove one instruction in the loop which speedup code copying. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
Compile code with -fPIC to get GOT. Do not build SPL with fPIC because it increasing SPL size for nothing. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
Setup gd from ASM to be availalbe for board_init_r. Setting it up in spl_board_init is too late when MALLOC is used. Space for gd is located behind MALLOC area at the end of BRAM. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
It is not used at all that's why remove it. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
Do not use microblaze specific interrupt init function. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
DTB is added to rodata section: [ 2] .rodata PROGBITS 84c5b60c 05c60c 00c618 00 A 0 0 4 [ 3] .dtb.init.rodata PROGBITS 84c67c30 068c30 003c80 00 A 0 0 16 [ 4] .rela.dyn RELA 84c6b8b0 06c8b0 000534 0c A 0 0 4 [ 5] .data PROGBITS 84c6bde4 06cde4 001536 00 WA 0 0 16 Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
Add one more debug message about enabling global interrupts. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
No functional changes just to pass checkpatch.pl. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
Do not use specific macros for debugging. Also remove compilation warning: w+../arch/microblaze/cpu/interrupts.c: In function 'interrupt_handler': w+../arch/microblaze/cpu/interrupts.c:153:2: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'void (*)(void *)' [-Wformat] w+../arch/microblaze/cpu/interrupts.c:153:2: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'void *' [-Wformat] Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
Just coding style cleanup - no functional changes. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
Show also return address from exception which should suggest where the problem is. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
Do not save registers below r1 stack pointer because it is not checked by stack undeflow is not able to detect it. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
- Jan 21, 2015
-
-
Michal Simek authored
Ensure that stack didn't rewrite important part of u-boot. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
Enable hardware exception by default to be able to handle it. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
- Dec 08, 2014
-
-
Daniel Schwierzeck authored
Introduce a Makefile under arch/$ARCH/ and include it in the top Makefile (similar to Linux kernel). This allows further refactoringi like moving architecture-specific code out of global makefiles, deprecating config variables (CPU, CPUDIR, SOC) or deprecating arch/$ARCH/config.mk. In contrary to Linux kernel, U-Boot defines the ARCH variable by Kconfig, thus the arch Makefile can only included conditionally after the top config.mk. Signed-off-by:
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> Acked-by:
Masahiro Yamada <yamada.m@jp.panasonic.com>
-
- Oct 27, 2014
-
-
Masahiro Yamada authored
CONFIG_SPL should not be enabled for boards that do not have SPL. CONFIG_SUPPORT_SPL introduced by this commit should be "select"ed by boards with SPL support and CONFIG_SPL should depend on it. Signed-off-by:
Masahiro Yamada <yamada.m@jp.panasonic.com> Acked-by:
Simon Glass <sjg@chromium.org>
-
- Sep 13, 2014
-
-
Masahiro Yamada authored
Now the types of CONFIG_SYS_{ARCH, CPU, SOC, VENDOR, BOARD, CONFIG_NAME} are specified in arch/Kconfig. We can delete the ones in arch and board Kconfig files. This commit can be easily reproduced by the following command: find . -name Kconfig -a ! -path ./arch/Kconfig | xargs sed -i -e ' /config[[:space:]]SYS_\(ARCH\|CPU\|SOC\|\VENDOR\|BOARD\|CONFIG_NAME\)/ { N s/\n[[:space:]]*string// } ' Signed-off-by:
Masahiro Yamada <yamada.m@jp.panasonic.com>
-
- Sep 09, 2014
-
-
Vasili Galka authored
The basic idea: Define size_t using the __SIZE_TYPE__ compiler-defined type. For detailed explanation see similar patch for the nios2 arch: "nios2: Fix printf size_t format related warnings (again...)" (sha1: 00a2517f) Signed-off-by:
Vasili Galka <vvv444@gmail.com> Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
- Jul 30, 2014
-
-
Masahiro Yamada authored
This commit adds: - arch/${ARCH}/Kconfig provide a menu to select target boards - board/${VENDOR}/${BOARD}/Kconfig or board/${BOARD}/Kconfig set CONFIG macros to the appropriate values for each board - configs/${TARGET_BOARD}_defconfig default setting of each board (This commit was automatically generated by a conversion script based on boards.cfg) In Linux Kernel, defconfig files are located under arch/${ARCH}/configs/ directory. It works in Linux Kernel since ARCH is always given from the command line for cross compile. But in U-Boot, ARCH is not given from the command line. Which means we cannot know ARCH until the board configuration is done. That is why all the "*_defconfig" files should be gathered into a single directory ./configs/. Signed-off-by:
Masahiro Yamada <yamada.m@jp.panasonic.com> Acked-by:
Simon Glass <sjg@chromium.org>
-
- Jun 20, 2014
-
-
Simon Glass authored
Linux supports this, and if we are to have compatible device tree files, U-Boot should also. Avoid giving the device tree files access to U-Boot's include/ directory. Only include/dt-bindings is accessible. Signed-off-by:
Simon Glass <sjg@chromium.org> Acked-by:
Stephen Warren <swarren@nvidia.com> Reviewed-by:
Masahiro Yamada <yamada.m@jp.panasonic.com>
-