Analysis: Some macro definition names are not standardized and lack prefixes. Solution: Add BSP_ prefix to GPIO_IRQ_BASE SYS_GPIO_IRQ_BASE PLIC_PHY_ADDR TIMER_CLK_FREQ UART_IRQ_BASE I2C_IRQ_BASE. Signed-off-by: Shicheng Chu <1468559561@qq.com>
Optimize the original i2c driver code. Signed-off-by: flyingcys <flyingcys@163.com> Reviewed-by: Chen Wang <unicorn_wang@outlook.com>