diff --git a/arch/arm/src/lpc43xx/chip/lpc43_usb0.h b/arch/arm/src/lpc43xx/chip/lpc43_usb0.h index caa4c86cc2f..15e009a2467 100644 --- a/arch/arm/src/lpc43xx/chip/lpc43_usb0.h +++ b/arch/arm/src/lpc43xx/chip/lpc43_usb0.h @@ -58,6 +58,7 @@ #define LPC43_USBDEV_DCCPARAMS_OFFSET 0x0124 /* Device controller capability parameters */ /* Device/host/OTG operational registers */ + #define LPC43_USBOTG_HCOR_OFFSET 0x0140 /* Offset to EHCI Host Controller Operational Registers */ #define LPC43_USBOTG_USBCMD_OFFSET 0x0140 /* USB command (both) */ #define LPC43_USBOTG_USBSTS_OFFSET 0x0144 /* USB status (both) */ diff --git a/arch/arm/src/lpc54xx/chip/lpc54_sdmmc.h b/arch/arm/src/lpc54xx/chip/lpc54_sdmmc.h index a30e730c14c..20a256ec8e6 100644 --- a/arch/arm/src/lpc54xx/chip/lpc54_sdmmc.h +++ b/arch/arm/src/lpc54xx/chip/lpc54_sdmmc.h @@ -163,7 +163,7 @@ #define SDMMC_CLKDIV0_SHIFT (0) /* Bits 0-7: Clock divider 0 value */ #define SDMMC_CLKDIV0_MASK (255 << SDMMC_CLKDIV0_SHIFT) -# define SDMMC_CLKDIV0_MASK(n) ((((n) + 1) >> 1) << SDMMC_CLKDIV0_SHIFT) +# define SDMMC_CLKDIV0(n) ((((n) + 1) >> 1) << SDMMC_CLKDIV0_SHIFT) /* Bits 8-31: Reserved */ /* Clock enable register CLKENA */ diff --git a/configs/lpcxpresso-lpc54628/README.txt b/configs/lpcxpresso-lpc54628/README.txt index 85fd59cbc52..71c80ec82c1 100644 --- a/configs/lpcxpresso-lpc54628/README.txt +++ b/configs/lpcxpresso-lpc54628/README.txt @@ -68,7 +68,8 @@ STATUS There is still no support for the Accelerometer, SPIFI, SD card, Ethernet, or USB. There is a partial SPI driver, but no on-board SPI devices to - test it. + test it. The SD/MMC interface is essentially the same as on the LPC43xx + and there is an unverified leverage in place for that. Configurations ==============