Werner Almesberger
|
591bb6427b
|
libubb/mmcclk.c (mmcclk_first): add flags to relax clock selection constraints
|
2013-01-28 20:49:17 -03:00 |
|
Werner Almesberger
|
c796ab1c54
|
libubb/physmem.c (physmem_xlat): make "v" "const"
Since we may use the buffer as well for reading only, there is no point in
pretending physmem_xlat itself would try to write to it.
|
2013-01-26 20:42:33 -03:00 |
|
Werner Almesberger
|
5efafd6fcc
|
libubb/include/ubb/regs4740.h: add symbolic bit/field definitions for DMA
|
2013-01-20 19:16:17 -03:00 |
|
Werner Almesberger
|
8509c1f7b9
|
libubb/include/ubb/regs4740.h: add symbolic bit/field definitions for MSC_*
|
2013-01-20 17:34:01 -03:00 |
|
Werner Almesberger
|
e669a1b2d1
|
libubb/physmem.c (physmem_xlat_vec): rename to physmem_xlat
|
2013-01-16 10:29:46 -03:00 |
|
Werner Almesberger
|
35d4b9f381
|
libubb/physmem.c: remove physmem_xlat; cache open pagemap fd
To avoid contamination, we open the pagemap file with O_CLOEXEC.
|
2013-01-16 10:26:51 -03:00 |
|
Werner Almesberger
|
3161d5555b
|
libubb/physmem.c (physmem_xlat_vec): more general version of physmem_xlat
|
2013-01-16 10:15:24 -03:00 |
|
Werner Almesberger
|
a8f905a85f
|
libubb/physmem.c: new function physmem_flush to flush cached writes to memory
This is mainly a wrapper for the "cacheflush" system call.
|
2013-01-15 23:30:02 -03:00 |
|
Werner Almesberger
|
b18d688570
|
libubb/mmcclk.c (mmcclk_first): base clock calculation on state of CPCCR.PCS
Also rename BEN_SYS_CLK_HZ to BEN_PLL_CLK_HZ, since the system clock
depends on CPCCR.PCS (while we assume BEN_PLL_CLK_HZ to be constant.)
|
2013-01-07 16:16:31 -03:00 |
|
Werner Almesberger
|
2f4e1bd6d7
|
libubb/include/ubb/regs4740.h: add CPCCR (clock control register)
|
2013-01-07 16:15:38 -03:00 |
|
Werner Almesberger
|
1eb8e64811
|
libubb/mmcclk.c: helper functions for selecting and configuring the MMC bus clock
Experimental.
|
2013-01-07 15:19:19 -03:00 |
|
Werner Almesberger
|
1c51cc6757
|
swuart/: merge library part into libubb
|
2012-12-17 22:16:32 -03:00 |
|
Werner Almesberger
|
2c52dac4ca
|
libubb/: helper library for UBB access
|
2012-12-17 00:44:48 -03:00 |
|