diff options
author | Graeme Russ <graeme.russ@gmail.com> | 2009-08-23 12:59:54 +1000 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2009-09-04 21:55:17 +0200 |
commit | 91ee4e183cb7ac5f86e7673ead51400f19906635 (patch) | |
tree | 7c0af1aaf3965a8542133c5927055e75d1c92a8e /board/sc520_spunk/sc520_spunk.c | |
parent | 8907b8dbc5805094f1316d64737d3428b3863693 (diff) | |
download | u-boot-imx-91ee4e183cb7ac5f86e7673ead51400f19906635.zip u-boot-imx-91ee4e183cb7ac5f86e7673ead51400f19906635.tar.gz u-boot-imx-91ee4e183cb7ac5f86e7673ead51400f19906635.tar.bz2 |
Fixup sc520_spunk board
Primary intent is to resolve build errors for this board which has been
neglected for a very long time. I do not have one of these boards, so I
cannot test functionality
Signed-off-by: Graeme Russ <graeme.russ@gmail.com>
Diffstat (limited to 'board/sc520_spunk/sc520_spunk.c')
-rw-r--r-- | board/sc520_spunk/sc520_spunk.c | 33 |
1 files changed, 31 insertions, 2 deletions
diff --git a/board/sc520_spunk/sc520_spunk.c b/board/sc520_spunk/sc520_spunk.c index d3bd869..36a0a8e 100644 --- a/board/sc520_spunk/sc520_spunk.c +++ b/board/sc520_spunk/sc520_spunk.c @@ -24,11 +24,13 @@ #include <common.h> #include <pci.h> -#include <ssi.h> #include <netdev.h> +#include <ds1722.h> #include <asm/io.h> #include <asm/pci.h> #include <asm/ic/sc520.h> +#include <asm/ic/pci.h> +#include <asm/ic/ssi.h> DECLARE_GLOBAL_DATA_PTR; @@ -112,7 +114,7 @@ static void pci_sc520_spunk_fixup_irq(struct pci_controller *hose, pci_dev_t dev }; static int next_irq_index=0; - char tmp_pin; + uchar tmp_pin; int pin; pci_hose_read_config_byte(hose, dev, PCI_INTERRUPT_PIN, &tmp_pin); @@ -637,6 +639,33 @@ void ssi_chip_select(int dev) } } +void spi_eeprom_probe(int x) +{ +} + +int spi_eeprom_read(int x, int offset, uchar *buffer, int len) +{ + return 0; +} + +int spi_eeprom_write(int x, int offset, uchar *buffer, int len) +{ + return 0; +} + +void mw_eeprom_probe(int x) +{ +} + +int mw_eeprom_read(int x, int offset, uchar *buffer, int len) +{ + return 0; +} + +int mw_eeprom_write(int x, int offset, uchar *buffer, int len) +{ + return 0; +} void spi_init_f(void) { |