started development of bootstrap flashing code load

This commit is contained in:
Markus Fröschle
2012-12-16 07:52:21 +00:00
parent 613c55b7c6
commit 88f3708506
5 changed files with 83 additions and 49 deletions

View File

@@ -33,12 +33,7 @@
#include <MCF5475.h>
#include <stdint.h>
extern void spi_init(void);
extern uint32_t sd_com(uint32_t data);
extern void sd_card_idle(void);
extern uint8_t sd_card_get_status(void);
extern uint8_t spi_send_byte(uint8_t byte);
extern uint16_t spi_send_word(uint16_t word);
extern void sd_card_init(void);
/* MMC card type flags (MMC_GET_TYPE) */
#define CT_MMC 0x01 /* MMC ver 3 */