- Jul 10, 2017
-
-
Cooper Jr., Franklin authored
Add additional make targets and options for building embedded FIT U-boot images. Signed-off-by:
Franklin S Cooper Jr <fcooper@ti.com> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Cooper Jr., Franklin authored
Runtime U-boot dtb selection is generally a two step process. First step is to simply use an initial generic dtb. The second step is to select the dtb and perhaps execute additional code ones U-boot knows what board it is running on. Embedded_dtb_select handles the second step by allowing board specific code to run and perform what ever necessary configuration that is needed. Signed-off-by:
Franklin S Cooper Jr <fcooper@ti.com> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Cooper Jr., Franklin authored
With U-boot runtime board detect for DTB selection a "default" dtb needs to be created. This will be used temporarily until the "proper" dtb is selected. Signed-off-by:
Franklin S Cooper Jr <fcooper@ti.com> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Cooper Jr., Franklin authored
Introduce K2G evm specific dtsi file for U-boot specific configurations. This will help seperate U-boot only configurations thus making it easier to keep device tree files synced between U-boot and Linux. For now only add nodes to allow i2c drivers to be probed early during the boot process. Signed-off-by:
Franklin S Cooper Jr <fcooper@ti.com> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Cooper Jr., Franklin authored
OF_LIST will be useable by SPL and U-boot. Therefore, update its dependency to allow it to be enable by either SPL or U-boot specific config option. Signed-off-by:
Franklin S Cooper Jr <fcooper@ti.com> Reviewed-by:
Tom Rini <trini@konsulko.com> Reviewed-by:
Lokesh Vutla <lokeshvutla@ti.com> Acked-by:
Andrew F. Davis <afd@ti.com>
-
Cooper Jr., Franklin authored
When the EEPROM is first read its contents are stored in memory as a cache to avoid further I2C operations. To determine if the EEPROM was previously read the easiest way is to check the memory to see if the EEPROM's magic header value is set. Create a new function that can determine if the EEPROM was previously read or not without having to perform a I2C transaction. Signed-off-by:
Franklin S Cooper Jr <fcooper@ti.com> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Cooper Jr., Franklin authored
This patch gives U-boot the runtime support to have the board specific code decide which FDT to use. This is especially useful for devices that need this type of runtime determination and also doesn't use SPL. Signed-off-by:
Franklin S Cooper Jr <fcooper@ti.com> Reviewed-by:
Lokesh Vutla <lokeshvutla@ti.com> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Cooper Jr., Franklin authored
Some platforms may append a FIT image to the U-boot image. This function aids in parsing the FIT image and selecting the correct DTB at runtime. Signed-off-by:
Franklin S Cooper Jr <fcooper@ti.com> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Cooper Jr., Franklin authored
Some of the functions within spl_fit will be used for non spl purposes. Instead of duplicating functions simply break the functions to be reused into its own file. Signed-off-by:
Franklin S Cooper Jr <fcooper@ti.com> Reviewed-by:
Tom Rini <trini@konsulko.com> Reviewed-by:
Simon Glass <sjg@chromium.org> [trini: Only add the new define to image.h, otherwise we see breakage due to massive include leakage into host tools in some cases] Signed-off-by:
Tom Rini <trini@konsulko.com>
-
Nishanth Menon authored
In some situations the EEPROM used for board detection may not be programmed or simply programmed incorrectly. Therefore, it may be necessary to "simulate" reading the contents of the EEPROM to set appropriate variables used in the board detection code. This may also be helpful in certain boot modes where doing i2c reads may be costly and the config supports running only a specific board. Signed-off-by:
Nishanth Menon <nm@ti.com> Signed-off-by:
Tero Kristo <t-kristo@ti.com> Signed-off-by:
Keerthy <j-keerthy@ti.com> Signed-off-by:
Franklin S Cooper Jr. <fcooper@ti.com> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Cooper Jr., Franklin authored
With Davinci I2C switching to device model, K2E requires U-boot specific device tree entries. This is only required for I2C 1 which is needed extremely early during the boot process. Fixes: 1743d040 ("ARM: keystone: Enable DM_I2C by default") Signed-off-by:
Franklin S Cooper Jr <fcooper@ti.com>
-
Tom Rini authored
Signed-off-by:
Tom Rini <trini@konsulko.com>
-
Holger Brunck authored
Cc: Wolfgang Denk <wd@denx.de> Cc: Heiko Schocher <hs@denx.de> Signed-off-by:
Holger Brunck <holger.brunck@keymile.com>
-
Lothar Waßmann authored
If the value of either "nand options" or "bbt options" has a zero in the most significant nibble, the '0x' prefix will be isolated from the value like shown below: |Device 0: nand0, sector size 128 KiB | Page size 2048 b | OOB size 64 b | Erase size 131072 b | subpagesize 2048 b | options 0x40000200 | bbt options 0x 60000 Change the format string to produce leading zeroes filling the gap. Signed-off-by:
Lothar Waßmann <LW@KARO-electronics.de>
-
Simon Glass authored
This error code has not been upstreamed and is not really needed since it is unlikely to be triggered. Drop it to maintain compatability with upstream. Reported-by:
Peter Robinson <pbrobinson@gmail.com> Signed-off-by:
Simon Glass <sjg@chromium.org> Tested-by:
Peter Robinson <pbrobinson@gmail.com>
-
Tom Rini authored
Signed-off-by:
Tom Rini <trini@konsulko.com>
-
- Jul 09, 2017
-
-
Stephen Warren authored
It's been a while since I've touched U-Boot on the Raspberry Pi and other things have been taking my time. Drop my maintainership for this port. Signed-off-by:
Stephen Warren <swarren@wwwdotorg.org>
-
- Jul 08, 2017
-
-
Christophe Leroy authored
CS Systemes d'Information (CSSI) manufactures two boards, named MCR3000 and CMPC885 which are respectively based on MPC866 and MPC885 processors. This patch adds support for the first board. Signed-off-by:
Christophe Leroy <christophe.leroy@c-s.fr>
-
Christophe Leroy authored
At the same time, move to Kconfig Signed-off-by:
Christophe Leroy <christophe.leroy@c-s.fr>
-
Christophe Leroy authored
Signed-off-by:
Christophe Leroy <christophe.leroy@c-s.fr>
-
Christophe Leroy authored
Signed-off-by:
Christophe Leroy <christophe.leroy@c-s.fr>
-
Christophe Leroy authored
Signed-off-by:
Christophe Leroy <christophe.leroy@c-s.fr> Reviewed-by:
Heiko Schocher <hs@denx.de>
-
Christophe Leroy authored
For processors whose core runs at twice the bus frequency, the fallback frequency calculation in Linux provides a wrong result. Therefore, U-boot needs to pass the correct value. Signed-off-by:
Christophe Leroy <christophe.leroy@c-s.fr> Reviewed-by:
Heiko Schocher <hs@denx.de>
-
Christophe Leroy authored
Signed-off-by:
Christophe Leroy <christophe.leroy@c-s.fr> Reviewed-by:
Heiko Schocher <hs@denx.de>
-
Christophe Leroy authored
Signed-off-by:
Christophe Leroy <christophe.leroy@c-s.fr> Acked-by:
Wolfgang Denk <wd@denx.de> Reviewed-by:
Heiko Schocher <hs@denx.de>
-
Christophe Leroy authored
Signed-off-by:
Christophe Leroy <christophe.leroy@c-s.fr> Reviewed-by:
Heiko Schocher <hs@denx.de>
-
Christophe Leroy authored
Signed-off-by:
Christophe Leroy <christophe.leroy@c-s.fr> Reviewed-by:
Heiko Schocher <hs@denx.de>
-
Christophe Leroy authored
immap.c used to be common to several CPUs. It is now only linked to the 8xx, so this patch moves it into arch/powerpc/cpu/mpc8xx/ Signed-off-by:
Christophe Leroy <christophe.leroy@c-s.fr> Reviewed-by:
Heiko Schocher <hs@denx.de>
-
Christophe Leroy authored
CS Systemes d'Information (CSSI) manufactures 8xx boards for critical communication systems. Those boards have been running U-Boot since 2010 and will have to be maintained until at least 2027. commit 5b8e76c3 ("powerpc, 8xx: remove support for 8xx") orphaned those boards by removing support for the mpc8xx CPU. This commit partially restores support for the 8xx, with the following limitations: - Restores support for MPC866 and MPC885 only - Does not restore IDE, PCMCIA, I2C, USB - Does not restore examples - Does not restore POST - Does not restore Ethernet on SCC - Does not restore console on SCC - Does not restore bedbug and kgdb support As the 866 and 885 do not support the following features, they are not restored either: - VIDEO / LCD - RTC clock The CPM uCODE patch is not restored either, because: - 866 and 885 already have support for I2C and SPI relocation without a uCODE patch - relocation of SMC, I2C or SPI is only needed for using SCCs for Ethernet or QMC The dynamic setup/calculation of clocks is removed, we expect the target being use with the clock and PLPRCR register defined in the configuration. All the clock settings for 8xx prior to 866 is removed as well as we now only support 866 and 885. This code is mature and addresses mature boards. Therefore all code enclosed in '#if 0/#endif' and '#if XX_DEBUG/#endif' is unneeded. The following files are not restored by this patch: - arch/powerpc/cpu/mpc8xx/bedbug_860.c - arch/powerpc/cpu/mpc8xx/fec.h - arch/powerpc/cpu/mpc8xx/kgdb.S - arch/powerpc/cpu/mpc8xx/plprcr_write.S - arch/powerpc/cpu/mpc8xx/scc.c - arch/powerpc/cpu/mpc8xx/upatch.c - arch/powerpc/cpu/mpc8xx/video.c - arch/powerpc/include/asm/status_led.h - arch/powerpc/lib/ide.c - arch/powerpc/lib/ide.h - doc/README.MPC866 - drivers/pcmcia/mpc8xx_pcmcia.c - drivers/rtc/mpc8xx.c - drivers/usb/gadget/mpc8xx_udc.c - drivers/video/mpc8xx_lcd.c - examples/standalone/test_burst.c - examples/standalone/test_burst.h - examples/standalone/test_burst_lib.S - examples/standalone/timer.c - include/mpc823_lcd.h - include/usb/mpc8xx_udc.h - post/cpu/mpc8xx/Makefile - post/cpu/mpc8xx/cache.c - post/cpu/mpc8xx/cache_8xx.S - post/cpu/mpc8xx/ether.c - post/cpu/mpc8xx/spr.c - post/cpu/mpc8xx/uart.c - post/cpu/mpc8xx/usb.c - post/cpu/mpc8xx/watchdog.c Some of the restored files are not located in a proper location. In order to keep traceability of the changes, they will be moved to their correct location and moved to Kconfig in a followup patch. This patch also declares CSSI as point of contact for the update of the 8xx platform, as those boards are the only ones still being maintained on the 8xx area. A later patch will add those boards to the tree. Signed-off-by:
Christophe Leroy <christophe.leroy@c-s.fr>
-
- Jul 07, 2017
-
-
Enric Balletbo i Serra authored
On startup the SL50 board halt at U-Boot prompt. Use CONFIG_AUTOBOOT_KEYED to enable autoboot for this board and define the <SPACE> key to get the U-Boot prompt. Signed-off-by:
Enric Balletbo i Serra <enric.balletbo@collabora.com>
-
Hannes Schmelzer authored
since commit 'd5abcf94' - ti: boot: Register the MMC controllers in SPL in the same way as in u-boot MMC boot on brppt1 board is broken, with this commit we make our board working again. Signed-off-by:
Hannes Schmelzer <hannes.schmelzer@br-automation.com>
-
Andy Shevchenko authored
There is no need to duplicate same option with different name. Kill HW_WATCHDOG_TIMEOUT_MS in favor of WATCHDOG_TIMEOUT_MSECS. Signed-off-by:
Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Bin Meng <bmeng.cn@gmail.com> Reviewed-by:
Heiko Schocher <hs@denx.de>
-
Andy Shevchenko authored
Fix spelling Resettting -> Resetting. No functional change intended. Signed-off-by:
Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Bin Meng <bmeng.cn@gmail.com> Reviewed-by:
Heiko Schocher <hs@denx.de>
-
- Jul 06, 2017
-
-
Andy Shevchenko authored
AVR32 is gone. It's already more than two years for no support in Buildroot, even longer there is no support in GCC (last version is heavily patched 4.2.4). Linux kernel v4.12 got rid of it (and v4.11 didn't build successfully). There is no good point to keep this support in U-Boot either. Reviewed-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Tom Rini <trini@konsulko.com> Reviewed-by:
Heiko Schocher <hs@denx.de> Signed-off-by:
Andy Shevchenko <andriy.shevchenko@linux.intel.com>
-
Simon Glass authored
The current code gives a warning: arch/arm/mach-stm32/stm32f7/soc.c: In function 'arch_cpu_init': arch/arm/mach-stm32/stm32f7/soc.c:38:2: error: 'for' loop initial declarations are only allowed in C99 or C11 mode for (int i = 0; i < ARRAY_SIZE(stm32_region_config); i++) ^ arch/arm/mach-stm32/stm32f7/soc.c:38:2: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code Fix it by moving the declaration to the top of the function. Signed-off-by:
Simon Glass <sjg@chromium.org> Series-cc trini
-
Holger Brunck authored
The 82xx board mgcoge3ne was removed from the codebase, so this is dead code. Signed-off-by:
Holger Brunck <holger.brunck@keymile.com> Cc: Heiko Schocher <hs@denx.de> Reviewed-by:
Heiko Schocher <hs@denx.de>
-
xypron.glpk@gmx.de authored
The Odroid C2 comes with several expansion options such as an RTC module. As these expansions are not considered in the Linux device tree they have to be enabled via device tree overlays. Signed-off-by:
Heinrich Schuchardt <xypron.glpk@gmx.de>
-
Baruch Siach authored
Since commit 5b9d44df (mkimage: Display a better list of available image types) mkimage usage text suggest to "use -T to see a list of available image types". Unfortunately, commit 02221f29deb8 (mkimage: Convert to use getopt()) broke that feature, because getopt() fails when -T has no option argument. Add a pseudo image type name 'list' that lists all image types. Update the usage text accordingly. Cc: Simon Glass <sjg@chromium.org> Signed-off-by:
Baruch Siach <baruch@tkos.co.il>
-
Peter Robinson authored
CHIP and CHIP Pro devices have options of DIP addon boards some of which need overlays from the beginning so it makes sense to enable device tree overlays. Signed-off-by:
Peter Robinson <pbrobinson@gmail.com>
-
Peter Robinson authored
96boards CE devices such as the DragonBoard and Hikey devices have numerous mezzanine options some of which need overlays from the beginning so it makes sense to enable device tree overlays. Signed-off-by:
Peter Robinson <pbrobinson@gmail.com>
-