meta-phosphor: image_types_phosphor_nuvoton: Don't write u-boot twice
The merged binary already gets written once by the `do_generate_static`
function in the primary phosphor bbclass.
Change-Id: I11a3000ac40063bc2246a23f075a282ebddcb12f
Signed-off-by: William A. Kennington III <wak@google.com>
diff --git a/meta-phosphor/classes/image_types_phosphor_nuvoton.bbclass b/meta-phosphor/classes/image_types_phosphor_nuvoton.bbclass
index 8fefd82..3923a2c 100644
--- a/meta-phosphor/classes/image_types_phosphor_nuvoton.bbclass
+++ b/meta-phosphor/classes/image_types_phosphor_nuvoton.bbclass
@@ -30,14 +30,6 @@
addtask do_prepare_bootloaders before do_generate_static after do_generate_rwfs_static
-# Include the full bootblock and u-boot in the final static image
-python do_generate_static:append() {
- _append_image(os.path.join(d.getVar('DEPLOY_DIR_IMAGE', True),
- 'u-boot.%s' % d.getVar('UBOOT_SUFFIX',True)),
- int(d.getVar('FLASH_UBOOT_OFFSET', True)),
- int(d.getVar('FLASH_KERNEL_OFFSET', True)))
-}
-
do_make_ubi:append() {
# Concatenate the uboot and ubi partitions
dd bs=1k conv=notrunc seek=${FLASH_UBOOT_OFFSET} \