/* SPDX-License-Identifier: GPL-2.0-or-later */ /*************************************************************************** * Copyright (C) 2019 by Andreas Bolsch * * andreas.bolsch@mni.thm.de * ***************************************************************************/ .text .syntax unified .cpu cortex-m0 .thumb .thumb_func /* Params: * r0 - sector count * r1 - QSPI io_base * Clobbered: * r2 - r7 tmp */ #include "../../../../src/flash/nor/stmqspi.h" #define OCTOSPI_CCR_CCR (OCTOSPI_CCR - OCTOSPI_CCR) #define OCTOSPI_TCR_CCR (OCTOSPI_TCR - OCTOSPI_CCR) #define OCTOSPI_IR_CCR (OCTOSPI_IR - OCTOSPI_CCR) .macro octospi_abort movs r5, #(1<