- Jul 26, 2011
-
-
Matthew McClintock authored
If we don't want to build support for any partition types we can now add #undef CONFIG_PARTITIONS in a board config file to keep this from being compiled in. Otherwise boards assume this is compiled in by default Signed-off-by:
Matthew McClintock <msm@freescale.com>
-
- Apr 12, 2011
-
-
Lei Wen authored
If the param pass to get_dev is not the one defined in the block_drvr, it could make uboot becomes unstable, for it would continue run after search complete the block_drvr table. Signed-off-by:
Lei Wen <leiwen@marvell.com>
-
- Nov 17, 2010
-
-
Sebastien Carlier authored
Before this commit, weak symbols were not overridden by non-weak symbols found in archive libraries when linking with recent versions of binutils. As stated in the System V ABI, "the link editor does not extract archive members to resolve undefined weak symbols". This commit changes all Makefiles to use partial linking (ld -r) instead of creating library archives, which forces all symbols to participate in linking, allowing non-weak symbols to override weak symbols as intended. This approach is also used by Linux, from which the gmake function cmd_link_o_target (defined in config.mk and used in all Makefiles) is inspired. The name of each former library archive is preserved except for extensions which change from ".a" to ".o". This commit updates references accordingly where needed, in particular in some linker scripts. This commit reveals board configurations that exclude some features but include source files that depend these disabled features in the build, resulting in undefined symbols. Known such cases include: - disabling CMD_NET but not CMD_NFS; - enabling CONFIG_OF_LIBFDT but not CONFIG_QE. Signed-off-by:
Sebastien Carlier <sebastien.carlier@gmail.com>
-
- Oct 29, 2010
-
-
Wolfgang Denk authored
By now, the majority of architectures have working relocation support, so the few remaining architectures have become exceptions. To make this more obvious, we make working relocation now the default case, and flag the remaining cases with CONFIG_NEEDS_MANUAL_RELOC. Signed-off-by:
Wolfgang Denk <wd@denx.de> Tested-by:
Heiko Schocher <hs@denx.de> Tested-by:
Reinhard Meyer <u-boot@emk-elektronik.de>
-
- Sep 19, 2010
-
-
Heiko Schocher authored
Portions of this work were supported by funding from the CE Linux Forum. Signed-off-by:
Heiko Schocher <hs@denx.de>
-
- Sep 18, 2010
-
-
Lei Wen authored
Signed-off-by:
Lei Wen <leiwen@marvell.com>
-
- Aug 10, 2010
-
-
Sergei Trofimovich authored
Before: Marvell>> usb storage Device 0: Vendor: StoreJet Rev: Prod: Transcend Type: Hard Disk Capacity: 28759.9 MB = 28.0 GB (488397168 x 512) After: Marvell>> usb storage Device 0: Vendor: StoreJet Rev: Prod: Transcend Type: Hard Disk Capacity: 238475.1 MB = 232.8 GB (488397168 x 512) Signed-off-by:
Sergei Trofimovich <slyfox@gentoo.org>
-
- Jul 24, 2010
-
-
Wolfgang Denk authored
"Superfloppy" format (in U-Boot called PBR) did not work for FAT32 as the file system type string is at a different location. Add support for FAT32. Signed-off-by:
Wolfgang Denk <wd@denx.de>
-
- Dec 08, 2009
-
-
Heiko Schocher authored
There is more and more usage of printing 64bit values, so enable this feature generally, and delete the CONFIG_SYS_64BIT_VSPRINTF and CONFIG_SYS_64BIT_STRTOUL defines. Signed-off-by:
Heiko Schocher <hs@denx.de>
-
- Oct 18, 2009
-
-
Daniel Mack authored
Only read partitions which have 0x00 or 0x80 set in their status field. All others are invalid. Signed-off-by:
Daniel Mack <daniel@caiaq.de>
-
- Oct 03, 2009
-
-
Peter Tyser authored
Add #ifdefs where necessary to not perform relocation fixups. This allows boards/architectures which support relocation to trim a decent chunk of code. Note that this patch doesn't add #ifdefs to architecture-specific code which does not support relocation. Signed-off-by:
Peter Tyser <ptyser@xes-inc.com>
-
- Aug 09, 2009
-
-
Wolfgang Denk authored
Remove bogus newline character that got added to the .name field of the disk_partition_t structure. Signed-off-by:
Wolfgang Denk <wd@denx.de>
-
- May 15, 2009
-
-
Wolfgang Denk authored
Commit 574b3195 introduced a subtle bug by mixing a list of tests for "dev_desc->type" and "dev_desc->if_type" into one switch(), which then mostly did not work because "dev_desc->type" cannot take any "IF_*" type values. A later fix in commit 8ec6e332 changed the switch() into testing "dev_desc->if_type", but at this point the initial test for unknown device types was completely lost, which resulted in output like that for IDE ports without device attached: Device 1: Model: Firm: Ser#: Type: # 1F # Capacity: not available This patch re-introduces the missing test for unknown device types. Signed-off-by:
Wolfgang Denk <wd@denx.de> Cc: Stefan Roese <sr@denx.de> Cc: Detlev Zundel <dzu@denx.de> Tested-by:
Stefan Roese <sr@denx.de>
-
- Apr 03, 2009
-
-
unsik Kim authored
Mflash is fusion memory device mainly targeted consumer eletronic and mobile phone. Internally, it have nand flash and other hardware logics and supports some different operation (ATA, IO, XIP) modes. IO mode is custom mode for the host that doesn't have IDE interface. (Many mobile targeted SoC doesn't have IDE bus) This driver support mflash IO mode. Followings are brief descriptions about IO mode. 1. IO mode based on ATA protocol and uses some custom command. (read confirm, write confirm) 2. IO mode uses SRAM bus interface. Signed-off-by:
unsik Kim <donari75@gmail.com>
-
- Mar 20, 2009
-
-
Mike Frysinger authored
This brings in support for the %p modifier which allows us to easily print out things like ip addresses, mac addresses, and pointers. It also converts the rarely used 'q' length modifier to the common 'L' modifier when dealing with quad types. While this new code is a bit larger (~1k .text), most of it should be made up by converting the existing ip/mac address code to use format modifiers. Signed-off-by:
Mike Frysinger <vapier@gentoo.org>
-
- Feb 17, 2009
-
-
Mike Frysinger authored
Move the CONFIG_XXX out of the part_XXX.c file and into Makefile to avoid pointless compiles. Signed-off-by:
Mike Frysinger <vapier@gentoo.org>
-
- Jan 27, 2009
-
-
Richard Retanubun authored
The ending LBA is inclusive. Hence, the partition size should be ((ending-LBA + 1) - starting-LBA) to get the proper partition size. This is confirmed against the results from the parted tool. (e.g. use parted /dev/sda -s unit S print) and observe the size. Signed-off-by:
Richard Retanubun <RichardRetanubun@RuggedCom.com>
-
- Nov 02, 2008
-
-
Wolfgang Denk authored
Signed-off-by:
Wolfgang Denk <wd@denx.de>
-
- Oct 18, 2008
-
-
Jean-Christophe PLAGNIOL-VILLARD authored
Signed-off-by:
Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
-
richardretanubun authored
The GUID (Globally Unique Identifier) Partition Table (GPT) is a part of EFI. See http://en.wikipedia.org/wiki/GUID_Partition_Table Based on linux/fs/partitions/efi.[ch] Signed-off-by:
Richard Retanubun <RichardRetanubun@RugggedCom.com>
-
- Sep 22, 2008
-
-
Remy Bohmer authored
Signed-off-by:
Remy Bohmer <linux@bohmer.net>
-
- Sep 09, 2008
-
-
Nícolas Carneiro Lebedenco authored
Fix output of the usb storage command. It was printing "Device 0: not available" because IF_TYPE_USB was not included into the switch statement. Signed-off-by:
Nicolas Lebedenco <nicolas.lebedenco@tasksistemas.com.br>
-
- Jun 03, 2008
-
-
Tor Krill authored
Use correct field in block_dev_desc_t when writing interface type in dev_print. Error introduced in 574b3195. Also added fix from Martin Krause Signed-off-by:
Tor Krill <tor@excito.com>
-
- May 20, 2008
-
-
Wolfgang Denk authored
This commit gets rid of a huge amount of silly white-space issues. Especially, all sequences of SPACEs followed by TAB characters get removed (unless they appear in print statements). Also remove all embedded "vim:" and "vi:" statements which hide indentation problems. Signed-off-by:
Wolfgang Denk <wd@denx.de>
-
- May 09, 2008
-
-
Detlev Zundel authored
Signed-off-by:
Detlev Zundel <dzu@denx.de>
-
Detlev Zundel authored
Signed-off-by:
Detlev Zundel <dzu@denx.de>
-
- Mar 26, 2008
-
-
Dave Liu authored
- add the SATA framework - add the SATA command line Signed-off-by:
Dave Liu <daveliu@freescale.com>
-
- Nov 15, 2007
-
-
Grant Likely authored
This change is in preparation for condtitionial compile support in the build system. By spliting them all into seperate lines now, subsequent patches that change 'COBJS-y += ' into 'COBJS-$(CONFIG_<blah>) += ' will be less invasive and easier to review Signed-off-by:
Grant Likely <grant.likely@secretlab.ca>
-
- Jul 10, 2007
-
-
Jon Loeliger authored
Fixed some broken instances of "#ifdef CMD_CFG_IDE" too. Those always evaluated TRUE, and thus were always compiled even when IDE really wasn't defined/wanted. Signed-off-by:
Jon Loeliger <jdl@freescale.com>
-
- Jul 09, 2007
-
-
Jon Loeliger authored
Signed-off-by:
Jon Loeliger <jdl@freescale.com>
-
- Jul 03, 2007
-
-
Jon Loeliger authored
This is a compatibility step that allows both the older form and the new form to co-exist for a while until the older can be removed entirely. All transformations are of the form: Before: #if (CONFIG_COMMANDS & CFG_CMD_AUTOSCRIPT) After: #if (CONFIG_COMMANDS & CFG_CMD_AUTOSCRIPT) || defined(CONFIG_CMD_AUTOSCRIPT) Signed-off-by:
Jon Loeliger <jdl@freescale.com>
-
- Jun 22, 2007
-
-
Heiko Schocher authored
- Show on the Status LEDs, some States of the board. - Get the MAC addresses from the EEProm - use PREBOOT - use the CF on the board. - check the U-Boot image in the Flash with a SHA1 checksum. - use dynamic TLB entries generation for the SDRAM Signed-off-by:
Heiko Schocher <hs@denx.de>
-
- Jun 06, 2007
-
-
Wolfgang Denk authored
Signed-off-by:
Wolfgang Denk <wd@denx.de>
-
- May 18, 2007
-
-
Peter Pearse authored
-
- May 09, 2007
-
-
Peter Pearse authored
-
- Apr 14, 2007
-
-
Haavard Skinnemoen authored
Include implementations of init_part() and get_partition_info() when CONFIG_MMC is set. Signed-off-by:
Haavard Skinnemoen <hskinnemoen@atmel.com>
-
- Feb 22, 2007
-
-
Stefan Roese authored
Since the relocation fix is not included yet and we're not sure how it will be added, this patch removes code that required relocation to be fixed for now. Signed-off-by:
Stefan Roese <sr@denx.de>
-
- Feb 20, 2007
-
-
Stefan Roese authored
This patch enables the "new" get_dev() function for block devices introduced by Grant Likely to be used on systems that still suffer from the relocation problems (manual relocation neede because of problems with linker script). Hopefully we can resolve this relocation issue soon for all platform so we don't need this additional code anymore. Signed-off-by:
Stefan Roese <sr@denx.de>
-
Grant Likely authored
Each of the filesystem drivers duplicate the get_dev routine. This change merges them into a single function in part.c Signed-off-by:
Grant Likely <grant.likely@secretlab.ca>
-
- Oct 08, 2006
-
-
Wolfgang Denk authored
Based on patch by Mike Frysinger, 20 Jun 2006
-