summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-14[Fix] Set the LED status register on the UC101 for the LXT971 PHY.Heiko Schocher
clear the Display after reset. Signed-off-by: Heiko Schocher <hs@denx.de>
2007-04-13[PATCH] Fix bugs in cmd_ide.c and cmd_scsi.cDenis Peter
Fix bug introduced by "Fix get_partition_info() parameter error in all other calls" from 2005-03-04 in cmd_ide.c and cmd_scsi.c, which prevented to use diskboot or scsiboot form another device than 0. Signed-off-by: Denis Peter <d.peter@mpl.ch>
2007-04-13[PATCH] Fix use of "void *" for block dev read/write buffer pointersGreg Lopp
Signed-of-by: Greg Lopp <lopp@pobox.com> Acked-by: Grant Likely <grant.likely@secretlab.ca>
2007-04-12ppc4xx: Fix i2c divisor calcularion for PPC4xxJeffrey Mann
This patch fixes changes the i2c_init(...) function to use the function get_OPB_freq() rather than calculating the OPB speed by sysInfo.freqPLB/sysInfo.pllOpbDiv. The get_OPB_freq() function is specific per processor. The prior method was not and so was calculating the wrong speed for some PPC4xx processors. Signed-off-by: Jeffrey Mann <mannj@embeddedplanet.com> Signed-off-by: Stefan Roese <sr@denx.de>
2007-04-12Merge with git://www.denx.de/git/u-boot.gitStefan Roese
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-09Add PIXIS FPGA support for MPC8641HPCN board.Haiying Wang
Move the 8641HPCN's PIXIS code to the new directory board/freescale/common/ as it will be shared by future boards not in the same processor family. Write a "pixis_reset" command that utilizes the FPGA reset sequencer to support alternate soft-reset options such as using the "alternate" flash bank, enabling the watch dog, or choosing different CPU frequencies. Add documentation for the pixis_reset to README.mpc8641hpcn. Signed-off-by: Haiying Wang <haiying.wang@freescale.com> Signed-off-by: Jon Loeliger <jdl@freescale.com>
2007-04-06Moved fdt command support code to fdt_support.cGerald Van Baren
...in preparation for improving the bootm command's handling of fdt blobs. Also cleaned up some coding sloppiness.
2007-04-06libfdt: Make fdt_check_header() publicGerald Van Baren
Changed _fdt_check_header() to fdt_check_header() and made it part of the interface - it is a useful routine. Also did some asthetics cleanup to the include files (headers).
2007-04-05[Blackfin][PATCH] Kill off a bunch of common local prototypesAubrey Li
2007-04-05[Blackfin][PATCH] Fix dynamic CPLB generation issueAubrey Li
2007-04-05[Blackfin][PATCH] minior cleanupAubrey Li
2007-04-05[Blackfin][PATCH] Fix copyright and update licenseAubrey Li
2007-04-05[Blackfin][PATCH] Add BF537 EMAC driver initializationAubrey Li
2007-04-05[Blackfin][PATCH] call real the system synchronize instructionAubrey Li
2007-04-05[Blackfin][PATCH] remove asm/page.h as we do not actually use/want any of ↵Aubrey Li
these definitions nor does any other arch include it
2007-04-05[Blackfin][PATCH]: fix flash unaligned copy issueAubrey Li
2007-04-04Update usage of 'nc' in README.NetConsoleIgor Marnat
Added information about usage of NetConsole on systems where the -l and -p switches are mutually exclusive. Signed-off-by: Igor Marnat <marny@rambler.ru> Signed-off-by: Ben Warren <bwarren@qstreams.com>
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-04-02ppc4xx: Change SysACE address on KatmaiStefan Roese
With this new base address of the Xilinx SystemACE controller the Linux driver will be easier to adapt, since it can now be mapped via the "normal" ioremap() call. Signed-off-by: Stefan Roese <sr@denx.de>
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