summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-04-14Enable partition support with MMCHaavard Skinnemoen
Include implementations of init_part() and get_partition_info() when CONFIG_MMC is set. Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
2007-04-14AVR32: Enable networkingHaavard Skinnemoen
Implement MACB initialization for AVR32 and ATSTK1000, and turn everything on, including the MACB driver. Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
2007-04-14Atmel MACB ethernet driverHaavard Skinnemoen
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>
2007-04-14AVR32: Add clk and gpio infrastructure for macb0 and macb1Haavard Skinnemoen
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>
2007-04-14AVR32: Implement simple DMA memory allocatorHaavard Skinnemoen
Implement dma_alloc_coherent() which returns cache-aligned uncacheable memory. Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
2007-04-14Import <linux/mii.h> from the Linux kernelHaavard Skinnemoen
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>
2007-04-14AVR32: Include more commands for ATSTK1000Haavard Skinnemoen
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>
2007-04-14AVR32: Provide a definition of struct statHaavard Skinnemoen
Copy the definition of struct stat from the Linux kernel. Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
2007-04-14AVR32: Use initdram() instead of board_init_memories()Haavard Skinnemoen
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>
2007-04-14AVR32: Relocate u-boot to SDRAMHaavard Skinnemoen
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>
2007-04-14AVR32: Resource management rewriteHaavard Skinnemoen
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>
2007-04-14AVR32: Clean up memory-map.h for at32ap7000Haavard Skinnemoen
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>
2007-04-14AVR32: Build position-independent u-bootHaavard Skinnemoen
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>
2007-04-14AVR32: Use avr32-linux- cross-compilation prefix by defaultHaavard Skinnemoen
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>
2007-04-14AVR32: Split start_u_boot into board_init_f and board_init_rHaavard Skinnemoen
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>
2007-04-11Update CHANGELOGWolfgang Denk
Signed-off-by: Wolfgang Denk <wd@denx.de>
2007-04-11Update for SC3 boardWolfgang Denk
* Make IDE timeout configurable through ide_reset_timeout variable. * Use Newline as "password" string * Use just a single partition in NAND flash
2007-04-04Merge with /home/wd/git/u-boot/custodian/u-boot-ppc4xxWolfgang Denk
2007-04-04Minor coding style cleanup.Wolfgang Denk
2007-04-04Merge with /home/wd/git/u-boot/custodian/u-boot-microblazeWolfgang Denk
2007-04-04Minor cleanup.Wolfgang Denk
2007-03-31Fix some minor whitespace violations.Gerald Van Baren
2007-03-31Add a flattened device tree (fdt) command (2 of 2)Gerald Van Baren
Modifications to the existing code to support the new fdt command.
2007-03-31Add a flattened device tree (fdt) command (1 of 2)Gerald Van Baren
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.
2007-03-31libfdt: Enhanced and published fdt_next_tag()Gerald Van Baren
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.
2007-03-31libfdt: Customizations for use by u-boot.Gerald Van Baren
Changes to David Gibson's original source to fit into u-boot's environment. No functionality changes.
2007-03-31libfdt: Import libfdt source (2 of 2)Gerald Van Baren
This adds the applicable libfdt source files (unmodified) and a README to explain where the source came from.
2007-03-31libfdt: Import libfdt source (1 of 2)Gerald Van Baren
This adds the applicable libfdt source files (unmodified) and a README to explain where the source came from.
2007-03-31Merge with git://www.denx.de/git/u-boot.gitStefan Roese
2007-03-31ppc4xx: Update Katmai bootstrap commandStefan Roese
Now the DDR2 frequency is also 2*PLB frequency when 166MHz PLB is selected. Signed-off-by: Stefan Roese <sr@denx.de>
2007-03-31ppc4xx: Update 44x_spd_ddr2 code (440SP/440SPe)Stefan Roese
Additional RAM information is now printed upon powerup, like DDR2 frequency and CAS latency. Signed-off-by: Stefan Roese <sr@denx.de>
2007-03-31ppc4xx: Change Yucca config file to support ECCStefan Roese
With the updated 44x DDR2 driver the Yucca board now supports ECC generation and checking. Signed-off-by: Stefan Roese <sr@denx.de>
2007-03-31ppc4xx: Fix "bootstrap" command for Katmai boardStefan Roese
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>
2007-03-31ppc4xx: Update 44x_spd_ddr2 code (440SP/440SPe)Stefan Roese
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>
2007-03-30[PATCH] Clean include dependenceMichal Simek
2007-03-30[CLEAN] Remove inefficient Suzaku codeMichal Simek
2007-03-29Merge with /home/wd/git/u-boot/custodian/u-boot-mpc86xxWolfgang Denk
2007-03-28Merge some AMCC make targets to keep the top-level Makefile smallerStefan Roese
Signed-off-by: Stefan Roese <sr@denx.de>
2007-03-28i2c: Enable "old" i2c commands even when CONFIG_I2C_CMD_TREE is definedStefan Roese
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>
2007-03-27PATCH: Resolve GPL license problemMichal Simek
2007-03-26Support for XUPV2P boardMichal Simek
Reset support BSP autoconfig support
2007-03-24Merge with /home/stefan/git/u-boot/acadiaStefan Roese
2007-03-24[PATCH] Add 4xx GPIO functionsStefan Roese
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>
2007-03-24[PATCH] Small Sequoia cleanupStefan Roese
Signed-off-by: Stefan Roese <sr@denx.de>
2007-03-24[PATCH] Clean up 40EZ/Acadia supportStefan Roese
This patch cleans up all the open issue of the preliminary Acadia support. Signed-off-by: Stefan Roese <sr@denx.de>
2007-03-22Fix 8641HPCN problem with ld version 2.16Jon Loeliger
(Dot outside sections problem). This fix is in the spirit of 807d5d7319330e336ab34a5623c5e0d73b87d540. Signed-off-by: Jon Loeliger <jdl@freescale.com>
2007-03-22Set Rev 2.x 86xx PIC in mixed mode.Haiying Wang
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>
2007-03-22Add flash cmd function to 8641HPCN rambootJason Jin
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>
2007-03-22Add support for 8641 Rev 2 silicon.Ed Swarthout
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>
2007-03-22Code cleanup / re-insert previous Copyright entries.Wolfgang Denk
Signed-off-by: Wolfgang Denk <wd@denx.de>