Quantcast
Channel: Forum - Recent Threads
Viewing all articles
Browse latest Browse all 1583

How to use SPIBSC1 for data starage by single MX25L1633 SPI flash on RZA1H

$
0
0

Hello,

 

We are working on custom made RZA1H board with a dual QSPI S25FL512S on SPIBSC0, and we are using single  MX15L1633 macronix on SPIBSC1.

We want use SPIBSC1 as read/write  file system to store some mysql data base.

 

I have done the pin configuration in u-boot as:

/**/
        pfc_set_pin_function(8, 12, ALT3, 0, 0);        /* P8_12 = SPBCLK_0 */
        pfc_set_pin_function(8, 13, ALT3, 0, 0);        /* P8_13 = SPBSSL_0 */
        pfc_set_pin_function(8, 14, ALT3, 0, 1);        /* P8_14 = SPBIO00_0 (bi dir) */
        pfc_set_pin_function(8, 15, ALT3, 0, 1);        /* P8_15 = SPBIO10_0 (bi dir) */
        pfc_set_pin_function(8, 10, ALT3, 0, 1);        /* P8_10 = SPBIO20_0 (bi dir) */
        pfc_set_pin_function(8, 11, ALT3, 0, 1);        /* P8_11 = SPBIO30_0 (bi dir) */

 in the kernel i am calling platform_device_register_full(&spibsc1_info);


 Please tell me how do I go about creating single MTD  partition on SPI flash on SPIBSC1.

Thanks regards,

Nags

 


Viewing all articles
Browse latest Browse all 1583

Trending Articles