- 15 Oct, 2015 2 commits
-
-
Fabio Estevam authored
Commit 3f353cec ("vf610: refactor DDRMC code") changed the original bstlen field from 3 to 0. Restore the original value for proper behaviour. Based on the patch from Anthony Felice <tony.felice@timesys.com> for the vf610twr board. Reported-by:
Stefan Agner <stefan@agner.ch> Signed-off-by:
Fabio Estevam <fabio.estevam@freescale.com>
-
Stefan Agner authored
This resyncs the driver changes with the Linux version of the driver. The driver received some feedback in the LKML and got recently acceppted, the latest version can be found here: https://lkml.org/lkml/2015/9/2/678 Notable changes are: - On ECC error, reread OOB and count bit flips in OOB too. If flipped bits are below threshold, also return an empty OOB buffer. - Return the amount of bit flips in vf610_nfc_read_page. - Use endianness aware vf610_nfc_read to read ECC status. - Do not enable IDLE IRQ (since we do not operate with an interrupt service routine). - Use type safe struct for buffer variants (vf610_nfc_alt_buf). - Renamed variables in struct vf610_nfc (column and page_sz) to reflect better what they really representing. The U-Boot version currently does not support RAW NAND write when using the HW ECC engine. Signed-off-by:
Bhuvanchandra DV <bhuvanchandra.dv@toradex.com> Signed-off-by:
Stefan Agner <stefan@agner.ch> Tested-by:
Albert ARIBAUD (3ADEV) <albert.aribaud@3adev.fr> Tested-by:
Stefan Agner <stefan@agner.ch> Acked-by:
Scott Wood <scottwood@freescale.com>
-
- 07 Oct, 2015 2 commits
-
-
Troy Kisky authored
When CHECK_BITS_SET was added, they forgot to add a new command table, and instead overwrote the previous table. Signed-off-by:
Troy Kisky <troy.kisky@boundarydevices.com> Tested-by:
Fabio Estevam <fabio.estevam@freescale.com>
-
Troy Kisky authored
Signed-off-by:
Troy Kisky <troy.kisky@boundarydevices.com>
-
- 02 Oct, 2015 6 commits
-
-
Fabio Estevam authored
Add DFU support. Tested by flashing SPL and u-boot.img into SPI NOR flash with the following commands: => setenv dfu_alt_info ${dfu_alt_info_spl} => run dfuspi On the host PC: $ sudo dfu-util -D SPL -a spl On the target: CTRL+C => setenv dfu_alt_info ${dfu_alt_info_img} => run dfuspi On the host PC: $ sudo dfu-util -D u-boot.img -a u-boot Signed-off-by:
Fabio Estevam <fabio.estevam@freescale.com>
-
Albert ARIBAUD \(3ADEV\) authored
Devices supported are: - NFC (NAND FLASH) - MMC - QSPI (SPI NOR FLASH) - I2C (only bus 2) - I2C RTC - I2C EEPROM - FEC Patch-series: 2 - remove useless CONFIG_SYS_SPD_BUS_NUM from config - remove include of config_cmd_default.h - remove duplicate CONFIG_CMD_NET Signed-off-by:
Albert ARIBAUD (3ADEV) <albert.aribaud@3adev.fr>
-
Albert ARIBAUD \\(3ADEV\\) authored
The driver assumed that I2C1 and I2C2 were always enabled, and if they were not, then an asynchronous abort was (silently) raised, to be caught much later on in the Linux kernel. Fix this by making I2C1 and I2C2 optional just like I2C3 and I2C4 are. To make the change binary-invariant, declare I2C1 and I2C2 in every include/configs/ file which defines CONFIG_SYS_I2C_MXC. Also, while updating README about CONFIG_SYS_I2C_MXC_I2C1 and CONFIG_SYS_I2C_MXC_I2C2, add missing descriptions for I2C4 speed (CONFIG_SYS_MXC_I2C4_SPEED) and slave (CONFIG_SYS_MXC_I2C4_SLAVE) config options. Signed-off-by:
Albert ARIBAUD (3ADEV) <albert.aribaud@3adev.fr>
-
Albert ARIBAUD \\(3ADEV\\) authored
The VF610 DDRMC driver code contains settings which are board-specific. Move these out to boards so that new boards can define their own without having to modify the driver. Signed-off-by:
Albert ARIBAUD (3ADEV) <albert.aribaud@3adev.fr>
-
Soeren Moch authored
Set missing boot address in bootm command. This fixes the error: Wrong Image Format for bootm command ERROR: can't get kernel image! Reported-by:
Uwe Scheffler <scheffler.u@web.de> Signed-off-by:
Soeren Moch <smoch@web.de> Tested-by:
Uwe Scheffler <scheffler.u@web.de>
-
Peng Fan authored
We should follow 'read->set/clr bit->write' flow for enable_fec_anatop_clock, otherwise we may overridden configuration before enable_fec_anatop_clock. Signed-off-by:
Peng Fan <Peng.Fan@freescale.com> Cc: Stefano Babic <sbabic@denx.de> Cc: Cc: Fabio Estevam <fabio.estevam@freescale.com>
-
- 28 Sep, 2015 20 commits
-
-
Tom Rini authored
Signed-off-by:
Tom Rini <trini@konsulko.com>
-
Łukasz Majewski authored
The commit: d9dbb97b "mmc: dw_mmc: Zap endless timeout" removed endless loop waiting for end of dw mmc transfer. For some workloads - dfu test @ Odroid XU3 (sending 8MiB file) - and SD cards (e.g. MicroSD Kingston 4GiB, Adata 4GiB) the default timeout is to short. The new value - 4 minutes (240 seconds) - is the same as the one used in Linux kernel driver. Such fix should be good enough until we come up with better fix for this issue. Signed-off-by:
Lukasz Majewski <l.majewski@samsung.com> Cc: Marek Vasut <marex@denx.de> Cc: Pantelis Antoniou <panto@antoniou-consulting.com> Cc: Tom Rini <trini@konsulko.com> Tested-by:
Przemyslaw Marczak <p.marczak@samsung.com>
-
Bin Meng authored
Give a full URL for a working nds32 toolchain for U-Boot. Signed-off-by:
Bin Meng <bmeng.cn@gmail.com> Reviewed-by:
Masahiro Yamada <yamada.masahiro@socionext.com>
-
Josh Wu authored
As 'time(0) | getpid()' will have a lot of duplicated value. It is not a expected behavior. We expect different value for the seed when when run it in many times. So this patch will left shift the getpid() and add to time(0). That avoid duplicated value. Test command is like: % RUN=0; while [ $RUN -lt 10000 ]; do tools/gen_eth_addr; RUN=$(($RUN+1)); done | sort | uniq | wc -l 10000 This patch is incorporated with suggestions made by Wolfgang Denk and Andreas Bießmann. Thanks them a lot. Signed-off-by:
Josh Wu <josh.wu@atmel.com> Acked-by:
Andreas Bießmann <andreas.devel@googlemail.com> Acked-by:
Wolfgang Denk <wd@denx.de> Tested-by:
Wolfgang Denk <wd@denx.de>
-
Simon Glass authored
This code is no-longer used. Drop it. Signed-off-by:
Simon Glass <sjg@chromium.org> Acked-by:
Andreas Bießmann <andreas.devel@gmail.com>
-
Simon Glass authored
This board has not been converted to generic board by the deadline. Remove it. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
This board has not been converted to generic board by the deadline. Remove it. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Peter Griffin authored
DRAM region 0x3f000000 - 0x3fffffff is reserved for OP-TEE. Touching 0x3f000000 memory location from unsecure world causes the board to hang. Signed-off-by:
Peter Griffin <peter.griffin@linaro.org> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Peter Griffin authored
Use DM for the pl01x serial driver on hikey. Also allow UART0 or UART3 to be chosen via Kconfig. By default we now output to UART3 as the latest version of ATF outputs to this UART. Also UART3 comes out on the LS connector, as opposed to UART0 which goes to a unpopulated header. As part of this change we also enable CONFIG_BOARD_EARLY_INIT_F and call the pinmux configuration code for the UART. Before we were relying on ATF having already configured the pin configuration. NB: Upstream Linux kernel doesn't yet support UART3, so serial console will still be output on UART0 when booting a upstream kernel. Signed-off-by:
Peter Griffin <peter.griffin@linaro.org> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Peter Griffin authored
Most platforms enable these options from Kconfig rather than the configs header file. Signed-off-by:
Peter Griffin <peter.griffin@linaro.org> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Peter Griffin authored
This causes exceptions and other strange behaviour when enabling CONFIG_SYS_MALLOC_F_LEN which is required to migrate the serial driver over to DM_SERIAL. As GD_FLG_FULL_MALLOC_INIT flag gets reset, after relocation we don't end up using the full malloc which ultimately ends up causing a synchronus abort. Signed-off-by:
Peter Griffin <peter.griffin@linaro.org> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Peter Griffin authored
Signed-off-by:
Peter Griffin <peter.griffin@linaro.org> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Peter Griffin authored
Use the #defines in linux/sizes for malloc size as it is more readable. Signed-off-by:
Peter Griffin <peter.griffin@linaro.org> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Peter Griffin authored
Rather than relying on an external URL in the README include the Makefile in the hikey directory. Signed-off-by:
Peter Griffin <peter.griffin@linaro.org>
-
Peter Griffin authored
The README had a few mistakes, and one of the URL's had changed. Also update the boot log with the latest boot trace from ATF, which now includes the mcuimage.bin. Signed-off-by:
Peter Griffin <peter.griffin@linaro.org>
-
Philipp Rosenberger authored
The gd->malloc_ptr and the gd->malloc_limit are offsets to gd->malloc_base. But the addr variable contains the absolute address. The new_ptr must be: addr + bytes - gd->malloc_base. Signed-off-by:
Philipp Rosenberger <ilu@linutronix.de> Reviewed-by:
Hans de Goede <hdegoede@redhat.com>
-
Sekhar Nori authored
When AM437x EVM is connected to Gigabit switch, it takes more time to finish auto-negotiation than on a 10/100 switch. The default 4 second limit times-out more often than not. This is observed when testing with a D-Link DGS-1008A desktop switch. Increase the auto-negotiation time-out for AM437x EVM to handle this case. Signed-off-by:
Sekhar Nori <nsekhar@ti.com>
-
Igor Grinberg authored
Fix typo in CONFIG_FIT description - remove the accidentially added redundand 'the'. Signed-off-by:
Igor Grinberg <grinberg@compulab.co.il> Cc: Masahiro Yamada <yamada.masahiro@socionext.com> Cc: Simon Glass <sjg@chromium.org> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Igor Grinberg authored
The config option has been removed by one of the syncs with the Linux mainline MTD subsystem: ff94bc40 (mtd, ubi, ubifs: resync with Linux-3.14) It has been left inside the config files. Currently does not look to serve any purpose, so remove it now from all the configs. Signed-off-by:
Igor Grinberg <grinberg@compulab.co.il> Cc: Matthias Fuchs <matthias.fuchs@esd-electronics.com> Cc: Stefan Roese <sr@denx.de> Cc: "Albert ARIBAUD (3ADEV)" <albert.aribaud@3adev.fr> Cc: Peter Barada <peter.barada@logicpd.com> Cc: Steve Sakoman <sakoman@gmail.com> Cc: Peter Tyser <ptyser@xes-inc.com> Cc: Joe Hershberger <joe.hershberger@ni.com> Cc: Simon Glass <sjg@chromium.org> Acked-by:
Stefan Roese <sr@denx.de>
-
Bin Meng authored
Some boards' defconfigs are disordered. Reorder them. Signed-off-by:
Bin Meng <bmeng.cn@gmail.com>
-
- 24 Sep, 2015 10 commits
-
-
git://www.denx.de/git/u-boot-imxTom Rini authored
-
git://git.denx.de/u-boot-socfpgaTom Rini authored
-
-
Masahiro Yamada authored
Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com>
-
Masahiro Yamada authored
Currently, the USB boot mode is supported by an external loader and U-boot proper image is put on the section 0. This commit allows access there. Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com>
-
Masahiro Yamada authored
The DDR SDRAM initialization code has not been mainlined yet, but U-Boot proper should work. Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com>
-
Masahiro Yamada authored
The DDR SDRAM initialization code has not been mainlined yet, but U-Boot proper should work. Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com>
-
Masahiro Yamada authored
Before this commit, the Kconfig menu in mach-uniphier only allowed us to choose one SoC to be compiled. Each SoC has its own defconfig file for the build-test coverage. Consequently, some defconfig files are duplicated with only the difference in CONFIG_DEFAULT_DEVICE_TREE and CONFIG_{SOC_NAME}=y. Now, most of board-specific parameters have been moved to device trees, so it makes sense to include init code of multiple SoCs into a single image as long as the SoCs have similar architecture. In fact, some SoCs of UniPhier family are very similar: - PH1-LD4 and PH1-sLD8 - PH1-LD6b and ProXstream2 (will be added in the upcoming commit) This commit will be helpful to merge some defconfig files for better maintainability. Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com>
-
Masahiro Yamada authored
Currently, console=ttyS0 is hard-coded in CONFIG_EXTRA_ENV_SETTINGS and it replaces the bootargs in the chosen node of the device tree passed to the kernel. This is not preferable because I am going to add some boards whose console is not ttyS0. Drop bootargs settings from U-Boot's environment and use the one in device tree by default. Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com>
-
Masahiro Yamada authored
Move init code of low-level debug into a single file. This is helpful to create an image that runs on multiple SoCs. Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com>
-