From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pavel Herrmann Date: Mon, 03 Sep 2012 19:31:20 +0200 Subject: [U-Boot] [PATCH v2 1/2] Loop block device for sandbox In-Reply-To: <201209031849.00839.marex@denx.de> References: <1346255203-1225-1-git-send-email-morpheus.ibis@gmail.com> <1346505549-6795-1-git-send-email-morpheus.ibis@gmail.com> <201209031849.00839.marex@denx.de> Message-ID: <28659571.kCKYv4ylvR@bloomfield> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Monday 03 of September 2012 18:49:00 Marek Vasut wrote: > > + > > +static const char revision[] = "0.0"; > > +static const char vendor[] = "SATA loopback"; > > + > > +static const char * const filenames[] = CONFIG_SATA_LOOP_DISKS; > > +static int max_devs = CONFIG_SYS_SATA_MAX_DEVICE; > > One more thing is missing -- documentation for these (add to doc/ ). which file shoud that be exactly? README.sata has nothing about configs, i cannot find any README.sandbox or README.configs > Alternatively (which would be much better), let sandbox uboot accept params > and supply these as params. or even make a command that would allow you to specify a filename in runtime, possibly with a dynamic number of ports. Pavel Herrmann