- Mar 04, 2015
-
-
Simon Glass authored
At present SPL uses a single stack, either CONFIG_SPL_STACK or CONFIG_SYS_INIT_SP_ADDR. Since some SPL features (such as MMC and environment) require a lot of stack, some boards set CONFIG_SPL_STACK to point into SDRAM. They then set up SDRAM very early, before board_init_f(), so that the larger stack can be used. This is an abuse of lowlevel_init(). That function should only be used for essential start-up code which cannot be delayed. An example of a valid use is when only part of the SPL code is visible/executable, and the SoC must be set up so that board_init_f() can be reached. It should not be used for SDRAM init, console init, etc. Add a CONFIG_SPL_STACK_R option, which allows the stack to be moved to a new address before board_init_r() is called in SPL. The expected SPL flow (for CONFIG_SPL_FRAMEWORK) is documented in the README. Signed-off-by:
Simon Glass <sjg@chromium.org> For version 1: Acked-by:
Albert ARIBAUD <albert.u.boot@aribaud.net> Reviewed-by:
Stefan Roese <sr@denx.de> Tested-by:
Bo Shen <voice.shen@atmel.com> Acked-by:
Bo Shen <voice.shen@atmel.com> Acked-by:
Heiko Schocher <hs@denx.de> Tested-by:
Heiko Schocher <hs@denx.de> Signed-off-by:
Tom Rini <trini@konsulko.com>
-
Simon Glass authored
Use the full driver model GPIO and serial drivers in SPL now that these are supported. Since device tree is not available they will use platform data. Remove the special SPL GPIO function as it is no longer needed. This is all in one commit to maintain bisectability. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
This is already set up in crt0.S. We don't need a new structure and don't really want one in the 'data' section of the image, since it will be empty and crt0.S's changes will be ignored. As an interim measure, remove it only if CONFIG_DM is not defined. This allows us to press ahead with driver model in SPL and allow the stragglers to catch up. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
This function has grown into something of a monster. Some boards are setting up a console and DRAM here in SPL. This requires global_data which should be set up in one place (crt0.S). There is no need for SPL to use s_init() for anything since board_init_f() is called immediately afterwards. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
git://git.denx.de/u-boot-samsungTom Rini authored
-
Przemyslaw Marczak authored
This commit removes the dram reservation from board file, because it is done in a common code. Signed-off-by:
Przemyslaw Marczak <p.marczak@samsung.com> Cc: Minkyu Kang <mk7.kang@samsung.com> Signed-off-by:
Minkyu Kang <mk7.kang@samsung.com>
-
Przemyslaw Marczak authored
This commit enables the last DRAM bank and reserves the last 22 MiB of it, for the secure firmware. Signed-off-by:
Przemyslaw Marczak <p.marczak@samsung.com> Cc: Akshay Saraswat <akshay.s@samsung.com> Cc: Hyungwon Hwang <human.hwang@samsung.com> Cc: Minkyu Kang <mk7.kang@samsung.com> Signed-off-by:
Minkyu Kang <mk7.kang@samsung.com>
-
Przemyslaw Marczak authored
Since more than one board requires memory reservation for the secure firmware, the reservation code can be made in a common code. Now, to reserve some part of the the last bank, board config should define: - CONFIG_TZSW_RESERVED_DRAM - len in bytes - CONFIG_NR_DRAM_BANKS - number of memory banks Signed-off-by:
Przemyslaw Marczak <p.marczak@samsung.com> Cc: Akshay Saraswat <akshay.s@samsung.com> Cc: Hyungwon Hwang <human.hwang@samsung.com> Cc: Minkyu Kang <mk7.kang@samsung.com> Signed-off-by:
Minkyu Kang <mk7.kang@samsung.com>
-
Łukasz Majewski authored
This patch suppress following warning: board/samsung/common/board.c:95:32: warning: iteration 4u invokes undefined behavior [-Waggressive-loop-optimizations] addr = CONFIG_SYS_SDRAM_BASE + (i * SDRAM_BANK_SIZE); ^ board/samsung/common/board.c:94:2: note: containing loop about possible signed integer overflow at gcc 4.8.2 (odroid board) Signed-off-by:
Lukasz Majewski <l.majewski@samsung.com> Signed-off-by:
Minkyu Kang <mk7.kang@samsung.com>
-
- Mar 03, 2015
-
-
Tom Rini authored
Signed-off-by:
Tom Rini <trini@konsulko.com>
-
- Mar 02, 2015
-
-
Sinan Akman authored
Signed-off-by:
Sinan Akman <sinan@writeme.com>
-
Michal Simek authored
Add basic Xilinx ZynqMP arm64 support. Serial and SD is supported. It supports emulation platfrom ep108 and QEMU. Signed-off-by:
Michal Simek <michal.simek@xilinx.com> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Andreas Bießmann authored
Signed-off-by:
Andreas Bießmann <andreas.devel@googlemail.com>
-
Masahiro Yamada authored
This code was introduced to support the multiple .config configuration in U-Boot. We do not need it any more. Signed-off-by:
Masahiro Yamada <yamada.m@jp.panasonic.com>
-
Axel Lin authored
Fix trivial typo. Acked-by:
Simon Glass <sjg@chromium.org> Signed-off-by:
Axel Lin <axel.lin@ingics.com>
-
Tom Rini authored
Signed-off-by:
Tom Rini <trini@konsulko.com>
-
Tom Rini authored
With a3895314 we now call readl() from this file so add <asm/io.h> so that we have a prototype for the function. Signed-off-by:
Tom Rini <trini@konsulko.com>
-
git://git.denx.de/u-boot-usbTom Rini authored
-
git://git.denx.de/u-boot-pxaTom Rini authored
-
Łukasz Majewski authored
After discussion during the last u-boot mini summit with USB maintainer - Marek Vasut - it has been decided, that gadget development should be coordinated by DFU custodian. Such patch formalizes current development status. Signed-off-by:
Lukasz Majewski <l.majewski@samsung.com>
-
Marcel Ziswiler authored
Integrate latest validated register settings from Toradex WinCE BSP 4.2 working accross all module versions from early V1.x, V1.2D, V2.2B to V2.4A. Signed-off-by:
Marcel Ziswiler <marcel@ziswiler.com>
-
Marcel Ziswiler authored
Usually not required for NOR flash. Signed-off-by:
Marcel Ziswiler <marcel@ziswiler.com>
-
Marcel Ziswiler authored
Signed-off-by:
Marcel Ziswiler <marcel@ziswiler.com>
-
Marcel Ziswiler authored
While 'mmc init' is no longer required the address to bootm the kernel from NOR flash was wrong. Signed-off-by:
Marcel Ziswiler <marcel@ziswiler.com>
-
Marcel Ziswiler authored
Specify a CONFIG_BOARD_SIZE_LIMIT of 256 KB in order to avoid overwriting the factory configuration block located at offset 0x40000 in NOR flash. Signed-off-by:
Marcel Ziswiler <marcel@ziswiler.com>
-
Marcel Ziswiler authored
To save more than 20 KB of precious space in NOR flash get rid of the following configuration options: CONFIG_CMD_LOADB CONFIG_CMD_LOADS CONFIG_SYS_LONGHELP Signed-off-by:
Marcel Ziswiler <marcel@ziswiler.com>
-
Marcel Ziswiler authored
Migrate Toradex Colibri PXA270 to use CONFIG_SYS_GENERIC_BOARD. Signed-off-by:
Marcel Ziswiler <marcel@ziswiler.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Marcel Ziswiler authored
I couldn't quite figure out whether or not CONFIG_SYS_ENV_IS_NOWHERE actually ever worked but nowadays this is called CONFIG_ENV_IS_NOWHERE. Signed-off-by:
Marcel Ziswiler <marcel@ziswiler.com>
-
Marcel Ziswiler authored
Signed-off-by:
Marcel Ziswiler <marcel@ziswiler.com>
-
Marcel Ziswiler authored
Signed-off-by:
Marcel Ziswiler <marcel@ziswiler.com>
-
Marcel Ziswiler authored
Basically finish what the following commit started a long time ago: 488f5d87 Signed-off-by:
Marcel Ziswiler <marcel@ziswiler.com> For mx35pdk/woodburn: Acked-by:
Stefano Babic <sbabic@denx.de>
-
Marcel Ziswiler authored
Signed-off-by:
Marcel Ziswiler <marcel@ziswiler.com>
-
git://git.denx.de/u-boot-samsungTom Rini authored
-
git://git.denx.de/u-boot-shTom Rini authored
-
git://git.denx.de/u-boot-shTom Rini authored
-
- Feb 28, 2015
-
-
Masahiro Yamada authored
Each way of the system cache has 256 entries for PH1-Pro4 and older SoCs, whereas 512 entries for PH1-Pro5 and newer SoCs. The line size is still 128 byte. Thus, the way size is 32KB/64KB for old/new SoCs. To keep lowlevel_init SoC-independent, set BOOT_RAM_SIZE to the constant value 32KB. It is large enough for temporary RAM and should work for all the SoCs of UniPhier family. Signed-off-by:
Masahiro Yamada <yamada.m@jp.panasonic.com>
-
Masahiro Yamada authored
This function was intended for MN2WS0235 (what we call PH1-Pro4TV). On that SoC, MPLL is already running on the power-on reset and it makes sense to stop the PLL at early boot-up. On the other hand, PH1-Pro4(R) does not have SC_MPLLOSCCTL register, so this function has no point. Signed-off-by:
Masahiro Yamada <yamada.m@jp.panasonic.com>
-
Masahiro Yamada authored
This code is duplicated in ph1-ld4/sg_init.c and ph1-pro4/sg_init.c. Merge the same code into a new file, memconf.c. The helper functions no longer have to be placed in the header file. Also, move them into memconf.c. Signed-off-by:
Masahiro Yamada <yamada.m@jp.panasonic.com>
-