Skip to content

Commit

Permalink
Fixed additional clock registers
Browse files Browse the repository at this point in the history
  • Loading branch information
devos50 committed Aug 30, 2022
1 parent 906d257 commit e273e9a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions hw/arm/ipod_touch.c
Original file line number Diff line number Diff line change
Expand Up @@ -408,6 +408,10 @@ static void ipod_touch_init_clock(MachineState *machine, MemoryRegion *sysmem)
config1 |= 3; // set the unknown divisor 1 to 3
config1 |= (0 << 4); // set the unknown divisor 2 to 0
config1 |= (1 << 20); // set the peripheral factor to 1

config1 |= (1 << 14); // unknown
config1 |= (1 << 28); // set some PPL index to 1
config1 |= (1 << 30); // unknown
nms->clock1->config1 = config1;

uint64_t config2 = 0x0;
Expand Down

0 comments on commit e273e9a

Please sign in to comment.