contrib/loaders/flash/hpmicro: add hpmicro device xpi support
- add xpi flash support for hpmicro devices Change-Id: I3531fdf20a34561c6f3fe6ac0b9af988d483aae7 Signed-off-by: Ryan QIAN <jianghao.qian@hpmicro.com> Reviewed-on: https://review.openocd.org/c/openocd/+/8695 Tested-by: jenkins Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
This commit is contained in:
21
contrib/loaders/flash/hpmicro/func_table.S
Normal file
21
contrib/loaders/flash/hpmicro/func_table.S
Normal file
@@ -0,0 +1,21 @@
|
||||
/* SPDX-License-Identifier: BSD-3-Clause */
|
||||
/*
|
||||
* Copyright (c) 2021 HPMicro
|
||||
*/
|
||||
.section .func_table, "ax"
|
||||
.global _init
|
||||
_init:
|
||||
jal flash_init
|
||||
ebreak
|
||||
jal flash_erase
|
||||
ebreak
|
||||
jal flash_program
|
||||
ebreak
|
||||
jal flash_read
|
||||
ebreak
|
||||
jal flash_get_info
|
||||
ebreak
|
||||
jal flash_erase_chip
|
||||
ebreak
|
||||
jal flash_deinit
|
||||
ebreak
|
||||
Reference in New Issue
Block a user