83xx/85xx/86xx: LBC register cleanupCurrently, 83xx, 86xx, and 85xx have a lot of duplicated codededicated to defining and manipulating the LBC registers. Mergethis into a single spot.To do th
83xx/85xx/86xx: LBC register cleanupCurrently, 83xx, 86xx, and 85xx have a lot of duplicated codededicated to defining and manipulating the LBC registers. Mergethis into a single spot.To do this, we have to decide on a common name for the data structurethat holds the lbc registers - it will now be known as fsl_lbc_t, and weadopt a common name for the immap layouts that include the lbc - this waspreviously known as either im_lbc or lbus; use the former.In addition, create accessors for the BR/OR regs that use in/out_be32and use those instead of the mismash of access methods currently in play.I have done a successful ppc build all and tested a board or two fromeach processor family.Signed-off-by: Becky Bruce <beckyb@kernel.crashing.org>Acked-by: Kim Phillips <kim.phillips@freescale.com>Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
show more ...
Generic udelay() with watchdog supportAccording to the PPC reference implementation the udelay() function isresponsible for resetting the watchdog timer as frequently as needed.Most other archite
Generic udelay() with watchdog supportAccording to the PPC reference implementation the udelay() function isresponsible for resetting the watchdog timer as frequently as needed.Most other architectures do not meet that requirement, so long-runningoperations might result in a watchdog reset.This patch adds a generic udelay() function which takes care ofresetting the watchdog before calling an architecture-specific__udelay().Signed-off-by: Ingo van Lil <inguin@gmx.de>
NAND boot: change NAND loader's relocate SP to CONFIG paramSo that we can set the NAND loader's relocate stack pointerto the value other than the relocate address + 0x10000.Signed-off-by: Mingka
NAND boot: change NAND loader's relocate SP to CONFIG paramSo that we can set the NAND loader's relocate stack pointerto the value other than the relocate address + 0x10000.Signed-off-by: Mingkai Hu <Mingkai.hu@freescale.com>Acked-by: Kim Phillips <kim.phillips@freescale.com>Acked-by: Scott Wood <scottwood@freescale.com>Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Make Freescale local bus registers available for both 83xx and 85xx.- Rename lbus83xx_t to fsl_lbus_t and move it to asm/fsl_lbc.h so that it can be shared by both 83xx and 85xx- Remove lbus83xx
Make Freescale local bus registers available for both 83xx and 85xx.- Rename lbus83xx_t to fsl_lbus_t and move it to asm/fsl_lbc.h so that it can be shared by both 83xx and 85xx- Remove lbus83xx_t and replace it with fsl_lbus_t in all 83xx boards files which use lbus83xx_t.- Move FMR, FIR, FCR, FPAR, LTESR from mpc83xx.h to asm/fsl_lbc.h so that 85xx can share them.Signed-off-by: Jason Jin <Jason.Jin@freescale.com>Signed-off-by: Haiying Wang <Haiying.Wang@freescale.com>Signed-off-by: Scott Wood <scottwood@freescale.com>
rename CFG_ macros to CONFIG_SYSSigned-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
mpc83xx: spd_sdram: fix ddr sdram base address assignment bugThe spd_dram code shifts the base address, then masks 20 bits, butforgets to shift the base address back. Fix this by just masking the
mpc83xx: spd_sdram: fix ddr sdram base address assignment bugThe spd_dram code shifts the base address, then masks 20 bits, butforgets to shift the base address back. Fix this by just masking thebase 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>
NAND boot: MPC8313ERDB supportNote that with older board revisions, NAND boot may only work after apower-on reset, and not after a warm reset. I don't have a newer boardto test on; if you have a
NAND boot: MPC8313ERDB supportNote that with older board revisions, NAND boot may only work after apower-on reset, and not after a warm reset. I don't have a newer boardto test on; if you have a board with a 33MHz crystal, please let me knowif it works after a warm reset.Signed-off-by: Scott Wood <scottwood@freescale.com>
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>
83xx: Add Vitesse VSC7385 firmware uploadingUpdate the MPC8349E-mITX, MPC8313E-RDB, and MPC837XE-RDB board files to uploadthe Vitesse VSC7385 firmware. Changed CONFIG_VSC7385 to CONFIG_VSC7385_EN
83xx: Add Vitesse VSC7385 firmware uploadingUpdate the MPC8349E-mITX, MPC8313E-RDB, and MPC837XE-RDB board files to uploadthe Vitesse VSC7385 firmware. Changed CONFIG_VSC7385 to CONFIG_VSC7385_ENET.Cleaned up the board header files to make selecting the VSC7385 easier tocontrol.Signed-off-by: Timur Tabi <timur@freescale.com>Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
mpc83xx: fix mpc8313/mpc8315/mpc8349itx Makefiles for silent build (with -s)Signed-off-by: Kumar Gala <galak@kernel.crashing.org>Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
mpc83xx: remove FLAT_TREE codeneed to rm it from pci code, too!Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Fix cases where DECLARE_GLOBAL_DATA_PTR was not declared as globalSigned-off-by: Wolfgang Denk <wd@denx.de>
mpc83xx: move freescale boards to boards/freescaleincludes build fixes.Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
12