Nishanth Menon
e9976b7268
OMAP: Add GPMC NAND support
...
This patch adds support for a generic GPMC driver
also a GPMC controller driver to allow platforms
to add NAND devices generically.
Signed-off-by: Nishanth Menon <x0nishan@ti.com>
2008-09-15 10:11:05 +02:00
Sascha Hauer
a288018b6f
pcm038: implement better waiting for PLLs
...
Instead of using a trivial counting loop we poll the 32KHz oscillator
to wait for the PLLs to stabilize
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-09-09 14:13:59 +02:00
Sascha Hauer
dd7a74db87
ARM bitops: fix for arm arch < 5
...
The correct bitops implementation depends on __LINUX_ARM_ARCH__ being
set. We do not currently support this variable. Change the default case
to < armv5, so that we do not end up with clz instructions in v4 code.
This is actually a workaround, the correct solution is to set
__LINUX_ARM_ARCH__ correctly.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-09-02 15:38:46 +02:00
Sascha Hauer
b8efcd997f
ARM: update mach-types
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-09-02 09:24:19 +02:00
Sascha Hauer
d85e73776a
envfs: remove bogus #warning statement
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-26 11:40:51 +02:00
Sascha Hauer
8ec84b8673
AT91SAM: Use Atmel header files from their Bootstrap code (ver 1.9)
...
The header files are neither small nor beautiful, but they are complete ;)
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-26 11:40:45 +02:00
Sascha Hauer
bcb049a702
string: add typechecking for strchr, strrchr, strstr
...
These functions offered an excellent possibility to bypass compiler
type checking.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-20 17:46:54 +02:00
Sascha Hauer
0004d78381
remove unnecessary double string function declarations
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-20 17:46:54 +02:00
Sascha Hauer
c0d02ffc3d
Fix string_to_ip
...
Use a pointer to an ip address instead of the return value in string_to_ip
and use the return value for error indication only. 0.0.0.0 can be a valid
ip address
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-20 17:46:47 +02:00
Sascha Hauer
33c488f8c1
net: remove unused function declarations
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-20 13:16:03 +02:00
Nishanth Menon
cb3f2e34c4
Bitops:Remove generic_funcs
...
Use asm-generic/bitops/xyz.h instead of using
generic_xyz functions.
Signed-off-by: Nishanth Menon <x0nishan@ti.com>
2008-08-15 08:47:50 +02:00
Nishanth Menon
31f9cb365e
Bitops:Cleanup ARM bitops
...
Cleanup of ARM bitops functions.
Introduce the findbits.S which allows for
optimized algo.
Signed-off-by: Nishanth Menon <x0nishan@ti.com>
2008-08-15 08:47:50 +02:00
Nishanth Menon
5fc0e871d5
U-Boot-V2:Bitops: asm-generic bitops
...
This introduces selected generic bitop files from
kernel. We don't need minix, ext2, sched or lock
based bitops. Those have been dropped.
Signed-off-by: Nishanth Menon <x0nishan@ti.com>
2008-08-15 08:47:49 +02:00
Sascha Hauer
e133ccdda8
implement memmap for mem driver
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-14 10:25:56 +02:00
Sascha Hauer
65778b63d2
Partition: Add an own device id for partitions
...
Add an own device id for partitions. This is necessary to allow
the partition layer to check if the given device is really a partition.
Also, check for readonly flag in erase.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-14 09:28:10 +02:00
Sascha Hauer
e6b42af9c5
increase maximum driver name length to 32
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-14 08:42:32 +02:00
Sascha Hauer
fd12d4cd77
SPI: Add empty spi_register_board_info function when SPI is disabled
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-13 16:52:15 +02:00
Sascha Hauer
1fbb5f65d6
nand: Allow adding/removing of more than one bad block aware device at once
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-13 16:52:15 +02:00
Sascha Hauer
c5934b3a8b
imx27: Add BOOT bitfield definitions
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-13 16:52:14 +02:00
Sascha Hauer
e33ff403f3
remove unused include file
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-13 16:52:14 +02:00
Sascha Hauer
bbee767a01
init: add section for early code
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-13 16:52:14 +02:00
Sascha Hauer
e90e319aeb
Add i.MX NAND driver
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-13 16:52:14 +02:00
Sascha Hauer
72314f26d6
i.MX27: Add NAND Flash Controller base address
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-13 16:52:14 +02:00
Sascha Hauer
d9af366450
NAND: Add updated NAND support from Kernel
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-13 16:52:14 +02:00
Sascha Hauer
a131b1abc3
Add new device types for NAND
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-13 16:52:14 +02:00
Sascha Hauer
12f00ac59c
add include/linux/kernel.h
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-13 16:52:09 +02:00
Sascha Hauer
8b9dd936e8
Add include/linux/err.h from Kernel
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-13 16:41:22 +02:00
Sascha Hauer
31cb2f0347
add wrapper macros for easier inclusion of kernel code
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-13 16:41:22 +02:00
Sascha Hauer
4c01ac2e0e
clocK: Add ndelay function
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-13 16:41:22 +02:00
Sascha Hauer
2db67353f3
add compiler header files from kernel
...
Add include/linux/compiler*.h from Linux Kernel and remove old
include/compiler.h
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-13 16:41:17 +02:00
Sascha Hauer
9ce10ee66e
PPC: need memset in elf.h
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-13 16:29:30 +02:00
Sascha Hauer
f043f32b82
partition: Add dummy dev_add_partition when partitions are disabled
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-13 16:29:26 +02:00
Sascha Hauer
932b57873d
move several commands into extra files
...
move false, true, help, insmod, lsmod, version into extra files
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-13 16:29:17 +02:00
Sascha Hauer
74874be56a
[AT91sam]: Add definitions for at91sam9263
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-01 11:59:44 +02:00
Sascha Hauer
c10e20846d
at91sam ether: Make more configurable via platform_data
...
Pass RMII and phy address via platform data rather than hardcoded.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-01 11:33:12 +02:00
Sascha Hauer
b28943274b
[ppc] include string.h in include/asm-ppc/elf.h, needed for memset
2008-07-03 10:32:08 +02:00
Sascha Hauer
a91979a87d
oops
2008-06-06 09:37:44 +02:00
Sascha Hauer
ee6d36a540
- introduce ioctl call
...
- pass open/close/lseek through to drivers
2008-06-06 09:30:48 +02:00
Sascha Hauer
3d45abb7c4
[NAND] continue to make it work. Now works partly on at91sam9260
2008-06-06 09:30:39 +02:00
Sascha Hauer
f3351ebd78
add basic at91sam9260 support. Currently only second stage
...
bootloader is supported:
- No SDRAM initialisation
- No UART init / baudrate change
2008-06-06 09:30:32 +02:00
Nishanth Menon
03f9461862
014-OMAP-add-mux-header
...
[Patch 14/17] U-Boot-V2:ARM:OMAP3: Add mux Header
This patch adds the OMAP3 mux header.
Signed-off-by: Nishanth Menon<x0nishan@ti.com>
2008-06-05 19:45:43 +02:00
Nishanth Menon
9cca7cf662
013-OMAP-add-silicon-headers
...
[Patch 13/17] U-Boot-V2:ARM:OMAP3: Add generic Headers
This patch adds the generic OMAP headers and OMAP specific headers.
Signed-off-by: Nishanth Menon<x0nishan@ti.com>
2008-06-05 19:45:42 +02:00
Nishanth Menon
c6ed31bbc4
012-OMAP-add-silicon-part2
...
[Patch 12/17] U-Boot-V2:ARM:OMAP3: Add support for OMAP3 Silicon files
This patch introduces support for OMAP3430 clocking infrastructure. Please note that SRAM based configuration requires GPMC values to be updated before returning to caller- TBD.
Signed-off-by: Nishanth Menon<x0nishan@ti.com>
2008-06-05 19:45:42 +02:00
Nishanth Menon
cd008fb265
009-add-NS16550
...
[Patch 09/17] U-Boot-V2:Serial: Add support for NS16550 Driver.
This introduces support for NS16550 and related OMAP support. This driver is a port from Uboot v1 driver from OMAP's Uboot tree.
OMAP U-Boot V1 source is available here: http://linux.omap.com/pub/bootloader/3430sdp/u-boot-v1.tar.gz
Signed-off-by: Nishanth Menon<x0nishan@ti.com>
2008-06-05 19:45:21 +02:00
Sascha Hauer
596c845072
[memory layout]: streamline memory layout
...
Memory layout can now be specified via kconfig options. Two
possibilities exist: default layout means the layout is stack
/ malloc heap / U-Boot. The user can also specify fixed addresses
for each TEXT_BASE / stack / malloc heap.
2008-06-04 11:54:03 +02:00
Sascha Hauer
beaab972f8
hardcode _FILE_OFFSET_BITS to 32
2008-06-03 13:34:45 +02:00
Sascha Hauer
9d0662bc0a
net.h: no need to put extern declarations in ifdefs
2008-06-03 13:33:22 +02:00
Sascha Hauer
aa2111e257
fix warnings in malloc code introduced by last commits
2008-06-03 13:30:38 +02:00
Sascha Hauer
dabec3a7a1
Merge branch 'master' of git://www.denx.de/git/u-boot-v2
2008-06-02 16:13:14 +02:00
Menon, Nishanth
22d3dc0d27
[arm] remove unsused sections while linking
2008-05-12 15:52:23 +02:00
Sascha Hauer
c3ec6a862c
[cramfs] fix compiler warning about undefined __LITTLE_ENDIAN
2008-04-07 12:19:36 +02:00
Sascha Hauer
9c7d282579
[general] Move include/configs/* to board/*/config.h
2008-04-07 12:18:05 +02:00
Sascha Hauer
5b671e9611
remove unused mx1ads.h
2008-04-07 11:24:26 +02:00
Sascha Hauer
f27462d6df
remove currently unused lcd.h
2008-04-07 11:23:32 +02:00
Sascha Hauer
ae6cc2d36b
[m68k] Add Freescale Coldfire V4E Architecture support
...
- Added m68k vector, exception & interrupt handlers
- Added m68k macros to access m68k movec registers
- Added Coldfire support code (MultiChannelDMA)
- Added board support for phytec phyCore-MCF baseboard
- Added board support for konzeptpark MCB2 prototype
Signed-off-by: Carsten Schlote <schlote@vahanus.net>
2008-04-04 18:16:06 +02:00
Sascha Hauer
50cc8c5412
Subject: [PATCH] [general] Fixed constant strings in data section issue
...
For practical reasons I changed all string literals assumed to be constant
to reside in .rodata subsection at end of .text section.
Signed-off-by: Carsten Schlote <schlote@vahanus.net>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-04-04 14:45:04 +02:00
Sascha Hauer
a9912f68c6
Fixed orphaned CONFIG_INTERRUPTS
...
replace remaining CONFIG_INTERRUPTS with CONFIG_USE_IRQ
Signed-off-by: Carsten Schlote <schlote@vahanus.net>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-04-04 14:45:04 +02:00
Sascha Hauer
839aaaf9ef
add protection from double inclusion in string.h
2008-03-31 21:55:34 +02:00
Sascha Hauer
c2d756b84b
add CSPI1 GPIO defines
2008-03-14 13:05:29 +01:00
Sascha Hauer
a14a5c02f0
first (partly) running spi support
2008-03-14 12:59:55 +01:00
Sascha Hauer
906eea397a
beginning of SPI support
2008-03-11 22:13:06 +01:00
Sascha Hauer
1871125c56
add several SDRAM Controller and PLL related register defintions
...
to imx27-regs.h
2008-03-11 21:59:26 +01:00
Sascha Hauer
ce172e152e
add ls -c and -l
2008-03-11 21:41:56 +01:00
Sascha Hauer
f5a9246875
use newly introduced stringlist functions for tab completion
2008-03-11 21:40:40 +01:00
Sascha Hauer
8f35e16333
add stringlist function. They can be used to build a list
...
of strings. For now mainly useful to print the resulting
list in columns which is used in tab completion and ls.
2008-03-11 21:38:22 +01:00
Sascha Hauer
8759e68de2
Add the possibility to have an architecture specific ctrlc() function.
...
This allows us to return immediately in ctrlc() on sandbox and thus
not slow down network througput.
2008-03-11 00:00:37 +01:00
Sascha Hauer
187847b2b4
add globbing support
2008-03-09 22:35:38 +01:00
Sascha Hauer
1a8e0f589f
add armlinux.h
2008-03-01 22:47:46 +01:00
Sascha Hauer
c0770312bc
remove traces of old tab completion
2008-03-01 22:47:06 +01:00
Sascha Hauer
df31bb46be
implement TAB completion
2008-03-01 21:08:14 +01:00
Sascha Hauer
a1a747af7f
fix typo
2008-03-01 21:06:14 +01:00
Sascha Hauer
8d8f900366
[ARM] Remove CONFIG_ARCH_NUMBER from Kconfig system. Putting too many
...
values into kconfig which are not user configurable at all only
encourages people to put even more stuff in there. This is not
good because people tend to have board patches lying around and
these patches won't apply regularly if they all change the same
file (arch/arm/Kconfig)
Instead, introduce a function armlinux_set_architecture() which
everyone can call during board setup.
Similarly introduce armlinux_set_bootparams() for the boot
parameter pointer.
2008-02-26 15:38:37 +01:00
Sascha Hauer
066ac7abdb
[CFI driver] add missing flash protection for new driver
2008-02-26 11:55:41 +01:00
Sascha Hauer
3d3c13d8f8
[CFI Driver] - Update Kconfig help texts
...
- Turn switch/case into if/else to be able to optimize out
unused code when not all bankwidths are needed
2008-02-26 11:28:55 +01:00
Sascha Hauer
51c840cd18
[CFI driver] For some Spansion flashes we have to write the
...
AMD_CMD_WRITE_TO_BUFFER command to the destination
address of the buffer write and not to the sector
beginning. Linux mtd does this as default, so I
assume this should work for other flashes aswell.
Reorder functions so that this change fits in nicely.
2008-02-26 10:32:25 +01:00
Sascha Hauer
7f88a7844c
[CFI FLASH] Make the 'new' driver compile again and reorder functions to
...
get rid of static function declarations.
2008-02-25 18:41:25 +01:00
Sascha Hauer
fa052abb64
add missing include
2008-02-20 19:07:47 +01:00
Sascha Hauer
9beb36884b
[ARM] Remove ARCH_NUMBERs from config.h and put them into Kconfig
2008-02-20 19:03:24 +01:00
Sascha Hauer
f95ec8a32d
- Add functions to register image handlers for booting uImages
2008-02-20 19:01:54 +01:00
Sascha Hauer
8d4e06d3d5
[mpc5200 fec] revert to some old version (somehow my play version got into the
...
repository). Runtime tested on pcm030
2008-02-20 17:48:31 +01:00
Sascha Hauer
7b4e9c4a82
[i.MX]: Basic board support for the Freescale i.MX27 eval board
2008-02-19 15:59:37 +01:00
Sascha Hauer
d5caf5ec5b
[i.MX27]: Add CSx base addresses
2008-02-19 15:53:18 +01:00
Sascha Hauer
c47beef096
[i.MX]: Add imx_get_ipgclk() prototype
2008-02-19 15:52:15 +01:00
Sascha Hauer
2ae190a9dd
[i.MX] add function to determine chip revision
2008-02-19 15:50:43 +01:00
Carsten Schlote
4bc43ee28c
[general] Fixed remaining defines for envfs in big-endian mode
...
Trivial - completed macros
2008-02-19 08:56:27 +01:00
Carsten Schlote
db291de280
[general] Fixed endian handling for envfs
...
Fixed the handling of data similiar as found in cramfs.
This fixes the problem with an unreadable defaultenv on big-endian
targets.
The endian macors are now loaded from /asm/common.h by default.
Signed-off-by: Carsten Schlote <c.schlote@konzeptpark.de>
2008-02-19 08:56:01 +01:00
Wolfram Sang
e18ff815e3
[IPE337] Better support for multiple revision
...
Changed bool into choice
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
2008-01-24 11:06:54 +01:00
Wolfram Sang
a119fc273b
Make board IPE337 revision 2 selectable for .config
...
A new menu "Board options" is introduced, where one can select if the board
is a rev.2 (= 40Mhz)
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
2008-01-23 20:44:32 +01:00
Enrik Berkhan
35fd1e8f5b
Fix/Adapt settings for version 2 of IPE337
...
Signed-Off-By: Enrik Berkhan <Enrik.Berkhan@ge.com>
2008-01-23 12:13:23 +01:00
Marc Kleine-Budde
17e0a74ed3
[sparse] don't return sth in a void function
...
fixed
include/stdio.h:23:2: warning: returning void-valued expression
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2007-11-29 10:22:47 +01:00
Marc Kleine-Budde
fb56fffbcb
[sandbox] add propper sandbox detection
...
This patch adds a __SANDBOX__ define to identify compiling for the
sandbox.
When building for sandbox, don't use sync() workaround.
Fixes this error for sandbox on PPC:
CC common/memsize.o
common/memsize.c:30:38: error: asm/io.h: No such file or directory
common/memsize.c: In function 'get_ram_size':
common/memsize.c:51: warning: implicit declaration of function 'sync'
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2007-11-29 10:22:46 +01:00
Robert Schwebel
7067e21f3f
cleanup do_bootm_linux()
...
This patch cleans up the do_bootm_linux() function. It removes most of
the uggly ifdefery and replaces it by a sane function optimizing
structure.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
2007-11-28 09:03:27 +01:00
Robert Schwebel
f8e7e8eeba
fixed CONFIG_BOOT_PARAMS
...
Fixed CONFIG_BOOT_PARAMS location
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
2007-11-28 09:01:19 +01:00
Marc Kleine-Budde
e68ac6368d
Revert "separating memory commands"
...
This reverts commit d59c600c65
.
Conflicts:
commands/Makefile
common/Kconfig
common/Makefile
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2007-11-27 23:19:55 +01:00
Juergen Beisert
afbdded02a
using the shiny new machine type for pcm038
...
Signed-off-by: Juergen Beisert <j.beisert@pengutronix.de>
2007-11-15 18:42:14 +01:00
Juergen Beisert
6e601dc191
adding pcm038's macine type
...
Signed-off-by: Juergen Beisert <j.beisert@pengutronix.de>
2007-11-15 18:40:17 +01:00
Juergen Beisert
dae2d42d9b
doc fixed in i.MX27 fec related files
...
Signed-off-by: Juergen Beisert <j.beisert@pengutronix.de>
2007-11-12 16:28:23 +01:00
Juergen Beisert
8413d78ab3
separating environment commands, part 2
...
Signed-off-by: Juergen Beisert <j.beisert@pengutronix.de>
2007-11-12 16:28:23 +01:00
Juergen Beisert
2966bba216
separating environment commands, part 1
...
Signed-off-by: Juergen Beisert <j.beisert@pengutronix.de>
2007-11-12 16:28:23 +01:00
Juergen Beisert
d59c600c65
separating memory commands
...
Signed-off-by: Juergen Beisert <j.beisert@pengutronix.de>
2007-11-12 16:28:23 +01:00
Juergen Beisert
f4ba1fff89
adding and correcting driver's doc
...
Signed-off-by: Juergen Beisert <j.beisert@pengutronix.de>
2007-11-09 12:01:18 +01:00
Juergen Beisert
a7d96488e5
Using correct board names all over the place
...
Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
2007-11-08 18:23:44 +01:00
Juergen Beisert
903d775d32
adding first clean mx27 only fec driver
2007-11-08 16:24:51 +01:00
Juergen Beisert
c0f66e1ca4
Merge ../u-boot-v2-arm into jbe-imx27
2007-11-05 12:27:15 +01:00
Juergen Beisert
1cb7062653
integrating sha's changes into jbe's branch
2007-11-05 12:26:29 +01:00
Robert Schwebel
319b521955
add missing bitops.h for sandbox arch
2007-10-31 17:18:46 +01:00
Sascha Hauer
fb85d9e8a1
blackfin: Do not include linux/config.h. It does not exist.
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2007-10-24 11:53:52 +02:00
sascha
3f90fc9d3e
NAND support work in progress
2007-10-20 01:13:46 +02:00
Juergen Beisert
b90fc81605
doc added (what else)
2007-10-19 15:35:37 +02:00
sascha
ad72b775f1
Merge octopus:/home/git/projects/u-boot-v2
2007-10-19 13:07:01 +02:00
sascha
f1020bd2d5
add list_add_sort to list implementation
2007-10-19 12:43:00 +02:00
Juergen Beisert
6ad2703e6e
Merge branch 'master' of jbe@octopus:/home/git/projects/u-boot-v2
2007-10-19 11:58:33 +02:00
Juergen Beisert
c616179204
doc added only
2007-10-19 11:58:22 +02:00
sascha
83f101bc30
fix compiler warning
2007-10-19 11:06:32 +02:00
sascha
3b6d6a45e7
- Implement tree structure for devices
...
- Use device tree structure to implement partitions
- Let devinfo print a nice tree
- Introduce 'fixed' partitions which are not removable
- Fix mount: It was not possible to mount on a relative path.
2007-10-19 08:45:57 +02:00
sascha
ad0bfce51d
Merge octopus:/home/git/projects/u-boot-v2
2007-10-18 12:07:05 +02:00
sascha
2db56b3031
When printing error messages about network parameters print
...
the network device id with it.
2007-10-18 12:06:50 +02:00
Juergen Beisert
d8eae58a2a
Merge branch 'master' of jbe@octopus:/home/git/projects/u-boot-v2
2007-10-18 11:55:03 +02:00
Juergen Beisert
b8ac6051d7
chip select area sizes added
2007-10-18 11:52:33 +02:00
sascha
75b605bfd2
Merge octopus:/home/git/projects/u-boot-v2
2007-10-18 11:17:32 +02:00
sascha
1b272d80f1
change functions containing 'mac' or 'enet' in its name to 'ethaddr'.
...
change the parameter name for ethernet devices to 'ethaddr' aswell.
2007-10-18 11:17:16 +02:00
Juergen Beisert
075131631b
make the clocksource work on current CPUs
2007-10-18 00:04:47 +02:00
Juergen Beisert
4c03bb1d58
first time running
2007-10-17 21:09:25 +02:00
Juergen Beisert
0641f18c36
prepare for release phytec's board. Untested yet
2007-10-17 18:05:58 +02:00
Juergen Beisert
3be8ed2fa1
adding i.MX31 CPU support
2007-10-17 17:57:55 +02:00
Juergen Beisert
7e047fd879
making watchdog handling independend from ifdefs
2007-10-17 17:49:23 +02:00
sascha
52fb34f5ad
update scb9328 config
2007-10-16 14:45:58 +02:00
sascha
fdf739c7a5
move dm9000 specific stuff to platform_data
2007-10-16 13:55:48 +02:00
sascha
a99e03c847
i.MX clock functions: Make them work for i.MX1 again
2007-10-16 11:32:23 +02:00
sascha
7f72d26be9
add ffs
2007-10-15 18:01:30 +02:00
Sascha Hauer
7e58e219f8
add nand_ecc.h
2007-10-15 17:55:48 +02:00
Sascha Hauer
a149f9949b
add pcm038 config
2007-10-15 17:54:52 +02:00
Sascha Hauer
616cf2b45a
NAND WIP
2007-10-15 17:22:25 +02:00
Sascha Hauer
cedcb274ae
add NAND Flash support. Initial import from u-boot-1.2.0
2007-10-12 10:04:54 +02:00
Sascha Hauer
3712bf5d0a
Do not include unneeded linux/stddef.h in list.h
2007-10-11 22:03:12 +02:00
Sascha Hauer
212f631eb4
let erase and protect functions return int instead of size_t. They
...
only return succes/error but no size.
2007-10-11 22:00:22 +02:00
Sascha Hauer
82e54558b2
Collect all commands in a linked list. This makes it easier to handle
...
dynamically registered commands.
2007-10-11 21:58:51 +02:00
Sascha Hauer
afaaf9a5d9
Add big #ifdef CONFIG_MODULE around module.h to build architectures
...
which do not have modules.
2007-10-11 21:56:03 +02:00
Sascha Hauer
2d20fc33e2
no need to include asm/system.h from list.h
2007-10-11 20:39:18 +02:00
Sascha Hauer
ac8a1f064e
Use Linux Kernel list implementation for console devices instead
...
of homegrown list.
2007-10-11 20:36:57 +02:00
Sascha Hauer
eadf71abc7
Use Linux kernel list for drivers and devices instead of handmade
...
list.
2007-10-11 20:20:36 +02:00
Sascha Hauer
29fc9471f5
add list implementation from Linux Kernel. *_rcu functions have
...
been removed.
2007-10-11 15:59:35 +02:00
Sascha Hauer
996eb57938
add container_of macro. Needed for list implementation
2007-10-11 15:59:01 +02:00
Sascha Hauer
7a0d5c47c9
i.MX27: add GPIO description for CRS pin
2007-10-10 09:45:41 +02:00
Sascha Hauer
1285a35949
add i.MX27 ahb clock function
2007-10-10 09:44:21 +02:00
Sascha Hauer
b161305946
change imx clock functions so that they have the same name for
...
i.MX1 and i.MX27
2007-10-09 17:24:25 +02:00
Sascha Hauer
dc202f56d8
add PCCRx register definitions for mx27
2007-10-09 17:16:38 +02:00
Sascha Hauer
0590d8909b
add aipi register defines
2007-10-09 08:24:48 +02:00
Sascha Hauer
8b08d97323
add mx27 PLL base
2007-10-08 00:12:02 +02:00
Sascha Hauer
0ab3cfcc67
add clock functions for i.MX27 and rename functions to lower case letters
2007-10-08 00:08:52 +02:00
Sascha Hauer
9575fc14c3
add more registers to imx27-regs.h
2007-10-07 23:44:09 +02:00
Sascha Hauer
b5656a41e0
Beginning mx27 support: split imx-regs.h into imx1-regs.h and imx27-regs.h
2007-10-07 16:31:54 +02:00
Sascha Hauer
236d55a06a
__u_boot__symtab -> __usymtab
2007-10-07 14:32:08 +02:00
Sascha Hauer
3c1cdbe763
add empty elf.h for sandbox
2007-10-05 00:02:53 +02:00
Sascha Hauer
17c3e64578
export functions
2007-10-04 12:37:06 +02:00
Sascha Hauer
ae53e9ef1d
CONFIG_MODULE -> CONFIG_MODULES
2007-10-04 12:33:03 +02:00
Sascha Hauer
09082c9222
add #ifndef ASSEBLY around the typedefs in include/asm-arm/types.h
...
to be able to include it in Assembly
2007-10-01 10:25:08 +02:00
Sascha Hauer
6b58e74d04
Resolve the symbols using an extra section and only resolve explicitly
...
exported symbols. Using kallsyms for this purpose doesn't do it because
kallsyms do not resolve variables. Also the symbol table gets quite
big using kallsyms.
2007-10-01 10:20:57 +02:00
Sascha Hauer
1e3465553b
Add register_command() to register a command in runtime. This
...
is only needed when modules are enabled, so the change is inside
"#ifdef CONFIG_MODULE"
2007-10-01 10:15:38 +02:00
Sascha Hauer
c41b41f9e7
add __used attribute in compiler.h
2007-10-01 10:13:13 +02:00
Sascha Hauer
153cf7bb6e
add arm specific bits for modules
2007-10-01 09:51:04 +02:00
Sascha Hauer
ffe5cb80a7
add powerpc specific bits for modules
2007-10-01 09:49:39 +02:00
Sascha Hauer
cdfd8bdd92
update .gitignore files
2007-09-28 20:36:33 +02:00
Sascha Hauer
a95a54b808
add blackfin specific bits for module handling
2007-09-28 20:35:40 +02:00
Sascha Hauer
c396c4da49
Add module handling (mostly copied from Linux kernel and stripped down
...
for U-Boot)
2007-09-28 20:32:15 +02:00
Sascha Hauer
7a49f672c5
add kallsyms from linux kernel
2007-09-28 20:29:52 +02:00
Sascha Hauer
1156d3938c
replace elf.h with the one from the linux kernel. It does not have powerpc
...
specific defines in it.
2007-09-28 19:59:12 +02:00
Sascha Hauer
685d85540c
move ARRAY_SIZE macro to include/common.h
2007-09-28 19:46:37 +02:00
Sascha Hauer
6b7fdcb970
Use safe_strncpy() instead of copy_filename(). The shell has already removed
...
quotes, so we don't need this functionality from copy_filename()
2007-09-28 10:47:19 +02:00
Sascha Hauer
5931ed5a14
add safe_strncpy() function
2007-09-28 10:45:59 +02:00
Sascha Hauer
b3dc734018
declare lots of functions static
2007-09-28 10:07:26 +02:00
Sascha Hauer
79ed00ba92
pass file size from read_file
2007-09-27 16:33:35 +02:00
Sascha Hauer
109449f49f
update ipe337 timing values and fix memory size
2007-09-27 12:09:43 +02:00
Sascha Hauer
e35ccd2f9c
add string.h
2007-09-27 12:07:13 +02:00
Sascha Hauer
7c17ff7c45
Reimplement environment. Now we only have one crc for the whole image.
2007-09-27 12:04:17 +02:00
Sascha Hauer
46d5705395
implement mkdir -p
2007-09-27 11:59:18 +02:00
Sascha Hauer
52473038dc
display malloc space on startup
2007-09-26 15:24:51 +02:00
Sascha Hauer
326e4bddc3
print_size() -> size_human_readable()
...
return a pointer to a human readable string rather than printingit directly
2007-09-26 15:23:46 +02:00
Sascha Hauer
a2caf027e2
remove unused lynxkdi.h
2007-09-25 14:37:20 +02:00
Sascha Hauer
913691eccd
add directory handling for environment
2007-09-25 12:58:52 +02:00
Sascha Hauer
f132b2e073
- change function declarations for better standard conformity:
...
int open(const char *pathname, int flags);
-> int open(const char *pathname, int flags, ...);
int mkdir(const char *pathname);
-> int mkdir(const char *pathname, mode_t mode);
2007-09-24 17:03:20 +02:00
Sascha Hauer
ca5ae599d6
add recursive_action() and concat_subpath_file() from busybox
2007-09-24 17:00:49 +02:00
Sascha Hauer
d4ba2f9001
move dirname() and basename() to lib/libgen.c and add header file
2007-09-24 16:57:12 +02:00
Sascha Hauer
3cbc5c5c12
remove u-boot command paramter flag
2007-09-24 12:31:08 +02:00
Sascha Hauer
14b5c2a647
- teach hush to honour PATH variable
...
- remove common/main.c. This is now handled in the different shells.
2007-09-24 01:40:06 +02:00
Sascha Hauer
d97304aef2
add libbb functions
2007-09-24 01:36:07 +02:00
Sascha Hauer
71e2c11ebb
introduce local and global variables, add export command
2007-09-23 23:29:37 +02:00
Sascha Hauer
05dec7d3bd
move ppc assembler templates to include/asm-ppc
2007-09-22 16:07:51 +02:00
Sascha Hauer
12ca3c72ba
remove atomic.h
2007-09-22 16:01:21 +02:00
Sascha Hauer
2e647e03b8
removed too much. Re-add include/asm-arm/proc-armv/ptrace.h
2007-09-21 21:31:39 +02:00
Sascha Hauer
90a17da95c
add kernel kfifo implementation
2007-09-21 21:29:32 +02:00
Sascha Hauer
8b999f4a53
use faster chip select timings for ipe337 board
2007-09-21 14:37:30 +02:00
Sascha Hauer
decff6927b
remove currently unused arch header files
2007-09-21 14:25:29 +02:00
Sascha Hauer
9414ad39af
remove unported includes and drivers
2007-09-21 14:18:25 +02:00
Sascha Hauer
c1711479b0
remove unported includes and drivers
2007-09-21 14:14:05 +02:00
Sascha Hauer
fd8e989e2e
move mkimage.c to scripts, make it compile
2007-09-21 13:55:04 +02:00
Sascha Hauer
c97a04cc31
remove some unused header files
2007-09-21 09:09:36 +02:00
Sascha Hauer
0dd68e795e
- putc is now putchar for better standard conformity
...
- make printf return int
2007-09-21 09:09:06 +02:00
Sascha Hauer
c36aba6101
add cpu.h header file for blackfin
2007-09-16 11:25:58 +02:00
Sascha Hauer
e4785b540f
add brackets around defines
2007-09-16 11:25:32 +02:00
Sascha Hauer
8783069d9e
speed up core clock for ipe337 board
2007-09-16 11:25:00 +02:00
Sascha Hauer
a39a92a4c6
use arch specific execute
2007-09-16 11:22:07 +02:00
Sascha Hauer
83c24cf19b
remove linux/config.h include
2007-09-16 11:21:39 +02:00
Sascha Hauer
dc11ebfa22
remove unused interrupt defines for blackfin
2007-09-16 11:20:55 +02:00
Sascha Hauer
7c5234b062
asm-blackfin: add missing includes
2007-09-16 11:19:28 +02:00
Sascha Hauer
ca8ae5695a
add the possibility to have a arch specific 'go' command. Some
...
architectures need this (e.g. blackfin and i386)
2007-09-16 11:16:08 +02:00
Sascha Hauer
1bc16dbb01
remove unused defines
2007-09-16 11:12:24 +02:00
Sascha Hauer
a1fe3d6b82
remove inlude linux/config.h
2007-09-13 15:31:18 +02:00
Sascha Hauer
05a2642624
add empty common.h
2007-09-13 15:30:05 +02:00
Sascha Hauer
6dd5fcd940
remove old functions from include/environment.h
2007-09-13 15:28:15 +02:00
Sascha Hauer
0bf0b686f2
remove extern stufff
2007-09-13 15:22:49 +02:00
Sascha Hauer
3fc674cc51
add support for the PII bf561 board
2007-09-11 10:21:10 +02:00
Sascha Hauer
70a338bc27
Use unsigned char * for mac address. Otherwise (s)printf interpets
...
parts of the mac address as negative numbers and gives wrong
results.
2007-09-11 10:20:16 +02:00
Sascha Hauer
97c0278dc1
initial blackfin support
2007-09-11 10:15:32 +02:00
Sascha Hauer
b39e410ca7
add Hilscher netx support part3 (header files)
2007-09-05 12:57:00 +02:00
Sascha Hauer
14e3b2b3ec
temporary config for netx
2007-09-05 12:55:13 +02:00
Sascha Hauer
654bb6b0b8
further reloc fixes
2007-07-25 12:25:01 +02:00
Sascha Hauer
056a695c15
implement flash protection
2007-07-16 10:29:28 +02:00
Sascha Hauer
be6790838d
fix compiler warning
2007-07-15 14:06:16 +02:00
Sascha Hauer
8881fb7984
use memmap() to save one memcpy call in bootm
2007-07-15 14:02:53 +02:00
Sascha Hauer
665291e693
implement memmap().
...
With this function we can get a pointer to directly memory mapped
devices like nor flash or RAM. Useful for bootm where we save one
memcopy when the image is mappable
2007-07-15 13:50:04 +02:00
Sascha Hauer
b844766e03
whitespace cleanup
2007-07-15 12:43:20 +02:00
Sascha Hauer
9994dfb818
rename linux target to sandbox
2007-07-12 12:19:39 +02:00
Sascha Hauer
d757720766
arch/linux -> arch/sandbox
2007-07-12 12:12:34 +02:00
Sascha Hauer
c32130ad97
add empty include/asm-linux/common.h
2007-07-12 12:08:38 +02:00
Sascha Hauer
a5b58941f7
move variable declarations out of ifdef
2007-07-12 11:53:09 +02:00
Sascha Hauer
ce192d40db
autogenerate include/asm-arm/proc
2007-07-12 11:51:29 +02:00
Sascha Hauer
3187e83831
add missing include
2007-07-12 11:23:38 +02:00
Sascha Hauer
b1c3952f00
add missing include
2007-07-12 11:23:17 +02:00
Sascha Hauer
793ff46a04
CONFIG_ARCH_HAS_RELOC -> CONFIG_HAS_EARLY_INIT
2007-07-12 11:21:13 +02:00
Sascha Hauer
fa9807573b
consolidate cpu_init_*
2007-07-12 11:19:09 +02:00
Sascha Hauer
e48e2cdf25
add .gitignore files
2007-07-12 10:21:16 +02:00
Sascha Hauer
149d273b80
add early console for mpc5200
2007-07-12 09:31:07 +02:00
Sascha Hauer
93abe4f36b
make printf position independent
2007-07-12 09:30:20 +02:00
Sascha Hauer
0ba162c9c7
cleanup
2007-07-12 09:26:20 +02:00
Sascha Hauer
d3a537ef7e
remove debugging rests
2007-07-12 09:25:47 +02:00
Sascha Hauer
d435b9cb09
remove include/serial.h, it is unneeded
2007-07-12 09:23:21 +02:00
Sascha Hauer
b1e843987a
remove debug printf
2007-07-11 16:34:15 +02:00
Sascha Hauer
23ab186b15
compile fixes
2007-07-05 22:12:11 +02:00
Sascha Hauer
7d65de0b2b
add empty include/asm-arm/common.h
2007-07-05 21:53:08 +02:00
Sascha Hauer
e755ab4535
minor fixes
2007-07-05 21:50:14 +02:00
Sascha Hauer
9afd20bdb0
svn_rev_693
...
remove do_reset
2007-07-05 18:02:18 +02:00
Sascha Hauer
f4abfde815
svn_rev_691
2007-07-05 18:02:17 +02:00
Sascha Hauer
cf836d5f97
svn_rev_690
...
add comment
2007-07-05 18:02:17 +02:00
Sascha Hauer
496d7e4344
svn_rev_689
...
function prototypes do not hurt
2007-07-05 18:02:17 +02:00
Sascha Hauer
e74a1633aa
svn_rev_686
...
implement console baudrate switching
2007-07-05 18:02:17 +02:00
Sascha Hauer
31d3ca0354
svn_rev_685
2007-07-05 18:02:17 +02:00
Sascha Hauer
22274d77a7
svn_rev_684
2007-07-05 18:02:17 +02:00
Sascha Hauer
98432d3925
svn_rev_683
...
more cleanups, fix compiler warnings
2007-07-05 18:02:16 +02:00
Sascha Hauer
1755ca1e01
svn_rev_681
...
remove unneded prototypes
2007-07-05 18:02:16 +02:00