From 67c4e9f815eb75ba5c1f86213eded93c4e06e64b Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Thu, 14 Nov 2019 12:57:45 -0700 Subject: 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 Reviewed-by: Tom Rini --- board/imgtec/boston/ddr.c | 1 + 1 file changed, 1 insertion(+) (limited to 'board/imgtec') diff --git a/board/imgtec/boston/ddr.c b/board/imgtec/boston/ddr.c index 3f8a5c0d8e..241b384668 100644 --- a/board/imgtec/boston/ddr.c +++ b/board/imgtec/boston/ddr.c @@ -4,6 +4,7 @@ */ #include +#include #include -- cgit From 2cf431c228776d9899dfb980086b86d4dd3b2473 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Thu, 14 Nov 2019 12:57:47 -0700 Subject: common: Move pci_init_board() out of common.h This function can be dropped when all boards use driver model for PCI. For now, move it into init.h with a comment. Signed-off-by: Simon Glass Reviewed-by: Tom Rini --- board/imgtec/malta/malta.c | 1 + 1 file changed, 1 insertion(+) (limited to 'board/imgtec') diff --git a/board/imgtec/malta/malta.c b/board/imgtec/malta/malta.c index b742e3738f..77ce75ecf2 100644 --- a/board/imgtec/malta/malta.c +++ b/board/imgtec/malta/malta.c @@ -6,6 +6,7 @@ #include #include +#include #include #include #include -- cgit