gustavonihei commented on a change in pull request #4709: URL: https://github.com/apache/incubator-nuttx/pull/4709#discussion_r732705967
########## File path: arch/risc-v/src/mpfs/mpfs_emmcsd.c ########## @@ -1404,6 +1459,21 @@ static bool mpfs_device_reset(struct sdio_dev_s *dev) mpfs_sdcard_init(priv); } + else + { + /* For the eMMC, use these default values */ + + priv->bus_voltage = MPFS_EMMCSD_1_8V_BUS_VOLTAGE; + priv->bus_speed = MPFS_EMMCSD_MODE_HS200; + priv->jumpers_3v3 = false; + + /* Apply proper IOMUX values for the eMMC. This is required especially + * if this nuttx works as the system bootloader. Otherwise, it's Review comment: ```suggestion * if this NuttX works as the system bootloader. Otherwise, it's ``` nit: Correct NuttX stylization -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org