diff options
author | Subrata Banik <subratabanik@google.com> | 2024-01-02 23:28:49 +0530 |
---|---|---|
committer | Subrata Banik <subratabanik@google.com> | 2024-01-05 09:24:01 +0000 |
commit | 8e7251c6257aa59fc73ae1f64c278341bfde4c95 (patch) | |
tree | 87ff3f97b130f29720cf4126d32b6bcdb0617bda /src/cpu/x86/64bit | |
parent | c64be928de8421ea1bb2f575e32d74d58e41d659 (diff) |
vendorcode/google/chromeos: Use unsigned int for "factory_config"
This patch ensures `chromeos_get_factory_config()` returns an
unsigned integer value because factory config represents
bit-fields to determine the Chromebook Plus branding.
Additionally, introduced safety measures to catch future
"factory_config" bit-field exhaustion.
BUG=b:317880956
TEST=Able to verify that google/screebo is branded as
Chromebook Plus.
Change-Id: I3021b8646de4750b4c8e2a2981f42500894fa2d0
Signed-off-by: Subrata Banik <subratabanik@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/79769
Reviewed-by: Kapil Porwal <kapilporwal@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Eric Lai <ericllai@google.com>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'src/cpu/x86/64bit')
0 files changed, 0 insertions, 0 deletions