summaryrefslogtreecommitdiffstats
path: root/board
Commit message (Collapse)AuthorAgeFilesLines
* add board_eth_init() for sh7785lcr boardYoshihiro Shimoda2008-09-091-0/+5
| | | | | | Fix the problem that cannot work RTL8169 on sh7785lcr board. Signed-off-by: Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com>
* ppc4xx: ppc440-generic-ALL: Fix out of tree build v2Ricardo Ribalda Delgado2008-09-097-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>
* Update i386 code (sc520_cdp)Graeme Russ2008-09-091-5/+5
| | | | | | Attempt to bring i386 / sc520 inline with master Signed-off-by: Graeme Russ <graeme.russ@gmail.com>
* 85xx: socrates: Enable Lime support.Anatolij Gustschin2008-09-094-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>
* 85xx: Socrates: Major code update.Detlev Zundel2008-09-092-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>
* Update Freescale 85xx boards to sys_eeprom.cTimur Tabi2008-09-092-61/+0
| | | | | | | | | The new sys_eeprom.c supports both the old CCID EEPROM format and the new NXID format, and so it obsoletes board/freescale/common/cds_eeprom.c. Freescale 86xx boards already use sys_eeprom.c, so this patch migrates the remaining Freescale 85xx boards to use it as well. cds_eeprom.c is deleted. Signed-off-by: Timur Tabi <timur@freescale.com>
* stxxtc: remove empty CONFIG_SHOW_ACTIVITY functionsWolfgang Denk2008-09-091-14/+0
| | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* NETTA2: remove empty CONFIG_SHOW_ACTIVITY functionsWolfgang Denk2008-09-091-14/+0
| | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* Merge branch 'master' of git://git.denx.de/u-boot-ppc4xxWolfgang Denk2008-09-0919-154/+280
|\ | | | | | | | | | | | | | | Conflicts: Makefile Signed-off-by: Wolfgang Denk <wd@denx.de>
| * ppc4xx: Move ppc4xx specific prototypes to ppc4xx headerStefan Roese2008-09-081-1/+1
| | | | | | | | | | | | | | This patch moves some 4xx specific prototypes out of include common.h to a ppc4xx specific header. Signed-off-by: Stefan Roese <sr@denx.de>
| * Merge branch 'master' of /home/stefan/git/u-boot/u-bootStefan Roese2008-09-089-287/+341
| |\
| * | ppc4xx: Cleanup CPCI405 linker scriptMatthias Fuchs2008-09-081-15/+0
| | | | | | | | | | | | | | | Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com> Signed-off-by: Stefan Roese <sr@denx.de>
| * | ppc4xx: Update CPCI405 variants handlingMatthias Fuchs2008-09-081-14/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch replaces the BOARD_REVISION variable in include/config.mk by a using a temporary include file in the platform directory. The former way does not work anymore and the latter is also used by some other boards. Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com> Signed-off-by: Stefan Roese <sr@denx.de>
| * | ppc44x: Unification of virtex5 pp440 boardsRicardo Ribalda Delgado2008-09-0516-124/+277
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch provides an unificated way of handling xilinx v5 ppc440 boards. It unificates 3 different things: 1) Source code A new board called ppc440-generic has been created. This board includes a generic tlb initialization (Maps the whole memory into virtual) and defines board_pre_init, checkboard, initdram and get_sys_info weakly, so, they can be replaced by specific functions. If a new board needs to redefine any of the previous functions (specific initialization) it can create a new directory with the specific initializations needed. (see the example ml507 board). 2) Configuration file Common configurations are located under configs/xilinx-ppc440.h, this header file interpretes the xparameters file generated by EDK and configurates u-boot in correspondence. Example: if there is a Temac, allows CMD_CONFIG_NET Specific configuration are located under specific configuration file. (see the example ml507 board) 3) Makefile Some work has been done in order to not duplicate work in the Main Makefile. Please see the attached code. In order to support new boards they can be implemented in the next way: a) Simple Generic Board (90% of the time) Using EDK generates a new xparameters.h file, replace ppc440-generic/xparameters.h and run make xilinx-ppc440-generic_config && make b) Simple Boards with special u-boot parameters (9 % of the time) Create a new file under configs for it (use ml507.h as example) and change your paramaters. Create a new Makefile paragraph and compile c) Complex boards (1% of the time) Create a new folder for the board, like the ml507 Finally, it adds support for the Avnet FX30T Evaluation board, following the new generic structure: Cheap board by Avnet for evaluating the Virtex5 FX technology. This patch adds support for: - UartLite - 16MB Flash - 64MB RAM Prior using U-boot in this board, read carefully the ERRATA by Avnet to solve some memory initialization issues. Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@uam.es> Signed-off-by: Stefan Roese <sr@denx.de>
* | | disk-on-chip: remove duplicate doc_probe declarationJean-Christophe PLAGNIOL-VILLARD2008-09-0910-11/+0
| | | | | | | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* | | ARM: Use do_div() instead of division for "long long".Sergei Poselenov2008-09-092-5/+12
| |/ |/| | | | | | | Signed-off-by: Sergei Poselenov <sposelenov@emcraft.com> Signed-off-by: Wolfgang Denk <wd@denx.de>
* | rtc: allow rtc_set to return an error and use it in cmd_dateJean-Christophe PLAGNIOL-VILLARD2008-09-074-7/+9
| | | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* | apollon: use the last memory area for u-bootKyungmin Park2008-09-071-1/+1
| | | | | | | | Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
* | TQM8272: move NAND part in seperate FileHeiko Schocher2008-09-064-276/+331
| | | | | | | | | | | | | | I didn't try to use drivers/mtd/nand/fsl_upm.c for the NAND driver, because I have no longer access to the hardware. Signed-off-by: Heiko Schocher <hs@denx.de>
* | TQM8272: Fix compiling error for the TQM8272 board.Heiko Schocher2008-09-061-18/+15
|/ | | | | | | Fix compile problems caused by commit cfa460adfdefcc30d104e1a9ee44994ee349bb7b Signed-off-by: Heiko Schocher <hs@denx.de>
* Merge branch 'master' of git://git.denx.de/u-boot-ppc4xxWolfgang Denk2008-09-0323-419/+22
|\ | | | | | | | | | | | | | | Conflicts: board/esd/dasa_sim/dasa_sim.c Signed-off-by: Wolfgang Denk <wd@denx.de>
| * ppx4xx: Fix broken DASA_SIM boardMatthias Fuchs2008-09-031-0/+5
| | | | | | | | | | | | | | | | This patch adds initdram() to DASA_SIM boards that has been removed accidentally by a previous commit. Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com> Signed-off-by: Stefan Roese <sr@denx.de>
| * ppc4xx: Remove reference to common/lists.o from some esd linker scriptsStefan Roese2008-09-033-3/+0
| | | | | | | | | | | | | | | | This patch removes some direct references to common/lists.o from some esd linker scripts. This is necessary because the lists source was moved and is not in the "common" directory anymore. Signed-off-by: Stefan Roese <sr@denx.de>
| * ppc4xx: Remove obsolete or unused functions from some esd boardsMatthias Fuchs2008-09-0315-326/+0
| | | | | | | | | | | | | | | | | | This patch removes initdram() and testdram() from most esd 405 platforms. Some boards also have an empty dummy implementation of misc_init_f(). This is also removed. Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com> Signed-off-by: Stefan Roese <sr@denx.de>
| * ppc4xx: Remove obsolete initdram() function from VOM405 boardMatthias Fuchs2008-09-031-25/+0
| | | | | | | | | | | | | | | | | | | | This patch removed the obsolete initdram() function from VOM405 platform file. Some minor cleanup. Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com> Signed-off-by: Stefan Roese <sr@denx.de>
| * ppc4xx: Cleanup VOM405 linker scriptMatthias Fuchs2008-09-031-12/+0
| | | | | | | | | | Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com> Signed-off-by: Stefan Roese <sr@denx.de>
| * ppc4xx: Cleanup PLU405 platform fileMatthias Fuchs2008-09-031-37/+21
| | | | | | | | | | | | | | | | | | This patch - wraps some long lines - removes unused/obsolete functions: misc_init_f() and initdram() Signed-off-by: Matthias Fuchs <mf@esd.eu> Signed-off-by: Stefan Roese <sr@denx.de>
| * ppc4xx: Cleanup PLU405 linker scriptMatthias Fuchs2008-09-031-14/+0
| | | | | | | | | | Signed-off-by: Matthias Fuchs <mf@esd.eu> Signed-off-by: Stefan Roese <sr@denx.de>
| * ppc4xx: Increase U-Boot size to 384kB for PLU405 boardsMatthias Fuchs2008-09-031-2/+1
| | | | | | | | | | Signed-off-by: Matthias Fuchs <mf@esd.eu> Signed-off-by: Stefan Roese <sr@denx.de>
* | Moved initialization of EEPRO100 Ethernet controller to board_eth_init()Ben Warren2008-09-0227-0/+161
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Affected boards: db64360 db64460 katmai taihu taishan yucca cpc45 cpu87 eXalion elppc debris kvme080 mpc8315erdb integratorap ixdp425 oxc pm826 pm828 pm854 pm856 ppmc7xx sc3 sc520_spunk sorcery tqm8272 tqm85xx utx8245 Removed initialization of the driver from net/eth.c Also, wrapped contents of pci_eth_init() by CONFIG_PCI. Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
* | Moved initialization of TULIP Ethernet controller to board_eth_init()Ben Warren2008-09-0211-0/+74
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Affected boards: cu824 bab7xx adciop dasa_sim mousse mpc8540eval musenki mvblue pcippc2/pcippc6 sbc8240 stxssa Removed initialization of the driver from net/eth.c Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
* | Moved initialization of E1000 Ethernet controller to board_eth_init()Ben Warren2008-09-023-1/+15
| | | | | | | | | | | | | | | | | | | | | | Affected boards: ap1000 mvbc_p PM854 Removed initialization of the driver from net/eth.c Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
* | Moved initialization of plb2800 Ethernet driver to board_eth_initBen Warren2008-09-021-0/+9
| | | | | | | | | | | | | | | | | | Affected boards: purple Removed initialization of controller from net/eth.c Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
* | Moved initialization of MPC5xxx_FEC Ethernet driver to CPU directoryBen Warren2008-09-027-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Modified board_eth_init() functions of boards that have this FEC in addition to other Ethernet controllers. Affected boards: bc3450 icecube mvbc_p o2dnt pm520 total5200 tq5200 Removed initialization of controller from net/eth.c Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
* | Moved initialization of IncaIP Ethernet controller to board_eth_initBen Warren2008-09-021-0/+8
| | | | | | | | | | | | | | | | | | Affected boards: IncaIP Removed initialization of the driver from net/eth.c Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
* | Moved initialization of 3COM Ethernet controller (AmigaOne) to board_eth_init()Ben Warren2008-09-022-0/+10
| | | | | | | | | | | | | | | | | | Affected boards: AmigaOneG3SE Removed initialization of the driver from net/eth.c Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
* | Moved initialization of GT6426x Ethernet controller to board_eth_init()Ben Warren2008-09-022-1/+8
| | | | | | | | | | | | | | | | | | | | | | Affected boards: EVB64260 P3G4 ZUMA Removed initialization of the driver from net/eth.c Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
* | Moved initialization of PCNET Ethernet controller to board_eth_init()Ben Warren2008-09-022-0/+12
| | | | | | | | | | | | | | | | | | | | Affected boards: PN62 sc520_cdp Removed initialization of the driver from net/eth.c Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
* | Moved initialization of NATSEMI Ethernet controller to board_eth_init()Ben Warren2008-09-021-0/+7
| | | | | | | | | | | | | | | | | | Affected boards: a3000 Removed initialization of the driver from net/eth.c Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
* | Moved initialization of NS8382X Ethernet controller to board_eth_init()Ben Warren2008-09-0210-0/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Affected boards: bc3450 cpci5200 mecp5200 pf2000 icecube o2dnt pm520 sandpoint8245 total5200 tqm5200 Removed initialization of the driver from net/eth.c Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
* | Moved initialization of TSI108 Ethernet controller to board_eth_init()Ben Warren2008-09-021-0/+10
| | | | | | | | | | | | | | | | | | Affected boards: mpc7448hpc2 Removed initialization of the driver from net/eth.c Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
* | Moved initialization of RTL8139 Ethernet controller to board_eth_init()Ben Warren2008-09-025-4/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | Affected boards: hidden_dragon MPC8544DS MPC8610HPCN R2DPLUS TB0229 Removed initialization of the driver from net/eth.c Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
* | Moved initialization of RTL8169 Ethernet controller to board_eth_init()Ben Warren2008-09-022-0/+12
| | | | | | | | | | | | | | | | | | | | Affected boards: linkstation r7780mp Removed initialization of the driver from net/eth.c Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
* | Moved initialization of Ethernet controllers on Atmel AT91 to board_eth_init()Ben Warren2008-09-023-0/+33
| | | | | | | | | | | | Removed at91sam9_eth_initialize() from net/eth.c Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
* | Introduce netdev.h header file and remove externsBen Warren2008-09-028-20/+9
| | | | | | | | | | | | | | This addresses all drivers whose initializers have already been moved to board_eth_init()/cpu_eth_init(). Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
* | Add pixis_set_sgmii commandAndy Fleming2008-09-021-0/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The 8544DS and 8572DS platforms support an optional SGMII riser card to expose ethernet over an SGMII interface. Once the card is in, it is also necessary to configure the board such that it uses the card, rather than the on-board ethernet ports. This can either be done by flipping dip switches on the motherboard, or by modifying registers in the pixis. Either way requires a reboot. This adds a command to allow users to choose which ports are routed through the SGMII card, and which through the onboard ports. It also allows users to revert to the current switch settings. This code does not work on the 8572, as the PIXIS is different. Signed-off-by: Andy Fleming <afleming@freescale.com> Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
* | Add SGMII support for the 8544 DSAndy Fleming2008-09-021-0/+39
| | | | | | | | | | | | | | | | | | The 8544 DS has an optional SGMII Riser card, which uses different PHY addresses. Check if we are in SGMII mode, and invoke the SGMII Riser setup code if so. Signed-off-by: Andy Fleming <afleming@freescale.com> Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
* | Add support for Freescale SGMII Riser CardAndy Fleming2008-09-023-0/+42
|/ | | | | | | | | | | The 8544DS and 8572DS systems have an optional SGMII riser card which exposes new ethernet ports which are connected to the eTSECs via an SGMII interface. The SGMII PHYs for this board are offset from the standard PHY addresses, so this code modifies the passed in tsec_info structure to use the SGMII PHYs on the card, instead. Signed-off-by: Andy Fleming <afleming@freescale.com> Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
* Merge branch 'master' of git://git.denx.de/u-boot-armWolfgang Denk2008-09-0125-666/+1145
|\
| * smdk6400: add gitignoreJean-Christophe PLAGNIOL-VILLARD2008-08-311-0/+5
| | | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
OpenPOWER on IntegriCloud