mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 19:11:53 +00:00
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 <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
parent
428a6a18fe
commit
67c4e9f815
28 changed files with 44 additions and 13 deletions
|
@ -5,6 +5,7 @@
|
|||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <init.h>
|
||||
#include <linux/errno.h>
|
||||
#include <asm/mtrr.h>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue