FogBugz #172871: Use hardware interrupt instead of virtual interrupt

Fixed incorrect interrupt number when setting IENABLE register.
We should use hardware interrupt number instead of virtual interrupt
number.

Signed-off-by: Ley Foon Tan <lftan@altera.com>
FogBugz #173183: L2 EDAC addition for Altera SOCFPGA.

Add L2 ECC to the Error Detection And Correction module for tracking
ECC errors in Altera's SOCFPGA Level 2 cache.
This patch makes the assumption that the L2 cache has been cleaned
and ECC turned on before Linux is started (i.e. in the preloader).

V2 Changes:
- Implement dual interrupts as suggested in socfpga.dtsi.
- Put include files in alphabetical order.
- Abstract the module checks for future additions.
- Correct the compatible string.
- Remove dependency check of Parity.

V3 Changes:
- Fix Copyright in header.
- Cleanup return codes.
- Add panic to Double Bit Error.
- Implement a cleaner way of getting ECC function pointers.

Signed-off-by: Thor Thayer <tthayer@altera.com>
FogBugz #173692: Add options to configuration file to enable PTP

Add options to enable PTP in the kernel, including CONFIG_PPS,
CONFIG_NETWORK_PHY_TIMESTAMPING, and CONFIG_PTP_1588_CLOCK.

Signed-off-by: Vince Bridgers <vbridger@altera.com>