9
0
Fork 0
Commit Graph

1383 Commits

Author SHA1 Message Date
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