- 19 6月, 2015 8 次提交
-
-
由 Paul Kocialkowski 提交于
This allows using only one of either raw or fs mode for SPL mmc boot, without the need to have provisions for the other. In particular, a device may have U-Boot installed on a file system on the mmc, without ever needing to read U-Boot from raw memory. Thus, there is no reason to provide a sector or partition for raw mode. This allows this behaviour and still provides a robust fallback mechanism in case provisions for both modes are defined. Signed-off-by: NPaul Kocialkowski <contact@paulk.fr>
-
由 Paul Kocialkowski 提交于
This switches some printf calls to puts and avoids a test repetition. Signed-off-by: NPaul Kocialkowski <contact@paulk.fr>
-
由 Peter Robinson 提交于
When building tools-only (or env) we need to be sure that we do use <linux/kconfig.h> and do not use <generated/autoconf.h>. This will fix problems such as running 'make defconfig' or 'make sandbox_config' and then 'make tools-only'. Based on the responses below to the thread add linux/kconfig.h higher in the includes and drop the now unneeded autoconf.h lower down to ensure the default environment is included correctly http://lists.denx.de/pipermail/u-boot/2015-June/216849.htmlSigned-off-by: NPeter Robinson <pbrobinson@gmail.com>
-
由 Łukasz Majewski 提交于
This fix is necessary to avoid booting the default ITB configuration. Signed-off-by: NLukasz Majewski <l.majewski@samsung.com>
-
由 Tom Rini 提交于
We want to see if the requested start or total block count are unaligned. We discard the whole numbers and only care about the remainder. Update the code to use div_u64_rem here and add a comment. Cc: Hans de Goede <hdegoede@redhat.com> Cc: Pantelis Antoniou <pantelis.antoniou@konsulko.com> Cc: Bernhard Nortmann <bernhard.nortmann@web.de> Reported-by: NSimon Glass <sjg@chromium.org> Signed-off-by: NTom Rini <trini@konsulko.com> Tested-by: NBernhard Nortmann <bernhard.nortmann@web.de> Reviewed-by: NHans de Goede <hdegoede@redhat.com>
-
由 Hannes Petermaier 提交于
since we have now various processor-speeds it isn't useful anymore to preinitialize kernels-delay loop. Rather we want the kernel to calibrate it on every boot. This wastes around 80ms boottime but is compatible to all CPU-speeds. Signed-off-by: NHannes Schmelzer <oe5hpm@oevsv.at>
-
由 Hannes Petermaier 提交于
in future we support yet another b&r am335x based board, where Timer 5 is wired to backlight-driver. So we introduce a new driver-type '2' to setup timer5 instead timer6. Signed-off-by: NHannes Schmelzer <oe5hpm@oevsv.at> Reviewed-by: NSimon Glass <sjg@chromium.org>
-
由 Cooper Jr., Franklin 提交于
Currently there is no default value for NETARGS if CONFIG_CMD_NET=y isn't set. This results in build errors which was first discovered when trying to run make env. By defining a blank NETARGS these errors can be avoided. Signed-off-by: NFranklin S Cooper Jr <fcooper@ti.com> Tested-by: NMaxin B. John <maxin.john@enea.com> Reviewed-by: NTom Rini <trini@konsulko.com>
-
- 18 6月, 2015 3 次提交
-
-
由 Jeroen Hofstee 提交于
Since the tam3517 base board has a 16bit wide nand connected to the gpmc, enable the prefetch mode, since that is now supported. Cc: Scott Wood <scottwood@freescale.com> Cc: Tom Rini <trini@konsulko.com> Cc: pekon gupta <pekon@ti.com> Cc: Nishanth Menon <nm@ti.com> Cc: Daniel Mack <zonque@gmail.com> Cc: Tapani Utriainen <tapani@technexion.com> Signed-off-by: NJeroen Hofstee <jeroen@myspectrum.nl> Reviewed-by: NTom Rini <trini@konsulko.com>
-
由 Jeroen Hofstee 提交于
commit c316f577 "mtd: OMAP: Enable GPMC prefetch mode" only enabled prefetch mode for 8 bit nand access, this adds 16 bit as well. Cc: Scott Wood <scottwood@freescale.com> Cc: Tom Rini <trini@konsulko.com> Cc: Daniel Mack <zonque@gmail.com> Signed-off-by: NJeroen Hofstee <jeroen@myspectrum.nl> Reviewed-by: NTom Rini <trini@konsulko.com>
-
由 Jeroen Hofstee 提交于
The prefech mode is a feature of the gpmc, not the ELM. An am3517 does not have an elm, but can do prefeches, so move the code out of the CONFIG_NAND_OMAP_ELM ifdef. Cc: Scott Wood <scottwood@freescale.com> Cc: Tom Rini <trini@konsulko.com> Cc: Daniel Mack <zonque@gmail.com> Signed-off-by: NJeroen Hofstee <jeroen@myspectrum.nl> Reviewed-by: NTom Rini <trini@konsulko.com>
-
- 17 6月, 2015 4 次提交
-
-
由 Karsten Merker 提交于
The MSI Primo 81 is an Allwinner A31s-based tablet on which the OTG port is the only accessible USB interface. The existing defconfig had VGA console on the LCD enabled, but was missing keyboard support because the prerequisites for that (sunxi MUSB support and AXP221 GPIO support) had not been available before. All previously missing dependencies are available now, so this patch enables keyboard support and its prerequisites in the defconfig. Signed-off-by: NKarsten Merker <merker@debian.org> Reviewed-by: NHans de Goede <hdegoede@redhat.com> Signed-off-by: NHans de Goede <hdegoede@redhat.com>
-
由 Hans de Goede 提交于
Currently on sun6i after a "reset" the prompt returns and the user can even type stuff until the watchdog triggers and does the actual reset. This is somewhat unexpected behavior for the "reset" command, this commit adds an endless loop to wait for the watchdog to trigger so that we do not return to the prompt. Signed-off-by: NHans de Goede <hdegoede@redhat.com> Acked-by: NIan Campbell <ijc@hellion.org.uk>
-
由 Hans de Goede 提交于
Remove the unused sunxi_musb_exit method, there is no code in u-boot calling the exit method, and our implementation was broken as it did not disable the clocks and asserted reset. Signed-off-by: NHans de Goede <hdegoede@redhat.com> Acked-by: NIan Campbell <ijc@hellion.org.uk>
-
由 Hans de Goede 提交于
Fully resetting the controller is a too big hammer, and the musb_core will then afterwards fail to communicate with any endpoints other then 0 as too much state was cleared. Instead report vbus low for 200ms which will effectively end the current session without needing to do a full reset. This fixes usb mass-storage devices no longer working after a "usb reset" Signed-off-by: NHans de Goede <hdegoede@redhat.com> Acked-by: NIan Campbell <ijc@hellion.org.uk>
-
- 16 6月, 2015 1 次提交
-
-
- 15 6月, 2015 13 次提交
-
-
-
由 Tom Rini 提交于
In the cases where we make use of environment in SPL we do not need these defaults compiled in and available. These are taking up space that in some cases now prevent linking, so drop. Signed-off-by: NTom Rini <trini@konsulko.com>
-
由 Yegor Yefremov 提交于
Vision Systems's Baltos is based on AM335x SoC from Texas Instruments. This patch adds support such Industrial PCs in mainline u-boot. [ balbi@ti.com: updated original patch to current u-boot ] Signed-off-by: NYegor Yefremov <yegorslists@googlemail.com> Signed-off-by: NFelipe Balbi <balbi@ti.com>
-
由 Lokesh Vutla 提交于
Unlike OMAP5, EMIF PHY used in DRA7 will be left in unknown state after warm reset, emif needs to be configured to bring it back to a known state. So configure EMIF during warm reset. Reported-by: NRoger Quadros <rogerq@ti.com> Signed-off-by: NLokesh Vutla <lokeshvutla@ti.com>
-
由 Masahiro Yamada 提交于
Now all the AVR32 boards have been converted into Generic Board. Select it in Kconfig and clean up defines in header files. Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com> Acked-by: NAndreas Bießmann <andreas.devel@googlemail.com>
-
由 Lokesh Vutla 提交于
On AM437x-GP Evm there is 2GB of DDR3 memory available as stated in AM437x GP EVM HardwareUser's guide http://www.ti.com/lit/ug/spruhw7/spruhw7.pdf. But MAX_RAM_BANK_SIZE is defined as 1GB. Fixing MAX_RAM_BANK_SIZE to 2GB on AM43xx. Reported-by: NShivasharan Nagalikar <shivasharan.nagalikar@ti.com> Signed-off-by: NLokesh Vutla <lokeshvutla@ti.com> Reviewed-by: NTom Rini <trini@konsulko.com>
-
由 Tom Rini 提交于
The recent changes for hw leveling on am33xx were not intended for DDR2 boards, only DDR3. Update emif_sdram_type to take a sdram_config value to check against. This lets us pass in the value we would use to configure, when we have not yet configured the board yet. In other cases update the call to be as functional as before and check an already programmed value in. Tested-by: NYan Liu <yan-liu@ti.com> Signed-off-by: NTom Rini <trini@ti.com> Signed-off-by: NLokesh Vutla <lokeshvutla@ti.com>
-
由 Lokesh Vutla 提交于
On AM57xx evm I2C5 is used to detect the LCD board by reading the EEPROM present on the bus. Enable i2c5 clocks to help that. Signed-off-by: NLokesh Vutla <lokeshvutla@ti.com> Reviewed-by: NTom Rini <trini@konsulko.com>
-
由 Tom Rini 提交于
Enable booting from NAND on the am437xx-evm. Signed-off-by: NTom Rini <trini@ti.com> Signed-off-by: NRoger Quadros <rogerq@ti.com> Reviewed-by: NTom Rini <trini@konsulko.com>
-
由 Roger Quadros 提交于
Use the correct partition names from with the Device Tree blob and the kernel is picked up. Also use partition name instead of number for the root filesystem in the kernel boot arguments. Signed-off-by: NRoger Quadros <rogerq@ti.com> Reviewed-by: NTom Rini <trini@konsulko.com>
-
由 Roger Quadros 提交于
We almost always use UBIFS for user accessible NAND file systems and the UBIFS file system might contain more than one volume within the single NAND partition. The last NAND partition is therefore more appropriately named as "NAND.file-system" instead of "NAND.rootfs" The Linux kernel (as of v3.16) also uses "NAND.file-system" to name the last NAND partition. This patch makes the partition name consistent between u-boot and the kernel. Signed-off-by: NRoger Quadros <rogerq@ti.com> Reviewed-by: NTom Rini <trini@konsulko.com>
-
由 Roger Quadros 提交于
AM43xx EVMs have NAND so enable it. Signed-off-by: NRoger Quadros <rogerq@ti.com> Reviewed-by: NTom Rini <trini@konsulko.com>
-
由 Mark Langsdorf 提交于
The Calxeda highbank SOC needs a custom sequence to bring up SATA links, so override ahci_link_up with custom function to handle combophy setup. Signed-off-by: NMark Langsdorf <mark.langsdorf@gmail.com> Signed-off-by: Richard Gibbs Signed-off-by: NRob Herring <robh@kernel.org> Signed-off-by: NAndre Przywara <osp@andrep.de>
-
- 14 6月, 2015 4 次提交
-
-
由 Stefan Roese 提交于
To support the Armada 38x, new values for the request-delay and the response-timeout are needed. As the values already implemented in this tool (for Kirkwood and Armada XP) don't seem to work here. To make this more flexible, lets add make those 2 parameters configurable via the cmdline. Here the new parameters: -q <req-delay>: use specific request-delay -s <resp-timeo>: use specific response-timeout For the Marvell DB-88F6820 these values are known to work: One board: -q 2 -s 1 2nd board: -q 5 -s 5 So this seems to be even board specific. But with this patch now those values can be specified and tested via the cmdline. Signed-off-by: NStefan Roese <sr@denx.de> Cc: Kevin Smith <kevin.smith@elecsyscorp.com> Cc: Dirk Eibach <dirk.eibach@gdsys.cc> Cc: Luka Perkov <luka.perkov@sartura.hr>
-
由 Kevin Smith 提交于
SMP-enabled Linux kernels read the CBAR register in CP15 to find the address of the SCU registers. After remapping internal registers, also update the CBAR so the kernel can find them. Signed-off-by: NKevin Smith <kevin.smith@elecsyscorp.com> Acked-by: NStefan Roese <sr@denx.de>
-
由 Stefan Roese 提交于
L2 cache may still be enabled by the BootROM. We need to first disable it before enabling d-cache support. Signed-off-by: NStefan Roese <sr@denx.de> Tested-by: NKevin Smith <kevin.smith@elecsyscorp.com>
-
由 Kevin Smith 提交于
If defined, the macro CONFIG_SYS_SPI_U_BOOT_OFFS allows a board to specify the offset of the payload image into the kwb image file. This value was being used to locate the image, but was not used in the "header size" field of the main header. Move the use of this macro into the function that returns the header size so that the same value is used in all places. Signed-off-by: NKevin Smith <kevin.smith@elecsyscorp.com> Tested-by: NStefan Roese <sr@denx.de>
-
- 13 6月, 2015 7 次提交
-
-
由 Mark Langsdorf 提交于
The AHCI driver currently waits 5s before timing out when sending a data command to a drive. Some drives take upwards of 8s to respond to the initial data command while they're spinning up. Increase the data io timeout to 10s so that those drives can be found on initial scsi scan. Signed-off-by: NMark Langsdorf <mark.langsdorf@gmail.com> Signed-off-by: NAndre Przywara <osp@andrep.de>
-
由 Mark Langsdorf 提交于
Enable full 48-bit LBA48 data reads by passing the upper word of the LBA block pointer in bytes 9 and 10 of the FIS. This allows uboot to load data from any arbitrary sector on a drive with 2 or more TB of available data connected to an AHCI controller. Signed-off-by: NMark Langsdorf <mark.langsdorf@gmail.com> Signed-off-by: NAndre Przywara <osp@andrep.de> [trini: Make use of CONFIG_SYS_64BIT_LBA in a few places to drop warnings on platforms that don't enable that feature ] Signed-off-by: NTom Rini <trini@konsulko.com>
-
由 Mark Langsdorf 提交于
Signed-off-by: NMark Langsdorf <mark.langsdorf@gmail.com> Signed-off-by: NAndre Przywara <osp@andrep.de>
-
由 Mark Langsdorf 提交于
The Calxeda Midway part has A15 cores, which do not have the Highbank A9's SCU used there for resetting the chip. Add code to distinguish between the A9 and the A15 and invoke the appropriate register writes to support the newer part. Andre: rework detection of Highbank vs. Midway Rob: fix Andre's reworked detection Signed-off-by: NMark Langsdorf <mark.langsdorf@gmail.com> Signed-off-by: NAndre Przywara <osp@andrep.de> Signed-off-by: NRob Herring <robh@kernel.org>
-
由 Rob Herring 提交于
Andre: assign names to the magic values Signed-off-by: NRob Herring <robh@kernel.org> Signed-off-by: NAndre Przywara <osp@andrep.de>
-
由 Lokesh Vutla 提交于
Adding the mux data, manual and virtual mode settings for BeagleBoard-X15. Signed-off-by: NLokesh Vutla <lokeshvutla@ti.com> Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com> Signed-off-by: NNishanth Menon <nm@ti.com> Signed-off-by: NRoger Quadros <rogerq@ti.com>
-
由 Lokesh Vutla 提交于
Enable IO delay recalibration sequence. Signed-off-by: NLokesh Vutla <lokeshvutla@ti.com> Signed-off-by: NNishanth Menon <nm@ti.com>
-