Skip to content
Snippets Groups Projects
Commit 9316e144 authored by Stephen Warren's avatar Stephen Warren Committed by Tom Rini
Browse files

ARM: rpi: rename rpi_b to rpi


The U-Boot port runs on a variety of RPi models, not just the B. So,
rename the port to something slightly more generic.

Signed-off-by: default avatarStephen Warren <swarren@wwwdotorg.org>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
Tested-by: default avatarSimon Glass <sjg@chromium.org>
parent 6fe7845a
Branches
Tags
No related merge requests found
...@@ -396,8 +396,8 @@ config TARGET_MX35PDK ...@@ -396,8 +396,8 @@ config TARGET_MX35PDK
bool "Support mx35pdk" bool "Support mx35pdk"
select CPU_ARM1136 select CPU_ARM1136
config TARGET_RPI_B config TARGET_RPI
bool "Support rpi_b" bool "Support rpi"
select CPU_ARM1176 select CPU_ARM1176
config TARGET_TNETV107X_EVM config TARGET_TNETV107X_EVM
...@@ -931,7 +931,7 @@ source "board/palmtreo680/Kconfig" ...@@ -931,7 +931,7 @@ source "board/palmtreo680/Kconfig"
source "board/phytec/pcm051/Kconfig" source "board/phytec/pcm051/Kconfig"
source "board/ppcag/bg0900/Kconfig" source "board/ppcag/bg0900/Kconfig"
source "board/pxa255_idp/Kconfig" source "board/pxa255_idp/Kconfig"
source "board/raspberrypi/rpi_b/Kconfig" source "board/raspberrypi/rpi/Kconfig"
source "board/ronetix/pm9261/Kconfig" source "board/ronetix/pm9261/Kconfig"
source "board/ronetix/pm9263/Kconfig" source "board/ronetix/pm9263/Kconfig"
source "board/ronetix/pm9g45/Kconfig" source "board/ronetix/pm9g45/Kconfig"
......
if TARGET_RPI_B if TARGET_RPI
config SYS_BOARD config SYS_BOARD
default "rpi_b" default "rpi"
config SYS_VENDOR config SYS_VENDOR
default "raspberrypi" default "raspberrypi"
...@@ -10,6 +10,6 @@ config SYS_SOC ...@@ -10,6 +10,6 @@ config SYS_SOC
default "bcm2835" default "bcm2835"
config SYS_CONFIG_NAME config SYS_CONFIG_NAME
default "rpi_b" default "rpi"
endif endif
RPI_B BOARD RPI BOARD
M: Stephen Warren <swarren@wwwdotorg.org> M: Stephen Warren <swarren@wwwdotorg.org>
S: Maintained S: Maintained
F: board/raspberrypi/rpi_b/ F: board/raspberrypi/rpi/
F: include/configs/rpi_b.h F: include/configs/rpi.h
F: configs/rpi_b_defconfig F: configs/rpi_defconfig
...@@ -12,4 +12,4 @@ ...@@ -12,4 +12,4 @@
# GNU General Public License for more details. # GNU General Public License for more details.
# #
obj-y := rpi_b.o obj-y := rpi.o
File moved
...@@ -530,7 +530,7 @@ static int lcd_init(void *lcdbase) ...@@ -530,7 +530,7 @@ static int lcd_init(void *lcdbase)
lcd_ctrl_init(lcdbase); lcd_ctrl_init(lcdbase);
/* /*
* lcd_ctrl_init() of some drivers (i.e. bcm2835 on rpi_b) ignores * lcd_ctrl_init() of some drivers (i.e. bcm2835 on rpi) ignores
* the 'lcdbase' argument and uses custom lcd base address * the 'lcdbase' argument and uses custom lcd base address
* by setting up gd->fb_base. Check for this condition and fixup * by setting up gd->fb_base. Check for this condition and fixup
* 'lcd_base' address. * 'lcd_base' address.
......
CONFIG_ARM=y CONFIG_ARM=y
CONFIG_TARGET_RPI_B=y CONFIG_TARGET_RPI=y
...@@ -28,7 +28,7 @@ sudo apt-get install clang ...@@ -28,7 +28,7 @@ sudo apt-get install clang
To compile U-Boot with clang on linux without IAS use e.g.: To compile U-Boot with clang on linux without IAS use e.g.:
export TRIPLET=arm-linux-gnueabi && export CROSS_COMPILE="$TRIPLET-" export TRIPLET=arm-linux-gnueabi && export CROSS_COMPILE="$TRIPLET-"
make HOSTCC=clang CC="clang -target $TRIPLET -mllvm -arm-use-movt=0 -no-integrated-as" rpi_b_defconfig make HOSTCC=clang CC="clang -target $TRIPLET -mllvm -arm-use-movt=0 -no-integrated-as" rpi_defconfig
make HOSTCC=clang CC="clang -target $TRIPLET -mllvm -arm-use-movt=0 -no-integrated-as" all V=1 -j8 make HOSTCC=clang CC="clang -target $TRIPLET -mllvm -arm-use-movt=0 -no-integrated-as" all V=1 -j8
FreeBSD 11 (Current): FreeBSD 11 (Current):
...@@ -42,7 +42,7 @@ ln -s /usr/local/bin/arm-gnueabi-freebsd-as /usr/bin/arm-freebsd-eabi-as ...@@ -42,7 +42,7 @@ ln -s /usr/local/bin/arm-gnueabi-freebsd-as /usr/bin/arm-freebsd-eabi-as
# The following commands compile U-Boot using the clang xdev toolchain. # The following commands compile U-Boot using the clang xdev toolchain.
# NOTE: CROSS_COMPILE and target differ on purpose! # NOTE: CROSS_COMPILE and target differ on purpose!
export CROSS_COMPILE=arm-gnueabi-freebsd- export CROSS_COMPILE=arm-gnueabi-freebsd-
gmake CC="clang -target arm-freebsd-eabi --sysroot /usr/arm-freebsd -no-integrated-as -mllvm -arm-use-movt=0" rpi_b_defconfig gmake CC="clang -target arm-freebsd-eabi --sysroot /usr/arm-freebsd -no-integrated-as -mllvm -arm-use-movt=0" rpi_defconfig
gmake CC="clang -target arm-freebsd-eabi --sysroot /usr/arm-freebsd -no-integrated-as -mllvm -arm-use-movt=0" -j8 gmake CC="clang -target arm-freebsd-eabi --sysroot /usr/arm-freebsd -no-integrated-as -mllvm -arm-use-movt=0" -j8
Given that u-boot will default to gcc, above commands can be Given that u-boot will default to gcc, above commands can be
......
File moved
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment