Benjamin Valentin 80dde82c86 cpu/lpc2387: clear POR bit if we woke from Deep Sleep
RSIR is 0x1 (POR) if we woke from Deep Sleep.
This makes it hard to distinguish between real power-on and waking from
Deep Sleep, which is why the Backup RAM signature was introduced.

However, calling cpu_woke_from_backup() a second time will always return
true, as the signature will have been set up by early boot then.

Thus, clear the POR bit if the signature was already in place.
The result is:

	RSIR == 0 -> woke from sleep
	RSIR == 1 -> cold boot
2020-02-10 23:04:46 +01:00
..
2018-06-11 19:12:02 +02:00
2019-11-23 22:39:36 +01:00
2015-05-18 07:10:52 +02:00
2017-04-14 14:36:16 +02:00
2019-10-28 11:11:40 +01:00
2019-11-23 22:39:36 +01:00
2015-08-14 16:50:41 +02:00