kakadu: prevent OEM name show "unkn"
ectool battery need to show proper OEM name when using dump battery.
BRANCH=kukui
TEST=make -j board=kakadu
TEST=make buildall
TEST=ectool battery
@@ -219,3 +219,15 @@ enum ec_status charger_profile_override_set_param(uint32_t param,
{
return EC_RES_INVALID_PARAM;
}
+
+int get_battery_manufacturer_name(char *dest, int size)
+{
+ static const char * const name[] = {
+ [BATTERY_SIMPLO] = "SIMPLO",
+ [BATTERY_ATL] = "Celxpert",
+ };
+ ASSERT(dest);
+ strzcpy(dest, name[BATT_ID], size);
+ return EC_SUCCESS;
+}
+
