Skip to content

Commit

Permalink
Added alt RAM models, more detail to name
Browse files Browse the repository at this point in the history
  • Loading branch information
Gadgetoid committed Jun 24, 2019
1 parent 32bcf9f commit 46c0045
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion rpihw.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,29 @@
#define RPI_WARRANTY_MASK (0x3 << 24)

static const rpi_hw_t rpi_hw_info[] = {
//
// Raspberry Pi 4
//
{
.hwver = 0xA03111,
.type = RPI_HWVER_TYPE_PI4,
.periph_base = PERIPH_BASE_RPI4,
.videocore_base = VIDEOCORE_BASE_RPI2,
.desc = "Pi 4 Model B - 1GB"
},
{
.hwver = 0xB03111,
.type = RPI_HWVER_TYPE_PI4,
.periph_base = PERIPH_BASE_RPI4,
.videocore_base = VIDEOCORE_BASE_RPI2,
.desc = "Pi 4 Model B - 2GB"
},
{
.hwver = 0xC03111,
.type = RPI_HWVER_TYPE_PI4,
.periph_base = PERIPH_BASE_RPI4,
.videocore_base = VIDEOCORE_BASE_RPI2,
.desc = "Pi 4"
.desc = "Pi 4 Model B - 4GB"
},
//
// Model B Rev 1.0
Expand Down

0 comments on commit 46c0045

Please sign in to comment.