Changes in kernel/arch/arm32/src/mach/gta02/gta02.c [b366a6f4:d7533c7] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/arm32/src/mach/gta02/gta02.c
rb366a6f4 rd7533c7 158 158 { 159 159 #ifdef CONFIG_FB 160 parea_t fb_parea; 161 160 162 fb_properties_t prop = { 161 163 .addr = GTA02_FB_BASE, … … 168 170 169 171 outdev_t *fb_dev = fb_init(&prop); 170 if (fb_dev) 172 if (fb_dev) { 171 173 stdout_wire(fb_dev); 174 fb_parea.pbase = GTA02_FB_BASE; 175 fb_parea.frames = 150; 176 fb_parea.unpriv = false; 177 ddi_parea_register(&fb_parea); 178 } 172 179 #endif 173 180 174 181 /* Initialize serial port of the debugging console. */ 175 gta02_scons_dev = 176 s3c24xx_uart_init(GTA02_SCONS_BASE, S3C24XX_INT_UART2); 182 s3c24xx_uart_io_t *scons_io; 183 184 scons_io = (void *) hw_map(GTA02_SCONS_BASE, PAGE_SIZE); 185 gta02_scons_dev = s3c24xx_uart_init(scons_io, S3C24XX_INT_UART2); 177 186 178 187 if (gta02_scons_dev) {
Note:
See TracChangeset
for help on using the changeset viewer.