Fwd: Patch code for sunxi uart

2015-04-22 Thread
Hello, This is a patch code to sunxi uart which fixes incorrect value of SXIUART_LCR register. The local variable 'lcd' in 'sxiuart_param' function should have initial value before use it. BRs, Joey Yu Index: arch/armv7/sunxi/sxiuart.c =

Question about armv7_icache_sync_range function

2015-11-19 Thread
Hello, I have a question for armv7_icache_sync_range function in sys/arch/arm/arm/cpufunc_asm_armv7.S ENTRY(armv7_icache_sync_range) ldr ip, .Larmv7_line_size cmp r1, #0x8000 movcs r1, #0x8000 The register r1 is the size of range to sync. My question is, why it