Added S32K1XX EEEPROM init code
This commit is contained in:
parent
efbe4c89e2
commit
662bd5e49a
@ -57,6 +57,10 @@
|
||||
# include "s32k1xx_lpi2c.h"
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_S32K1XX_EEEPROM
|
||||
# include "s32k1xx_eeeprom.h"
|
||||
#endif
|
||||
|
||||
#include "rddrone-uavcan144.h"
|
||||
|
||||
/****************************************************************************
|
||||
@ -154,5 +158,10 @@ int s32k1xx_bringup(void)
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_S32K1XX_EEEPROM
|
||||
/* Register EEEPROM block device */
|
||||
s32k1xx_eeeprom_register(0, 4096);
|
||||
#endif
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
@ -57,6 +57,10 @@
|
||||
# include "s32k1xx_lpi2c.h"
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_S32K1XX_EEEPROM
|
||||
# include "s32k1xx_eeeprom.h"
|
||||
#endif
|
||||
|
||||
#include "rddrone-uavcan146.h"
|
||||
|
||||
/****************************************************************************
|
||||
@ -151,5 +155,10 @@ int s32k1xx_bringup(void)
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_S32K1XX_EEEPROM
|
||||
/* Register EEEPROM block device */
|
||||
s32k1xx_eeeprom_register(0, 4096);
|
||||
#endif
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
@ -51,6 +51,10 @@
|
||||
# include <nuttx/leds/userled.h>
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_S32K1XX_EEEPROM
|
||||
# include "s32k1xx_eeeprom.h"
|
||||
#endif
|
||||
|
||||
#include "s32k118evb.h"
|
||||
|
||||
/****************************************************************************
|
||||
@ -116,5 +120,10 @@ int s32k1xx_bringup(void)
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_S32K1XX_EEEPROM
|
||||
/* Register EEEPROM block device */
|
||||
s32k1xx_eeeprom_register(0, 4096);
|
||||
#endif
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
@ -56,6 +56,10 @@
|
||||
# include "s32k1xx_lpi2c.h"
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_S32K1XX_EEEPROM
|
||||
# include "s32k1xx_eeeprom.h"
|
||||
#endif
|
||||
|
||||
#include "s32k144evb.h"
|
||||
|
||||
/****************************************************************************
|
||||
@ -148,5 +152,10 @@ int s32k1xx_bringup(void)
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_S32K1XX_EEEPROM
|
||||
/* Register EEEPROM block device */
|
||||
s32k1xx_eeeprom_register(0, 4096);
|
||||
#endif
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
@ -56,6 +56,10 @@
|
||||
# include "s32k1xx_lpi2c.h"
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_S32K1XX_EEEPROM
|
||||
# include "s32k1xx_eeeprom.h"
|
||||
#endif
|
||||
|
||||
#include "s32k146evb.h"
|
||||
|
||||
/****************************************************************************
|
||||
@ -148,5 +152,10 @@ int s32k1xx_bringup(void)
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_S32K1XX_EEEPROM
|
||||
/* Register EEEPROM block device */
|
||||
s32k1xx_eeeprom_register(0, 4096);
|
||||
#endif
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
@ -51,6 +51,10 @@
|
||||
# include <nuttx/leds/userled.h>
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_S32K1XX_EEEPROM
|
||||
# include "s32k1xx_eeeprom.h"
|
||||
#endif
|
||||
|
||||
#include "s32k148evb.h"
|
||||
|
||||
/****************************************************************************
|
||||
@ -105,5 +109,10 @@ int s32k1xx_bringup(void)
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_S32K1XX_EEEPROM
|
||||
/* Register EEEPROM block device */
|
||||
s32k1xx_eeeprom_register(0, 4096);
|
||||
#endif
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user