Skip to content

Commit 9316e14

Browse files
swarrentrini
authored andcommitted
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: Stephen Warren <[email protected]> Reviewed-by: Simon Glass <[email protected]> Tested-by: Simon Glass <[email protected]>
1 parent 6fe7845 commit 9316e14

File tree

11 files changed

+18
-18
lines changed

11 files changed

+18
-18
lines changed

arch/arm/Kconfig

+3-3
Original file line numberDiff line numberDiff line change
@@ -396,8 +396,8 @@ config TARGET_MX35PDK
396396
bool "Support mx35pdk"
397397
select CPU_ARM1136
398398

399-
config TARGET_RPI_B
400-
bool "Support rpi_b"
399+
config TARGET_RPI
400+
bool "Support rpi"
401401
select CPU_ARM1176
402402

403403
config TARGET_TNETV107X_EVM
@@ -931,7 +931,7 @@ source "board/palmtreo680/Kconfig"
931931
source "board/phytec/pcm051/Kconfig"
932932
source "board/ppcag/bg0900/Kconfig"
933933
source "board/pxa255_idp/Kconfig"
934-
source "board/raspberrypi/rpi_b/Kconfig"
934+
source "board/raspberrypi/rpi/Kconfig"
935935
source "board/ronetix/pm9261/Kconfig"
936936
source "board/ronetix/pm9263/Kconfig"
937937
source "board/ronetix/pm9g45/Kconfig"
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
if TARGET_RPI_B
1+
if TARGET_RPI
22

33
config SYS_BOARD
4-
default "rpi_b"
4+
default "rpi"
55

66
config SYS_VENDOR
77
default "raspberrypi"
@@ -10,6 +10,6 @@ config SYS_SOC
1010
default "bcm2835"
1111

1212
config SYS_CONFIG_NAME
13-
default "rpi_b"
13+
default "rpi"
1414

1515
endif

board/raspberrypi/rpi/MAINTAINERS

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
RPI BOARD
2+
M: Stephen Warren <[email protected]>
3+
S: Maintained
4+
F: board/raspberrypi/rpi/
5+
F: include/configs/rpi.h
6+
F: configs/rpi_defconfig

board/raspberrypi/rpi_b/Makefile board/raspberrypi/rpi/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@
1212
# GNU General Public License for more details.
1313
#
1414

15-
obj-y := rpi_b.o
15+
obj-y := rpi.o
File renamed without changes.

board/raspberrypi/rpi_b/MAINTAINERS

-6
This file was deleted.

common/lcd.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -530,7 +530,7 @@ static int lcd_init(void *lcdbase)
530530
lcd_ctrl_init(lcdbase);
531531

532532
/*
533-
* lcd_ctrl_init() of some drivers (i.e. bcm2835 on rpi_b) ignores
533+
* lcd_ctrl_init() of some drivers (i.e. bcm2835 on rpi) ignores
534534
* the 'lcdbase' argument and uses custom lcd base address
535535
* by setting up gd->fb_base. Check for this condition and fixup
536536
* 'lcd_base' address.

configs/rpi_b_defconfig

-2
This file was deleted.

configs/rpi_defconfig

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
CONFIG_ARM=y
2+
CONFIG_TARGET_RPI=y

doc/README.clang

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ sudo apt-get install clang
2828

2929
To compile U-Boot with clang on linux without IAS use e.g.:
3030
export TRIPLET=arm-linux-gnueabi && export CROSS_COMPILE="$TRIPLET-"
31-
make HOSTCC=clang CC="clang -target $TRIPLET -mllvm -arm-use-movt=0 -no-integrated-as" rpi_b_defconfig
31+
make HOSTCC=clang CC="clang -target $TRIPLET -mllvm -arm-use-movt=0 -no-integrated-as" rpi_defconfig
3232
make HOSTCC=clang CC="clang -target $TRIPLET -mllvm -arm-use-movt=0 -no-integrated-as" all V=1 -j8
3333

3434
FreeBSD 11 (Current):
@@ -42,7 +42,7 @@ ln -s /usr/local/bin/arm-gnueabi-freebsd-as /usr/bin/arm-freebsd-eabi-as
4242
# The following commands compile U-Boot using the clang xdev toolchain.
4343
# NOTE: CROSS_COMPILE and target differ on purpose!
4444
export CROSS_COMPILE=arm-gnueabi-freebsd-
45-
gmake CC="clang -target arm-freebsd-eabi --sysroot /usr/arm-freebsd -no-integrated-as -mllvm -arm-use-movt=0" rpi_b_defconfig
45+
gmake CC="clang -target arm-freebsd-eabi --sysroot /usr/arm-freebsd -no-integrated-as -mllvm -arm-use-movt=0" rpi_defconfig
4646
gmake CC="clang -target arm-freebsd-eabi --sysroot /usr/arm-freebsd -no-integrated-as -mllvm -arm-use-movt=0" -j8
4747

4848
Given that u-boot will default to gcc, above commands can be
File renamed without changes.

0 commit comments

Comments
 (0)