lkml.org 
[lkml]   [2017]   [Nov]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
SubjectRE: [PATCH v3 3/6] ARM: ep93xx: ts72xx: Rewrite ts72xx_register_flash() to accept parameters
Date
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

\
 
 \ /
  Last update: 2017-11-30 18:08    [W:0.148 / U:1.844 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site