Home Forum Hardware Discussions SoC revisions and cpuidle feature

Tagged: 

This topic contains 0 replies, has 1 voice, and was last updated by  nanasi 4 weeks ago.

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #7202

    nanasi
    Participant

    I recently found a note about SoC revisions in u-boot source.
    u-boot-2018.03-armada-18.09/arch/arm/mach-mvebu/armada8k/soc.c:

            /* A8040 A1/A2 doesn't support linux kernel cpuidle feautre,
             * so U-boot needs to update Linux bootargs according
             * to the device id:
             *
             * Device       Device_ID
             * -------------------------------
             * A8040 A1     0x18040
             * A8040 A2     0x28040
             * A8040 B0     0x08045
             *
             * So we need to check if 16 LSB bits are 0x8040.
             * The variable 'type', which is returned by
             * get_soc_type_rev() holds these bits.
             */
            if (type == A8040_DEVICE_ID)
                    env_set("cpuidle", "cpuidle.off=1");

    It appeared in version 2017.03-devel-18.08.0 or later.

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

Technical specification tables can not be displayed on mobile. Please view on desktop