A commit that organizes the soc.h header of NXP SoCs: - removing redundant inclusions of sys/util.h - removing inclusions of device.h and kernel_includes.h - including the auto-generated DTS board header - including the fsl_common.h header - fixing minor style issues Signed-off-by: Ioannis Glaropoulos <Ioannis.Glaropoulos@nordicsemi.no>
32 lines
476 B
C
32 lines
476 B
C
/*
|
|
* Copyright (c) 2019 SEAL AG
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#ifndef _SOC__H_
|
|
#define _SOC__H_
|
|
|
|
#include <sys/util.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#ifndef _ASMLANGUAGE
|
|
|
|
#include <fsl_common.h>
|
|
|
|
/* Add include for DTS generated information */
|
|
#include <generated_dts_board.h>
|
|
|
|
#endif /* !_ASMLANGUAGE */
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
/* address bases */
|
|
#define PERIPH_ADDR_BASE_WDOG 0x40052000 /* Watchdog Timer module */
|
|
|
|
#endif /* _SOC__H_ */
|