mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
erosqnative hw1/hw2: Check for DAC in bootloader
Check for the ES9018K2M dac in the bootloader for hw1/hw2 devices. Assume that all devices newer than hw2 have ES9018K2M DAC unconditionally. All devices will now report the correct hw revision in the debug menu under Device Data. Add devicedata.version field, current version 0. Rename device_data.lcd_version to device_data.hw_rev. hw2 devices with older bootloaders which ID as hw1 are special- cased to keep using hwvol on them. They should still upgrade though. Change-Id: If0fd5ce3bc6e85e511047721ec18e42fb89312e7
This commit is contained in:
parent
f895167345
commit
adbd0125fd
13 changed files with 110 additions and 38 deletions
|
@ -2624,8 +2624,9 @@ static bool dbg_device_data(void)
|
|||
simplelist_setline("Device data");
|
||||
|
||||
#if defined(EROS_QN)
|
||||
simplelist_addline("Lcd Version: %d", (int)device_data.lcd_version);
|
||||
simplelist_addline("Hardware Revision: %d", (int)device_data.hw_rev);
|
||||
#endif
|
||||
simplelist_addline("Struct Ver: %d", (int)device_data.version);
|
||||
|
||||
simplelist_setline("Device data RAW:");
|
||||
for (size_t i = 0; i < device_data.length; i += 4)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue