1 // Copyright (C) 2022 Beken Corporation 2 // 3 // Licensed under the Apache License, Version 2.0 (the "License"); 4 // you may not use this file except in compliance with the License. 5 // You may obtain a copy of the License at 6 // 7 // http://www.apache.org/licenses/LICENSE-2.0 8 // 9 // Unless required by applicable law or agreed to in writing, software 10 // distributed under the License is distributed on an "AS IS" BASIS, 11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 // See the License for the specific language governing permissions and 13 // limitations under the License. 14 15 #pragma once 16 17 /** 18 * Ideally soc should NOT depends on any other modules, but it's really helpful 19 * if we can debug soc directly. 20 * For ones who want to port soc to other platform, just need to implement following 21 * interfaces. 22 */ 23 #include <components/log.h> 24 #include <sdkconfig.h> 25 26 #if CONFIG_SOC_BK7231N 27 #include "soc/bk7231n/soc.h" 28 #elif CONFIG_SOC_BK7231U 29 #include "soc/bk7231u/soc.h" 30 #elif CONFIG_SOC_BK7236 31 #include "soc/bk7236/soc.h" 32 #elif CONFIG_SOC_BK7236A 33 #include "soc/bk7236a/soc.h" 34 #elif CONFIG_SOC_BK7251 35 #include "soc/bk7251/soc.h" 36 #elif CONFIG_SOC_BK7271 37 #include "soc/bk7271/soc.h" 38 39 #elif CONFIG_SOC_BK7256 && !CONFIG_DUAL_CORE 40 #include "soc/bk7256/soc.h" 41 #elif CONFIG_SOC_BK7256 && CONFIG_MASTER_CORE 42 #include "soc/bk7256/soc.h" 43 #elif CONFIG_SOC_BK7256 && CONFIG_SLAVE_CORE 44 #include "soc/bk7256_cp1/soc.h" 45 46 #elif CONFIG_SOC_BK7237 && !CONFIG_DUAL_CORE 47 #include "soc/bk7237/soc.h" 48 #elif CONFIG_SOC_BK7237 && CONFIG_MASTER_CORE 49 #include "soc/bk7237/soc.h" 50 #elif CONFIG_SOC_BK7237 && CONFIG_SLAVE_CORE 51 #include "soc/bk7237_cp1/soc.h" 52 53 #elif CONFIG_SOC_BK7235 && !CONFIG_DUAL_CORE 54 #include "soc/bk7235/soc.h" 55 #elif CONFIG_SOC_BK7235 && CONFIG_MASTER_CORE 56 #include "soc/bk7235/soc.h" 57 #elif CONFIG_SOC_BK7235 && CONFIG_SLAVE_CORE 58 #include "soc/bk7235_cp1/soc.h" 59 60 #endif 61 62