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>