summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeLines
* Atmel MACB ethernet driverHaavard Skinnemoen2007-04-14-1/+845
| | | | | | | | | | | | | | | Driver for the Atmel MACB on-chip ethernet controller. This driver has been tested on the ATSTK1000 board with a AT32AP7000 CPU. It should probably work on AT91SAM926x as well with some minor modifications. Hardware documentation can be found in the AT32AP7000 data sheet, which can be downloaded from http://www.atmel.com/dyn/products/datasheets.asp?family_id=682 Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
* AVR32: Add clk and gpio infrastructure for macb0 and macb1Haavard Skinnemoen2007-04-14-0/+60
| | | | | | | | Implement functions for configuring the macb0 and macb1 pins, as well as functions for getting the clock rate of the various busses the macb ethernet controllers are connected to. Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
* AVR32: Implement simple DMA memory allocatorHaavard Skinnemoen2007-04-14-0/+51
| | | | | | | Implement dma_alloc_coherent() which returns cache-aligned uncacheable memory. Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
* Import <linux/mii.h> from the Linux kernelHaavard Skinnemoen2007-04-14-0/+158
| | | | | | | | Instead of creating yet another set of MII register definitions in the macb driver, here's a complete set of definitions for everyone to use. Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
* AVR32: Include more commands for ATSTK1000Haavard Skinnemoen2007-04-14-3/+19
| | | | | | | | Include the imi, imls and jffs commands sets by default on ATSTK1000. Also define CONFIG_BOOTARGS to something more useful, define CONFIG_BOOTCOMMAND and enable autoboot by default. Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
* AVR32: Provide a definition of struct statHaavard Skinnemoen2007-04-14-0/+25
| | | | | | Copy the definition of struct stat from the Linux kernel. Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
* AVR32: Use initdram() instead of board_init_memories()Haavard Skinnemoen2007-04-14-10/+8
| | | | | | | | Conform to the "standard" interface and use initdram() instead of board_init_memories() on AVR32. This enables us to get rid of the sdram_size member of the global_data struct as well. Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
* AVR32: Relocate u-boot to SDRAMHaavard Skinnemoen2007-04-14-68/+218
| | | | | | | Relocate the u-boot image into SDRAM like everyone else does. This means that we can handle much larger .data and .bss than we used to. Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
* AVR32: Resource management rewriteHaavard Skinnemoen2007-04-14-1041/+524
| | | | | | | | | | | | | Rewrite the resource management code (i.e. I/O memory, clock gating, gpio) so it doesn't depend on any global state. This is necessary because this code is heavily used before relocation to RAM, so we can't write to any global variables. As an added bonus, this makes u-boot's memory footprint a bit smaller, although some functionality has been left out; all clocks are enabled all the time, and there's no checking for gpio line conflicts. Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
* AVR32: Clean up memory-map.h for at32ap7000Haavard Skinnemoen2007-04-14-38/+43
| | | | | | | | Convert spaces to tabs (must have missed this one last time around), sort the entries by address and group them together by bus connectivity. Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
* AVR32: Build position-independent u-bootHaavard Skinnemoen2007-04-14-1/+1
| | | | | | | | | | | | | | | Add -fPIC -mno-init-got to the avr32-specific CFLAGS to make u-boot position independent. This will make relocation a lot easier. -mno-init-got means that gcc shouldn't emit code to load the GOT address into r6 in every function prologue. We do it once and for all in the early startup assembly code, so enabling this option makes u-boot a bit faster and smaller. The assembly parts have always been position-independent, so no code changes should be necessary. Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
* AVR32: Use avr32-linux- cross-compilation prefix by defaultHaavard Skinnemoen2007-04-14-1/+1
| | | | | | | It doesn't really matter which toolchain you use to compile u-boot, but the avr32-linux one is probably what most people have installed. Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
* AVR32: Split start_u_boot into board_init_f and board_init_rHaavard Skinnemoen2007-04-14-6/+12
| | | | | | | | | Split the avr32 initialization code into a function to run before relocation, board_init_f and a function to run after relocation, board_init_r. For now, board_init_f simply calls board_init_r at the end. Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
* Update CHANGELOGWolfgang Denk2007-04-11-0/+123
| | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* Update for SC3 boardWolfgang Denk2007-04-11-11/+12
| | | | | | * Make IDE timeout configurable through ide_reset_timeout variable. * Use Newline as "password" string * Use just a single partition in NAND flash
* Merge with /home/wd/git/u-boot/custodian/u-boot-ppc4xxWolfgang Denk2007-04-04-2241/+696
|\
| * Merge with git://www.denx.de/git/u-boot.gitStefan Roese2007-03-31-10738/+24825
| |\
| * | ppc4xx: Update Katmai bootstrap commandStefan Roese2007-03-31-1/+3
| | | | | | | | | | | | | | | | | | | | | Now the DDR2 frequency is also 2*PLB frequency when 166MHz PLB is selected. Signed-off-by: Stefan Roese <sr@denx.de>
| * | ppc4xx: Update 44x_spd_ddr2 code (440SP/440SPe)Stefan Roese2007-03-31-19/+49
| | | | | | | | | | | | | | | | | | | | | Additional RAM information is now printed upon powerup, like DDR2 frequency and CAS latency. Signed-off-by: Stefan Roese <sr@denx.de>
| * | ppc4xx: Change Yucca config file to support ECCStefan Roese2007-03-31-1/+1
| | | | | | | | | | | | | | | | | | | | | With the updated 44x DDR2 driver the Yucca board now supports ECC generation and checking. Signed-off-by: Stefan Roese <sr@denx.de>
| * | ppc4xx: Fix "bootstrap" command for Katmai boardStefan Roese2007-03-31-76/+25
| | | | | | | | | | | | | | | | | | | | | | | | The board specific "bootstrap" command is now fixed and can be used for the AMCC Katmai board to configure different CPU/PLB/OPB frequencies. Signed-off-by: Stefan Roese <sr@denx.de>
| * | ppc4xx: Update 44x_spd_ddr2 code (440SP/440SPe)Stefan Roese2007-03-31-48/+81
| | | | | | | | | | | | | | | | | | | | | | | | Fix a bug in the auto calibration routine. This driver now runs more reliable with the tested modules. It's also tested with 167MHz PLB frequency (667MHz DDR2 frequency) on the Katmai. Signed-off-by: Stefan Roese <sr@denx.de>
| * | Merge some AMCC make targets to keep the top-level Makefile smallerStefan Roese2007-03-28-33/+19
| | | | | | | | | | | | Signed-off-by: Stefan Roese <sr@denx.de>
| * | i2c: Enable "old" i2c commands even when CONFIG_I2C_CMD_TREE is definedStefan Roese2007-03-28-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | The "old" i2c commands (iprobe, imd...) are now compiled in again, even when the i2c command tree is enabled via the CONFIG_I2C_CMD_TREE config option. Signed-off-by: Stefan Roese <sr@denx.de>
| * | Merge with /home/stefan/git/u-boot/acadiaStefan Roese2007-03-24-2069/+511
| |\ \
| | * | [PATCH] Add 4xx GPIO functionsStefan Roese2007-03-24-147/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds some 4xx GPIO functions. It also moves some of the common code and defines into a common 4xx GPIO header file. Signed-off-by: Stefan Roese <sr@denx.de>
| | * | [PATCH] Small Sequoia cleanupStefan Roese2007-03-24-12/+7
| | | | | | | | | | | | | | | | Signed-off-by: Stefan Roese <sr@denx.de>
| | * | [PATCH] Clean up 40EZ/Acadia supportStefan Roese2007-03-24-1910/+443
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch cleans up all the open issue of the preliminary Acadia support. Signed-off-by: Stefan Roese <sr@denx.de>
* | | | Minor coding style cleanup.Wolfgang Denk2007-04-04-7/+68
| | | |
* | | | Merge with /home/wd/git/u-boot/custodian/u-boot-microblazeWolfgang Denk2007-04-04-42/+2131
|\ \ \ \
| * | | | [PATCH] Clean include dependenceMichal Simek2007-03-30-2/+2
| | | | |
| * | | | [CLEAN] Remove inefficient Suzaku codeMichal Simek2007-03-30-57/+5
| | | | |
| * | | | PATCH: Resolve GPL license problemMichal Simek2007-03-27-24/+97
| | | | |
| * | | | Support for XUPV2P boardMichal Simek2007-03-26-110/+550
| | | | | | | | | | | | | | | | | | | | | | | | | Reset support BSP autoconfig support
| * | | | [Microblaze][PATCH] part 2Michal Simek2007-03-11-29/+518
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | timer support interrupt controller support flash support ethernet support cache support board information support env support booting image support adding support for Xilinx ML401
| * | | | [Microblaze][PATCH]Michal Simek2007-03-11-0/+1139
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | timer support interrupt controller support flash support ethernet support cache support board information support env support booting image support adding support for Xilinx ML401
* | | | | Minor cleanup.Wolfgang Denk2007-04-04-32/+146
| | | | |
* | | | | Fix some minor whitespace violations.Gerald Van Baren2007-03-31-5/+5
| | | | |
* | | | | Add a flattened device tree (fdt) command (2 of 2)Gerald Van Baren2007-03-31-27/+237
| | | | | | | | | | | | | | | | | | | | Modifications to the existing code to support the new fdt command.
* | | | | Add a flattened device tree (fdt) command (1 of 2)Gerald Van Baren2007-03-31-0/+874
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The fdt command uses David Gibson's libfdt library to manipulate as well as print the flattened device tree. This patch is the new command, the second part is the modifications to the existing code.
* | | | | libfdt: Enhanced and published fdt_next_tag()Gerald Van Baren2007-03-31-52/+119
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Enhanced the formerly private function _fdt_next_tag() to allow stepping through the tree, used to produce a human-readable dump, and made it part of the published interface. Also added some comments.
* | | | | libfdt: Customizations for use by u-boot.Gerald Van Baren2007-03-31-91/+44
| | | | | | | | | | | | | | | | | | | | | | | | | Changes to David Gibson's original source to fit into u-boot's environment. No functionality changes.
* | | | | libfdt: Import libfdt source (2 of 2)Gerald Van Baren2007-03-31-0/+860
| | | | | | | | | | | | | | | | | | | | | | | | | This adds the applicable libfdt source files (unmodified) and a README to explain where the source came from.
* | | | | libfdt: Import libfdt source (1 of 2)Gerald Van Baren2007-03-31-0/+557
| |_|_|/ |/| | | | | | | | | | | | | | | This adds the applicable libfdt source files (unmodified) and a README to explain where the source came from.
* | | | Merge with /home/wd/git/u-boot/custodian/u-boot-mpc86xxWolfgang Denk2007-03-29-15/+29
|\ \ \ \
| * | | | Fix 8641HPCN problem with ld version 2.16Jon Loeliger2007-03-22-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (Dot outside sections problem). This fix is in the spirit of 807d5d7319330e336ab34a5623c5e0d73b87d540. Signed-off-by: Jon Loeliger <jdl@freescale.com>
| * | | | Set Rev 2.x 86xx PIC in mixed mode.Haiying Wang2007-03-22-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prevent false interrupt from hanging Linux as MSR[EE] is set to enable interrupts by changing the PIC out of the default pass through mode into mixed mode. Signed-off-by: Haiying Wang <haiying.wang@freescale.com> Signed-off-by: Jon Loeliger <jdl@freescale.com>
| * | | | Add flash cmd function to 8641HPCN rambootJason Jin2007-03-22-13/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also fixes some commmand for 8641 HPCN ramboot case. Signed-off-by: Jason Jin <jason.jin@freescale.com> Signed-off-by: Jon Loeliger <jdl@freescale.com>
| * | | | Add support for 8641 Rev 2 silicon.Ed Swarthout2007-03-22-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Without this patch, I am unable to get to the prompt on rev 2 silicon. Only set ddrioovcr for rev1. Signed-off-by: Ed Swarthout<ed.swarthout@freescale.com> Signed-off-by: Jon Loeliger <jdl@freescale.com>
* | | | | Code cleanup / re-insert previous Copyright entries.Wolfgang Denk2007-03-22-26/+92
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Wolfgang Denk <wd@denx.de>