From c2240d4dbef98f0bc5f5e99324d1eef8d6e9acdf Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Thu, 14 Mar 2013 07:20:12 +0000 Subject: Adjust board_r.c for ppc This adds ppc features to the generic post-relocation board init. Signed-off-by: Simon Glass --- include/common.h | 1 + include/ide.h | 7 +++++++ 2 files changed, 8 insertions(+) (limited to 'include') diff --git a/include/common.h b/include/common.h index 2ff8db1694..d41aeb4f47 100644 --- a/include/common.h +++ b/include/common.h @@ -312,6 +312,7 @@ int mac_read_from_eeprom(void); extern u8 _binary_dt_dtb_start[]; /* embedded device tree blob */ int set_cpu_clk_info(void); int print_cpuinfo(void); +int update_flash_size(int flash_size); /** * Show the DRAM size in a board-specific way diff --git a/include/ide.h b/include/ide.h index 158e1beaf9..afea85cdc2 100644 --- a/include/ide.h +++ b/include/ide.h @@ -85,4 +85,11 @@ void ide_output_data(int dev, const ulong *sect_buf, int words); void ide_input_data_shorts(int dev, ushort *sect_buf, int shorts); void ide_output_data_shorts(int dev, ushort *sect_buf, int shorts); +/** + * board_start_ide() - Start up the board IDE interfac + * + * @return 0 if ok + */ +int board_start_ide(void); + #endif /* _IDE_H */ -- cgit v1.2.3