summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)Author
2012-10-03lacie_kw: add support for EFI partitionsSimon Guinot
Defines CONFIG_EFI_PARTITION for LaCie boards. Additionally this patch defines CONFIG_DOS_PARTITION. Note that this definition is implicit in mv_common.h when CONFIG_CMD_USB is enabled. Signed-off-by: Simon Guinot <[email protected]>
2012-10-03rmobile: armadillo-800eva: Remove CONFIG_SYS_NO_L2CACHENobuhiro Iwamatsu
armadillo-800eva needs this config. Signed-off-by: Nobuhiro Iwamatsu <[email protected]> Signed-off-by: Nobuhiro Iwamatsu <[email protected]>
2012-10-03rmobile: armadillo-800eva: Add Support NFS and BOOTZ commandNobuhiro Iwamatsu
Signed-off-by: Nobuhiro Iwamatsu <[email protected]> Signed-off-by: Nobuhiro Iwamatsu <[email protected]>
2012-10-03rmobile: armadillo-800eva: Add Support CONFIG_OF_LIBFDTNobuhiro Iwamatsu
Signed-off-by: Nobuhiro Iwamatsu <[email protected]> Signed-off-by: Nobuhiro Iwamatsu <[email protected]>
2012-10-03arm: rmobile: Add support for ATMARK-TECHNO Armadillo-800EVA boardHideyuki Sano
The Armadillo-800EVA board has Renesas R-Mobile R8A7740, 512MB DDR3-SDRAM, Ethernet, and more. This patch supports the following functions: - 512MB DDR3-SDRAM - Serial console (SCIF) - Ethernet MAC(MII) & PHY(SMSC) Signed-off-by: Hideyuki Sano <[email protected]> Signed-off-by: Nobuhiro Iwamatsu <[email protected]> Signed-off-by: Nobuhiro Iwamatsu <[email protected]>
2012-10-03arm: rmobile: kzm9g: Add CONFIG_GLOBAL_TIMER to board config fileNobuhiro Iwamatsu
kzm9g board use global timer. But by commit 813ffda31, timer function of rmobile was changed that global timer might be used, when CONFIG_GLOBAL_TIMER was defined. This add CONFIG_GLOBAL_TIMER to board config file. Signed-off-by: Nobuhiro Iwamatsu <[email protected]> Signed-off-by: Nobuhiro Iwamatsu <[email protected]>
2012-10-03arm: rmobile: Add support TMU base timer functionNobuhiro Iwamatsu
Some rmobile SoC has TMU base timer function. This supports TMU. Signed-off-by: Nobuhiro Iwamatsu <[email protected]> Signed-off-by: Nobuhiro Iwamatsu <[email protected]>
2012-10-03arm: rmobile: kzm9g: remove unrelated configNobuhiro Iwamatsu
Remove CONFIG_ARM_CORTEXA9. Signed-off-by: Nobuhiro Iwamatsu <[email protected]> Signed-off-by: Nobuhiro Iwamatsu <[email protected]>
2012-10-03arm: rmobile: kzm9g: Add LIBFDT supportNobuhiro Iwamatsu
Signed-off-by: Nobuhiro Iwamatsu <[email protected]> Signed-off-by: Nobuhiro Iwamatsu <[email protected]>
2012-10-03arm: rmobile: kzm9g: remove unrelated configTetsuyuki Kobayashi
Remove CONFIG_INTEGRATOR and CONFIG_ARCH_CINTEGRATOR. These are not for kzm9g. Signed-off-by: Tetsuyuki Kobayashi <[email protected]> Signed-off-by: Nobuhiro Iwamatsu <[email protected]>
2012-10-03arm: rmobile: kzm9g: add NFS_TIMEOUT in config fileTetsuyuki Kobayashi
Set NFS_TIMEOUT to 10,000 msec. Signed-off-by: Tetsuyuki Kobayashi <[email protected]> Signed-off-by: Nobuhiro Iwamatsu <[email protected]>
2012-10-03arm: rmobile: kzm9g: Fix CONFIG_BAUDRATE settingTetsuyuki Kobayashi
The value of CONFIG_BAUDRATE is treated as string and put as initial value of environment variable. If it begin with '(', it is wrongly parsed to 0 in number. So I removed '(' and ')'. Signed-off-by: Tetsuyuki Kobayashi <[email protected]> Signed-off-by: Nobuhiro Iwamatsu <[email protected]>
2012-10-03arm: rmobile: kzm9g: change prompt to board specificTetsuyuki Kobayashi
Change U-Boot prompt to board specific one. Signed-off-by: Tetsuyuki Kobayashi <[email protected]> Signed-off-by: Nobuhiro Iwamatsu <[email protected]>
2012-10-03arm: rmobile: kzm9g: Modify sdram areaTetsuyuki Kobayashi
Reserve first 16MB for RT-CPU (as same as kernel config). Signed-off-by: Tetsuyuki Kobayashi <[email protected]> Signed-off-by: Nobuhiro Iwamatsu <[email protected]>
2012-10-03arm: rmobile: Add supoprt for KMC KZM-A9-GT boardNobuhiro Iwamatsu
The KZM-A9-GT board has Renesas R-Mobile SH73A0, 512MB DDR2-SDRAM, USB, Ethernet, and more. This patch supports the following functions: - 512MB DDR2-SDRAM - 16MB NOR Flash memory - Serial console (SCIF) - Ethernet (SMSC) - I2C Signed-off-by: Nobuhiro Iwamatsu <[email protected]> Signed-off-by: Nobuhiro Iwamatsu <[email protected]>
2012-10-01omap4_panda: remove CONFIG_PANDA, not usedPeter Meerwald
Signed-off-by: Peter Meerwald <[email protected]>
2012-10-01am335x-evm config: decrease bootdelay to 1s and mount rootfs ROKoen Kooi
A fast boot is important to the beaglebone, so save 2 seconds here by decreasing bootdelay. This is still plenty time to break into the prompt, I do that at least once a day. Mount the rootfs RO by default, this is needed to make fsck succeed without resorting to an initramfs. Signed-off-by: Koen Kooi <[email protected]>
2012-10-01OMAP: networking support for SPLIlya Yanok
This patch adds support for networking in SPL. Some devices are capable of loading SPL via network so it makes sense to load the main U-Boot binary via network too. This patch tries to use existing network code as much as possible. Unfortunately, it depends on environment which in turn depends on other code so SPL size is increased significantly. No effort was done to decouple network code and environment so far. Signed-off-by: Ilya Yanok <[email protected]> Acked-by: Joe Hershberger <[email protected]> Signed-off-by: Tom Rini <[email protected]>
2012-10-01am335x_evm: enable networking in SPLIlya Yanok
This patch adds support for networking in SPL on TI AM335x based boards. Vendor Class Identifier used by SPL during BOOTP is "AM335x U-Boot SPL". Signed-off-by: Ilya Yanok <[email protected]>
2012-10-01davinci: ea20: add some configs and default environmet variablesBastian Ruppert
Signed-off-by: Bastian Ruppert <[email protected]> CC: Tom Rini <[email protected]> Acked-by: Stefano Babic <[email protected]>
2012-10-01davinci: ea20: the console is always set to the serial lineBastian Ruppert
Do not allow to overwrite it when video is enabled. Signed-off-by: Bastian Ruppert <[email protected]> CC: Tom Rini <[email protected]> Acked-by: Stefano Babic <[email protected]>
2012-10-01devkit8000: add rootwait to mmcboot optionAndreas Bießmann
Signed-off-by: Andreas Bießmann <[email protected]> cc: Thomas Weber <[email protected]>
2012-09-30Merge remote-tracking branch 'u-boot/master'Albert ARIBAUD
2012-09-29lib: add gzip lib function callbackLei Wen
Signed-off-by: Lei Wen <[email protected]>
2012-09-29lib: zlib: include deflate into zlib buildLei Wen
Add a new config CONFIG_GZIP_ENABLED, if enabled, the uboot bin would include zlib's deflate method which could be used for compressing. Signed-off-by: Lei Wen <[email protected]>
2012-09-29Merge remote-tracking branch 'u-boot-imx/master'Albert ARIBAUD
2012-09-29Merge remote-tracking branch 'u-boot-atmel/master'Albert ARIBAUD
2012-09-27Merge branch 'master' of git://git.denx.de/u-boot-netTom Rini
2012-09-27SPL: SPI: Enhance spi_spl_load to match the other load functionsTom Rini
Signed-off-by: Tom Rini <[email protected]>
2012-09-27SPL: Add option to skip copying of the mkimage headerStefan Roese
On some system (e.g. powerpc), the load-address and entry-point is located at address 0. So the current approach to load the image (payload) including the header to the address "load-address - 64" can't work here. This patch adds an flag to skip this copying including header to the SPL framework. By setting SPL_COPY_PAYLOAD_ONLY, only the playload will be copied. This will be used by the SPL NOR flash driver on powerpc. Signed-off-by: Stefan Roese <[email protected]> Signed-off-by: Tom Rini <[email protected]>
2012-09-27SPL: Add NOR flash booting supportStefan Roese
SPL NOR flash booting support is quite simple. Only copying of the images is needed. On MPC5xxx we need to make sure to only use the standard memcpy() implementation and not the MPC5xxx specific one. As the MPC5xxx version has some complexity which is not needed for this SPL booting. Signed-off-by: Stefan Roese <[email protected]> Signed-off-by: Tom Rini <[email protected]>
2012-09-27hawkboard: Update config file to work with common spl frameworkSughosh Ganu
The common spl framework expects the u-boot payload size through CONFIG_SYS_MONITOR_LEN. Define the macro with the u-boot's size. With this change, CONFIG_SYS_NAND_U_BOOT_SIZE is no longer required. Delete the same. Signed-off-by: Tom Rini <[email protected]> Signed-off-by: Sughosh Ganu <[email protected]>
2012-09-27ARM: SPL: Convert davinci to CONFIG_SPL_FRAMEWORKTom Rini
- Convert the non-relocation part of board_init_f to spl_board_init, turn on CONFIG_SPL_BOARD_INIT in the configs. - Remove duplicated code. - Add spl_boot_device() that returns the statically chosen boot device. Signed-off-by: Tom Rini <[email protected]>
2012-09-27net/phy: support the mv88e6352 switchValentin Longchamp
This patch add support for the configuration of an external switch from the 88E6xxx series from Marvell trough an MDIO link using indirect adressing. This can be used if we do not want to use an EEPROM for the configuration. This driver is not generic and was not tested on other switches than the 88e6352. This is proposed as a first implementation that is somewhat limited but works and that can be used as a basis for further developments for this switch family. Signed-off-by: Valentin Longchamp <[email protected]> cc: Holger Brunck <[email protected]> cc: Prafulla Wadaskar <[email protected]> cc: Joe Hershberger <[email protected]>
2012-09-27SPL: Create arch/arm/lib/spl.c for board_init_f and jump_to_image_linuxTom Rini
In SPL (CONFIG_SPL_FRAMEWORK) board_init_f must setup the stack pointer, clear the BSS and call board_init_r. We mark this as weak as some platforms may need to perform additional initalization at this point. We provide a gd that we know will be in a usable location, once the BSS has been cleared to help with this as well. Finally, we no longer call relocate_code so remove that from the armv7 version. Next, both board_init_f and jump_to_image_linux are going to be inherently arch-specific, so move these versions to arch/arm/lib/spl.c Signed-off-by: Tom Rini <[email protected]>
2012-09-27SPL: Move the omap SPL framework to common/splTom Rini
Add a new flag, CONFIG_SPL_FRAMEWORK to opt into the common/spl SPL framework, enable on all of the previously using boards. We move the spl_ymodem.c portion to common/ and spl_mmc.c to drivers/mmc/. We leave the NAND one in-place as we plan to replace it later in this series. We use common/spl to avoid linker problems with respect to merging constant strings in objects. Otherwise all strings in common/ will be linked in and kept which grows SPL in size too much. Signed-off-by: Tom Rini <[email protected]>
2012-09-27ARM: SPL: Move gpmc_init() to spl_board_init()Tom Rini
This is an OMAP/related-specific function, move calling it to spl_board_init() and turn on CONFIG_SPL_BOARD_INIT on the boards that enabled NAND and didn't enable this already. Signed-off-by: Tom Rini <[email protected]>
2012-09-27omap-common: SPL: Add CONFIG_SPL_DISPLAY_PRINT / spl_display_print()Tom Rini
Only omap4/5 currently have a meaningful set of display text and overo had been adding a function to display nothing. Change how this works to be opt-in and only turned on for omap4/5 now. Signed-off-by: Tom Rini <[email protected]>
2012-09-26FAT: Make it possible to read from any file positionBenoît Thébaudeau
When storage devices contain files larger than the embedded RAM, it is useful to be able to read these files by chunks, e.g. for a software update to the embedded NAND Flash from an external storage device (USB stick, SD card, etc.). Hence, this patch makes it possible by adding a new FAT API to read files from a given position. This patch also adds this feature to the fatload command. Signed-off-by: Benoît Thébaudeau <[email protected]> Cc: Wolfgang Denk <[email protected]> Signed-off-by: Tom Rini <[email protected]>
2012-09-26malloc: remove extern declarations of malloc_bin_reloc() in board.c filesDaniel Schwierzeck
Declare malloc_bin_reloc() in malloc.h and remove all extern declarations in various board.c files to get rid of one checkpatch.pl warning. Signed-off-by: Daniel Schwierzeck <[email protected]> Cc: Wolfgang Denk <[email protected]> Cc: Andreas Bießmann <[email protected]> Cc: Jason Jin <[email protected]> Cc: Macpaul Lin <[email protected]> Cc: Daniel Hellstrom <[email protected]> Acked-by: Andreas Bießmann <[email protected]>
2012-09-26net: Add driver for Zynq Gem IPMichal Simek
Device driver for Zynq Gem IP. Signed-off-by: Michal Simek <[email protected]> CC: Joe Hershberger <[email protected]> CC: Marek Vasut <[email protected]> Acked-by: Marek Vasut <[email protected]>
2012-09-26net: introduce transparent driver private in ueth_dataLucas Stach
Avoid clutter in ueth_data. Individual drivers should not mess with structures belonging to the core like this. Signed-off-by: Lucas Stach <[email protected]> Reviewed-by: Marek Vasut <[email protected]> Acked-by: Marek Vasut <[email protected]> Acked-by: Joe Hershberger <[email protected]>
2012-09-25disk: part_efi: parse and store partition UUIDStephen Warren
Each EFI partition table entry contains a UUID. Extend U-Boot's struct disk_partition to be able to store this information, and modify get_partition_info_efi() to fill it in. The implementation of uuid_string() was derived from the Linux kernel, tag v3.6-rc4 file lib/vsprintf.c function uuid_string(). Signed-off-by: Stephen Warren <[email protected]>
2012-09-25disk: get_device_and_partition() "auto" partition and cleanupStephen Warren
Rework get_device_and_partition() to: a) Implement a new partition ID of "auto", which requests that U-Boot search for the first "bootable" partition, and fall back to the first valid partition if none is found. This way, users don't need to specify an explicit partition in their commands. b) Make use of get_device(). c) Add parameter to indicate whether returning a whole device is acceptable, or whether a partition is mandatory. d) Make error-checking of the user's device-/partition-specification more complete. In particular, if strtoul() doesn't convert all characters, it's an error rather than just ignored. The resultant device/partition returned by the function will be as follows, based on whether the disk has a partition table (ptable) or not, and whether the calling command allows the whole device to be returned or not. (D and P are integers, P >= 1) D D: No ptable: !allow_whole_dev: error allow_whole_dev: device D ptable: device D partition 1 D:0 !allow_whole_dev: error allow_whole_dev: device D D:P No ptable: error ptable: device D partition P D:auto No ptable: !allow_whole_dev: error allow_whole_dev: device D ptable: first partition in device D with bootable flag set. If none, first valid paratition in device D. Note: In order to review this patch, it's probably easiest to simply look at the file contents post-application, rather than reading the patch itself. Signed-off-by: Rob Herring <[email protected]> [swarren: Rob implemented scanning for bootable partitions. I fixed a couple of issues there, switched the syntax to ":auto", added the error-checking rework, and ":0" syntax for the whole device] Signed-off-by: Stephen Warren <[email protected]>
2012-09-25disk: introduce get_device()Stephen Warren
This patch introduces function get_device(). This looks up a block_dev_desc_t from an interface name (e.g. mmc) and device number (e.g. 0). This function is essentially the non-partition-specific prefix of get_device_and_partition(). Signed-off-by: Stephen Warren <[email protected]>
2012-09-25cmd_reiser: use common get_device_and_partition functionRob Herring
Convert reiserload and reiserls to use common device and partition parsing function. With the common function "dev:part" can come from the environment and a '-' can be used in that case. Signed-off-by: Rob Herring <[email protected]>
2012-09-25cmd_zfs: use common get_device_and_partition functionRob Herring
Convert zfsload and zfsls to use common device and partition parsing function. With the common function "dev:part" can come from the environment and a '-' can be used in that case. Signed-off-by: Rob Herring <[email protected]>
2012-09-25cmd_extX: use common get_device_and_partition functionRob Herring
Convert ext2/4 load, ls, and write functions to use common device and partition parsing function. With the common function "dev:part" can come from the environment and a '-' can be used in that case. Signed-off-by: Rob Herring <[email protected]>
2012-09-25ext4: remove init_fs/deinit_fsRob Herring
There's no real need to expose this and it can be removed by using a static allocation. Signed-off-by: Rob Herring <[email protected]>
2012-09-25disk/part: introduce get_device_and_partitionRob Herring
All block device related commands (scsiboot, fatload, ext2ls, etc.) have simliar duplicated device and partition parsing and selection code. This adds a common function to replace various implementations. The new function has an enhancement over current versions. If no device or partition is specified on the command line, the bootdevice env variable will be used (scsiboot does this). Signed-off-by: Rob Herring <[email protected]>