Skip to content

Commit

Permalink
[driver] update sid api
Browse files Browse the repository at this point in the history
  • Loading branch information
YuzukiTsuru committed Dec 27, 2023
1 parent 3a5a133 commit 350e348
Show file tree
Hide file tree
Showing 14 changed files with 89 additions and 527 deletions.
2 changes: 1 addition & 1 deletion board/100ask-t113i/sys_info/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ int main(void) {

printk(LOG_LEVEL_INFO, "Hello World!\n");

dump_efuse();
syter_efuse_dump();

sunxi_clk_reset();

Expand Down
2 changes: 1 addition & 1 deletion board/tinyvision/read_chipsid/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ int main(void) {

sunxi_clk_init();

dump_efuse();
syter_efuse_dump();

return 0;
}
2 changes: 1 addition & 1 deletion board/yuzukilizard/read_chipsid/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ int main(void) {

sunxi_clk_init();

dump_efuse();
syter_efuse_dump();

return 0;
}
6 changes: 3 additions & 3 deletions include/drivers/sun8iw20/sys-sid.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ enum {
EFUSE_HV_SWITCH = SUNXI_RTC_BASE + 0x204,
};

uint32_t efuse_read(uint32_t offset);
uint32_t syter_efuse_read(uint32_t offset);

void efuse_write(uint32_t offset, uint32_t value);
void syter_efuse_write(uint32_t offset, uint32_t value);

void dump_efuse(void);
void syter_efuse_dump(void);

#endif// __SUN8IW20_SYS_SID_H__
6 changes: 3 additions & 3 deletions include/drivers/sun8iw21/sys-sid.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ enum {
EFUSE_HV_SWITCH = SUNXI_RTC_BASE + 0x204,
};

uint32_t efuse_read(uint32_t offset);
uint32_t syter_efuse_read(uint32_t offset);

void efuse_write(uint32_t offset, uint32_t value);
void syter_efuse_write(uint32_t offset, uint32_t value);

void dump_efuse(void);
void syter_efuse_dump(void);

#endif// __SUN8IW21_SYS_SID_H__
10 changes: 0 additions & 10 deletions minsys/sun50iw9_libdram/CMakeLists.txt

This file was deleted.

Binary file removed minsys/sun50iw9_libdram/libchipid.a
Binary file not shown.
Binary file removed minsys/sun50iw9_libdram/libdram.a
Binary file not shown.
Loading

0 comments on commit 350e348

Please sign in to comment.