Re: [U-Boot] [PATCH v2] arm, arm-kirkwood: disable l2c before linux boot

2012-01-31 Thread Michael Walle
Am Freitag 13 Januar 2012, 23:59:08 schrieb Michael Walle: [Sorry can't answer to the original message, because it was blocked by spam filter] Also, I'm missing something: you introduce two functions, for enabling and disabling the cache, yet the code uses only the one for disabling. So

Re: [U-Boot] [PATCH v2] arm, arm-kirkwood: disable l2c before linux boot

2012-01-31 Thread Wolfgang Denk
Dear Michael Walle, In message 201201312349.37621.mich...@walle.cc you wrote: My enable function is just for completeness atm. Ping. Is there something still uncertain? Nothing is uncertain. But we do not add dead code. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH,

[U-Boot] [PATCH v2] arm, arm-kirkwood: disable l2c before linux boot

2012-01-13 Thread Michael Walle
The decompressor expects the L2 cache to be disabled. This fixes booting some kernels, which have CONFIG_ARM_PATCH_PHYS_VIRT enabled. Signed-off-by: Michael Walle mich...@walle.cc Cc: Albert ARIBAUD albert.u.b...@aribaud.net Cc: Prafulla Wadaskar prafu...@marvell.com --- This is a repost, because

Re: [U-Boot] [PATCH v2] arm, arm-kirkwood: disable l2c before linux boot

2012-01-13 Thread Michael Walle
[Sorry can't answer to the original message, because it was blocked by spam filter] Also, I'm missing something: you introduce two functions, for enabling and disabling the cache, yet the code uses only the one for disabling. So what enabled it in the first place? The L2C is enabled in