diff options
author | Joel Stanley <joel@jms.id.au> | 2016-07-27 15:25:28 +0930 |
---|---|---|
committer | Joel Stanley <joel@jms.id.au> | 2016-07-27 15:44:01 +0930 |
commit | ff0c513c85b89c4a1ff602f3bc54e4570d176e40 (patch) | |
tree | a64844afb7fab6d84bfb8dfec49b47b957c4b4eb /common/exports.c | |
parent | a83e1bc06bef1dc155b7f4d9f96f2bfc315d4dd7 (diff) | |
download | talos-obmc-uboot-ff0c513c85b89c4a1ff602f3bc54e4570d176e40.tar.gz talos-obmc-uboot-ff0c513c85b89c4a1ff602f3bc54e4570d176e40.zip |
aspeed: hacks made to common code
These are additions made by the Aspeed SDK outside of the arch
directory. They need to be cleaned up and/or removed.
Signed-off-by: Joel Stanley <joel@jms.id.au>
Diffstat (limited to 'common/exports.c')
-rw-r--r-- | common/exports.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/common/exports.c b/common/exports.c index b4f1f7af15..568be21fc9 100644 --- a/common/exports.c +++ b/common/exports.c @@ -21,6 +21,12 @@ unsigned long get_version(void) # define phy_find_by_mask dummy # define mdio_phydev_for_ethname dummy # define miiphy_set_current_dev dummy +#ifdef CONFIG_FMC_SPI +# define spi_dma dummy +#endif +#endif +#ifndef CONFIG_AST_SPI_NOR +# define memmove_dma dummy #endif void jumptable_init(void) |