nx: Adapt to common init changes

* As of https://github.com/LineageOS/android_device_nvidia_foster/commit/2594eafd1cb09c8d8f36310ce053268d11cbb4cb.

Change-Id: Icf52bdc42940147cc65425fe5b78f9e0f461ddc1
This commit is contained in:
Nolen Johnson committed 2024-02-06 02:32:54 -05:00
1 parent 98689dc4b8
commit 1d66134d3a
1 file changed
+8 -5
+8 -5
View File
@@ -31,11 +31,14 @@
void vendor_load_properties()
{
// device name model id sku api dpi
std::vector<tegra_init::devices> devices = { { "nx", "odin", "Switch", 0x494E, 0, 27, 214 },
{ "nx", "modin", "Switch v2", 0x494F, 1, 27, 214 },
{ "nx", "vali", "Switch Lite", 0x4C49, 2, 27, 214 },
{ "nx", "frig", "Switch OLED", 0x4947, 3, 27, 214 } };
// device name hardware model id sku api dpi
std::vector<tegra_init::devices> devices = {
{ "nx", "odin", "odin", "Switch", 0x494E, 0, 27, 214 },
{ "nx", "modin", "modin", "Switch v2", 0x494F, 1, 27, 214 },
{ "nx", "vali", "vali", "Switch Lite", 0x4C49, 2, 27, 214 },
{ "nx", "frig", "frig", "Switch OLED", 0x4947, 3, 27, 214 }
};
// NOTE: modin has same board id as odin, but we bumped by 0x00000001 to keep id's unique for dtimg entry indexing
tegra_init ti(devices);