From: Tom Rini Date: Thu, 12 Dec 2019 09:10:39 -0500 Subject: [PATCH 07/35] common: Move functions for loading from fat/ext2 to fs.h In-Reply-To: <04bdcb91-8ad5-90a7-463b-9f5f24291e83@gmx.de> References: <20191212004755.11091-2-sjg@chromium.org> <20191211174637.7.I54725907dac44a8fc71676cf9ae42422470b30ec@changeid> <04bdcb91-8ad5-90a7-463b-9f5f24291e83@gmx.de> Message-ID: <20191212141039.GF9549@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, Dec 12, 2019 at 09:31:08AM +0100, Heinrich Schuchardt wrote: > On 12/12/19 1:47 AM, Simon Glass wrote: > > These are filesystem functions and belong in the filesystem header file. > > Move them. > > I am not very fond of having any file system dependencies outside of > disk/ and part/. > > Do we need the functions do_ext2load() and do_fat_fsload() at all? > > What is the benefit of the file system parameter in the sysboot command? A patch to make CMD_SYSBOOT depend on CMD_FS_GENERIC and see if everyone is already doing that would be good. Implementation-wise it's going to be fat/ext2/tftp. > Why have a restriction to ext2 in board/inversepath/usbarmory/usbarmory.c? Intended usage only maybe? I'll let Andrej chime in here. -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: