aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2007-10-31ppc4xx: Dynamic configuration of 4xx PCIe mode as root or endpoint modeStefan Roese8-105/+176
This patch adds support for dynamic configuration of PCIe ports for the AMCC PPC4xx boards equipped with PCIe interfaces. These are the PPC440SPe boards Yucca & Katmai and the 405EX board Kilauea. This dynamic configuration is done via the "pcie_mode" environement variable. This variable can be set to "EP" or "RP" for endpoint or rootpoint mode. Multiple values can be joined via the ":" delimiter. Here an example: pcie_mode=RP:EP:EP This way, PCIe port 0 will be configured as rootpoint, PCIe port 1 and 2 as endpoint. Per default Yucca will be configured as: pcie_mode=RP:EP:EP Per default Katmai will be configured as: pcie_mode=RP:RP:REP Per default Kilauea will be configured as: pcie_mode=RP:RP Signed-off-by: Tirumala R Marri <tmarri@amcc.com> Signed-off-by: Stefan Roese <sr@denx.de>
2007-10-31ppc4xx: Enable device tree support (fdt) on Kilauea per defaultStefan Roese2-43/+17
This patch enables the fdt support on the AMCC Kilauea eval board. Additionally now EBC ranges fdt fixup is included to support NOR FLASH mapping via the Linux physmap_of driver. This Kilauea port now support booting arch/ppc and arch/powerpc Linux kernels. The default environment "net_nfs" is for arch/ppc and "net_nfs_fdt" is for arch/powerpc. In the long run, arch/ppc support will be removed. Signed-off-by: Stefan Roese <sr@denx.de>
2007-10-31ppc4xx: Add additional debug info to 4xx fdt supportStefan Roese1-0/+2
Signed-off-by: Stefan Roese <sr@denx.de>
2007-10-31ppc4xx: Fix small merge problems with CPCI440 and Acadia boardsStefan Roese2-257/+1
Signed-off-by: Stefan Roese <sr@denx.de>
2007-10-31ppc4xx: Fix small merge problem in 4xx_enet.cStefan Roese1-1/+1
Signed-off-by: Stefan Roese <sr@denx.de>
2007-10-31ppc4xx: Add initial AMCC Kilauea 405EX supportStefan Roese11-0/+1616
Signed-off-by: Stefan Roese <sr@denx.de>
2007-10-31ppc4xx: Add PPC405EX supportStefan Roese21-145/+1205
Signed-off-by: Stefan Roese <sr@denx.de>
2007-10-31ppc4xx: Cleanup of 4xx PCI and PCIe support (renaming)Stefan Roese1-0/+11
Signed-off-by: Stefan Roese <sr@denx.de>
2007-10-31ppc4xx: Add initial fdt support to 4xx (first needed on 405EX)Stefan Roese1-0/+171
Signed-off-by: Stefan Roese <sr@denx.de>
2007-10-31POST: Add 405EX support to 4xx UART POST testStefan Roese1-2/+13
Signed-off-by: Stefan Roese <sr@denx.de>
2007-10-31DTT: Prepare DS1775 driver for use of different I2C addressesStefan Roese2-1/+2
Signed-off-by: Stefan Roese <sr@denx.de>
2007-10-31ppc4xx: 4xx_pcie: Change PCIe status output to match common styleStefan Roese1-2/+2
Signed-off-by: Stefan Roese <sr@denx.de>
2007-10-31ppc4xx: 4xx_pcie: Disable debug output as defaultStefan Roese1-1/+1
Signed-off-by: Stefan Roese <sr@denx.de>
2007-10-31ppc4xx: 4xx_pcie: More general cleanup and 405EX PCIe support addedStefan Roese4-51/+79
Signed-off-by: Stefan Roese <sr@denx.de>
2007-10-31ppc4xx: 4xx_pcie: Change CFG_PCIE_MEMSIZE to 128MB on Yucca & KatmaiStefan Roese3-3/+26
128MB seems to be the smallest possible value for the memory size for on PCIe port. With this change now the BAR's of the PCIe cards are accessible under U-Boot. One big note: This only works for PCIe port 0 & 1. For port 2 this currently doesn't work, since the base address is now 0xc0000000 (0xb0000000 + 2 * 0x08000000), and this is already occupied by CFG_PCIE0_CFGBASE. But solving this issue for port 2 would mean to change the base addresses completely and this change would have too much impact right now. This patch adds debug output to the 4xx pcie driver too. Signed-off-by: Stefan Roese <sr@denx.de>
2007-10-31ppc4xx: 4xx_pcie: Fix problem with SDRN access using port number as idxStefan Roese1-6/+6
Signed-off-by: Stefan Roese <sr@denx.de>
2007-10-31ppc4xx: Rename 405gp_pci to 4xx_pci since its used on all 4xx platformsStefan Roese9-11/+11
These files were introduced with the IBM 405GP but are currently used on all 4xx PPC platforms. So the name doesn't match the content anymore. This patch renames the files to 4xx_pci.c/h. Signed-off-by: Stefan Roese <sr@denx.de>
2007-10-31ppc4xx: Add a comment for 405EX PCIe endpoint configurationStefan Roese1-0/+6
Signed-off-by: Stefan Roese <sr@denx.de>
2007-10-31ppc4xx: Make 440SPe PCIe code more generic to use on different 4xx PPCs (3)Stefan Roese2-421/+322
(3) This patch introduces macros like SDRN_PESDR_DLPSET(port) to access the SDR registers of the PCIe ports. This makes the overall design clearer, since it removed a lot of switch statements which are not needed anymore. Also, the functions ppc4xx_init_pcie_rootport() and ppc4xx_init_pcie_entport() are merged into a single function ppc4xx_init_pcie_port(), since most of the code was duplicated. This makes maintainance and porting to other 4xx platforms easier. Signed-off-by: Stefan Roese <sr@denx.de>
2007-10-31ppc4xx: Make 440SPe PCIe code more generic to use on different 4xx PPCs (2)Stefan Roese4-33/+26
This patch is the first patch of a series to make the 440SPe PCIe code usable on different 4xx PPC platforms. In preperation for the new 405EX which is also equipped with PCIe interfaces. (2) This patch renames the functions from 440spe_ to 4xx_ with a little additional cleanup Signed-off-by: Stefan Roese <sr@denx.de>
2007-10-31ppc4xx: Make 440SPe PCIe code more generic to use on different 4xx PPCs (1)Stefan Roese5-12/+10
This patch is the first patch of a series to make the 440SPe PCIe code usable on different 4xx PPC platforms. In preperation for the new 405EX which is also equipped with PCIe interfaces. (1) This patch renames the files from 440spe_pcie to 4xx_pcie Signed-off-by: Stefan Roese <sr@denx.de>
2007-10-27Merge git://www.denx.de/git/u-bootStefan Roese38-228/+573
2007-10-25TQM5200: increase kernel_addr_r and fdt_addr_r (hinted by Wolfgang Denk).Bartlomiej Sieka1-2/+2
Signed-off-by: Bartlomiej Sieka <tur@semihalf.com>
2007-10-24Merge branch 'motionpro_ng' of /home/tur/git/u-bootWolfgang Denk2-14/+21
2007-10-24TQM5200: fix spurious characters on second serial interfaceMartin Krause1-1/+1
With this patch PSC3 is configured as UART. This is done, because if the pins of PSC3 are not configured at all (-> all pins are GPI), due to crosstalk, spurious characters may be send over the RX232_2_TXD signal line. Signed-off-by: Martin Krause <martin.krause@tqs.de>
2007-10-24TQM5200S: fix commands for STK52xx base board because of missing SM501 ↵Martin Krause2-7/+12
grafic controller Some commands for the STK52xx base board try to access the SM501 grafic controller. But the TQM5200S has no grafic controller (only the TQM5200 and the TQM5200B have). This patch deactivates the commands accessing the SM501 for the TQM5200S. Signed-off-by: Martin Krause <martin.krause@tqs.de>
2007-10-24Mips: Fix string functions differ prototype declarationJean-Christophe PLAGNIOL-VILLARD1-5/+5
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2007-10-24fsl_pci_init enable COMMAND_MEMORY if inbound windowEd Swarthout1-0/+8
Patch 16e23c3f removed PCSRBAR allocation. But passing zero windows to pciauto_setup_device has the side effect of not getting COMMAND_MEMORY set. Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com>
2007-10-24delta: Fix OHCI_REGS_BASE undeclared and wait_ms implicit declarationJean-Christophe PLAGNIOL-VILLARD2-0/+3
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2007-10-24fix warning: no return statement in function returning non-voidJean-Christophe PLAGNIOL-VILLARD2-7/+7
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2007-10-24xsengine: Fix no partition type specified, use DOS as defaultJean-Christophe PLAGNIOL-VILLARD2-2/+3
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2007-10-24lubbock: Fix no partition type specified, use DOS as defaultJean-Christophe PLAGNIOL-VILLARD1-0/+1
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2007-10-23Coding style: keep lists sorted; update CHANGELOGWolfgang Denk2-16/+75
Signed-off-by: Wolfgang Denk <wd@denx.de>
2007-10-23Fix missing drivers makefile entries ds1722.c mw_eeprom.cJean-Christophe PLAGNIOL-VILLARD3-5/+6
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2007-10-23Fix warning differ in signedness in board/innokom/innokom.cJean-Christophe PLAGNIOL-VILLARD1-1/+1
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2007-10-23fix pxa255_idp boardMarcel Ziswiler9-55/+60
The pxa255_idp being an old unmaintained board showed several issues: 1. CONFIG_INIT_CRITICAL was still defined. 2. Neither CONFIG_MAC_PARTITION nor CONFIG_DOS_PARTITION was defined. 3. Symbol flash_addr was undeclared. 4. The boards lowlevel_init function was still called memsetup. 5. The TEXT_BASE was still 0xa3000000 rather than 0xa3080000. 6. Using -march=armv5 instead of -march=armv5te resulted in lots of 'target CPU does not support interworking' warnings on recent compilers. 7. The PXA's serial driver redefined FFUART, BTUART and STUART used as indexes rather than the register definitions from the pxa-regs header file. Renamed them to FFUART_INDEX, BTUART_INDEX and STUART_INDEX to avoid any ambiguities. 8. There were several redefinition warnings concerning ICMR, OSMR3, OSCR, OWER, OIER, RCSR and CCCR in the PXA's assembly start file. 9. The board configuration file was rather outdated. 10. The part header file defined the vendor, product and revision arrays as unsigned chars instead of just chars in the block_dev_desc_t structure. Signed-off-by: Marcel Ziswiler <marcel@ziswiler.com>
2007-10-23Make MPC8266ADS command selection more robustRune Torgersen1-33/+20
Fix MPC8266 command line definition so it won't break when new commands are added to u-boot. Signed-off-by Rune Torgersen <runet@innovsys.com>
2007-10-23Motion-PRO: Update configuration to accomodate next generation board.Bartlomiej Sieka1-14/+15
New board has faster oscillator and a different Flash chip. This affects: - CFG_MPC5XXX_CLKIN - SDRAM timings - Flash CS configuration (timings) - Flash sector size, and thus MTD partition layout - malloc() arena size (due to bigger Flash sectors) - smaller memory test range (due to bigger malloc() arena) This patch also enables more extensive memory testing via "mtest". Signed-off-by: Bartlomiej Sieka <tur@semihalf.com>
2007-10-23Motion-PRO: Add setting of SDelay reg. to SDRAM controller configuration.Bartlomiej Sieka1-0/+6
Per AN3221 (MPC5200B SDRAM Initialization and Configuration), the SDelay register must be written a value of 0x00000004 as the first step of the SDRAM contorller configuration. Signed-off-by: Bartlomiej Sieka <tur@semihalf.com>
2007-10-23ppc4xx: lwmon5: Some further GPIO config changesStefan Roese1-2/+2
Signed-off-by: Stefan Roese <sr@denx.de>
2007-10-21Minor coding style cleanup; update CHANGELOGWolfgang Denk3-17/+259
Signed-off-by: Wolfgang Denk <wd@denx.de>
2007-10-21Fix NE2000 driver:Vlad Lungu2-24/+14
Fixed typo in ne2000.h, thinko re n2k_inb() usage, don't try to do anything in eth_stop() if eth_init() was not called. Simplified RX path in order to avoid timeouts on really really fast NE2000 cards (read: qemu with internal tftp), NetLoop() is clever enough to cope with 1 packet per eth_rx(). Signed-off-by: Vlad Lungu <vlad@comsys.ro>
2007-10-21Merge branch 'master' of git://www.denx.de/git/u-boot-tq-groupWolfgang Denk3-31/+47
2007-10-21Merge branch 'master' of /home/git/u-boot/Wolfgang Denk11-66/+135
2007-10-19Fix two typos.Detlev Zundel2-2/+2
Signed-off-by: Detlev Zundel <dzu@denx.de>
2007-10-18Merge branch 'master' of git://www.denx.de/git/u-boot-ppc4xxWolfgang Denk1-1/+7
2007-10-18mpc83xx: Add configure entry for MPC83xx ATM supportTony Li2-3/+21
Add MPC8360EMDS_ATM_config and MPC832XEMDS_ATM_config into Makfile and MAKEALL Signed-off-by: Tony Li <tony.li@freescale.com> Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
2007-10-18mpc83xx: pq-mds-pib.c typo errorTony Li1-13/+13
Correct to val8 from val. Signed-off-by: Tony Li <tony.li@freescale.com> Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
2007-10-18Merge git://www.denx.de/git/u-bootKim Phillips54-516/+3477
2007-10-18ppc4xx: Add 667/133 (CPU/PLB) frequency setup to Sequoia bootstrap commandStefan Roese1-1/+7
Signed-off-by: Stefan Roese <sr@denx.de>