Skip to content

Commit

Permalink
hw/arm: Fix some typos in comments (most found by codespell)
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-id: 20230409200526.1156456-1-sw@weilnetz.de
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
  • Loading branch information
stweil authored and pm215 committed Apr 20, 2023
1 parent 2d82c32 commit b3db996
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion hw/arm/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ config OLIMEX_STM32_H405
config NSERIES
bool
select OMAP
select TMP105 # tempature sensor
select TMP105 # temperature sensor
select BLIZZARD # LCD/TV controller
select ONENAND
select TSC210X # touchscreen/sensors/audio
Expand Down
4 changes: 2 additions & 2 deletions hw/arm/exynos4210.c
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ static int mapline_size(const int *mapline)

/*
* Initialize board IRQs.
* These IRQs contain splitted Int/External Combiner and External Gic IRQs.
* These IRQs contain split Int/External Combiner and External Gic IRQs.
*/
static void exynos4210_init_board_irqs(Exynos4210State *s)
{
Expand Down Expand Up @@ -744,7 +744,7 @@ static void exynos4210_realize(DeviceState *socdev, Error **errp)
* - SDMA
* - ADMA2
*
* As this part of the Exynos4210 is not publically available,
* As this part of the Exynos4210 is not publicly available,
* we used the "HS-MMC Controller S3C2416X RISC Microprocessor"
* public datasheet which is very similar (implementing
* MMC Specification Version 4.0 being the only difference noted)
Expand Down
2 changes: 1 addition & 1 deletion hw/arm/musicpal.c
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
#define MP_LCD_SPI_CMD 0x00104011
#define MP_LCD_SPI_INVALID 0x00000000

/* Commmands */
/* Commands */
#define MP_LCD_INST_SETPAGE0 0xB0
/* ... */
#define MP_LCD_INST_SETPAGE7 0xB7
Expand Down
2 changes: 1 addition & 1 deletion hw/arm/omap1.c
Original file line number Diff line number Diff line change
Expand Up @@ -4057,7 +4057,7 @@ struct omap_mpu_state_s *omap310_mpu_init(MemoryRegion *dram,
s->led[1] = omap_lpg_init(system_memory,
0xfffbd800, omap_findclk(s, "clk32-kHz"));

/* Register mappings not currenlty implemented:
/* Register mappings not currently implemented:
* MCSI2 Comm fffb2000 - fffb27ff (not mapped on OMAP310)
* MCSI1 Bluetooth fffb2800 - fffb2fff (not mapped on OMAP310)
* USB W2FC fffb4000 - fffb47ff
Expand Down
2 changes: 1 addition & 1 deletion hw/arm/omap2.c
Original file line number Diff line number Diff line change
Expand Up @@ -2523,7 +2523,7 @@ struct omap_mpu_state_s *omap2420_mpu_init(MemoryRegion *sdram,
omap_findclk(s, "func_96m_clk"),
omap_findclk(s, "core_l4_iclk"));

/* All register mappings (includin those not currenlty implemented):
/* All register mappings (including those not currently implemented):
* SystemControlMod 48000000 - 48000fff
* SystemControlL4 48001000 - 48001fff
* 32kHz Timer Mod 48004000 - 48004fff
Expand Down
2 changes: 1 addition & 1 deletion hw/arm/virt-acpi-build.c
Original file line number Diff line number Diff line change
Expand Up @@ -694,7 +694,7 @@ static void build_append_gicr(GArray *table_data, uint64_t base, uint32_t size)
build_append_int_noprefix(table_data, 0xE, 1); /* Type */
build_append_int_noprefix(table_data, 16, 1); /* Length */
build_append_int_noprefix(table_data, 0, 2); /* Reserved */
/* Discovery Range Base Addres */
/* Discovery Range Base Address */
build_append_int_noprefix(table_data, base, 8);
build_append_int_noprefix(table_data, size, 4); /* Discovery Range Length */
}
Expand Down
2 changes: 1 addition & 1 deletion hw/arm/virt.c
Original file line number Diff line number Diff line change
Expand Up @@ -2052,7 +2052,7 @@ static void machvirt_init(MachineState *machine)
int pa_bits;

/*
* Instanciate a temporary CPU object to find out about what
* Instantiate a temporary CPU object to find out about what
* we are about to deal with. Once this is done, get rid of
* the object.
*/
Expand Down
2 changes: 1 addition & 1 deletion hw/arm/xlnx-versal-virt.c
Original file line number Diff line number Diff line change
Expand Up @@ -659,7 +659,7 @@ static void versal_virt_init(MachineState *machine)
fdt_add_clk_node(s, "/clk25", 25000000, s->phandle.clk_25Mhz);

/* Make the APU cpu address space visible to virtio and other
* modules unaware of muliple address-spaces. */
* modules unaware of multiple address-spaces. */
memory_region_add_subregion_overlap(get_system_memory(),
0, &s->soc.fpd.apu.mr, 0);

Expand Down

0 comments on commit b3db996

Please sign in to comment.