cgpt: Separate out certain GPT manipluation functions

For kernel NAND support, some vboot/cgptlib functionality is
needed from depthcharge. This patch moves certain function
declarations to a new header in firmware/include and puts
their definitions in a common place.

TEST=make runalltests passes and packages build

Change-Id: Idd42b1f9f531651d78bb4afb80ca90c24aae93d9
Reviewed-by: Bill Richardson <>
Commit-Queue: Daniel Ehrenberg <>
Tested-by: Daniel Ehrenberg <>
7 files changed