diff options
| author | Simon Glass <[email protected]> | 2019-11-14 12:57:45 -0700 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2019-12-02 18:25:04 -0500 |
| commit | 67c4e9f815eb75ba5c1f86213eded93c4e06e64b (patch) | |
| tree | b09bb6915a2eff5045b3becb4ae595d0bf3534c9 /arch/mips | |
| parent | 428a6a18fe5ad5c007fd79a905429ee3ef3af1ea (diff) | |
common: Move board_get_usable_ram_top() out of common.h
Move this function into init.h which seems to be designed for this sort
of thing. Also update the header to declare struct global_data so that it
can be included without global_data.h being needed.
Signed-off-by: Simon Glass <[email protected]>
Reviewed-by: Tom Rini <[email protected]>
Diffstat (limited to 'arch/mips')
| -rw-r--r-- | arch/mips/mach-jz47xx/jz4780/jz4780.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/mach-jz47xx/jz4780/jz4780.c b/arch/mips/mach-jz47xx/jz4780/jz4780.c index ec18df8879d..0ae5e09e019 100644 --- a/arch/mips/mach-jz47xx/jz4780/jz4780.c +++ b/arch/mips/mach-jz47xx/jz4780/jz4780.c @@ -9,6 +9,7 @@ #include <config.h> #include <common.h> #include <cpu_func.h> +#include <init.h> #include <asm/io.h> #include <asm/sections.h> #include <mach/jz4780.h> |
