ite: Add support for variant
Add support for 512Kb version of ITE81302BX.
Required for rework of drawlat to support Nereid zephyr support.
TEST=make -j buildall
BRANCH=none
#elif defined(CHIP_VARIANT_IT81302AX_1024) \
|| defined(CHIP_VARIANT_IT81202AX_1024) \
|| defined(CHIP_VARIANT_IT81302BX_1024) \
+|| defined(CHIP_VARIANT_IT81302BX_512) \
|| defined(CHIP_VARIANT_IT81202BX_1024)
+
+#if defined(CHIP_VARIANT_IT81302BX_512)
+#define CONFIG_FLASH_SIZE_BYTES 0x00080000
+#define CONFIG_RAM_BASE 0x80080000
+#define CONFIG_RAM_SIZE 0x00010000
+#else
#define CONFIG_FLASH_SIZE_BYTES 0x00100000
#define CONFIG_RAM_BASE 0x80100000
#define CONFIG_RAM_SIZE 0x0000f000
+/* Set ILM (instruction local memory) size up to 1M bytes */
+#define IT83XX_CHIP_FLASH_SIZE_1MB
+#endif
/* Embedded flash is KGD */
#define IT83XX_CHIP_FLASH_IS_KGD
-/* Set ILM (instruction local memory) size up to 1M bytes */
-#define IT83XX_CHIP_FLASH_SIZE_1MB
/* chip id is 3 bytes */
#define IT83XX_CHIP_ID_3BYTES
/*
