diff --git a/hollywood.h b/hollywood.h index 8a42b02..e1dfd52 100644 --- a/hollywood.h +++ b/hollywood.h @@ -154,9 +154,10 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA /* SD Host Controller Registers */ -#define SDHC_REG_BASE 0xd070000 +#ifdef OLD_SDHC + +#define SD_REG_BASE 0xd070000 -#if 0 #define SDHC_SDMA_ADDR (0x000) #define SDHC_BLOCK_SIZE (0x004) #define SDHC_BLOCK_COUNT (0x006) @@ -188,6 +189,11 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA #define SDHC_ADMA_SYSTEM_ADDR (0x058) #define SDHC_SLOT_INTERRUPT_STATUS (0x0fc) #define SDHC_VERSION (0x0fe) + +#else + +#define SDHC_REG_BASE 0xd070000 + #endif /* EXI Registers */