aboutsummaryrefslogtreecommitdiff
path: root/platforms/astbmc/astbmc.h
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2015-02-19 06:34:53 +0800
committerStewart Smith <stewart@linux.vnet.ibm.com>2015-02-19 10:48:13 +1100
commit73b262e768529f152ec64b4418b0c31691bc15c3 (patch)
tree1ff236173025725b84335ced477ec98e2fd619c8 /platforms/astbmc/astbmc.h
parente7d1f60eb49bfd81e1fe153cece899de2542f83e (diff)
downloadskiboot-73b262e768529f152ec64b4418b0c31691bc15c3.zip
skiboot-73b262e768529f152ec64b4418b0c31691bc15c3.tar.gz
skiboot-73b262e768529f152ec64b4418b0c31691bc15c3.tar.bz2
core/flash: port pnor_load_resource to flash code
Since we have a flash device registered as the system flash, use this as a generic load_resource backend. Signed-off-by: Jeremy Kerr <jk@ozlabs.org> Reviewed-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'platforms/astbmc/astbmc.h')
-rw-r--r--platforms/astbmc/astbmc.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/platforms/astbmc/astbmc.h b/platforms/astbmc/astbmc.h
index cff4757..cee475a 100644
--- a/platforms/astbmc/astbmc.h
+++ b/platforms/astbmc/astbmc.h
@@ -24,8 +24,5 @@ extern int64_t astbmc_ipmi_power_down(uint64_t request);
extern void astbmc_init(void);
extern void astbmc_ext_irq(unsigned int chip_id);
extern int pnor_init(void);
-extern int pnor_load_part(const char *name, void *addr, size_t *len);
-extern bool pnor_load_resource(enum resource_id id, uint32_t subid,
- void *buf, size_t *len);
#endif /* __ASTBMC_H */