rom_get_b_partition() function
Get B partition Returns the index of the B partition of partition A if a partition table is present and loaded, and there is a partition A with a B partition; otherwise returns BOOTROM_ERROR_NOT_FOUND.
Syntax
static inline int rom_get_b_partition(uint pi_a); Arguments
pi_a
the A partition number