Merge pull request #466 from ADVANSEE/cc2538dk-slip-enable

cc2538dk: Make it possible to override SLIP_ARCH_CONF_ENABLED
Merge pull request #464 from ADVANSEE/cc2538-pm2-sram

cc2538: lpm: Give access to the SRAM non-retention area for PM2
Merge pull request #471 from ADVANSEE/cc2538-gpio-power-up

cc2538: gpio: Add support for power up
cc2538dk: startup-gcc: Do not redefine SYS_CTRL_EMUOVR

SYS_CTRL_EMUOVR is already defined in sys-ctrl.h, so #include this header file
instead of redefining SYS_CTRL_EMUOVR in startup-gcc.c.

Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
cc2538: Add header file for flash CCA page and use it

Create a dedicated header file with all the definitions for the flash lock bit
page and customer configuration area. This avoids duplicating those definitions
in the startup-gcc.c files of all CC2538-based platforms, and this also allows
to easily manipulate the CCA from outside startup-gcc.c (e.g. for on-the-air
firmware update).

The definitions are now complete contrary to what was in startup-gcc.c:
 - Definitions have been added to select the bootloader backdoor pin and active
   level if enabled.
 - Definitions have been added to access the page and debug lock bits. The debug
   lock bit can be used to prevent someone from reading back a programmed
   firmware through JTAG if the firmware binary image has to be confidential,
   which should be combined with a disabled bootloader backdoor.
 - The application entry point is now tied to the beginning of the .text section
   instead of to the beginning of the flash. This allows projects using custom
   linker scripts to place the application entry point anywhere in the flash,
   which can be useful e.g. for on-the-air firmware update.

Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
Remove LPP discussion from the cc2538 README
Merge pull request #463 from ADVANSEE/cc2538-ports-pins

cc2538: Clean up and improve port and pin definitions
Merge pull request #491 from g-oikonomou/remove-lpp-from-readme

Remove LPP discussion from the cc2538 README
Merge pull request #478 from ADVANSEE/cc2538-startup-cleanup

cc2538: Startup cleanup
Merge branch 'master' into qidevices

Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
Revert "cc2538: Enable workaround for Cortex-M3 erratum #602117"

This reverts commit ba44ef72fd0bd0787b326eee2e0f6eba410be92f.

It turns out that all compilers recommended by Contiki for the CC2538 already
implicitly enable this workaround as used by Contiki, so the reverted commit was
only useful to make things explicit. Let's stick to mainline here.

Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com>