regenerated endpoint_mdio.h, it had 4 instead of 5 bit mask for reading bitslide value

It becomes a problem when WRPC works in 16-bit PCS mode. In such case bitslide
value is 5bit and masking it with 0xF could cause wrong bts once in a while.
dev/ep_pfilter: Updated filter rules for wr-nic repository.

- Added CONFIG_WRNIC in Kconfig to decide which filter rules will be use.
- Updated ep_pfilter using CONFIG_WRNIC.
- We do not use drop because all other packet goes to NIC core.

Note: filter rules to wr-nic do not have DROP instruction because all traffic
does not go to LM32/Etherbone is re-direct to NIC by default.
dev/ep_pfilter: Updated filter rules for wr-nic (with etherbone) project.

	- Added the NIC_PFILTER configuration option in Kconfig to decide which filter rules will be used.
	- Updated the dev/ep_pfilter.c file by using the CONFIG_NIC_PFILTER macro. This is done because packet filter does
	not work correctly if we write all rules in the CONFIG_ETHERBONE section.
	- We do not use the DROP instruction because all other packets go to NIC core.

Notes:

	- The filter rules to the wr-nic do not have the DROP instruction because all traffic
	does not go to the LM32/Etherbone is re-direct to the NIC by default.

	- The NIC_PFILTER configuration option depends on ETHERBONE one.

	- Magic number of Etherbone packets is not checked due to the number of rules. (The packet filter is not able to classify correctly)
cmd_refresh: A new CLI command added to change update time period of gui and stat statistics

	- Add new command "refresh" to change update period of gui and stat
	- Delete "stat cont" command
	- Update "stat" command to work as older "stat cont" one
	- Update the wrc_main.c file to check if the log messages must be generated one time

Note: If you set period to 0, the log messages are only generated one time.
doc: Updated wrpc.in document

	+ Added information about the refresh command
	+ Deleted references about "stat cont" command ("stat" command works as it now)
	+ Modified the stat examples of "Running the Core" section
declare global variable for refresh command and monitors in wrc_main where also UI mode is stored
cmd_refresh: fix warnings

Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
move declaration of external wrc_ui_refperiod to wrc.h
trivial: remove unused dev/dna.c (leftover)

Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
trivial: remove unused debug.S

Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
softpll-unify: set pi->y like wr-switch-sw does

The commit is part of the effort in unifying softpll with
wr-switch-sw, and later remove the duplicated code there.

Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
softpll-unify: support different parameters in wrs/wrnode

This has no effect on wrc.bin. The commit unifies the directory
softpll/ between wr-switch and wr-node. No differences are left.

This is an ugly ifdef, but I prefer merging the code base (removing
duplicates) before addressing the configuration problem.

Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
softpll-unify: split board.h in two headers, for wrc and wrs

This has no effect on wrc.bin: board.h is renamed into board-wrc.h
and included by the new board.h. The new board-wrs.h is copied from
wr-switch-sw/rt/include/board.h

Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
softpll-unify: change include/trace.h for wr-switch

include/trace.h is different in wr-switch. This uses an ugly ifdef
to make wr-switch rt_cpu code build here unmodified.

Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
softpll-unify: header changes

softpll is built for both wrc and wrs; since it includes wrc.h and
syscon.h, we must make them suitable for both environments.

Waiting for the time and energies for a better merge, this uses ifdef
to differentiate the two cases: the timer code is different (different
prototypes) and the clock frequency is different as well (125 vs 62.5
MHz).

Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
softpll-unify: add new files, from wr-switch-sw/rt

The commit is part of the effort in unifying softpll with
wr-switch-sw, and later remove the duplicated code there.

The files added by these commit are going to be built when configuring
wrpc-sw to build wr-switch rt_cpu (which is, basically, the softpll
code alone, with mini-rpc with the host and the basic glue code).  The
files are copied with the original name with two exceptions:

   wr-switch-sw::rt/main.c            becomes wrpc-sw::wrs_main.c
   wr-switch-sw::rt/arch/lm32/ram.ld  becomes wrpc-sw::arch/lm32/ram-wrs.ld

The files are copied from commit FIXME of wr-switch-sw.

This commit has no technical effect, as the files are not built for wrpc-sw.

Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
softpll-unify: makefile changes (no effect at this point)

This fixes the makefile to build either wrc.bin or rt_cpu.bin, using
the obj-y convention. At this point Kconfig can't select rt_cpu.bin,
and nothing changes in the ouput binary, in all configurations.

Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
softpll-unify: final fixups for rt_cpu.bin

This fixes a missing symbol and another minor header issue.  Needed to
build for wr-switch.

Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
softpll-unify: Kconfig: support wr-switch-sw::rt_cpu.bin

Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
configs: refresh defconfigs with new Kconfig

Result of this script:

   for n in configs/*; do
      f=$(basename $n)
      make $f
      cp .config $n
   done

Signed-off-by: Alessandro Rubini <rubini@gnudd.com>