9
0
Fork 0
Commit Graph

3027 Commits

Author SHA1 Message Date
Sascha Hauer 5017152f13 export functions 2007-10-04 12:33:20 +02:00
Sascha Hauer ae53e9ef1d CONFIG_MODULE -> CONFIG_MODULES 2007-10-04 12:33:03 +02:00
Sascha Hauer 0b19fcf491 export functions 2007-10-04 12:30:32 +02:00
Sascha Hauer a07743ea18 module support for arm 2007-10-03 21:09:00 +02:00
Sascha Hauer e5e965b7f4 change files and directories to 0777 2007-10-03 19:57:46 +02:00
Sascha Hauer 0fb965de2c remove debug printf, replace with debug 2007-10-03 19:37:11 +02:00
Sascha Hauer 400b0abab2 hush.c: split high-density "if(x) something"; into two lines 2007-10-01 23:35:33 +02:00
Sascha Hauer ee5847aac7 hush.c: get_local_var() is used only once, put it into the function
where it is called
2007-10-01 23:28:00 +02:00
Sascha Hauer c1ab45e56d fix indention in hush.c 2007-10-01 23:19:18 +02:00
Sascha Hauer a14c000d59 remove comment about glob in hush.c. We do not use glob 2007-10-01 23:17:27 +02:00
Sascha Hauer 53d327d834 fix indention in hush.c 2007-10-01 23:15:52 +02:00
Sascha Hauer f4f3479f13 fix indention in hush.c 2007-10-01 23:13:21 +02:00
Sascha Hauer 67c7e6eb6f fix indention in hush.c 2007-10-01 23:12:34 +02:00
Sascha Hauer aaa71a1263 Export symbols printf and the ones needed for getopt 2007-10-01 10:26:45 +02:00
Sascha Hauer 3847938e51 add .tmp_kallsyms* to CLEAN_FILES 2007-10-01 10:25:40 +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 86397e0c7e update linker scripts:
- add _stext and _etext symbols
- add symtabd section
2007-10-01 10:23:49 +02:00
Sascha Hauer 3bded8c370 add help texts for KALLSYMS and MODULE 2007-10-01 10:21:30 +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 8b8c95b9fc add missing whitespace in printf output 2007-10-01 10:16:04 +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 d27e123c53 make simple parser compile again 2007-10-01 09:54:10 +02:00
Sascha Hauer 16a49fbbd7 consolidate some printf() into one to safe space 2007-10-01 09:52:34 +02:00
Sascha Hauer 884988f6d6 fix read_file() 2007-10-01 09:51:56 +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 59e6de7032 add powerpc specific bits for modules 2007-10-01 09:49:22 +02:00
Sascha Hauer 818ec8f9db update toplevel .gitignore file 2007-09-28 20:38:22 +02:00
Sascha Hauer b9fc027e63 update default environment for ipe337 board 2007-09-28 20:37:32 +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 605fd8f2a5 add kallsyms.c from linux kernel 2007-09-28 19:59:50 +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 7596ab2048 add brackets 2007-09-28 10:26:06 +02:00
Sascha Hauer 63c292b019 remove i2c from kconfig 2007-09-28 10:25:32 +02:00
Sascha Hauer d7ce9b9403 remove mii.c 2007-09-28 10:24:44 +02:00
Sascha Hauer 98f845ad58 Extend 'export' command to take the form export a=b 2007-09-28 10:08:30 +02:00
Sascha Hauer b3dc734018 declare lots of functions static 2007-09-28 10:07:26 +02:00
Sascha Hauer 27bf8f1dea set last_return_code to rcode and not 1 or 0 2007-09-27 17:10:14 +02:00
Sascha Hauer 66af4f96e2 move environment to offset 0x20000 in flash 2007-09-27 16:34:27 +02:00
Sascha Hauer 26b4200ba5 add alternate command for ipe337 board 2007-09-27 16:34:00 +02:00
Sascha Hauer 79ed00ba92 pass file size from read_file 2007-09-27 16:33:35 +02:00
Sascha Hauer 9e13a384c0 use xrealloc instead of realloc 2007-09-27 16:28:26 +02:00
Sascha Hauer 6057d62524 learn to realloc 2007-09-27 16:27:20 +02:00