]> git.dujemihanovic.xyz Git - u-boot.git/commit
ARM: bcm283x: Fix definition of MBOX_TAG_TEST_PIXEL_ORDER
authorBerkus Decker <berkus+github@metta.systems>
Sun, 13 Jan 2019 19:30:40 +0000 (20:30 +0100)
committerMatthias Brugger <mbrugger@suse.com>
Wed, 12 Jun 2019 10:23:46 +0000 (12:23 +0200)
commit38e58ff2b785b45e8c8ade8e23f916a1984016c6
tree3043dd8d43fae93003fc9b5fd2c9213df150ad1e
parent68a5110e8624d08eba6d4d1413009927b9abfdf3
ARM: bcm283x: Fix definition of MBOX_TAG_TEST_PIXEL_ORDER

The MBOX_TAG_TEST_PIXEL_ORDER define is incorrect. According to official
documentation it has a slightly different numbering.

Correct mailbox constants are defined in e.g.
linux raspberry-firmware https://code.woboq.org/linux/linux/include/soc/bcm2835/raspberrypi-firmware.h.html#RPI_FIRMWARE_FRAMEBUFFER_TEST_PIXEL_ORDER

These are obtained from the bcm2835 documentation
e.g. https://github.com/raspberrypi/firmware/wiki/Mailbox-property-interface#test-pixel-order

Fix the define to get us back in sync with the spec.

Signed-off-by: Berkus Decker <berkus+github@metta.systems>
[agraf: clarify subject, extend commit message]
Signed-off-by: Alexander Graf <agraf@csgraf.de>
[mb: updating email of agraf]
Signed-off-by: Matthias Brugger <mbrugger@suse.com>
arch/arm/mach-bcm283x/include/mach/mbox.h