From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anatolij Gustschin Date: Thu, 13 Aug 2015 00:01:46 +0200 Subject: [U-Boot] [PATCH 2/3] cfbconsole: Add support for stride != width In-Reply-To: <1438787851-31814-3-git-send-email-hdegoede@redhat.com> References: <1438787851-31814-1-git-send-email-hdegoede@redhat.com> <1438787851-31814-3-git-send-email-hdegoede@redhat.com> Message-ID: <20150813000146.735ca67a@crub> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wed, 5 Aug 2015 17:17:30 +0200 Hans de Goede wrote: > cfbconsole currently assumes that the width and stride of the framebuffer > are the same, in most places where stride matters it uses a VIDEO_LINE_LEN > helper macro. > > This commit changes the few places not using VIDEO_LINE_LEN to also use > VIDEO_LINE_LEN, and protects the default VIDEO_LINE_LEN with a #ifndef > guard, allowing the boards config.h to override and, and thus support > cases where stride != width. > > Signed-off-by: Hans de Goede Acked-by: Anatolij Gustschin