summaryrefslogtreecommitdiffstats
path: root/board/genesi/mx51_efikamx/efikamx.c
diff options
context:
space:
mode:
authorMinkyu Kang <mk7.kang@samsung.com>2014-10-07 19:14:03 +0900
committerMinkyu Kang <mk7.kang@samsung.com>2014-10-07 19:14:03 +0900
commit3cc83f9d08a80fddf4c1e8e766eff8273f30814c (patch)
tree831246a1b77d26d0296a84c90684e0fee0368737 /board/genesi/mx51_efikamx/efikamx.c
parent64f41212d880f3d00c6994d973aadeec5bda1b65 (diff)
parent6dd0e7c00bfa5ce861a72b8e4a3ef9e787306125 (diff)
downloadtalos-obmc-uboot-3cc83f9d08a80fddf4c1e8e766eff8273f30814c.tar.gz
talos-obmc-uboot-3cc83f9d08a80fddf4c1e8e766eff8273f30814c.zip
Merge branch 'uboot'
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 16769e5332..137e4ed661 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;
OpenPOWER on IntegriCloud