kendryte/k210: remove sysctl code

Directly implement frequency discovery, making the sysctl code
unnecessary. While at it, Move all macro definitions from platform.c
into platform.h and cleanup that file, removing the need for the
Apache 2.0 license and Canaan Inc copyright.

Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Anup Patel <anup.patel@wdc.com>
This commit is contained in:
Damien Le Moal
2019-09-04 13:27:28 +09:00
committed by Anup Patel
parent fca8c3be01
commit 9dfe720579
4 changed files with 60 additions and 967 deletions

View File

@@ -7,5 +7,5 @@
# Damien Le Moal <damien.lemoal@wdc.com>
#
platform-objs-y += sysctl.o platform.o
platform-objs-y += platform.o
platform-dtb-y += k210.dtb