From mboxrd@z Thu Jan 1 00:00:00 1970 From: sjg at google.com Date: Tue, 29 Oct 2019 16:21:26 -0700 Subject: [U-Boot] [PATCH v2 03/10] tiny-printf: Reorder code to support %p In-Reply-To: <20191021232652.132164-4-sjg@chromium.org> References: <20191021232652.132164-4-sjg@chromium.org> <20191021232652.132164-1-sjg@chromium.org> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de With a bit of code reordering we can support %p using the existing code for ulong. Move the %p code up and adjust the logic accordingly. Signed-off-by: Simon Glass --- Changes in v2: - Add a new patch to support %p without DEBUG lib/tiny-printf.c | 30 +++++++++++++++++------------- 1 file changed, 17 insertions(+), 13 deletions(-) Applied to u-boot-dm, thanks!