Re: RFC: Devices for files and partitions

2021-07-10 Thread Simon Glass
Hi, On Thu, 8 Jul 2021 at 23:33, Heinrich Schuchardt wrote: > > On 7/9/21 4:44 AM, AKASHI Takahiro wrote: > > On Tue, Jul 06, 2021 at 05:05:19PM -0600, Simon Glass wrote: > >> Hi, > >> > >> At present U-Boot avoids the concept of 'opening' a file. Being in a > >> bootloader environment, it is nor

Re: RFC: Devices for files and partitions

2021-07-08 Thread Heinrich Schuchardt
On 7/9/21 4:44 AM, AKASHI Takahiro wrote: On Tue, Jul 06, 2021 at 05:05:19PM -0600, Simon Glass wrote: Hi, At present U-Boot avoids the concept of 'opening' a file. Being in a bootloader environment, it is normally better to take the action immediately and avoid any caching, for example, since

Re: RFC: Devices for files and partitions

2021-07-08 Thread AKASHI Takahiro
On Tue, Jul 06, 2021 at 05:05:19PM -0600, Simon Glass wrote: > Hi, > > At present U-Boot avoids the concept of 'opening' a file. Being in a > bootloader environment, it is normally better to take the action > immediately and avoid any caching, for example, since there is no > background task to cl

RFC: Devices for files and partitions

2021-07-06 Thread Simon Glass
Hi, At present U-Boot avoids the concept of 'opening' a file. Being in a bootloader environment, it is normally better to take the action immediately and avoid any caching, for example, since there is no background task to clean up afterwards. Having said that, the concept of a file is quite usef