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
Sascha Hauer
d9147943ab
svn_rev_677
...
remove arm specific things
2007-07-05 18:02:16 +02:00
Sascha Hauer
7301a3fcd5
svn_rev_661
2007-07-05 18:02:14 +02:00
Sascha Hauer
5fef2ddea7
svn_rev_660
2007-07-05 18:02:14 +02:00
Sascha Hauer
2ae203a52e
svn_rev_659
...
remove ns7520 files. They are completely unused even in original u-boot
2007-07-05 18:02:14 +02:00
Sascha Hauer
4df05e542a
svn_rev_658
2007-07-05 18:02:14 +02:00
Sascha Hauer
afe12e6c87
svn_rev_657
2007-07-05 18:02:14 +02:00
Sascha Hauer
2d9b7eb247
svn_rev_656
2007-07-05 18:02:14 +02:00
Sascha Hauer
ed870597b7
svn_rev_655
...
move mpc specific files to asm-ppc/arch-*
2007-07-05 18:02:14 +02:00
Sascha Hauer
b2c5310d4d
svn_rev_653
...
restructure tree, add reginfo command
2007-07-05 18:02:14 +02:00
Sascha Hauer
a46f705cd9
svn_rev_634
...
add comments
2007-07-05 18:02:12 +02:00
Sascha Hauer
1f155b9cd4
svn_rev_629
...
no config.h
2007-07-05 18:02:11 +02:00
Sascha Hauer
56828684a2
svn_rev_625
2007-07-05 18:02:11 +02:00
Sascha Hauer
3f64685ada
svn_rev_617
2007-07-05 18:02:10 +02:00
Sascha Hauer
dff4074642
svn_rev_614
...
no global data
2007-07-05 18:02:10 +02:00
Sascha Hauer
84adb3368d
svn_rev_611
2007-07-05 18:02:09 +02:00
Sascha Hauer
e2f1a28306
svn_rev_605
...
make read_file global
2007-07-05 18:02:09 +02:00
Sascha Hauer
443b217107
svn_rev_600
2007-07-05 18:02:08 +02:00
Sascha Hauer
68ae7e737d
svn_rev_599
...
no interrupts
2007-07-05 18:02:08 +02:00
Sascha Hauer
230024741a
svn_rev_588
...
increase malloc space
2007-07-05 18:02:07 +02:00
Sascha Hauer
85a8fd38d0
svn_rev_586
...
add IH_CPU for cpu checking
2007-07-05 18:02:07 +02:00
Sascha Hauer
9ff9f6a5ef
svn_rev_579
...
miiphy
2007-07-05 18:02:06 +02:00
Sascha Hauer
5fd7544b32
svn_rev_578
2007-07-05 18:02:06 +02:00
Sascha Hauer
c5424df966
svn_rev_577
2007-07-05 18:02:06 +02:00
Sascha Hauer
be2407bd1a
svn_rev_576
2007-07-05 18:02:06 +02:00
Sascha Hauer
06bc41745b
svn_rev_575
...
add DEVICE_TYPE_MIIPHY
2007-07-05 18:02:06 +02:00
Sascha Hauer
5ab5b339a2
svn_rev_574
...
eth_init -> eth_open
2007-07-05 18:02:06 +02:00
Sascha Hauer
14edc91f97
svn_rev_572
...
add miiphy support
2007-07-05 18:02:06 +02:00
Sascha Hauer
49e96c684b
svn_rev_554
...
added missing file
2007-07-05 18:02:04 +02:00
Sascha Hauer
bec5e479b0
svn_rev_553
...
use version from toplevel makefile
2007-07-05 18:02:04 +02:00
Sascha Hauer
758a1107f8
svn_rev_538
...
several powerpc fixes
2007-07-05 18:02:03 +02:00
Sascha Hauer
1dc8483ffa
svn_rev_535
2007-07-05 18:02:03 +02:00
Sascha Hauer
c5ba7e8aa3
svn_rev_534
2007-07-05 18:02:02 +02:00
Sascha Hauer
d259b1dad0
svn_rev_530
...
remove linux/config.h
2007-07-05 18:02:02 +02:00
Sascha Hauer
29c960f52c
svn_rev_529
2007-07-05 18:02:02 +02:00
Sascha Hauer
0cdad3e337
svn_rev_528
2007-07-05 18:02:02 +02:00
Sascha Hauer
db17619e35
svn_rev_527
2007-07-05 18:02:02 +02:00
Sascha Hauer
36a60cf92b
svn_rev_526
...
CFG_CACHELINESIZE -> CONFIG_CACHELINE_SIZE
2007-07-05 18:02:01 +02:00
Sascha Hauer
ba737ad29e
svn_rev_522
2007-07-05 18:02:01 +02:00
Sascha Hauer
eb10c7406e
svn_rev_516
...
remove CONFIG_TIMESTAMP (now in Kconfig)
2007-07-05 18:02:00 +02:00
Sascha Hauer
fa668fe184
svn_rev_502
...
complete multiple console support
2007-07-05 18:01:59 +02:00
Sascha Hauer
2314aee235
svn_rev_482
2007-07-05 18:01:58 +02:00
Sascha Hauer
fe2d505d4d
svn_rev_481
...
make more char * const, fix compiler warnings
2007-07-05 18:01:58 +02:00
Sascha Hauer
bf7d2a1b9f
svn_rev_479
...
for x86_64 set INTERNAL_SIZE_T to 64 bytes
2007-07-05 18:01:57 +02:00
Sascha Hauer
dd7bf785a9
svn_rev_477
...
add alignment fix (hack?) for x86_64
2007-07-05 18:01:57 +02:00
Sascha Hauer
7baa6289fe
svn_rev_469
...
- make some more char * const
- dev_add_parameter -> dev_add_param
2007-07-05 18:01:56 +02:00
Sascha Hauer
fe72c6b8fe
svn_rev_466
...
add CMDLINE_TAG SETUP_MEMORY_TAGS and INITRD_TAG to Kconfig
2007-07-05 18:01:56 +02:00
Sascha Hauer
17f9b2c9ac
svn_rev_463
...
make ppc compile again
2007-07-05 18:01:56 +02:00
Sascha Hauer
d5a108ece3
svn_rev_462
...
- Add help texts for many commands.
- Let the linker sort the command table.
- Add support for multiple argmuments in several commands
(mkdir, rmdir, rm, cat)
2007-07-05 18:01:55 +02:00
Sascha Hauer
10a9a0aa1e
svn_rev_455
2007-07-05 18:01:55 +02:00
Sascha Hauer
5a6358dcd0
svn_rev_453
...
add erase function
2007-07-05 18:01:55 +02:00
Sascha Hauer
4bcfd59363
svn_rev_449
...
increase malloc size
2007-07-05 18:01:54 +02:00
Sascha Hauer
a12c581aa8
svn_rev_446
...
add postcore_initcall
2007-07-05 18:01:54 +02:00
Sascha Hauer
149b402f3b
svn_rev_436
2007-07-05 18:01:53 +02:00
Sascha Hauer
2c631835f9
svn_rev_432
2007-07-05 18:01:53 +02:00
Sascha Hauer
07045831cd
svn_rev_430
2007-07-05 18:01:53 +02:00
Sascha Hauer
e694adc6a4
svn_rev_420
...
- do more POSIX:
- use DIR instead of struct dirent
- use (struct dirent)->d_name instead of (struct dirent)->name
- switch to a new layout for U_BOOT_CMD:
- use C99 initializers to be able to add more fields to the
command struct
- add aliases for commands (needed mainly for help -> ? and test -> [
- This is not done for all commands yet, but the compiler will tell you ;)
2007-07-05 18:01:52 +02:00
Sascha Hauer
a9416dd8a6
svn_rev_417
...
use uint32_t to compile it with linux
2007-07-05 18:01:52 +02:00
Sascha Hauer
bc22f79c1c
svn_rev_416
2007-07-05 18:01:52 +02:00
Sascha Hauer
648110d271
svn_rev_415
2007-07-05 18:01:52 +02:00
Sascha Hauer
b2e140f5c8
svn_rev_411
...
remove now nonexisting functions from console.c
2007-07-05 18:01:51 +02:00
Sascha Hauer
5bd6b136a9
svn_rev_410
2007-07-05 18:01:51 +02:00
Sascha Hauer
09cb554859
svn_rev_409
...
remove extern
2007-07-05 18:01:51 +02:00
Sascha Hauer
014678f7a0
svn_rev_406
...
let normalise path allocate the string instead of changing the original one
2007-07-05 18:01:51 +02:00
Sascha Hauer
10ab865b23
svn_rev_401
2007-07-05 18:01:50 +02:00
Sascha Hauer
d0ba4ee48f
svn_rev_399
2007-07-05 18:01:50 +02:00
Sascha Hauer
d729a09f52
svn_rev_391
...
remove different parameter types, all params are strings now
2007-07-05 18:01:49 +02:00
Sascha Hauer
a78b0a4321
svn_rev_390
...
add file functions
2007-07-05 18:01:49 +02:00
Sascha Hauer
c09f8dfa79
svn_rev_389
...
remove u_boot_hush_start function
2007-07-05 18:01:49 +02:00
Sascha Hauer
a571261fed
svn_rev_387
...
add console driver type
2007-07-05 18:01:49 +02:00
Sascha Hauer
5118d04318
svn_rev_382
...
add console_initcall
2007-07-05 18:01:49 +02:00
Sascha Hauer
abbe1817c3
svn_rev_381
...
change readline prototype to be independent of global console_buffer
2007-07-05 18:01:48 +02:00
Sascha Hauer
af347d05ab
svn_rev_380
...
add support for multipple consoles
2007-07-05 18:01:48 +02:00
Sascha Hauer
e454ad437a
svn_rev_377
...
remove special params, all params are strings now
2007-07-05 18:01:48 +02:00