53 lines
1.6 KiB
C
Executable File
53 lines
1.6 KiB
C
Executable File
// 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
|
|
|
|
#include <sdkconfig.h>
|
|
|
|
#if CONFIG_SOC_BK7231N
|
|
#include "soc/bk7231n/mapping.h"
|
|
#elif CONFIG_SOC_BK7236
|
|
#include "soc/bk7236/mapping.h"
|
|
#elif CONFIG_SOC_BK7239
|
|
#include "soc/bk7239/mapping.h"
|
|
#elif CONFIG_SOC_BK7286
|
|
#include "soc/bk7286/mapping.h"
|
|
#elif CONFIG_SOC_BK7258
|
|
#include "soc/bk7258/mapping.h"
|
|
|
|
#elif CONFIG_SOC_BK7256 && (CONFIG_CPU_CNT == 1)
|
|
#include "soc/bk7256/mapping.h"
|
|
#elif CONFIG_SOC_BK7256 && CONFIG_SYS_CPU0
|
|
#include "soc/bk7256/mapping.h"
|
|
#elif CONFIG_SOC_BK7256 && CONFIG_SYS_CPU1
|
|
#include "soc/bk7256_cp1/mapping.h"
|
|
|
|
#elif CONFIG_SOC_BK7237 && (CONFIG_CPU_CNT == 1)
|
|
#include "soc/bk7237/mapping.h"
|
|
#elif CONFIG_SOC_BK7237 && CONFIG_SYS_CPU0
|
|
#include "soc/bk7237/mapping.h"
|
|
#elif CONFIG_SOC_BK7237 && CONFIG_SYS_CPU1
|
|
#include "soc/bk7237_cp1/mapping.h"
|
|
|
|
#elif CONFIG_SOC_BK7235 && (CONFIG_CPU_CNT == 1)
|
|
#include "soc/bk7235/mapping.h"
|
|
#elif CONFIG_SOC_BK7235 && CONFIG_SYS_CPU0
|
|
#include "soc/bk7235/mapping.h"
|
|
#elif CONFIG_SOC_BK7235 && CONFIG_SYS_CPU1
|
|
#include "soc/bk7235_cp1/mapping.h"
|
|
|
|
#endif
|
|
|