Skip to content

Commit

Permalink
lk2nd: lk2nd-device.h -> lk2nd.h
Browse files Browse the repository at this point in the history
  • Loading branch information
stephan-gh committed Feb 7, 2021
1 parent 3f93af1 commit d88c3a8
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 11 deletions.
2 changes: 1 addition & 1 deletion app/aboot/aboot.c
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
#if DEVICE_TREE
#include <libfdt.h>
#include <dev_tree.h>
#include <lk2nd-device.h>
#include <lk2nd.h>
#endif

#include <reboot.h>
Expand Down
2 changes: 1 addition & 1 deletion app/aboot/fastboot-lk2nd.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#include <string.h>
#include <debug.h>
#include <libfdt.h>
#include <lk2nd-device.h>
#include <lk2nd.h>
#include "fastboot.h"

#if WITH_DEBUG_LOG_BUF
Expand Down
File renamed without changes.
5 changes: 3 additions & 2 deletions lk2nd/lk2nd-device.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@
#include <arch/arm.h>
#include <board.h>
#include <debug.h>
#include <libfdt.h>
#include <stdlib.h>
#include <string.h>
#include <libfdt.h>
#include "lk2nd-device.h"

#include <lk2nd.h>

struct lk2nd_device lk2nd_dev = {0};
extern struct board_data board;
Expand Down
7 changes: 4 additions & 3 deletions lk2nd/lk2nd-motorola.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@
#include <debug.h>
#include <libfdt.h>
#include <malloc.h>
#include <string.h>
#include <smem.h>
#include <stdlib.h>
#include <string.h>

#include "lk2nd-device.h"
#include <lk2nd.h>
#include "lk2nd-motorola.h"
#include "smem.h"


#define SMEM_ID_VENDOR0 0x86
#define SMEM_KERNEL_RESERVE SMEM_ID_VENDOR0
Expand Down
2 changes: 1 addition & 1 deletion lk2nd/lk2nd-samsung.c
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// SPDX-License-Identifier: GPL-2.0-only

#include <debug.h>
#include <libfdt.h>
#include <dev/gpio_i2c.h>
#include <libfdt.h>
#include <platform/timer.h>

/*
Expand Down
2 changes: 1 addition & 1 deletion platform/msm_shared/dev_tree.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
#include <board.h>
#include <list.h>
#include <kernel/thread.h>
#include <lk2nd-device.h>
#include <lk2nd.h>

struct dt_entry_v1
{
Expand Down
2 changes: 1 addition & 1 deletion platform/msm_shared/display_menu.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
#include <target.h>
#include <sys/types.h>
#include <../../../app/aboot/devinfo.h>
#include <lk2nd-device.h>
#include <lk2nd.h>

static const char *unlock_menu_common_msg = "If you unlock the bootloader, "\
"you will be able to install "\
Expand Down
2 changes: 1 addition & 1 deletion target/msm8916/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
#include <secapp_loader.h>
#include <rpmb.h>
#include <smem.h>
#include <lk2nd-device.h>
#include <lk2nd.h>

#if LONG_PRESS_POWER_ON
#include <shutdown_detect.h>
Expand Down

0 comments on commit d88c3a8

Please sign in to comment.