lkml.org 
[lkml]   [2007]   [Nov]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    SubjectRe: [PATCH 6/6] MN10300: Add MTD flash support for the ASB2303 board [try #5]
    From
    Date
    Dunno why it's called "try #5" when I haven't directly received it even
    once yet.

    On Fri, 2007-11-09 at 15:35 +0000, David Howells wrote:
    > Add MTD flash support for the ASB2303 board.

    We're trying to avoid taking new simple map drivers -- you should be
    able to use a platform device instead.

    > --- a/drivers/mtd/chips/jedec_probe.c
    > +++ b/drivers/mtd/chips/jedec_probe.c
    > @@ -1883,11 +1883,13 @@ static inline __u8 finfo_uaddr(const struct amd_flash_info *finfo, int device_ty
    >
    > uaddr = finfo->uaddr[uaddr_idx];
    >
    > +#ifndef CONFIG_MN10300_UNIT_ASB2303
    > if (uaddr != MTD_UADDR_NOT_SUPPORTED ) {
    > /* ASSERT("The unlock addresses for non-8-bit mode
    > are bollocks. We don't really need an array."); */
    > uaddr = finfo->uaddr[0];
    > }
    > +#endif

    I think this is a NOP for the chip in question anyway, isn't it?

    --
    dwmw2

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2007-11-10 05:09    [W:3.592 / U:0.004 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site