Here is my modified version for IMXRT... although it isn't working.
I have removed the i2c touch support, and ripped out some of the picture handing logic.
I used the MCUXpresso pin config tool to set up the GPIO for CS, RS and FlexIO pins for WR, RD and data pins with 8-bit bus width.
For the DMA config I'm not sure what is correct for FlexIO2, I used:
#define DEMO_DMA DMA0
#define DEMO_DMAMUX DMAMUX
/* Macros for LCD EDMA. */
#define DEMO_FLEXIO_TX_DMA_CHANNEL 0
#define DEMO_FLEXIO_RX_DMA_CHANNEL 1
#define DEMO_FLEXIO_TX_DMA_REQUEST (kDmaRequestMuxFlexIO2Request0Request1)
#define DEMO_FLEXIO_RX_DMA_REQUEST (kDmaRequestMuxFlexIO2Request2Request3)