misc: add spl misc support
Change-Id: I77de161aaaa6490aeb8a5a8c3f9dfdc5c65f3f71 Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
This commit is contained in:
parent
6e12c1dd66
commit
06536c203f
|
|
@ -13,6 +13,15 @@ config MISC
|
|||
set of generic read, write and ioctl methods may be used to
|
||||
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
|
||||
bool "Altera Sysid support"
|
||||
depends on MISC
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
# 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_ALTERA_SYSID) += altera_sysid.o
|
||||
obj-$(CONFIG_ATSHA204A) += atsha204a-i2c.o
|
||||
|
|
|
|||
Loading…
Reference in New Issue