From: Wolfgang Grandegger <wg@grandegger.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] Fwd: [PATCH v2 0/5] Add multi-chips support for NAND, FSL-UPM and TQM8548
Date: Mon, 16 Feb 2009 14:08:20 +0100 [thread overview]
Message-ID: <49996544.7050009@grandegger.com> (raw)
In-Reply-To: <bb70857e0902160128w26091712xa6c15d9a6e78e603@mail.gmail.com>
arun sharma wrote:
>> * Index: u-boot/drivers/mtd/nand/fsl_upm.c
> *>* ===================================================================
> *>* --- u-boot.orig/drivers/mtd/nand/fsl_upm.c
> *>* +++ u-boot/drivers/mtd/nand/fsl_upm.c
> *>* @@ -90,8 +90,11 @@ static void fun_cmd_ctrl(struct mtd_info
> *>* mar = cmd << (32 - fun->width);
> *>* io_addr = fun->upm.io_addr;
> *>* #if CONFIG_SYS_NAND_MAX_CHIPS > 1
> *>* - if (fun->chip_nr > 0)
> *>* + if (fun->chip_nr > 0) {
> *>* io_addr += fun->chip_offset * fun->chip_nr;
> *>* + if (fun->upm_mar_chip_offset)
> *>* + mar |= fun->upm_mar_chip_offset * fun->chip_nr;
> *>* + }
> *
> above patch is not suitable for 832x becuase mar register has only 26
> bit (6 bit are resrved)
> what should be done
Simply do not define fun->upm_mar_chip_offset in your BSP code. It is
used on the TQM8548 modules to driver some board-specific chip select
logic. Anyhow, do you need to support a multi-chip (multi-die) device all?
Wolfgang.
prev parent reply other threads:[~2009-02-16 13:08 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-11 17:38 [U-Boot] [PATCH v2 0/5] Add multi-chips support for NAND, FSL-UPM and TQM8548 Wolfgang Grandegger
2009-02-11 17:38 ` [U-Boot] [PATCH v2 1/5] Enable multi chip support in the NAND layer Wolfgang Grandegger
2009-02-11 17:38 ` [U-Boot] [PATCH v2 2/5] Add multi chip support to the FSL-UPM driver Wolfgang Grandegger
2009-02-11 17:38 ` [U-Boot] [PATCH v2 3/5] Add support for TQM-specific chip select logic to FSL-UPM Wolfgang Grandegger
2009-02-13 20:59 ` Scott Wood
2009-02-13 21:22 ` Wolfgang Grandegger
2009-02-13 21:30 ` Scott Wood
2009-02-13 21:35 ` Scott Wood
2009-02-11 17:38 ` [U-Boot] [PATCH v2 4/5] Add wait flags to support board/chip specific delays Wolfgang Grandegger
2009-02-11 17:38 ` [U-Boot] [PATCH v2 5/5] Add multi-chip NAND support for the TQM8548 modules Wolfgang Grandegger
2009-02-13 20:58 ` [U-Boot] [PATCH v2 0/5] Add multi-chips support for NAND, FSL-UPM and TQM8548 Scott Wood
[not found] ` <bb70857e0902160123r5b4747b2naaf79ac418b1606e@mail.gmail.com>
2009-02-16 9:28 ` [U-Boot] Fwd: " arun sharma
2009-02-16 13:08 ` Wolfgang Grandegger [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=49996544.7050009@grandegger.com \
--to=wg@grandegger.com \
--cc=u-boot@lists.denx.de \
/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