85xx: remove the unused ddr_enable_ecc in the board fileThe DDR controller of 8548/8544/8568/8572/8536 processorshave the ECC data init feature, and the new DDR code isusing the feature, and we d
85xx: remove the unused ddr_enable_ecc in the board fileThe DDR controller of 8548/8544/8568/8572/8536 processorshave the ECC data init feature, and the new DDR code isusing the feature, and we don't need the way with DMA toinit memory any more.Signed-off-by: Dave Liu <daveliu@freescale.com>Acked-by: Andy Fleming <afleming@freescale.com>
show more ...
Coding Style cleanup, update CHANGELOGSigned-off-by: Wolfgang Denk <wd@denx.de>
85xx: Convert all fsl_pci_init users to new APIsConverted ATUM8548, MPC8536DS, MPC8544DS, MPC8548CDS, MPC8568MDS,MPC8572DS, TQM85xx, and SBC8548 to use fsl_pci_setup_inbound_windows()and ft_fsl_p
85xx: Convert all fsl_pci_init users to new APIsConverted ATUM8548, MPC8536DS, MPC8544DS, MPC8548CDS, MPC8568MDS,MPC8572DS, TQM85xx, and SBC8548 to use fsl_pci_setup_inbound_windows()and ft_fsl_pci_setup().With these changes the board code is a bit smaller and we get dma-rangesset in the device tree for these boards.Signed-off-by: Kumar Gala <galak@kernel.crashing.org>Signed-off-by: Andrew Fleming-AFLEMING <afleming@freescale.com>
Pass dimm parameters to populate populate controller optionsBecause some dimm parameters like n_ranks needs to be used with the boardfrequency to choose the board parameters like clk_adjust etc. i
Pass dimm parameters to populate populate controller optionsBecause some dimm parameters like n_ranks needs to be used with the boardfrequency to choose the board parameters like clk_adjust etc. in theboard_specific_paramesters table of the board ddr file, we need to passthe dimm parameters to the board file.* move ddr dimm parameters header file from /cpu to /include directory.* add ddr dimm parameters to populate board specific options.* Fix fsl_ddr_board_options() for all the 8xxx boards which call this function.Signed-off-by: Haiying Wang <Haiying.Wang@freescale.com>
rename CFG_ macros to CONFIG_SYSSigned-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Moved initialization of RTL8139 Ethernet controller to board_eth_init()Affected boards: hidden_dragon MPC8544DS MPC8610HPCN R2DPLUS TB0229Removed initialization of the driver from net/eth.c
Moved initialization of RTL8139 Ethernet controller to board_eth_init()Affected boards: hidden_dragon MPC8544DS MPC8610HPCN R2DPLUS TB0229Removed initialization of the driver from net/eth.cSigned-off-by: Ben Warren <biggerbadderben@gmail.com>
Add SGMII support for the 8544 DSThe 8544 DS has an optional SGMII Riser card, which uses different PHYaddresses. Check if we are in SGMII mode, and invoke the SGMII Risersetup code if so.Sign
Add SGMII support for the 8544 DSThe 8544 DS has an optional SGMII Riser card, which uses different PHYaddresses. Check if we are in SGMII mode, and invoke the SGMII Risersetup code if so.Signed-off-by: Andy Fleming <afleming@freescale.com>Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
FSL DDR: Convert MPC8544DS to new DDR code.Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
mpc85xx: workaround old binutils bugThe recent change to move the .bss outside of the image gives olderbinutils (ld from eldk4.1/binutils-2.16) some headache:ppc_85xx-ld: u-boot: Not enough room
mpc85xx: workaround old binutils bugThe recent change to move the .bss outside of the image gives olderbinutils (ld from eldk4.1/binutils-2.16) some headache:ppc_85xx-ld: u-boot: Not enough room for program headers (allocated 3, need 4)ppc_85xx-ld: final link failed: Bad valueWe workaround it by being explicit about the program headers and notassigning the .bss to a program header.Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
mpc85xx: Update linker scripts for Freescale boards* Move to using absolute addressing always. Makes the scripts a bit more portable and common* Moved .bss after the end of the image. These al
mpc85xx: Update linker scripts for Freescale boards* Move to using absolute addressing always. Makes the scripts a bit more portable and common* Moved .bss after the end of the image. These allows us to have more room in the resulting binary image for code and data.* Removed .text object files that aren't really needed* Make sure _end is 4-byte aligned as the .bss init code expects this. (Its possible that the end of .bss isn't 4-byte aligned)Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
MPC8544DS: Add ATI Video card supportAdd support for using a PCIe ATI Video card on PCIe2.Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
MPC8544DS: Report board id, board version and fpga version.Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Remove LBC_CACHE_BASE from 8544 DSThe 8544 DS doesn't have any cacheable Local Bus memories set up. By mappingspace for some anyway, we were allowing speculative loads into unmapped space,which
Remove LBC_CACHE_BASE from 8544 DSThe 8544 DS doesn't have any cacheable Local Bus memories set up. By mappingspace for some anyway, we were allowing speculative loads into unmapped space,which would cause an exception (annoying, even if ultimately harmless).Removing LBC_CACHE_BASE, and using LBC_NONCACHE_BASE for the LBC LAW solves theproblem.Signed-off-by: Andy Fleming <afleming@freescale.com>
Fix some more print() format errors.Signed-off-by: Wolfgang Denk <wd@denx.de>
Cleanup out-or-tree building for some boards (.depend)Signed-off-by: Wolfgang Denk <wd@denx.de>
Change initdram() return type to phys_size_tThis patch changes the return type of initdram() from long int to phys_size_t.This is required for a couple of reasons: long int limits the amount of dr
Change initdram() return type to phys_size_tThis patch changes the return type of initdram() from long int to phys_size_t.This is required for a couple of reasons: long int limits the amount of dramto 2GB, and u-boot in general is moving over to phys_size_t to represent thesize of physical memory. phys_size_t is defined as an unsigned long on almostall current platforms.This patch *only* changes the return type of the initdram function (ininclude/common.h, as well as in each board's implementation of initdram). Itdoes not actually modify the code inside the function on any of the platforms;platforms which wish to support more than 2GB of DRAM will need to modifytheir initdram() function code.Build tested with MAKEALL for ppc, arm, mips, mips-el. Booted on powerpcMPC8641HPCN.Signed-off-by: Becky Bruce <becky.bruce@freescale.com>
85xx/86xx: Move to dynamic mgmt of LAWsWith the new LAW interface (set_next_law) we can move to letting thesystem allocate which LAWs are used for what purpose. This makes lifea bit easier going
85xx/86xx: Move to dynamic mgmt of LAWsWith the new LAW interface (set_next_law) we can move to letting thesystem allocate which LAWs are used for what purpose. This makes lifea bit easier going forward with the new DDR code.Signed-off-by: Kumar Gala <galak@kernel.crashing.org>Signed-off-by: Andy Fleming <afleming@freescale.com>Acked-by: Jon Loeliger <jdl@freescale.com>Acked-by: Becky Bruce <becky.bruce@freescale.com>
85xx: remove dummy board_early_init_fA number of board ports have empty version of board_early_init_ffor no reason since we control its via CONFIG_BOARD_EARLY_INIT_F.Signed-off-by: Kumar Gala <g
85xx: remove dummy board_early_init_fA number of board ports have empty version of board_early_init_ffor no reason since we control its via CONFIG_BOARD_EARLY_INIT_F.Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
85xx: Remove unused and unconfigured memory test code.Remove unused and unconfigured DDR test code from FSL 85xx boards.Besides, other common code exists.Signed-off-by: Kumar Gala <galak@kernel.
85xx: Remove unused and unconfigured memory test code.Remove unused and unconfigured DDR test code from FSL 85xx boards.Besides, other common code exists.Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Big white-space cleanup.This commit gets rid of a huge amount of silly white-space issues.Especially, all sequences of SPACEs followed by TAB characters getremoved (unless they appear in print st
Big white-space cleanup.This commit gets rid of a huge amount of silly white-space issues.Especially, all sequences of SPACEs followed by TAB characters getremoved (unless they appear in print statements).Also remove all embedded "vim:" and "vi:" statements which hideindentation problems.Signed-off-by: Wolfgang Denk <wd@denx.de>
MPC8544DS: decode pcie3 end-point configuration correctly.Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com>Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Remove all the search paths from the .lds files.The cross compiler is responsible for providing the correct librariesand the logic to find the linking libraries.Signed-off-by: Jason Wessel <jaso
Remove all the search paths from the .lds files.The cross compiler is responsible for providing the correct librariesand the logic to find the linking libraries.Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
85xx: Add the concept of CFG_CCSRBAR_PHYSWhen we go to 36-bit physical addresses we need to keep the concept ofthe physical CCSRBAR address seperate from the virtual one.For the majority of boar
85xx: Add the concept of CFG_CCSRBAR_PHYSWhen we go to 36-bit physical addresses we need to keep the concept ofthe physical CCSRBAR address seperate from the virtual one.For the majority of boards CFG_CCSBAR_PHYS == CFG_CCSRBARSigned-off-by: Kumar Gala <galak@kernel.crashing.org>
Remove erroneous or extra spd.h #includers.Many of the spd.h #includers don't need it,and wanted to have spd_sdram() declared instead.Since they didn't get that, some also had opencoded extern d
Remove erroneous or extra spd.h #includers.Many of the spd.h #includers don't need it,and wanted to have spd_sdram() declared instead.Since they didn't get that, some also had opencoded extern declarations of it instead or as well.Fix it all up by using spd_sdram.h where needed.Signed-off-by: Jon Loeliger <jdl@freescale.com>
85xx: Convert MPC8544 DS to new TLB setupSigned-off-by: Kumar Gala <galak@kernel.crashing.org>
1234