stm32f2xx_spi.c (c1d5b9add7b04661bedef9a3379a8b82547b53db) stm32f2xx_spi.c (e688df6bc4549f28534cdb001f168b8caae55b0c)
1/*
2 * STM32F405 SPI
3 *
4 * Copyright (c) 2014 Alistair Francis <alistair@alistair23.me>
5 *
6 * Permission is hereby granted, free of charge, to any person obtaining a copy
7 * of this software and associated documentation files (the "Software"), to deal
8 * in the Software without restriction, including without limitation the rights

--- 9 unchanged lines hidden (view full) ---

18 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
19 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22 * THE SOFTWARE.
23 */
24
25#include "qemu/osdep.h"
1/*
2 * STM32F405 SPI
3 *
4 * Copyright (c) 2014 Alistair Francis <alistair@alistair23.me>
5 *
6 * Permission is hereby granted, free of charge, to any person obtaining a copy
7 * of this software and associated documentation files (the "Software"), to deal
8 * in the Software without restriction, including without limitation the rights

--- 9 unchanged lines hidden (view full) ---

18 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
19 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22 * THE SOFTWARE.
23 */
24
25#include "qemu/osdep.h"
26#include "qapi/error.h"
27#include "qemu/log.h"
28#include "hw/ssi/stm32f2xx_spi.h"
29
30#ifndef STM_SPI_ERR_DEBUG
31#define STM_SPI_ERR_DEBUG 0
32#endif
33
34#define DB_PRINT_L(lvl, fmt, args...) do { \

--- 191 unchanged lines hidden ---
26#include "qemu/log.h"
27#include "hw/ssi/stm32f2xx_spi.h"
28
29#ifndef STM_SPI_ERR_DEBUG
30#define STM_SPI_ERR_DEBUG 0
31#endif
32
33#define DB_PRINT_L(lvl, fmt, args...) do { \

--- 191 unchanged lines hidden ---