summaryrefslogtreecommitdiff
path: root/board/genesi/mx51_efikamx/efikamx.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/genesi/mx51_efikamx/efikamx.c')
-rw-r--r--board/genesi/mx51_efikamx/efikamx.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/board/genesi/mx51_efikamx/efikamx.c b/board/genesi/mx51_efikamx/efikamx.c
index 16769e5..137e4ed 100644
--- a/board/genesi/mx51_efikamx/efikamx.c
+++ b/board/genesi/mx51_efikamx/efikamx.c
@@ -152,6 +152,11 @@ static iomux_v3_cfg_t const efikamx_spi_pads[] = {
* PMIC configuration
*/
#ifdef CONFIG_MXC_SPI
+int board_spi_cs_gpio(unsigned bus, unsigned cs)
+{
+ return (bus == 0 && cs == 1) ? 121 : -1;
+}
+
static void power_init(void)
{
unsigned int val;