- 21 11月, 2014 7 次提交
-
-
由 Simon Glass 提交于
Add an additional function for adding information to the device tree before booting. This permits additions which are not board-specific. Signed-off-by: NSimon Glass <sjg@chromium.org> Acked-by: NAnatolij Gustschin <agust@denx.de> Reviewed-by: NTom Rini <trini@ti.com>
-
由 Simon Glass 提交于
The message about needing to reset should be printed no matter what error is printed. Also, an error should always be printed. Signed-off-by: NSimon Glass <sjg@chromium.org> Acked-by: NAnatolij Gustschin <agust@denx.de> Reviewed-by: NTom Rini <trini@ti.com>
-
由 Simon Glass 提交于
Flash regions can optionally be compressed or hashed. Add the ability to read this information from the flashmap. Signed-off-by: NSimon Glass <sjg@chromium.org> Acked-by: NAnatolij Gustschin <agust@denx.de> Reviewed-by: NTom Rini <trini@ti.com>
-
由 Simon Glass 提交于
Use the correct FDT data types for this function. Also add more debugging. Acked-by: NAnatolij Gustschin <agust@denx.de> Signed-off-by: NSimon Glass <sjg@chromium.org> Reviewed-by: NTom Rini <trini@ti.com>
-
由 Simon Glass 提交于
This function is useful for ensuring that a node exists. Export it so it can be used more widely. Signed-off-by: NSimon Glass <sjg@chromium.org> Acked-by: NAnatolij Gustschin <agust@denx.de> Reviewed-by: NTom Rini <trini@ti.com>
-
由 Simon Glass 提交于
Since this function can fail, print a message when it does. Signed-off-by: NSimon Glass <sjg@chromium.org> Acked-by: NAnatolij Gustschin <agust@denx.de> Reviewed-by: NTom Rini <trini@ti.com>
-
由 Simon Glass 提交于
This function can fail if the device tree runs out of space. Rather than silently booting with an incomplete device tree, allow the failure to be detected. Unfortunately this involves changing a lot of places in the code. I have not changed behvaiour to return an error where one is not currently returned, to avoid unexpected breakage. Eventually it would be nice to allow boards to register functions to be called to update the device tree. This would avoid all the many functions to do this. However it's not clear yet if this should be done using driver model or with a linker list. This work is left for later. Signed-off-by: NSimon Glass <sjg@chromium.org> Acked-by: NAnatolij Gustschin <agust@denx.de>
-
- 20 11月, 2014 3 次提交
-
-
- 19 11月, 2014 12 次提交
-
-
由 Stefan Roese 提交于
When an MPC5200 based board is used with SPL support, the main U-Boot needs to clear the GD (global data) struct again. Otherwise the generic board init code in board_init_f (when CONFIG_SYS_GENERIC_BOARD is defined) will not initialize all GD variables correctly. Resulting in a hangup on the a4m2k board. Signed-off-by: NStefan Roese <sr@denx.de> Cc: Wolfgang Denk <wd@denx.de>
-
由 Stefan Roese 提交于
a3m071 and a4m2k share one config header. So adding the generic board defines in this one file is enough to convert both boards. Signed-off-by: NStefan Roese <sr@denx.de> Cc: Wolfgang Denk <wd@denx.de>
-
由 Stefan Roese 提交于
Signed-off-by: NStefan Roese <sr@denx.de> Cc: Wolfgang Denk <wd@denx.de>
-
由 Dirk Eibach 提交于
The gdsys hrcon board is based on a Freescale MPC8308 SOC. It boots from NOR-Flash, kernel and rootfs are stored on SD-Card. On board peripherals include: - 1x GbE (optional) - Lattice ECP3 FPGA connected via eLBC and PCIe Signed-off-by: NDirk Eibach <dirk.eibach@gdsys.cc> Signed-off-by: NStefan Roese <sr@denx.de>
-
由 Dirk Eibach 提交于
Wolfgang Denk found this issue using cppcheck: (error) Uninitialized variable: fpga_features Signed-off-by: NDirk Eibach <dirk.eibach@gdsys.cc> Signed-off-by: NStefan Roese <sr@denx.de>
-
由 Dirk Eibach 提交于
Signed-off-by: NDirk Eibach <dirk.eibach@gdsys.cc> Signed-off-by: NStefan Roese <sr@denx.de>
-
由 Dirk Eibach 提交于
Signed-off-by: NDirk Eibach <dirk.eibach@gdsys.cc> Signed-off-by: NStefan Roese <sr@denx.de>
-
由 Dirk Eibach 提交于
Addressing was completely broken for cmd_fpgad. Signed-off-by: NDirk Eibach <dirk.eibach@gdsys.cc> Signed-off-by: NStefan Roese <sr@denx.de>
-
由 Dirk Eibach 提交于
The device id makes u-boot think that this chip needs cfi_reverse_geometry(), which is not the case. Add it to jedec_flash, so it is handled properly. Signed-off-by: NDirk Eibach <dirk.eibach@gdsys.cc> Signed-off-by: NStefan Roese <sr@denx.de>
-
由 Dirk Eibach 提交于
Tune dlvision configuration similar to other gdsys boards to reduce memory footprint. Signed-off-by: NDirk Eibach <dirk.eibach@gdsys.cc> Signed-off-by: NStefan Roese <sr@denx.de>
-
由 Andrew Ruder 提交于
The UBI layer will disable much of its error reporting when it is compiled into the linux kernel to avoid stopping boot. We want this error reporting in U-Boot since we don't initialize the UBI layer until it is used and want the error reporting. We force this by telling the UBI layer we are building as a module. Signed-off-by: NAndrew Ruder <andrew.ruder@elecsyscorp.com> Cc: Wolfgang Denk <wd@denx.de> Cc: Heiko Schocher <hs@denx.de> Cc: Kyungmin Park <kmpark@infradead.org>
-
由 Heiko Schocher 提交于
ff94bc40 "mtd, ubi, ubifs: resync with Linux-3.14" introduced the writebufsize field in struct mtd_info, which is not initialized in the cfi_flash driver, which leads in not working ubi on cfi flashes. Fix it Signed-off-by: NHeiko Schocher <hs@denx.de> Reported-by: NAndrew Ruder <andrew.ruder@elecsyscorp.com> Acked-by: NStefan Roese <sr@denx.de> Acked-by: NAndrew Ruder <andrew.ruder@elecsyscorp.com>
-
- 17 11月, 2014 18 次提交
-
-
由 Bo Shen 提交于
The code for this board supports following features: - Boot media support: NAND flash/SD card/SPI flash - Support LCD display (optional, disabled by default) - Support ethernet - Support USB mass storage Signed-off-by: NBo Shen <voice.shen@atmel.com> Signed-off-by: NAndreas Bießmann <andreas.devel@googlemail.com>
-
由 Bo Shen 提交于
The code for this board supports following features: - Boot media support: NAND flash/SD card/SPI flash - Support LCD display - Support ethernet - Support USB mass storage Signed-off-by: NBo Shen <voice.shen@atmel.com> Signed-off-by: NAndreas Bießmann <andreas.devel@googlemail.com>
-
由 Bo Shen 提交于
The User Register in GMAC IP is used to select interface type. When with GE feature, it is used to select interface between RGMII and GMII. If without GE feature, it is used to select interface between MII and RMII. Signed-off-by: NBo Shen <voice.shen@atmel.com> Signed-off-by: NAndreas Bießmann <andreas.devel@googlemail.com>
-
由 Josh Wu 提交于
As in SAMA5D4 SoC, the gf table in ROM code can not be seen. So, when we try to use PMECC, we need to build it when do initialization. Add a macro NO_GALOIS_TABLE_IN_ROM in soc header file. If it is defined we will build gf table runtime. The PMECC use the BCH algorithm, so based on the build_gf_tables() function in lib/bch.c, we can build the Galois Field lookup table. Signed-off-by: NJosh Wu <josh.wu@atmel.com> Signed-off-by: NBo Shen <voice.shen@atmel.com> Signed-off-by: NAndreas Bießmann <andreas.devel@googlemail.com>
-
由 Heiko Schocher 提交于
replaces the at91bootstrap code with SPL code. make the spl image with: ./tools/mkimage -T atmelimage -d spl/u-boot-spl.bin spl/boot.bin this writes the length of the spl image into the 6th execption vector. This is needed from the ROM bootloader. Signed-off-by: NHeiko Schocher <hs@denx.de> Reviewed-by: NBo Shen <voice.shen@atmel.com> Reviewed-by: NAndreas Bießmann <andreas.devel@googlemail.com> Signed-off-by: NAndreas Bießmann <andreas.devel@googlemail.com>
-
由 Heiko Schocher 提交于
replaces the at91bootstrap code with SPL code. make the spl image with: ./tools/mkimage -T atmelimage -d spl/u-boot-spl.bin spl/boot.bin this writes the length of the spl image into the 6th execption vector. This is needed from the ROM bootloader. Signed-off-by: NHeiko Schocher <hs@denx.de> Reviewed-by: NBo Shen <voice.shen@atmel.com> Signed-off-by: NAndreas Bießmann <andreas.devel@googlemail.com>
-
由 Heiko Schocher 提交于
add support for using spl code on at91sam9260 and at91sam9g45 based boards. Signed-off-by: NHeiko Schocher <hs@denx.de> Reviewed-by: NBo Shen <voice.shen@atmel.com> Reviewed-by: NAndreas Bießmann <andreas.devel@googlemail.com> [adopt Bo's change in spl.c] Signed-off-by: NAndreas Bießmann <andreas.devel@googlemail.com>
-
由 Heiko Schocher 提交于
device ready pin is signalling that the device is ready on state 1 not on 0. Simmiliar as it is in drivers/mtd/nand/nand_spl_simple.c Signed-off-by: NHeiko Schocher <hs@denx.de> Reviewed-by: NAndreas Bießmann <andreas.devel@googlemail.com> Reviewed-by: NBo Shen <voice.shen@atmel.com> Acked-by: NScott Wood <scottwood@freescale.com> Signed-off-by: NAndreas Bießmann <andreas.devel@googlemail.com>
-
由 Heiko Schocher 提交于
erase one nand block in spl code. keep it simple, as size matters This is used on the upcoming taurus spl support. Signed-off-by: NHeiko Schocher <hs@denx.de> Acked-by: NScott Wood <scottwood@freescale.com> Reviewed-by: NBo Shen <voice.shen@atmel.com> Reviewed-by: NAndreas Bießmann <andreas.devel@googlemail.com> Signed-off-by: NAndreas Bießmann <andreas.devel@googlemail.com>
-
由 Heiko Schocher 提交于
using this driver in SPL code with CONFIG_SPL_NAND_ECC configured leads in an compileerror. Fix this. Signed-off-by: NHeiko Schocher <hs@denx.de> Reviewed-by: NAndreas Bießmann <andreas.devel@googlemail.com> Reviewed-by: NBo Shen <voice.shen@atmel.com> [fix subject] Signed-off-by: NAndreas Bießmann <andreas.devel@googlemail.com>
-
由 Heiko Schocher 提交于
enable to boot only a raw u-boot.bin image from nand with the CONFIG_SPL_NAND_RAW_ONLY define. This option saves space on boards where spl space is low. Signed-off-by: NHeiko Schocher <hs@denx.de> Reviewed-by: NAndreas Bießmann <andreas.devel@googlemail.com> Reviewed-by: NBo Shen <voice.shen@atmel.com> Signed-off-by: NAndreas Bießmann <andreas.devel@googlemail.com>
-
由 Heiko Schocher 提交于
Signed-off-by: NHeiko Schocher <hs@denx.de> Reviewed-by: NBo Shen <voice.shen@atmel.com> Signed-off-by: NAndreas Bießmann <andreas.devel@googlemail.com>
-
由 Heiko Schocher 提交于
- compile mpddrc ram init code also for AT91SAM9M10G45 based boards. - in CONFIG_SAMA5D3 case, look for the ATMEL_MPDDRC_CR_DECOD_INTERLEAVED in the cr configuration Signed-off-by: NHeiko Schocher <hs@denx.de> Reviewed-by: NAndreas Bießmann <andreas.devel@googlemail.com> Reviewed-by: NBo Shen <voice.shen@atmel.com> Signed-off-by: NAndreas Bießmann <andreas.devel@googlemail.com>
-
由 Heiko Schocher 提交于
use the configure value for computing the ba_off value not the value from the cr register. This leaded in a wrong ram configuration on the upcoming corvus spl board support. Signed-off-by: NHeiko Schocher <hs@denx.de> Reviewed-by: NAndreas Bießmann <andreas.devel@googlemail.com> Signed-off-by: NAndreas Bießmann <andreas.devel@googlemail.com>
-
由 Heiko Schocher 提交于
Signed-off-by: NHeiko Schocher <hs@denx.de> Reviewed-by: NBo Shen <voice.shen@atmel.com> Reviewed-by: NJagannadha Sutradharudu Teki <jagannadh.teki@gmail.com> Signed-off-by: NAndreas Bießmann <andreas.devel@googlemail.com>
-
由 Heiko Schocher 提交于
move CONFIG_SYS_SPI_WRITE_TOUT into drivers/spi/atmel_spi.h and define a default value. Delete this define in the board config files, where it is possible (all boards use currently the same value). Signed-off-by: NHeiko Schocher <hs@denx.de> Reviewed-by: NJagannadha Sutradharudu Teki <jagannadh.teki@gmail.com> Reviewed-by: NAndreas Bießmann <andreas.devel@googlemail.com> Signed-off-by: NAndreas Bießmann <andreas.devel@googlemail.com>
-
由 Heiko Schocher 提交于
generate the boot.bin file for all atmel SoC (arm920, arm926, armv7) Signed-off-by: NHeiko Schocher <hs@denx.de> Reviewed-by: NAndreas Bießmann <andreas.devel@googlemail.com> Reviewed-by: NMasahiro Yamada <yamada.m@jp.panasonic.com> [fix subject] Signed-off-by: NAndreas Bießmann <andreas.devel@googlemail.com>
-
由 Bo Shen 提交于
The clock source for master clock can be slow clock, main clock, plla clock or upll clock. So, make the clock source selection field in mckr can be configured. Signed-off-by: NBo Shen <voice.shen@atmel.com> Signed-off-by: NAndreas Bießmann <andreas.devel@googlemail.com>
-