From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Glass Date: Thu, 27 Sep 2018 06:42:18 -0700 Subject: [U-Boot] [PATCH 07/27] sandbox: blk: Switch to use platdata_auto_alloc_size for the driver data In-Reply-To: <1537710145-1888-8-git-send-email-bmeng.cn@gmail.com> References: <1537710145-1888-1-git-send-email-bmeng.cn@gmail.com> <1537710145-1888-8-git-send-email-bmeng.cn@gmail.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 23 September 2018 at 06:42, Bin Meng wrote: > Currently the sandbox block driver uses priv_auto_alloc_size for > the driver data, however that's only available after the device > probe phase. In order to make it accessible in an earlier phase, > switch to use platdata_auto_alloc_size instead. > > This patch is the prerequisite for the follow up patch of DM BLK > driver changes to work with Sandbox. > > Signed-off-by: Bin Meng > --- > > drivers/block/sandbox.c | 15 ++++++++------- > 1 file changed, 8 insertions(+), 7 deletions(-) Reviewed-by: Simon Glass