[U-Boot] [PATCH v3 09/31] sandbox: blk: Switch to use platdata_auto_alloc_size for the driver data
sjg at google.com
sjg at google.com
Wed Oct 24 17:31:59 UTC 2018
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 <bmeng.cn at gmail.com>
Reviewed-by: Simon Glass <sjg at chromium.org>
---
Changes in v3: None
Changes in v2: None
drivers/block/sandbox.c | 15 ++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)
Applied to u-boot-dm/next, thanks!
More information about the U-Boot
mailing list