altos: Use explicit boot loader signal in ao_boot_reboot
authorKeith Packard <keithp@keithp.com>
Fri, 16 May 2014 05:34:17 +0000 (23:34 -0600)
committerKeith Packard <keithp@keithp.com>
Fri, 16 May 2014 05:38:40 +0000 (23:38 -0600)
commit211d9af507daf9a8611ed1813415bee27e3839eb
tree5d0873cea2e3d2a0cf2a41be748ef29a792c64eb
parent0bf1c74e83fe49a11916b52596363f4dd56c522c
altos: Use explicit boot loader signal in ao_boot_reboot

Instead of just "knowing" that ao_boot_loader will be passed zero when
the application wants to get back to the boot loader, explicitly
define the values so that both sides always agree.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/lpc/ao_boot.h
src/lpc/ao_boot_chain.c
src/stm/ao_boot.h
src/stm/ao_boot_chain.c