- May 06, 2015
-
-
Simon Glass authored
Change this function name to something more descriptive. Also return a failure code if it cannot calculate a correct value. Signed-off-by:
Simon Glass <sjg@chromium.org> Acked-by:
Heiko Schocher <hs@denx.de>
-
Simon Glass authored
Adjust the printf() string to avoid a warning on sandbox. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
At present this driver has a few test features. They are needed for running the driver model unit tests but are confusing and unnecessary if using sandbox at the command line. Add a flag to enable the test mode, and don't enable it by default. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Add driver model versions of the legacy functions to read and write a single byte register. These are a useful shortcut in many cases. Signed-off-by:
Simon Glass <sjg@chromium.org> Acked-by:
Heiko Schocher <hs@denx.de>
-
Simon Glass authored
Print a debug() message with the I2C speed is exceeded. Signed-off-by:
Simon Glass <sjg@chromium.org> Acked-by:
Heiko Schocher <hs@denx.de>
-
Simon Glass authored
This comment should refer to SPI, not serial. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Jagannadha Sutradharudu Teki <jagannadh.teki@gmail.com>
-
Simon Glass authored
With several chips using the SPI protocol it seems better to put the single duplex functionality in the EC rather than the SPI driver. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
When starting up, show the protocol version that has been negotiated with the EC. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Only set the speed if it has changed from last time. Since the speed will be 0 when the device is probed it will always be changed on the first transfer after the device is probed. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Joe Hershberger authored
Indicate to the emulated sandbox Ethernet driver when we expect a timeout and tell it to leap forward. Signed-off-by:
Joe Hershberger <joe.hershberger@ni.com> Acked-by:
Simon Glass <sjg@chromium.org>
-
Joe Hershberger authored
When called, the next call to receive will trigger a 10-second leap forward in time to avoid waiting for time to pass when tests are evaluating timeout behavior. Signed-off-by:
Joe Hershberger <joe.hershberger@ni.com> Acked-by:
Simon Glass <sjg@chromium.org>
-
Joe Hershberger authored
Add a function that maintains an offset to include in the system timer values returned from the lib/time.c APIs. This will allow timeouts to be skipped instantly in tests Signed-off-by:
Joe Hershberger <joe.hershberger@ni.com> Acked-by:
Simon Glass <sjg@chromium.org>
-
- May 05, 2015
-
-
Tom Rini authored
Signed-off-by:
Tom Rini <trini@konsulko.com>
-
Max Krummenacher authored
Without this, when CONFIG_ENV_VARS_UBOOT_CONFIG is active we get a compile time error when doing 'make env'. In file included from tools/env/fw_env.c:117:0: include/env_default.h:110:11: error: expected ‘}’ before ‘CONFIG_SYS_ARCH’ When building U-Boot this is included indirectly by the compiler switch -include /home/trdx/git.toradex.com/u-boot-2014.10-toradex/include/linux/kconfig.h Signed-off-by:
Max Krummenacher <max.krummenacher@toradex.com> Signed-off-by:
Marcel Ziswiler <marcel.ziswiler@toradex.com>
-
git://git.denx.de/u-boot-mpc85xxTom Rini authored
-
git://git.denx.de/u-boot-marvellTom Rini authored
-
Stefan Roese authored
By removing this default build target, the "u-boot.kwb" target is not automatically generated. This fixes a temporary build error when using out-of-tree builds, as buildman does per default (reported by Simon). When the full SPL support is added for these targets with the DDR training code, the "u-boot-spl.kwb" image will be generated automatically. Users providing a special bin_hdr binary (binary.0) file can always add this binary file and generate the full firmware image by issuing the "make u-boot.kwb" command directly. Signed-off-by:
Stefan Roese <sr@denx.de> Cc: Simon Glass <sjg@chromium.org> Cc: Prafulla Wadaskar <prafulla@marvell.com> Cc: Luka Perkov <luka.perkov@sartura.hr>
-
Stefan Roese authored
The macro to select the I2C address for ECC bus-width detection was defined incorrectly for the Marvell DB-MV784MP-GP board. This patch changes the macro to the correct value to fix this issue. Signed-off-by:
Stefan Roese <sr@denx.de>
-
Stefan Roese authored
This patch adds support for the Marvell DB-88F6820-GP Armada A38x evaluation board. Supported peripherals are: - UART - Ethernet (mvneta) - I2C - SPI (including SPI NOR flash) Please note that this board support right now only supports the main U-Boot. Without the bin_hdr integration (DDR training etc). This will be added in a few days / weeks to complete this board port. But till then this U-Boot version can be run on the target via the original Marvell U-Boot via this command: tftpboot 4000000 db-88f6820-gp/u-boot.bin;go 4000000 Signed-off-by:
Stefan Roese <sr@denx.de> Tested-by:
Kevin Smith <kevin.smith@elecsyscorp.com> Tested-by:
Dirk Eibach <dirk.eibach@gdsys.cc>
-
Stefan Roese authored
This solves some RX problems that have been seen, when using the mvneta ethernet driver. The cache needs to be reset into a "clean" state before using it. Signed-off-by:
Stefan Roese <sr@denx.de> Tested-by:
Kevin Smith <kevin.smith@elecsyscorp.com> Tested-by:
Dirk Eibach <dirk.eibach@gdsys.cc>
-
Stefan Roese authored
This enables the usage of the "preboot" environment variable on Marvell boards. Signed-off-by:
Stefan Roese <sr@denx.de> Tested-by:
Kevin Smith <kevin.smith@elecsyscorp.com> Tested-by:
Dirk Eibach <dirk.eibach@gdsys.cc>
-
Stefan Roese authored
We are not using the coherency feature in U-Boot at all. So lets remove this configuration from the mbus driver. Signed-off-by:
Stefan Roese <sr@denx.de> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Tested-by:
Kevin Smith <kevin.smith@elecsyscorp.com> Tested-by:
Dirk Eibach <dirk.eibach@gdsys.cc>
-
Stefan Roese authored
With the introduction of the Armada 38x support, its necessary to change the mvneta ethernet driver init call from always 4 times to a configurable value. Lets make this init call more flexible by moving the actually used devices to the config header. Additionally this patch takes care of the slightly different base addresses for the ethernet controllers on A38x. Signed-off-by:
Stefan Roese <sr@denx.de> Tested-by:
Kevin Smith <kevin.smith@elecsyscorp.com> Tested-by:
Dirk Eibach <dirk.eibach@gdsys.cc> Acked-by:
Joe Hershberger <joe.hershberger@ni.com>
-
Stefan Roese authored
This patch adds support for the Marvell Armada 38x SoC family. Supported peripherals are: - UART - Ethernet (mvneta) - I2C - SPI (including SPI NOR flash) Tested on Marvell DB-88F6820-GP evaluation board. Signed-off-by:
Stefan Roese <sr@denx.de> Tested-by:
Kevin Smith <kevin.smith@elecsyscorp.com> Tested-by:
Dirk Eibach <dirk.eibach@gdsys.cc>
-
Stefan Roese authored
This way, new MVEBU boards don't need to specifiy the common location for the SPL linker script. Signed-off-by:
Stefan Roese <sr@denx.de> Tested-by:
Kevin Smith <kevin.smith@elecsyscorp.com> Tested-by:
Dirk Eibach <dirk.eibach@gdsys.cc>
-
Stefan Roese authored
This define is used by the DDR training code for Armada XP. With the upcoming addition of Armada 38x support, lets only define it for Armada XP in this common header. Signed-off-by:
Stefan Roese <sr@denx.de> Tested-by:
Kevin Smith <kevin.smith@elecsyscorp.com> Tested-by:
Dirk Eibach <dirk.eibach@gdsys.cc>
-
Stefan Roese authored
MAX_MVNETA_DEVS is not used anywhere in U-Boot. So lets remove it. Signed-off-by:
Stefan Roese <sr@denx.de> Tested-by:
Kevin Smith <kevin.smith@elecsyscorp.com> Tested-by:
Dirk Eibach <dirk.eibach@gdsys.cc>
-
Stefan Roese authored
Since these files will be used for other MVEBU SoC's, lets reflect this in the headers marcos as well. Signed-off-by:
Stefan Roese <sr@denx.de> Tested-by:
Kevin Smith <kevin.smith@elecsyscorp.com> Tested-by:
Dirk Eibach <dirk.eibach@gdsys.cc>
-
Stefan Roese authored
Now that the mach-mvebu directory exists and is used by Armada XP we can move the mvebu-common files into this directory as well. Signed-off-by:
Stefan Roese <sr@denx.de> Cc: Masahiro Yamada <yamada.masahiro@socionext.com> Tested-by:
Kevin Smith <kevin.smith@elecsyscorp.com> Tested-by:
Dirk Eibach <dirk.eibach@gdsys.cc>
-
Stefan Roese authored
Move arch/arm/include/asm/arch-armada-xp/* -> arch/arm/mach-mvebu/include/mach/* Additionally the SYS_SOC is renamed from "armada-xp" to "mvebu". With this change all these files can better be shared with other, newer Mavell MVEBU SoC's. Like the upcoming Armada 38x support. Signed-off-by:
Stefan Roese <sr@denx.de> Cc: Masahiro Yamada <yamada.masahiro@socionext.com> Tested-by:
Kevin Smith <kevin.smith@elecsyscorp.com> Tested-by:
Dirk Eibach <dirk.eibach@gdsys.cc>
-
Stefan Roese authored
Move arch/arm/cpu/armv7armada-xp/* -> arch/arm/mach-mvebu/* Since this platform will be extended to support other Marvell SoC's as well, lets rename it directly to mvebu. This will be used by the upcoming Armada 38x suport (A38x). Signed-off-by:
Stefan Roese <sr@denx.de> Cc: Masahiro Yamada <yamada.masahiro@socionext.com> Tested-by:
Kevin Smith <kevin.smith@elecsyscorp.com> Tested-by:
Dirk Eibach <dirk.eibach@gdsys.cc>
-
git://git.denx.de/u-boot-mmcTom Rini authored
-
git://git.denx.de/u-boot-armTom Rini authored
-
Marek Vasut authored
The get_timer_us() function is something which is no longer existing in case we use generic timer framework, so replace it with get_timer(). Signed-off-by:
Marek Vasut <marex@denx.de> Cc: Stephen Warren <swarren@wwwdotorg.org> Cc: Tyler Baker <tyler.baker@linaro.org>
-
Simon Glass authored
If the mmc device is non-removable (as indicated by the device tree), set the flag so that users of the device know. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Joe Hershberger <joe.hershberger@ni.com>
-
Alexander Stein authored
We need to clear the allocated memory explicitly as the included struct sdhci_host has function pointers. Those are compared to NULL to test if this (optional) feature is supported. Leaving them undefined let u-boot jump to arbitrary memory. Signed-off-by:
Alexander Stein <alexanders83@web.de>
-
Yangbo Lu authored
Freescale eMMC44 adapter card uses Micron N2M400FDB311A3CF eMMC memory. According to the silicon datasheet, secure erase timeout is 600ms. So increase erase timeout value from 250ms to 600ms. Signed-off-by:
Yangbo Lu <yangbo.lu@freescale.com> Cc: York Sun <yorksun@freescale.com>
-
Kevin Liu authored
Timeout interrupt also work for response busy command(R1b) like cmd38/cmd6. So need to set it accordingly. Current code only set timeout for data command. Signed-off-by:
Kevin Liu <kliu5@marvell.com> Signed-off-by:
Rob Herring <robh@kernel.org> Cc: Pantelis Antoniou <panto@antoniou-consulting.com>
-
Rob Herring authored
High capacity support is not a host capability, but a device capability that is queried via the OCR. The flag in the operating conditions request argument can just be set unconditionally. This matches the Linux implementation. [panto] Hand merged and renumbering MMC_MODE_DDR_52MHz. Signed-off-by:
Rob Herring <robh@kernel.org> Signed-off-by:
Pantelis Antoniou <pantelis.antoniou@konsulko.com> Cc: Pantelis Antoniou <pantelis.antoniou@konsulko.com>
-
Andrew Gabbasov authored
Starting part of device initialization sets the init_in_progress flag only if the MMC card did not yet come to ready state and needs to continue polling. If the card is SD or if the MMC card became ready quickly, the flag is not set and (if using pre-initialization) the starting phase will be re-executed from mmc_init function. Set the init_in_progress flag in all non-error cases. Also, move flags setting statements around so that the flags are not set in error paths. Also, IN_PROGRESS return status becomes unnecessary, so get rid of it. Signed-off-by:
Andrew Gabbasov <andrew_gabbasov@mentor.com>
-