Victor Rodriguez <[email protected]> writes:
> Basic support for Hawkboard OMAPL138 just UART cominication is included
>
> Signed-off-by: Victor Rodriguez <[email protected]>
>
[...]
> +static __init void omapl138_hawk_init(void)
> +{
> +
> + davinci_serial_init(&omapl138_hawk_uart_config);
> +
> + /*
> + * shut down uart 0 and 1; they are not used on the board and
> + * accessing them causes endless "too much work in irq53" messages
> + * with arago fs
> + */
> + __raw_writel(0, IO_ADDRESS(DA8XX_UART1_BASE) + 0x30);
> + __raw_writel(0, IO_ADDRESS(DA8XX_UART0_BASE) + 0x30);
This hack/workaround needs to be removed and/or better described so we
know *why* such a thing is needed.
Khasim, do you know what the root cause is here?
Kevin
> +}
>
> +#ifdef CONFIG_SERIAL_8250_CONSOLE
> +static int __init omapl138_hawk_console_init(void)
> +{
> + return add_preferred_console("ttyS", 2, "115200");
> +}
> +console_initcall(omapl138_hawk_console_init);
> +#endif
> +
> +static void __init omapl138_hawk_map_io(void)
> +{
> + da850_init();
> +}
> +
> +MACHINE_START(OMAPL138_HAWKBOARD, "OMAPL 138 Hawkboard.org")
> + .phys_io = IO_PHYS,
> + .io_pg_offst = (__IO_ADDRESS(IO_PHYS) >> 18) & 0xfffc,
> + .boot_params = (DA8XX_DDR_BASE + 0x100),
> + .map_io = omapl138_hawk_map_io,
> + .init_irq = cp_intc_init,
> + .timer = &davinci_timer,
> + .init_machine = omapl138_hawk_init,
> +MACHINE_END
> diff --git a/arch/arm/mach-davinci/include/mach/uncompress.h
> b/arch/arm/mach-davinci/include/mach/uncompress.h
> index 15a6192..640f834 100644
> --- a/arch/arm/mach-davinci/include/mach/uncompress.h
> +++ b/arch/arm/mach-davinci/include/mach/uncompress.h
> @@ -88,6 +88,7 @@ static inline void __arch_decomp_setup(unsigned long
> arch_id)
> /* DA8xx boards */
> DEBUG_LL_DA8XX(davinci_da830_evm, 2);
> DEBUG_LL_DA8XX(davinci_da850_evm, 2);
> + DEBUG_LL_DA8XX(omapl138_hawkboard, 2);
>
> /* TNETV107x boards */
> DEBUG_LL_TNETV107X(tnetv107x, 1);
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source