uart0-helloworld-sdboot: make remaining function static
Our uart0-helloworld-sdboot tools lives in a single source file, so we don't need to export any functions we use. Nevertheless most functions were in the past not marked as "static". Mark the one function that hasn't been touched and updated in the last few patches as "static", to avoid the compiler exporting them, and to help it with inlining functions. Signed-off-by: Andre Przywara <osp@andrep.de>
This commit is contained in:
parent
eedb1f57ae
commit
7c5d024a40
@ -301,7 +301,7 @@ static int sunxi_gpio_set_pull(u32 pin, u32 val)
|
||||
#define SID_OP_LOCK 0xAC /* Efuse operation lock value */
|
||||
#define SID_READ_START (1 << 1) /* bit 1 of SID_PRCTL, Software Read Start */
|
||||
|
||||
u32 sid_read_key(u32 sid_base, u32 offset)
|
||||
static u32 sid_read_key(u32 sid_base, u32 offset)
|
||||
{
|
||||
u32 reg_val;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user