Browse Source

ls3a3000 7a add CPU_GPIO_SET option support.

Change-Id: I140c91a1092c78280243304c01ce17cf4a434c48
Signed-off-by: QiaoChong <qiaochong@loongson.cn>
master
QiaoChong 6 years ago
committed by Chong Qiao
parent
commit
a1115d9777
  1. 5
      Targets/Bonito3a3000_7a/Bonito/tgt_machdep.c

5
Targets/Bonito3a3000_7a/Bonito/tgt_machdep.c

@ -538,6 +538,11 @@ void tgt_devconfig()
vga_available = 0;
printf("vga available : %d\n", vga_available);
#endif
#ifdef CPU_GPIO_SET
*(volatile int *)0xbfe00120 &= ~CPU_GPIO_SET;
*(volatile int *)0xbfe0011c |= CPU_GPIO_SET;
#endif
config_init();
configure();
gmac_mac_init();

Loading…
Cancel
Save