- Jan 22, 2017
-
-
Masahiro Yamada authored
We may want to run different firmware before running U-Boot. For example, ARM Trusted Firmware runs before U-Boot, making U-Boot a non-secure world boot loader. In this case, the SoC might be initialized there, which enables us to skip SPL entirely. This commit removes "select SPL" to make it configurable. This also enables the Multi SoC support for the UniPhier ARMv8 SoCs. (CONFIG_ARCH_UNIPHIER_V8_MULTI) Thanks to the driver model and Device Tree, the U-Boot proper part is now written in a generic way. The board/SoC parameters reside in DT. The Multi SoC support increases the memory footprint a bit, but the U-Boot proper does not have strict memory constraint. This will mitigate the per-SoC (sometimes per-board) defconfig burden. Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com>
-
- Jan 21, 2017
-
-
Jagan Teki authored
Cc: Tom Rini <trini@konsulko.com> Signed-off-by:
Jagan Teki <jagan@openedev.com>
-
- Dec 16, 2016
-
-
Fabio Estevam authored
Move USE_ARCH_MEMCPY/MEMSET options to Kconfig. Make it "default y" for the ARMv7 architecture and make it depend on !ARM64 && !SPL. Signed-off-by:
Fabio Estevam <fabio.estevam@nxp.com>
-
- Nov 19, 2016
-
-
Semen Protsenko authored
Signed-off-by:
Sam Protsenko <semen.protsenko@linaro.org> [trini: Fix sniper and kc1 migration] Signed-off-by:
Tom Rini <trini@konsulko.com>
-
- Oct 18, 2016
-
-
Masahiro Yamada authored
ARCH_UNIPHIER selects DM_USB, where CONFIG_USB_MAX_CONTROLLER_COUNT is not used. Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
- Oct 12, 2016
-
-
Lokesh Vutla authored
Create a Kconfig entry for DISPLAY_BOARDINFO and make it be the default in certain architectures. Migrate all config files. Signed-off-by:
Lokesh Vutla <lokeshvutla@ti.com> Signed-off-by:
Tom Rini <trini@konsulko.com>
-
Lokesh Vutla authored
Create a Kconfig entry for DISPLAY_CPUINFO and make it be the default in certain architectures. Migrate all config files. Signed-off-by:
Lokesh Vutla <lokeshvutla@ti.com> Signed-off-by:
Tom Rini <trini@konsulko.com>
-
- Oct 10, 2016
-
-
Masahiro Yamada authored
This is an on-board Ethernet device. It has no point if the Micro Support Card is not available. Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com>
-
Masahiro Yamada authored
NOR flash devices are seldom used on UniPhier platforms these days. The only use case I see is the Micro Support Card is connected. Otherwise, define CONFIG_SYS_NO_FLASH to disable NOR FLASH. Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com>
-
Masahiro Yamada authored
Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com>
-
- Sep 16, 2016
-
-
Simon Glass authored
Move this option to Kconfig and tidy up existing uses. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Move this option to Kconfig and tidy up existing uses. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Move this option to Kconfig and tidy up existing uses. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Move this option to Kconfig and tidy up existing uses. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Move this option to Kconfig and tidy up existing uses. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Move this option to Kconfig and tidy up existing uses. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
- Sep 14, 2016
-
-
Masahiro Yamada authored
Currently, the UniPhier platform calls several init functions in the following order: [1] spl_board_init() [2] board_early_init_f() [3] board_init() [4] board_early_init_r() [5] board_late_init() The serial console is not ready at the point of [2], so we want to avoid using [2] from the view point of debuggability. Fortunately, all of the initialization in [2] can be delayed until [3]. I see no good reason to split into [3] and [4]. So, merge [2] through [4]. Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com>
-
Masahiro Yamada authored
We can use checkboard() stub to show additional board information, so misc_init_f() should not be used for this purpose. Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com>
-
- Sep 07, 2016
-
-
Masahiro Yamada authored
Move this option to Kconfig and set its default value to 4; this increases the number of supported CPUs for some boards. It consumes 1KB memory per CPU for PSCI stack, but it should not be a big deal, given the amount of memory used for the modern OSes. Reviewed-by:
Alexander Graf <agraf@suse.de> Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com>
-
Masahiro Yamada authored
Add ARCH_SUPPORT_PSCI as a non-configurable option that platforms can select. Then, move CONFIG_ARMV7_PSCI, which is automatically enabled if both ARMV7_NONSEC and ARCH_SUPPORT_PSCI are enabled. Reviewed-by:
Alexander Graf <agraf@suse.de> Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com>
-
- Aug 28, 2016
-
-
Masahiro Yamada authored
This supports the system reset via PSCI for ARMv7 SoCs. Because the system reset is not supported on PSCI 0.1, let's define CONFIG_ARMV7_PSCI_1_0. (it is supported since PSCI 0.2, but there is no CONFIG to enable it in U-Boot for now.) Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com>
-
- Aug 26, 2016
-
-
Tom Rini authored
This series moves the CONFIG_SYS_CACHELINE_SIZE. First, in nearly all cases we are mirroring the values used by the Linux Kernel here. Also, so long as (and in this case, it is true) we implement flushes in hunks that are no larger than the smallest implementation (and given that we mirror the Linux Kernel, again we are fine) it is OK to align higher. The biggest changes here are that we always use 64 bytes for CPU_V7 even if for example the underlying core is only 32 bytes (this mirrors Linux). Second, we say ARM64 uses 64 bytes not 128 (as found in the Linux Kernel) as we do not need multi-platform support (to this degree) and only the Cavium ThunderX 88xx series has a use for such large alignment. Cc: Albert Aribaud <albert.u.boot@aribaud.net> Cc: Marek Vasut <marex@denx.de> Cc: Stefano Babic <sbabic@denx.de> Cc: Prafulla Wadaskar <prafulla@marvell.com> Cc: Luka Perkov <luka.perkov@sartura.hr> Cc: Stefan Roese <sr@denx.de> Cc: Nagendra T S <nagendra@mistralsolutions.com> Cc: Vaibhav Hiremath <hvaibhav@ti.com> Acked-by:
Lokesh Vutla <lokeshvutla@ti.com> Cc: Steve Rae <steve.rae@raedomain.com> Cc: Igor Grinberg <grinberg@compulab.co.il> Cc: Nikita Kiryanov <nikita@compulab.co.il> Cc: Stefan Agner <stefan.agner@toradex.com> Acked-by:
Heiko Schocher <hs@denx.de> Cc: Mateusz Kulikowski <mateusz.kulikowski@gmail.com> Cc: Peter Griffin <peter.griffin@linaro.org> Acked-by:
Paul Kocialkowski <contact@paulk.fr> Cc: Anatolij Gustschin <agust@denx.de> Acked-by:
"Pali Rohár" <pali.rohar@gmail.com> Cc: Adam Ford <aford173@gmail.com> Cc: Steve Sakoman <sakoman@gmail.com> Cc: Grazvydas Ignotas <notasas@gmail.com> Cc: Nishanth Menon <nm@ti.com> Cc: Stephen Warren <swarren@wwwdotorg.org> Cc: Robert Baldyga <r.baldyga@samsung.com> Cc: Minkyu Kang <mk7.kang@samsung.com> Cc: Thomas Weber <weber@corscience.de> Cc: Masahiro Yamada <yamada.masahiro@socionext.com> Cc: David Feng <fenghua@phytium.com.cn> Cc: Alison Wang <b18965@freescale.com> Cc: Michal Simek <michal.simek@xilinx.com> Cc: Simon Glass <sjg@chromium.org> Cc: York Sun <york.sun@nxp.com> Cc: Shengzhou Liu <Shengzhou.Liu@nxp.com> Cc: Mingkai Hu <mingkai.hu@nxp.com> Cc: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com> Cc: Aneesh Bansal <aneesh.bansal@freescale.com> Cc: Saksham Jain <saksham.jain@nxp.com> Cc: Qianyu Gong <qianyu.gong@nxp.com> Cc: Wang Dongsheng <dongsheng.wang@nxp.com> Cc: Alex Porosanu <alexandru.porosanu@freescale.com> Cc: Hongbo Zhang <hongbo.zhang@nxp.com> Cc: tang yuantian <Yuantian.Tang@freescale.com> Cc: Rajesh Bhagat <rajesh.bhagat@nxp.com> Cc: Josh Wu <josh.wu@atmel.com> Cc: Bo Shen <voice.shen@atmel.com> Cc: Viresh Kumar <viresh.kumar@linaro.org> Cc: Hannes Schmelzer <oe5hpm@oevsv.at> Cc: Thomas Chou <thomas@wytron.com.tw> Cc: Joe Hershberger <joe.hershberger@ni.com> Cc: Sam Protsenko <semen.protsenko@linaro.org> Cc: Bin Meng <bmeng.cn@gmail.com> Cc: Christophe Ricard <christophe-h.ricard@st.com> Cc: Anand Moon <linux.amoon@gmail.com> Cc: Beniamino Galvani <b.galvani@gmail.com> Cc: Carlo Caione <carlo@endlessm.com> Cc: huang lin <hl@rock-chips.com> Cc: Sjoerd Simons <sjoerd.simons@collabora.co.uk> Cc: Xu Ziyuan <xzy.xu@rock-chips.com> Cc: "jk.kernel@gmail.com" <jk.kernel@gmail.com> Cc: "Ariel D'Alessandro" <ariel@vanguardiasur.com.ar> Cc: Kever Yang <kever.yang@rock-chips.com> Cc: Samuel Egli <samuel.egli@siemens.com> Cc: Chin Liang See <clsee@altera.com> Cc: Dinh Nguyen <dinguyen@opensource.altera.com> Cc: Hans de Goede <hdegoede@redhat.com> Cc: Ian Campbell <ijc@hellion.org.uk> Cc: Siarhei Siamashka <siarhei.siamashka@gmail.com> Cc: Boris Brezillon <boris.brezillon@free-electrons.com> Cc: Andre Przywara <andre.przywara@arm.com> Cc: Bernhard Nortmann <bernhard.nortmann@web.de> Cc: Wolfgang Denk <wd@denx.de> Cc: Ben Whitten <ben.whitten@gmail.com> Cc: Tom Warren <twarren@nvidia.com> Cc: Alexander Graf <agraf@suse.de> Cc: Sekhar Nori <nsekhar@ti.com> Cc: Vitaly Andrianov <vitalya@ti.com> Cc: "Andrew F. Davis" <afd@ti.com> Cc: Murali Karicheri <m-karicheri2@ti.com> Cc: Carlos Hernandez <ceh@ti.com> Cc: Ladislav Michl <ladis@linux-mips.org> Cc: Ash Charles <ashcharles@gmail.com> Cc: Mugunthan V N <mugunthanvnm@ti.com> Cc: Daniel Allred <d-allred@ti.com> Cc: Gong Qianyu <Qianyu.Gong@freescale.com> Signed-off-by:
Tom Rini <trini@konsulko.com> Acked-by:
Masahiro Yamada <yamada.masahiro@socionext.com> Acked-by:
Chin Liang See <clsee@altera.com> Tested-by:
Stephen Warren <swarren@nvidia.com> Acked-by:
Paul Kocialkowski <contact@paulk.fr>
-
- Aug 20, 2016
-
-
Masahiro Yamada authored
This command is used to boot ARM64 Linux. I made DISTRO_DEFAULTS select this option for ARM64 to respect include/config_distro_defaults.h. Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by:
Tom Rini <trini@konsulko.com>
-
- Aug 11, 2016
-
-
Masahiro Yamada authored
Currently, only the CPU_ON function is supported. Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com>
-
Masahiro Yamada authored
The UniPhier outer cache (L2 cache on ARMv7 SoCs) has 128 byte line length and its tags are also managed per 128 byte line. Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com>
-
Masahiro Yamada authored
Move this option to Kconfig, renaming it into CONFIG_CACHE_UNIPHIER. The new option name makes sense enough, and the same as Linux has. Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com>
-
- Jul 26, 2016
-
-
Masahiro Yamada authored
We already have the entry for this option in Kconfig, so let's migrate to it. Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com>
-
- Jul 23, 2016
-
-
Masahiro Yamada authored
This downloads the same file twice for nothing. Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com>
-
- Jul 01, 2016
-
-
Masahiro Yamada authored
As the help message of CONFIG_BOOTDELAY says, CONFIG_BOOTDELAY=-2 means the autoboot with no delay, with no abort check even if CONFIG_ZERO_BOOTDELAY_CHECK is defined. To sum up, the autoboot behaves as follows: [1] CONFIG_BOOTDELAY=0 && CONFIG_ZERO_BOOTDELAY_CHECK=y autoboot with no delay, but you can abort it by key input [2] CONFIG_BOOTDELAY=0 && CONFIG_ZERO_BOOTDELAY_CHECK=n autoboot with no delay, with no check for abort [3] CONFIG_BOOTDELAY=-1 disable autoboot [4] CONFIG_BOOTDELAY=-2 autoboot with no delay, with no check for abort As you notice, [2] and [4] come to the same result, which means we do not need CONFIG_ZERO_BOOTDELAY_CHECK. We can control all the cases only by CONFIG_BOOTDELAY, like this: [1] CONFIG_BOOTDELAY=0 autoboot with no delay, but you can abort it by key input [2] CONFIG_BOOTDELAY=-1 disable autoboot [3] CONFIG_BOOTDELAY=-2 autoboot with no delay, with no check for abort This commit converts the logic as follow: CONFIG_BOOTDELAY=0 && CONFIG_ZERO_BOOTDELAY_CHECK=n --> CONFIG_BOOTDELAY=-2 Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by:
Stefan Roese <sr@denx.de> Acked-by:
Igor Grinberg <grinberg@compulab.co.il> Reviewed-by:
Simon Glass <sjg@chromium.org> Acked-by:
Vladimir Zapolskiy <vz@mleia.com> Reviewed-by:
Heiko Schocher <hs@denx.de> Acked-by:
Christian Riesch <christian.riesch@omicronenergy.com> Acked-by:
Hannes Schmelzer <hannes.schmelzer@br-automation.com>
-
- Jun 19, 2016
-
-
Masahiro Yamada authored
I just did not notice this option had an entry in Kconfig. Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com>
-
Masahiro Yamada authored
At first, 256 byte of the head of DRAM space was reserved for some reasons. However, as the progress of development, it turned out unnecessary, and it was never used in the end. Move the CPU release address to leave no space. Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com>
-
- Jun 09, 2016
-
-
Heiko Schocher authored
move CONFIG_BOOTDELAY into a Kconfig option. Used for this purpose the moveconfig.py tool in tools. Signed-off-by:
Heiko Schocher <hs@denx.de> Reviewed-by:
Tom Rini <trini@konsulko.com> Acked-by:
Viresh Kumar <viresh.kumar@linaro.org> Acked-by:
Igor Grinberg <grinberg@compulab.co.il>
-
- Jun 08, 2016
-
-
Masahiro Yamada authored
Unlike NAND, eMMC can be re-written without erasing. Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com>
-
Masahiro Yamada authored
The Boot ROM on PH1-LD11/LD20 exports built-in APIs to load images from an eMMC device. They are useful to reduce the memory footprint of SPL, rather than compiling the whole MMC framework. Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com>
-
- May 25, 2016
-
-
Masahiro Yamada authored
This is a low-cost ARMv8 SoC from Socionext Inc. Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com>
-
- Apr 25, 2016
-
-
Tom Rini authored
Update the config.h and defconfig files for the commands that 8e3c036 converted over to Kconfig Signed-off-by:
Tom Rini <trini@konsulko.com>
-
- Apr 24, 2016
-
-
Masahiro Yamada authored
Copy the kernel image double-word-wise rather than byte-wise. Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com>
-
Masahiro Yamada authored
The last 64 byte of each DDR channel of PH1-LD20 is periodically used as a scratch area for the DDR PHY training. Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com>
-
Masahiro Yamada authored
This is the first ARMv8 SoC from Socionext Inc. Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com>
-
- Mar 31, 2016
-
-
Masahiro Yamada authored
I no longer see the problem claimed in the comment block. Rather, the 0.5 msec timeout seems too short for some TFTP servers. Drop the CONFIG_ARM_TIMEOUT to fall back to the 5 sec timeout. Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com>
-