MMCSD_enableBootPartition implements two mutually exclusive concepts as one function

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Medium
    • SITSW-4872
    • 09.02.01
    • 12.00.00
    • Hide
      am62xx-sk
      am62xx-sk-lp
      am62x-sip-sk
      am62a-sk
      am62p-sk
      am62d-evm
      Show
      am62xx-sk am62xx-sk-lp am62x-sip-sk am62a-sk am62p-sk am62d-evm

      The MMCSD_enableBootPartition sends the CMD6 to configure the EXTCSD register with the following arg

      uint8_t bootPartition = ((bootAck << 6U) | (partitionNum << 3) | partitionNum);
      uint8_t bootBusWidth = 0x02;
      uint32_t arg = (uint32_t)((bootPartition << 8) | (0xB3 << 16) | (0x03 << 24)); 

      This means, it configures the EXTCSD register as follows:

      • Enable the Boot Acknowledgement flag.
      • Change the boot partition, which ROM uses to boot from in eMMC alternate mode, to the passed partition number.
      • Enable access to the passed partition number.

      The first two configurations are completely independent of the last one. There can be a case where one wants to enable access to, let's say, BOOT1 partition but not wants to change the boot partition from which the ROM boots the SBL Stage1.

       

            Assignee:
            TI User
            Reporter:
            TI User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                Connection: Intermediate to External PROD System
                EXTSYNC-5735 - MMCSD_enableBootPartition implement...
                SYNCHRONIZED
                • Last Sync Date: