From 5e90470a866875984820dbc48c9b881e0ce773ba Mon Sep 17 00:00:00 2001 From: Adam YH Lee Date: Mon, 1 Jun 2015 14:29:09 -0700 Subject: 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 Signed-off-by: Ash Charles --- include/configs/pepper.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/configs/pepper.h') diff --git a/include/configs/pepper.h b/include/configs/pepper.h index cc153abaa9..16149f69d5 100644 --- a/include/configs/pepper.h +++ b/include/configs/pepper.h @@ -20,6 +20,8 @@ #undef CONFIG_SYS_PROMPT #define CONFIG_SYS_PROMPT "pepper# " +#define CONFIG_SYS_I2C_EEPROM_ADDR 0x50 + /* Mach type */ #define MACH_TYPE_PEPPER 4207 /* Until the next sync */ #define CONFIG_MACH_TYPE MACH_TYPE_PEPPER -- cgit