aboutsummaryrefslogtreecommitdiff
path: root/board-js2x/rtas/rtas_board.c
AgeCommit message (Collapse)AuthorFilesLines
2021-10-01js2x: Fix compile and cleanupAlexey Kardashevskiy1-1/+14
This moves shared symbols out from the header file and leaves only the minimum in bmc.h. This fixes a "while (...); {" bug spotted by the modern gcc. This fixes cleanup as otherwise the board-js2x/Makefile's "clean" tries cleaning "rtas" which tries cleaning all libs (not just the ones it uses) and that in turn triggers generation of lib/libtpm/Makefile.dep which fails due to missing ./board-js2x/include/version.h. This fixes create_reloc_table.sh to build with newer toolchains which otherwise fail with: ld: cannot use executable file 'reloc_table.o' as input to a link This adds js2x compile to the travis script to know when it breaks again. Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
2011-12-20Silenced some compiler warnings that occur when compiling with prototype checksThomas Huth1-4/+6
The compiler flags -Wmissing-prototypes and -Wstrict-prototypes generally help to write code with proper prototypes. This way one can avoid some ugly bugs because it helps to identify functions that do not have prototypes in headers. It also helps to improve performance since local functions then have to be declared "static", so the compiler can do better optimizations. Signed-off-by: Thomas Huth <thuth@linux.vnet.ibm.com>
2011-03-22Fixed compiler warningThomas Huth1-1/+2
Silenced a compiler warning that was easy to fix. Signed-off-by: Thomas Huth <thuth@linux.vnet.ibm.com>
2010-12-01Initial import of slof-JX-1.7.0-4Benjamin Herrenschmidt1-0/+215
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>