summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeLines
* Finish header files reworkingStelian Pop2008-04-01-537/+465
| | | | | | | | | Replace AT91CAP9.h file with several splitted header files coming from the Linux kernel. This is part 2 of the replacement: more header imports and edits. Signed-off-by: Stelian Pop <stelian@popies.net>
* Import several header files from LinuxStelian Pop2008-04-01-0/+695
| | | | | | | | | Replace AT91CAP9.h file with several splitted header files coming from the Linux kernel. This is part 1 of the replacement: pristine header files import. Signed-off-by: Stelian Pop <stelian@popies.net>
* Move at91cap9 specific files to at91sam9 directoryStelian Pop2008-04-01-11/+8
| | | | | | | | | AT91CAP9 and AT91SAM9 SoCs are very close hardware wise, so a common infrastructure can be used. Let this infrastructure be named after the AT91SAM9 family, and move the existing AT91CAP9 files to the new place. Signed-off-by: Stelian Pop <stelian@popies.net>
* Use timer_init() instead of board supplied interrupt_init()Stelian Pop2008-04-01-2/+2
| | | | | | | The timer on AT91CAP9/AT91SAM9 is supplied by the SoC, and not by the board, so use timer_init() instead of interrupt_init(). Signed-off-by: Stelian Pop <stelian@popies.net>
* Cleanup DataFlash partition handlingStelian Pop2008-04-01-62/+24
| | | | | | | | DataFlash partition information has become a mess. This patch defines a single partition scheme for Atmel DataFlashes. This partition scheme will be used by all AT91CAP9 and AT91SAM9 boards. Signed-off-by: Stelian Pop <stelian@popies.net>
* Fix CFG_NO_FLASH compilation.Stelian Pop2008-03-30-4/+27
| | | | | | | | | Many Atmel boards have no "real" (NOR) flash on board, and rely only on DataFlash and NAND memories. This patch enables CFG_NO_FLASH to be present in a board configuration file, while still enabling flash commands like 'flinfo', 'protect', etc. Signed-off-by: Stelian Pop <stelian@popies.net>
* use correct at91rm9200 register name in m501sk boardJean-Christophe PLAGNIOL-VILLARD2008-03-30-4/+4
| | | | | | | | This fixes a naming bug for at91rm9200 lowlevel init code: NOR boot flash is on chipselect 0, not chipselect 2. This makes code use the register name from chip datasheets. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* use correct at91rm9200 register nameDavid Brownell2008-03-30-7/+7
| | | | | | | | This fixes a naming bug for at91rm9200 lowlevel init code: NOR boot flash is on chipselect 0, not chipselect 2. This makes code use the register name from chip datasheets. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
* add missing ARM boards to MAKEALLDavid Brownell2008-03-30-0/+3
| | | | | | | Add some missing ARM boards to MAKEALL. These build correctly, unlike several of the boards already listed. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
* Fix host tool build breakage, take twoBartlomiej Sieka2008-03-27-7/+4
| | | | | | | Revert commit 87c8431f and fix build breakage so that the build continues to work on FC systems. Signed-off-by: Bartlomiej Sieka <tur@semihalf.com>
* new-image: Fix host tool build breakageHaavard Skinnemoen2008-03-27-0/+4
| | | | Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
* Merge branch 'master' of git+ssh://10.10.0.7/home/wd/git/u-boot/masterWolfgang Denk2008-03-27-7/+13
|\
| * Fix out of tree building issueAnatolij Gustschin2008-03-27-7/+13
| | | | | | | | | | | | | | Currently U-Boot building in some external directory doesn't work. This patch tries to fix the problem. Signed-off-by: Anatolij Gustschin <agust@denx.de>
* | Merge branch 'master' of git://www.denx.de/git/u-boot-mpc85xxWolfgang Denk2008-03-27-141/+794
|\ \
| * | 85xx: Add cpu_mp_lmb_reserve helper to reserve boot pageKumar Gala2008-03-26-0/+15
| | | | | | | | | | | | | | | | | | | | | Provide a board_lmb_reserve helper function to ensure we reserve the page of memory we are using for the boot page translation code. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
| * | 85xx: Update multicore boot mechanism to ePAPR v0.81 specKumar Gala2008-03-26-74/+122
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The following changes are needed to be inline with ePAPR v0.81: * r4, r5 and now always set to 0 on boot release * r7 is used to pass the size of the initial map area (IMA) * EPAPR_MAGIC value changed for book-e processors * changes in the spin table layout * spin table supports a 64-bit physical release address Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
| * | FSL: Clean up board/freescale/common/MakefileJon Loeliger2008-03-26-42/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Each file that can be built here now follows some CONFIG_ option so that they are appropriately built or not, as needed. And CONFIG_ defines were added to various board config files to make sure that happens. The other board/freescale/*/Makefiles no longer need to reach up and over into ../common to build their individually needed files any more. Boards that are CDS specific were renamed with cds_ prefix. Signed-off-by: Jon Loeliger <jdl@freescale.com>
| * | 85xx: Fix merge duplicationKumar Gala2008-03-26-49/+0
| | | | | | | | | | | | | | | | | | ft_fixup_cpu() got duplicated in some merge snafu. Remove the duplicate. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
| * | 85xx: Expand CCSR space with more DDR controller registers.James Yang2008-03-26-4/+21
| | | | | | | | | | | | | | | | | | Signed-off-by: James Yang <James.Yang@freescale.com> Signed-off-by: Jon Loeliger <jdl@freescale.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
| * | 85xx: Speed up get_ddr_freq() and get_bus_freq()James Yang2008-03-26-18/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | get_ddr_freq() and get_bus_freq() used get_sys_info() each time they were called. However, get_sys_info() recalculates extraneous information when called each time. Have get_ddr_freq() and get_bus_freq() return memoized values from global_data instead. Signed-off-by: James Yang <James.Yang@freescale.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
| * | 85xx: Show DDR memory data rate in addition to the memory clock frequency.James Yang2008-03-26-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | Show the DDR memory data rate in addition to the memory clock frequency. For DDR/DDR2 memories the memory data rate is 2x the memory clock. Signed-off-by: James Yang <James.Yang@freescale.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
| * | 85xx: get_tbclk() speed up and rounding fixJames Yang2008-03-26-5/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Speed up get_tbclk() by referencing pre-computed bus clock frequency value from global data instead of sys_info_t. Fix rounding of result to nearest; previously it was rounding upwards. Signed-off-by: James Yang <James.Yang@freescale.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
| * | Update SVR numbers to expand supportAndy Fleming2008-03-26-50/+81
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | FSL has taken to using SVR[16:23] as an SOC sub-version field. This is used to distinguish certain variants within an SOC family. To account for this, we add the SVR_SOC_VER() macro, and update the SVR_* constants to reflect the larger value. We also add SVR numbers for all of the current variants. Finally, to make things neater, rather than use an enormous switch statement to print out the CPU type, we create and array of SVR/name pairs (using a macro), and print out the CPU name that matches the SVR SOC version. Signed-off-by: Andy Fleming <afleming@freescale.com>
| * | Add the Freescale PCI device IDsAndy Fleming2008-03-26-0/+23
| | | | | | | | | | | | Signed-off-by: Andy Fleming <afleming@freescale.com>
| * | 85xx: Added support for multicore boot mechanismKumar Gala2008-03-26-0/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added the cpu command that provides a generic mechanism to get status, reset, and release secondary cores in multicore processors. Added support for using the ePAPR defined spin-table mechanism on 85xx. Signed-off-by: Kumar Gala <galak@kernel.crashing.org> Signed-off-by: Andy Fleming <afleming@freescale.com>
| * | 85xx: Added support for multicore boot mechanismKumar Gala2008-03-26-0/+513
| | | | | | | | | | | | | | | | | | | | | | | | | | | Added the cpu command that provides a generic mechanism to get status, reset, and release secondary cores in multicore processors. Added support for using the ePAPR defined spin-table mechanism on 85xx. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
| * | 85xx: Add the concept of CFG_CCSRBAR_PHYSKumar Gala2008-03-26-19/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | When we go to 36-bit physical addresses we need to keep the concept of the physical CCSRBAR address seperate from the virtual one. For the majority of boards CFG_CCSBAR_PHYS == CFG_CCSRBAR Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
* | | Merge branch 'master' of git://www.denx.de/git/u-boot-usbWolfgang Denk2008-03-27-4/+4
|\ \ \ | |_|/ |/| |
| * | USB, Storage: fix a bug introduced in commitMarkus Klotzbuecher2008-03-26-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | f6b44e0e4d18fe507833a0f76d24a9aa72c123f1 that will cause usb_stor_info to only print only information on one storage device, but not for multiple. Signed-off-by: Markus Klotzbuecher <mk@denx.de>
| * | Fix compilation error in cmd_usb.cAnatolij Gustschin2008-03-26-1/+1
| |/ | | | | | | | | | | | | | | | | This patch fixes compilation error cmd_usb.c: In function 'do_usb': cmd_usb.c:552: error: void value not ignored as it ought to be Signed-off-by: Anatolij Gustschin <agust@denx.de> Signed-off-by: Markus Klotzbuecher <mk@denx.de>
* | README: update documentation (availability, links, etc.)Anatolij Gustschin2008-03-27-1/+1
| | | | | | | | | | | | Fix typo in README Signed-off-by: Anatolij Gustschin <agust@denx.de>
* | Fix compilation error in cmd_usb.cAnatolij Gustschin2008-03-27-1/+1
| | | | | | | | | | | | | | | | This patch fixes compilation error cmd_usb.c: In function 'do_usb': cmd_usb.c:552: error: void value not ignored as it ought to be Signed-off-by: Anatolij Gustschin <agust@denx.de>
* | Add support for setting the I2C bus speed in fsl_i2c.cTimur Tabi2008-03-27-9/+105
| | | | | | | | | | | | | | | | | | | | Add support to the Freescale I2C driver (fsl_i2c.c) for setting and querying the I2C bus speed. Current 8[356]xx boards define the CFG_I2C_SPEED macro, but fsl_i2c.c ignores it and uses conservative value when programming the I2C bus speed. Signed-off-by: Timur Tabi <timur@freescale.com> Acked-by: Andy Fleming <afleming@freescale.com>
* | Coding style cleanup, update CHANGELOGWolfgang Denk2008-03-27-27/+157
| | | | | | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* | drivers: add the support for Freescale SATA controllerDave Liu2008-03-26-0/+1291
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add the Freescale on-chip SATA controller driver to u-boot, The SATA controller is used on the 837x and 8315 targets, The driver can be used to load kernel, fs and dtb. The features list: - 1.5/3 Gbps link speed - LBA48, LBA28 support - DMA and FPDMA support - Two ports support Signed-off-by: Dave Liu <daveliu@freescale.com>
* | ata: add the readme for SATA command lineDave Liu2008-03-26-0/+68
| | | | | | | | Signed-off-by: Dave Liu <daveliu@freescale.com>
* | ata: enable the sata initialize on boot upDave Liu2008-03-26-0/+8
| | | | | | | | Signed-off-by: Dave Liu <daveliu@freescale.com>
* | ata: add the fis struct for SATADave Liu2008-03-26-0/+156
| | | | | | | | Signed-off-by: Dave Liu <daveliu@freescale.com>
* | ata: add the libata supportDave Liu2008-03-26-0/+364
| | | | | | | | | | | | add simple libata support in u-boot Signed-off-by: Dave Liu <daveliu@freescale.com>
* | ata: make the ata_piix driver using new SATA frameworkDave Liu2008-03-26-166/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | original ata_piix driver is using IDE framework, not real SATA framework. For now, the ata_piix driver is only used by x86 sc520_cdp board. This patch makes the ata_piix driver use the new SATA framework, so - remove the duplicated command stuff - remove the CONFIG_CMD_IDE define in the sc520_cdp.h - add the CONFIG_CMD_SATA define to sc520_cdp.h Signed-off-by: Dave Liu <daveliu@freescale.com>
* | ata: add the support for SATA frameworkDave Liu2008-03-26-0/+222
| | | | | | | | | | | | | | - add the SATA framework - add the SATA command line Signed-off-by: Dave Liu <daveliu@freescale.com>
* | ata: merge the header of ata_piix driverDave Liu2008-03-26-1/+1
| | | | | | | | | | | | move the sata.h from include/ to drivers/block/ata_piix.h Signed-off-by: Dave Liu <daveliu@freescale.com>
* | ata: merge the ata_piix driverDave Liu2008-03-26-731/+671
|/ | | | | | | | move the cmd_sata.c from common/ to drivers/ata_piix.c, the cmd_sata.c have some part of ata_piix controller drivers. consolidate the driver to have better framework. Signed-off-by: Dave Liu <daveliu@freescale.com>
* Coding style cleanup.Wolfgang Denk2008-03-26-11/+11
| | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* Add CFG_RTC_DS1337_NOOSC to turn off OSC outputJoakim Tjernlund2008-03-26-2/+10
| | | | | | | | The default settings for RTC DS1337 keeps the OSC output, 32,768 Hz, on. This add CFG_RTC_DS1337_NOOSC to turn it off. Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
* Cleanup coding style, update CHANGELOGWolfgang Denk2008-03-26-80/+1505
| | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* Merge branch 'master_merge_new-image' of /home/tur/git/u-bootWolfgang Denk2008-03-26-3225/+8248
|\
| * Merge branch 'new-image' of git://www.denx.de/git/u-boot-testingBartlomiej Sieka2008-03-26-3225/+8248
| |\ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: common/cmd_bootm.c cpu/mpc8xx/cpu.c Signed-off-by: Bartlomiej Sieka <tur@semihalf.com>
| | * [new uImage] Enable new uImage support for the pcs440ep board.Bartlomiej Sieka2008-03-20-0/+6
| | | | | | | | | | | | Signed-off-by: Bartlomiej Sieka <tur@semihalf.com>
| | * [new uImage] Do not compile new uImage format support by defaultBartlomiej Sieka2008-03-20-6/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Disable default building of new uImage format support in preparation for merge with the master. Support for new format can be enabled on a per-board basis, by defining the following in the board's config file: #define CONFIG_FIT 1 #define CONFIG_OF_LIBFDT 1 This can be optionally defined to give more verbose output: #define CONFIG_FIT_VERBOSE 1 /* enable fit_format_{error,warning}() */ Signed-off-by: Bartlomiej Sieka <tur@semihalf.com>