Lines Matching full:flash

13  * firmware image and flash it as it reboots (see rtas.c).
39 /* Flash image status values */
42 #define FLASH_IMG_SHORT -1005 /* Flash image shorter than expected */
43 #define FLASH_IMG_BAD_LEN -1004 /* Bad length value in flash list block */
44 #define FLASH_IMG_NULL_DATA -1003 /* Bad data value in flash list block */
45 #define FLASH_IMG_READY 0 /* Firmware img ready for flash on reboot */
69 /* ibm,manage-flash-image operation tokens */
87 * that needed by the rtas flash update.
106 /* Local copy of the flash block list.
107 * We only allow one open of the flash proc file and create this
115 * the flash routine.
121 int status; /* Flash update status */
122 struct flash_block_list *flist; /* Local copy of flash block list */
147 /* Do simple sanity checks on the flash image. */
174 …printk(KERN_INFO "FLASH: flash image with %ld bytes stored for hardware flash on reboot\n", image_… in flash_list_valid()
200 /* File was opened in write mode for a new flash attempt */ in rtas_flash_release()
231 msg = "info: no firmware image for flash\n"; in get_flash_status_msg()
234 msg = "error: flash image short\n"; in get_flash_status_msg()
243 msg = "ready: firmware image ready for flash on reboot\n"; in get_flash_status_msg()
368 rc = rtas_call(rtas_token("ibm,manage-flash-image"), 1, in manage_flash()
429 int token = rtas_token("ibm,validate-flash-image"); in validate_flash()
557 printk(KERN_ALERT "FLASH: firmware flash requires a reboot\n"); in rtas_flash_firmware()
558 printk(KERN_ALERT "FLASH: the firmware image will NOT be flashed\n"); in rtas_flash_firmware()
562 update_token = rtas_token("ibm,update-flash-64-and-reboot"); in rtas_flash_firmware()
564 printk(KERN_ALERT "FLASH: ibm,update-flash-64-and-reboot " in rtas_flash_firmware()
566 printk(KERN_ALERT "FLASH: firmware will not be flashed\n"); in rtas_flash_firmware()
571 * Just before starting the firmware flash, cancel the event scan work in rtas_flash_firmware()
587 printk(KERN_ALERT "FLASH: kernel bug...flash list header addr above 4GB\n"); in rtas_flash_firmware()
592 printk(KERN_ALERT "FLASH: preparing saved firmware image for flash\n"); in rtas_flash_firmware()
612 printk(KERN_ALERT "FLASH: flash image is %ld bytes\n", image_size); in rtas_flash_firmware()
613 printk(KERN_ALERT "FLASH: performing flash and reboot\n"); in rtas_flash_firmware()
616 printk(KERN_ALERT "FLASH: this will take several minutes. Do not power off!\n"); in rtas_flash_firmware()
620 printk(KERN_ALERT "FLASH: success\n"); in rtas_flash_firmware()
623 printk(KERN_ALERT "FLASH: hardware error. Firmware may not be not flashed\n"); in rtas_flash_firmware()
626 …printk(KERN_ALERT "FLASH: image is corrupt or not correct for this platform. Firmware not flashed… in rtas_flash_firmware()
629 printk(KERN_ALERT "FLASH: flash failed when partially complete. System may not reboot\n"); in rtas_flash_firmware()
632 printk(KERN_ALERT "FLASH: unknown flash return code %d\n", status); in rtas_flash_firmware()
710 if (rtas_token("ibm,update-flash-64-and-reboot") == in rtas_flash_init()
712 printk(KERN_ERR "rtas_flash: no firmware flash support\n"); in rtas_flash_init()
724 rc = initialize_flash_pde_data("ibm,update-flash-64-and-reboot", in rtas_flash_init()
738 rc = initialize_flash_pde_data("ibm,update-flash-64-and-reboot", in rtas_flash_init()
751 rc = initialize_flash_pde_data("ibm,validate-flash-image", in rtas_flash_init()
764 rc = initialize_flash_pde_data("ibm,manage-flash-image", in rtas_flash_init()