- 06 5月, 2015 15 次提交
-
-
由 Simon Glass 提交于
Change this function name to something more descriptive. Also return a failure code if it cannot calculate a correct value. Signed-off-by: NSimon Glass <sjg@chromium.org> Acked-by: NHeiko Schocher <hs@denx.de>
-
由 Simon Glass 提交于
Adjust the printf() string to avoid a warning on sandbox. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
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: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
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: NSimon Glass <sjg@chromium.org> Acked-by: NHeiko Schocher <hs@denx.de>
-
由 Simon Glass 提交于
Print a debug() message with the I2C speed is exceeded. Signed-off-by: NSimon Glass <sjg@chromium.org> Acked-by: NHeiko Schocher <hs@denx.de>
-
由 Simon Glass 提交于
This comment should refer to SPI, not serial. Signed-off-by: NSimon Glass <sjg@chromium.org> Reviewed-by: NJagannadha Sutradharudu Teki <jagannadh.teki@gmail.com>
-
由 Simon Glass 提交于
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: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
When starting up, show the protocol version that has been negotiated with the EC. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
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: NSimon Glass <sjg@chromium.org>
-
由 Joe Hershberger 提交于
Indicate to the emulated sandbox Ethernet driver when we expect a timeout and tell it to leap forward. Signed-off-by: NJoe Hershberger <joe.hershberger@ni.com> Acked-by: NSimon Glass <sjg@chromium.org>
-
由 Joe Hershberger 提交于
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: NJoe Hershberger <joe.hershberger@ni.com> Acked-by: NSimon Glass <sjg@chromium.org>
-
由 Joe Hershberger 提交于
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: NJoe Hershberger <joe.hershberger@ni.com> Acked-by: NSimon Glass <sjg@chromium.org>
-
由 Tom Rini 提交于
Signed-off-by: NTom Rini <trini@konsulko.com>
-
由 Max Krummenacher 提交于
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: NMax Krummenacher <max.krummenacher@toradex.com> Signed-off-by: NMarcel Ziswiler <marcel.ziswiler@toradex.com>
-
-
- 05 5月, 2015 25 次提交
-
-
-
由 Stefan Roese 提交于
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: NStefan 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 提交于
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: NStefan Roese <sr@denx.de>
-
由 Stefan Roese 提交于
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: NStefan Roese <sr@denx.de> Tested-by: NKevin Smith <kevin.smith@elecsyscorp.com> Tested-by: NDirk Eibach <dirk.eibach@gdsys.cc>
-
由 Stefan Roese 提交于
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: NStefan Roese <sr@denx.de> Tested-by: NKevin Smith <kevin.smith@elecsyscorp.com> Tested-by: NDirk Eibach <dirk.eibach@gdsys.cc>
-
由 Stefan Roese 提交于
This enables the usage of the "preboot" environment variable on Marvell boards. Signed-off-by: NStefan Roese <sr@denx.de> Tested-by: NKevin Smith <kevin.smith@elecsyscorp.com> Tested-by: NDirk Eibach <dirk.eibach@gdsys.cc>
-
由 Stefan Roese 提交于
We are not using the coherency feature in U-Boot at all. So lets remove this configuration from the mbus driver. Signed-off-by: NStefan Roese <sr@denx.de> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Tested-by: NKevin Smith <kevin.smith@elecsyscorp.com> Tested-by: NDirk Eibach <dirk.eibach@gdsys.cc>
-
由 Stefan Roese 提交于
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: NStefan Roese <sr@denx.de> Tested-by: NKevin Smith <kevin.smith@elecsyscorp.com> Tested-by: NDirk Eibach <dirk.eibach@gdsys.cc> Acked-by: NJoe Hershberger <joe.hershberger@ni.com>
-
由 Stefan Roese 提交于
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: NStefan Roese <sr@denx.de> Tested-by: NKevin Smith <kevin.smith@elecsyscorp.com> Tested-by: NDirk Eibach <dirk.eibach@gdsys.cc>
-
由 Stefan Roese 提交于
This way, new MVEBU boards don't need to specifiy the common location for the SPL linker script. Signed-off-by: NStefan Roese <sr@denx.de> Tested-by: NKevin Smith <kevin.smith@elecsyscorp.com> Tested-by: NDirk Eibach <dirk.eibach@gdsys.cc>
-
由 Stefan Roese 提交于
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: NStefan Roese <sr@denx.de> Tested-by: NKevin Smith <kevin.smith@elecsyscorp.com> Tested-by: NDirk Eibach <dirk.eibach@gdsys.cc>
-
由 Stefan Roese 提交于
MAX_MVNETA_DEVS is not used anywhere in U-Boot. So lets remove it. Signed-off-by: NStefan Roese <sr@denx.de> Tested-by: NKevin Smith <kevin.smith@elecsyscorp.com> Tested-by: NDirk Eibach <dirk.eibach@gdsys.cc>
-
由 Stefan Roese 提交于
Since these files will be used for other MVEBU SoC's, lets reflect this in the headers marcos as well. Signed-off-by: NStefan Roese <sr@denx.de> Tested-by: NKevin Smith <kevin.smith@elecsyscorp.com> Tested-by: NDirk Eibach <dirk.eibach@gdsys.cc>
-
由 Stefan Roese 提交于
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: NStefan Roese <sr@denx.de> Cc: Masahiro Yamada <yamada.masahiro@socionext.com> Tested-by: NKevin Smith <kevin.smith@elecsyscorp.com> Tested-by: NDirk Eibach <dirk.eibach@gdsys.cc>
-
由 Stefan Roese 提交于
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: NStefan Roese <sr@denx.de> Cc: Masahiro Yamada <yamada.masahiro@socionext.com> Tested-by: NKevin Smith <kevin.smith@elecsyscorp.com> Tested-by: NDirk Eibach <dirk.eibach@gdsys.cc>
-
由 Stefan Roese 提交于
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: NStefan Roese <sr@denx.de> Cc: Masahiro Yamada <yamada.masahiro@socionext.com> Tested-by: NKevin Smith <kevin.smith@elecsyscorp.com> Tested-by: NDirk Eibach <dirk.eibach@gdsys.cc>
-
-
-
由 Marek Vasut 提交于
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: NMarek Vasut <marex@denx.de> Cc: Stephen Warren <swarren@wwwdotorg.org> Cc: Tyler Baker <tyler.baker@linaro.org>
-
由 Simon Glass 提交于
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: NSimon Glass <sjg@chromium.org> Reviewed-by: NJoe Hershberger <joe.hershberger@ni.com>
-
由 Alexander Stein 提交于
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: NAlexander Stein <alexanders83@web.de>
-
由 Yangbo Lu 提交于
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: NYangbo Lu <yangbo.lu@freescale.com> Cc: York Sun <yorksun@freescale.com>
-
由 Kevin Liu 提交于
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: NKevin Liu <kliu5@marvell.com> Signed-off-by: NRob Herring <robh@kernel.org> Cc: Pantelis Antoniou <panto@antoniou-consulting.com>
-
由 Rob Herring 提交于
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: NRob Herring <robh@kernel.org> Signed-off-by: NPantelis Antoniou <pantelis.antoniou@konsulko.com> Cc: Pantelis Antoniou <pantelis.antoniou@konsulko.com>
-
由 Andrew Gabbasov 提交于
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: NAndrew Gabbasov <andrew_gabbasov@mentor.com>
-