aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-04-24Merge branch 'master' of git://git.denx.de/u-boot-microblazeWolfgang Denk9-209/+174
2010-04-24Merge branch 'master' of git://git.denx.de/u-boot-i2cWolfgang Denk3-3/+27
2010-04-21Move arch/ppc to arch/powerpcStefan Roese579-877/+879
As discussed on the list, move "arch/ppc" to "arch/powerpc" to better match the Linux directory structure. Please note that this patch also changes the "ppc" target in MAKEALL to "powerpc" to match this new infrastructure. But "ppc" is kept as an alias for now, to not break compatibility with scripts using this name. Signed-off-by: Stefan Roese <sr@denx.de> Acked-by: Wolfgang Denk <wd@denx.de> Acked-by: Detlev Zundel <dzu@denx.de> Acked-by: Kim Phillips <kim.phillips@freescale.com> Cc: Peter Tyser <ptyser@xes-inc.com> Cc: Anatolij Gustschin <agust@denx.de>
2010-04-19fsl_i2c: Added a callpoint for i2c_board_late_initRichard Retanubun3-3/+27
This patch adds a callpoint in i2c_init that allows board specific i2c board initialization (typically for i2c bus reset) that is called after i2c_init operations, allowing the i2c_board_late_init function to use the pre-configured i2c bus speed and slave address.
2010-04-16nios2: Move individual board linker scripts to common script in cpu tree.Scott McNutt6-543/+3
Signed-off-by: Scott McNutt <smcnutt@psyent.com>
2010-04-16microblaze: Consolidate cache codeMichal Simek3-44/+28
Merge cpu and lib cache code. Flush cache before disabling. Signed-off-by: Michal Simek <monstr@monstr.eu>
2010-04-16microblaze: Flush cache before jumping to kernelMichal Simek1-0/+8
There is used max cache size on system which doesn't define cache size. Signed-off-by: Michal Simek <monstr@monstr.eu>
2010-04-16microblaze: Support system with WB cacheMichal Simek1-1/+1
WB cache use different instruction that WT cache but the major code is that same. That means that wdc.flush on system with WT cache do the same thing as before. You need newer toolchain with wdc.flush support. Signed-off-by: Michal Simek <monstr@monstr.eu>
2010-04-16microblaze: Change initialization sequenceMichal Simek1-3/+12
env_relocation should be called first. Added stdio_init too. Signed-off-by: Michal Simek <monstr@monstr.eu>
2010-04-16microblaze: Change cache report messagesMichal Simek1-2/+2
It is more accurate to show that caches are OFF instead of FAIL. Signed-off-by: Michal Simek <monstr@monstr.eu>
2010-04-16microblaze: Fix interrupt handler codeMichal Simek1-17/+11
It is better to read ivr and react on it than do long parsing from two regs. Interrupt controller returs actual irq number. Signed-off-by: Michal Simek <monstr@monstr.eu>
2010-04-16microblaze: Move FSL initialization to board.cMichal Simek3-12/+9
Move FSL out of interrupt controller. Signed-off-by: Michal Simek <monstr@monstr.eu>
2010-04-16microblaze: Move timer initialization to board.cMichal Simek3-7/+9
I would like to handle case where system doesn't contain intc that's why I need timer initialization out of intc code. Signed-off-by: Michal Simek <monstr@monstr.eu>
2010-04-16microblaze: Fix irq.S codeMichal Simek1-120/+62
It is ancient code. There is possible to save several instructions just if we use offset instead of addik Signed-off-by: Michal Simek <monstr@monstr.eu>
2010-04-16microblaze: Add FDT supportArun Bhanu1-5/+34
This patch adds FDT (flattened device tree) support to microblaze arch. Tested with Linux arch/microblaze kernels with and without compiled in FDT on Xilinx ML506 board. Signed-off-by: Arun Bhanu <arun@bhanu.net> Signed-off-by: Michal Simek <monstr@monstr.eu>
2010-04-14ppc4xx: Add option for PPC440SPe ports without old Rev. A supportStefan Roese3-1/+3
The 440SPe Rev. A is quite old and newer 440SPe boards don't need support for this CPU revision. Since removing support for this older version simplifies the creation for newer U-Boot ports, this patch now enables 440SPe > Rev. A support by creating the CONFIG_440SPE_REVA define. By defining this in the board config header, Rev. A will still be supported. Otherwise (default for newer board ports), Rev. A will not be supported. Signed-off-by: Stefan Roese <sr@denx.de>
2010-04-14ppc4xx: alpr: Remove some not needed commands to make image fit againStefan Roese1-1/+3
The latest changes increased the size of the alpr image a bit more. Now it doesn't fit into the 256k reserved for it. This patch now removes the commands "loads" and "loadb" which are not needed in the production systems. Signed-off-by: Stefan Roese <sr@denx.de> Cc: Pieter Voorthuijsen <pieter.voorthuijsen@prodrive.nl>
2010-04-13Update README to reflect new directory structurePeter Tyser1-67/+91
Also fix up some whitespace issues that were introduced when moving directory locations. Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
2010-04-13nios2: Move cpu/nios2/* to arch/nios2/cpu/*Peter Tyser9-0/+0
Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
2010-04-13nios: Move cpu/nios/* to arch/nios/cpu/*Peter Tyser18-9/+9
Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
2010-04-13sparc: Move cpu/leon[23] to arch/sparc/cpu/leon[23]Peter Tyser24-5/+5
Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
2010-04-13i386: Move cpu/i386/* to arch/i386/cpu/*Peter Tyser17-4/+4
Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
2010-04-13microblaze: Move cpu/microblaze/* to arch/microblaze/cpu/*Peter Tyser9-1/+1
Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
2010-04-13avr32: Move cpu/at32ap/* to arch/avr32/cpu/*Peter Tyser18-1/+1
Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
2010-04-13mips: Move cpu/mips/* to arch/mips/cpu/*Peter Tyser19-6/+6
Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
2010-04-13blackfin: Move cpu/blackfin/* to arch/blackfin/cpu/*Peter Tyser29-30/+30
Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
2010-04-13m68k: Move cpu/$CPU to arch/m68k/cpu/$CPUPeter Tyser79-88/+88
Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
2010-04-13arm: Move cpu/$CPU to arch/arm/cpu/$CPUPeter Tyser407-56/+56
Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
2010-04-13sh: Move cpu/$CPU to arch/sh/cpu/$CPUPeter Tyser25-4/+4
Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
2010-04-13ppc: Move cpu/$CPU to arch/ppc/cpu/$CPUPeter Tyser442-387/+392
Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
2010-04-13Move architecture-specific includes to arch/$ARCH/include/asmPeter Tyser629-11/+9
This helps to clean up the include/ directory so that it only contains non-architecture-specific headers and also matches Linux's directory layout which many U-Boot developers are already familiar with. Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
2010-04-13Replace "#include <asm-$ARCH/$FILE>" with "#include <asm/$FILE>"Peter Tyser33-36/+36
The appropriate include/asm-$ARCH directory should already by symlinked to include/asm so using the whole "asm-$ARCH" path is unnecessary. This change should also allow us to move the include/asm-$ARCH directories into their appropriate lib/$ARCH/ directories. Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
2010-04-13Move libfdt/ into lib/Peter Tyser12-7/+7
Move the libfdt directory into the common lib/ directory to clean up the top-level directory. Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
2010-04-13Rename lib_generic/ to lib/Peter Tyser194-321/+321
Now that the other architecture-specific lib directories have been moved out of the top-level directory there's not much reason to have the '_generic' suffix on the common lib directory. Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
2010-04-13Move lib_$ARCH directories to arch/$ARCH/libPeter Tyser251-232/+232
Also move lib_$ARCH/config.mk to arch/$ARCH/config.mk This change is intended to clean up the top-level directory structure and more closely mimic Linux's directory organization. Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
2010-04-13Change directory-specific CFLAGS to use full pathPeter Tyser20-25/+30
Previously, a specific file or directory could be compiled with custom CFLAGS by adding a Makefile variable such as: CFLAGS_dlmalloc.o = <custom flags for common/dlmalloc.c> or CFLAGS_lib = <custom flags for lib directory> This method breaks down once multiple files or directories share the same path. Eg FLAGS_fileA = <custom flags> would incorrectly result in both dir1/fileA.c and dir2/fileA.c being compiled with <custom flags>. This change allows finer grained control which we need once we move lib_$ARCH to arch/$ARCH/lib/ and lib_generic/ to lib/. Without this change all lib/ directories would share the same custom CFLAGS. Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
2010-04-13Create CPUDIR variablePeter Tyser14-32/+33
The CPUDIR variable points to the location of a target's CPU directory. Currently, it is set to cpu/$CPU. However, using $CPUDIR will allow for more flexibility in the future. It lays the groundwork for reorganizing U-Boot's directory structure to support a layout such as: arch/$ARCH/cpu/$CPU/* (architecture with multiple CPU types) arch/$ARCH/cpu/* (architecture with one CPU type) Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
2010-04-10Merge branch 'master' of git://git.denx.de/u-boot-blackfinWolfgang Denk16-251/+453
2010-04-10FIX: watchdog timeout, while waiting for inputJens Scharsig1-0/+3
* add WATCHDOG_RESET to !tstc() loops * prevents watchdog timeout, while waiting for input, if CONFIG_BOOT_RETRY_TIME or CONFIG_SHOW_ACTIVITY defined Signed-off-by: Jens Scharsig <js_at_ng@scharsoft.de>
2010-04-10config_cmd_all.h: Sort entries alphabeticallyDetlev Zundel1-3/+3
Signed-off-by: Detlev Zundel <dzu@denx.de>
2010-04-10config_cmd_all.h: added missing CONFIG_CMD_UBI and CONFIG_CMD_UBIFSFrans Meulenbroeks1-0/+2
Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
2010-04-10malloc: sbrk() should return MORECORE_FAILURE instead of NULL on failurekarl.beldan@gmail.com1-1/+1
Signed-off-by: Karl Beldan <karl.beldan@gmail.com>
2010-04-10mkimage: Fix strict-aliasing compiler warningPeter Tyser1-5/+3
Version 4.2.4 of gcc produces the following warnings without this change: mkimage.c: In function ‘main’: mkimage.c:204: warning: dereferencing type-punned pointer will break strict-aliasing rules mkimage.c:222: warning: dereferencing type-punned pointer will break strict-aliasing rules Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
2010-04-10Add initial support for Matrix Vision mvSMR board based on MPC5200B.Andre Schwarz14-1/+1088
Signed-off-by: Andre Schwarz <andre.schwarz@matrix-vision.de>
2010-04-09cmd_bmp.c: add standard subcommand handlingFrans Meulenbroeks1-25/+56
Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com> Acked-by: Detlev Zundel <dzu@denx.de>
2010-04-09drivers/mtd/spi/eeprom_m95xxx.c: add missing error checkingAlbin Tonnerre1-0/+6
Signed-off-by: Albin Tonnerre <albin.tonnerre@free-electrons.com>
2010-04-09Merge branch 'master' of git://git.denx.de/u-boot-ubiWolfgang Denk1-1/+1
2010-04-09Merge branch 'master' of git://git.denx.de/u-boot-usbWolfgang Denk4-26/+32
2010-04-09cmd_ubi: Fix uninitialized variable warningPeter Tyser1-1/+1
gcc 3.4.6 previously reported the following error on many MIPS boards which utilize UBI: cmd_ubi.c:193: warning: 'vol' might be used uninitialized in this function The current code is structured such that 'vol' will never be used when it is NULL anyway, but gcc isn't smart enough to figure this out. Signed-off-by: Peter Tyser <ptyser@xes-inc.com> Signed-off-by: Stefan Roese <sr@denx.de>
2010-04-08USB storage probeKim B. Heino1-2/+2
While debugging one ill behaving USB device I found two bugs in USB storage probe. usb_stor_get_info() returns -1 (error), 0 (skip) or 1 (ok). First part of this patch fixes error case. Second part fixes usb_inquiry()'s retry counter handling. Original code had retry = -1 on error case, not retry = 0 as checked in the next line. Signed-off-by: Kim B. Heino <Kim.Heino@bluegiga.com>