Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: Pete Popov <ppopov@embeddedalley.com>
To: charles.eidsness@ieee.org
Cc: linux-mips@linux-mips.org
Subject: Re: DB1x00 FLASH and Kernel 2.6.8.1
Date: Sat, 09 Oct 2004 01:51:02 -0700	[thread overview]
Message-ID: <4167A676.9050503@embeddedalley.com> (raw)
In-Reply-To: <41640DFE.8050609@ieee.org>

Charles Eidsness wrote:

> Hi All,
>
> I had to make a minor change to the db1x00 flash's memory map 
> definition file in version 2.6.8.1 of the kernel in order to get flash 
> support to compile. See attached patch if interested.

I fixed this recently and pushed the patch in linux-mips and the mtd tree.

Pete

>
> Cheers,
> Charles
>
> --- linux-2.6.8.1-mips/drivers/mtd/maps/db1x00-flash.c    2004-01-30 
> 02:34:34.000000000 -0500
> +++ linux-2.6.8.1-mips/drivers/mtd/maps/db1x00-flash.c    2004-10-06 
> 10:39:20.950558416 -0400
> @@ -164,9 +164,9 @@
>              return 1;
>      }
>      db1xxx_mtd_map.size = window_size;
> -    db1xxx_mtd_map.buswidth = flash_buswidth;
> +    db1xxx_mtd_map.bankwidth = flash_buswidth;
>      db1xxx_mtd_map.phys = window_addr;
> -    db1xxx_mtd_map.buswidth = flash_buswidth;
> +    db1xxx_mtd_map.bankwidth = flash_buswidth;
>      return 0;
>  }
>
> @@ -189,7 +189,7 @@
>       * specific machine settings might have been set above.
>       */
>      printk(KERN_NOTICE "Db1xxx flash: probing %d-bit flash bus\n",
> -            db1xxx_mtd_map.buswidth*8);
> +            db1xxx_mtd_map.bankwidth*8);
>      db1xxx_mtd_map.virt = (unsigned long)ioremap(window_addr, 
> window_size);
>      db1xxx_mtd = do_map_probe("cfi_probe", &db1xxx_mtd_map);
>      if (!db1xxx_mtd) return -ENXIO;
>

      reply	other threads:[~2004-10-09  8:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-06 15:23 DB1x00 FLASH and Kernel 2.6.8.1 Charles Eidsness
2004-10-09  8:51 ` Pete Popov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4167A676.9050503@embeddedalley.com \
    --to=ppopov@embeddedalley.com \
    --cc=charles.eidsness@ieee.org \
    --cc=linux-mips@linux-mips.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox