+if ARCH_RK30
+
config ARCH_RK3066B
bool "Rockchip RK3066B"
- depends on ARCH_RK30
help
Support for Rockchip's RK3066B SoCs.
-if ARCH_RK30 && !ARCH_RK3066B
+config ARCH_RK30XX
+ bool
+ default y
+ depends on !ARCH_RK3066B
+
+if ARCH_RK30XX
choice
prompt "RK30xx Board Type"
endchoice
endif
+
+endif
EXTRA_CFLAGS += -Os
ifneq ($(CONFIG_RK_FPGA),y)
obj-y += clock.o
-obj-y += clock_data.o
+obj-$(CONFIG_ARCH_RK30XX) += clock_data.o
+obj-$(CONFIG_ARCH_RK3066B) += clock_data-rk3066b.o
endif
obj-y += common.o
CFLAGS_common.o += -DTEXT_OFFSET=$(TEXT_OFFSET)