From: Stefan Roese <sr@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 1/2] flash/cfi_flash: Use virtual sector start address, not phys
Date: Thu, 5 Feb 2009 11:42:45 +0100 [thread overview]
Message-ID: <200902051142.45680.sr@denx.de> (raw)
In-Reply-To: <F1837DD3-8E5F-4E84-B46B-D6225F60D628@kernel.crashing.org>
On Tuesday 03 February 2009, Kumar Gala wrote:
> On Feb 3, 2009, at 2:53 AM, Pieter wrote:
> >> static inline void flash_unmap(flash_info_t *info, flash_sect_t sect,
> >> unsigned int offset, void *addr)
> >> {
> >> - unsigned int byte_offset = offset * info->portwidth;
> >> -
> >> - unmap_physmem(addr, flash_sector_size(info, sect) - byte_offset);
> >> }
> >
> > <snip>
> >
> > Since "flash_unmap(flash_info_t *info, flash_sect_t sect,unsigned
> > int offset, void *addr)" function is empty after applying the patch,
> > should all function calls in the /drivers/mtd/cfi_flash.c file not
> > also be removed?
> >
> > cheers pieter
>
> I think its best to leave them alone for now. If in the future we
> really think flash_unmap isn't going to get called we can remove
> them. Stefan?
Fine with me.
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
=====================================================================
next prev parent reply other threads:[~2009-02-05 10:42 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-02 22:34 [U-Boot] [PATCH 1/2] flash/cfi_flash: Use virtual sector start address, not phys Becky Bruce
2009-02-02 22:34 ` [U-Boot] [PATCH 2/2] mpc8641hpcn: Use physical address in flash banks defintion Becky Bruce
2009-02-09 23:32 ` Wolfgang Denk
2009-02-03 8:53 ` [U-Boot] [PATCH 1/2] flash/cfi_flash: Use virtual sector start address, not phys Pieter
2009-02-03 14:48 ` Kumar Gala
2009-02-03 19:35 ` Becky Bruce
2009-02-05 10:42 ` Stefan Roese [this message]
2009-02-05 10:25 ` Stefan Roese
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=200902051142.45680.sr@denx.de \
--to=sr@denx.de \
--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