* [U-Boot] [PATCH] OneNAND: Fix compiler warnings
@ 2008-11-11 9:28 Stefan Roese
2008-11-11 17:53 ` Scott Wood
2008-12-08 20:44 ` Wolfgang Denk
0 siblings, 2 replies; 11+ messages in thread
From: Stefan Roese @ 2008-11-11 9:28 UTC (permalink / raw)
To: u-boot
Signed-off-by: Stefan Roese <sr@denx.de>
---
This patch has to be applied on top of the patch submitted by Kyungmin Park
on 2008-11-04:
[PATCH] [OneNAND] Sync with 2.6.27
It replaces my patch "[PATCH] OneNAND: Fix compiler warnings and add weak
attribute to memcpy_16()". The weak method is not needed. Thanks to Scott
for pointing this out.
drivers/mtd/onenand/onenand_base.c | 26 ++++++++++++++++++++++++++
1 files changed, 26 insertions(+), 0 deletions(-)
diff --git a/drivers/mtd/onenand/onenand_base.c b/drivers/mtd/onenand/onenand_base.c
index 66214e8..8d004d3 100644
--- a/drivers/mtd/onenand/onenand_base.c
+++ b/drivers/mtd/onenand/onenand_base.c
@@ -409,6 +409,30 @@ static int onenand_write_bufferram(struct mtd_info *mtd, loff_t addr, int area,
}
/**
+ * onenand_get_2x_blockpage - [GENERIC] Get blockpage at 2x program mode
+ * @param mtd MTD data structure
+ * @param addr address to check
+ * @return blockpage address
+ *
+ * Get blockpage address at 2x program mode
+ */
+static int onenand_get_2x_blockpage(struct mtd_info *mtd, loff_t addr)
+{
+ struct onenand_chip *this = mtd->priv;
+ int blockpage, block, page;
+
+ /* Calculate the even block number */
+ block = (int) (addr >> this->erase_shift) & ~1;
+ /* Is it the odd plane? */
+ if (addr & this->writesize)
+ block++;
+ page = (int) (addr >> (this->page_shift + 1)) & this->page_mask;
+ blockpage = (block << 7) | page;
+
+ return blockpage;
+}
+
+/**
* onenand_check_bufferram - [GENERIC] Check BufferRAM information
* @param mtd MTD data structure
* @param addr address to check
@@ -1666,6 +1690,7 @@ static int onenand_do_lock_cmd(struct mtd_info *mtd, loff_t ofs, size_t len, int
return 0;
}
+#ifdef ONENAND_LINUX
/**
* onenand_lock - [MTD Interface] Lock block(s)
* @param mtd MTD device structure
@@ -1701,6 +1726,7 @@ static int onenand_unlock(struct mtd_info *mtd, loff_t ofs, size_t len)
onenand_release_device(mtd);
return ret;
}
+#endif
/**
* onenand_check_lock_status - [OneNAND Interface] Check lock status
--
1.6.0.4
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [U-Boot] [PATCH] OneNAND: Fix compiler warnings
2008-11-11 9:28 [U-Boot] [PATCH] OneNAND: Fix compiler warnings Stefan Roese
@ 2008-11-11 17:53 ` Scott Wood
2008-12-08 20:44 ` Wolfgang Denk
1 sibling, 0 replies; 11+ messages in thread
From: Scott Wood @ 2008-11-11 17:53 UTC (permalink / raw)
To: u-boot
On Tue, Nov 11, 2008 at 10:28:53AM +0100, Stefan Roese wrote:
> Signed-off-by: Stefan Roese <sr@denx.de>
> ---
> This patch has to be applied on top of the patch submitted by Kyungmin Park
> on 2008-11-04:
> [PATCH] [OneNAND] Sync with 2.6.27
>
> It replaces my patch "[PATCH] OneNAND: Fix compiler warnings and add weak
> attribute to memcpy_16()". The weak method is not needed. Thanks to Scott
> for pointing this out.
Applied to u-boot-nand-flash/next
-Scott
^ permalink raw reply [flat|nested] 11+ messages in thread
* [U-Boot] [PATCH] OneNAND: Fix compiler warnings
2008-11-11 9:28 [U-Boot] [PATCH] OneNAND: Fix compiler warnings Stefan Roese
2008-11-11 17:53 ` Scott Wood
@ 2008-12-08 20:44 ` Wolfgang Denk
2008-12-08 23:17 ` Kyungmin Park
1 sibling, 1 reply; 11+ messages in thread
From: Wolfgang Denk @ 2008-12-08 20:44 UTC (permalink / raw)
To: u-boot
Hi all,
In message <1226395733-24610-1-git-send-email-sr@denx.de> you wrote:
> Signed-off-by: Stefan Roese <sr@denx.de>
> ---
> This patch has to be applied on top of the patch submitted by Kyungmin Park
> on 2008-11-04:
> [PATCH] [OneNAND] Sync with 2.6.27
I have to admit that I completely lost track of all the OneNAND
patches floating around and being sent and resent and resent again.
This is especially the case since none of the boards I am familiar
with uses OneNAND, sso I have zero experience and little ways to test
anything.
In short: we need a OneNAND custodian, and we need him badly.
Is any of you volunteering, or knows of a potential candidate?
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"Everybody is talking about the weather but nobody does anything
about it." - Mark Twain
^ permalink raw reply [flat|nested] 11+ messages in thread
* [U-Boot] [PATCH] OneNAND: Fix compiler warnings
2008-12-08 20:44 ` Wolfgang Denk
@ 2008-12-08 23:17 ` Kyungmin Park
2008-12-09 6:27 ` Stefan Roese
0 siblings, 1 reply; 11+ messages in thread
From: Kyungmin Park @ 2008-12-08 23:17 UTC (permalink / raw)
To: u-boot
On Tue, Dec 9, 2008 at 5:44 AM, Wolfgang Denk <wd@denx.de> wrote:
> Hi all,
>
> In message <1226395733-24610-1-git-send-email-sr@denx.de> you wrote:
>> Signed-off-by: Stefan Roese <sr@denx.de>
>> ---
>> This patch has to be applied on top of the patch submitted by Kyungmin Park
>> on 2008-11-04:
>> [PATCH] [OneNAND] Sync with 2.6.27
>
> I have to admit that I completely lost track of all the OneNAND
> patches floating around and being sent and resent and resent again.
>
> This is especially the case since none of the boards I am familiar
> with uses OneNAND, sso I have zero experience and little ways to test
> anything.
>
>
> In short: we need a OneNAND custodian, and we need him badly.
>
> Is any of you volunteering, or knows of a potential candidate?
>
Stefan,
Even though It's some difficult to access the external server, I can
access http protocol. So I can pull the git. So if you control the git
then I generate and send a patch against the OneNAND tree.
Or other ideas?
Thank you,
Kyungmin Park
^ permalink raw reply [flat|nested] 11+ messages in thread
* [U-Boot] [PATCH] OneNAND: Fix compiler warnings
2008-12-08 23:17 ` Kyungmin Park
@ 2008-12-09 6:27 ` Stefan Roese
2008-12-09 9:01 ` Amit Kumar Sharma
2008-12-09 17:34 ` Scott Wood
0 siblings, 2 replies; 11+ messages in thread
From: Stefan Roese @ 2008-12-09 6:27 UTC (permalink / raw)
To: u-boot
On Tuesday 09 December 2008, Kyungmin Park wrote:
> > In short: we need a OneNAND custodian, and we need him badly.
> >
> > Is any of you volunteering, or knows of a potential candidate?
>
> Stefan,
>
> Even though It's some difficult to access the external server, I can
> access http protocol. So I can pull the git. So if you control the git
> then I generate and send a patch against the OneNAND tree.
>
> Or other ideas?
Till now Scott has takes care of the OneNAND related patches in his NAND
repository. The latest patches are already present in his next branch, IIRC.
I'm not sure how you feel about this Scott. Are you willing to officially
handle this OneNAND stuff further?
Best regards,
Stefan
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
=====================================================================
^ permalink raw reply [flat|nested] 11+ messages in thread
* [U-Boot] [PATCH] OneNAND: Fix compiler warnings
2008-12-09 6:27 ` Stefan Roese
@ 2008-12-09 9:01 ` Amit Kumar Sharma
2008-12-09 9:15 ` Stefan Roese
2008-12-09 17:34 ` Scott Wood
1 sibling, 1 reply; 11+ messages in thread
From: Amit Kumar Sharma @ 2008-12-09 9:01 UTC (permalink / raw)
To: u-boot
HI
----- Original Message -----
From: "Stefan Roese" <sr@denx.de>
To: "Kyungmin Park" <kmpark@infradead.org>
Cc: <scottwood@freescale.com>; <u-boot@lists.denx.de>
Sent: Tuesday, December 09, 2008 11:57 AM
Subject: Re: [U-Boot] [PATCH] OneNAND: Fix compiler warnings
> On Tuesday 09 December 2008, Kyungmin Park wrote:
>> > In short: we need a OneNAND custodian, and we need him
>> > badly.
>> >
I would like to work as OneNAND custodian ,Our team is
already working for FlexOneNAND related parts , what is
opinion of you guys.
>> > Is any of you volunteering, or knows of a potential
>> > candidate?
>>
>> Stefan,
>>
>> Even though It's some difficult to access the external
>> server, I can
>> access http protocol. So I can pull the git. So if you
>> control the git
>> then I generate and send a patch against the OneNAND
>> tree.
>>
>> Or other ideas?
>
> Till now Scott has takes care of the OneNAND related
> patches in his NAND
> repository. The latest patches are already present in his
> next branch, IIRC.
>
> I'm not sure how you feel about this Scott. Are you
> willing to officially
> handle this OneNAND stuff further?
>
> Best regards,
> Stefan
>
> =====================================================================
> DENX Software Engineering GmbH, MD: Wolfgang Denk &
> Detlev Zundel
> HRB 165235 Munich, Office: Kirchenstr.5, D-82194
> Groebenzell, Germany
> Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email:
> office at denx.de
> =====================================================================
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
^ permalink raw reply [flat|nested] 11+ messages in thread
* [U-Boot] [PATCH] OneNAND: Fix compiler warnings
2008-12-09 9:01 ` Amit Kumar Sharma
@ 2008-12-09 9:15 ` Stefan Roese
2008-12-09 11:08 ` Amit Kumar Sharma
0 siblings, 1 reply; 11+ messages in thread
From: Stefan Roese @ 2008-12-09 9:15 UTC (permalink / raw)
To: u-boot
Hi Amit,
On Tuesday 09 December 2008, Amit Kumar Sharma wrote:
> >> > In short: we need a OneNAND custodian, and we need him
> >> > badly.
>
> I would like to work as OneNAND custodian ,Our team is
> already working for FlexOneNAND related parts , what is
> opinion of you guys.
Guessing from your email address, you are a co-worker of Kyungmin. Correct?
Don't you have the same problems accessing the DENX git repositories as
Kyungmin has?
Please don't get me wrong. I would really appreciate if you (and/or Kyungmin)
would become the OneNAND custodian (if we really decide that we should create
such a custodianship). Just checking if the infrastructure if working for
you.
Thanks.
Best regards,
Stefan
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
=====================================================================
^ permalink raw reply [flat|nested] 11+ messages in thread
* [U-Boot] [PATCH] OneNAND: Fix compiler warnings
2008-12-09 9:15 ` Stefan Roese
@ 2008-12-09 11:08 ` Amit Kumar Sharma
0 siblings, 0 replies; 11+ messages in thread
From: Amit Kumar Sharma @ 2008-12-09 11:08 UTC (permalink / raw)
To: u-boot
Hi Stefan,
> Hi Amit,
>
> On Tuesday 09 December 2008, Amit Kumar Sharma wrote:
>> >> > In short: we need a OneNAND custodian, and we need
>> >> > him
>> >> > badly.
>>
>> I would like to work as OneNAND custodian ,Our team is
>> already working for FlexOneNAND related parts , what is
>> opinion of you guys.
>
> Guessing from your email address, you are a co-worker of
> Kyungmin. Correct?
> Don't you have the same problems accessing the DENX git
> repositories as
> Kyungmin has?
>
Kyungmin and my team part of Samsung but in different
divisions, I will check in my company about accessing DENX
git reposotories,Let you know hope we can find some solution
here.
> Please don't get me wrong. I would really appreciate if
> you (and/or Kyungmin)
> would become the OneNAND custodian (if we really decide
> that we should create
> such a custodianship). Just checking if the infrastructure
> if working for
> you.
regarding cowork kyungmin can take call , we have no
problem as cowork or working independent.
I show our interest because I feel by kyungmin mail , he
has difficulty and busy with many other activities.
Thanks.
Best regards,
Amit Kumar Sharma
> =====================================================================
> DENX Software Engineering GmbH, MD: Wolfgang Denk &
> Detlev Zundel
> HRB 165235 Munich, Office: Kirchenstr.5, D-82194
> Groebenzell, Germany
> Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email:
> office at denx.de
> =====================================================================
^ permalink raw reply [flat|nested] 11+ messages in thread
* [U-Boot] [PATCH] OneNAND: Fix compiler warnings
2008-12-09 6:27 ` Stefan Roese
2008-12-09 9:01 ` Amit Kumar Sharma
@ 2008-12-09 17:34 ` Scott Wood
2008-12-09 20:25 ` Wolfgang Denk
1 sibling, 1 reply; 11+ messages in thread
From: Scott Wood @ 2008-12-09 17:34 UTC (permalink / raw)
To: u-boot
On Tue, Dec 09, 2008 at 07:27:30AM +0100, Stefan Roese wrote:
> Till now Scott has takes care of the OneNAND related patches in his NAND
> repository. The latest patches are already present in his next branch, IIRC.
>
> I'm not sure how you feel about this Scott. Are you willing to officially
> handle this OneNAND stuff further?
I'm willing to continue, though if someone more familiar with OneNAND and
with access to hardware wanted to take it over I'd be fine with that too.
-Scott
^ permalink raw reply [flat|nested] 11+ messages in thread
* [U-Boot] [PATCH] OneNAND: Fix compiler warnings
2008-12-09 17:34 ` Scott Wood
@ 2008-12-09 20:25 ` Wolfgang Denk
2008-12-10 3:56 ` Kyungmin Park
0 siblings, 1 reply; 11+ messages in thread
From: Wolfgang Denk @ 2008-12-09 20:25 UTC (permalink / raw)
To: u-boot
Dear Scott,
In message <20081209173429.GA1777@ld0162-tx32.am.freescale.net> you wrote:
> On Tue, Dec 09, 2008 at 07:27:30AM +0100, Stefan Roese wrote:
> > Till now Scott has takes care of the OneNAND related patches in his NAND
> > repository. The latest patches are already present in his next branch, IIRC.
> >
> > I'm not sure how you feel about this Scott. Are you willing to officially
> > handle this OneNAND stuff further?
>
> I'm willing to continue, though if someone more familiar with OneNAND and
> with access to hardware wanted to take it over I'd be fine with that too.
Thanks for the clarification.
I have this patch marked as open, and cannot find any comments for
it in the archive:
11/10 Kyungmin Park [U-Boot] [PATCH] [ONENAND] Reduce OneNAND IPL code size v2
Could you please have a look? THanks.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
It's all Klatchian to me.
- Terry Pratchett & Stephen Briggs, _The Discworld Companion_
^ permalink raw reply [flat|nested] 11+ messages in thread
* [U-Boot] [PATCH] OneNAND: Fix compiler warnings
2008-12-09 20:25 ` Wolfgang Denk
@ 2008-12-10 3:56 ` Kyungmin Park
0 siblings, 0 replies; 11+ messages in thread
From: Kyungmin Park @ 2008-12-10 3:56 UTC (permalink / raw)
To: u-boot
On Wed, Dec 10, 2008 at 5:25 AM, Wolfgang Denk <wd@denx.de> wrote:
> Dear Scott,
>
> In message <20081209173429.GA1777@ld0162-tx32.am.freescale.net> you wrote:
>> On Tue, Dec 09, 2008 at 07:27:30AM +0100, Stefan Roese wrote:
>> > Till now Scott has takes care of the OneNAND related patches in his NAND
>> > repository. The latest patches are already present in his next branch, IIRC.
>> >
>> > I'm not sure how you feel about this Scott. Are you willing to officially
>> > handle this OneNAND stuff further?
>>
>> I'm willing to continue, though if someone more familiar with OneNAND and
>> with access to hardware wanted to take it over I'd be fine with that too.
>
> Thanks for the clarification.
>
> I have this patch marked as open, and cannot find any comments for
> it in the archive:
>
> 11/10 Kyungmin Park [U-Boot] [PATCH] [ONENAND] Reduce OneNAND IPL code size v2
>
> Could you please have a look? THanks.
>
Thank you for Scott
Continue to work with Scott as before and make a custodian if it's needed.
I will send OneNAND and IPL codes for merge tomorrow.
Plan: I worked OneNAND on several platform, S3C6410, PXA3xx, OMAP3
with different u-boot code base. So I want to merge this just one
tree. actually PXA3xx and OMAP3 has same interface but s3c6410
doesn't. it has own OneNAND controller and difficult to use it.
Thank you,
Kyungmin Park
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2008-12-10 3:56 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-11 9:28 [U-Boot] [PATCH] OneNAND: Fix compiler warnings Stefan Roese
2008-11-11 17:53 ` Scott Wood
2008-12-08 20:44 ` Wolfgang Denk
2008-12-08 23:17 ` Kyungmin Park
2008-12-09 6:27 ` Stefan Roese
2008-12-09 9:01 ` Amit Kumar Sharma
2008-12-09 9:15 ` Stefan Roese
2008-12-09 11:08 ` Amit Kumar Sharma
2008-12-09 17:34 ` Scott Wood
2008-12-09 20:25 ` Wolfgang Denk
2008-12-10 3:56 ` Kyungmin Park
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox