summaryrefslogtreecommitdiff
path: root/src/northbridge/amd/lx
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-06-05 08:41:29 +0200
committerPatrick Georgi <pgeorgi@google.com>2018-06-11 08:52:08 +0000
commit1d3fde4693aee3299b9023ec325cbfee90ed0969 (patch)
treec24725edd21dee6e97739f37e5548aa19d60d0ba /src/northbridge/amd/lx
parentf061a73ab9654ccae73b2fcbd58d8f08017bae59 (diff)
downloadcoreboot-1d3fde4693aee3299b9023ec325cbfee90ed0969.tar.xz
{src,util}: Use NULL instead of 0 for pointer
Change-Id: I75fa4577055f25dde0a8b1044c005bba72cabd92 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/26857 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/northbridge/amd/lx')
-rw-r--r--src/northbridge/amd/lx/northbridgeinit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/northbridge/amd/lx/northbridgeinit.c b/src/northbridge/amd/lx/northbridgeinit.c
index 1315b2aba2..b8a67ee2f8 100644
--- a/src/northbridge/amd/lx/northbridgeinit.c
+++ b/src/northbridge/amd/lx/northbridgeinit.c
@@ -236,7 +236,7 @@ static void GLIUInit(struct gliutable *gl)
/* ************************************************************************** */
static void GLPCIInit(void)
{
- struct gliutable *gl = 0;
+ struct gliutable *gl = NULL;
int i;
msr_t msr;
int msrnum, enable_preempt, enable_cpu_override;
@@ -604,7 +604,7 @@ static void rom_shadow_settings(void)
static void enable_L1_cache(void)
{
- struct gliutable *gl = 0;
+ struct gliutable *gl = NULL;
int i;
msr_t msr;
uint8_t SysMemCacheProp;