Add IMX_NCPUS to i.MX6 chip.h file

This commit is contained in:
Gregory Nutt 2016-03-02 10:28:09 -06:00
parent 0270530f75
commit bed5aa8731

View File

@ -46,10 +46,19 @@
* Pre-processor Definitions * Pre-processor Definitions
****************************************************************************/ ****************************************************************************/
/* The i.MX6 6Quad and 6Dual/DualLite are the only support i.MX6 family /* The i.MX6 6Quad and 6Dual/DualLite are the only support i.MX6 family
* members. * members. Individual differences between members of the families are not
* accounted for.
*/ */
#if defined(CONFIG_ARCH_CHIP_IMX6_6QUAD)
# define IMX_OCRAM_SIZE (256*1024) /* Size of the On-Chip RAM (OCRAM) */ # define IMX_OCRAM_SIZE (256*1024) /* Size of the On-Chip RAM (OCRAM) */
# define IMX_NXCPUS 4 /* 4 CPUs */
#elif defined(CONFIG_ARCH_CHIP_IMX6_6DUAL)
# define IMX_OCRAM_SIZE (256*1024) /* Size of the On-Chip RAM (OCRAM) */
# define IMX_NXCPUS 2 /* 2 CPUs */
#else
# error Unspecified i.MX6 chip
#endif
/**************************************************************************** /****************************************************************************
* Public Types * Public Types