Skip to content

Commit f199655

Browse files
Dingqiang Linrkhuangtao
authored andcommitted
drivers: rkflash: add rk_sftl_arm_v7_thumb version
1.Add sftl thumb instruction version lib; 2.Add sftl release data. Change-Id: I5fa09ada94e7f40a317ca621c3eb1c0abd73847d Signed-off-by: Dingqiang Lin <jon.lin@rock-chips.com>
1 parent ec43857 commit f199655

4 files changed

Lines changed: 41589 additions & 9 deletions

File tree

drivers/rkflash/Makefile

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,9 @@ obj-$(CONFIG_RK_SFC_NAND) += rkflash_blk.o rksfc_base.o rkflash_debug.o sfc_nand
55
obj-$(CONFIG_RK_SFC_NOR) += rkflash_blk.o rksfc_base.o rkflash_debug.o sfc_nor_boot.o sfc_nor.o sfc.o
66
obj-$(CONFIG_RK_SFC_NOR_MTD) += sfc_nor_mtd.o
77

8-
ifneq (, $(CONFIG_RK_NANDC_NAND)$(CONFIG_RK_SFC_NAND))
9-
10-
ifdef CONFIG_ARM64
11-
obj-y += rk_sftl_arm_v8.o
8+
ifdef CONFIG_THUMB2_KERNEL
9+
obj-$(CONFIG_THUMB2_KERNEL) += rk_sftl_arm_v7_thumb.o
1210
else
13-
obj-y += rk_sftl_arm_v7.o
11+
obj-$(CONFIG_ARM64) += rk_sftl_arm_v8.o
12+
obj-$(CONFIG_ARM) += rk_sftl_arm_v7.o
1413
endif
15-
16-
endif

drivers/rkflash/rk_sftl_arm_v7.S

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
/* SPDX-License-Identifier: GPL-2.0 */
22

3-
/* Copyright (c) 2018 Rockchip Electronics Co. Ltd. */
3+
/*
4+
* Copyright (c) 2018 Rockchip Electronics Co. Ltd.
5+
* date: 2018-06-13
6+
*/
47
.arch armv7-a
58
.eabi_attribute 20, 1
69
.eabi_attribute 21, 1

0 commit comments

Comments
 (0)