summaryrefslogtreecommitdiffstats
path: root/board/gumstix/pepper/mux.c
diff options
context:
space:
mode:
authorAdam YH Lee <adam.yh.lee@gmail.com>2015-06-01 14:29:09 -0700
committerTom Rini <trini@konsulko.com>2015-06-08 17:32:40 -0400
commit5e90470a866875984820dbc48c9b881e0ce773ba (patch)
tree39a732020d311e4f080725f7a420bbe32bb5eca2 /board/gumstix/pepper/mux.c
parent8f0b1e24e2887713bdcbf35b08902e9555ee7b92 (diff)
downloadblackbird-obmc-uboot-5e90470a866875984820dbc48c9b881e0ce773ba.tar.gz
blackbird-obmc-uboot-5e90470a866875984820dbc48c9b881e0ce773ba.zip
pepper: Implement Board Detection mechanism
AM335x-based 'Gumstix Pepper' SBCs and variants use different types of RAM (DDR2 vs DDR3 with DDR3 being the default). Detect the board type by reading the factory-programmed EEPROM [1] and use this to select any runtime boot options such as RAM type. [1] http://elinux.org/BeagleBoardPinMux#List_of_Vendor_and_Device_IDs Signed-off-by: Adam YH Lee <adam.yh.lee@gmail.com> Signed-off-by: Ash Charles <ashcharles@gmail.com>
Diffstat (limited to 'board/gumstix/pepper/mux.c')
-rw-r--r--board/gumstix/pepper/mux.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/board/gumstix/pepper/mux.c b/board/gumstix/pepper/mux.c
index 50b12666d6..92c73f8df8 100644
--- a/board/gumstix/pepper/mux.c
+++ b/board/gumstix/pepper/mux.c
@@ -64,6 +64,11 @@ void enable_uart0_pin_mux(void)
configure_module_pin_mux(uart0_pin_mux);
}
+void enable_i2c0_pin_mux(void)
+{
+ configure_module_pin_mux(i2c0_pin_mux);
+}
+
/*
* Do board-specific muxes.
*/
OpenPOWER on IntegriCloud