[PATCH v5 02/21] Kconfig: Move API into general setup