summaryrefslogtreecommitdiff
path: root/include/common.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-03-31 08:40:36 -0600
committerTom Rini <trini@konsulko.com>2017-04-05 16:36:55 -0400
commite5fb573f6431d7585ef43eb02b67ac1a07f40094 (patch)
tree27eb55a8cb2672f73849fe23c15aadd3baa978e5 /include/common.h
parent056285fd454362ec1aa5e8bfedff38d9ef7a9fb1 (diff)
powerpc: Move setup_board_extra() into a PPC file
We don't need this PPC-specific function in generic code. Move it to the powerpc directory. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'include/common.h')
-rw-r--r--include/common.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/common.h b/include/common.h
index c1f1712d5a..26db67a034 100644
--- a/include/common.h
+++ b/include/common.h
@@ -302,6 +302,13 @@ int print_cpuinfo(void);
int update_flash_size(int flash_size);
int arch_early_init_r(void);
+/*
+ * setup_board_extra() - Fill in extra details in the bd_t structure
+ *
+ * @return 0 if OK, -ve on error
+ */
+int setup_board_extra(void);
+
/**
* arch_fsp_init() - perform firmware support package init
*