[U-Boot] [PATCH v5] da830: Move common code out of da830evm.c file

Ben Gardiner bengardiner at nanometrics.ca
Mon Jun 7 16:14:25 CEST 2010


On Mon, Jun 7, 2010 at 4:29 AM, Sudhakar Rajashekhara
<sudhakar.raj at ti.com> wrote:
> TI's DA850/OMAP-L138 platform is similar to DA830/OMAP-L137
> in many aspects. So instead of repeating the same code in
> multiple files, move the common code to a different file
> and call those functions from the respective da830/da850
> files.

Very nice. Thank you, Sudhakar.

Acked-by: Ben Gardiner <bengardiner at nanometrics.ca>

It applies cleanly to master (9bb3b3d) of git://git.denx.de/u-boot.git
and only the da830evm binary has increased in size by the application
of this patch:

--- ../davinci-before.out       2010-06-04 09:18:44.130839762 -0400
+++ ../davinci-after.out        2010-06-07 10:09:25.300590587 -0400
@@ -24,8 +24,9 @@ Configuring for davinci_dm6467evm board.
   91776           4776   26100  122652   1df1c ./u-boot
 Configuring for da830evm board...
    text           data     bss     dec     hex filename
- 147475           4888  295320  447683   6d4c3 ./u-boot
+ 147543    4888  295320  447751   6d507 ./u-boot


-- 
Ben Gardiner
Nanometrics Inc.
+1 (613) 592-6776 x239
http://www.nanometrics.ca


More information about the U-Boot mailing list