src/lib: Fix typos
Change-Id: Ia1da6637cfca5ddbd0879ea271bc68bb881b92e3 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/37563 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
8250e2e2d5
commit
0bc9f0b827
|
@ -97,7 +97,7 @@ size_t b64_decode(const uint8_t *input_data,
|
||||||
bd.data_size = input_length;
|
bd.data_size = input_length;
|
||||||
bd.input_index = 0;
|
bd.input_index = 0;
|
||||||
|
|
||||||
while (1) { /* Until input is exausted. */
|
while (1) { /* Until input is exhausted. */
|
||||||
int v = get_next_char(&bd);
|
int v = get_next_char(&bd);
|
||||||
|
|
||||||
if (v < 0) {
|
if (v < 0) {
|
||||||
|
|
|
@ -274,7 +274,7 @@ void *bootmem_allocate_buffer(size_t size)
|
||||||
end = max_addr;
|
end = max_addr;
|
||||||
begin = end - size;
|
begin = end - size;
|
||||||
|
|
||||||
/* Mark buffer as unusuable for future buffer use. */
|
/* Mark buffer as unusable for future buffer use. */
|
||||||
bootmem_add_range(begin, size, BM_MEM_PAYLOAD);
|
bootmem_add_range(begin, size, BM_MEM_PAYLOAD);
|
||||||
|
|
||||||
return (void *)(uintptr_t)begin;
|
return (void *)(uintptr_t)begin;
|
||||||
|
|
Loading…
Reference in New Issue