- May 07, 2015
-
-
Masahiro Yamada authored
Because all the SOCFPGA boards define CONFIG_SPL_FRAMEWORK (see include/configs/socfpga_common.h), u-boot.img is automatically added to the target image list by the top Makefile. Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com>
-
Masahiro Yamada authored
The compiler option "-Iboard/$(VENDOR)/$(BOARD)" just exists here for iocsr_config.c to be able to include iocsr_config.h. Use "..." instead of <...> to include a header in the same directory. Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com>
-
- 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>
-
Andrew Gabbasov authored
The polling loops in sd_send_op_cond and mmc_complete_op_cond functions check the ready flag state at the end of the loop, that is after executing a delay inside the loop, which, in case of exiting with no error, is not needed. Also, one of these loops, as well as the loop in mmc_send_status, have the delay just before exiting on timeout conditions. Restructure all these loops to check the respective conditions before making a delay for the next loop pass, and to appropriately exit without the delay. Signed-off-by:
Andrew Gabbasov <andrew_gabbasov@mentor.com>
-
Andrew Gabbasov authored
Some MMC cards come to ready state quite quickly, so that the respective flag appears to be set in mmc_send_op_cond already. In this case trying to continue polling the card with CMD1 in mmc_complete_op_cond is incorrect and may lead to unpredictable results. So check the flag before polling and skip it appropriately. Signed-off-by:
Andrew Gabbasov <andrew_gabbasov@mentor.com>
-
Andrew Gabbasov authored
The previous change to use 'ocr' structure field for storing send_op_cond command response also stopped using command response directly outside of mmc_send_op_cond_iter(). Now it becomes possible to use command structure in mmc_send_op_cond_iter() locally, removing a necessity to pass it as an argument from the caller. Signed-off-by:
Andrew Gabbasov <andrew_gabbasov@mentor.com>
-
Andrew Gabbasov authored
The 'op_cond_response' field in mmc structure contains the response from the last SEND_OP_COND MMC command while making iterational polling of the card. Later it is copied to 'ocr' field, designed to contain the OCR register value, which is actually the same response from the same command. So, these fields have actually the same data, just in different time periods. It's easier to use the same 'ocr' field in both cases at once, without temporary using of the 'op_cond_response' field. Signed-off-by:
Andrew Gabbasov <andrew_gabbasov@mentor.com>
-
Andrew Gabbasov authored
The version flag constant name used in IS_MMC macro is incorrect/undefined. Signed-off-by:
Andrew Gabbasov <andrew_gabbasov@mentor.com>
-
Albert ARIBAUD authored
-
- May 04, 2015
-
-
git://git.denx.de/u-boot-sunxiTom Rini authored
-
Oleksandr G Zhadan authored
New QorIQ p1020 based board support from Arcturus Networks Inc. http://www.arcturusnetworks.com/products/ucp1020/ Signed-off-by:
Michael Durrant <mdurrant@arcturusnetworks.com> Signed-off-by:
Oleksandr G Zhadan <oleks@arcturusnetworks.com> [York Sun: remove patman tags from commit message] Reviewed-by:
York Sun <yorksun@freescale.com>
-
Oleksandr G Zhadan authored
To replicate: 1. add to include/configs/p1_p2_rdb_pc.h "#define CONFIG_CMD_GPIO" 2. run `make P1020RDB-PC_defconfig` 3. run CROSS_COMPILE=powerpc-linux- make and you will get: common/built-in.o: In function `do_gpio': u-boot/common/cmd_gpio.c:186: undefined reference to `gpio_request' u-boot/common/cmd_gpio.c:194: undefined reference to `gpio_direction_input' u-boot/common/cmd_gpio.c:195: undefined reference to `gpio_get_value' u-boot/common/cmd_gpio.c:200: undefined reference to `gpio_get_value' u-boot/common/cmd_gpio.c:203: undefined reference to `gpio_direction_output' u-boot/common/cmd_gpio.c:209: undefined reference to `gpio_free Signed-off-by:
Michael Durrant <mdurrant@arcturusnetworks.com> Signed-off-by:
Oleksandr G Zhadan <oleks@arcturusnetworks.com> Reviewed-by:
York Sun <yorksun@freescale.com>
-
Shaohui Xie authored
1. board/freescale/t4qds/t4_rcw.cfg 1.8GHz support is requested as default frequency, so update the rcw. 2. remove un-used configs configs/T4160QDS_SPIFLASH_defconfig configs/T4240QDS_SPIFLASH_defconfig SPI boot is not available on T4QDS, so the configs should be removed. 3. board/freescale/t4qds/MAINTAINERS Updated MAINTAINERS accordingly. Signed-off-by:
Shaohui Xie <Shaohui.Xie@freescale.com> [York Sun: revise subject] Reviewed-by:
York Sun <yorksun@freescale.com>
-