Revision | 044b61ff299f1fc3e7e11bf4ee891e976c62cba5 (tree) |
---|---|
Zeit | 2020-06-03 18:54:14 |
Autor | Yoshinori Sato <ysato@user...> |
Commiter | Yoshinori Sato |
fix build error
@@ -25,13 +25,16 @@ | ||
25 | 25 | |
26 | 26 | #include <common.h> |
27 | 27 | #include <command.h> |
28 | +#include <bootm.h> | |
29 | +#include <hang.h> | |
28 | 30 | |
29 | 31 | int arch_fixup_fdt(void *blob) |
30 | 32 | { |
31 | 33 | return 0; |
32 | 34 | } |
33 | 35 | |
34 | -int do_bootm_linux(int flag, int argc, char *argv[], bootm_headers_t *images) | |
36 | +int do_bootm_linux(int flag, int argc, char *const argv[], | |
37 | + bootm_headers_t *images) | |
35 | 38 | { |
36 | 39 | /* Linux kernel load address */ |
37 | 40 | void (*kernel) (void *) = (void (*)(void *))images->ep; |
@@ -29,3 +29,8 @@ void flush_dcache_range(unsigned long start, unsigned long stop) | ||
29 | 29 | { |
30 | 30 | return ; |
31 | 31 | } |
32 | + | |
33 | +int dram_init(void) | |
34 | +{ | |
35 | + return 0; | |
36 | +} |