Port-arm archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: RPI3 Kernel Config for 8.0
jmcneill%invisible.ca@localhost (Jared McNeill) writes:
>Which of these boards need the patch?
RPI3 and ZEROW
#define RPI_MODEL_3B      8
#define RPI_MODEL_ZERO_W  12
        if (rev & __BIT(23)) {
                info->pcbrev       = __SHIFTOUT(rev, __BITS(0,3)),
                info->model        = __SHIFTOUT(rev, __BITS(4,11)),
                info->processor    = __SHIFTOUT(rev, __BITS(12,15)),
                info->manufacturer = __SHIFTOUT(rev, __BITS(16,19)),
                info->memsize      = __SHIFTOUT(rev, __BITS(20,22)),
                info->warranty     = __SHIFTOUT(rev, __BIT(25));
	}
Revisions with bit 23 clear are a simple number and predate 3B and ZERO_W.
-- 
-- 
                                Michael van Elst
Internet: mlelstv%serpens.de@localhost
                                "A potential Snark may lurk in every tree."
Home |
Main Index |
Thread Index |
Old Index