[PATCH u-boot] Some cleanup of ast-g5 platform.S

Maxim Sloyko maxims at google.com
Fri Sep 2 07:04:48 AEST 2016


Added ast_uart.{c,h} files, moved most of the diagnostic message printing
to ast-g5.c

Set up a stack in SRAM at the beginning of lowlevel_init, which makes it
possible to call non-trivial c functions, as well as put diagnostic strings
themselves onto the stack.

Several one-char writes to debug uart still remain in platform.S, I figured
it's not worth it to make a separate call to c function for each of those.

-- 
*M*axim *S*loyko
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20160901/7dc82ca4/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ast_platform_s_uart_cleanup.patch
Type: text/x-patch
Size: 24913 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20160901/7dc82ca4/attachment-0001.bin>


More information about the openbmc mailing list