diff options
| author | Marek Vasut <[email protected]> | 2023-08-23 02:18:20 +0200 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2023-08-30 17:56:21 -0400 |
| commit | 8a4289ad727a1a6b47b5690e7b3c0fde64f3aebf (patch) | |
| tree | 5bf209e17e8b2e26df4121c9dbaebdeffb40e9b7 /drivers | |
| parent | 6539f71d1d85895afd60c68d039342447713ee50 (diff) | |
drivers/mtd/nvmxip: Move sandbox_set_enable_memio() to test
The sandbox_set_enable_memio() should only ever be set during
sandbox testing, not within driver itself, move it back to test/ .
Signed-off-by: Marek Vasut <[email protected]>
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/mtd/nvmxip/nvmxip-uclass.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/mtd/nvmxip/nvmxip-uclass.c b/drivers/mtd/nvmxip/nvmxip-uclass.c index 36eb056c213..9a316d1de39 100644 --- a/drivers/mtd/nvmxip/nvmxip-uclass.c +++ b/drivers/mtd/nvmxip/nvmxip-uclass.c @@ -29,10 +29,6 @@ int nvmxip_probe(struct udevice *udev) char bdev_name[NVMXIP_BLKDEV_NAME_SZ + 1]; int devnum; -#if CONFIG_IS_ENABLED(SANDBOX64) - sandbox_set_enable_memio(true); -#endif - devnum = uclass_id_count(UCLASS_NVMXIP); snprintf(bdev_name, NVMXIP_BLKDEV_NAME_SZ, "blk#%d", devnum); |
