Thread (80 messages) 80 messages, 5 authors, 2017-12-20

[PATCH v3 3/6] ARM: ep93xx: ts72xx: Rewrite ts72xx_register_flash() to accept parameters

From: Hartley Sweeten <hidden>
Date: 2017-11-30 17:08:03
Also in: lkml

On Wednesday, November 29, 2017 5:45 PM, Lukasz Majewski wrote:
This commit extend the ts72xx_register_flash() to accept passed parameters, which makes it more reusable.

Now it is possible to accept ep93xx flash start address and partitions.
<snip>
@@ -223,7 +217,9 @@ static struct platform_device ts73xx_fpga_device = {  static void __init ts72xx_init_machine(void)  {
Lukasz,

The line above is corrupted in the patch and will not apply. Not sure what happened...
 	ep93xx_init_devices();
-	ts72xx_register_flash();
+	ts72xx_register_flash(ts72xx_nand_parts, ARRAY_SIZE(ts72xx_nand_parts),
+			      is_ts9420_installed() ?
+			      EP93XX_CS7_PHYS_BASE : EP93XX_CS6_PHYS_BASE);
 	platform_device_register(&ts72xx_rtc_device);
 	platform_device_register(&ts72xx_wdt_device);
Regards,
Hartley
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help