* [U-Boot] [PATCH] mtdcore: Fix a build error with CONFIG_CMD_MTDPARTS_SPREAD
@ 2014-09-08 17:04 Maxin B. John
2014-09-15 8:00 ` Maxin B. John
2014-09-17 0:46 ` [U-Boot] " Tom Rini
0 siblings, 2 replies; 3+ messages in thread
From: Maxin B. John @ 2014-09-08 17:04 UTC (permalink / raw)
To: u-boot
This patch fixes the build error for CONFIG_CMD_MTDPARTS_SPREAD
Signed-off-by: Maxin B. John <maxin.john@enea.com>
---
drivers/mtd/mtdcore.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/mtd/mtdcore.c b/drivers/mtd/mtdcore.c
index 6ad0357..c9efb3f 100644
--- a/drivers/mtd/mtdcore.c
+++ b/drivers/mtd/mtdcore.c
@@ -804,7 +804,7 @@ void mtd_get_len_incl_bad(struct mtd_info *mtd, uint64_t offset,
*truncated = 0;
*len_incl_bad = 0;
- if (!mtd->block_isbad) {
+ if (!mtd->_block_isbad) {
*len_incl_bad = length;
return;
}
@@ -820,7 +820,7 @@ void mtd_get_len_incl_bad(struct mtd_info *mtd, uint64_t offset,
block_len = mtd->erasesize - (offset & (mtd->erasesize - 1));
- if (!mtd->block_isbad(mtd, offset & ~(mtd->erasesize - 1)))
+ if (!mtd->_block_isbad(mtd, offset & ~(mtd->erasesize - 1)))
len_excl_bad += block_len;
*len_incl_bad += block_len;
--
1.9.1
^ permalink raw reply related [flat|nested] 3+ messages in thread* [U-Boot] [PATCH] mtdcore: Fix a build error with CONFIG_CMD_MTDPARTS_SPREAD
2014-09-08 17:04 [U-Boot] [PATCH] mtdcore: Fix a build error with CONFIG_CMD_MTDPARTS_SPREAD Maxin B. John
@ 2014-09-15 8:00 ` Maxin B. John
2014-09-17 0:46 ` [U-Boot] " Tom Rini
1 sibling, 0 replies; 3+ messages in thread
From: Maxin B. John @ 2014-09-15 8:00 UTC (permalink / raw)
To: u-boot
Gentle ping.
On Mon, Sep 08, 2014 at 07:04:16PM +0200, Maxin B. John wrote:
> This patch fixes the build error for CONFIG_CMD_MTDPARTS_SPREAD
>
> Signed-off-by: Maxin B. John <maxin.john@enea.com>
> ---
> drivers/mtd/mtdcore.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/mtd/mtdcore.c b/drivers/mtd/mtdcore.c
> index 6ad0357..c9efb3f 100644
> --- a/drivers/mtd/mtdcore.c
> +++ b/drivers/mtd/mtdcore.c
> @@ -804,7 +804,7 @@ void mtd_get_len_incl_bad(struct mtd_info *mtd, uint64_t offset,
> *truncated = 0;
> *len_incl_bad = 0;
>
> - if (!mtd->block_isbad) {
> + if (!mtd->_block_isbad) {
> *len_incl_bad = length;
> return;
> }
> @@ -820,7 +820,7 @@ void mtd_get_len_incl_bad(struct mtd_info *mtd, uint64_t offset,
>
> block_len = mtd->erasesize - (offset & (mtd->erasesize - 1));
>
> - if (!mtd->block_isbad(mtd, offset & ~(mtd->erasesize - 1)))
> + if (!mtd->_block_isbad(mtd, offset & ~(mtd->erasesize - 1)))
> len_excl_bad += block_len;
>
> *len_incl_bad += block_len;
> --
> 1.9.1
^ permalink raw reply [flat|nested] 3+ messages in thread* [U-Boot] mtdcore: Fix a build error with CONFIG_CMD_MTDPARTS_SPREAD
2014-09-08 17:04 [U-Boot] [PATCH] mtdcore: Fix a build error with CONFIG_CMD_MTDPARTS_SPREAD Maxin B. John
2014-09-15 8:00 ` Maxin B. John
@ 2014-09-17 0:46 ` Tom Rini
1 sibling, 0 replies; 3+ messages in thread
From: Tom Rini @ 2014-09-17 0:46 UTC (permalink / raw)
To: u-boot
On Mon, Sep 08, 2014 at 07:04:16PM +0200, maxin.john at enea.com wrote:
> This patch fixes the build error for CONFIG_CMD_MTDPARTS_SPREAD
>
> Signed-off-by: Maxin B. John <maxin.john@enea.com>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140916/879eb778/attachment.pgp>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-09-17 0:46 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-08 17:04 [U-Boot] [PATCH] mtdcore: Fix a build error with CONFIG_CMD_MTDPARTS_SPREAD Maxin B. John
2014-09-15 8:00 ` Maxin B. John
2014-09-17 0:46 ` [U-Boot] " Tom Rini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox