u-boot/drivers/block
Simon Glass 336d4615f8 dm: core: Create a new header file for 'compat' features
At present dm/device.h includes the linux-compatible features. This
requires including linux/compat.h which in turn includes a lot of headers.
One of these is malloc.h which we thus end up including in every file in
U-Boot. Apart from the inefficiency of this, it is problematic for sandbox
which needs to use the system malloc() in some files.

Move the compatibility features into a separate header file.

Signed-off-by: Simon Glass <sjg@chromium.org>
2020-02-05 19:33:46 -07:00
..
blk-uclass.c dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
blk_legacy.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
blkcache.c common: fix regression on block cache init 2020-01-26 13:36:14 -05:00
ide.c blk: Call part_init() in the post_probe() method 2018-11-14 09:16:27 -08:00
Kconfig blk: Allow control of the block cache in TPL 2019-07-10 16:52:58 -06:00
Makefile blk: Make use of CONFIG_HAVE_BLOCK_DEVICE more 2019-12-03 08:43:24 -05:00
sandbox.c dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00