pepper: Implement Board Detection mechanism
authorAdam YH Lee <adam.yh.lee@gmail.com>
Mon, 1 Jun 2015 21:29:09 +0000 (14:29 -0700)
committerTom Rini <trini@konsulko.com>
Mon, 8 Jun 2015 21:32:40 +0000 (17:32 -0400)
commit5e90470a866875984820dbc48c9b881e0ce773ba
tree39a732020d311e4f080725f7a420bbe32bb5eca2
parent8f0b1e24e2887713bdcbf35b08902e9555ee7b92
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>
board/gumstix/pepper/board.c
board/gumstix/pepper/board.h
board/gumstix/pepper/mux.c
include/configs/pepper.h