SAMA5: Add logic to auto-mount a file system on AT25 SPI FLASH for NSH
This commit is contained in:
parent
412aaa83a2
commit
36f4cb53dd
@ -411,7 +411,7 @@ static inline void spi_putreg(struct sam_spidev_s *spi, uint32_t value,
|
|||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#if defined(CONFIG_DEBUG_SPI) && defined(CONFIG_DEBUG_VERBOSE)
|
#if defined(CONFIG_DEBUG_SPI) && defined(CONFIG_DEBUG_VERBOSE)
|
||||||
static void spi_dumpregs(const struct sam_spidev_s *spi, const char *msg)
|
static void spi_dumpregs(struct sam_spidev_s *spi, const char *msg)
|
||||||
{
|
{
|
||||||
spivdbg("%s:\n", msg);
|
spivdbg("%s:\n", msg);
|
||||||
spivdbg(" MR:%08x SR:%08x IMR:%08x\n",
|
spivdbg(" MR:%08x SR:%08x IMR:%08x\n",
|
||||||
|
Loading…
Reference in New Issue
Block a user