diff options
author | Simon Glass <sjg@chromium.org> | 2019-11-14 12:57:45 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-12-02 18:25:04 -0500 |
commit | 67c4e9f815eb75ba5c1f86213eded93c4e06e64b (patch) | |
tree | b09bb6915a2eff5045b3becb4ae595d0bf3534c9 /include/common.h | |
parent | 428a6a18fe5ad5c007fd79a905429ee3ef3af1ea (diff) | |
download | u-boot-67c4e9f815eb75ba5c1f86213eded93c4e06e64b.zip u-boot-67c4e9f815eb75ba5c1f86213eded93c4e06e64b.tar.gz u-boot-67c4e9f815eb75ba5c1f86213eded93c4e06e64b.tar.bz2 |
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>
Diffstat (limited to 'include/common.h')
-rw-r--r-- | include/common.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/include/common.h b/include/common.h index 16d4b06..9bdd1cf 100644 --- a/include/common.h +++ b/include/common.h @@ -74,17 +74,6 @@ extern u8 __dtb_dt_spl_begin[]; /* embedded device tree blob for SPL/TPL */ int mdm_init(void); /** - * Get the uppermost pointer that is valid to access - * - * Some systems may not map all of their address space. This function allows - * boards to indicate what their highest support pointer value is for DRAM - * access. - * - * @param total_size Size of U-Boot (unused?) - */ -ulong board_get_usable_ram_top(ulong total_size); - -/** * arch_fixup_fdt() - Write arch-specific information to fdt * * Defined in arch/$(ARCH)/lib/bootm-fdt.c |