Enable and setup software interrupt for esp32s2 Signed-off-by: zhuyanlin <zhuyanlin1@xiaomi.com>
The name used in Tensilica support file core-isa.h for all vendors is `XCHAL_NUM_INTLEVELS`. Use a new name may be confused by newer porting xtensa arch. Change-Id: Ie108d3fdfcc02c81f0eacfca852a1cfc9eea17de