summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* tsec: Revert to setting TBICR_ANEG_ENABLE by default for SGMIIKumar Gala2010-12-134-13/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | The following commit: commit 46e91674fb4b6d06c6a4984c0b5ac7d9a16923f4 Author: Peter Tyser <ptyser@xes-inc.com> Date: Tue Nov 3 17:52:07 2009 -0600 tsec: Force TBI PHY to 1000Mbps full duplex in SGMII mode Removed setting Auto-Neg by default, however this is believed to be proper default configuration for initialization of the TBI interface. Instead we explicitly set CONFIG_TSEC_TBICR_SETTINGS for the XPedite5370 & XPedite5500 boards that use a Broadcomm PHY which require Auto-Neg to be disabled to function properly. This addresses a breakage on the P2020 DS & MPC8572 DS boards when used with an SGMII riser card. We also remove setting CONFIG_TSEC_TBICR_SETTINGS on the P1_P2_RDB family of boards as now the default setting is sufficient for them. Additionally, we clean up the code a bit to remove an unnecessary second define. Signed-off-by: Kumar Gala <galak@kernel.crashing.org> Acked-by: Peter Tyser <ptyser@xes-inc.com> Tested-by: Peter Tyser <ptyser@xes-inc.com>
* Merge branch 'master' of git://git.denx.de/u-boot-imxWolfgang Denk2010-12-098-33/+102
|\
| * imx: Get fec mac address from fuseLiu Hui-R643432010-11-217-30/+98
| | | | | | | | | | | | | | The patch is to support getting FEC MAC address from fuse bank. Signed-off-by: Jason Liu <r64343@freescale.com> Tested-by: Stefano Babic <sbabic@denx.de>
| * mx51evk: savenv or env save command does not workJason Liu2010-11-211-3/+4
| | | | | | | | | | | | | | | | fix saveenv or env save command not work on mx51evk board. with this patch, we can use savenv or env save to store enviroments to mmc card slot 0 Signed-off-by: Jason Liu <r64343@freescale.com>
* | include/linux/mii.h: update for supporting GEMacpaul Lin2010-12-091-74/+107
| | | | | | | | | | | | | | | | This file has been synced (copy) from Linux source code. This commit was based on kernel 2.6.32. It updates gigabit related phy registers and basic definitions. Signed-off-by: Macpaul Lin <macpaul@andestech.com>
* | ARM: make timer variables in gt_t available for all ARM platformsPrafulla Wadaskar2010-12-091-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | All code that attemots to access variables in BSS before relocation (for example directly or indirectly by board_init_f()) needs to be fixed. Especially timer.c needs to fix on most of the ARM platforms. This patch makes timer related variables in gd_t available for all ARM implementations. Signed-off-by: Prafulla Wadaskar <prafulla@marvell.com> Edited commit message. Signed-off-by: Wolfgang Denk <wd@denx.de>
* | armv7: fix relocation skipAndreas Bießmann2010-12-091-2/+2
| | | | | | | | | | | | | | | | | | I doubt the stack_setup() was defective before: we load the current location of _start and compare against destination of relocate_code(). If we are already there we shoud skip the relocation and jump over to clear_bss. Before the clear_bss was also skipped. Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
* | arm: fixloop(): do not use r8 for relocationAndreas Bießmann2010-12-0914-42/+42
| | | | | | | | | | | | | | | | | | r8 is used for global_data and should therefore be left alone! For C code the compiler flag --fixed-r8 does the job, but in assembler we need to be aware of that fact. Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
* | arm: relocate_code(): do not set register uselessAndreas Bießmann2010-12-0914-30/+30
| | | | | | | | | | | | | | | | | | In case we are still at relocation target address before relocation we do not need to load the registers needed for relocation. We should instead skip the whole relocation part and jump over to clear_bss immediately. Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
* | arm: copy_loop(): use scratch registerAndreas Bießmann2010-12-0914-70/+70
| | | | | | | | | | | | | | | | | | This patch uses r1 as scratch register for copy_loop(). Therefore we do not longer need r7 for the storage of relocate_code()'s 'addr_moni' (the destination address of relocation). Therefore r7 can be used later on for other purposes. Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
* | hwconfig: Fix handling of env_hwconfig, board_hwconfig, and cpu_hwconfigKumar Gala2010-12-091-6/+9
| | | | | | | | | | | | | | | | | | | | | | | | The handling of env_hwconfig, board_hwconfig, and cpu_hwconfig got broken when we removed the boards defining dummy board_hwconfig & cpu_hwconfig values. We fix this by handling the various strings in priority order. If hwconfig_parse returns NULL for a given string we check the next one in order (env_hwconfig, board_hwconfig, followed by cpu_hwconfig). Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
* | arm: add 8-byte alignment for ABI compliance before board_init_fHeiko Schocher2010-12-0815-1/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | suggested from Daniel Hobi<daniel.hobi@schmid-telecom.ch> Tested on following boards: arm1136: qong armv7: omap3_beagle arm926ejs: magnesium, tx25 Signed-off-by: Heiko Schocher <hs@denx.de> cc: Daniel Hobi <daniel.hobi@schmid-telecom.ch> cc: Albert ARIBAUD <albert.aribaud@free.fr>
* | ARMV7: Vexpress: Fix build errorDirk Behme2010-12-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix ca9x4_ct_vxp build error Configuring for ca9x4_ct_vxp board... board/armltd/vexpress/libvexpress.o: In function `udelay': u-boot.git/board/armltd/vexpress/ca9x4_ct_vxp.c:161: multiple definition of `udelay' lib/libgeneric.o:u-boot.git/lib/time.c:34: first defined here lib/libgeneric.o: In function `udelay': zlib.c:(.text+0x1ee8): undefined reference to `__udelay' Signed-of-by: Dirk Behme <dirk.behme@googlemail.com>
* | ARMV7: Vexpress: fix compile warningsMatt Waddel2010-12-081-3/+6
| | | | | | | | | | | | Fixed "pointer from integer without a cast" warnings in Vexpress. Signed-off-by: Matt Waddel <matt.waddel@linaro.org>
* | ARMV7: Vexpress: fix build errorsMatt Waddel2010-12-083-68/+1
| | | | | | | | | | | | | | | | | | This patch fixes build errors in the vexpress system: - Removed sys_proto.h requirement from syslib.c. - Switched vexpress to the default armv7 linker script. - Renamed TEXT_BASE to CONFIG_SYS_TEXT_BASE. Signed-off-by: Matt Waddel <matt.waddel@linaro.org>
* | Merge branch 'master' of git://git.denx.de/u-boot-armWolfgang Denk2010-12-0814-38/+771
|\ \
| * | arm920t/at91/timer: replace bss variables by gdAndreas Bießmann2010-12-073-15/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reuse the gd->tbl value for timestamp and add gd->lastinc for lastinc bss values in arm920t/at91/timer driver. The usage of bss values in driver before initialisation of bss is forbidden. In that special case some data in .rel.dyn gets corrupted by the arm920t/at91/timer driver. Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
| * | arm920t/at91/reset: board_reset: define weak symbolAndreas Bießmann2010-12-071-3/+5
| | | | | | | | | | | | Signed-off-by: Andreas Bießmann <biessmann@corscience.de>
| * | MAKEALL: fix AT91Andreas Bießmann2010-12-071-15/+3
| | | | | | | | | | | | | | | | | | | | | * add boards_by_soc() * remove boards already in boards.cfg from LIST_AT91 Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
| * | at91rm9200ek: add configure target for RAM bootAndreas Bießmann2010-12-073-3/+16
| | | | | | | | | | | | | | | | | | | | | This patch also removes now unnecessary config.mk in board directory and make usage of new features in boards.cfg. Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
| * | at91rm9200ek: fix SDRAM initialistation valuesAndreas Bießmann2010-12-071-1/+1
| | | | | | | | | | | | Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
| * | AT91: add TOP9000 supportReinhard Meyer2010-12-076-1/+723
| | | | | | | | | | | | | | | | | | | | | Adds support for the EMK TOP9000 CPU Module which is based on ATMELs ARM926EJS AT91SAM9XE SoC. Signed-off-by: Reinhard Meyer <u-boot@emk-elektronik.de>
| * | AT91: fix EMAC gpio init in at91sam9260_devices.cReinhard Meyer2010-12-071-0/+5
| | | | | | | | | | | | | | | | | | | | | The AT91SAM9G20 BOOT ROM apparently initializes PA23 and PA24 to multi drive (open drain). Revert this, if those pins are going to be used for MII. Signed-off-by: Reinhard Meyer <u-boot@emk-elektronik.de>
| * | AT91: gen_atmel_mci.c: fix bug when Slot B is usedReinhard Meyer2010-12-071-0/+1
| | | | | | | | | | | | Signed-off-by: Reinhard Meyer <u-boot@emk-elektronik.de>
* | | onenand: fix oob print out issueLei Wen2010-12-071-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | Seems original implementation forget to set the pointer to point to the oobbuf, so when we want to see oob buf, we see nothing... Fix it by get pointer as the oobbuf set. Signed-off-by: Lei Wen <leiwen@marvell.com>
* | | 83xx NAND boot: fix boards.cfgScott Wood2010-12-061-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch http://patchwork.ozlabs.org/patch/72962/ included a boards.cfg change, but it was omitted when applied as f1c574d4006d81301792e70fafc31ff39259e793 This fixes the NAND SPL build on MPC8315ERDB. Signed-off-by: Scott Wood <scottwood@freescale.com>
* | | fix s3c2410_nand timing default valuesDavid Müller (ELSOFT AG)2010-12-061-3/+9
| | | | | | | | | | | | | | | | | | | | | The attached patch fixes wrong timing default values and adds the possibility to specify board specific timing value in the board config file. Signed-off-by: David Mueller <d.mueller@elsoft.ch>
* | | env_nand: Use nand_read_skip_bad instead of nand_readSteve Sakoman2010-12-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The nand-read function returns an error code if correctable errors have occurred. This is not desirable, since the errors have been corrected! This patch switches to the nand_read_skip_bad function which does not return an error code if the errors are correctable. Signed-off-by: Steve Sakoman <steve.sakoman@linaro.org> Acked-by: Scott Wood <scottwood@freescale.com>
* | | Merge branch 'master' of git://git.denx.de/u-boot-videoWolfgang Denk2010-12-065-5/+1
|\ \ \
| * | | mpc512x: aria: cleanup board config fileAnatolij Gustschin2010-12-011-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | CONFIG_FSL_DIU_LOGO_BMP has been removed while refactoring MPC8610 and MPC5121 DIU code, so remove it. Signed-off-by: Anatolij Gustschin <agust@denx.de>
| * | | video: move fsl_diu_fb driver to drivers/videoAnatolij Gustschin2010-12-014-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since the driver is used not only on Freescale boards, we move it to a common place for video drivers as suggested by Wolfgang. The patch also cleans up the top level Makefile. Signed-off-by: Anatolij Gustschin <agust@denx.de>
* | | | Merge branch 'master' of git://git.denx.de/u-boot-ubiWolfgang Denk2010-12-064-16/+121
|\ \ \ \
| * | | | ubifs.c: BUG: Error following linksRicardo Ribalda Delgado2010-12-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The link_name variable is declared inside the if block and it is used outside it through the name pointer. Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> Signed-off-by: Stefan Roese <sr@denx.de>
| * | | | UBI/UBIFS: Automatically unmount UBIFS volume upon UBI partition changeStefan Roese2010-12-032-6/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Automatically unmount UBIFS partition when user changes the UBI device. Otherwise the following UBIFS commands will crash. Signed-off-by: Stefan Roese <sr@denx.de>
| * | | | UBIFS: Change ubifsload to not read beyond the requested sizeStefan Roese2010-12-031-13/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Until now ubifsload pads the destination with 0 up to a multiple of UBIFS_BLOCK_SIZE (4KiB) while reading a file to memory. This patch changes this behaviour to only read to the requested length. This is either the file length or the length/size provided as parameter to the ubifsload command. Signed-off-by: Stefan Roese <sr@denx.de>
| * | | | UBIFS: Change "ubifs mount" to "ubifsmount" in ubifsls outputStefan Roese2010-12-031-1/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Stefan Roese <sr@denx.de>
| * | | | UBIFS: Add ubifsumount command to unmount an active volumeStefan Roese2010-12-032-1/+32
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | This new ubifsumount command allows the user to unmount a previously mounted UBIFS volume. Signed-off-by: Stefan Roese <sr@denx.de>
* | | | powerpc/85xx: do not reloc l2srbar if CONFIG_FLASH_BASE is not definedHaiying Wang2010-12-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes the compiling error for the board which doesn't have NOR flash (so CONFIG_FLASH_BASE is not defined) Signed-off-by: Haiying Wang <Haiying.Wang@freescale.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
* | | | powerpc/85xx: Enable HWCONFIG on MPC8572DSKumar Gala2010-12-011-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | We need HWCONFIG to allow configuration of DDR params Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
* | | | powerpc/8xxx: Fix _POST_WORD_ADDR on 85xx & 86xx systemsKumar Gala2010-12-011-2/+4
|/ / / | | | | | | | | | | | | | | | | | | | | | We intended to use the PIC TFRR register however we where missing adding in the PIC register base offset from IMMR when we defined _POST_WORD_ADDR. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
* | | Merge branch 'master' of /home/wd/git/u-boot/custodiansWolfgang Denk2010-11-3017-21/+67
|\ \ \
| * \ \ Merge branch 'master' of git://git.denx.de/u-boot-armWolfgang Denk2010-11-3017-21/+67
| |\ \ \ | | |/ /
| | * | Merge branch 'master' of git://git.denx.de/u-boot-samsungWolfgang Denk2010-11-305-14/+28
| | |\ \
| | | * | ARMV7: S5P: timer: get the count_value from register when call udelayMinkyu Kang2010-11-301-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Because of count_value is set to tcnb4 register, should be get from this register when call udelay function. Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
| | | * | S5P: goni: fix for relocationMinkyu Kang2010-11-302-2/+10
| | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Minkyu Kang <mk7.kang@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
| | | * | S5P: smdkc100: fix for relocationMinkyu Kang2010-11-302-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Minkyu Kang <mk7.kang@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
| | | * | Merge branch 'master' of git://git.denx.de/u-boot-armMinkyu Kang2010-11-188-142/+124
| | | |\ \
| | | * \ \ Merge branch 'master' of git://git.denx.de/u-boot-armMinkyu Kang2010-11-16832-13936/+10260
| | | |\ \ \
| | | * \ \ \ Merge branch 'master' of git://git.denx.de/u-boot-armMinkyu Kang2010-11-02199-5978/+6712
| | | |\ \ \ \
| | * | | | | | OMAP3: Zoom2: Fix ARM relocation supportDirk Behme2010-11-302-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Dirk Behme <dirk.behme@googlemail.com> Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
OpenPOWER on IntegriCloud