misc: add spl misc support

Change-Id: I77de161aaaa6490aeb8a5a8c3f9dfdc5c65f3f71
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
This commit is contained in:
Jason Zhu 2019-08-20 20:13:56 +08:00 committed by Jianhong Chen
parent 6e12c1dd66
commit 06536c203f
2 changed files with 10 additions and 1 deletions

View File

@ -13,6 +13,15 @@ config MISC
set of generic read, write and ioctl methods may be used to set of generic read, write and ioctl methods may be used to
access the device. access the device.
config SPL_MISC
bool "Enable Driver Model for Misc drivers in SPL"
depends on SPL_DM
help
Enable driver model for miscellaneous devices. This class is
used only for those do not fit other more general classes. A
set of generic read, write and ioctl methods may be used to
access the device.
config ALTERA_SYSID config ALTERA_SYSID
bool "Altera Sysid support" bool "Altera Sysid support"
depends on MISC depends on MISC

View File

@ -5,7 +5,7 @@
# SPDX-License-Identifier: GPL-2.0+ # SPDX-License-Identifier: GPL-2.0+
# #
obj-$(CONFIG_MISC) += misc-uclass.o obj-$(CONFIG_$(SPL_)MISC) += misc-uclass.o
obj-$(CONFIG_ALI152X) += ali512x.o obj-$(CONFIG_ALI152X) += ali512x.o
obj-$(CONFIG_ALTERA_SYSID) += altera_sysid.o obj-$(CONFIG_ALTERA_SYSID) += altera_sysid.o
obj-$(CONFIG_ATSHA204A) += atsha204a-i2c.o obj-$(CONFIG_ATSHA204A) += atsha204a-i2c.o