headers: Don't blindly include <inttypes.h> in files used by ASM

Causes things to go boom with newer toolchains.

Change-Id: Ibd00edc9ea16aae8115b63ebce08ac920b0608a2
This commit is contained in:
Solomon Peachy 2020-03-28 19:34:50 -04:00
parent 022dfe7ab3
commit 6450cbbdca
3 changed files with 7 additions and 2 deletions

View File

@ -24,6 +24,7 @@
/*
* ARM PrimeCell PL080 Multiple Master DMA controller
*/
#include <stdint.h>
#include <stddef.h>
#include <stdbool.h>

View File

@ -19,7 +19,9 @@
*
****************************************************************************/
#include <inttypes.h>
#ifndef ASM
#include <stdint.h>
#endif
#define REG8_PTR_T volatile uint8_t *
#define REG16_PTR_T volatile uint16_t *

View File

@ -22,7 +22,9 @@
#ifndef __S5L8702_H__
#define __S5L8702_H__
#include <inttypes.h>
#ifndef ASM
#include <stdint.h>
#endif
#define REG8_PTR_T volatile uint8_t *
#define REG16_PTR_T volatile uint16_t *