[U-Boot] [PATCH 1/2] RFC: arm: add call to cleanup things before jumping into kernel

Ajay kumar ajaynumb at gmail.com
Thu Oct 3 11:19:49 CEST 2013


Hi Albert,


On Thu, Oct 3, 2013 at 2:28 PM, Albert ARIBAUD <albert.u.boot at aribaud.net>wrote:

> Hi Ajay,
>
> On Thu, 03 Oct 2013 14:34:19 +0530, Ajay Kumar
> <ajaykumar.rs at samsung.com> wrote:
>
> > Add infrasturcture to cleanup any of those architecture related settings
> > done for u-boot, if they can cause problem during kernel boot.
> >
> > Signed-off-by: Ajay Kumar <ajaykumar.rs at samsung.com>
> > ---
>
> Regardless to ma question re fixing the issue in U-Boot or Linux: does
> something prevent using the already existing cleanup_before_linux()
> function, and if not, what made you choose to create another one
> instead?
>
> cleanup_before_linux() generally cleans up things specific to the
processor.
I thought of introducing a cleanup function which would allow us to cleanup
things which are SOC specific(all SOC under armv7 as per the patch).
And, used the same function to cleanup some exynos specific stuff before
booting linux.
May be, I should have used a different name instead of
arch_cleanup_before_linux?

> Amicalement,
> --
> Albert.
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
>


More information about the U-Boot mailing list