summaryrefslogtreecommitdiff
path: root/src/libultra_boot_O2/osDriveRomInit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libultra_boot_O2/osDriveRomInit.c')
-rw-r--r--src/libultra_boot_O2/osDriveRomInit.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libultra_boot_O2/osDriveRomInit.c b/src/libultra_boot_O2/osDriveRomInit.c
index af478f0e9..a9f2ea02b 100644
--- a/src/libultra_boot_O2/osDriveRomInit.c
+++ b/src/libultra_boot_O2/osDriveRomInit.c
@@ -17,7 +17,7 @@ OSPiHandle* osDriveRomInit(void) {
D_8000AC70 = 0;
__DriveRomHandle.type = DEVICE_TYPE_BULK;
- __DriveRomHandle.baseAddress = 0xa6000000;
+ __DriveRomHandle.baseAddress = 0xA6000000;
__DriveRomHandle.domain = 0;
__DriveRomHandle.speed = 0;
bzero(&__DriveRomHandle.transferInfo, sizeof(__OSTranxInfo));
@@ -26,10 +26,10 @@ OSPiHandle* osDriveRomInit(void) {
;
}
- HW_REG(PI_BSD_DOM1_LAT_REG, u32) = 0xff;
+ HW_REG(PI_BSD_DOM1_LAT_REG, u32) = 0xFF;
HW_REG(PI_BSD_DOM1_PGS_REG, u32) = 0;
HW_REG(PI_BSD_DOM1_RLS_REG, u32) = 3;
- HW_REG(PI_BSD_DOM1_PWD_REG, u32) = 0xff;
+ HW_REG(PI_BSD_DOM1_PWD_REG, u32) = 0xFF;
a = HW_REG(__DriveRomHandle.baseAddress, u32);
__DriveRomHandle.latency = a & 0xFF;