Skip to content
Snippets Groups Projects
Commit d7732faa authored by Oleksandr G Zhadan's avatar Oleksandr G Zhadan Committed by York Sun
Browse files

powerpc/mpc85xx: Fix compiling error for common/cmd_gpio.c


To replicate:
1. add to include/configs/p1_p2_rdb_pc.h "#define CONFIG_CMD_GPIO"
2. run `make P1020RDB-PC_defconfig`
3. run CROSS_COMPILE=powerpc-linux- make

and you will get:
common/built-in.o: In function `do_gpio':
u-boot/common/cmd_gpio.c:186: undefined reference to `gpio_request'
u-boot/common/cmd_gpio.c:194: undefined reference to `gpio_direction_input'
u-boot/common/cmd_gpio.c:195: undefined reference to `gpio_get_value'
u-boot/common/cmd_gpio.c:200: undefined reference to `gpio_get_value'
u-boot/common/cmd_gpio.c:203: undefined reference to `gpio_direction_output'
u-boot/common/cmd_gpio.c:209: undefined reference to `gpio_free

Signed-off-by: default avatarMichael Durrant <mdurrant@arcturusnetworks.com>
Signed-off-by: default avatarOleksandr G Zhadan <oleks@arcturusnetworks.com>
Reviewed-by: default avatarYork Sun <yorksun@freescale.com>
parent 38289c69
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment