[PATCH v3 02/20] Kconfig: Move API into general setup