summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-11-10mpc8641: Support 36-bit physical addressingBecky Bruce
This patch creates a memory map with all the devices in 36-bit physical space, in addition to the 32-bit map. The CCSR relocation is moved (again, sorry) to allow for the physical address to be 36 bits - this requires translation to be enabled. With 36-bit physical addressing enabled, we are no longer running with VA=PA translations. This means we have to distinguish between the two in the config file. The existing region name is used to indicate the virtual address, and a _PHYS variety is created to represent the physical address. Large physical addressing is not enabled by default. Set CONFIG_PHYS_64BIT in the config file to turn this on. Signed-off-by: Becky Bruce <becky.bruce@freescale.com>
2008-11-10mpc8641: Change 32-bit memory mapBecky Bruce
The memory map on the 8641hpcn is modified to look more like the 85xx boards; this is a step towards a more standardized layout going forward. As part of this change, we now relocate the flash. The regions for some of the mappings were far larger than they needed to be. I have reduced the mappings to match the actual sizes supported by the hardware. In addition I have removed the comments at the head of the BAT blocks in the config file, rather than updating them. These get horribly out of date, and it's a simple matter to look at the defines to see what they are set to since everything is right here in the same file. Documentation has been changed to reflect the new map, as this change is user visible, and affects the OS which runs post-uboot. Signed-off-by: Becky Bruce <becky.bruce@freescale.com>
2008-11-10mpc86xx: Change early FLASH mapping to 1M at CONFIG_MONITOR_BASE_EARLYBecky Bruce
We define CONFIG_MONITOR_BASE_EARLY to define the initial location of the bootpage in flash. Use this to create an early mapping definition for the FLASH, and change the early_bats code to use this. This change facilitates the relocation of the flash since the early mappings are no longer tied to the final location of the flash. Signed-off-by: Becky Bruce <becky.bruce@freescale.com>
2008-11-10mpc86xx: Use SRR0/1/rfi to enable address translation, not blrBecky Bruce
Using a mtmsr/blr means that you have to be executing at the same virtual address once you enable translation. This is unnecessarily restrictive, and is not really how this is usually done. Change it to use the more common mtspr SRR0/SRR1 and rfi method. Signed-off-by: Becky Bruce <becky.bruce@freescale.com>
2008-11-10mpc8641: make DIAG_ADDR == FLASH_BASEBecky Bruce
Currently, that's what it is, but it's hardcoded. Signed-off-by: Becky Bruce <becky.bruce@freescale.com>
2008-11-10mpc8641: Drop imaginary second flash bank, map 8MBBecky Bruce
There's a lot of setup and foo for the second flash bank. The problem is, this board doesn't actually have one. Clean this up. Also, the flash is 8M in size. Get rid of the confusing aliased overmapping, and just map 8M. Signed-off-by: Becky Bruce <becky.bruce@freescale.com>
2008-11-10mpc8641: only define CONFIG_ENV_SIZE onceBecky Bruce
It's currently defined twice inside in an if/else block, but both halves set the same value. Move the define outside the if. Signed-off-by: Becky Bruce <becky.bruce@freescale.com>
2008-11-10mpc86xx: Move setup_bats into cpu_init_fBecky Bruce
In order to later allow for a physical relocation of the flash, setup_bats, which sets up the final BAT mapping for the board, needs to happen *after* init_laws(). Otherwise, there will be no window programmed for the flash at the new physical location at the point when we change the mmu translation. Signed-off-by: Becky Bruce <becky.bruce@freescale.com>
2008-11-10mpc8641: Remove extra "0" from BR2 defineBecky Bruce
Signed-off-by: Becky Bruce <becky.bruce@freescale.com>
2008-11-10Merge commit 'wd/master'Jon Loeliger
2008-11-09Merge branch 'master' of /home/wd/git/u-boot/custodiansWolfgang Denk
2008-11-09Merge branch 'master' of git://git.denx.de/u-boot-armWolfgang Denk
2008-11-09Merge branch 'master' of /home/wd/git/u-boot/custodiansWolfgang Denk
2008-11-09Merge branch 'master' of git://git.denx.de/u-boot-at91Wolfgang Denk
2008-11-09Merge branch 'master' of /home/wd/git/u-boot/custodiansWolfgang Denk
2008-11-09Merge branch 'master' of git://git.denx.de/u-boot-coldfireWolfgang Denk
2008-11-07AT91: Replace AT91_BASE_EMAC by the board specific values.Stelian Pop
AT91_BASE_EMAC is never used outside the board specific files, so replace its usage by the board specific AT91xxx_BASE_EMAC. Signed-off-by: Stelian Pop <stelian@popies.net> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2008-11-07AT91: Replace (undefined) AT91_ID_US* by the board specific values.Stelian Pop
AT91_ID_US0 / AT91_ID_US1 / AT91_ID_US2 were used but never defined. Since they are never used outside the board specific files, they can be replaced by the board specific AT91xxx_ID_US0 / AT91xxx_ID_US1 / AT91xxx_ID_US2. Bug spotted by Jesus Alvarez <jalvarez@micromint.com>. Signed-off-by: Stelian Pop <stelian@popies.net> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2008-11-04Makefile/at91sam9: move some at91sam9 to the correct subsection for arm926ejsJean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2008-11-04Custom AFEB9260 board supportSergey Lapin
This patch provides support for AFEB9260 board, a product of OpenSource hardware and software. Some commertial projects are made with this design. A board is basically AT91SAM9260-EK with some modifications and different peripherals and different parts used. Main purpose of this project is to gain experience in hardware design. More info: http://groups.google.com/group/arm9fpga-evolution-board (In Russian only, sorry). Subversion repository: svn://194.85.238.22/home/users/george/svn/arm9eb Signed-off-by: Sergey Lapin <slapin@ossfans.org>
2008-11-04Change to use "do_div" macroTomohiro Masubuchi
Signed-off-by: Tomohiro Masubuchi <tomohiro_masubuchi@tripeaks.co.jp>
2008-11-04ARM926EJ-S: relocate OMAP specific 'cpuinfo.c' into OMAP directoryRoman Mashak
OMAP identification is implemented in 'cpuinfo.c' and located in ARM926EJ-S directory. It makes sense to place this file in OMAP specific subdirectory, i.e. cpu/arm926ejs/omap Signed-off-by: Roman Mashak <romez777@gmail.com>
2008-11-04ARM/Versatile port: Removed unused functionsRoman Mashak
Removal of never used functions. Signed-off-by: Roman Mashak <romez777@gmail.com>
2008-11-04powerpc: change 86xx SMP boot methodBecky Bruce
We put the bootpg for the secondary cpus into memory and use BPTR to get to it. This is a step towards converting to the ePAPR boot methodology. Also, the code is written to deal properly with more than 4GB of RAM. Signed-off-by: Becky Bruce <becky.bruce@freescale.com>
2008-11-038641HPCN: Config file cleanupBecky Bruce
There are several items in the config file that were hardcoded but that should really be based on other config options, since the regions are contiguous and depend on being so. This cleans that up a bit. Also, add BR_PHYS_ADDR() macro to convert addresses into the proper format for BR registers. Signed-off-by: Becky Bruce <becky.bruce@freescale.com>
2008-11-0386xx: Make dram_size a phys_size_tBecky Bruce
It's currently a long and should be phys_size_t. Signed-off-by: Becky Bruce <becky.bruce@freescale.com>
2008-11-03powerpc 86xx: Handle CCSR relocation earlierBecky Bruce
Currently, the CCSR gets relocated while translation is enabled, meaning we need 2 BAT translations to get to both the old location and the new location. Also, the DEFAULT CCSR location has a dependency on the BAT that maps the FLASH region. Moving the relocation removes this unnecessary dependency. This makes it easier and more intutive to modify the board's memory map. Swap BATs 3 and 4 on 8610 so that all 86xx boards use the same BAT for CCSR space. Signed-off-by: Becky Bruce <becky.bruce@freescale.com>
2008-11-03mpc8641: Make PCI and RIO mutually exclusive, fix non-PCI buildBecky Bruce
You can't actually have both, and with some coming changes to change the memory map for the board and support 36-bit physical, we need the extra BAT that is being consumed by having both. I also make non-PCI configs build cleanly, for the sake of sanity. Signed-off-by: Becky Bruce <becky.bruce@freescale.com>
2008-11-03mpc8641: Stop supporting non-PCI_PNP configsBecky Bruce
We don't actually ever do this, remove the code so we can stop maintaining it. Signed-off-by: Becky Bruce <becky.bruce@freescale.com>
2008-11-03ColdFire: Fix M5329EVB and M5373EVB nand issueTsiChung Liew
Fix compilation issue caused by a few mismatches. Provide proper nand chip select enable/disable in nand_hwcontrol() rather than in board_nand_init() just enable once. Remove redundant local nand driver functions - nand_read_byte(), nand_write_byte() and nand_dev_ready() to use common nand driver. Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
2008-11-03ColdFire: Fix compilation errorTsiChung Liew
The error was caused by the change for strmhz() in cpu.c. A few of them were one extra close parenthesis. Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
2008-11-03ColdFire: Add MCF5301x CPU and M53017EVB supportTsiChung Liew
Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
2008-11-03ColdFire: Add SBF support for M52277EVBTsiChung Liew
Add serial boot support Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
2008-11-03ColdFire: Use CFI driver for M5272C3TsiChung Liew
Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
2008-11-03ColdFire: Relocate FEC's GPIO and mii functions protocolsTsiChung Liew
Place FEC pin assignments in cpu_init.c from platform's mii.c Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
2008-11-03ColdFire: Remove platforms mii.c fileTsiChung Liew
Will use mcfmii.c driver in drivers/net rather than keep creating new mii.c for each future platform. Remove EB+MCF-EV123, cobra5272, idmr, M5235EVB, M5271EVB, M5272C3, M5275EVB, M5282EVB, M5329EVB, M5373EVB, M54451EVB, M54455EVB, M547xEVB, and M548xEVB's mii.c Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
2008-11-03ColdFire: Modules header files cleanupTsiChung Liew
Consolidate ATA, ePORT, QSPI, FlexCan, PWM, RNG, MDHA, SKHA, INTC, and FlexBus structures and definitions in immap_5xxx.h to more unify modules header files. Append DSPI support for m547x_8x. SSI cleanup. Remove USB Host structure from immap_539.h. Apply changes to use FlexBus structures in mcf52x2's cpu_init.c and platform configuration files. Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
2008-11-03ColdFire: Remove linker fileTsiChung Liew
Each different build for M54455EVB and M5235EVB will create a u-boot.lds linker file. It is redundant to keep the u-boot.lds Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
2008-11-02ppc: Fix compile warnings when !CONFIG_OF_LIBFDTPeter Tyser
Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
2008-11-02common/Makefile: create others group for non core, environment and command filesJean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2008-11-02TQM8260: use CFI flash driver instead of custom driver.Wolfgang Denk
Signed-off-by: Wolfgang Denk <wd@denx.de>
2008-11-02Consolidate MAX/MIN definitionsAndy Fleming
There were several, now there is one (two if you count the lower-case versions). Signed-off-by: Andy Fleming <afleming@freescale.com>
2008-11-02mgsuvd: remove unused defines in config file.Heiko Schocher
Signed-off-by: Heiko Schocher <hs@denx.de>
2008-11-02Coding Style cleanup, update CHANGELOGWolfgang Denk
Signed-off-by: Wolfgang Denk <wd@denx.de>
2008-11-01Merge branch 'master' of git://git.denx.de/u-boot-nand-flashWolfgang Denk
2008-11-01Merge branch 'master' of git://git.denx.de/u-boot-shWolfgang Denk
2008-11-01Merge branch 'master' of git://git.denx.de/u-boot-cfi-flashWolfgang Denk
2008-11-01Merge branch 'master' of git://git.denx.de/u-boot-ppc4xxWolfgang Denk
2008-11-01Merge branch 'master' of git://git.denx.de/u-boot-fdtWolfgang Denk
2008-11-01Merge branch 'master' of git://git.denx.de/u-boot-blackfinWolfgang Denk