Add support for setting upgrade type
Upgrade type (online or offline) is set by HAL API.
Depending on the type selected during bootmode=FOTA ramdisk (online) or
ramdisk-recovery (offline) will be picked as boot partition.
This patch is based on commit
3b26e4c27a53 of tizen branch.
- riscv doesn't publish on tizen_8.0, so it doesn't need to update codes
of riscv.
Change-Id: I46b6994eebc0db5ef420f94962065580c7d29eb5
Signed-off-by: Mateusz Moscicki <m.moscicki2@partner.samsung.com>
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>