- 14 4月, 2011 5 次提交
-
-
由 Simon Glass 提交于
This seems to pad to one byte longer than required Signed-off-by: NSimon Glass <sjg@chromium.org>
-
-
-
由 Peter Tyser 提交于
Commit 6ee1416e (mtd, cfi: introduce void flash_protect_default(void)) introduced a bug which resulted in boards that define CONFIG_SYS_FLASH_AUTOPROTECT_LIST not compiling with the the following errors and warning: ptyser@petert u-boot $ make -s xpedite520x Configuring for xpedite520x board... cfi_flash.c: In function 'flash_protect_default': cfi_flash.c:2118: error: 'i' undeclared (first use in this function) cfi_flash.c:2118: error: (Each undeclared identifier is reported only once cfi_flash.c:2118: error: for each function it appears in.) cfi_flash.c:2118: error: 'apl' undeclared (first use in this function) cfi_flash.c:2118: error: invalid application of 'sizeof' to incomplete type 'struct apl_s' cfi_flash.c: In function 'flash_init': cfi_flash.c:2137: warning: unused variable 'apl' Signed-off-by: NPeter Tyser <ptyser@xes-inc.com> Reported-by: NKumar Gala <galak@kernel.crashing.org> Cc: Heiko Schocher <hs@denx.de>
-
由 James Kosin 提交于
Signed-off-by: NJames Kosin <jkosin@intcomgrp.com> Signed-off-by: NMike Frysinger <vapier@gentoo.org>
-
- 13 4月, 2011 18 次提交
-
-
-
由 Graeme Russ 提交于
The README files are totally out-of-date to the point where they do more harm than good Signed-off-by: NGraeme Russ <graeme.russ@gmail.com>
-
由 Graeme Russ 提交于
Partial linking allows weak functions to be overridden in files containing only one function. Moving the sc520 override of reset_cpu gets rid of an ugly #ifdef Signed-off-by: NGraeme Russ <graeme.russ@gmail.com>
-
由 Graeme Russ 提交于
Signed-off-by: NGraeme Russ <graeme.russ@gmail.com>
-
由 Graeme Russ 提交于
Make the copyright notices in the x86 files consistent and update them with proper attributions for recent updates Also fix a few comment style/accuracy and whitespace/blank line issues Signed-off-by: NGraeme Russ <graeme.russ@gmail.com>
-
由 Graeme Russ 提交于
By including <config.h> in the ld script, CONFIG_SYS_MONITOR_LEN (defined in the boards config file) can be used in lieu of FLASH_SIZE (defined in the board specific config.mk) As this is the last remaining entry in the board specific config.mk, this file can now be removed Signed-off-by: NGraeme Russ <graeme.russ@gmail.com>
-
由 Graeme Russ 提交于
CONFIG_ENV_SIZE = CONFIG_ENV_SECT_SIZE = 128kB but CONFIG_SYS_STACK_SIZE is only 32kB resulting in saveenv causing a stack overflow and crashing U-Boot. Resolve by reducing CONFIG_ENV_SIZE to 4kB Also fix up CONFIG_SYS_MALLOC_LEN to correctly use environment sector size and add some comments to the memory organisation configuration Signed-off-by: NGraeme Russ <graeme.russ@gmail.com>
-
由 Lei Wen 提交于
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: NLei Wen <leiwen@marvell.com>
-
由 Remy Bohmer 提交于
* The sector size for SPI-dataflash (like AT45 flashes) are not always a power-of-2. So, the sector calculations are rewritten such that it works for either power-of-2 as any size sectors. * Make the flash sector size optional in case it is the same value as the environment size. Signed-off-by: NRemy Bohmer <linux@bohmer.net>
-
由 Wolfgang Denk 提交于
Signed-off-by: NWolfgang Denk <wd@denx.de>
-
由 Macpaul Lin 提交于
1. Move header to include/faraday 2. Fix include path in ftwdt010_wdt.c 3. Fix function prototype and declaration to - ftwdt010_wdt_settimeout - ftwdt010_wdt_reset - ftwdt010_wdt_disable 4. Add "#if definde (CONFIG_HW_WATCHDOG)" let user have flexibilty to choose which better to his product. Signed-off-by: NMacpaul Lin <macpaul@andestech.com>
-
由 Andreas Bießmann 提交于
This patch fixes following warning message: ---8<--- cmd_bdinfo.c:458: warning: initialization from incompatible pointer type --->8--- There was a prototype change in 54841ab5 for argv[] pointer type to const. This change was not made for AVR32 cause this code came in later by a merge. Signed-off-by: NAndreas Bießmann <biessmann@corscience.de>
-
由 Andreas Bießmann 提交于
This patch fixes warnings in MAKEALL for avr32: ---8<--- cmd_nvedit.c: In function 'do_env_export': cmd_nvedit.c:663: warning: format '%zX' expects type 'size_t', but argument 3 has type 'ssize_t' --->8--- Signed-off-by: NAndreas Biemann <biessmann@corscience.de>
-
由 Wolfgang Denk 提交于
Rename STANDALONE_LOAD_ADDR into CONFIG_STANDALONE_LOAD_ADDR and allow that the architecture-specific default value gets overwritten by defining the value in the board header file. Signed-off-by: NWolfgang Denk <wd@denx.de> Cc: Mike Frysinger <vapier@gentoo.org> Cc: Shinya Kuribayashi <skuribay@ruby.dti.ne.jp> Cc: Daniel Hellstrom <daniel@gaisler.com> Cc: Tsi Chung Liew <tsi-chung.liew@freescale.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
-
由 Loïc Minier 提交于
"make tools-all" should allow building tools such as mkimage and the new imximage without any config, but imximage.c currently fails to build with: imximage.h:27:20: error: config.h: No such file or directory config.h is not needed in imximage.h nor in imximage.c, and imximage.h is only included from imximage.c, so drop this include to fix the build. Signed-off-by: NLoc Minier <loic.minier@linaro.org>
-
由 Loïc Minier 提交于
Signed-off-by: NLoc Minier <loic.minier@linaro.org>
-
由 Catalin Radu 提交于
Signed-off-by: NCatalin Radu <Catalin@VirtualMetrix.com>
-
由 Aaron Williams 提交于
There is a bug in the min and max macros in common.h which occurs if Y is a larger type than X. For example, if Y is a 64-bit value and X is a 32-bit value then Y will be truncated to 32-bits. This fix matches what is done in the Linux kernel but without the additional type checking present in the kernel version. Signed-off-by: NAaron Williams <aaron.williams@caviumnetworks.com>
-
- 12 4月, 2011 17 次提交
-
-
由 Mike Frysinger 提交于
Requires a little reworking of the code flow with sub-functions, but not a big deal. Signed-off-by: NMike Frysinger <vapier@gentoo.org>
-
由 Mike Frysinger 提交于
The common spi flash layer displays useful info when probing, so no need for us to duplicate that. Signed-off-by: NMike Frysinger <vapier@gentoo.org>
-
由 Mike Frysinger 提交于
Signed-off-by: NMike Frysinger <vapier@gentoo.org>
-
由 Richard Retanubun 提交于
This patch adds [+]len handler for the erase command that will automatically round up the requested erase length to the flash's sector_size. Signed-off-by: NRichard Retanubun <RichardRetanubun@RuggedCom.com> Signed-off-by: NMike Frysinger <vapier@gentoo.org>
-
由 Mike Frysinger 提交于
No need for these to be exported as they are only accessed indirectly via function pointers. Signed-off-by: NMike Frysinger <vapier@gentoo.org>
-
由 Mike Frysinger 提交于
The previous unification patch missed setting up the sst read func. Signed-off-by: NMike Frysinger <vapier@gentoo.org>
-
由 Richard Retanubun 提交于
This patch adds a new member to struct spi_flash (u16 sector_size) and updates the spi flash drivers to start populating it. This parameter can be used by spi flash commands that need to round up units of operation to the flash's sector_size. Having this number in one place also allows duplicated code to be further collapsed into one common location (such as erase parameter and the detected message). Signed-off-by: NRichard Retanubun <RichardRetanubun@RuggedCom.com> Signed-off-by: NMike Frysinger <vapier@gentoo.org>
-
由 Mike Frysinger 提交于
The AT45 flashes are completely different (at the command set and status register level) from all other SPI flashes, so we can't unify their logic with common code. Signed-off-by: NMike Frysinger <vapier@gentoo.org>
-
由 Mike Frysinger 提交于
Signed-off-by: NMike Frysinger <vapier@gentoo.org>
-
由 Macpaul Lin 提交于
Faraday ftwdt010 watchdog is an architecture independant watchdog. It is usually used in SoC chip design. Signed-off-by: NMacpaul Lin <macpaul@andestech.com> Signed-off-by: NWolfgang Denk <wd@denx.de>
-
由 Eric Bénard 提交于
this board was cancelled long time ago so remove it as it won't be maintained anymore Signed-off-by: NEric Bnard <eric@eukrea.com>
-
由 Andreas Huber 提交于
This reads the DIP switch on mgcoge. The DIP switch is connected to the BFTICU (0x40000089) FPGA. If the DIP switch is set the environment variable 'actual_bank' is set to 0 and starts the SW in bank0. Signed-off-by: NAndreas Huber <andreas.huber@keymile.com> Signed-off-by: NHolger Brunck <holger.brunck@keymile.com>
-
由 Holger Brunck 提交于
On first HW versions the BOCO FPGA was behind a MUX device. These HW versions are not supported anymore. And therefore this code can be removed, it is already unused. Signed-off-by: NHolger Brunck <holger.brunck@keymile.com>
-
由 Roy Zang 提交于
Add Intel E1000 82574L PCIe card support. Test on MPC8544DS and MPC8572 board. Add the missing contact information for future support. Signed-off-by: NRoy Zang <tie-fei.zang@freescale.com> Acked-by: NKumar Gala <galak@kernel.crashing.org>
-
由 Joakim Tjernlund 提交于
-msingle-pic-base is a new gcc option for ppc and it reduces the size of my u-boot with 6-8 KB. While at it, add -fno-jump-tables too to save a few more bytes. -msingle-pic-base will be in gcc 4.6, however backported patches are available at http://bugs.gentoo.org/show_bug.cgi?id=347281Signed-off-by: NJoakim Tjernlund <Joakim.Tjernlund@transmode.se>
-
由 Joakim Tjernlund 提交于
The -fPIC flag belongs with -mrelocatable, move it there. Also change -fPIC to -fpic as this produces smaller binaries. However, currently -mrelocatable promotes -fpic to -fPIC, a fix for this is in upcoming gcc 4.6 or you can apply this small patch to gcc: diff --git a/gcc/config/rs6000/sysv4.h b/gcc/config/rs6000/sysv4.h index 8da8410..e4b8280 100644 --- a/gcc/config/rs6000/sysv4.h +++ b/gcc/config/rs6000/sysv4.h @@ -227,7 +227,8 @@ do { \ } \ \ else if (TARGET_RELOCATABLE) \ - flag_pic = 2; \ + if (!flag_pic) \ + flag_pic = 2; \ } while (0) #ifndef RS6000_BI_ARCH -- Signed-off-by: NJoakim Tjernlund <Joakim.Tjernlund@transmode.se>
-
由 Ben Gardiner 提交于
This patch fixes ea20 after 8ef583a0 where the u-boot custom PHY_ macros were replaced with those of linux/mii.h MII_ definitions except in the RMII support for davinci_emac. Probably also due to the merge path of changes in 2010.12. Signed-off-by: Ben Gardiner<bengardiner@nanometrics.ca> CC: Mike Frysinger <vapier@gentoo.org> Acked-by: NMike Frysinger <vapier@gentoo.org>
-