[PATCH] arm: ramdisk uimage support for arm

Michele Dionisio michele.dionisio at powersoft.it
Wed Dec 16 23:57:14 PST 2015


yes it is true.

I'm not in the position to test ppc. So my only way to be sure to avoid 
to introduce regration is to avoid to refactor the code.

But it is true. If you are able to test ppc I can try to post the 
refactoring.

Il 17/12/2015 05:23, Pratyush Anand ha scritto:
> Hi Michele,
>
> On 16/12/2015:09:06:36 AM, Michele Dionisio wrote:
>> +/*
>> + * Load the ramdisk into buffer.
>> + *  If the supplied image is in uImage format use
>> + *  uImage_load() to read the payload from the image.
>> + */
>> +char *slurp_ramdisk_arm(const char *filename, off_t *r_size)
> This function is exactly as slurp_ramdisk_ppc(). So, why not we have a common
> slurp_ramdisk() function usable for both arm and ppc.
>
> ~Pratyush
> .
>




More information about the kexec mailing list