12.6.2 Don't reparse the package list
Space is very important in the firmware. Size can be reduced by reparsing the
forms and package list. However, it is better to let the code that already does
that kind of parsing perform this task. This code already exists in the
platform, so there is no reason to add it to a driver. In fact, even the
browser should call a GetString()
function instead of parsing the string
package itself.
TIP: Avoid writing code that parses the package list.
TIP: When in doubt, submit the package list, then the driver can call the getstring function and set-string function.