summaryrefslogtreecommitdiff
path: root/src/mainboard/google/cherry/bootblock.c
diff options
context:
space:
mode:
authorShelley Chen <shchen@google.com>2022-11-29 11:14:34 -0800
committerShelley Chen <shchen@google.com>2022-11-30 21:53:28 +0000
commit474da028ab436c9668d2c9a5142c5f1ab9460044 (patch)
tree97b53da06173d922c02b688d3605002bc2fcce4d /src/mainboard/google/cherry/bootblock.c
parent98d0574746c102f63ef5f69e446482d872ee11de (diff)
mb/google/herobrine: Only retrieve sku_id from EC once
Currently, we are getting the sku id from the EC every time we call the sku_id() function. However, this will never change so we only need to retrieve it once. Inserting exit condition if sku id is already set, then don't get it from the EC again. Also, removing the ram_code function, which does nothing right now. There is already a weak stub_function for this in src/lib/coreboot_table.c that already does the same thing. BUG=b:260740438,b:182963902 BRANCH=None TEST=make sure image still boots to login on herobrine device Change-Id: Ia787968100baf58a41ccce0cf95ed3ec9ce1758a Signed-off-by: Shelley Chen <shchen@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/70162 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Doug Anderson <dianders@chromium.org>
Diffstat (limited to 'src/mainboard/google/cherry/bootblock.c')
0 files changed, 0 insertions, 0 deletions