From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Thu, 26 Jan 2017 12:41:15 -0500 Subject: [U-Boot] [PATCH 2/7] ti: common: board_detect: commodify ethaddr environment setting code In-Reply-To: <1485436049-19754-3-git-send-email-rogerq@ti.com> References: <1485436049-19754-1-git-send-email-rogerq@ti.com> <1485436049-19754-3-git-send-email-rogerq@ti.com> Message-ID: <20170126174115.GY22316@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, Jan 26, 2017 at 03:07:24PM +0200, Roger Quadros wrote: > As Keystone platforms also need this let's move this function > to the common board_detect code. This exists elsewhere? If so, it should be removed in this patch too. Also: > +void __maybe_unused board_ti_set_ethaddr(int index) We shouldn't need __maybe_unused here as it's a public function and will get discarded already if unused. -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: