Changeset a9b5b5f in mainline for kernel/arch/arm32/src


Ignore:
Timestamp:
2010-07-27T19:00:20Z (15 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3d9d948
Parents:
ecf083dd
Message:

Userspace S3C24xx UART driver. Use for kbd input from gta02 serial console.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/arm32/src/mach/gta02/gta02.c

    recf083dd ra9b5b5f  
    4444#include <genarch/drivers/s3c24xx_timer/s3c24xx_timer.h>
    4545#include <genarch/srln/srln.h>
     46#include <sysinfo/sysinfo.h>
    4647#include <interrupt.h>
    4748#include <ddi/ddi.h>
     
    185186                stdout_wire(gta02_scons_dev);
    186187        }
     188
     189        /*
     190         * This is the necessary evil until the userspace driver is entirely
     191         * self-sufficient.
     192         */
     193        sysinfo_set_item_val("s3c24xx_uart", NULL, true);
     194        sysinfo_set_item_val("s3c24xx_uart.inr", NULL, S3C24XX_INT_UART2);
     195        sysinfo_set_item_val("s3c24xx_uart.address.physical", NULL,
     196            (uintptr_t) GTA02_SCONS_BASE);
     197
    187198}
    188199
Note: See TracChangeset for help on using the changeset viewer.