AnsweredAssumed Answered

i.MX6 ROM code realy change the SDHCI_WTMK_LVL register value?

Question asked by Takayuki Ishii on Nov 23, 2016
Latest reply on Nov 27, 2016 by igorpadykov



In SDHC driver of Linux( drivers/mmc/host/sdhci-esdhc-imx.c) has following operation.

     /*       * The imx6q ROM code will change the default watermark level setting       * to something insane.  Change it back here.       */      if (is_imx6q_usdhc(imx_data))           writel(0x08100810, host->ioaddr + SDHCI_WTMK_LVL);
Does ROM code realy modify this register?

If so, is it OK to overwrite it to reset value?

I am worried. if ROM code change this register value,

It has some reason to set new value.


Best regards,