Skip to content

Commit

Permalink
[drivers] ensure complete spi initialisation
Browse files Browse the repository at this point in the history
Signed-off-by: Christopher Hall <hsw@openmoko.com>
  • Loading branch information
hxw committed Oct 5, 2009
1 parent 2d9e861 commit 11770d9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions samo-lib/drivers/src/mmc.c
Expand Up @@ -406,6 +406,8 @@ DSTATUS mmc_disk_initialize (
MODE_MASTER |
ENA |
0;
REG_SPI_CTL2 = 0; // must be zero for master mode
REG_SPI_WAIT = 0;

turn_on_power(); /* Force socket power on */
SELECT();
Expand Down

0 comments on commit 11770d9

Please sign in to comment.