summaryrefslogtreecommitdiff
path: root/board
AgeCommit message (Collapse)AuthorFilesLines
2008-10-18mgcoge, mgsuvd: added support for the IVM EEprom.Heiko Schocher3-0/+302
The EEprom contains some Manufacturerinformation, which are read from u-boot at boot time, and saved in same hush shell variables. Signed-off-by: Heiko Schocher <hs@denx.de>
2008-10-18mgcoge, mgsuvd: add board specific I2C deblocking mechanism.Heiko Schocher3-2/+211
As documented in doc/I2C_Edge_Conditions, adding a board specific deblocking mechanism via CFG_I2C_INIT_BOARD for the mgcoge and mgsuvd board. This code was originally written by Keymile in association with Anatech and Atmel in 1998. The Code toggels the SCL until the SCA line goes to HIGH (max. 16 times). And after this, a start condition is sent. This is another approach to deblock the I2C Bus. The soft I2C driver actually sends 9 clocks with SDA High, and then a stop at the end, to deblock the I2C Bus. Maybe we should use the approach from Keymile as the new standard? Signed-off-by: Heiko Schocher <hs@denx.de>
2008-10-18mgcoge, mgsuvd: add I2C support.Heiko Schocher2-2/+23
Signed-off-by: Heiko Schocher <hs@denx.de>
2008-10-18mgcoge: fix Coding Style issues.Heiko Schocher1-41/+38
Signed-off-by: Heiko Schocher <hs@denx.de>
2008-10-18mgsuvd, mgcoge: move this 2 boards in one dir.Heiko Schocher7-0/+6
There are some more extensions, which are for both boards and some more boards from this manufacturer will follow soon. Signed-off-by: Heiko Schocher <hs@denx.de> Signed-off-by: Wolfgang Denk <wd@denx.de>
2008-10-15Fix compiler warning in lib_ppc/board.cHeiko Schocher1-1/+1
Fix compiler warning introduced by commit 0f8cbc18 Signed-off-by: Heiko Schocher <hs@denx.de> Signed-off-by: Wolfgang Denk <wd@denx.de>
2008-10-14Do not init SATA when disabled on 8536DS.Jason Jin1-0/+12
SGMII and SATA share the serdes on MPC8536 CPU, When SATA disabled and the driver still try to access the SATA registers, the cpu will hangup. This patch try to fix this by reading the serdes status before the SATA initialize. Signed-off-by: Jason Jin <Jason.jin@freescale.com> Acked-by: Andy Fleming <afleming@freescale.com>
2008-10-14fsl_diu: fix alignment error that caused malloc corruptionNikita V. Youshchenko1-3/+3
When aligning malloc()ed screen_base, invalid offset was added. This not only caused misaligned result (which did not cause hardware misbehaviour), but - worse - caused screen_base + smem_len to be out of malloc()ed space, which in turn caused breakage of futher malloc()/free() operation. This patch fixes screen_base alignment. Also this patch makes memset() that cleans framebuffer to be executed on first initialization of diu, not only on re-initialization. It looks correct to clean the framebuffer instead of displaying random garbage; I believe that was disabled only because that memset caused breakage of malloc/free described above - which no longer happens with the fix described above. Signed-off-by: Nikita V. Youshchenko <yoush@debian.org>
2008-10-13ARM DaVinci: Remove redundant setting of GD_FLG_RELOC for sffsdr board.Hugo Villeneuve1-4/+0
This is no longer necessary now that the GD_FLG_RELOC flag is set for all ARM boards. Signed-off-by: Hugo Villeneuve <hugo.villeneuve@lyrtech.com>
2008-10-13Merge branch 'master' of /home/stefan/git/u-boot/u-bootStefan Roese9-9/+9
2008-10-13Merge branch 'master' of git://git.denx.de/u-boot-mpc85xxWolfgang Denk1-1/+1
2008-10-10ppc4xx: Fix USB 2.0 phy reset sequenceMatthias Fuchs1-3/+32
This patch fixes USB 2.0 communication issues on some DU440 boards. Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com> Signed-off-by: Stefan Roese <sr@denx.de>
2008-10-10ppc4xx: Add strapping mode for 667MHz CPU frequency on DU440 boardMatthias Fuchs1-0/+6
Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com> Signed-off-by: Stefan Roese <sr@denx.de>
2008-10-10ppc4xx: Fix DU440 GPIO configurationMatthias Fuchs1-5/+5
Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com> Signed-off-by: Stefan Roese <sr@denx.de>
2008-10-08FSL: Fix get_cpu_board_revision() return value.Rafal Czubak1-1/+1
get_cpu_board_revision() returned board revision based on information stored in global static struct eeprom. It should instead use one from local struct board_eeprom, to which the data is actually read from EEPROM. The bug led to system hang after printing L1 cache information on U-Boot startup. The problem was observed on MPC8555CDS system and possibly affects other Freescale MPC85xx boards using CFG_I2C_EEPROM_CCID. The change has been successfully tested on MPC8555CDS system. Signed-off-by: Rafal Czubak <rcz@semihalf.com>
2008-09-24mpc83xx: spd_sdram: fix ddr sdram base address assignment bugAnton Vorontsov8-8/+8
The spd_dram code shifts the base address, then masks 20 bits, but forgets to shift the base address back. Fix this by just masking the base address correctly. Found this bug while trying to relocate a DDR memory at the base != 0. Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com> Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
2008-09-23ppc4xx: Canyonlands: Remove unnecessary FDT warning upon DTB fixupStefan Roese1-12/+4
Depending on the configuration jumper "SATA SELECT", U-Boot disabled either one PCIe node or the SATA node in the device tree blob. This patch removes the unnecessary and even confusing warning, when the node is not found at all. Signed-off-by: Stefan Roese <sr@denx.de>
2008-09-22socrates: fix crash after relocationAnatolij Gustschin1-1/+1
Currently U-Boot crashes after relocation to RAM. Changing the CPO value of the DDR SDRAM TIMING_CFG_2 register to READ_LAT + 1 (to the value it was before conversion of socrates to new DDR code) fixes the problem. Signed-off-by: Anatolij Gustschin <agust@denx.de>
2008-09-19sh: Fix compile warningNobuhiro Iwamatsu3-24/+39
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2008-09-19sh: rsk7203: Add support pkt_data_pull and pkt_data_push functionNobuhiro Iwamatsu1-0/+21
Add function of smc911x, pkt_data_pull and pkt_data_push. Signed-off-by: Nobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com> Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2008-09-17Coding style cleanup; update CHANEGLOGWolfgang Denk1-35/+35
Signed-off-by: Wolfgang Denk <wd@denx.de>
2008-09-16TQM8xx: Fix CFI flash driver support for all TQM8xx based boardsWolfgang Denk3-866/+93
After switching to using the CFI flash driver, the correct remapping of the flash banks was forgotten. Also, some boards were not adapted, and the old legacy flash driver was not removed yet. Signed-off-by: Wolfgang Denk <wd@denx.de>
2008-09-13Coding style cleanup, update CHANGELOGWolfgang Denk14-62/+50
Signed-off-by: Wolfgang Denk <wd@denx.de>
2008-09-1385xx: socrates: autoprobe Lime chipu-boot@bugs.denx.de1-15/+43
This patch is an attempt to implement autoprobing for the Lime presence on the bus. Configure GPCM for Lime CS2 and try to access chip ID registers. Second read atempt delivers register values if the chip is present. Signed-off-by: Anatolij Gustschin <agust@denx.de>
2008-09-13sh: Fix compile error for r2dplusNobuhiro Iwamatsu1-0/+1
netdev.h was not include by r2dplus. Signed-off-by: Nobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com>
2008-09-13Merge branch 'master' of git://git.denx.de/u-boot-nand-flashWolfgang Denk2-8/+4
2008-09-12Merge branch 'Makefile-next' of git://git.denx.de/u-boot-armWolfgang Denk348-981/+979
2008-09-12Merge branch 'master' of git://git.denx.de/u-boot-ppc4xxWolfgang Denk9-94/+4
2008-09-12ppc4xx: Fix SDRAM inititialization of multiple 405 based board portsStefan Roese5-93/+0
This patch fixes a problem introdiced with patch bbeff30c [ppc4xx: Remove superfluous dram_init() call or replace it by initdram()]. The boards affected are: - PCI405 - PPChameleonEVB - quad100hd - taihu - zeus Signed-off-by: Stefan Roese <sr@denx.de>
2008-09-12ppc4xx: Add .gitignore file to xilinx-ppc440 boardsRicardo Ribalda Delgado3-0/+3
Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@uam.es> Signed-off-by: Stefan Roese <sr@denx.de>
2008-09-12ppc4xx: Fix in-tree build for ppc440-generic boardsRicardo Ribalda Delgado1-1/+1
Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@uam.es> Signed-off-by: Stefan Roese <sr@denx.de>
2008-09-12Fix MACH_TYPE for the AT91RM9200DK board.Claudio Scordino1-1/+1
Signed-off-by: Claudio Scordino <claudio@evidence.eu.com>
2008-09-11rename CFG_ENV macros to CONFIG_ENVJean-Christophe PLAGNIOL-VILLARD145-664/+664
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2008-09-11move cmd_get_data_size to command.cJean-Christophe PLAGNIOL-VILLARD1-2/+0
add CMD_DATA_SIZE macro to enable it Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2008-09-11rename CFG_ENV_IS_IN_FLASH in CONFIG_ENV_IS_IN_FLASHJean-Christophe PLAGNIOL-VILLARD84-121/+121
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2008-09-11cleanup use of CFG_ENV_IS_IN_FLASHJean-Christophe PLAGNIOL-VILLARD22-22/+22
- #if CFG_ENV_IS_IN_FLASH - #if (CFG_ENV_IS_IN_FLASH == 1) - #define CFG_ENV_IS_IN_FLASH 0 Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2008-09-11rename environment.c in env_embedded.c to reflect is functionalityJean-Christophe PLAGNIOL-VILLARD193-209/+209
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2008-09-11rename CFG_ENV_IS_NOWHERE in CONFIG_ENV_IS_NOWHEREJean-Christophe PLAGNIOL-VILLARD1-2/+2
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2008-09-11rename CFG_ENV_IS_IN_NVRAM in CONFIG_ENV_IS_IN_NVRAMJean-Christophe PLAGNIOL-VILLARD2-2/+2
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2008-09-10rename CFG_ENV_IS_IN_EEPROM in CONFIG_ENV_IS_IN_EEPROMJean-Christophe PLAGNIOL-VILLARD5-5/+5
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2008-09-10delta, zylonite: Update nand_oobinfo to nand_ecclayout.Scott Wood2-8/+4
This is part of the switch to newer upstream MTD code. Signed-off-by: Scott Wood <scottwood@freescale.com>
2008-09-10muas3001: update BR4 settingsHeiko Schocher1-2/+7
Also set up the port pins for using I2C. Signed-off-by: Heiko Schocher <hs@denx.de>
2008-09-10muas3001: added 64MB SDRAM autodetection.Heiko Schocher1-2/+12
Signed-off-by: Heiko Schocher <hs@denx.de>
2008-09-10Merge branch 'master' of ssh://10.10.0.7/home/wd/git/u-boot/masterWolfgang Denk1-0/+5
2008-09-10add board_eth_init() for sh7785lcr boardYoshihiro Shimoda1-0/+5
Fix the problem that cannot work RTL8169 on sh7785lcr board. Signed-off-by: Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com>
2008-09-09trab: fix build problem after change to use do_div()Wolfgang Denk1-0/+1
We must link with libgeneric now. Signed-off-by: Wolfgang Denk <wd@denx.de>
2008-09-09ppc4xx: ppc440-generic-ALL: Fix out of tree build v2Ricardo Ribalda Delgado7-5/+79
This patch solves the problems compiling ml507, v5fx30teval and ppc440-generic out of tree. Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@uam.es>
2008-09-09Update i386 code (sc520_cdp)Graeme Russ1-5/+5
Attempt to bring i386 / sc520 inline with master Signed-off-by: Graeme Russ <graeme.russ@gmail.com>
2008-09-0985xx: socrates: Enable Lime support.Anatolij Gustschin4-2/+233
This patch adds Lime GDC support together with support for the PWM backlight control through the w83782d chip. The reset pin of the latter is attached to GPIO, so we need to reset it in early_board_init_r. Signed-off-by: Anatolij Gustschin <agust@denx.de>
2008-09-0985xx: Socrates: Major code update.Detlev Zundel2-49/+65
- Update the local bus ranges in the FDT for Linux for the various devices connected to the local bus via chip-select. - Set the LCRR_DBYP bit in the LCRR for local bus frequencies lower than 66 MHz and uses I/O accessor functions consequently. - UPM data update. - Update of default environment and configuration. Use I2C multibus as we do have two I2C buses. Also enable sdram and ext2 commands. Signed-off-by: Wolfgang Grandegger <wg@grandegger.com> Signed-off-by: Sergei Poselenov <sposelenov@emcraft.com> Signed-off-by: Detlev Zundel <dzu@denx.de>