vendorcode/cavium: Supply bdk_pop and bdk_dpop definitions

This is an issue found by the new builder image and needs to be fixed
before we can upgrade to the new toolchain version:

In function `bdk_dram_get_size_mbytes':
src/vendorcode/cavium/bdk/libbdk-dram/bdk-dram-size.c:198:
undefined reference to `bdk_pop'

In function `bdk_get_num_cores':
/src/vendorcode/cavium/include/bdk/libbdk-hal/bdk-utils.h:164:
undefined reference to `bdk_dpop'

In function `init_octeon3_ddr3_interface':
src/vendorcode/cavium/bdk/libdram/dram-init-ddr3.c:7550:
undefined reference to `bdk_pop'

Change-Id: Ibf71e4556014795bfedceccfe3837dc9deb29ad2
Signed-off-by: Martin Roth <martinroth@google.com>
Reviewed-on: https://review.coreboot.org/c/29851
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Rudolph <siro@das-labor.org>
This commit is contained in:
Martin Roth 2018-11-26 18:40:43 -07:00 committed by Patrick Georgi
parent 7ed3fe2b47
commit dcf52c87a6
3 changed files with 3 additions and 0 deletions

View File

@ -37,6 +37,7 @@
* ARISING OUT OF USE OR PERFORMANCE OF THE SOFTWARE LIES WITH YOU. * ARISING OUT OF USE OR PERFORMANCE OF THE SOFTWARE LIES WITH YOU.
***********************license end**************************************/ ***********************license end**************************************/
#include <bdk.h> #include <bdk.h>
#include <bdk-coreboot.h>
#include <libbdk-hal/bdk-utils.h> #include <libbdk-hal/bdk-utils.h>

View File

@ -37,6 +37,7 @@
* ARISING OUT OF USE OR PERFORMANCE OF THE SOFTWARE LIES WITH YOU. * ARISING OUT OF USE OR PERFORMANCE OF THE SOFTWARE LIES WITH YOU.
***********************license end**************************************/ ***********************license end**************************************/
#include <bdk.h> #include <bdk.h>
#include <bdk-coreboot.h>
#include "libbdk-arch/bdk-csrs-l2c_tad.h" #include "libbdk-arch/bdk-csrs-l2c_tad.h"
#include "libbdk-arch/bdk-csrs-mio_fus.h" #include "libbdk-arch/bdk-csrs-mio_fus.h"
#include "dram-internal.h" #include "dram-internal.h"

View File

@ -39,6 +39,7 @@
* ARISING OUT OF USE OR PERFORMANCE OF THE SOFTWARE LIES WITH YOU. * ARISING OUT OF USE OR PERFORMANCE OF THE SOFTWARE LIES WITH YOU.
***********************license end**************************************/ ***********************license end**************************************/
#include "libbdk-arch/bdk-csrs-rst.h" #include "libbdk-arch/bdk-csrs-rst.h"
#include <bdk-coreboot.h>
#include <string.h> #include <string.h>
/** /**