Several TI EVMs have onboard EEPROM that contain board description information. The onboard EEPROM on Beaglebone, Beaglebone Black, AM335x EVM, AM43x EVM, AM57xx EVM, Beagleboard-x15 all share the same format.
This series of patches introduces code which is generic among these platforms. The boards can use the data for any operations they might choose. V5 of the series now updates the v4 series to ensure that latest u-boot platform support including BBG is supported as well. This also setsup easier introduction of DRA7-evm variant of eeproms as well. Testing: AM335x: BeagleBone-Green: http://pastebin.ubuntu.com/15183845/ BeagleBone-Black: http://pastebin.ubuntu.com/15183885/ AM335x-SK: http://pastebin.ubuntu.com/15188966/ AM437x: AM437x-GPEVM: http://pastebin.ubuntu.com/15188896/ AM437x-SK: http://pastebin.ubuntu.com/15188940/ Am57xx: AM57xx-gpevm: http://pastebin.ubuntu.com/15188997/ baseline: master 595af9db2422 Merge branch 'master' of git://www.denx.de/git/u-boot-imx Lokesh Vutla (1): ARM: omap-common: Add standard access for board description EEPROM Nishanth Menon (2): ti: AM335x: Use generic EEPROM detection logic ti: AM437x: Use generic EEPROM detection logic Steve Kipisz (4): ARM: OMAP4/5: Centralize early clock initialization ARM: OMAP4/5: Centralize gpi2c_init ARM: OMAP4/5: Add generic board detection hook board: ti: AM57xx: Add detection logic for AM57xx-evm arch/arm/Kconfig | 2 + arch/arm/cpu/armv7/omap-common/clocks-common.c | 21 +- arch/arm/cpu/armv7/omap-common/hwinit-common.c | 14 +- arch/arm/cpu/armv7/omap5/Kconfig | 1 + arch/arm/include/asm/arch-omap4/sys_proto.h | 4 +- arch/arm/include/asm/arch-omap5/sys_proto.h | 4 +- arch/arm/include/asm/omap_common.h | 7 +- board/ti/am335x/Kconfig | 2 + board/ti/am335x/board.c | 115 ++++------- board/ti/am335x/board.h | 49 ++--- board/ti/am335x/mux.c | 13 +- board/ti/am43xx/Kconfig | 2 + board/ti/am43xx/board.c | 87 +++------ board/ti/am43xx/board.h | 37 +--- board/ti/am43xx/mux.c | 1 + board/ti/am57xx/Kconfig | 2 + board/ti/am57xx/board.c | 70 ++++++- board/ti/common/Kconfig | 5 + board/ti/common/Makefile | 6 + board/ti/common/board_detect.c | 254 +++++++++++++++++++++++++ board/ti/common/board_detect.h | 140 ++++++++++++++ include/configs/am57xx_evm.h | 4 + include/configs/ti_omap5_common.h | 2 + 23 files changed, 623 insertions(+), 219 deletions(-) create mode 100644 board/ti/common/Kconfig create mode 100644 board/ti/common/Makefile create mode 100644 board/ti/common/board_detect.c create mode 100644 board/ti/common/board_detect.h -- 2.7.0 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot