summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--firmware/export/jz4740.h3
-rw-r--r--firmware/target/mips/ingenic_jz47xx/system-jz4760.c2
2 files changed, 3 insertions, 2 deletions
diff --git a/firmware/export/jz4740.h b/firmware/export/jz4740.h
index 379c9f8aaa..354379a950 100644
--- a/firmware/export/jz4740.h
+++ b/firmware/export/jz4740.h
@@ -4986,6 +4986,7 @@ do{ \
4986#define IPU_V_BASE 0xB3080000 4986#define IPU_V_BASE 0xB3080000
4987#define IPU__SIZE 0x00001000 4987#define IPU__SIZE 0x00001000
4988 4988
4989#ifndef __ASSEMBLY__
4989struct ipu_module 4990struct ipu_module
4990{ 4991{
4991 unsigned int reg_ctrl; // 0x0 4992 unsigned int reg_ctrl; // 0x0
@@ -5022,7 +5023,7 @@ struct Ration2m
5022 float ratio; 5023 float ratio;
5023 int n, m; 5024 int n, m;
5024}; 5025};
5025 5026#endif /* !__ASSEMBLY__ */
5026 5027
5027// Register offset 5028// Register offset
5028#define REG_CTRL 0x0 5029#define REG_CTRL 0x0
diff --git a/firmware/target/mips/ingenic_jz47xx/system-jz4760.c b/firmware/target/mips/ingenic_jz47xx/system-jz4760.c
index ef99048812..3a1321b992 100644
--- a/firmware/target/mips/ingenic_jz47xx/system-jz4760.c
+++ b/firmware/target/mips/ingenic_jz47xx/system-jz4760.c
@@ -533,7 +533,7 @@ static void serial_setbrg(void)
533 *uart_lcr = tmp; 533 *uart_lcr = tmp;
534} 534}
535 535
536static int serial_preinit(void); 536static int serial_preinit(void)
537{ 537{
538 volatile u8 *uart_fcr = (volatile u8 *)(CFG_UART_BASE + OFF_FCR); 538 volatile u8 *uart_fcr = (volatile u8 *)(CFG_UART_BASE + OFF_FCR);
539 volatile u8 *uart_lcr = (volatile u8 *)(CFG_UART_BASE + OFF_LCR); 539 volatile u8 *uart_lcr = (volatile u8 *)(CFG_UART_BASE + OFF_LCR);