85xx: Move LAW init code into C
Move the initialization of the LAWs into C code and provide an API to allow modification of LAWs after init. Board code is responsible to provide a law_table and num_law_entries. We should be able to use the same code on 86xx as well. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
This commit is contained in:
@@ -28,6 +28,7 @@ LIB := $(obj)libmisc.a
|
||||
COBJS-y += ali512x.o
|
||||
COBJS-y += ns87308.o
|
||||
COBJS-y += status_led.o
|
||||
COBJS-$(CONFIG_FSL_LAW) += fsl_law.o
|
||||
|
||||
COBJS := $(COBJS-y)
|
||||
SRCS := $(COBJS:.o=.c)
|
||||
|
||||
Reference in New Issue
Block a user