projects
/
oweals
/
u-boot.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
ARM: dts: rk3399-evb: usb3.0 host support
[oweals/u-boot.git]
/
arch
/
xtensa
/
lib
/
relocate.c
1
// SPDX-License-Identifier: GPL-2.0+
2
/*
3
* Copyright (C) 2016 Cadence Design Systems Inc.
4
*/
5
6
#include <relocate.h>
7
#include <asm/sections.h>
8
#include <asm/string.h>
9
10
int clear_bss(void)
11
{
12
size_t len = (size_t)&__bss_end - (size_t)&__bss_start;
13
14
memset((void *)&__bss_start, 0x00, len);
15
return 0;
16
}
17