Commit 8dcd61e3 authored by Cong Nguyen Huu's avatar Cong Nguyen Huu Committed by Carles Cufi
Browse files

soc: nxp_s32: pinctrl: update to RTD 1.0.0

Add alias "FEATURE_SIUL2_MAX_NUMBER_OF_INPUT"
for compatibility with with previous RTD versions.

Signed-off-by: default avatarCong Nguyen Huu <cong.nguyenhuu@nxp.com>
parent 5095d9d9
Loading
Loading
Loading
Loading
+5 −0
Changes for soc/arm/nxp_s32/common/pinctrl_soc.h: 5 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -19,6 +19,11 @@
/** @brief Type for NXP S32 pin configuration. */
typedef Siul2_Port_Ip_PinSettingsConfig pinctrl_soc_pin_t;

/* Alias for compatibility with previous RTD versions */
#if !defined(FEATURE_SIUL2_MAX_NUMBER_OF_INPUT) && defined(FEATURE_SIUL2_MAX_NUMBER_OF_INPUT_U8)
#define FEATURE_SIUL2_MAX_NUMBER_OF_INPUT FEATURE_SIUL2_MAX_NUMBER_OF_INPUT_U8
#endif

#if defined(SIUL2_PORT_IP_MULTIPLE_SIUL2_INSTANCES)
#define NXP_S32_SIUL2_IDX(n)								\
	n == 0 ? IP_SIUL2_0 : (n == 1 ? IP_SIUL2_1 : (					\