> -----Original Message----- > From: Sudhakar Rajashekhara [mailto:sudhakar....@ti.com] > Sent: Monday, June 07, 2010 4:30 AM > To: u-boot@lists.denx.de > Cc: Paulraj, Sandeep; Rajashekhara, Sudhakar > Subject: [PATCH v5] da830: Move common code out of da830evm.c file > > 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. > > Signed-off-by: Sudhakar Rajashekhara <sudhakar....@ti.com> > Acked-by: Nick Thompson <nick.thomp...@ge.com> > Acked-by: Ben Gardiner <bengardi...@nanometrics.ca> > --- > Since v4: > a. Moved the irq_init() and davinci_configure_lpsc_items() functions > to board/davinci/da830evm/common.c file. > b. Renamed davinci_configure_lpsc_items to da8xx_configure_lpsc_items. > c. Created board/davinci/da830evm/common.h file. > > board/davinci/da830evm/Makefile | 2 +- > board/davinci/da830evm/common.c | 55 > +++++++++++++++++++++++++++++++++++++ > board/davinci/da830evm/common.h | 30 ++++++++++++++++++++ > board/davinci/da830evm/da830evm.c | 29 ++++++++----------- > 4 files changed, 98 insertions(+), 18 deletions(-) > create mode 100644 board/davinci/da830evm/common.c > create mode 100644 board/davinci/da830evm/common.h
Sudhakar, I tried to apply the other patch in the original series for DA850 support. Unfortunately it would not apply because it seems as if you have modified the Makefile. Could you please submit updated patches for DA850 on top of this patch? Testing both DA 830 and 850 would also be appreciated as I don't have those EVMs Thanks, Sandeep _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot