diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2022-06-11 21:12:04 +0000 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2022-06-11 21:12:04 +0000 |
commit | 931ae0cfebeb46892406efc7468636e59f8110a9 (patch) | |
tree | ae94bfb7f75e49c986ae6968291d919623e17e90 /sys/src/9/imx8/fns.h | |
parent | 276f2039a9bceb4bc23b0fa1ce3169057aac405e (diff) |
imx8: mainscreen turn on!
supports the lcd panel and adds alot of infrastructure
like for the ccm clock module and the i2c controllers.
Diffstat (limited to 'sys/src/9/imx8/fns.h')
-rw-r--r-- | sys/src/9/imx8/fns.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sys/src/9/imx8/fns.h b/sys/src/9/imx8/fns.h index 146216073..31baa25c9 100644 --- a/sys/src/9/imx8/fns.h +++ b/sys/src/9/imx8/fns.h @@ -80,6 +80,7 @@ extern void meminit(void); extern void putasid(Proc*); extern void* ucalloc(usize); +extern void* fbmemalloc(usize); /* clock */ extern void clockinit(void); @@ -138,3 +139,11 @@ extern void writeconf(void); extern int isaconfig(char*, int, ISAConf*); extern void links(void); + +/* ccm */ +extern void setclkgate(char *name, int on); +extern void setclkrate(char *name, char *source, int freq); +extern int getclkrate(char *name); + +/* lcd */ +extern void lcdinit(void); |