summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2013-03-14 07:20:12 +0000
committerTom Rini <trini@ti.com>2013-03-15 16:14:00 -0400
commitc2240d4dbef98f0bc5f5e99324d1eef8d6e9acdf (patch)
tree67545e93ce9a058453de6e74c7cdde4a0f5f7e11 /include
parente4fef6cfcc84d35df4db0b80c273de61dba9f0c1 (diff)
downloadu-boot-imx-c2240d4dbef98f0bc5f5e99324d1eef8d6e9acdf.zip
u-boot-imx-c2240d4dbef98f0bc5f5e99324d1eef8d6e9acdf.tar.gz
u-boot-imx-c2240d4dbef98f0bc5f5e99324d1eef8d6e9acdf.tar.bz2
Adjust board_r.c for ppc
This adds ppc features to the generic post-relocation board init. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include')
-rw-r--r--include/common.h1
-rw-r--r--include/ide.h7
2 files changed, 8 insertions, 0 deletions
diff --git a/include/common.h b/include/common.h
index 2ff8db1..d41aeb4 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 158e1be..afea85c 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 */