summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * | Merge branch 'master' of git://git.denx.de/u-boot-blackfinWolfgang Denk2009-02-079-212/+331
| |\ \
| | * | Blackfin: move default boot SPI CS to common codeMike Frysinger2009-02-052-7/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Move the default SPI CS that we boot from into common code so that it can be used in other SPI drivers and environment settings. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
| | * | Blackfin: dynamically update UART speed when initializingMike Frysinger2009-02-052-91/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, booting over the UART required the baud rate to be known ahead of time. Using a bit of tricky simple math, we can calculate the new board rate based on the old divisors. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Robin Getz <rgetz@blackfin.uclinux.org>
| | * | Blackfin: add support for fast SPI reads with Boot ROMMike Frysinger2009-02-051-8/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Newer Blackfin boot roms support using the fast SPI read command rather than just the slow one. If the functionality is available, then use it. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
| | * | Blackfin: check for reserved settings in DDR MMRsMike Frysinger2009-02-051-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Some bits of the DDR MMRs should not be set. If they do, bad things may happen (like random failures or hardware destruction). Signed-off-by: Mike Frysinger <vapier@gentoo.org>
| | * | Blackfin: set default voltage levels for BF538/BF539 partsMike Frysinger2009-02-051-0/+3
| | | | | | | | | | | | | | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
| | * | Blackfin: use on-chip syscontrol() rom function when availableMike Frysinger2009-02-051-22/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Newer Blackfin's have an on-chip rom with a syscontrol() function that needs to be used to properly program the memory and voltage settings as it will include (possibly critical) factory tested bias values. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
| | * | Blackfin: update anomaly listsMike Frysinger2009-02-035-84/+213
| | |/ | | | | | | | | | | | | | | | Update the anomaly lists to match latest anomaly sheets. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
| * | Merge branch 'master' of git://git.denx.de/u-boot-cfi-flashWolfgang Denk2009-02-073-40/+31
| |\ \
| | * | cfi_flash: Fix typo in cfi_flash.cStefan Roese2009-02-051-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patch "flash/cfi_flash: Use virtual sector start address, not phys" introduced a small typo and compilation warning for systems with CFI legacy support (e.g. hcu4). This patch fixes it. Signed-off-by: Stefan Roese <sr@denx.de>
| | * | jedec_flash: Only use manufacturer defines from common flash.hStefan Roese2009-02-051-10/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch removes the double defined manufacturer defines from jedec_flash.c. Since the common defines in flash.h are 32bit we now need the (16) cast. This patch also removes the compilation warning (e.g. seen on hcu5): ./MAKEALL hcu5 Configuring for hcu5 board... jedec_flash.c:219: warning: large integer implicitly truncated to unsigned type Signed-off-by: Stefan Roese <sr@denx.de>
| | * | cfi_flash: Silence compilation warningStefan Roese2009-02-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Patch "flash/cfi_flash: Use virtual sector start address, not phys" introduced a small compilation warning. This patch fixes it. Signed-off-by: Stefan Roese <sr@denx.de>
| | * | flash/cfi_flash: Use virtual sector start address, not physBecky Bruce2009-02-052-30/+25
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | include/flash.h was commented to say that the address in flash_info->start was a physical address. However, from u-boot's point of view, and looking at most flash code, it makes more sense for this to be a virtual address. So I corrected the comment to indicate that this was a virtual address. The only flash driver that was actually treating the address as physical was the mtd/cfi_flash driver. However, this code was using it inconsistently as it actually directly dereferenced the "start" element, while it used map_physmem to get a virtual address in other places. I changed this driver so that the code which initializes the info->start field calls map_physmem to get a virtual address, eliminating the need for further map_physmem calls. The code is now consistent. The *only* place a physical address should be used is when defining the flash banks list that is used to initialize the flash_info struct, usually found in the board config file. Signed-off-by: Becky Bruce <beckyb@kernel.crashing.org> Signed-off-by: Stefan Roese <sr@denx.de>
| * | Merge branch 'master' of git://git.denx.de/u-boot-ppc4xxWolfgang Denk2009-02-073-5/+26
| |\ \
| | * | ppc4xx: Make PCIE support selectableDirk Eibach2009-02-062-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On some platforms PCIE support is not required, but would be included because the cpu supports it. To reduce fooprint it is now configurable via CONFIG_PCI_DISABLE_PCIE. Signed-off-by: Dirk Eibach <eibach@gdsys.de> Signed-off-by: Stefan Roese <sr@denx.de>
| | * | ppc4xx: Only fixup opb attached UARTsMatthias Fuchs2009-02-061-2/+22
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | This patch updates the fdt UART clock fixup code to only touch CPU internal UARTs on 4xx systems. Only these UARTs are definitely clocked by gd->uart_clk. Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com> Signed-off-by: Stefan Roese <sr@denx.de>
| * | Merge branch 'master' of git://git.denx.de/u-boot-mpc5xxxWolfgang Denk2009-02-078-5/+681
| |\ \ | | |/ | |/|
| | * ADS5121 Add PATA supportRalph Kondziella2009-02-035-1/+189
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Original patch from Ralph Kondziella plus clean up by Wolfgang Denk plus changes by John Rigby use ips clock not lpc port forward to current u-boot release Signed-off-by: Ralph Kondziella <rk@argos-messtechnik.de> Signed-off-by: Wolfgang Denk <wd@denx.de> Signed-off-by: John Rigby <jrigby@freescale.com>
| | * ADS5121 Add IC Ident Module (IIM) supportMartha Marx2009-02-036-1/+449
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | IIM (IC Identification Module) is the fusebox for the mpc5121. Use #define CONFIG_IIM to turn on the clock for this module use #define CONFIG_CMD_FUSE to add fusebox commands. Fusebox commands include the ability to read the status, read the register cache, override the register cache, program the fuses and sense them. Signed-off-by: Martha Marx <mmarx@silicontkx.com> Signed-off-by: John Rigby <jrigby@freescale.com>
| | * ADS5121 Fix rev2 silicon pci iopad configJohn Rigby2009-02-031-1/+12
| | | | | | | | | | | | | | | | | | Reset config is not correct Signed-off-by: John Rigby <jrigby@freescale.com>
| | * ADS5121 DIU Add diu_bmp_addr envJohn Rigby2009-02-031-2/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for using a bmp other than FSL_Logo_BMP for the DIU splash screen. Can now set the env var "diu_bmp_addr" to the address of a BMP in flash to use instead of the default FSL_Logo_BMP. Signed-off-by: Martha Marx <mmarx@silicontkx.com> Signed-off-by: John Rigby <jrigby@freescale.com>
| | * ADS5121 DIU Make inclusion of FSL logo optionalJohn Rigby2009-02-032-0/+5
| | | | | | | | | | | | | | | | | | | | | Make inclusion of FSL logo optional and turn it off by default. Signed-off-by: John Rigby <jrigby@freescale.com>
* | | Fix compiler warningWolfgang Denk2009-02-041-1/+1
|/ / | | | | | | | | | | (shows up only when DEBUG is enabled) Signed-off-by: Wolfgang Denk <wd@denx.de>
* | Merge branch 'master' of git://git.denx.de/u-boot-usbWolfgang Denk2009-02-032-0/+60
|\ \
| * | Compile warning fix in onenand_uboot.hRemy Bohmer2009-02-021-0/+2
| | | | | | | | | | | | | | | | | | Regression since merge window after 2009.01 Signed-off-by: Remy Bohmer <linux@bohmer.net>
| * | USB: Add EHCI support for VCT EHCI controller (really with driver now)Stefan Roese2009-02-021-0/+58
| |/ | | | | | | | | | | | | | | Somehow I missed the real driver part in my last patch version. This patch now adds the driver. Signed-off-by: Stefan Roese <sr@denx.de> Signed-off-by: Remy Bohmer <linux@bohmer.net>
* | Blackfin: add driver for on-chip MMC/SD controllerCliff Cai2009-02-025-0/+729
| | | | | | | | | | | | | | This is a port of the Linux Blackfin on-chip SDH driver to U-Boot. Signed-off-by: Cliff Cai <cliff.cai@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* | Blackfin: add port muxing for BF51x SPIMike Frysinger2009-02-021-9/+11
| | | | | | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* | Blackfin: output booting source when bootingMike Frysinger2009-02-022-1/+27
| | | | | | | | | | | | | | Knowing the booting source of the part is useful, especially when the part can switch dynamically between sources. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* | Blackfin: set default CONFIG_ENV_SPI_CS based on bootromMike Frysinger2009-02-021-0/+5
| | | | | | | | | | | | | | Set the default CONFIG_ENV_SPI_CS value to match the SPI CS that is used by the Blackfin on-chip bootrom to boot out of SPI flash. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* | Blackfin: update asm-blackfin/posix_types.h to latest Linux versionMike Frysinger2009-02-021-11/+9
| | | | | | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* | Blackfin: add port I bitsMike Frysinger2009-02-021-1/+19
| | | | | | | | | | | | Some people need to access port I, so make sure the pins are defined. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* | Blackfin: add driver for on-chip ATAPI controllerSonic Zhang2009-02-024-0/+1595
| | | | | | | | | | | | | | This is a port of the Linux Blackfin on-chip ATAPI driver to U-Boot. Signed-off-by: Sonic Zhang <Sonic.Zhang@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* | Blackfin: add driver for on-chip NAND controllerMike Frysinger2009-02-022-0/+386
| | | | | | | | | | | | This is a port of the Linux Blackfin on-chip NFC driver to U-Boot. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* | Blackfin: build with -mno-fdpicMike Frysinger2009-02-021-1/+1
| | | | | | | | | | | | | | Use the -mno-fdpic flag so that any Blackfin toolchain can be used to build up u-boot, including ones that output FDPIC ELF by default. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* | Blackfin: fix up EBIU definesMike Frysinger2009-02-021-2/+2
| | | | | | | | | | | | The EBIU defines for EBSZ 256/512 were incorrect. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* | Blackfin: use 8/16/32 bit transfer widths in dma_memcpy()Mike Frysinger2009-02-021-4/+19
| | | | | | | | | | | | | | Rather than using 8bit transfers for everything, use 8/16/32 bit transfers as usable with the source/destination addresses and the count size. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* | Blackfin: only flag L1 instruction for DMA memcpyMike Frysinger2009-02-021-10/+4
| | | | | | | | | | | | | | | | | | The performance difference from doing an 8 bit DMA memcpy vs an optimized core memcpy can be pretty big when you add in the overhead of setting up the MDMA registers, cache flushes, etc... So only use dma_memcpy() when we actually require it. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* | Blackfin: dma_memcpy(): fix random failuresMike Frysinger2009-02-021-8/+11
| | | | | | | | | | | | | | | | We have to make sure the DMA channel is actually disabled in hardware before attempting to reprogram it. Otherwise the new settings are ignored and we end up with random hangs/failures. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* | Blackfin: rewrite cache handling functionsMike Frysinger2009-02-023-50/+90
| | | | | | | | | | | | | | Take the cache flush functions from the kernel as they use hardware loops in order to get optimal performance. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* | Blackfin: setup bi_enetaddr for single netsMike Frysinger2009-02-021-1/+10
| | | | | | | | | | | | | | For systems with CONFIG_NET_MULTI disabled, bi_enetaddr does not get setup based on $ethaddr, so set it up. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* | Blackfin: cache core/system clock valuesMike Frysinger2009-02-024-44/+80
| | | | | | | | | | | | | | | | Calculating the clocks requires a bit of calls to gcc math functions, so cache the values after the first run since they'll most likely never change once U-Boot is up and running. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* | Blackfin: enable --gc-sectionsMike Frysinger2009-02-022-0/+4
| | | | | | | | | | | | | | Start building all Blackfin boards with -ffunction-sections/-fdata-sections and linking with --gc-sections. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* | Blackfin: dont check baud if it wont actually get usedMike Frysinger2009-02-021-1/+5
| | | | | | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* | Blackfin: add driver for on-chip SPI controllerMike Frysinger2009-02-022-0/+344
| | | | | | | | | | | | This fills out the SPI backend for the Blackfin on-chip SPI peripheral. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* | Blackfin: only build post code when CONFIG_POSTMike Frysinger2009-02-023-9/+1
| | | | | | | | | | | | Save some time by using CONFIG_POST in the Makefile rather than C files. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* | Blackfin: bfin_mac: cleanup pointer/casts for aliasing issuesMike Frysinger2009-02-022-46/+34
| | | | | | | | | | | | | | | | Redo how pointers are managed to get rid of ugly casts and strict pointer aliasing issues that are highlighted by gcc 4.3. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Acked-by: Ben Warren <biggerbadderben@gmail.com>
* | Blackfin: bfin_mac: convert CONFIG_BFIN_MAC_RMII to CONFIG_RMIIMike Frysinger2009-02-021-2/+2
| | | | | | | | | | | | | | | | No point in having a Blackfin-specific define "CONFIG_BFIN_MAC_RMII" that does exactly the same thing as common "CONFIG_RMII". Signed-off-by: Mike Frysinger <vapier@gentoo.org> Acked-by: Ben Warren <biggerbadderben@gmail.com>
* | Blackfin: bfin_mac: use common debug()Mike Frysinger2009-02-021-11/+3
| | | | | | | | | | | | | | Rather then defining our own DEBUGF(), just use the common debug(). Signed-off-by: Mike Frysinger <vapier@gentoo.org> Acked-by: Ben Warren <biggerbadderben@gmail.com>
* | Blackfin: bfin_mac: respect CONFIG_PHY_{ADDR,CLOCK_FREQ}Mike Frysinger2009-02-022-5/+11
| | | | | | | | | | | | | | | | Rather than having the on-chip MAC hardcoded to phy address 1 and a speed of 2.5mhz, use these as defaults if the board doesn't specify otherwise. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Acked-by: Ben Warren <biggerbadderben@gmail.com>
OpenPOWER on IntegriCloud