Create new board BSP

From wiki.network-crawler.de
Jump to: navigation, search


relevant files:

Folder: board/<company_name>/mx7eval Files: File: include/configs/mx7eval.h File: configs/mx7eval_defconfig


board/<company_name>/mx7eval:

Kconfig

if TARGET_MX7EVAL

config SYS_BOARD

       default "mx7eval"

config SYS_VENDOR

       default "<company_name>"

config SYS_CONFIG_NAME

       default "mx7eval"

endif


also remember to add (arch/arm/Kconfig):

source "board/<company_name>/mx7eval/Kconfig"

add confg (arch/arm/mach-imx/mx7/Kconfig

config TARGET_MX7EVAL

       bool "mx7eval"
       select BOARD_LATE_INIT
       select MX7D
       select DM
       select DM_THERMAL