summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 489b1e6)
raw | patch | inline | side by side (parent: 489b1e6)
author | Srinivas <madans@ti.com> | |
Wed, 12 Sep 2018 20:06:23 +0000 (16:06 -0400) | ||
committer | Srinivas <madans@ti.com> | |
Wed, 12 Sep 2018 21:13:20 +0000 (17:13 -0400) |
Creates AM65xx_idk SBL by using common SBL sources for AM65xx
Signed-off-by: Madan Srinivas<madans@ti.com>
Signed-off-by: Madan Srinivas<madans@ti.com>
board/am65xx/sbl_main.c | [moved from board/am65xx_evm/sbl_main.c with 100% similarity] | patch | blob | history |
board/am65xx_evm/dummy_folder_src_in_am65xx | [new file with mode: 0644] | patch | blob |
board/am65xx_idk/dummy_folder_src_in_am65xx | [new file with mode: 0644] | patch | blob |
build/sbl_img.mk | patch | blob | history | |
build/sbl_smp_test.mk | patch | blob | history | |
sbl_component.mk | patch | blob | history | |
soc/am65xx/sbl_soc.c | patch | blob | history |
diff --git a/board/am65xx_evm/dummy_folder_src_in_am65xx b/board/am65xx_evm/dummy_folder_src_in_am65xx
diff --git a/board/am65xx_idk/dummy_folder_src_in_am65xx b/board/am65xx_idk/dummy_folder_src_in_am65xx
diff --git a/build/sbl_img.mk b/build/sbl_img.mk
index 27b341a681656521b30bce784aecf7c61777d514..07d6d19eebfab56c036e5b08cd00a718a181bb28 100644 (file)
--- a/build/sbl_img.mk
+++ b/build/sbl_img.mk
APP_NAME = sbl_$(BOOTMODE)_img
BUILD_OS_TYPE = baremetal
-SRCDIR += $(PDK_SBL_COMP_PATH)/board/$(BOARD)
+SRCDIR += $(PDK_SBL_COMP_PATH)/board/$(SOC)
INCDIR += $(PDK_SBL_COMP_PATH)
-INCDIR += $(PDK_SBL_COMP_PATH)/board/$(BOARD)
INCDIR += $(PDK_SBL_COMP_PATH)/soc
INCDIR += $(PDK_SBL_COMP_PATH)/soc/$(SOC)
CFLAGS_LOCAL_COMMON = $(PDK_CFLAGS) $(SBL_CFLAGS)
-PACKAGE_SRCS_COMMON = $(PDK_SBL_COMP_PATH)/board/$(BOARD)
+PACKAGE_SRCS_COMMON = $(PDK_SBL_COMP_PATH)/board/$(SOC)
# List all the external components/interfaces, whose interface header files
# need to be included for this component
diff --git a/build/sbl_smp_test.mk b/build/sbl_smp_test.mk
index 56579f947e8da4507ca4177b01596cf595778c16..7bf996fd1087655e4aa837e294cc662393ffd969 100644 (file)
--- a/build/sbl_smp_test.mk
+++ b/build/sbl_smp_test.mk
INCDIR += $(PDK_SBL_COMP_PATH)
INCDIR += $(PDK_SBL_COMP_PATH)/soc
INCDIR += $(PDK_SBL_COMP_PATH)/soc/$(SOC)
-INCDIR += $(PDK_SBL_COMP_PATH)/board/$(BOARD)
INCDIR += $(PDK_SBL_COMP_PATH)/example/ampMulticoreApp
CFLAGS_LOCAL_COMMON = $(PDK_CFLAGS) $(SBL_CFLAGS)
diff --git a/sbl_component.mk b/sbl_component.mk
index f2b1feaa1c426352349674c1c314434563655412..845950b381f8327d125dbd39d558bd4b85b114b3 100644 (file)
--- a/sbl_component.mk
+++ b/sbl_component.mk
#
ifeq ($(sbl_component_make_include), )
-sbl_BOARDLIST = am65xx_evm
+sbl_BOARDLIST = am65xx_evm am65xx_idk
sbl_SOCLIST = am65xx
#
# SBL Image
sbl_$(BOOTMODE)_img_COMP_LIST = sbl_$(BOOTMODE)_img
-sbl_$(BOOTMODE)_img_RELPATH = ti/boot/sbl/board/$(BOARD)
+sbl_$(BOOTMODE)_img_RELPATH = ti/boot/sbl/board/$(SOC)
sbl_$(BOOTMODE)_img_OBJPATH = $(PDK_SBL_COMP_PATH)/obj/$(BOOTMODE)
sbl_$(BOOTMODE)_img_BINPATH = $(PDK_SBL_COMP_PATH)/img/$(BOOTMODE)
sbl_$(BOOTMODE)_img_PATH = $(PDK_SBL_COMP_PATH)/board/$(BOARD)
export sbl_boot_test_CORE_DEPENDENCY
sbl_boot_test_PKG_LIST = sbl_boot_test
sbl_boot_test_INCLUDE = $(sbl_boot_test_PATH)
-sbl_boot_test_BOARDLIST = am65xx_evm
+sbl_boot_test_BOARDLIST = am65xx_evm am65xx_idk
export sbl_boot_test_BOARDLIST
sbl_boot_test_$(SOC)_CORELIST = $(sbl_$(SOC)_CORELIST)
export sbl_boot_test_$(SOC)_CORELIST
export sbl_multicore_amp_CORE_DEPENDENCY
sbl_multicore_amp_PKG_LIST = sbl_multicore_amp
sbl_multicore_amp_INCLUDE = $(sbl_multicore_amp_PATH)
-sbl_multicore_amp_BOARDLIST = am65xx_evm
+sbl_multicore_amp_BOARDLIST = am65xx_evm am65xx_idk
export sbl_multicore_amp_BOARDLIST
sbl_multicore_amp_$(SOC)_CORELIST := $(word $(words $(sbl_am65xx_CORELIST)), $(sbl_am65xx_CORELIST))
export sbl_multicore_amp_$(SOC)_CORELIST
export sbl_smp_test_CORE_DEPENDENCY
sbl_smp_test_PKG_LIST = sbl_smp_test
sbl_smp_test_INCLUDE = $(sbl_smp_test_PATH)
-sbl_smp_test_BOARDLIST = am65xx_evm
+sbl_smp_test_BOARDLIST = am65xx_evm am65xx_idk
export sbl_smp_test_BOARDLIST
sbl_smp_test_$(SOC)_CORELIST = mcu1_0 mpu1_0
export sbl_smp_test_$(SOC)_CORELIST
export sbl_multicore_smp_CORE_DEPENDENCY
sbl_multicore_smp_PKG_LIST = sbl_multicore_smp
sbl_multicore_smp_INCLUDE = $(sbl_multicore_smp_PATH)
-sbl_multicore_smp_BOARDLIST = am65xx_evm
+sbl_multicore_smp_BOARDLIST = am65xx_evm am65xx_idk
export sbl_multicore_smp_BOARDLIST
sbl_multicore_smp_$(SOC)_CORELIST := $(word $(words $(sbl_am65xx_CORELIST)), $(sbl_am65xx_CORELIST))
export sbl_multicore_smp_$(SOC)_CORELIST
diff --git a/soc/am65xx/sbl_soc.c b/soc/am65xx/sbl_soc.c
index fe8608a4041dcff9612fb16d159ad2d7ba94e184..622efc3354ff65b9c41bbe016577d1dd56affa71 100644 (file)
--- a/soc/am65xx/sbl_soc.c
+++ b/soc/am65xx/sbl_soc.c
*/
#include "sbl_soc.h"
-#include <ti/board/src/am65xx_evm/include/board_cfg.h>
+#include <ti/board/board_cfg.h>
#include <ti/board/src/flash/include/board_flash.h>
#include <ti/drv/spi/soc/SPI_soc.h>