Changeset f1fc83a in mainline for kernel/arch/arm32/src/mach/gta02/gta02.c
- Timestamp:
- 2010-06-28T21:58:31Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 5c032932
- Parents:
- 6250c37
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/arm32/src/mach/gta02/gta02.c
r6250c37 rf1fc83a 37 37 #include <arch/mach/gta02/gta02.h> 38 38 #include <arch/mm/page.h> 39 #include <mm/page.h> 40 #include <genarch/drivers/s3c24xx_uart/s3c24xx_uart.h> 39 41 40 42 #define GTA02_MEMORY_START 0x30000000 /* physical */ 41 43 #define GTA02_MEMORY_SIZE 0x08000000 /* 128 MB */ 42 #define GTA02_MEMORY_SKIP 0x8000 /* 2 pages */ 44 #define GTA02_MEMORY_SKIP 0x8000 45 46 /** GTA02 serial console UART address (UART S3C24XX CPU UART channel 2). */ 47 #define GTA02_SCONS_BASE 0x50008000 43 48 44 49 static void gta02_init(void); … … 50 55 static void gta02_output_init(void); 51 56 static void gta02_input_init(void); 57 58 static void *gta02_scons_out; 52 59 53 60 struct arm_machine_ops gta02_machine_ops = { … … 64 71 static void gta02_init(void) 65 72 { 73 gta02_scons_out = (void *) hw_map(GTA02_SCONS_BASE, PAGE_SIZE); 66 74 } 67 75 … … 95 103 static void gta02_output_init(void) 96 104 { 105 outdev_t *scons_dev; 106 107 scons_dev = s3c24xx_uart_init((ioport8_t *) gta02_scons_out); 108 if (scons_dev) 109 stdout_wire(scons_dev); 97 110 } 98 111
Note:
See TracChangeset
for help on using the changeset viewer.