summaryrefslogtreecommitdiff
path: root/src/cpu/ti/am335x
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2019-05-15 22:05:54 +0200
committerMartin Roth <martinroth@google.com>2019-06-22 17:53:39 +0000
commit361f6fff5fd301e69c1678cf20f107df7465aaf6 (patch)
tree68ac728dc27f75d01769252c5c3108133a52b79b /src/cpu/ti/am335x
parent2195f7af23d7a34d546f1e3f00a0d3a34ee3a8c5 (diff)
downloadcoreboot-361f6fff5fd301e69c1678cf20f107df7465aaf6.tar.xz
src/cpu: Use 'include <stdlib.h>' when appropriate
Change-Id: I44346594bc106eed73a1268b82f026b69e5f4512 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/32821 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/cpu/ti/am335x')
-rw-r--r--src/cpu/ti/am335x/gpio.c1
-rw-r--r--src/cpu/ti/am335x/uart.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/src/cpu/ti/am335x/gpio.c b/src/cpu/ti/am335x/gpio.c
index 2685839b23..8660f2ca91 100644
--- a/src/cpu/ti/am335x/gpio.c
+++ b/src/cpu/ti/am335x/gpio.c
@@ -16,7 +16,6 @@
#include <console/console.h>
#include <cpu/ti/am335x/gpio.h>
#include <stdint.h>
-#include <stdlib.h>
static struct am335x_gpio_regs *gpio_regs_and_bit(unsigned int gpio,
uint32_t *bit)
diff --git a/src/cpu/ti/am335x/uart.c b/src/cpu/ti/am335x/uart.c
index c482a85d74..4e9d012037 100644
--- a/src/cpu/ti/am335x/uart.c
+++ b/src/cpu/ti/am335x/uart.c
@@ -12,7 +12,6 @@
* GNU General Public License for more details.
*/
-#include <stdlib.h>
#include <types.h>
#include <console/uart.h>
#include <device/mmio.h>