lkml.org 
[lkml]   [2008]   [Feb]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [M68KNOMMU]: platform setup for 520x ColdFire parts

    Hi Sam,

    Sam Ravnborg wrote:
    > On Fri, Feb 01, 2008 at 05:34:10PM +1000, Greg Ungerer wrote:
    >> Switch to platform style configuration for 520x ColdFire parts.
    >> Initial support is for the UARTs. DMA support moved to common code
    >> for all ColdFire parts.
    >>
    >> +static struct mcf_platform_uart m520x_uart_platform[] = {
    >> + {
    >> + .mapbase = MCF_MBAR + MCFUART_BASE1,
    >> + .irq = MCFINT_VECBASE + MCFINT_UART0,
    >> + },
    >> + {
    >> + .mapbase = MCF_MBAR + MCFUART_BASE2,
    >> + .irq = MCFINT_VECBASE + MCFINT_UART1,
    >> + },
    >> + {
    >> + .mapbase = MCF_MBAR + MCFUART_BASE3,
    >> + .irq = MCFINT_VECBASE + MCFINT_UART2,
    >> + },
    >> + { },
    >> +};
    > const?
    > Same comments for the rest of the patch and the other similar patches.
    >
    > Note: Use __initdataconst for const data as replacement for __initdata.

    I am confused, __initdataconst?

    Regards
    Greg


    ------------------------------------------------------------------------
    Greg Ungerer -- Chief Software Dude EMAIL: gerg@snapgear.com
    SnapGear -- a Secure Computing Company PHONE: +61 7 3435 2888
    825 Stanley St, FAX: +61 7 3891 3630
    Woolloongabba, QLD, 4102, Australia WEB: http://www.SnapGear.com


    \
     
     \ /
      Last update: 2008-02-01 12:51    [W:0.032 / U:0.424 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site