- May 07, 2018
-
-
Tom Rini authored
When U-Boot started using SPDX tags we were among the early adopters and there weren't a lot of other examples to borrow from. So we picked the area of the file that usually had a full license text and replaced it with an appropriate SPDX-License-Identifier: entry. Since then, the Linux Kernel has adopted SPDX tags and they place it as the very first line in a file (except where shebangs are used, then it's second line) and with slightly different comment styles than us. In part due to community overlap, in part due to better tag visibility and in part for other minor reasons, switch over to that style. This commit changes all instances where we have a single declared license in the tag as both the before and after are identical in tag contents. There's also a few places where I found we did not have a tag and have introduced one. Signed-off-by:
Tom Rini <trini@konsulko.com>
-
- Apr 27, 2018
-
-
Tom Rini authored
We have a large number of places where while we historically referenced gd in the code we no longer do, as well as cases where the code added that line "just in case" during development and never dropped it. Signed-off-by:
Tom Rini <trini@konsulko.com>
-
- Jul 27, 2017
-
-
Andy Yan authored
Some platforms have very limited SRAM to run SPL code, so there may not be the same amount space for a malloc pool before relocation in the SPL stage as the normal U-Boot stage. Make SPL and (the full) U-Boot stage use independent SYS_MALLOC_F_LEN, so the size of pre-relocation malloc pool can be configured memory space independently. Signed-off-by:
Andy Yan <andy.yan@rock-chips.com> Acked-by:
Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Reviewed-by:
Philipp Tomsich <philipp.tomsich@theobroma-systems.com> [fixed up commit-message:] Signed-off-by:
Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
-
- May 08, 2017
-
-
Vikas Manocha authored
At present fdt blob or argument address being passed to kernel is fixed at compile time using macro CONFIG_SYS_SPL_ARGS_ADDR. FDT blob from different media like nand, nor flash are copied to the address pointed by the macro. The problem is, it makes args/fdt blob compulsory to copy which is not required in cases like for NOR Flash. This patch removes this limitation. Signed-off-by:
Vikas Manocha <vikas.manocha@st.com>
-
- Feb 10, 2017
-
-
Michal Simek authored
Use correct name in endif comment. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
- Oct 06, 2016
-
-
Simon Glass authored
Instead of using the global spl_image variable, pass the required struct in as an argument. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
- Apr 04, 2016
-
-
Michal Simek authored
OF_CONTROL is enabled by default that's why this is dead code. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
Read information about timer and interrupts from DT. This is the first small step to move timer and intc to DM. Signed-off-by:
Michal Simek <michal.simek@xilinx.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>
-
- 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>
-
- 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>
-
- 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>
-
- Feb 04, 2014
-
-
Michal Simek authored
Add support for U-BOOT SPL. NOR and RAM mode are supported. There are 3 images in NOR flash. u-boot.img, dtb and kernel. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
Just list one more exception. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
- Nov 17, 2013
-
-
Masahiro Yamada authored
Signed-off-by:
Masahiro Yamada <yamada.m@jp.panasonic.com>
-
- Oct 31, 2013
-
-
Masahiro Yamada authored
Signed-off-by:
Masahiro Yamada <yamada.m@jp.panasonic.com> Cc: Michal Simek <michal.simek@xilinx.com>
-
- Jul 24, 2013
-
-
Wolfgang Denk authored
Signed-off-by:
Wolfgang Denk <wd@denx.de> [trini: Fixup common/cmd_io.c] Signed-off-by:
Tom Rini <trini@ti.com>
-
- Mar 12, 2013
-
-
Albert ARIBAUD authored
Refactor linker-generated array code so that symbols which were previously linker-generated are now compiler- generated. This causes relocation records of type R_ARM_ABS32 to become R_ARM_RELATIVE, which makes code which uses LGA able to run before relocation as well as after. Note: this affects more than ARM targets, as linker- lists span possibly all target architectures, notably PowerPC. Conflicts: arch/arm/cpu/arm926ejs/mxs/u-boot-spl.lds arch/arm/cpu/arm926ejs/spear/u-boot-spl.lds arch/arm/cpu/armv7/omap-common/u-boot-spl.lds board/ait/cam_enc_4xx/u-boot-spl.lds board/davinci/da8xxevm/u-boot-spl-da850evm.lds board/davinci/da8xxevm/u-boot-spl-hawk.lds board/vpac270/u-boot-spl.lds Signed-off-by:
Albert ARIBAUD <albert.u.boot@aribaud.net>
-
- Nov 08, 2012
-
-
Michal Simek authored
Microblaze platform can use CONFIG_OF_EMBED option but also it is necessary to support boards which don't want to use this option. U-Boot doesn't compile dts/libdts.o for #undef CONFIG_OF_EMBED case that's why it should be guarded by ifdef. Signed-off-by:
Michal Simek <monstr@monstr.eu>
-
- Nov 07, 2012
-
-
Michal Simek authored
Flushing caches is necessary because of soft reset which doesn't clear caches. Signed-off-by:
Michal Simek <monstr@monstr.eu> Reviewed-by:
Marek Vasut <marex@denx.de>
-
- Oct 22, 2012
-
-
Marek Vasut authored
The command declaration now uses the new LG-array method to generate list of commands. Thus the __u_boot_cmd section is now superseded and redundant and therefore can be removed. Also, remove externed symbols associated with this section from include/command.h . Signed-off-by:
Marek Vasut <marex@denx.de> Cc: Joe Hershberger <joe.hershberger@gmail.com> Cc: Mike Frysinger <vapier@gentoo.org>
-