Changeset 4480
- Timestamp:
- 06/09/08 04:10:18 (5 years ago)
- Location:
- trunk/src/host/qemu-neo1973
- Files:
-
- 3 edited
-
hw/neo1973.c (modified) (3 diffs)
-
hw/s3c2410.c (modified) (1 diff)
-
openmoko/flash.sh (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/host/qemu-neo1973/hw/neo1973.c
r4454 r4480 96 96 struct sd_card_s *mmc; 97 97 uint32_t id; 98 99 int bl_level; 98 100 }; 99 101 … … 106 108 static void neo_bl_intensity(int line, int level, void *opaque) 107 109 { 110 struct neo_board_s *s = (struct neo_board_s *) opaque; 111 108 112 #if 0 109 113 if (((s->io->bank[1].con >> (line * 2)) & 3) == 2) /* TOUT0 */ … … 111 115 s->timers->compareb[line], s->timers->countb[line]); 112 116 #else 113 neo_printf("LCD Backlight now at %i/64.\n", level >> 8); /* XXX */ 117 if ((level >> 8) != s->bl_level) { 118 s->bl_level = level >> 8; 119 neo_printf("LCD Backlight now at %i/64.\n", s->bl_level); 120 } 114 121 #endif 115 122 } -
trunk/src/host/qemu-neo1973/hw/s3c2410.c
r3736 r4480 633 633 printf("%s: processor powered off\n", __FUNCTION__); 634 634 s3c_gpio_setpwrstat(s->io, 2); 635 #if 0 635 636 cpu_reset(s->env); 636 637 s->env->regs[15] = 0; /* XXX */ 638 #endif 637 639 } else 638 640 if (value & (1 << 2)) /* Normal IDLE mode */ -
trunk/src/host/qemu-neo1973/openmoko/flash.sh
r3446 r4480 110 110 setenv splashimage 'nand read.e $splash_addr splash $splash_size; unzip $splash_addr 0x33d00000 0x96000' 111 111 setenv mtdids nand0=neo1973-nand 112 setenv mtdparts mtdparts=neo1973-nand:0x00050000(u-boot),0x00004000(u-boot_env),0x00208000(kernel),0x00010000(splash),0x039a4000(rootfs)113 #dynpart112 #setenv mtdparts mtdparts=neo1973-nand:0x00050000(u-boot),0x00004000(u-boot_env),0x00208000(kernel),0x00010000(splash),0x039a4000(rootfs) 113 dynpart 114 114 nand write.e $kernel_addr u-boot $uboot_size 115 115 dynenv set u-boot_env
Note: See TracChangeset
for help on using the changeset viewer.
