Re: [PATCH 4/7] ARM: socfpga: add arria10 support

2017-04-04 Thread Trent Piepho
On Mon, 2017-04-03 at 12:55 +0200, Steffen Trumtrar wrote: > + vco = src_hz; > + vco /= (1 + denom); > + vco *= (1 + numer); Don't you get rounding error by dividing first? > + /* dedicated pins */ > + writel(pinmux->dedicated_io_4, ARRIA10_PINMUX_DEDICATED_IO_ADDR + 0x0c);

Re: [PATCH 0/7] SoCFPGA: add support for Arria10

2017-04-04 Thread Trent Piepho
On Mon, 2017-04-03 at 12:55 +0200, Steffen Trumtrar wrote: > Although Cyclone5 and Arria10 share a lot of the peripherals, > they a different in the critical parts (SDRAM controller, clock setup,...) > > The Arria10 has a larger OCRAM (64KB vs 256KB), that is why we can > omit the xload support

Re: State Framework and dtb

2017-04-04 Thread Ian Abbott
On 04/04/17 11:27, Çağlar Kilimci wrote: Hey, 2017-04-04 11:04 GMT+03:00 Jan Remmet : On Mon, Apr 03, 2017 at 11:59:50PM +0300, Çağlar Kilimci wrote: Hello, 2017-03-31 16:00 GMT+03:00 Sascha Hauer : On Fri, Mar 31, 2017 at 02:41:19PM +0300, Çağlar

Re: State Framework and dtb

2017-04-04 Thread Çağlar Kilimci
Hey, 2017-04-04 11:04 GMT+03:00 Jan Remmet : > On Mon, Apr 03, 2017 at 11:59:50PM +0300, Çağlar Kilimci wrote: >> Hello, >> >> 2017-03-31 16:00 GMT+03:00 Sascha Hauer : >> > On Fri, Mar 31, 2017 at 02:41:19PM +0300, Çağlar Kilimci wrote: >> >> Hey, >>

Directory mirroring

2017-04-04 Thread Daniel Schultz
Hi everyone, my boot partition is mounted to /boot/. Now, I want to make it accessible in /mnt/ as mmc or emmc, depending to the bootsource. Sadly, ln can only create symlinks for files and two mounts for one device seems not to work. Are there other ways to mirror a file system? -- Mit

Re: State Framework and dtb

2017-04-04 Thread Jan Remmet
On Mon, Apr 03, 2017 at 11:59:50PM +0300, Çağlar Kilimci wrote: > Hello, > > 2017-03-31 16:00 GMT+03:00 Sascha Hauer : > > On Fri, Mar 31, 2017 at 02:41:19PM +0300, Çağlar Kilimci wrote: > >> Hey, > >> > >> > >> I tried but got the same result and then I would like to

Re: State Framework and dtb

2017-04-04 Thread Çağlar Kilimci
2017-04-04 9:22 GMT+03:00 Sascha Hauer : > On Mon, Apr 03, 2017 at 11:59:50PM +0300, Çağlar Kilimci wrote: >> Hello, >> >> Finally, I updated and patched the code and now I can see state@0 >> device in the of_dump: > > Ok, looks good. How does the boot log look like? Still

Re: [PATCH] openrisc: fix call to restart_handler_register_fn

2017-04-04 Thread Sascha Hauer
On Wed, Mar 29, 2017 at 03:45:04PM +0200, Franck Jullien wrote: > 2017-03-29 8:42 GMT+02:00 Sascha Hauer : > > On Fri, Mar 24, 2017 at 08:35:22PM +0100, Franck Jullien wrote: > >> Signed-off-by: Franck Jullien > >> --- > >>

Re: [PATCH v1] i.MX: hab: fix compile after define renames

2017-04-04 Thread Sascha Hauer
On Tue, Mar 28, 2017 at 11:14:16AM +0200, Oleksij Rempel wrote: > Some defines was renamed by this patch: > | commit 75e98198234ce18ab15f581cf7b52aaf0b46d792 > | i.MX: Add fusemap for VF610 > > which was not included in my initial patch. So fix it. > > Signed-off-by: Oleksij Rempel

[PATCH] state: remove unused variable type

2017-04-04 Thread Sascha Hauer
enum state_variable_type is never used. Remove it. Signed-off-by: Sascha Hauer --- common/state/state.h | 10 -- common/state/state_variables.c | 5 - 2 files changed, 15 deletions(-) diff --git a/common/state/state.h b/common/state/state.h index

[PATCH] global command: print info about variables

2017-04-04 Thread Sascha Hauer
The info contains useful information at least for enums, for these the possible values are printed. This makes the output of the "global" command more useful and similar to "devinfo global" Signed-off-by: Sascha Hauer --- common/globalvar.c | 5 - 1 file changed, 4

Re: State Framework and dtb

2017-04-04 Thread Sascha Hauer
On Mon, Apr 03, 2017 at 11:59:50PM +0300, Çağlar Kilimci wrote: > Hello, > > 2017-03-31 16:00 GMT+03:00 Sascha Hauer : > > On Fri, Mar 31, 2017 at 02:41:19PM +0300, Çağlar Kilimci wrote: > >> Hey, > >> > >> > >> I tried but got the same result and then I would like to

Re: State patches

2017-04-04 Thread Sascha Hauer
Hi Sam, On Mon, Apr 03, 2017 at 10:15:11PM +0200, Sam Ravnborg wrote: > Hi Sasha. > > On Fri, Mar 31, 2017 at 09:03:04AM +0200, Sascha Hauer wrote: > > Hi All, > > > > Here is a ton of patches working on the state framework: > > > > - make code easier to follow > > - Drop cached backend,