// Copyright 2022-2023 Beken // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. #pragma once /** * Ideally soc should NOT depends on any other modules, but it's really helpful * if we can debug soc directly. * For ones who want to port soc to other platform, just need to implement following * interfaces. */ #include #include #if CONFIG_SOC_BK7231N #include "soc/bk7231n/soc.h" #elif CONFIG_SOC_BK7234 #include "soc/bk7234/soc.h" #elif CONFIG_SOC_BK7236 #include "soc/bk7236/soc.h" #elif CONFIG_SOC_BK723L #include "soc/bk723L/soc.h" #elif CONFIG_SOC_BK7239 #include "soc/bk7239/soc.h" #elif CONFIG_SOC_BK7286 #include "soc/bk7286/soc.h" #elif CONFIG_SOC_BK7258 #include "soc/bk7258/soc.h" #elif CONFIG_SOC_BK7256 && (CONFIG_CPU_CNT == 1) #include "soc/bk7256/soc.h" #elif CONFIG_SOC_BK7256 && CONFIG_SYS_CPU0 #include "soc/bk7256/soc.h" #elif CONFIG_SOC_BK7256 && CONFIG_SYS_CPU1 #include "soc/bk7256_cp1/soc.h" #elif CONFIG_SOC_BK7237 && (CONFIG_CPU_CNT == 1) #include "soc/bk7237/soc.h" #elif CONFIG_SOC_BK7237 && CONFIG_SYS_CPU0 #include "soc/bk7237/soc.h" #elif CONFIG_SOC_BK7237 && CONFIG_SYS_CPU1 #include "soc/bk7237_cp1/soc.h" #elif CONFIG_SOC_BK7235 && (CONFIG_CPU_CNT == 1) #include "soc/bk7235/soc.h" #elif CONFIG_SOC_BK7235 && CONFIG_SYS_CPU0 #include "soc/bk7235/soc.h" #elif CONFIG_SOC_BK7235 && CONFIG_SYS_CPU1 #include "soc/bk7235_cp1/soc.h" #elif CONFIG_SOC_BK7235M #include "soc/bk7235m/soc.h" #endif