davinci: da830: updates for mach-type name change

Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
This commit is contained in:
Kevin Hilman 2009-07-08 08:32:27 -07:00
parent 9eb7115bcc
commit baf09a4cd0
3 changed files with 3 additions and 3 deletions

View file

@ -116,7 +116,7 @@ static void __init da830_evm_map_io(void)
da830_init(); da830_init();
} }
MACHINE_START(DAVINCI_DA8XX_EVM, "DaVinci DA830/OMAP L137 EVM") MACHINE_START(DAVINCI_DA830_EVM, "DaVinci DA830/OMAP L137 EVM")
.phys_io = IO_PHYS, .phys_io = IO_PHYS,
.io_pg_offst = (__IO_ADDRESS(IO_PHYS) >> 18) & 0xfffc, .io_pg_offst = (__IO_ADDRESS(IO_PHYS) >> 18) & 0xfffc,
.boot_params = (DA8XX_DDR_BASE + 0x100), .boot_params = (DA8XX_DDR_BASE + 0x100),

View file

@ -26,7 +26,7 @@
movne \rx, #0xfe000000 @ virtual base movne \rx, #0xfe000000 @ virtual base
#if defined(CONFIG_ARCH_DAVINCI_DA8XX) && defined(CONFIG_ARCH_DAVINCI_DMx) #if defined(CONFIG_ARCH_DAVINCI_DA8XX) && defined(CONFIG_ARCH_DAVINCI_DMx)
#error Cannot enable DaVinci and DA8XX platforms concurrently #error Cannot enable DaVinci and DA8XX platforms concurrently
#elif defined(CONFIG_MACH_DAVINCI_DA8XX_EVM) #elif defined(CONFIG_MACH_DAVINCI_DA830_EVM)
orr \rx, \rx, #0x00d00000 @ physical base address orr \rx, \rx, #0x00d00000 @ physical base address
orr \rx, \rx, #0x0000d000 @ of UART 2 orr \rx, \rx, #0x0000d000 @ of UART 2
#else #else

View file

@ -21,7 +21,7 @@ static u32 *uart;
static u32 *get_uart_base(void) static u32 *get_uart_base(void)
{ {
if (__machine_arch_type == MACH_TYPE_DAVINCI_DA8XX_EVM) if (__machine_arch_type == MACH_TYPE_DAVINCI_DA830_EVM)
return (u32 *)DA8XX_UART2_BASE; return (u32 *)DA8XX_UART2_BASE;
else else
return (u32 *)DAVINCI_UART0_BASE; return (u32 *)DAVINCI_UART0_BASE;