OMAP3: Move get_device_type() function to not duplicate code
authorEnric Balletbo i Serra <eballetbo@gmail.com>
Wed, 25 May 2011 07:37:22 +0000 (09:37 +0200)
committerAnand Gadiyar <gadiyar@ti.com>
Thu, 14 Jul 2011 12:10:48 +0000 (17:40 +0530)
commite27c80c04e518ceb411e67f2e3d6b20f1794c636
treeba730f11fd45827b579e1ae60f75a855216dffe4
parent807dd8decad18d73fe3efd4a17320edae98a3c8b
OMAP3: Move get_device_type() function to not duplicate code

The get_device_type() function is implemented by various boards, this
patch moves this function to a common place to not duplicate code.

 board/omap3530beagle/omap3530beagle.c:97:u32 get_device_type(void)
 board/igep00x0/igep00x0.c            :90:u32 get_device_type(void)
 board/omap3430sdp/omap3430sdp.c      :82:u32 get_device_type(void)
 board/omap3evm/omap3evm.c            :84:u32 get_device_type(void)
 board/omap3430labrador/omap3430sdp.c :79:u32 get_device_type(void)
 board/overo/overo.c                  :105:u32 get_device_type(void)

Signed-off-by: Enric Balletbo i Serra <eballetbo@gmail.com>
Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
board/igep00x0/igep00x0.c
board/omap3430labrador/omap3430sdp.c
board/omap3430sdp/omap3430sdp.c
board/omap3530beagle/omap3530beagle.c
board/omap3evm/omap3evm.c
board/overo/overo.c
cpu/omap3/Makefile
cpu/omap3/sys_info.c [new file with mode: 0644]