summaryrefslogtreecommitdiff
path: root/recipes-bsp/u-boot/rvphone/cl-imx8
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2021-08-07 01:37:23 +0200
committerUros Majstorovic <majstor@majstor.org>2021-08-07 01:37:23 +0200
commit0102ab2bf16e1f8e8d2b46295d7acdc7f98eeaa7 (patch)
tree4a333d54414cf6b576728f88414f65880511ff05 /recipes-bsp/u-boot/rvphone/cl-imx8
parentc6c159d4742c16dce25e6353876612e443a39b7d (diff)
fixed u-boot
Diffstat (limited to 'recipes-bsp/u-boot/rvphone/cl-imx8')
-rw-r--r--recipes-bsp/u-boot/rvphone/cl-imx8/0000-board-support.patch (renamed from recipes-bsp/u-boot/rvphone/cl-imx8/0000-add-board-support.patch)0
-rw-r--r--recipes-bsp/u-boot/rvphone/cl-imx8/board/rvphone/cl-imx8/Kconfig17
-rw-r--r--recipes-bsp/u-boot/rvphone/cl-imx8/configs/cl-imx8_android_defconfig8
-rw-r--r--recipes-bsp/u-boot/rvphone/cl-imx8/configs/cl-imx8_d1_defconfig8
-rw-r--r--recipes-bsp/u-boot/rvphone/cl-imx8/configs/cl-imx8_d2_defconfig8
-rw-r--r--recipes-bsp/u-boot/rvphone/cl-imx8/configs/cl-imx8_defconfig8
-rw-r--r--recipes-bsp/u-boot/rvphone/cl-imx8/include/configs/cl-imx8.h4
7 files changed, 20 insertions, 33 deletions
diff --git a/recipes-bsp/u-boot/rvphone/cl-imx8/0000-add-board-support.patch b/recipes-bsp/u-boot/rvphone/cl-imx8/0000-board-support.patch
index 6be287c..6be287c 100644
--- a/recipes-bsp/u-boot/rvphone/cl-imx8/0000-add-board-support.patch
+++ b/recipes-bsp/u-boot/rvphone/cl-imx8/0000-board-support.patch
diff --git a/recipes-bsp/u-boot/rvphone/cl-imx8/board/rvphone/cl-imx8/Kconfig b/recipes-bsp/u-boot/rvphone/cl-imx8/board/rvphone/cl-imx8/Kconfig
index 56058c4..4daaf23 100644
--- a/recipes-bsp/u-boot/rvphone/cl-imx8/board/rvphone/cl-imx8/Kconfig
+++ b/recipes-bsp/u-boot/rvphone/cl-imx8/board/rvphone/cl-imx8/Kconfig
@@ -1,23 +1,10 @@
-if TARGET_COMPULAB_IMX8
-
-choice
- prompt "rvPhone board select"
-
-config TARGET_CL_IMX8
- bool "cl-imx8"
-
-endchoice
-
-config DEFAULT_DTB
- string "U-Boot Default Device Tree File"
- depends on TARGET_RVPHONE_CL_IMX8
- default "cl-som.dtb"
+if TARGET_RVPHONE_CL_IMX8
config SYS_BOARD
default "cl-imx8"
config SYS_VENDOR
- default "compulab"
+ default "rvphone"
config SYS_CONFIG_NAME
default "cl-imx8"
diff --git a/recipes-bsp/u-boot/rvphone/cl-imx8/configs/cl-imx8_android_defconfig b/recipes-bsp/u-boot/rvphone/cl-imx8/configs/cl-imx8_android_defconfig
index 17a98e3..17df68f 100644
--- a/recipes-bsp/u-boot/rvphone/cl-imx8/configs/cl-imx8_android_defconfig
+++ b/recipes-bsp/u-boot/rvphone/cl-imx8/configs/cl-imx8_android_defconfig
@@ -2,14 +2,14 @@ CONFIG_ARM=y
CONFIG_ARCH_IMX8M=y
CONFIG_SYS_TEXT_BASE=0x40200000
CONFIG_SYS_MALLOC_F_LEN=0x2000
-CONFIG_TARGET_COMPULAB_IMX8=y
+CONFIG_TARGET_RVPHONE_CL_IMX8=y
CONFIG_FLASH_MCUFIRMWARE_SUPPORT=y
-CONFIG_DEFAULT_DEVICE_TREE="cl-som-imx8"
-CONFIG_LOCALVERSION="-cl-som-imx8-1.1"
+CONFIG_DEFAULT_DEVICE_TREE="cl-imx8"
+CONFIG_LOCALVERSION="-rvphone-cl-imx8"
CONFIG_FIT=y
CONFIG_SPL_LOAD_FIT=y
CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/mach-imx/spl_sd.cfg,ANDROID_SUPPORT"
-CONFIG_DEFAULT_FDT_FILE="sbc-imx8.dtb"
+CONFIG_DEFAULT_FDT_FILE="cl-imx8.dtb"
CONFIG_ARCH_MISC_INIT=y
CONFIG_SPL=y
CONFIG_SPL_BOARD_INIT=y
diff --git a/recipes-bsp/u-boot/rvphone/cl-imx8/configs/cl-imx8_d1_defconfig b/recipes-bsp/u-boot/rvphone/cl-imx8/configs/cl-imx8_d1_defconfig
index 6b3cc36..c9f08e4 100644
--- a/recipes-bsp/u-boot/rvphone/cl-imx8/configs/cl-imx8_d1_defconfig
+++ b/recipes-bsp/u-boot/rvphone/cl-imx8/configs/cl-imx8_d1_defconfig
@@ -2,15 +2,15 @@ CONFIG_ARM=y
CONFIG_ARCH_IMX8M=y
CONFIG_SYS_TEXT_BASE=0x40200000
CONFIG_SYS_MALLOC_F_LEN=0x2000
-CONFIG_TARGET_COMPULAB_IMX8=y
+CONFIG_TARGET_RVPHONE_CL_IMX8=y
CONFIG_RAM_1G=y
CONFIG_IMX_OPTEE=y
-CONFIG_DEFAULT_DEVICE_TREE="cl-som-imx8"
-CONFIG_LOCALVERSION="-cl-som-imx8-rev1.1-1.0-D1"
+CONFIG_DEFAULT_DEVICE_TREE="cl-imx8"
+CONFIG_LOCALVERSION="-rvphone-cl-imx8-D1"
CONFIG_FIT=y
CONFIG_SPL_LOAD_FIT=y
CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/mach-imx/spl_sd.cfg"
-CONFIG_DEFAULT_FDT_FILE="sbc-imx8.dtb"
+CONFIG_DEFAULT_FDT_FILE="cl-imx8.dtb"
CONFIG_ARCH_MISC_INIT=y
CONFIG_SPL=y
CONFIG_SPL_BOARD_INIT=y
diff --git a/recipes-bsp/u-boot/rvphone/cl-imx8/configs/cl-imx8_d2_defconfig b/recipes-bsp/u-boot/rvphone/cl-imx8/configs/cl-imx8_d2_defconfig
index 8f6cf9b..202315a 100644
--- a/recipes-bsp/u-boot/rvphone/cl-imx8/configs/cl-imx8_d2_defconfig
+++ b/recipes-bsp/u-boot/rvphone/cl-imx8/configs/cl-imx8_d2_defconfig
@@ -2,15 +2,15 @@ CONFIG_ARM=y
CONFIG_ARCH_IMX8M=y
CONFIG_SYS_TEXT_BASE=0x40200000
CONFIG_SYS_MALLOC_F_LEN=0x2000
-CONFIG_TARGET_COMPULAB_IMX8=y
+CONFIG_TARGET_RVPHONE_CL_IMX8=y
CONFIG_RAM_2G=y
CONFIG_IMX_OPTEE=y
-CONFIG_DEFAULT_DEVICE_TREE="cl-som-imx8"
-CONFIG_LOCALVERSION="-cl-som-imx8-rev1.1-1.0-D2"
+CONFIG_DEFAULT_DEVICE_TREE="cl-imx8"
+CONFIG_LOCALVERSION="-rvphone-cl-imx8-D2"
CONFIG_FIT=y
CONFIG_SPL_LOAD_FIT=y
CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/mach-imx/spl_sd.cfg"
-CONFIG_DEFAULT_FDT_FILE="sbc-imx8.dtb"
+CONFIG_DEFAULT_FDT_FILE="cl-imx8.dtb"
CONFIG_ARCH_MISC_INIT=y
CONFIG_SPL=y
CONFIG_SPL_BOARD_INIT=y
diff --git a/recipes-bsp/u-boot/rvphone/cl-imx8/configs/cl-imx8_defconfig b/recipes-bsp/u-boot/rvphone/cl-imx8/configs/cl-imx8_defconfig
index 4f48094..ed49417 100644
--- a/recipes-bsp/u-boot/rvphone/cl-imx8/configs/cl-imx8_defconfig
+++ b/recipes-bsp/u-boot/rvphone/cl-imx8/configs/cl-imx8_defconfig
@@ -2,14 +2,14 @@ CONFIG_ARM=y
CONFIG_ARCH_IMX8M=y
CONFIG_SYS_TEXT_BASE=0x40200000
CONFIG_SYS_MALLOC_F_LEN=0x2000
-CONFIG_TARGET_COMPULAB_IMX8=y
+CONFIG_TARGET_RVPHONE_CL_IMX8=y
CONFIG_IMX_OPTEE=y
-CONFIG_DEFAULT_DEVICE_TREE="cl-som-imx8"
-CONFIG_LOCALVERSION="-cl-som-imx8-rev1.1-1.0-CFG"
+CONFIG_DEFAULT_DEVICE_TREE="cl-imx8"
+CONFIG_LOCALVERSION="-rvphone-cl-imx8-CFG"
CONFIG_FIT=y
CONFIG_SPL_LOAD_FIT=y
CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/mach-imx/spl_sd.cfg"
-CONFIG_DEFAULT_FDT_FILE="sbc-imx8.dtb"
+CONFIG_DEFAULT_FDT_FILE="cl-imx8.dtb"
CONFIG_ARCH_MISC_INIT=y
CONFIG_SPL=y
CONFIG_SPL_BOARD_INIT=y
diff --git a/recipes-bsp/u-boot/rvphone/cl-imx8/include/configs/cl-imx8.h b/recipes-bsp/u-boot/rvphone/cl-imx8/include/configs/cl-imx8.h
index 049d09a..a2cb9a6 100644
--- a/recipes-bsp/u-boot/rvphone/cl-imx8/include/configs/cl-imx8.h
+++ b/recipes-bsp/u-boot/rvphone/cl-imx8/include/configs/cl-imx8.h
@@ -119,11 +119,11 @@
"fdt_addr=0x43000000\0" \
"fdt_high=0xffffffffffffffff\0" \
"boot_fdt=try\0" \
- "fdt_file="CONFIG_DEFAULT_DTB"\0" \
+ "fdt_file="CONFIG_DEFAULT_FDT_FILE"\0" \
"initrd_addr=0x43800000\0" \
"initrd_high=0xffffffffffffffff\0" \
"mmcdev="__stringify(CONFIG_SYS_MMC_ENV_DEV)"\0" \
- "mmcpart=" __stringify(CONFIG_SYS_MMC_IMG_LOAD_PART) "\0" \
+ "mmcpart="__stringify(CONFIG_SYS_MMC_IMG_LOAD_PART)"\0" \
"mmcautodetect=yes\0" \
"mmcargs=setenv bootargs console=${console} root=/dev/mmcblk${mmcdev}p2 rootwait rw\0 " \
"loadbootscript=load mmc ${mmcdev}:${mmcpart} ${loadaddr} ${script};\0" \