From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Sun, 8 Nov 2015 08:34:22 -0500 Subject: [U-Boot] [PATCH v4 3/7] ARM: omap-common: Add standard access for board description EEPROM In-Reply-To: <1446770376-8205-3-git-send-email-s-kipisz2@ti.com> References: <1446770376-8205-1-git-send-email-s-kipisz2@ti.com> <1446770376-8205-3-git-send-email-s-kipisz2@ti.com> Message-ID: <20151108133422.GU8499@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, Nov 05, 2015 at 06:39:32PM -0600, Steve Kipisz wrote: > From: Lokesh Vutla > > Several TI EVMs have EEPROM that can contain board description information > such as revision, DDR definition, serial number, etc. In just about all > cases, these EEPROM are on the I2C bus and provides us the opportunity > to centralize the generic operations involved. > > The on-board EEPROM on the BeagleBone Black, BeagleBone, AM335x EVM, > AM43x GP EVM, AM57xx-evm, BeagleBoard-X15 share the same format. > However, DRA-7* EVMs, OMAP4SDP use a modified format. > > We hence introduce logic which is generic between these platforms > without enforcing any specific format. This allows the boards to use the > relevant format for operations that they might choose. > > This module will compile for all TI SoC based boards when I2C is enabled, > even non-TI boards that do not have the EEPROM. If the functions are not > used, they will not be linked in. > > It is important to note that this logic is fundamental to the board > configuration process such as DDR configuration which is needed in > SPL, hence cannot be part of the standard u-boot driver model (which > is available later in the process). Hence, to aid efficiency, the > eeprom contents are copied over to SRAM scratchpad memory area at the > first invocation to retrieve data. > > The follow on patches introduce the use of this library for AM335x, > AM437x, and AM57xx. > > Signed-off-by: Lokesh Vutla > Signed-off-by: Steve Kipisz Reviewed-by: Tom Rini -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: