SAMA5D4-EK: Disable PMIC workaround... it does not work

This commit is contained in:
Gregory Nutt 2014-07-28 17:48:55 -06:00
parent f632aef535
commit 00c7b4765f
3 changed files with 15 additions and 2 deletions

View File

@ -5,6 +5,15 @@
if ARCH_BOARD_SAMA5D4_EK
choice
prompt "SAMA5D4-EK Board Version"
default SAMA5D4_MB_REVC
config SAMA5D4_MB_REVC
bool "SAMA5D4-MB Rev. C"
endchoice # SAMA5D4-EK Board Version
choice
prompt "CPU Frequency"
default SAMA5D4EK_396MHZ

View File

@ -102,7 +102,7 @@ int dram_main(int argc, char *argv)
/* Disable the PMC. This is necessary on the SAMA5D4-MB Rev C. board. On
* that board, the PMIC can lock up the I2C bus. The work around is
* difficult:
* awkward:
*
* 1. Open JP23 (disabling the WM8904 data line)
* 2. Execute DRAMBOOT. The PMIC will be disabled while JP23 is closed.

View File

@ -372,10 +372,14 @@
/* PMIC */
#ifndef CONFIG_SAMA5_TWI0
#if !defined(CONFIG_SAMA5_TWI0) || !defined(CONFIG_SAMA5D4_MB_REVC)
# undef HAVE_PMIC
#endif
#ifndef CONFIG_EXPERIMENTAL
# undef HAVE_PMIC /* REVISIT: Disable anyway because it does not yet work */
#endif
/* LEDs *****************************************************************************/
/* There are 3 LEDs on the SAMA5D4-EK:
*