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