12 Commits

Author SHA1 Message Date
Travis Geiselbrecht
6cb02526b7 [include][console] split lib/console.h into two
TL;DR most uses of lib/console.h -> lk/console_cmd.h

Move the part that lets a piece of code somewhere in the system to
define a console command from the actual lib/console api to start an
instance of the console. Move in almost every place the user of the
console command definition to the new header, lk/console_cmd.h which is
always in the include path.

Also remove most uses of testing for WITH_LIB_CONSOLE since you can
almost always just safely define it and then let the linker remove it.
2019-07-13 16:56:33 -07:00
Travis Geiselbrecht
cba9e47987 [license] replace the longer full MIT license with a shorter one
Used scripts/replacelic. Everything seems to build fine.
2019-07-05 17:22:23 -07:00
Travis Geiselbrecht
d8fa82cb91 [formatting] run everything through codestyle
Almost nothing changes here except moving braces to the same line as the
function declaration. Everything else is largely whitespace changes and
a few dangling files with tab indents.

See scripts/codestyle
2019-06-19 21:02:24 -07:00
Travis Geiselbrecht
1b7a28efb8 [include][lk] fixup lk/ include path move 2019-06-19 19:46:11 -07:00
Travis Geiselbrecht
d569c090ea [vim] remove vim expandtab comments on most of the files 2016-02-14 12:32:07 -08:00
Travis Geiselbrecht
2eb32a4369 [style] mass reformat all the non external code to 4 space indents
Ran everything through scripts/codestyle.space, which uses astyle
to generally follow K&R style.

Biggest non whitespace change is pulling brackets down on function
declarations, which I'm pretty ambivalent about, but astyle insists
on taking a stance
2016-02-14 12:24:01 -08:00
Travis Geiselbrecht
68f935e613 [platform][zynq] add support for putting the qspi peripheral in linear mode 2014-12-11 19:25:29 -08:00
Travis Geiselbrecht
98283e9610 [zynq][qspi] properly remember the current speed setting
-this was causing the spiflash driver to drop to 50mhz and never go back to 100

Change-Id: If231f5b0281b17001abfbafd50afa9eb8a7a77cb
2014-10-13 19:27:23 -07:00
Travis Geiselbrecht
a88d310855 [platform][zynq] detect flash in single spi mode and add command to set qspi mode
Change-Id: I3d0ea403c79f9b7a8c34c9f871e97bd728b46d7f
2014-10-13 19:08:22 -07:00
Travis Geiselbrecht
2213104ed4 [platform][zynq] fix a bug in speed setting on qspi peripheral 2014-07-22 19:52:18 -07:00
Travis Geiselbrecht
bcebb0861a [platform][zynq] refactor qspi into two layers 2014-07-15 20:09:08 -07:00
Travis Geiselbrecht
59ba1e7112 [platform][zynq] add qspi flash code 2014-07-15 20:09:08 -07:00